Skip to content

Commit 82c290c

Browse files
authored
feat(tem): list webhooks by domain ID (#1305)
1 parent 44bf792 commit 82c290c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/clients/src/api/tem/v1alpha1/api.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ export class API extends ParentAPI {
360360
method: 'GET',
361361
path: `/transactional-email/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/webhooks`,
362362
urlParams: urlParams(
363+
['domain_id', request.domainId],
363364
['order_by', request.orderBy],
364365
['organization_id', request.organizationId],
365366
['page', request.page],

packages/clients/src/api/tem/v1alpha1/types.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,8 @@ export type ListWebhooksRequest = {
556556
projectId?: string
557557
/** (Optional) ID of the Organization for which to list the Webhooks. */
558558
organizationId?: string
559+
/** (Optional) ID of the Domain for which to list the Webhooks. */
560+
domainId?: string
559561
}
560562

561563
export interface ListWebhooksResponse {

0 commit comments

Comments
 (0)