qovery-typescript-axios 1.1.781 → 1.1.782

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
@@ -58342,7 +58342,7 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
58342
58342
  assertParamExists('createOrganizationWebhook', 'organizationId', organizationId)
58343
58343
  // verify required parameter 'webhookId' is not null or undefined
58344
58344
  assertParamExists('createOrganizationWebhook', 'webhookId', webhookId)
58345
- const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
58345
+ const localVarPath = `/organization/{organizationId}/webhook`
58346
58346
  .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
58347
58347
  .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
58348
58348
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -58520,14 +58520,18 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
58520
58520
  * List organization webhooks
58521
58521
  * @summary List organization webhooks
58522
58522
  * @param {string} organizationId Organization ID
58523
+ * @param {string} webhookId Webhook ID
58523
58524
  * @param {*} [options] Override http request option.
58524
58525
  * @throws {RequiredError}
58525
58526
  */
58526
- listOrganizationWebHooks: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58527
+ listOrganizationWebHooks: async (organizationId: string, webhookId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58527
58528
  // verify required parameter 'organizationId' is not null or undefined
58528
58529
  assertParamExists('listOrganizationWebHooks', 'organizationId', organizationId)
58530
+ // verify required parameter 'webhookId' is not null or undefined
58531
+ assertParamExists('listOrganizationWebHooks', 'webhookId', webhookId)
58529
58532
  const localVarPath = `/organization/{organizationId}/webhook`
58530
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
58533
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
58534
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
58531
58535
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
58532
58536
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58533
58537
  let baseOptions;
@@ -58561,18 +58565,14 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
58561
58565
  * List events of a webhooks
58562
58566
  * @summary List events of a webhook
58563
58567
  * @param {string} organizationId Organization ID
58564
- * @param {string} webhookId Webhook ID
58565
58568
  * @param {*} [options] Override http request option.
58566
58569
  * @throws {RequiredError}
58567
58570
  */
58568
- listWebhookEvent: async (organizationId: string, webhookId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58571
+ listWebhookEvent: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58569
58572
  // verify required parameter 'organizationId' is not null or undefined
58570
58573
  assertParamExists('listWebhookEvent', 'organizationId', organizationId)
58571
- // verify required parameter 'webhookId' is not null or undefined
58572
- assertParamExists('listWebhookEvent', 'webhookId', webhookId)
58573
58574
  const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
58574
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
58575
- .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
58575
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
58576
58576
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
58577
58577
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58578
58578
  let baseOptions;
@@ -58674,11 +58674,12 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
58674
58674
  * List organization webhooks
58675
58675
  * @summary List organization webhooks
58676
58676
  * @param {string} organizationId Organization ID
58677
+ * @param {string} webhookId Webhook ID
58677
58678
  * @param {*} [options] Override http request option.
58678
58679
  * @throws {RequiredError}
58679
58680
  */
58680
- async listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>> {
58681
- const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationWebHooks(organizationId, options);
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);
58682
58683
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58683
58684
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhookApi.listOrganizationWebHooks']?.[localVarOperationServerIndex]?.url;
58684
58685
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -58687,12 +58688,11 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
58687
58688
  * List events of a webhooks
58688
58689
  * @summary List events of a webhook
58689
58690
  * @param {string} organizationId Organization ID
58690
- * @param {string} webhookId Webhook ID
58691
58691
  * @param {*} [options] Override http request option.
58692
58692
  * @throws {RequiredError}
58693
58693
  */
58694
- async listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>> {
58695
- const localVarAxiosArgs = await localVarAxiosParamCreator.listWebhookEvent(organizationId, webhookId, options);
58694
+ async listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>> {
58695
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listWebhookEvent(organizationId, options);
58696
58696
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58697
58697
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhookApi.listWebhookEvent']?.[localVarOperationServerIndex]?.url;
58698
58698
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -58757,22 +58757,22 @@ export const OrganizationWebhookApiFactory = function (configuration?: Configura
58757
58757
  * List organization webhooks
58758
58758
  * @summary List organization webhooks
58759
58759
  * @param {string} organizationId Organization ID
58760
+ * @param {string} webhookId Webhook ID
58760
58761
  * @param {*} [options] Override http request option.
58761
58762
  * @throws {RequiredError}
58762
58763
  */
58763
- listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList> {
58764
- return localVarFp.listOrganizationWebHooks(organizationId, options).then((request) => request(axios, basePath));
58764
+ listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList> {
58765
+ return localVarFp.listOrganizationWebHooks(organizationId, webhookId, options).then((request) => request(axios, basePath));
58765
58766
  },
58766
58767
  /**
58767
58768
  * List events of a webhooks
58768
58769
  * @summary List events of a webhook
58769
58770
  * @param {string} organizationId Organization ID
58770
- * @param {string} webhookId Webhook ID
58771
58771
  * @param {*} [options] Override http request option.
58772
58772
  * @throws {RequiredError}
58773
58773
  */
58774
- listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList> {
58775
- return localVarFp.listWebhookEvent(organizationId, webhookId, options).then((request) => request(axios, basePath));
58774
+ listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList> {
58775
+ return localVarFp.listWebhookEvent(organizationId, options).then((request) => request(axios, basePath));
58776
58776
  },
58777
58777
  };
58778
58778
  };
@@ -58842,25 +58842,25 @@ export class OrganizationWebhookApi extends BaseAPI {
58842
58842
  * List organization webhooks
58843
58843
  * @summary List organization webhooks
58844
58844
  * @param {string} organizationId Organization ID
58845
+ * @param {string} webhookId Webhook ID
58845
58846
  * @param {*} [options] Override http request option.
58846
58847
  * @throws {RequiredError}
58847
58848
  * @memberof OrganizationWebhookApi
58848
58849
  */
58849
- public listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig) {
58850
- return OrganizationWebhookApiFp(this.configuration).listOrganizationWebHooks(organizationId, options).then((request) => request(this.axios, this.basePath));
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));
58851
58852
  }
58852
58853
 
58853
58854
  /**
58854
58855
  * List events of a webhooks
58855
58856
  * @summary List events of a webhook
58856
58857
  * @param {string} organizationId Organization ID
58857
- * @param {string} webhookId Webhook ID
58858
58858
  * @param {*} [options] Override http request option.
58859
58859
  * @throws {RequiredError}
58860
58860
  * @memberof OrganizationWebhookApi
58861
58861
  */
58862
- public listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) {
58863
- return OrganizationWebhookApiFp(this.configuration).listWebhookEvent(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
58862
+ public listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig) {
58863
+ return OrganizationWebhookApiFp(this.configuration).listWebhookEvent(organizationId, options).then((request) => request(this.axios, this.basePath));
58864
58864
  }
58865
58865
  }
58866
58866
 
package/dist/api.d.ts CHANGED
@@ -37096,19 +37096,19 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
37096
37096
  * List organization webhooks
37097
37097
  * @summary List organization webhooks
37098
37098
  * @param {string} organizationId Organization ID
37099
+ * @param {string} webhookId Webhook ID
37099
37100
  * @param {*} [options] Override http request option.
37100
37101
  * @throws {RequiredError}
37101
37102
  */
37102
- listOrganizationWebHooks: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37103
+ listOrganizationWebHooks: (organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37103
37104
  /**
37104
37105
  * List events of a webhooks
37105
37106
  * @summary List events of a webhook
37106
37107
  * @param {string} organizationId Organization ID
37107
- * @param {string} webhookId Webhook ID
37108
37108
  * @param {*} [options] Override http request option.
37109
37109
  * @throws {RequiredError}
37110
37110
  */
37111
- listWebhookEvent: (organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37111
+ listWebhookEvent: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37112
37112
  };
37113
37113
  /**
37114
37114
  * OrganizationWebhookApi - functional programming interface
@@ -37157,19 +37157,19 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
37157
37157
  * List organization webhooks
37158
37158
  * @summary List organization webhooks
37159
37159
  * @param {string} organizationId Organization ID
37160
+ * @param {string} webhookId Webhook ID
37160
37161
  * @param {*} [options] Override http request option.
37161
37162
  * @throws {RequiredError}
37162
37163
  */
37163
- listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>>;
37164
+ listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>>;
37164
37165
  /**
37165
37166
  * List events of a webhooks
37166
37167
  * @summary List events of a webhook
37167
37168
  * @param {string} organizationId Organization ID
37168
- * @param {string} webhookId Webhook ID
37169
37169
  * @param {*} [options] Override http request option.
37170
37170
  * @throws {RequiredError}
37171
37171
  */
37172
- listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>>;
37172
+ listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>>;
37173
37173
  };
37174
37174
  /**
37175
37175
  * OrganizationWebhookApi - factory interface
@@ -37218,19 +37218,19 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
37218
37218
  * List organization webhooks
37219
37219
  * @summary List organization webhooks
37220
37220
  * @param {string} organizationId Organization ID
37221
+ * @param {string} webhookId Webhook ID
37221
37222
  * @param {*} [options] Override http request option.
37222
37223
  * @throws {RequiredError}
37223
37224
  */
37224
- listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList>;
37225
+ listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList>;
37225
37226
  /**
37226
37227
  * List events of a webhooks
37227
37228
  * @summary List events of a webhook
37228
37229
  * @param {string} organizationId Organization ID
37229
- * @param {string} webhookId Webhook ID
37230
37230
  * @param {*} [options] Override http request option.
37231
37231
  * @throws {RequiredError}
37232
37232
  */
37233
- listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList>;
37233
+ listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList>;
37234
37234
  };
37235
37235
  /**
37236
37236
  * OrganizationWebhookApi - object-oriented interface
@@ -37285,21 +37285,21 @@ export declare class OrganizationWebhookApi extends BaseAPI {
37285
37285
  * List organization webhooks
37286
37286
  * @summary List organization webhooks
37287
37287
  * @param {string} organizationId Organization ID
37288
+ * @param {string} webhookId Webhook ID
37288
37289
  * @param {*} [options] Override http request option.
37289
37290
  * @throws {RequiredError}
37290
37291
  * @memberof OrganizationWebhookApi
37291
37292
  */
37292
- listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookResponseList, any, {}>>;
37293
+ listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookResponseList, any, {}>>;
37293
37294
  /**
37294
37295
  * List events of a webhooks
37295
37296
  * @summary List events of a webhook
37296
37297
  * @param {string} organizationId Organization ID
37297
- * @param {string} webhookId Webhook ID
37298
37298
  * @param {*} [options] Override http request option.
37299
37299
  * @throws {RequiredError}
37300
37300
  * @memberof OrganizationWebhookApi
37301
37301
  */
37302
- listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookEventResponseList, any, {}>>;
37302
+ listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookEventResponseList, any, {}>>;
37303
37303
  }
37304
37304
  /**
37305
37305
  * ProjectDeploymentRuleApi - axios parameter creator
package/dist/api.js CHANGED
@@ -36935,7 +36935,7 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
36935
36935
  (0, common_1.assertParamExists)('createOrganizationWebhook', 'organizationId', organizationId);
36936
36936
  // verify required parameter 'webhookId' is not null or undefined
36937
36937
  (0, common_1.assertParamExists)('createOrganizationWebhook', 'webhookId', webhookId);
36938
- const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
36938
+ const localVarPath = `/organization/{organizationId}/webhook`
36939
36939
  .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
36940
36940
  .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
36941
36941
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -37083,14 +37083,18 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
37083
37083
  * List organization webhooks
37084
37084
  * @summary List organization webhooks
37085
37085
  * @param {string} organizationId Organization ID
37086
+ * @param {string} webhookId Webhook ID
37086
37087
  * @param {*} [options] Override http request option.
37087
37088
  * @throws {RequiredError}
37088
37089
  */
37089
- listOrganizationWebHooks: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
37090
+ listOrganizationWebHooks: (organizationId_1, webhookId_1, ...args_1) => __awaiter(this, [organizationId_1, webhookId_1, ...args_1], void 0, function* (organizationId, webhookId, options = {}) {
37090
37091
  // verify required parameter 'organizationId' is not null or undefined
37091
37092
  (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);
37092
37095
  const localVarPath = `/organization/{organizationId}/webhook`
37093
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
37096
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
37097
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
37094
37098
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
37095
37099
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
37096
37100
  let baseOptions;
@@ -37117,18 +37121,14 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
37117
37121
  * List events of a webhooks
37118
37122
  * @summary List events of a webhook
37119
37123
  * @param {string} organizationId Organization ID
37120
- * @param {string} webhookId Webhook ID
37121
37124
  * @param {*} [options] Override http request option.
37122
37125
  * @throws {RequiredError}
37123
37126
  */
37124
- listWebhookEvent: (organizationId_1, webhookId_1, ...args_1) => __awaiter(this, [organizationId_1, webhookId_1, ...args_1], void 0, function* (organizationId, webhookId, options = {}) {
37127
+ listWebhookEvent: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
37125
37128
  // verify required parameter 'organizationId' is not null or undefined
37126
37129
  (0, common_1.assertParamExists)('listWebhookEvent', 'organizationId', organizationId);
37127
- // verify required parameter 'webhookId' is not null or undefined
37128
- (0, common_1.assertParamExists)('listWebhookEvent', 'webhookId', webhookId);
37129
37130
  const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
37130
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
37131
- .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
37131
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
37132
37132
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
37133
37133
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
37134
37134
  let baseOptions;
@@ -37235,13 +37235,14 @@ const OrganizationWebhookApiFp = function (configuration) {
37235
37235
  * List organization webhooks
37236
37236
  * @summary List organization webhooks
37237
37237
  * @param {string} organizationId Organization ID
37238
+ * @param {string} webhookId Webhook ID
37238
37239
  * @param {*} [options] Override http request option.
37239
37240
  * @throws {RequiredError}
37240
37241
  */
37241
- listOrganizationWebHooks(organizationId, options) {
37242
+ listOrganizationWebHooks(organizationId, webhookId, options) {
37242
37243
  return __awaiter(this, void 0, void 0, function* () {
37243
37244
  var _a, _b, _c;
37244
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationWebHooks(organizationId, options);
37245
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationWebHooks(organizationId, webhookId, options);
37245
37246
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
37246
37247
  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;
37247
37248
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -37251,14 +37252,13 @@ const OrganizationWebhookApiFp = function (configuration) {
37251
37252
  * List events of a webhooks
37252
37253
  * @summary List events of a webhook
37253
37254
  * @param {string} organizationId Organization ID
37254
- * @param {string} webhookId Webhook ID
37255
37255
  * @param {*} [options] Override http request option.
37256
37256
  * @throws {RequiredError}
37257
37257
  */
37258
- listWebhookEvent(organizationId, webhookId, options) {
37258
+ listWebhookEvent(organizationId, options) {
37259
37259
  return __awaiter(this, void 0, void 0, function* () {
37260
37260
  var _a, _b, _c;
37261
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebhookEvent(organizationId, webhookId, options);
37261
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebhookEvent(organizationId, options);
37262
37262
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
37263
37263
  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
37264
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -37324,22 +37324,22 @@ const OrganizationWebhookApiFactory = function (configuration, basePath, axios)
37324
37324
  * List organization webhooks
37325
37325
  * @summary List organization webhooks
37326
37326
  * @param {string} organizationId Organization ID
37327
+ * @param {string} webhookId Webhook ID
37327
37328
  * @param {*} [options] Override http request option.
37328
37329
  * @throws {RequiredError}
37329
37330
  */
37330
- listOrganizationWebHooks(organizationId, options) {
37331
- return localVarFp.listOrganizationWebHooks(organizationId, options).then((request) => request(axios, basePath));
37331
+ listOrganizationWebHooks(organizationId, webhookId, options) {
37332
+ return localVarFp.listOrganizationWebHooks(organizationId, webhookId, options).then((request) => request(axios, basePath));
37332
37333
  },
37333
37334
  /**
37334
37335
  * List events of a webhooks
37335
37336
  * @summary List events of a webhook
37336
37337
  * @param {string} organizationId Organization ID
37337
- * @param {string} webhookId Webhook ID
37338
37338
  * @param {*} [options] Override http request option.
37339
37339
  * @throws {RequiredError}
37340
37340
  */
37341
- listWebhookEvent(organizationId, webhookId, options) {
37342
- return localVarFp.listWebhookEvent(organizationId, webhookId, options).then((request) => request(axios, basePath));
37341
+ listWebhookEvent(organizationId, options) {
37342
+ return localVarFp.listWebhookEvent(organizationId, options).then((request) => request(axios, basePath));
37343
37343
  },
37344
37344
  };
37345
37345
  };
@@ -37405,24 +37405,24 @@ class OrganizationWebhookApi extends base_1.BaseAPI {
37405
37405
  * List organization webhooks
37406
37406
  * @summary List organization webhooks
37407
37407
  * @param {string} organizationId Organization ID
37408
+ * @param {string} webhookId Webhook ID
37408
37409
  * @param {*} [options] Override http request option.
37409
37410
  * @throws {RequiredError}
37410
37411
  * @memberof OrganizationWebhookApi
37411
37412
  */
37412
- listOrganizationWebHooks(organizationId, options) {
37413
- return (0, exports.OrganizationWebhookApiFp)(this.configuration).listOrganizationWebHooks(organizationId, options).then((request) => request(this.axios, this.basePath));
37413
+ listOrganizationWebHooks(organizationId, webhookId, options) {
37414
+ return (0, exports.OrganizationWebhookApiFp)(this.configuration).listOrganizationWebHooks(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
37414
37415
  }
37415
37416
  /**
37416
37417
  * List events of a webhooks
37417
37418
  * @summary List events of a webhook
37418
37419
  * @param {string} organizationId Organization ID
37419
- * @param {string} webhookId Webhook ID
37420
37420
  * @param {*} [options] Override http request option.
37421
37421
  * @throws {RequiredError}
37422
37422
  * @memberof OrganizationWebhookApi
37423
37423
  */
37424
- listWebhookEvent(organizationId, webhookId, options) {
37425
- return (0, exports.OrganizationWebhookApiFp)(this.configuration).listWebhookEvent(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
37424
+ listWebhookEvent(organizationId, options) {
37425
+ return (0, exports.OrganizationWebhookApiFp)(this.configuration).listWebhookEvent(organizationId, options).then((request) => request(this.axios, this.basePath));
37426
37426
  }
37427
37427
  }
37428
37428
  exports.OrganizationWebhookApi = OrganizationWebhookApi;
package/dist/esm/api.d.ts CHANGED
@@ -37096,19 +37096,19 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
37096
37096
  * List organization webhooks
37097
37097
  * @summary List organization webhooks
37098
37098
  * @param {string} organizationId Organization ID
37099
+ * @param {string} webhookId Webhook ID
37099
37100
  * @param {*} [options] Override http request option.
37100
37101
  * @throws {RequiredError}
37101
37102
  */
37102
- listOrganizationWebHooks: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37103
+ listOrganizationWebHooks: (organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37103
37104
  /**
37104
37105
  * List events of a webhooks
37105
37106
  * @summary List events of a webhook
37106
37107
  * @param {string} organizationId Organization ID
37107
- * @param {string} webhookId Webhook ID
37108
37108
  * @param {*} [options] Override http request option.
37109
37109
  * @throws {RequiredError}
37110
37110
  */
37111
- listWebhookEvent: (organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37111
+ listWebhookEvent: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37112
37112
  };
37113
37113
  /**
37114
37114
  * OrganizationWebhookApi - functional programming interface
@@ -37157,19 +37157,19 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
37157
37157
  * List organization webhooks
37158
37158
  * @summary List organization webhooks
37159
37159
  * @param {string} organizationId Organization ID
37160
+ * @param {string} webhookId Webhook ID
37160
37161
  * @param {*} [options] Override http request option.
37161
37162
  * @throws {RequiredError}
37162
37163
  */
37163
- listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>>;
37164
+ listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>>;
37164
37165
  /**
37165
37166
  * List events of a webhooks
37166
37167
  * @summary List events of a webhook
37167
37168
  * @param {string} organizationId Organization ID
37168
- * @param {string} webhookId Webhook ID
37169
37169
  * @param {*} [options] Override http request option.
37170
37170
  * @throws {RequiredError}
37171
37171
  */
37172
- listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>>;
37172
+ listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>>;
37173
37173
  };
37174
37174
  /**
37175
37175
  * OrganizationWebhookApi - factory interface
@@ -37218,19 +37218,19 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
37218
37218
  * List organization webhooks
37219
37219
  * @summary List organization webhooks
37220
37220
  * @param {string} organizationId Organization ID
37221
+ * @param {string} webhookId Webhook ID
37221
37222
  * @param {*} [options] Override http request option.
37222
37223
  * @throws {RequiredError}
37223
37224
  */
37224
- listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList>;
37225
+ listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList>;
37225
37226
  /**
37226
37227
  * List events of a webhooks
37227
37228
  * @summary List events of a webhook
37228
37229
  * @param {string} organizationId Organization ID
37229
- * @param {string} webhookId Webhook ID
37230
37230
  * @param {*} [options] Override http request option.
37231
37231
  * @throws {RequiredError}
37232
37232
  */
37233
- listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList>;
37233
+ listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList>;
37234
37234
  };
37235
37235
  /**
37236
37236
  * OrganizationWebhookApi - object-oriented interface
@@ -37285,21 +37285,21 @@ export declare class OrganizationWebhookApi extends BaseAPI {
37285
37285
  * List organization webhooks
37286
37286
  * @summary List organization webhooks
37287
37287
  * @param {string} organizationId Organization ID
37288
+ * @param {string} webhookId Webhook ID
37288
37289
  * @param {*} [options] Override http request option.
37289
37290
  * @throws {RequiredError}
37290
37291
  * @memberof OrganizationWebhookApi
37291
37292
  */
37292
- listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookResponseList, any, {}>>;
37293
+ listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookResponseList, any, {}>>;
37293
37294
  /**
37294
37295
  * List events of a webhooks
37295
37296
  * @summary List events of a webhook
37296
37297
  * @param {string} organizationId Organization ID
37297
- * @param {string} webhookId Webhook ID
37298
37298
  * @param {*} [options] Override http request option.
37299
37299
  * @throws {RequiredError}
37300
37300
  * @memberof OrganizationWebhookApi
37301
37301
  */
37302
- listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookEventResponseList, any, {}>>;
37302
+ listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookEventResponseList, any, {}>>;
37303
37303
  }
37304
37304
  /**
37305
37305
  * ProjectDeploymentRuleApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -36623,7 +36623,7 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration)
36623
36623
  assertParamExists('createOrganizationWebhook', 'organizationId', organizationId);
36624
36624
  // verify required parameter 'webhookId' is not null or undefined
36625
36625
  assertParamExists('createOrganizationWebhook', 'webhookId', webhookId);
36626
- const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
36626
+ const localVarPath = `/organization/{organizationId}/webhook`
36627
36627
  .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
36628
36628
  .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
36629
36629
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -36771,14 +36771,18 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration)
36771
36771
  * List organization webhooks
36772
36772
  * @summary List organization webhooks
36773
36773
  * @param {string} organizationId Organization ID
36774
+ * @param {string} webhookId Webhook ID
36774
36775
  * @param {*} [options] Override http request option.
36775
36776
  * @throws {RequiredError}
36776
36777
  */
36777
- listOrganizationWebHooks: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
36778
+ listOrganizationWebHooks: (organizationId_1, webhookId_1, ...args_1) => __awaiter(this, [organizationId_1, webhookId_1, ...args_1], void 0, function* (organizationId, webhookId, options = {}) {
36778
36779
  // verify required parameter 'organizationId' is not null or undefined
36779
36780
  assertParamExists('listOrganizationWebHooks', 'organizationId', organizationId);
36781
+ // verify required parameter 'webhookId' is not null or undefined
36782
+ assertParamExists('listOrganizationWebHooks', 'webhookId', webhookId);
36780
36783
  const localVarPath = `/organization/{organizationId}/webhook`
36781
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
36784
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
36785
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
36782
36786
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
36783
36787
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36784
36788
  let baseOptions;
@@ -36805,18 +36809,14 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration)
36805
36809
  * List events of a webhooks
36806
36810
  * @summary List events of a webhook
36807
36811
  * @param {string} organizationId Organization ID
36808
- * @param {string} webhookId Webhook ID
36809
36812
  * @param {*} [options] Override http request option.
36810
36813
  * @throws {RequiredError}
36811
36814
  */
36812
- listWebhookEvent: (organizationId_1, webhookId_1, ...args_1) => __awaiter(this, [organizationId_1, webhookId_1, ...args_1], void 0, function* (organizationId, webhookId, options = {}) {
36815
+ listWebhookEvent: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
36813
36816
  // verify required parameter 'organizationId' is not null or undefined
36814
36817
  assertParamExists('listWebhookEvent', 'organizationId', organizationId);
36815
- // verify required parameter 'webhookId' is not null or undefined
36816
- assertParamExists('listWebhookEvent', 'webhookId', webhookId);
36817
36818
  const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
36818
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
36819
- .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
36819
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
36820
36820
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
36821
36821
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36822
36822
  let baseOptions;
@@ -36922,13 +36922,14 @@ export const OrganizationWebhookApiFp = function (configuration) {
36922
36922
  * List organization webhooks
36923
36923
  * @summary List organization webhooks
36924
36924
  * @param {string} organizationId Organization ID
36925
+ * @param {string} webhookId Webhook ID
36925
36926
  * @param {*} [options] Override http request option.
36926
36927
  * @throws {RequiredError}
36927
36928
  */
36928
- listOrganizationWebHooks(organizationId, options) {
36929
+ listOrganizationWebHooks(organizationId, webhookId, options) {
36929
36930
  return __awaiter(this, void 0, void 0, function* () {
36930
36931
  var _a, _b, _c;
36931
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationWebHooks(organizationId, options);
36932
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationWebHooks(organizationId, webhookId, options);
36932
36933
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
36933
36934
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationWebhookApi.listOrganizationWebHooks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
36934
36935
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -36938,14 +36939,13 @@ export const OrganizationWebhookApiFp = function (configuration) {
36938
36939
  * List events of a webhooks
36939
36940
  * @summary List events of a webhook
36940
36941
  * @param {string} organizationId Organization ID
36941
- * @param {string} webhookId Webhook ID
36942
36942
  * @param {*} [options] Override http request option.
36943
36943
  * @throws {RequiredError}
36944
36944
  */
36945
- listWebhookEvent(organizationId, webhookId, options) {
36945
+ listWebhookEvent(organizationId, options) {
36946
36946
  return __awaiter(this, void 0, void 0, function* () {
36947
36947
  var _a, _b, _c;
36948
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebhookEvent(organizationId, webhookId, options);
36948
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebhookEvent(organizationId, options);
36949
36949
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
36950
36950
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationWebhookApi.listWebhookEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
36951
36951
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -37010,22 +37010,22 @@ export const OrganizationWebhookApiFactory = function (configuration, basePath,
37010
37010
  * List organization webhooks
37011
37011
  * @summary List organization webhooks
37012
37012
  * @param {string} organizationId Organization ID
37013
+ * @param {string} webhookId Webhook ID
37013
37014
  * @param {*} [options] Override http request option.
37014
37015
  * @throws {RequiredError}
37015
37016
  */
37016
- listOrganizationWebHooks(organizationId, options) {
37017
- return localVarFp.listOrganizationWebHooks(organizationId, options).then((request) => request(axios, basePath));
37017
+ listOrganizationWebHooks(organizationId, webhookId, options) {
37018
+ return localVarFp.listOrganizationWebHooks(organizationId, webhookId, options).then((request) => request(axios, basePath));
37018
37019
  },
37019
37020
  /**
37020
37021
  * List events of a webhooks
37021
37022
  * @summary List events of a webhook
37022
37023
  * @param {string} organizationId Organization ID
37023
- * @param {string} webhookId Webhook ID
37024
37024
  * @param {*} [options] Override http request option.
37025
37025
  * @throws {RequiredError}
37026
37026
  */
37027
- listWebhookEvent(organizationId, webhookId, options) {
37028
- return localVarFp.listWebhookEvent(organizationId, webhookId, options).then((request) => request(axios, basePath));
37027
+ listWebhookEvent(organizationId, options) {
37028
+ return localVarFp.listWebhookEvent(organizationId, options).then((request) => request(axios, basePath));
37029
37029
  },
37030
37030
  };
37031
37031
  };
@@ -37090,24 +37090,24 @@ export class OrganizationWebhookApi extends BaseAPI {
37090
37090
  * List organization webhooks
37091
37091
  * @summary List organization webhooks
37092
37092
  * @param {string} organizationId Organization ID
37093
+ * @param {string} webhookId Webhook ID
37093
37094
  * @param {*} [options] Override http request option.
37094
37095
  * @throws {RequiredError}
37095
37096
  * @memberof OrganizationWebhookApi
37096
37097
  */
37097
- listOrganizationWebHooks(organizationId, options) {
37098
- return OrganizationWebhookApiFp(this.configuration).listOrganizationWebHooks(organizationId, options).then((request) => request(this.axios, this.basePath));
37098
+ listOrganizationWebHooks(organizationId, webhookId, options) {
37099
+ return OrganizationWebhookApiFp(this.configuration).listOrganizationWebHooks(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
37099
37100
  }
37100
37101
  /**
37101
37102
  * List events of a webhooks
37102
37103
  * @summary List events of a webhook
37103
37104
  * @param {string} organizationId Organization ID
37104
- * @param {string} webhookId Webhook ID
37105
37105
  * @param {*} [options] Override http request option.
37106
37106
  * @throws {RequiredError}
37107
37107
  * @memberof OrganizationWebhookApi
37108
37108
  */
37109
- listWebhookEvent(organizationId, webhookId, options) {
37110
- return OrganizationWebhookApiFp(this.configuration).listWebhookEvent(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
37109
+ listWebhookEvent(organizationId, options) {
37110
+ return OrganizationWebhookApiFp(this.configuration).listWebhookEvent(organizationId, options).then((request) => request(this.axios, this.basePath));
37111
37111
  }
37112
37112
  }
37113
37113
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.781",
3
+ "version": "v1.1.782",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {