qovery-typescript-axios 1.1.782 → 1.1.783

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.ts CHANGED
@@ -58332,19 +58332,15 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
58332
58332
  * Create an organization webhook.
58333
58333
  * @summary Create an organization webhook
58334
58334
  * @param {string} organizationId Organization ID
58335
- * @param {string} webhookId Webhook ID
58336
58335
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
58337
58336
  * @param {*} [options] Override http request option.
58338
58337
  * @throws {RequiredError}
58339
58338
  */
58340
- createOrganizationWebhook: async (organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58339
+ createOrganizationWebhook: async (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58341
58340
  // verify required parameter 'organizationId' is not null or undefined
58342
58341
  assertParamExists('createOrganizationWebhook', 'organizationId', organizationId)
58343
- // verify required parameter 'webhookId' is not null or undefined
58344
- assertParamExists('createOrganizationWebhook', 'webhookId', webhookId)
58345
58342
  const localVarPath = `/organization/{organizationId}/webhook`
58346
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
58347
- .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
58343
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
58348
58344
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
58349
58345
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58350
58346
  let baseOptions;
@@ -58520,18 +58516,14 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
58520
58516
  * List organization webhooks
58521
58517
  * @summary List organization webhooks
58522
58518
  * @param {string} organizationId Organization ID
58523
- * @param {string} webhookId Webhook ID
58524
58519
  * @param {*} [options] Override http request option.
58525
58520
  * @throws {RequiredError}
58526
58521
  */
58527
- listOrganizationWebHooks: async (organizationId: string, webhookId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58522
+ listOrganizationWebHooks: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58528
58523
  // verify required parameter 'organizationId' is not null or undefined
58529
58524
  assertParamExists('listOrganizationWebHooks', 'organizationId', organizationId)
58530
- // verify required parameter 'webhookId' is not null or undefined
58531
- assertParamExists('listOrganizationWebHooks', 'webhookId', webhookId)
58532
58525
  const localVarPath = `/organization/{organizationId}/webhook`
58533
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
58534
- .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
58526
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
58535
58527
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
58536
58528
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58537
58529
  let baseOptions;
@@ -58565,14 +58557,18 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
58565
58557
  * List events of a webhooks
58566
58558
  * @summary List events of a webhook
58567
58559
  * @param {string} organizationId Organization ID
58560
+ * @param {string} webhookId Webhook ID
58568
58561
  * @param {*} [options] Override http request option.
58569
58562
  * @throws {RequiredError}
58570
58563
  */
58571
- listWebhookEvent: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58564
+ listWebhookEvent: async (organizationId: string, webhookId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58572
58565
  // verify required parameter 'organizationId' is not null or undefined
58573
58566
  assertParamExists('listWebhookEvent', 'organizationId', organizationId)
58567
+ // verify required parameter 'webhookId' is not null or undefined
58568
+ assertParamExists('listWebhookEvent', 'webhookId', webhookId)
58574
58569
  const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
58575
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
58570
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
58571
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
58576
58572
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
58577
58573
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58578
58574
  let baseOptions;
@@ -58616,13 +58612,12 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
58616
58612
  * Create an organization webhook.
58617
58613
  * @summary Create an organization webhook
58618
58614
  * @param {string} organizationId Organization ID
58619
- * @param {string} webhookId Webhook ID
58620
58615
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
58621
58616
  * @param {*} [options] Override http request option.
58622
58617
  * @throws {RequiredError}
58623
58618
  */
58624
- async createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>> {
58625
- const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options);
58619
+ async createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>> {
58620
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options);
58626
58621
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58627
58622
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhookApi.createOrganizationWebhook']?.[localVarOperationServerIndex]?.url;
58628
58623
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -58674,12 +58669,11 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
58674
58669
  * List organization webhooks
58675
58670
  * @summary List organization webhooks
58676
58671
  * @param {string} organizationId Organization ID
58677
- * @param {string} webhookId Webhook ID
58678
58672
  * @param {*} [options] Override http request option.
58679
58673
  * @throws {RequiredError}
58680
58674
  */
58681
- async listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>> {
58682
- const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationWebHooks(organizationId, webhookId, options);
58675
+ async listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>> {
58676
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationWebHooks(organizationId, options);
58683
58677
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58684
58678
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhookApi.listOrganizationWebHooks']?.[localVarOperationServerIndex]?.url;
58685
58679
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -58688,11 +58682,12 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
58688
58682
  * List events of a webhooks
58689
58683
  * @summary List events of a webhook
58690
58684
  * @param {string} organizationId Organization ID
58685
+ * @param {string} webhookId Webhook ID
58691
58686
  * @param {*} [options] Override http request option.
58692
58687
  * @throws {RequiredError}
58693
58688
  */
58694
- async listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>> {
58695
- const localVarAxiosArgs = await localVarAxiosParamCreator.listWebhookEvent(organizationId, options);
58689
+ async listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>> {
58690
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listWebhookEvent(organizationId, webhookId, options);
58696
58691
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58697
58692
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhookApi.listWebhookEvent']?.[localVarOperationServerIndex]?.url;
58698
58693
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -58711,13 +58706,12 @@ export const OrganizationWebhookApiFactory = function (configuration?: Configura
58711
58706
  * Create an organization webhook.
58712
58707
  * @summary Create an organization webhook
58713
58708
  * @param {string} organizationId Organization ID
58714
- * @param {string} webhookId Webhook ID
58715
58709
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
58716
58710
  * @param {*} [options] Override http request option.
58717
58711
  * @throws {RequiredError}
58718
58712
  */
58719
- createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse> {
58720
- return localVarFp.createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
58713
+ createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse> {
58714
+ return localVarFp.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
58721
58715
  },
58722
58716
  /**
58723
58717
  * Delete organization webhook
@@ -58757,22 +58751,22 @@ export const OrganizationWebhookApiFactory = function (configuration?: Configura
58757
58751
  * List organization webhooks
58758
58752
  * @summary List organization webhooks
58759
58753
  * @param {string} organizationId Organization ID
58760
- * @param {string} webhookId Webhook ID
58761
58754
  * @param {*} [options] Override http request option.
58762
58755
  * @throws {RequiredError}
58763
58756
  */
58764
- listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList> {
58765
- return localVarFp.listOrganizationWebHooks(organizationId, webhookId, options).then((request) => request(axios, basePath));
58757
+ listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList> {
58758
+ return localVarFp.listOrganizationWebHooks(organizationId, options).then((request) => request(axios, basePath));
58766
58759
  },
58767
58760
  /**
58768
58761
  * List events of a webhooks
58769
58762
  * @summary List events of a webhook
58770
58763
  * @param {string} organizationId Organization ID
58764
+ * @param {string} webhookId Webhook ID
58771
58765
  * @param {*} [options] Override http request option.
58772
58766
  * @throws {RequiredError}
58773
58767
  */
58774
- listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList> {
58775
- return localVarFp.listWebhookEvent(organizationId, options).then((request) => request(axios, basePath));
58768
+ listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList> {
58769
+ return localVarFp.listWebhookEvent(organizationId, webhookId, options).then((request) => request(axios, basePath));
58776
58770
  },
58777
58771
  };
58778
58772
  };
@@ -58788,14 +58782,13 @@ export class OrganizationWebhookApi extends BaseAPI {
58788
58782
  * Create an organization webhook.
58789
58783
  * @summary Create an organization webhook
58790
58784
  * @param {string} organizationId Organization ID
58791
- * @param {string} webhookId Webhook ID
58792
58785
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
58793
58786
  * @param {*} [options] Override http request option.
58794
58787
  * @throws {RequiredError}
58795
58788
  * @memberof OrganizationWebhookApi
58796
58789
  */
58797
- public createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) {
58798
- return OrganizationWebhookApiFp(this.configuration).createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
58790
+ public createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) {
58791
+ return OrganizationWebhookApiFp(this.configuration).createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
58799
58792
  }
58800
58793
 
58801
58794
  /**
@@ -58842,25 +58835,25 @@ export class OrganizationWebhookApi extends BaseAPI {
58842
58835
  * List organization webhooks
58843
58836
  * @summary List organization webhooks
58844
58837
  * @param {string} organizationId Organization ID
58845
- * @param {string} webhookId Webhook ID
58846
58838
  * @param {*} [options] Override http request option.
58847
58839
  * @throws {RequiredError}
58848
58840
  * @memberof OrganizationWebhookApi
58849
58841
  */
58850
- public listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) {
58851
- return OrganizationWebhookApiFp(this.configuration).listOrganizationWebHooks(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
58842
+ public listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig) {
58843
+ return OrganizationWebhookApiFp(this.configuration).listOrganizationWebHooks(organizationId, options).then((request) => request(this.axios, this.basePath));
58852
58844
  }
58853
58845
 
58854
58846
  /**
58855
58847
  * List events of a webhooks
58856
58848
  * @summary List events of a webhook
58857
58849
  * @param {string} organizationId Organization ID
58850
+ * @param {string} webhookId Webhook ID
58858
58851
  * @param {*} [options] Override http request option.
58859
58852
  * @throws {RequiredError}
58860
58853
  * @memberof OrganizationWebhookApi
58861
58854
  */
58862
- public listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig) {
58863
- return OrganizationWebhookApiFp(this.configuration).listWebhookEvent(organizationId, options).then((request) => request(this.axios, this.basePath));
58855
+ public listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) {
58856
+ return OrganizationWebhookApiFp(this.configuration).listWebhookEvent(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
58864
58857
  }
58865
58858
  }
58866
58859
 
package/dist/api.d.ts CHANGED
@@ -37058,12 +37058,11 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
37058
37058
  * Create an organization webhook.
37059
37059
  * @summary Create an organization webhook
37060
37060
  * @param {string} organizationId Organization ID
37061
- * @param {string} webhookId Webhook ID
37062
37061
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37063
37062
  * @param {*} [options] Override http request option.
37064
37063
  * @throws {RequiredError}
37065
37064
  */
37066
- createOrganizationWebhook: (organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37065
+ createOrganizationWebhook: (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37067
37066
  /**
37068
37067
  * Delete organization webhook
37069
37068
  * @summary Delete organization webhook
@@ -37096,19 +37095,19 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
37096
37095
  * List organization webhooks
37097
37096
  * @summary List organization webhooks
37098
37097
  * @param {string} organizationId Organization ID
37099
- * @param {string} webhookId Webhook ID
37100
37098
  * @param {*} [options] Override http request option.
37101
37099
  * @throws {RequiredError}
37102
37100
  */
37103
- listOrganizationWebHooks: (organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37101
+ listOrganizationWebHooks: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37104
37102
  /**
37105
37103
  * List events of a webhooks
37106
37104
  * @summary List events of a webhook
37107
37105
  * @param {string} organizationId Organization ID
37106
+ * @param {string} webhookId Webhook ID
37108
37107
  * @param {*} [options] Override http request option.
37109
37108
  * @throws {RequiredError}
37110
37109
  */
37111
- listWebhookEvent: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37110
+ listWebhookEvent: (organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37112
37111
  };
37113
37112
  /**
37114
37113
  * OrganizationWebhookApi - functional programming interface
@@ -37119,12 +37118,11 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
37119
37118
  * Create an organization webhook.
37120
37119
  * @summary Create an organization webhook
37121
37120
  * @param {string} organizationId Organization ID
37122
- * @param {string} webhookId Webhook ID
37123
37121
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37124
37122
  * @param {*} [options] Override http request option.
37125
37123
  * @throws {RequiredError}
37126
37124
  */
37127
- createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
37125
+ createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
37128
37126
  /**
37129
37127
  * Delete organization webhook
37130
37128
  * @summary Delete organization webhook
@@ -37157,19 +37155,19 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
37157
37155
  * List organization webhooks
37158
37156
  * @summary List organization webhooks
37159
37157
  * @param {string} organizationId Organization ID
37160
- * @param {string} webhookId Webhook ID
37161
37158
  * @param {*} [options] Override http request option.
37162
37159
  * @throws {RequiredError}
37163
37160
  */
37164
- listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>>;
37161
+ listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>>;
37165
37162
  /**
37166
37163
  * List events of a webhooks
37167
37164
  * @summary List events of a webhook
37168
37165
  * @param {string} organizationId Organization ID
37166
+ * @param {string} webhookId Webhook ID
37169
37167
  * @param {*} [options] Override http request option.
37170
37168
  * @throws {RequiredError}
37171
37169
  */
37172
- listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>>;
37170
+ listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>>;
37173
37171
  };
37174
37172
  /**
37175
37173
  * OrganizationWebhookApi - factory interface
@@ -37180,12 +37178,11 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
37180
37178
  * Create an organization webhook.
37181
37179
  * @summary Create an organization webhook
37182
37180
  * @param {string} organizationId Organization ID
37183
- * @param {string} webhookId Webhook ID
37184
37181
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37185
37182
  * @param {*} [options] Override http request option.
37186
37183
  * @throws {RequiredError}
37187
37184
  */
37188
- createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse>;
37185
+ createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse>;
37189
37186
  /**
37190
37187
  * Delete organization webhook
37191
37188
  * @summary Delete organization webhook
@@ -37218,19 +37215,19 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
37218
37215
  * List organization webhooks
37219
37216
  * @summary List organization webhooks
37220
37217
  * @param {string} organizationId Organization ID
37221
- * @param {string} webhookId Webhook ID
37222
37218
  * @param {*} [options] Override http request option.
37223
37219
  * @throws {RequiredError}
37224
37220
  */
37225
- listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList>;
37221
+ listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList>;
37226
37222
  /**
37227
37223
  * List events of a webhooks
37228
37224
  * @summary List events of a webhook
37229
37225
  * @param {string} organizationId Organization ID
37226
+ * @param {string} webhookId Webhook ID
37230
37227
  * @param {*} [options] Override http request option.
37231
37228
  * @throws {RequiredError}
37232
37229
  */
37233
- listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList>;
37230
+ listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList>;
37234
37231
  };
37235
37232
  /**
37236
37233
  * OrganizationWebhookApi - object-oriented interface
@@ -37243,13 +37240,12 @@ export declare class OrganizationWebhookApi extends BaseAPI {
37243
37240
  * Create an organization webhook.
37244
37241
  * @summary Create an organization webhook
37245
37242
  * @param {string} organizationId Organization ID
37246
- * @param {string} webhookId Webhook ID
37247
37243
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37248
37244
  * @param {*} [options] Override http request option.
37249
37245
  * @throws {RequiredError}
37250
37246
  * @memberof OrganizationWebhookApi
37251
37247
  */
37252
- createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse, any, {}>>;
37248
+ createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse, any, {}>>;
37253
37249
  /**
37254
37250
  * Delete organization webhook
37255
37251
  * @summary Delete organization webhook
@@ -37285,21 +37281,21 @@ export declare class OrganizationWebhookApi extends BaseAPI {
37285
37281
  * List organization webhooks
37286
37282
  * @summary List organization webhooks
37287
37283
  * @param {string} organizationId Organization ID
37288
- * @param {string} webhookId Webhook ID
37289
37284
  * @param {*} [options] Override http request option.
37290
37285
  * @throws {RequiredError}
37291
37286
  * @memberof OrganizationWebhookApi
37292
37287
  */
37293
- listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookResponseList, any, {}>>;
37288
+ listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookResponseList, any, {}>>;
37294
37289
  /**
37295
37290
  * List events of a webhooks
37296
37291
  * @summary List events of a webhook
37297
37292
  * @param {string} organizationId Organization ID
37293
+ * @param {string} webhookId Webhook ID
37298
37294
  * @param {*} [options] Override http request option.
37299
37295
  * @throws {RequiredError}
37300
37296
  * @memberof OrganizationWebhookApi
37301
37297
  */
37302
- listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookEventResponseList, any, {}>>;
37298
+ listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookEventResponseList, any, {}>>;
37303
37299
  }
37304
37300
  /**
37305
37301
  * ProjectDeploymentRuleApi - axios parameter creator
package/dist/api.js CHANGED
@@ -36925,19 +36925,15 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
36925
36925
  * Create an organization webhook.
36926
36926
  * @summary Create an organization webhook
36927
36927
  * @param {string} organizationId Organization ID
36928
- * @param {string} webhookId Webhook ID
36929
36928
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
36930
36929
  * @param {*} [options] Override http request option.
36931
36930
  * @throws {RequiredError}
36932
36931
  */
36933
- createOrganizationWebhook: (organizationId_1, webhookId_1, organizationWebhookCreateRequest_1, ...args_1) => __awaiter(this, [organizationId_1, webhookId_1, organizationWebhookCreateRequest_1, ...args_1], void 0, function* (organizationId, webhookId, organizationWebhookCreateRequest, options = {}) {
36932
+ createOrganizationWebhook: (organizationId_1, organizationWebhookCreateRequest_1, ...args_1) => __awaiter(this, [organizationId_1, organizationWebhookCreateRequest_1, ...args_1], void 0, function* (organizationId, organizationWebhookCreateRequest, options = {}) {
36934
36933
  // verify required parameter 'organizationId' is not null or undefined
36935
36934
  (0, common_1.assertParamExists)('createOrganizationWebhook', 'organizationId', organizationId);
36936
- // verify required parameter 'webhookId' is not null or undefined
36937
- (0, common_1.assertParamExists)('createOrganizationWebhook', 'webhookId', webhookId);
36938
36935
  const localVarPath = `/organization/{organizationId}/webhook`
36939
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
36940
- .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
36936
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
36941
36937
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
36942
36938
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
36943
36939
  let baseOptions;
@@ -37083,18 +37079,14 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
37083
37079
  * List organization webhooks
37084
37080
  * @summary List organization webhooks
37085
37081
  * @param {string} organizationId Organization ID
37086
- * @param {string} webhookId Webhook ID
37087
37082
  * @param {*} [options] Override http request option.
37088
37083
  * @throws {RequiredError}
37089
37084
  */
37090
- listOrganizationWebHooks: (organizationId_1, webhookId_1, ...args_1) => __awaiter(this, [organizationId_1, webhookId_1, ...args_1], void 0, function* (organizationId, webhookId, options = {}) {
37085
+ listOrganizationWebHooks: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
37091
37086
  // verify required parameter 'organizationId' is not null or undefined
37092
37087
  (0, common_1.assertParamExists)('listOrganizationWebHooks', 'organizationId', organizationId);
37093
- // verify required parameter 'webhookId' is not null or undefined
37094
- (0, common_1.assertParamExists)('listOrganizationWebHooks', 'webhookId', webhookId);
37095
37088
  const localVarPath = `/organization/{organizationId}/webhook`
37096
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
37097
- .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
37089
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
37098
37090
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
37099
37091
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
37100
37092
  let baseOptions;
@@ -37121,14 +37113,18 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
37121
37113
  * List events of a webhooks
37122
37114
  * @summary List events of a webhook
37123
37115
  * @param {string} organizationId Organization ID
37116
+ * @param {string} webhookId Webhook ID
37124
37117
  * @param {*} [options] Override http request option.
37125
37118
  * @throws {RequiredError}
37126
37119
  */
37127
- listWebhookEvent: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
37120
+ listWebhookEvent: (organizationId_1, webhookId_1, ...args_1) => __awaiter(this, [organizationId_1, webhookId_1, ...args_1], void 0, function* (organizationId, webhookId, options = {}) {
37128
37121
  // verify required parameter 'organizationId' is not null or undefined
37129
37122
  (0, common_1.assertParamExists)('listWebhookEvent', 'organizationId', organizationId);
37123
+ // verify required parameter 'webhookId' is not null or undefined
37124
+ (0, common_1.assertParamExists)('listWebhookEvent', 'webhookId', webhookId);
37130
37125
  const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
37131
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
37126
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
37127
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
37132
37128
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
37133
37129
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
37134
37130
  let baseOptions;
@@ -37165,15 +37161,14 @@ const OrganizationWebhookApiFp = function (configuration) {
37165
37161
  * Create an organization webhook.
37166
37162
  * @summary Create an organization webhook
37167
37163
  * @param {string} organizationId Organization ID
37168
- * @param {string} webhookId Webhook ID
37169
37164
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37170
37165
  * @param {*} [options] Override http request option.
37171
37166
  * @throws {RequiredError}
37172
37167
  */
37173
- createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
37168
+ createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
37174
37169
  return __awaiter(this, void 0, void 0, function* () {
37175
37170
  var _a, _b, _c;
37176
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options);
37171
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options);
37177
37172
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
37178
37173
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationWebhookApi.createOrganizationWebhook']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
37179
37174
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -37235,14 +37230,13 @@ const OrganizationWebhookApiFp = function (configuration) {
37235
37230
  * List organization webhooks
37236
37231
  * @summary List organization webhooks
37237
37232
  * @param {string} organizationId Organization ID
37238
- * @param {string} webhookId Webhook ID
37239
37233
  * @param {*} [options] Override http request option.
37240
37234
  * @throws {RequiredError}
37241
37235
  */
37242
- listOrganizationWebHooks(organizationId, webhookId, options) {
37236
+ listOrganizationWebHooks(organizationId, options) {
37243
37237
  return __awaiter(this, void 0, void 0, function* () {
37244
37238
  var _a, _b, _c;
37245
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationWebHooks(organizationId, webhookId, options);
37239
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationWebHooks(organizationId, options);
37246
37240
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
37247
37241
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationWebhookApi.listOrganizationWebHooks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
37248
37242
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -37252,13 +37246,14 @@ const OrganizationWebhookApiFp = function (configuration) {
37252
37246
  * List events of a webhooks
37253
37247
  * @summary List events of a webhook
37254
37248
  * @param {string} organizationId Organization ID
37249
+ * @param {string} webhookId Webhook ID
37255
37250
  * @param {*} [options] Override http request option.
37256
37251
  * @throws {RequiredError}
37257
37252
  */
37258
- listWebhookEvent(organizationId, options) {
37253
+ listWebhookEvent(organizationId, webhookId, options) {
37259
37254
  return __awaiter(this, void 0, void 0, function* () {
37260
37255
  var _a, _b, _c;
37261
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebhookEvent(organizationId, options);
37256
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebhookEvent(organizationId, webhookId, options);
37262
37257
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
37263
37258
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationWebhookApi.listWebhookEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
37264
37259
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -37278,13 +37273,12 @@ const OrganizationWebhookApiFactory = function (configuration, basePath, axios)
37278
37273
  * Create an organization webhook.
37279
37274
  * @summary Create an organization webhook
37280
37275
  * @param {string} organizationId Organization ID
37281
- * @param {string} webhookId Webhook ID
37282
37276
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37283
37277
  * @param {*} [options] Override http request option.
37284
37278
  * @throws {RequiredError}
37285
37279
  */
37286
- createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
37287
- return localVarFp.createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
37280
+ createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
37281
+ return localVarFp.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
37288
37282
  },
37289
37283
  /**
37290
37284
  * Delete organization webhook
@@ -37324,22 +37318,22 @@ const OrganizationWebhookApiFactory = function (configuration, basePath, axios)
37324
37318
  * List organization webhooks
37325
37319
  * @summary List organization webhooks
37326
37320
  * @param {string} organizationId Organization ID
37327
- * @param {string} webhookId Webhook ID
37328
37321
  * @param {*} [options] Override http request option.
37329
37322
  * @throws {RequiredError}
37330
37323
  */
37331
- listOrganizationWebHooks(organizationId, webhookId, options) {
37332
- return localVarFp.listOrganizationWebHooks(organizationId, webhookId, options).then((request) => request(axios, basePath));
37324
+ listOrganizationWebHooks(organizationId, options) {
37325
+ return localVarFp.listOrganizationWebHooks(organizationId, options).then((request) => request(axios, basePath));
37333
37326
  },
37334
37327
  /**
37335
37328
  * List events of a webhooks
37336
37329
  * @summary List events of a webhook
37337
37330
  * @param {string} organizationId Organization ID
37331
+ * @param {string} webhookId Webhook ID
37338
37332
  * @param {*} [options] Override http request option.
37339
37333
  * @throws {RequiredError}
37340
37334
  */
37341
- listWebhookEvent(organizationId, options) {
37342
- return localVarFp.listWebhookEvent(organizationId, options).then((request) => request(axios, basePath));
37335
+ listWebhookEvent(organizationId, webhookId, options) {
37336
+ return localVarFp.listWebhookEvent(organizationId, webhookId, options).then((request) => request(axios, basePath));
37343
37337
  },
37344
37338
  };
37345
37339
  };
@@ -37355,14 +37349,13 @@ class OrganizationWebhookApi extends base_1.BaseAPI {
37355
37349
  * Create an organization webhook.
37356
37350
  * @summary Create an organization webhook
37357
37351
  * @param {string} organizationId Organization ID
37358
- * @param {string} webhookId Webhook ID
37359
37352
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37360
37353
  * @param {*} [options] Override http request option.
37361
37354
  * @throws {RequiredError}
37362
37355
  * @memberof OrganizationWebhookApi
37363
37356
  */
37364
- createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
37365
- return (0, exports.OrganizationWebhookApiFp)(this.configuration).createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
37357
+ createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
37358
+ return (0, exports.OrganizationWebhookApiFp)(this.configuration).createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
37366
37359
  }
37367
37360
  /**
37368
37361
  * Delete organization webhook
@@ -37405,24 +37398,24 @@ class OrganizationWebhookApi extends base_1.BaseAPI {
37405
37398
  * List organization webhooks
37406
37399
  * @summary List organization webhooks
37407
37400
  * @param {string} organizationId Organization ID
37408
- * @param {string} webhookId Webhook ID
37409
37401
  * @param {*} [options] Override http request option.
37410
37402
  * @throws {RequiredError}
37411
37403
  * @memberof OrganizationWebhookApi
37412
37404
  */
37413
- listOrganizationWebHooks(organizationId, webhookId, options) {
37414
- return (0, exports.OrganizationWebhookApiFp)(this.configuration).listOrganizationWebHooks(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
37405
+ listOrganizationWebHooks(organizationId, options) {
37406
+ return (0, exports.OrganizationWebhookApiFp)(this.configuration).listOrganizationWebHooks(organizationId, options).then((request) => request(this.axios, this.basePath));
37415
37407
  }
37416
37408
  /**
37417
37409
  * List events of a webhooks
37418
37410
  * @summary List events of a webhook
37419
37411
  * @param {string} organizationId Organization ID
37412
+ * @param {string} webhookId Webhook ID
37420
37413
  * @param {*} [options] Override http request option.
37421
37414
  * @throws {RequiredError}
37422
37415
  * @memberof OrganizationWebhookApi
37423
37416
  */
37424
- listWebhookEvent(organizationId, options) {
37425
- return (0, exports.OrganizationWebhookApiFp)(this.configuration).listWebhookEvent(organizationId, options).then((request) => request(this.axios, this.basePath));
37417
+ listWebhookEvent(organizationId, webhookId, options) {
37418
+ return (0, exports.OrganizationWebhookApiFp)(this.configuration).listWebhookEvent(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
37426
37419
  }
37427
37420
  }
37428
37421
  exports.OrganizationWebhookApi = OrganizationWebhookApi;
package/dist/esm/api.d.ts CHANGED
@@ -37058,12 +37058,11 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
37058
37058
  * Create an organization webhook.
37059
37059
  * @summary Create an organization webhook
37060
37060
  * @param {string} organizationId Organization ID
37061
- * @param {string} webhookId Webhook ID
37062
37061
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37063
37062
  * @param {*} [options] Override http request option.
37064
37063
  * @throws {RequiredError}
37065
37064
  */
37066
- createOrganizationWebhook: (organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37065
+ createOrganizationWebhook: (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37067
37066
  /**
37068
37067
  * Delete organization webhook
37069
37068
  * @summary Delete organization webhook
@@ -37096,19 +37095,19 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
37096
37095
  * List organization webhooks
37097
37096
  * @summary List organization webhooks
37098
37097
  * @param {string} organizationId Organization ID
37099
- * @param {string} webhookId Webhook ID
37100
37098
  * @param {*} [options] Override http request option.
37101
37099
  * @throws {RequiredError}
37102
37100
  */
37103
- listOrganizationWebHooks: (organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37101
+ listOrganizationWebHooks: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37104
37102
  /**
37105
37103
  * List events of a webhooks
37106
37104
  * @summary List events of a webhook
37107
37105
  * @param {string} organizationId Organization ID
37106
+ * @param {string} webhookId Webhook ID
37108
37107
  * @param {*} [options] Override http request option.
37109
37108
  * @throws {RequiredError}
37110
37109
  */
37111
- listWebhookEvent: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37110
+ listWebhookEvent: (organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37112
37111
  };
37113
37112
  /**
37114
37113
  * OrganizationWebhookApi - functional programming interface
@@ -37119,12 +37118,11 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
37119
37118
  * Create an organization webhook.
37120
37119
  * @summary Create an organization webhook
37121
37120
  * @param {string} organizationId Organization ID
37122
- * @param {string} webhookId Webhook ID
37123
37121
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37124
37122
  * @param {*} [options] Override http request option.
37125
37123
  * @throws {RequiredError}
37126
37124
  */
37127
- createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
37125
+ createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
37128
37126
  /**
37129
37127
  * Delete organization webhook
37130
37128
  * @summary Delete organization webhook
@@ -37157,19 +37155,19 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
37157
37155
  * List organization webhooks
37158
37156
  * @summary List organization webhooks
37159
37157
  * @param {string} organizationId Organization ID
37160
- * @param {string} webhookId Webhook ID
37161
37158
  * @param {*} [options] Override http request option.
37162
37159
  * @throws {RequiredError}
37163
37160
  */
37164
- listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>>;
37161
+ listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>>;
37165
37162
  /**
37166
37163
  * List events of a webhooks
37167
37164
  * @summary List events of a webhook
37168
37165
  * @param {string} organizationId Organization ID
37166
+ * @param {string} webhookId Webhook ID
37169
37167
  * @param {*} [options] Override http request option.
37170
37168
  * @throws {RequiredError}
37171
37169
  */
37172
- listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>>;
37170
+ listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>>;
37173
37171
  };
37174
37172
  /**
37175
37173
  * OrganizationWebhookApi - factory interface
@@ -37180,12 +37178,11 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
37180
37178
  * Create an organization webhook.
37181
37179
  * @summary Create an organization webhook
37182
37180
  * @param {string} organizationId Organization ID
37183
- * @param {string} webhookId Webhook ID
37184
37181
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37185
37182
  * @param {*} [options] Override http request option.
37186
37183
  * @throws {RequiredError}
37187
37184
  */
37188
- createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse>;
37185
+ createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse>;
37189
37186
  /**
37190
37187
  * Delete organization webhook
37191
37188
  * @summary Delete organization webhook
@@ -37218,19 +37215,19 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
37218
37215
  * List organization webhooks
37219
37216
  * @summary List organization webhooks
37220
37217
  * @param {string} organizationId Organization ID
37221
- * @param {string} webhookId Webhook ID
37222
37218
  * @param {*} [options] Override http request option.
37223
37219
  * @throws {RequiredError}
37224
37220
  */
37225
- listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList>;
37221
+ listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList>;
37226
37222
  /**
37227
37223
  * List events of a webhooks
37228
37224
  * @summary List events of a webhook
37229
37225
  * @param {string} organizationId Organization ID
37226
+ * @param {string} webhookId Webhook ID
37230
37227
  * @param {*} [options] Override http request option.
37231
37228
  * @throws {RequiredError}
37232
37229
  */
37233
- listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList>;
37230
+ listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList>;
37234
37231
  };
37235
37232
  /**
37236
37233
  * OrganizationWebhookApi - object-oriented interface
@@ -37243,13 +37240,12 @@ export declare class OrganizationWebhookApi extends BaseAPI {
37243
37240
  * Create an organization webhook.
37244
37241
  * @summary Create an organization webhook
37245
37242
  * @param {string} organizationId Organization ID
37246
- * @param {string} webhookId Webhook ID
37247
37243
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37248
37244
  * @param {*} [options] Override http request option.
37249
37245
  * @throws {RequiredError}
37250
37246
  * @memberof OrganizationWebhookApi
37251
37247
  */
37252
- createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse, any, {}>>;
37248
+ createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse, any, {}>>;
37253
37249
  /**
37254
37250
  * Delete organization webhook
37255
37251
  * @summary Delete organization webhook
@@ -37285,21 +37281,21 @@ export declare class OrganizationWebhookApi extends BaseAPI {
37285
37281
  * List organization webhooks
37286
37282
  * @summary List organization webhooks
37287
37283
  * @param {string} organizationId Organization ID
37288
- * @param {string} webhookId Webhook ID
37289
37284
  * @param {*} [options] Override http request option.
37290
37285
  * @throws {RequiredError}
37291
37286
  * @memberof OrganizationWebhookApi
37292
37287
  */
37293
- listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookResponseList, any, {}>>;
37288
+ listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookResponseList, any, {}>>;
37294
37289
  /**
37295
37290
  * List events of a webhooks
37296
37291
  * @summary List events of a webhook
37297
37292
  * @param {string} organizationId Organization ID
37293
+ * @param {string} webhookId Webhook ID
37298
37294
  * @param {*} [options] Override http request option.
37299
37295
  * @throws {RequiredError}
37300
37296
  * @memberof OrganizationWebhookApi
37301
37297
  */
37302
- listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookEventResponseList, any, {}>>;
37298
+ listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookEventResponseList, any, {}>>;
37303
37299
  }
37304
37300
  /**
37305
37301
  * ProjectDeploymentRuleApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -36613,19 +36613,15 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration)
36613
36613
  * Create an organization webhook.
36614
36614
  * @summary Create an organization webhook
36615
36615
  * @param {string} organizationId Organization ID
36616
- * @param {string} webhookId Webhook ID
36617
36616
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
36618
36617
  * @param {*} [options] Override http request option.
36619
36618
  * @throws {RequiredError}
36620
36619
  */
36621
- createOrganizationWebhook: (organizationId_1, webhookId_1, organizationWebhookCreateRequest_1, ...args_1) => __awaiter(this, [organizationId_1, webhookId_1, organizationWebhookCreateRequest_1, ...args_1], void 0, function* (organizationId, webhookId, organizationWebhookCreateRequest, options = {}) {
36620
+ createOrganizationWebhook: (organizationId_1, organizationWebhookCreateRequest_1, ...args_1) => __awaiter(this, [organizationId_1, organizationWebhookCreateRequest_1, ...args_1], void 0, function* (organizationId, organizationWebhookCreateRequest, options = {}) {
36622
36621
  // verify required parameter 'organizationId' is not null or undefined
36623
36622
  assertParamExists('createOrganizationWebhook', 'organizationId', organizationId);
36624
- // verify required parameter 'webhookId' is not null or undefined
36625
- assertParamExists('createOrganizationWebhook', 'webhookId', webhookId);
36626
36623
  const localVarPath = `/organization/{organizationId}/webhook`
36627
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
36628
- .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
36624
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
36629
36625
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
36630
36626
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36631
36627
  let baseOptions;
@@ -36771,18 +36767,14 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration)
36771
36767
  * List organization webhooks
36772
36768
  * @summary List organization webhooks
36773
36769
  * @param {string} organizationId Organization ID
36774
- * @param {string} webhookId Webhook ID
36775
36770
  * @param {*} [options] Override http request option.
36776
36771
  * @throws {RequiredError}
36777
36772
  */
36778
- listOrganizationWebHooks: (organizationId_1, webhookId_1, ...args_1) => __awaiter(this, [organizationId_1, webhookId_1, ...args_1], void 0, function* (organizationId, webhookId, options = {}) {
36773
+ listOrganizationWebHooks: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
36779
36774
  // verify required parameter 'organizationId' is not null or undefined
36780
36775
  assertParamExists('listOrganizationWebHooks', 'organizationId', organizationId);
36781
- // verify required parameter 'webhookId' is not null or undefined
36782
- assertParamExists('listOrganizationWebHooks', 'webhookId', webhookId);
36783
36776
  const localVarPath = `/organization/{organizationId}/webhook`
36784
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
36785
- .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
36777
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
36786
36778
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
36787
36779
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36788
36780
  let baseOptions;
@@ -36809,14 +36801,18 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration)
36809
36801
  * List events of a webhooks
36810
36802
  * @summary List events of a webhook
36811
36803
  * @param {string} organizationId Organization ID
36804
+ * @param {string} webhookId Webhook ID
36812
36805
  * @param {*} [options] Override http request option.
36813
36806
  * @throws {RequiredError}
36814
36807
  */
36815
- listWebhookEvent: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
36808
+ listWebhookEvent: (organizationId_1, webhookId_1, ...args_1) => __awaiter(this, [organizationId_1, webhookId_1, ...args_1], void 0, function* (organizationId, webhookId, options = {}) {
36816
36809
  // verify required parameter 'organizationId' is not null or undefined
36817
36810
  assertParamExists('listWebhookEvent', 'organizationId', organizationId);
36811
+ // verify required parameter 'webhookId' is not null or undefined
36812
+ assertParamExists('listWebhookEvent', 'webhookId', webhookId);
36818
36813
  const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
36819
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
36814
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
36815
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
36820
36816
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
36821
36817
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36822
36818
  let baseOptions;
@@ -36852,15 +36848,14 @@ export const OrganizationWebhookApiFp = function (configuration) {
36852
36848
  * Create an organization webhook.
36853
36849
  * @summary Create an organization webhook
36854
36850
  * @param {string} organizationId Organization ID
36855
- * @param {string} webhookId Webhook ID
36856
36851
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
36857
36852
  * @param {*} [options] Override http request option.
36858
36853
  * @throws {RequiredError}
36859
36854
  */
36860
- createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
36855
+ createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
36861
36856
  return __awaiter(this, void 0, void 0, function* () {
36862
36857
  var _a, _b, _c;
36863
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options);
36858
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options);
36864
36859
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
36865
36860
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationWebhookApi.createOrganizationWebhook']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
36866
36861
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -36922,14 +36917,13 @@ export const OrganizationWebhookApiFp = function (configuration) {
36922
36917
  * List organization webhooks
36923
36918
  * @summary List organization webhooks
36924
36919
  * @param {string} organizationId Organization ID
36925
- * @param {string} webhookId Webhook ID
36926
36920
  * @param {*} [options] Override http request option.
36927
36921
  * @throws {RequiredError}
36928
36922
  */
36929
- listOrganizationWebHooks(organizationId, webhookId, options) {
36923
+ listOrganizationWebHooks(organizationId, options) {
36930
36924
  return __awaiter(this, void 0, void 0, function* () {
36931
36925
  var _a, _b, _c;
36932
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationWebHooks(organizationId, webhookId, options);
36926
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationWebHooks(organizationId, options);
36933
36927
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
36934
36928
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationWebhookApi.listOrganizationWebHooks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
36935
36929
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -36939,13 +36933,14 @@ export const OrganizationWebhookApiFp = function (configuration) {
36939
36933
  * List events of a webhooks
36940
36934
  * @summary List events of a webhook
36941
36935
  * @param {string} organizationId Organization ID
36936
+ * @param {string} webhookId Webhook ID
36942
36937
  * @param {*} [options] Override http request option.
36943
36938
  * @throws {RequiredError}
36944
36939
  */
36945
- listWebhookEvent(organizationId, options) {
36940
+ listWebhookEvent(organizationId, webhookId, options) {
36946
36941
  return __awaiter(this, void 0, void 0, function* () {
36947
36942
  var _a, _b, _c;
36948
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebhookEvent(organizationId, options);
36943
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebhookEvent(organizationId, webhookId, options);
36949
36944
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
36950
36945
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationWebhookApi.listWebhookEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
36951
36946
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -36964,13 +36959,12 @@ export const OrganizationWebhookApiFactory = function (configuration, basePath,
36964
36959
  * Create an organization webhook.
36965
36960
  * @summary Create an organization webhook
36966
36961
  * @param {string} organizationId Organization ID
36967
- * @param {string} webhookId Webhook ID
36968
36962
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
36969
36963
  * @param {*} [options] Override http request option.
36970
36964
  * @throws {RequiredError}
36971
36965
  */
36972
- createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
36973
- return localVarFp.createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
36966
+ createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
36967
+ return localVarFp.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
36974
36968
  },
36975
36969
  /**
36976
36970
  * Delete organization webhook
@@ -37010,22 +37004,22 @@ export const OrganizationWebhookApiFactory = function (configuration, basePath,
37010
37004
  * List organization webhooks
37011
37005
  * @summary List organization webhooks
37012
37006
  * @param {string} organizationId Organization ID
37013
- * @param {string} webhookId Webhook ID
37014
37007
  * @param {*} [options] Override http request option.
37015
37008
  * @throws {RequiredError}
37016
37009
  */
37017
- listOrganizationWebHooks(organizationId, webhookId, options) {
37018
- return localVarFp.listOrganizationWebHooks(organizationId, webhookId, options).then((request) => request(axios, basePath));
37010
+ listOrganizationWebHooks(organizationId, options) {
37011
+ return localVarFp.listOrganizationWebHooks(organizationId, options).then((request) => request(axios, basePath));
37019
37012
  },
37020
37013
  /**
37021
37014
  * List events of a webhooks
37022
37015
  * @summary List events of a webhook
37023
37016
  * @param {string} organizationId Organization ID
37017
+ * @param {string} webhookId Webhook ID
37024
37018
  * @param {*} [options] Override http request option.
37025
37019
  * @throws {RequiredError}
37026
37020
  */
37027
- listWebhookEvent(organizationId, options) {
37028
- return localVarFp.listWebhookEvent(organizationId, options).then((request) => request(axios, basePath));
37021
+ listWebhookEvent(organizationId, webhookId, options) {
37022
+ return localVarFp.listWebhookEvent(organizationId, webhookId, options).then((request) => request(axios, basePath));
37029
37023
  },
37030
37024
  };
37031
37025
  };
@@ -37040,14 +37034,13 @@ export class OrganizationWebhookApi extends BaseAPI {
37040
37034
  * Create an organization webhook.
37041
37035
  * @summary Create an organization webhook
37042
37036
  * @param {string} organizationId Organization ID
37043
- * @param {string} webhookId Webhook ID
37044
37037
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37045
37038
  * @param {*} [options] Override http request option.
37046
37039
  * @throws {RequiredError}
37047
37040
  * @memberof OrganizationWebhookApi
37048
37041
  */
37049
- createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
37050
- return OrganizationWebhookApiFp(this.configuration).createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
37042
+ createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
37043
+ return OrganizationWebhookApiFp(this.configuration).createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
37051
37044
  }
37052
37045
  /**
37053
37046
  * Delete organization webhook
@@ -37090,24 +37083,24 @@ export class OrganizationWebhookApi extends BaseAPI {
37090
37083
  * List organization webhooks
37091
37084
  * @summary List organization webhooks
37092
37085
  * @param {string} organizationId Organization ID
37093
- * @param {string} webhookId Webhook ID
37094
37086
  * @param {*} [options] Override http request option.
37095
37087
  * @throws {RequiredError}
37096
37088
  * @memberof OrganizationWebhookApi
37097
37089
  */
37098
- listOrganizationWebHooks(organizationId, webhookId, options) {
37099
- return OrganizationWebhookApiFp(this.configuration).listOrganizationWebHooks(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
37090
+ listOrganizationWebHooks(organizationId, options) {
37091
+ return OrganizationWebhookApiFp(this.configuration).listOrganizationWebHooks(organizationId, options).then((request) => request(this.axios, this.basePath));
37100
37092
  }
37101
37093
  /**
37102
37094
  * List events of a webhooks
37103
37095
  * @summary List events of a webhook
37104
37096
  * @param {string} organizationId Organization ID
37097
+ * @param {string} webhookId Webhook ID
37105
37098
  * @param {*} [options] Override http request option.
37106
37099
  * @throws {RequiredError}
37107
37100
  * @memberof OrganizationWebhookApi
37108
37101
  */
37109
- listWebhookEvent(organizationId, options) {
37110
- return OrganizationWebhookApiFp(this.configuration).listWebhookEvent(organizationId, options).then((request) => request(this.axios, this.basePath));
37102
+ listWebhookEvent(organizationId, webhookId, options) {
37103
+ return OrganizationWebhookApiFp(this.configuration).listWebhookEvent(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
37111
37104
  }
37112
37105
  }
37113
37106
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.782",
3
+ "version": "v1.1.783",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {