From bbda6088fb855e4892c93fcd8ee97591a205e5e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Voron?= Date: Mon, 3 Feb 2025 11:44:44 +0100 Subject: [PATCH] clients/packages/api: update OpenAPI client --- clients/packages/api/src/client/apis/WebhooksApi.ts | 5 ----- clients/packages/api/src/client/models/index.ts | 10 ++-------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/clients/packages/api/src/client/apis/WebhooksApi.ts b/clients/packages/api/src/client/apis/WebhooksApi.ts index 2ccfad9d52..f80dae4004 100644 --- a/clients/packages/api/src/client/apis/WebhooksApi.ts +++ b/clients/packages/api/src/client/apis/WebhooksApi.ts @@ -45,7 +45,6 @@ export interface WebhooksApiListWebhookDeliveriesRequest { export interface WebhooksApiListWebhookEndpointsRequest { organizationId?: string | null; - userId?: string | null; page?: number; limit?: number; } @@ -254,10 +253,6 @@ export class WebhooksApi extends runtime.BaseAPI { queryParameters['organization_id'] = requestParameters['organizationId']; } - if (requestParameters['userId'] != null) { - queryParameters['user_id'] = requestParameters['userId']; - } - if (requestParameters['page'] != null) { queryParameters['page'] = requestParameters['page']; } diff --git a/clients/packages/api/src/client/models/index.ts b/clients/packages/api/src/client/models/index.ts index 34d42fe86f..71e4c16fc2 100644 --- a/clients/packages/api/src/client/models/index.ts +++ b/clients/packages/api/src/client/models/index.ts @@ -22195,17 +22195,11 @@ export interface WebhookEndpoint { */ format: WebhookFormat; /** - * - * @type {string} - * @memberof WebhookEndpoint - */ - user_id?: string | null; - /** - * + * The organization ID associated with the webhook endpoint. * @type {string} * @memberof WebhookEndpoint */ - organization_id?: string | null; + organization_id: string; /** * The events that will trigger the webhook. * @type {Array}