Skip to content

DEVORTEX-5439 add webhooks api #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 28, 2025
Merged

DEVORTEX-5439 add webhooks api #125

merged 7 commits into from
Jul 28, 2025

Conversation

steplov
Copy link
Collaborator

@steplov steplov commented Jul 8, 2025

No description provided.

Comment on lines +1 to +5
interface SubscriptionSecretDto {
payloadSecret: string;
}

export { SubscriptionSecretDto };
Copy link
Contributor

@PavelLoparev PavelLoparev Jul 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no actions points: weird naming. it's already clear this secret is in payload.

@PavelLoparev
Copy link
Contributor

is this still in work (draft) or it waits for approves?

Copy link
Contributor

@dnetrebenko-smartling dnetrebenko-smartling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

answering this: #125 (comment)

we are waiting for all endpoints implemented on the backend side

@dnetrebenko-smartling dnetrebenko-smartling marked this pull request as ready for review July 25, 2025 13:33
Copy link
Contributor

@PavelLoparev PavelLoparev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add new lines at the end of every file you've added.

Comment on lines +1 to +5
interface ScrollableResponse<T> {
items: Array<T>;
hasMore: boolean;
scrollId: string | null;
}
Copy link
Contributor

@PavelLoparev PavelLoparev Jul 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only webhooks api uses this type of pagination? I'm thinking if we should put this response interface to api/http where shared response interfaces are located.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i was thinking about it. I can do it and put into a shared directory if you want. but this structure is very specific for Webhooks service and third-party delivery system we use. not sure that it will be helpful for other APIs. so, up to you.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it. let's leave as is.

@@ -124,3 +124,4 @@ export * from "./api/mt/index";
export * from "./api/mt/params/smartling-mt-parameters";
export * from "./api/mt/params/source-text-item";
export * from "./api/mt/dto/translation-text-item-dto";
export * from "./api/webhooks";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@dnetrebenko-smartling dnetrebenko-smartling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New lines are already added to all new files

@PavelLoparev
Copy link
Contributor

New lines are already added to all new files

Oh, I somehow was tricked by this:
image

it just doesn't show number for the last line)

@PavelLoparev PavelLoparev merged commit e7c3ea3 into master Jul 28, 2025
@PavelLoparev PavelLoparev deleted the DEVORTEX-5439 branch July 28, 2025 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants