qovery-typescript-axios 1.1.772 → 1.1.779

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/dist/api.js CHANGED
@@ -1611,7 +1611,7 @@ const AlertReceiversApiAxiosParamCreator = function (configuration) {
1611
1611
  };
1612
1612
  }),
1613
1613
  /**
1614
- * Validate an existing alert receiver by sending a test message for example
1614
+ * Validate an existing alert receiver by sending a test message for example.
1615
1615
  * @summary Validate Existing Alert Receiver
1616
1616
  * @param {string} alertReceiverId Alert Receiver ID
1617
1617
  * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
@@ -1648,7 +1648,7 @@ const AlertReceiversApiAxiosParamCreator = function (configuration) {
1648
1648
  };
1649
1649
  }),
1650
1650
  /**
1651
- * Validate a future alert receiver by sending a test message for example
1651
+ * Validate a future alert receiver by sending a test message.
1652
1652
  * @summary Validate New Alert Receiver
1653
1653
  * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
1654
1654
  * @param {*} [options] Override http request option.
@@ -1662,7 +1662,7 @@ const AlertReceiversApiAxiosParamCreator = function (configuration) {
1662
1662
  if (configuration) {
1663
1663
  baseOptions = configuration.baseOptions;
1664
1664
  }
1665
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1665
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1666
1666
  const localVarHeaderParameter = {};
1667
1667
  const localVarQueryParameter = {};
1668
1668
  // authentication ApiKeyAuth required
@@ -1772,7 +1772,7 @@ const AlertReceiversApiFp = function (configuration) {
1772
1772
  });
1773
1773
  },
1774
1774
  /**
1775
- * Validate an existing alert receiver by sending a test message for example
1775
+ * Validate an existing alert receiver by sending a test message for example.
1776
1776
  * @summary Validate Existing Alert Receiver
1777
1777
  * @param {string} alertReceiverId Alert Receiver ID
1778
1778
  * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
@@ -1789,7 +1789,7 @@ const AlertReceiversApiFp = function (configuration) {
1789
1789
  });
1790
1790
  },
1791
1791
  /**
1792
- * Validate a future alert receiver by sending a test message for example
1792
+ * Validate a future alert receiver by sending a test message.
1793
1793
  * @summary Validate New Alert Receiver
1794
1794
  * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
1795
1795
  * @param {*} [options] Override http request option.
@@ -1866,7 +1866,7 @@ const AlertReceiversApiFactory = function (configuration, basePath, axios) {
1866
1866
  return localVarFp.getAlertReceivers(organizationId, options).then((request) => request(axios, basePath));
1867
1867
  },
1868
1868
  /**
1869
- * Validate an existing alert receiver by sending a test message for example
1869
+ * Validate an existing alert receiver by sending a test message for example.
1870
1870
  * @summary Validate Existing Alert Receiver
1871
1871
  * @param {string} alertReceiverId Alert Receiver ID
1872
1872
  * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
@@ -1877,7 +1877,7 @@ const AlertReceiversApiFactory = function (configuration, basePath, axios) {
1877
1877
  return localVarFp.validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options).then((request) => request(axios, basePath));
1878
1878
  },
1879
1879
  /**
1880
- * Validate a future alert receiver by sending a test message for example
1880
+ * Validate a future alert receiver by sending a test message.
1881
1881
  * @summary Validate New Alert Receiver
1882
1882
  * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
1883
1883
  * @param {*} [options] Override http request option.
@@ -1953,7 +1953,7 @@ class AlertReceiversApi extends base_1.BaseAPI {
1953
1953
  return (0, exports.AlertReceiversApiFp)(this.configuration).getAlertReceivers(organizationId, options).then((request) => request(this.axios, this.basePath));
1954
1954
  }
1955
1955
  /**
1956
- * Validate an existing alert receiver by sending a test message for example
1956
+ * Validate an existing alert receiver by sending a test message for example.
1957
1957
  * @summary Validate Existing Alert Receiver
1958
1958
  * @param {string} alertReceiverId Alert Receiver ID
1959
1959
  * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
@@ -1965,7 +1965,7 @@ class AlertReceiversApi extends base_1.BaseAPI {
1965
1965
  return (0, exports.AlertReceiversApiFp)(this.configuration).validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options).then((request) => request(this.axios, this.basePath));
1966
1966
  }
1967
1967
  /**
1968
- * Validate a future alert receiver by sending a test message for example
1968
+ * Validate a future alert receiver by sending a test message.
1969
1969
  * @summary Validate New Alert Receiver
1970
1970
  * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
1971
1971
  * @param {*} [options] Override http request option.
@@ -36925,15 +36925,19 @@ 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
36928
36929
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
36929
36930
  * @param {*} [options] Override http request option.
36930
36931
  * @throws {RequiredError}
36931
36932
  */
36932
- createOrganizationWebhook: (organizationId_1, organizationWebhookCreateRequest_1, ...args_1) => __awaiter(this, [organizationId_1, organizationWebhookCreateRequest_1, ...args_1], void 0, function* (organizationId, organizationWebhookCreateRequest, options = {}) {
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 = {}) {
36933
36934
  // verify required parameter 'organizationId' is not null or undefined
36934
36935
  (0, common_1.assertParamExists)('createOrganizationWebhook', 'organizationId', organizationId);
36935
- const localVarPath = `/organization/{organizationId}/webhook`
36936
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
36936
+ // verify required parameter 'webhookId' is not null or undefined
36937
+ (0, common_1.assertParamExists)('createOrganizationWebhook', 'webhookId', webhookId);
36938
+ const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
36939
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
36940
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
36937
36941
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
36938
36942
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
36939
36943
  let baseOptions;
@@ -37109,6 +37113,44 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
37109
37113
  options: localVarRequestOptions,
37110
37114
  };
37111
37115
  }),
37116
+ /**
37117
+ * List events of a webhooks
37118
+ * @summary List events of a webhook
37119
+ * @param {string} organizationId Organization ID
37120
+ * @param {string} webhookId Webhook ID
37121
+ * @param {*} [options] Override http request option.
37122
+ * @throws {RequiredError}
37123
+ */
37124
+ listWebhookEvent: (organizationId_1, webhookId_1, ...args_1) => __awaiter(this, [organizationId_1, webhookId_1, ...args_1], void 0, function* (organizationId, webhookId, options = {}) {
37125
+ // verify required parameter 'organizationId' is not null or undefined
37126
+ (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
+ const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
37130
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
37131
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
37132
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37133
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
37134
+ let baseOptions;
37135
+ if (configuration) {
37136
+ baseOptions = configuration.baseOptions;
37137
+ }
37138
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
37139
+ const localVarHeaderParameter = {};
37140
+ const localVarQueryParameter = {};
37141
+ // authentication ApiKeyAuth required
37142
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
37143
+ // authentication bearerAuth required
37144
+ // http bearer authentication required
37145
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
37146
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
37147
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37148
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
37149
+ return {
37150
+ url: (0, common_1.toPathString)(localVarUrlObj),
37151
+ options: localVarRequestOptions,
37152
+ };
37153
+ }),
37112
37154
  };
37113
37155
  };
37114
37156
  exports.OrganizationWebhookApiAxiosParamCreator = OrganizationWebhookApiAxiosParamCreator;
@@ -37123,14 +37165,15 @@ const OrganizationWebhookApiFp = function (configuration) {
37123
37165
  * Create an organization webhook.
37124
37166
  * @summary Create an organization webhook
37125
37167
  * @param {string} organizationId Organization ID
37168
+ * @param {string} webhookId Webhook ID
37126
37169
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37127
37170
  * @param {*} [options] Override http request option.
37128
37171
  * @throws {RequiredError}
37129
37172
  */
37130
- createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
37173
+ createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
37131
37174
  return __awaiter(this, void 0, void 0, function* () {
37132
37175
  var _a, _b, _c;
37133
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options);
37176
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options);
37134
37177
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
37135
37178
  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;
37136
37179
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -37204,6 +37247,23 @@ const OrganizationWebhookApiFp = function (configuration) {
37204
37247
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37205
37248
  });
37206
37249
  },
37250
+ /**
37251
+ * List events of a webhooks
37252
+ * @summary List events of a webhook
37253
+ * @param {string} organizationId Organization ID
37254
+ * @param {string} webhookId Webhook ID
37255
+ * @param {*} [options] Override http request option.
37256
+ * @throws {RequiredError}
37257
+ */
37258
+ listWebhookEvent(organizationId, webhookId, options) {
37259
+ return __awaiter(this, void 0, void 0, function* () {
37260
+ var _a, _b, _c;
37261
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebhookEvent(organizationId, webhookId, options);
37262
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
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
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37265
+ });
37266
+ },
37207
37267
  };
37208
37268
  };
37209
37269
  exports.OrganizationWebhookApiFp = OrganizationWebhookApiFp;
@@ -37218,12 +37278,13 @@ const OrganizationWebhookApiFactory = function (configuration, basePath, axios)
37218
37278
  * Create an organization webhook.
37219
37279
  * @summary Create an organization webhook
37220
37280
  * @param {string} organizationId Organization ID
37281
+ * @param {string} webhookId Webhook ID
37221
37282
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37222
37283
  * @param {*} [options] Override http request option.
37223
37284
  * @throws {RequiredError}
37224
37285
  */
37225
- createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
37226
- return localVarFp.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
37286
+ createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
37287
+ return localVarFp.createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
37227
37288
  },
37228
37289
  /**
37229
37290
  * Delete organization webhook
@@ -37269,6 +37330,17 @@ const OrganizationWebhookApiFactory = function (configuration, basePath, axios)
37269
37330
  listOrganizationWebHooks(organizationId, options) {
37270
37331
  return localVarFp.listOrganizationWebHooks(organizationId, options).then((request) => request(axios, basePath));
37271
37332
  },
37333
+ /**
37334
+ * List events of a webhooks
37335
+ * @summary List events of a webhook
37336
+ * @param {string} organizationId Organization ID
37337
+ * @param {string} webhookId Webhook ID
37338
+ * @param {*} [options] Override http request option.
37339
+ * @throws {RequiredError}
37340
+ */
37341
+ listWebhookEvent(organizationId, webhookId, options) {
37342
+ return localVarFp.listWebhookEvent(organizationId, webhookId, options).then((request) => request(axios, basePath));
37343
+ },
37272
37344
  };
37273
37345
  };
37274
37346
  exports.OrganizationWebhookApiFactory = OrganizationWebhookApiFactory;
@@ -37283,13 +37355,14 @@ class OrganizationWebhookApi extends base_1.BaseAPI {
37283
37355
  * Create an organization webhook.
37284
37356
  * @summary Create an organization webhook
37285
37357
  * @param {string} organizationId Organization ID
37358
+ * @param {string} webhookId Webhook ID
37286
37359
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37287
37360
  * @param {*} [options] Override http request option.
37288
37361
  * @throws {RequiredError}
37289
37362
  * @memberof OrganizationWebhookApi
37290
37363
  */
37291
- createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
37292
- return (0, exports.OrganizationWebhookApiFp)(this.configuration).createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
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));
37293
37366
  }
37294
37367
  /**
37295
37368
  * Delete organization webhook
@@ -37339,6 +37412,18 @@ class OrganizationWebhookApi extends base_1.BaseAPI {
37339
37412
  listOrganizationWebHooks(organizationId, options) {
37340
37413
  return (0, exports.OrganizationWebhookApiFp)(this.configuration).listOrganizationWebHooks(organizationId, options).then((request) => request(this.axios, this.basePath));
37341
37414
  }
37415
+ /**
37416
+ * List events of a webhooks
37417
+ * @summary List events of a webhook
37418
+ * @param {string} organizationId Organization ID
37419
+ * @param {string} webhookId Webhook ID
37420
+ * @param {*} [options] Override http request option.
37421
+ * @throws {RequiredError}
37422
+ * @memberof OrganizationWebhookApi
37423
+ */
37424
+ listWebhookEvent(organizationId, webhookId, options) {
37425
+ return (0, exports.OrganizationWebhookApiFp)(this.configuration).listWebhookEvent(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
37426
+ }
37342
37427
  }
37343
37428
  exports.OrganizationWebhookApi = OrganizationWebhookApi;
37344
37429
  /**
package/dist/esm/api.d.ts CHANGED
@@ -19415,6 +19415,76 @@ export interface VersionResponseList {
19415
19415
  */
19416
19416
  'results'?: Array<Version>;
19417
19417
  }
19418
+ /**
19419
+ *
19420
+ * @export
19421
+ * @interface WebhookEventResponse
19422
+ */
19423
+ export interface WebhookEventResponse {
19424
+ /**
19425
+ * Unique identifier
19426
+ * @type {string}
19427
+ * @memberof WebhookEventResponse
19428
+ */
19429
+ 'id': string;
19430
+ /**
19431
+ * Timestamp when the webhook event was created
19432
+ * @type {string}
19433
+ * @memberof WebhookEventResponse
19434
+ */
19435
+ 'created_at': string;
19436
+ /**
19437
+ *
19438
+ * @type {OrganizationWebhookKindEnum}
19439
+ * @memberof WebhookEventResponse
19440
+ */
19441
+ 'kind': OrganizationWebhookKindEnum;
19442
+ /**
19443
+ *
19444
+ * @type {OrganizationWebhookEventEnum}
19445
+ * @memberof WebhookEventResponse
19446
+ */
19447
+ 'matched_event': OrganizationWebhookEventEnum;
19448
+ /**
19449
+ * The webhook target URL that was invoked
19450
+ * @type {string}
19451
+ * @memberof WebhookEventResponse
19452
+ */
19453
+ 'target_url_used': string;
19454
+ /**
19455
+ * The request payload sent to the webhook
19456
+ * @type {{ [key: string]: any; }}
19457
+ * @memberof WebhookEventResponse
19458
+ */
19459
+ 'request': {
19460
+ [key: string]: any;
19461
+ };
19462
+ /**
19463
+ * HTTP status code returned by the webhook target
19464
+ * @type {number}
19465
+ * @memberof WebhookEventResponse
19466
+ */
19467
+ 'target_response_status_code': number;
19468
+ /**
19469
+ * Response body from the webhook target
19470
+ * @type {string}
19471
+ * @memberof WebhookEventResponse
19472
+ */
19473
+ 'target_response_body'?: string | null;
19474
+ }
19475
+ /**
19476
+ *
19477
+ * @export
19478
+ * @interface WebhookEventResponseList
19479
+ */
19480
+ export interface WebhookEventResponseList {
19481
+ /**
19482
+ *
19483
+ * @type {Array<WebhookEventResponse>}
19484
+ * @memberof WebhookEventResponseList
19485
+ */
19486
+ 'results'?: Array<WebhookEventResponse>;
19487
+ }
19418
19488
  /**
19419
19489
  *
19420
19490
  * @export
@@ -19565,7 +19635,7 @@ export declare const AlertReceiversApiAxiosParamCreator: (configuration?: Config
19565
19635
  */
19566
19636
  getAlertReceivers: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19567
19637
  /**
19568
- * Validate an existing alert receiver by sending a test message for example
19638
+ * Validate an existing alert receiver by sending a test message for example.
19569
19639
  * @summary Validate Existing Alert Receiver
19570
19640
  * @param {string} alertReceiverId Alert Receiver ID
19571
19641
  * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
@@ -19574,7 +19644,7 @@ export declare const AlertReceiversApiAxiosParamCreator: (configuration?: Config
19574
19644
  */
19575
19645
  validateExistingAlertReceiver: (alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19576
19646
  /**
19577
- * Validate a future alert receiver by sending a test message for example
19647
+ * Validate a future alert receiver by sending a test message.
19578
19648
  * @summary Validate New Alert Receiver
19579
19649
  * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
19580
19650
  * @param {*} [options] Override http request option.
@@ -19629,7 +19699,7 @@ export declare const AlertReceiversApiFp: (configuration?: Configuration) => {
19629
19699
  */
19630
19700
  getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertReceiverList>>;
19631
19701
  /**
19632
- * Validate an existing alert receiver by sending a test message for example
19702
+ * Validate an existing alert receiver by sending a test message for example.
19633
19703
  * @summary Validate Existing Alert Receiver
19634
19704
  * @param {string} alertReceiverId Alert Receiver ID
19635
19705
  * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
@@ -19638,7 +19708,7 @@ export declare const AlertReceiversApiFp: (configuration?: Configuration) => {
19638
19708
  */
19639
19709
  validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
19640
19710
  /**
19641
- * Validate a future alert receiver by sending a test message for example
19711
+ * Validate a future alert receiver by sending a test message.
19642
19712
  * @summary Validate New Alert Receiver
19643
19713
  * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
19644
19714
  * @param {*} [options] Override http request option.
@@ -19693,7 +19763,7 @@ export declare const AlertReceiversApiFactory: (configuration?: Configuration, b
19693
19763
  */
19694
19764
  getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertReceiverList>;
19695
19765
  /**
19696
- * Validate an existing alert receiver by sending a test message for example
19766
+ * Validate an existing alert receiver by sending a test message for example.
19697
19767
  * @summary Validate Existing Alert Receiver
19698
19768
  * @param {string} alertReceiverId Alert Receiver ID
19699
19769
  * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
@@ -19702,7 +19772,7 @@ export declare const AlertReceiversApiFactory: (configuration?: Configuration, b
19702
19772
  */
19703
19773
  validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
19704
19774
  /**
19705
- * Validate a future alert receiver by sending a test message for example
19775
+ * Validate a future alert receiver by sending a test message.
19706
19776
  * @summary Validate New Alert Receiver
19707
19777
  * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
19708
19778
  * @param {*} [options] Override http request option.
@@ -19764,7 +19834,7 @@ export declare class AlertReceiversApi extends BaseAPI {
19764
19834
  */
19765
19835
  getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AlertReceiverList, any, {}>>;
19766
19836
  /**
19767
- * Validate an existing alert receiver by sending a test message for example
19837
+ * Validate an existing alert receiver by sending a test message for example.
19768
19838
  * @summary Validate Existing Alert Receiver
19769
19839
  * @param {string} alertReceiverId Alert Receiver ID
19770
19840
  * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
@@ -19774,7 +19844,7 @@ export declare class AlertReceiversApi extends BaseAPI {
19774
19844
  */
19775
19845
  validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19776
19846
  /**
19777
- * Validate a future alert receiver by sending a test message for example
19847
+ * Validate a future alert receiver by sending a test message.
19778
19848
  * @summary Validate New Alert Receiver
19779
19849
  * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
19780
19850
  * @param {*} [options] Override http request option.
@@ -36976,11 +37046,12 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
36976
37046
  * Create an organization webhook.
36977
37047
  * @summary Create an organization webhook
36978
37048
  * @param {string} organizationId Organization ID
37049
+ * @param {string} webhookId Webhook ID
36979
37050
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
36980
37051
  * @param {*} [options] Override http request option.
36981
37052
  * @throws {RequiredError}
36982
37053
  */
36983
- createOrganizationWebhook: (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37054
+ createOrganizationWebhook: (organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36984
37055
  /**
36985
37056
  * Delete organization webhook
36986
37057
  * @summary Delete organization webhook
@@ -37017,6 +37088,15 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
37017
37088
  * @throws {RequiredError}
37018
37089
  */
37019
37090
  listOrganizationWebHooks: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37091
+ /**
37092
+ * List events of a webhooks
37093
+ * @summary List events of a webhook
37094
+ * @param {string} organizationId Organization ID
37095
+ * @param {string} webhookId Webhook ID
37096
+ * @param {*} [options] Override http request option.
37097
+ * @throws {RequiredError}
37098
+ */
37099
+ listWebhookEvent: (organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37020
37100
  };
37021
37101
  /**
37022
37102
  * OrganizationWebhookApi - functional programming interface
@@ -37027,11 +37107,12 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
37027
37107
  * Create an organization webhook.
37028
37108
  * @summary Create an organization webhook
37029
37109
  * @param {string} organizationId Organization ID
37110
+ * @param {string} webhookId Webhook ID
37030
37111
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37031
37112
  * @param {*} [options] Override http request option.
37032
37113
  * @throws {RequiredError}
37033
37114
  */
37034
- createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
37115
+ createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
37035
37116
  /**
37036
37117
  * Delete organization webhook
37037
37118
  * @summary Delete organization webhook
@@ -37068,6 +37149,15 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
37068
37149
  * @throws {RequiredError}
37069
37150
  */
37070
37151
  listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>>;
37152
+ /**
37153
+ * List events of a webhooks
37154
+ * @summary List events of a webhook
37155
+ * @param {string} organizationId Organization ID
37156
+ * @param {string} webhookId Webhook ID
37157
+ * @param {*} [options] Override http request option.
37158
+ * @throws {RequiredError}
37159
+ */
37160
+ listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>>;
37071
37161
  };
37072
37162
  /**
37073
37163
  * OrganizationWebhookApi - factory interface
@@ -37078,11 +37168,12 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
37078
37168
  * Create an organization webhook.
37079
37169
  * @summary Create an organization webhook
37080
37170
  * @param {string} organizationId Organization ID
37171
+ * @param {string} webhookId Webhook ID
37081
37172
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37082
37173
  * @param {*} [options] Override http request option.
37083
37174
  * @throws {RequiredError}
37084
37175
  */
37085
- createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse>;
37176
+ createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse>;
37086
37177
  /**
37087
37178
  * Delete organization webhook
37088
37179
  * @summary Delete organization webhook
@@ -37119,6 +37210,15 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
37119
37210
  * @throws {RequiredError}
37120
37211
  */
37121
37212
  listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList>;
37213
+ /**
37214
+ * List events of a webhooks
37215
+ * @summary List events of a webhook
37216
+ * @param {string} organizationId Organization ID
37217
+ * @param {string} webhookId Webhook ID
37218
+ * @param {*} [options] Override http request option.
37219
+ * @throws {RequiredError}
37220
+ */
37221
+ listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList>;
37122
37222
  };
37123
37223
  /**
37124
37224
  * OrganizationWebhookApi - object-oriented interface
@@ -37131,12 +37231,13 @@ export declare class OrganizationWebhookApi extends BaseAPI {
37131
37231
  * Create an organization webhook.
37132
37232
  * @summary Create an organization webhook
37133
37233
  * @param {string} organizationId Organization ID
37234
+ * @param {string} webhookId Webhook ID
37134
37235
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
37135
37236
  * @param {*} [options] Override http request option.
37136
37237
  * @throws {RequiredError}
37137
37238
  * @memberof OrganizationWebhookApi
37138
37239
  */
37139
- createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse, any, {}>>;
37240
+ createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse, any, {}>>;
37140
37241
  /**
37141
37242
  * Delete organization webhook
37142
37243
  * @summary Delete organization webhook
@@ -37177,6 +37278,16 @@ export declare class OrganizationWebhookApi extends BaseAPI {
37177
37278
  * @memberof OrganizationWebhookApi
37178
37279
  */
37179
37280
  listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookResponseList, any, {}>>;
37281
+ /**
37282
+ * List events of a webhooks
37283
+ * @summary List events of a webhook
37284
+ * @param {string} organizationId Organization ID
37285
+ * @param {string} webhookId Webhook ID
37286
+ * @param {*} [options] Override http request option.
37287
+ * @throws {RequiredError}
37288
+ * @memberof OrganizationWebhookApi
37289
+ */
37290
+ listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookEventResponseList, any, {}>>;
37180
37291
  }
37181
37292
  /**
37182
37293
  * ProjectDeploymentRuleApi - axios parameter creator