qovery-typescript-axios 1.1.768 → 1.1.770

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
@@ -231,6 +231,25 @@ export interface AlertReceiverCreationRequest {
231
231
  }
232
232
 
233
233
 
234
+ /**
235
+ *
236
+ * @export
237
+ * @interface AlertReceiverCreationValidationRequest
238
+ */
239
+ export interface AlertReceiverCreationValidationRequest {
240
+ /**
241
+ *
242
+ * @type {AlertReceiverCreationRequest}
243
+ * @memberof AlertReceiverCreationValidationRequest
244
+ */
245
+ 'alertReceiver': AlertReceiverCreationRequest;
246
+ /**
247
+ *
248
+ * @type {string}
249
+ * @memberof AlertReceiverCreationValidationRequest
250
+ */
251
+ 'message'?: string;
252
+ }
234
253
  /**
235
254
  *
236
255
  * @export
@@ -341,6 +360,19 @@ export const AlertReceiverType = {
341
360
  export type AlertReceiverType = typeof AlertReceiverType[keyof typeof AlertReceiverType];
342
361
 
343
362
 
363
+ /**
364
+ *
365
+ * @export
366
+ * @interface AlertReceiverValidationRequest
367
+ */
368
+ export interface AlertReceiverValidationRequest {
369
+ /**
370
+ *
371
+ * @type {string}
372
+ * @memberof AlertReceiverValidationRequest
373
+ */
374
+ 'message'?: string;
375
+ }
344
376
  /**
345
377
  *
346
378
  * @export
@@ -15284,8 +15316,11 @@ export interface OrganizationEventResponseListLinks {
15284
15316
 
15285
15317
  export const OrganizationEventSubTargetType = {
15286
15318
  ADVANCED_SETTINGS: 'ADVANCED_SETTINGS',
15319
+ ALERT_RULE: 'ALERT_RULE',
15320
+ ANNOTATIONS_GROUP: 'ANNOTATIONS_GROUP',
15287
15321
  API_TOKEN: 'API_TOKEN',
15288
15322
  BILLING_INFO: 'BILLING_INFO',
15323
+ BILLING_USAGE_REPORT: 'BILLING_USAGE_REPORT',
15289
15324
  CLOUD_PROVIDER_CREDENTIALS: 'CLOUD_PROVIDER_CREDENTIALS',
15290
15325
  CLUSTER_CREDENTIALS: 'CLUSTER_CREDENTIALS',
15291
15326
  CLUSTER_ROUTING_TABLE: 'CLUSTER_ROUTING_TABLE',
@@ -15300,9 +15335,14 @@ export const OrganizationEventSubTargetType = {
15300
15335
  GIT_REPOSITORY: 'GIT_REPOSITORY',
15301
15336
  GIT_TOKEN: 'GIT_TOKEN',
15302
15337
  INVITATION: 'INVITATION',
15338
+ KUBERNETES_CONFIGURATION: 'KUBERNETES_CONFIGURATION',
15339
+ KUBERNETES_CREDENTIALS: 'KUBERNETES_CREDENTIALS',
15340
+ LABELS_GROUP: 'LABELS_GROUP',
15303
15341
  MEMBER_ROLE: 'MEMBER_ROLE',
15304
15342
  PLAN: 'PLAN',
15343
+ REMOTE_ACCESS: 'REMOTE_ACCESS',
15305
15344
  SECRET: 'SECRET',
15345
+ SSO: 'SSO',
15306
15346
  TERRAFORM: 'TERRAFORM',
15307
15347
  TRANSFER_OWNERSHIP: 'TRANSFER_OWNERSHIP',
15308
15348
  VARIABLE: 'VARIABLE'
@@ -15354,6 +15394,7 @@ export const OrganizationEventTargetType = {
15354
15394
  ENVIRONMENT: 'ENVIRONMENT',
15355
15395
  JOB: 'JOB',
15356
15396
  HELM: 'HELM',
15397
+ HELM_REPOSITORY: 'HELM_REPOSITORY',
15357
15398
  MEMBERS_AND_ROLES: 'MEMBERS_AND_ROLES',
15358
15399
  ORGANIZATION: 'ORGANIZATION',
15359
15400
  PROJECT: 'PROJECT',
@@ -20369,6 +20410,92 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
20369
20410
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20370
20411
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20371
20412
 
20413
+ return {
20414
+ url: toPathString(localVarUrlObj),
20415
+ options: localVarRequestOptions,
20416
+ };
20417
+ },
20418
+ /**
20419
+ * Validate an existing alert receiver by sending a test message for example
20420
+ * @summary Validate Existing Alert Receiver
20421
+ * @param {string} alertReceiverId Alert Receiver ID
20422
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
20423
+ * @param {*} [options] Override http request option.
20424
+ * @throws {RequiredError}
20425
+ */
20426
+ validateExistingAlertReceiver: async (alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20427
+ // verify required parameter 'alertReceiverId' is not null or undefined
20428
+ assertParamExists('validateExistingAlertReceiver', 'alertReceiverId', alertReceiverId)
20429
+ const localVarPath = `/alert-receivers/{alertReceiverId}/validate`
20430
+ .replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
20431
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20432
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20433
+ let baseOptions;
20434
+ if (configuration) {
20435
+ baseOptions = configuration.baseOptions;
20436
+ }
20437
+
20438
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
20439
+ const localVarHeaderParameter = {} as any;
20440
+ const localVarQueryParameter = {} as any;
20441
+
20442
+ // authentication ApiKeyAuth required
20443
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
20444
+
20445
+ // authentication bearerAuth required
20446
+ // http bearer authentication required
20447
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20448
+
20449
+
20450
+
20451
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20452
+
20453
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20454
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20455
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20456
+ localVarRequestOptions.data = serializeDataIfNeeded(alertReceiverValidationRequest, localVarRequestOptions, configuration)
20457
+
20458
+ return {
20459
+ url: toPathString(localVarUrlObj),
20460
+ options: localVarRequestOptions,
20461
+ };
20462
+ },
20463
+ /**
20464
+ * Validate a future alert receiver by sending a test message for example
20465
+ * @summary Validate New Alert Receiver
20466
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
20467
+ * @param {*} [options] Override http request option.
20468
+ * @throws {RequiredError}
20469
+ */
20470
+ validateNewAlertReceiver: async (alertReceiverCreationValidationRequest?: AlertReceiverCreationValidationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20471
+ const localVarPath = `/alert-receivers/validate`;
20472
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20473
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20474
+ let baseOptions;
20475
+ if (configuration) {
20476
+ baseOptions = configuration.baseOptions;
20477
+ }
20478
+
20479
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
20480
+ const localVarHeaderParameter = {} as any;
20481
+ const localVarQueryParameter = {} as any;
20482
+
20483
+ // authentication ApiKeyAuth required
20484
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
20485
+
20486
+ // authentication bearerAuth required
20487
+ // http bearer authentication required
20488
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20489
+
20490
+
20491
+
20492
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20493
+
20494
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20495
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20496
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20497
+ localVarRequestOptions.data = serializeDataIfNeeded(alertReceiverCreationValidationRequest, localVarRequestOptions, configuration)
20498
+
20372
20499
  return {
20373
20500
  url: toPathString(localVarUrlObj),
20374
20501
  options: localVarRequestOptions,
@@ -20450,6 +20577,33 @@ export const AlertReceiversApiFp = function(configuration?: Configuration) {
20450
20577
  const localVarOperationServerBasePath = operationServerMap['AlertReceiversApi.getAlertReceivers']?.[localVarOperationServerIndex]?.url;
20451
20578
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20452
20579
  },
20580
+ /**
20581
+ * Validate an existing alert receiver by sending a test message for example
20582
+ * @summary Validate Existing Alert Receiver
20583
+ * @param {string} alertReceiverId Alert Receiver ID
20584
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
20585
+ * @param {*} [options] Override http request option.
20586
+ * @throws {RequiredError}
20587
+ */
20588
+ async validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
20589
+ const localVarAxiosArgs = await localVarAxiosParamCreator.validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options);
20590
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20591
+ const localVarOperationServerBasePath = operationServerMap['AlertReceiversApi.validateExistingAlertReceiver']?.[localVarOperationServerIndex]?.url;
20592
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20593
+ },
20594
+ /**
20595
+ * Validate a future alert receiver by sending a test message for example
20596
+ * @summary Validate New Alert Receiver
20597
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
20598
+ * @param {*} [options] Override http request option.
20599
+ * @throws {RequiredError}
20600
+ */
20601
+ async validateNewAlertReceiver(alertReceiverCreationValidationRequest?: AlertReceiverCreationValidationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
20602
+ const localVarAxiosArgs = await localVarAxiosParamCreator.validateNewAlertReceiver(alertReceiverCreationValidationRequest, options);
20603
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20604
+ const localVarOperationServerBasePath = operationServerMap['AlertReceiversApi.validateNewAlertReceiver']?.[localVarOperationServerIndex]?.url;
20605
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20606
+ },
20453
20607
  }
20454
20608
  };
20455
20609
 
@@ -20511,6 +20665,27 @@ export const AlertReceiversApiFactory = function (configuration?: Configuration,
20511
20665
  getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertReceiverList> {
20512
20666
  return localVarFp.getAlertReceivers(organizationId, options).then((request) => request(axios, basePath));
20513
20667
  },
20668
+ /**
20669
+ * Validate an existing alert receiver by sending a test message for example
20670
+ * @summary Validate Existing Alert Receiver
20671
+ * @param {string} alertReceiverId Alert Receiver ID
20672
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
20673
+ * @param {*} [options] Override http request option.
20674
+ * @throws {RequiredError}
20675
+ */
20676
+ validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
20677
+ return localVarFp.validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options).then((request) => request(axios, basePath));
20678
+ },
20679
+ /**
20680
+ * Validate a future alert receiver by sending a test message for example
20681
+ * @summary Validate New Alert Receiver
20682
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
20683
+ * @param {*} [options] Override http request option.
20684
+ * @throws {RequiredError}
20685
+ */
20686
+ validateNewAlertReceiver(alertReceiverCreationValidationRequest?: AlertReceiverCreationValidationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
20687
+ return localVarFp.validateNewAlertReceiver(alertReceiverCreationValidationRequest, options).then((request) => request(axios, basePath));
20688
+ },
20514
20689
  };
20515
20690
  };
20516
20691
 
@@ -20581,6 +20756,31 @@ export class AlertReceiversApi extends BaseAPI {
20581
20756
  public getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig) {
20582
20757
  return AlertReceiversApiFp(this.configuration).getAlertReceivers(organizationId, options).then((request) => request(this.axios, this.basePath));
20583
20758
  }
20759
+
20760
+ /**
20761
+ * Validate an existing alert receiver by sending a test message for example
20762
+ * @summary Validate Existing Alert Receiver
20763
+ * @param {string} alertReceiverId Alert Receiver ID
20764
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
20765
+ * @param {*} [options] Override http request option.
20766
+ * @throws {RequiredError}
20767
+ * @memberof AlertReceiversApi
20768
+ */
20769
+ public validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig) {
20770
+ return AlertReceiversApiFp(this.configuration).validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options).then((request) => request(this.axios, this.basePath));
20771
+ }
20772
+
20773
+ /**
20774
+ * Validate a future alert receiver by sending a test message for example
20775
+ * @summary Validate New Alert Receiver
20776
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
20777
+ * @param {*} [options] Override http request option.
20778
+ * @throws {RequiredError}
20779
+ * @memberof AlertReceiversApi
20780
+ */
20781
+ public validateNewAlertReceiver(alertReceiverCreationValidationRequest?: AlertReceiverCreationValidationRequest, options?: RawAxiosRequestConfig) {
20782
+ return AlertReceiversApiFp(this.configuration).validateNewAlertReceiver(alertReceiverCreationValidationRequest, options).then((request) => request(this.axios, this.basePath));
20783
+ }
20584
20784
  }
20585
20785
 
20586
20786
 
package/dist/api.d.ts CHANGED
@@ -208,6 +208,25 @@ export interface AlertReceiverCreationRequest {
208
208
  */
209
209
  'send_resolved': boolean;
210
210
  }
211
+ /**
212
+ *
213
+ * @export
214
+ * @interface AlertReceiverCreationValidationRequest
215
+ */
216
+ export interface AlertReceiverCreationValidationRequest {
217
+ /**
218
+ *
219
+ * @type {AlertReceiverCreationRequest}
220
+ * @memberof AlertReceiverCreationValidationRequest
221
+ */
222
+ 'alertReceiver': AlertReceiverCreationRequest;
223
+ /**
224
+ *
225
+ * @type {string}
226
+ * @memberof AlertReceiverCreationValidationRequest
227
+ */
228
+ 'message'?: string;
229
+ }
211
230
  /**
212
231
  *
213
232
  * @export
@@ -310,6 +329,19 @@ export declare const AlertReceiverType: {
310
329
  readonly SLACK: "SLACK";
311
330
  };
312
331
  export type AlertReceiverType = typeof AlertReceiverType[keyof typeof AlertReceiverType];
332
+ /**
333
+ *
334
+ * @export
335
+ * @interface AlertReceiverValidationRequest
336
+ */
337
+ export interface AlertReceiverValidationRequest {
338
+ /**
339
+ *
340
+ * @type {string}
341
+ * @memberof AlertReceiverValidationRequest
342
+ */
343
+ 'message'?: string;
344
+ }
313
345
  /**
314
346
  *
315
347
  * @export
@@ -14820,8 +14852,11 @@ export interface OrganizationEventResponseListLinks {
14820
14852
  */
14821
14853
  export declare const OrganizationEventSubTargetType: {
14822
14854
  readonly ADVANCED_SETTINGS: "ADVANCED_SETTINGS";
14855
+ readonly ALERT_RULE: "ALERT_RULE";
14856
+ readonly ANNOTATIONS_GROUP: "ANNOTATIONS_GROUP";
14823
14857
  readonly API_TOKEN: "API_TOKEN";
14824
14858
  readonly BILLING_INFO: "BILLING_INFO";
14859
+ readonly BILLING_USAGE_REPORT: "BILLING_USAGE_REPORT";
14825
14860
  readonly CLOUD_PROVIDER_CREDENTIALS: "CLOUD_PROVIDER_CREDENTIALS";
14826
14861
  readonly CLUSTER_CREDENTIALS: "CLUSTER_CREDENTIALS";
14827
14862
  readonly CLUSTER_ROUTING_TABLE: "CLUSTER_ROUTING_TABLE";
@@ -14836,9 +14871,14 @@ export declare const OrganizationEventSubTargetType: {
14836
14871
  readonly GIT_REPOSITORY: "GIT_REPOSITORY";
14837
14872
  readonly GIT_TOKEN: "GIT_TOKEN";
14838
14873
  readonly INVITATION: "INVITATION";
14874
+ readonly KUBERNETES_CONFIGURATION: "KUBERNETES_CONFIGURATION";
14875
+ readonly KUBERNETES_CREDENTIALS: "KUBERNETES_CREDENTIALS";
14876
+ readonly LABELS_GROUP: "LABELS_GROUP";
14839
14877
  readonly MEMBER_ROLE: "MEMBER_ROLE";
14840
14878
  readonly PLAN: "PLAN";
14879
+ readonly REMOTE_ACCESS: "REMOTE_ACCESS";
14841
14880
  readonly SECRET: "SECRET";
14881
+ readonly SSO: "SSO";
14842
14882
  readonly TERRAFORM: "TERRAFORM";
14843
14883
  readonly TRANSFER_OWNERSHIP: "TRANSFER_OWNERSHIP";
14844
14884
  readonly VARIABLE: "VARIABLE";
@@ -14882,6 +14922,7 @@ export declare const OrganizationEventTargetType: {
14882
14922
  readonly ENVIRONMENT: "ENVIRONMENT";
14883
14923
  readonly JOB: "JOB";
14884
14924
  readonly HELM: "HELM";
14925
+ readonly HELM_REPOSITORY: "HELM_REPOSITORY";
14885
14926
  readonly MEMBERS_AND_ROLES: "MEMBERS_AND_ROLES";
14886
14927
  readonly ORGANIZATION: "ORGANIZATION";
14887
14928
  readonly PROJECT: "PROJECT";
@@ -19441,6 +19482,23 @@ export declare const AlertReceiversApiAxiosParamCreator: (configuration?: Config
19441
19482
  * @throws {RequiredError}
19442
19483
  */
19443
19484
  getAlertReceivers: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19485
+ /**
19486
+ * Validate an existing alert receiver by sending a test message for example
19487
+ * @summary Validate Existing Alert Receiver
19488
+ * @param {string} alertReceiverId Alert Receiver ID
19489
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
19490
+ * @param {*} [options] Override http request option.
19491
+ * @throws {RequiredError}
19492
+ */
19493
+ validateExistingAlertReceiver: (alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19494
+ /**
19495
+ * Validate a future alert receiver by sending a test message for example
19496
+ * @summary Validate New Alert Receiver
19497
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
19498
+ * @param {*} [options] Override http request option.
19499
+ * @throws {RequiredError}
19500
+ */
19501
+ validateNewAlertReceiver: (alertReceiverCreationValidationRequest?: AlertReceiverCreationValidationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19444
19502
  };
19445
19503
  /**
19446
19504
  * AlertReceiversApi - functional programming interface
@@ -19488,6 +19546,23 @@ export declare const AlertReceiversApiFp: (configuration?: Configuration) => {
19488
19546
  * @throws {RequiredError}
19489
19547
  */
19490
19548
  getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertReceiverList>>;
19549
+ /**
19550
+ * Validate an existing alert receiver by sending a test message for example
19551
+ * @summary Validate Existing Alert Receiver
19552
+ * @param {string} alertReceiverId Alert Receiver ID
19553
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
19554
+ * @param {*} [options] Override http request option.
19555
+ * @throws {RequiredError}
19556
+ */
19557
+ validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
19558
+ /**
19559
+ * Validate a future alert receiver by sending a test message for example
19560
+ * @summary Validate New Alert Receiver
19561
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
19562
+ * @param {*} [options] Override http request option.
19563
+ * @throws {RequiredError}
19564
+ */
19565
+ validateNewAlertReceiver(alertReceiverCreationValidationRequest?: AlertReceiverCreationValidationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
19491
19566
  };
19492
19567
  /**
19493
19568
  * AlertReceiversApi - factory interface
@@ -19535,6 +19610,23 @@ export declare const AlertReceiversApiFactory: (configuration?: Configuration, b
19535
19610
  * @throws {RequiredError}
19536
19611
  */
19537
19612
  getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertReceiverList>;
19613
+ /**
19614
+ * Validate an existing alert receiver by sending a test message for example
19615
+ * @summary Validate Existing Alert Receiver
19616
+ * @param {string} alertReceiverId Alert Receiver ID
19617
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
19618
+ * @param {*} [options] Override http request option.
19619
+ * @throws {RequiredError}
19620
+ */
19621
+ validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
19622
+ /**
19623
+ * Validate a future alert receiver by sending a test message for example
19624
+ * @summary Validate New Alert Receiver
19625
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
19626
+ * @param {*} [options] Override http request option.
19627
+ * @throws {RequiredError}
19628
+ */
19629
+ validateNewAlertReceiver(alertReceiverCreationValidationRequest?: AlertReceiverCreationValidationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
19538
19630
  };
19539
19631
  /**
19540
19632
  * AlertReceiversApi - object-oriented interface
@@ -19589,6 +19681,25 @@ export declare class AlertReceiversApi extends BaseAPI {
19589
19681
  * @memberof AlertReceiversApi
19590
19682
  */
19591
19683
  getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AlertReceiverList, any, {}>>;
19684
+ /**
19685
+ * Validate an existing alert receiver by sending a test message for example
19686
+ * @summary Validate Existing Alert Receiver
19687
+ * @param {string} alertReceiverId Alert Receiver ID
19688
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
19689
+ * @param {*} [options] Override http request option.
19690
+ * @throws {RequiredError}
19691
+ * @memberof AlertReceiversApi
19692
+ */
19693
+ validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19694
+ /**
19695
+ * Validate a future alert receiver by sending a test message for example
19696
+ * @summary Validate New Alert Receiver
19697
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
19698
+ * @param {*} [options] Override http request option.
19699
+ * @throws {RequiredError}
19700
+ * @memberof AlertReceiversApi
19701
+ */
19702
+ validateNewAlertReceiver(alertReceiverCreationValidationRequest?: AlertReceiverCreationValidationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19592
19703
  }
19593
19704
  /**
19594
19705
  * AlertRulesApi - axios parameter creator
package/dist/api.js CHANGED
@@ -823,8 +823,11 @@ exports.OrganizationEventOrigin = {
823
823
  */
824
824
  exports.OrganizationEventSubTargetType = {
825
825
  ADVANCED_SETTINGS: 'ADVANCED_SETTINGS',
826
+ ALERT_RULE: 'ALERT_RULE',
827
+ ANNOTATIONS_GROUP: 'ANNOTATIONS_GROUP',
826
828
  API_TOKEN: 'API_TOKEN',
827
829
  BILLING_INFO: 'BILLING_INFO',
830
+ BILLING_USAGE_REPORT: 'BILLING_USAGE_REPORT',
828
831
  CLOUD_PROVIDER_CREDENTIALS: 'CLOUD_PROVIDER_CREDENTIALS',
829
832
  CLUSTER_CREDENTIALS: 'CLUSTER_CREDENTIALS',
830
833
  CLUSTER_ROUTING_TABLE: 'CLUSTER_ROUTING_TABLE',
@@ -839,9 +842,14 @@ exports.OrganizationEventSubTargetType = {
839
842
  GIT_REPOSITORY: 'GIT_REPOSITORY',
840
843
  GIT_TOKEN: 'GIT_TOKEN',
841
844
  INVITATION: 'INVITATION',
845
+ KUBERNETES_CONFIGURATION: 'KUBERNETES_CONFIGURATION',
846
+ KUBERNETES_CREDENTIALS: 'KUBERNETES_CREDENTIALS',
847
+ LABELS_GROUP: 'LABELS_GROUP',
842
848
  MEMBER_ROLE: 'MEMBER_ROLE',
843
849
  PLAN: 'PLAN',
850
+ REMOTE_ACCESS: 'REMOTE_ACCESS',
844
851
  SECRET: 'SECRET',
852
+ SSO: 'SSO',
845
853
  TERRAFORM: 'TERRAFORM',
846
854
  TRANSFER_OWNERSHIP: 'TRANSFER_OWNERSHIP',
847
855
  VARIABLE: 'VARIABLE'
@@ -870,6 +878,7 @@ exports.OrganizationEventTargetType = {
870
878
  ENVIRONMENT: 'ENVIRONMENT',
871
879
  JOB: 'JOB',
872
880
  HELM: 'HELM',
881
+ HELM_REPOSITORY: 'HELM_REPOSITORY',
873
882
  MEMBERS_AND_ROLES: 'MEMBERS_AND_ROLES',
874
883
  ORGANIZATION: 'ORGANIZATION',
875
884
  PROJECT: 'PROJECT',
@@ -1592,6 +1601,76 @@ const AlertReceiversApiAxiosParamCreator = function (configuration) {
1592
1601
  options: localVarRequestOptions,
1593
1602
  };
1594
1603
  }),
1604
+ /**
1605
+ * Validate an existing alert receiver by sending a test message for example
1606
+ * @summary Validate Existing Alert Receiver
1607
+ * @param {string} alertReceiverId Alert Receiver ID
1608
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
1609
+ * @param {*} [options] Override http request option.
1610
+ * @throws {RequiredError}
1611
+ */
1612
+ validateExistingAlertReceiver: (alertReceiverId_1, alertReceiverValidationRequest_1, ...args_1) => __awaiter(this, [alertReceiverId_1, alertReceiverValidationRequest_1, ...args_1], void 0, function* (alertReceiverId, alertReceiverValidationRequest, options = {}) {
1613
+ // verify required parameter 'alertReceiverId' is not null or undefined
1614
+ (0, common_1.assertParamExists)('validateExistingAlertReceiver', 'alertReceiverId', alertReceiverId);
1615
+ const localVarPath = `/alert-receivers/{alertReceiverId}/validate`
1616
+ .replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
1617
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1618
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1619
+ let baseOptions;
1620
+ if (configuration) {
1621
+ baseOptions = configuration.baseOptions;
1622
+ }
1623
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1624
+ const localVarHeaderParameter = {};
1625
+ const localVarQueryParameter = {};
1626
+ // authentication ApiKeyAuth required
1627
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1628
+ // authentication bearerAuth required
1629
+ // http bearer authentication required
1630
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1631
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1632
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1633
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1634
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1635
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(alertReceiverValidationRequest, localVarRequestOptions, configuration);
1636
+ return {
1637
+ url: (0, common_1.toPathString)(localVarUrlObj),
1638
+ options: localVarRequestOptions,
1639
+ };
1640
+ }),
1641
+ /**
1642
+ * Validate a future alert receiver by sending a test message for example
1643
+ * @summary Validate New Alert Receiver
1644
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
1645
+ * @param {*} [options] Override http request option.
1646
+ * @throws {RequiredError}
1647
+ */
1648
+ validateNewAlertReceiver: (alertReceiverCreationValidationRequest_1, ...args_1) => __awaiter(this, [alertReceiverCreationValidationRequest_1, ...args_1], void 0, function* (alertReceiverCreationValidationRequest, options = {}) {
1649
+ const localVarPath = `/alert-receivers/validate`;
1650
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1651
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1652
+ let baseOptions;
1653
+ if (configuration) {
1654
+ baseOptions = configuration.baseOptions;
1655
+ }
1656
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1657
+ const localVarHeaderParameter = {};
1658
+ const localVarQueryParameter = {};
1659
+ // authentication ApiKeyAuth required
1660
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1661
+ // authentication bearerAuth required
1662
+ // http bearer authentication required
1663
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1664
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1665
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1666
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1667
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1668
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(alertReceiverCreationValidationRequest, localVarRequestOptions, configuration);
1669
+ return {
1670
+ url: (0, common_1.toPathString)(localVarUrlObj),
1671
+ options: localVarRequestOptions,
1672
+ };
1673
+ }),
1595
1674
  };
1596
1675
  };
1597
1676
  exports.AlertReceiversApiAxiosParamCreator = AlertReceiversApiAxiosParamCreator;
@@ -1683,6 +1762,39 @@ const AlertReceiversApiFp = function (configuration) {
1683
1762
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1684
1763
  });
1685
1764
  },
1765
+ /**
1766
+ * Validate an existing alert receiver by sending a test message for example
1767
+ * @summary Validate Existing Alert Receiver
1768
+ * @param {string} alertReceiverId Alert Receiver ID
1769
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
1770
+ * @param {*} [options] Override http request option.
1771
+ * @throws {RequiredError}
1772
+ */
1773
+ validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options) {
1774
+ return __awaiter(this, void 0, void 0, function* () {
1775
+ var _a, _b, _c;
1776
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options);
1777
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1778
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertReceiversApi.validateExistingAlertReceiver']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1779
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1780
+ });
1781
+ },
1782
+ /**
1783
+ * Validate a future alert receiver by sending a test message for example
1784
+ * @summary Validate New Alert Receiver
1785
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
1786
+ * @param {*} [options] Override http request option.
1787
+ * @throws {RequiredError}
1788
+ */
1789
+ validateNewAlertReceiver(alertReceiverCreationValidationRequest, options) {
1790
+ return __awaiter(this, void 0, void 0, function* () {
1791
+ var _a, _b, _c;
1792
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.validateNewAlertReceiver(alertReceiverCreationValidationRequest, options);
1793
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1794
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertReceiversApi.validateNewAlertReceiver']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1795
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1796
+ });
1797
+ },
1686
1798
  };
1687
1799
  };
1688
1800
  exports.AlertReceiversApiFp = AlertReceiversApiFp;
@@ -1744,6 +1856,27 @@ const AlertReceiversApiFactory = function (configuration, basePath, axios) {
1744
1856
  getAlertReceivers(organizationId, options) {
1745
1857
  return localVarFp.getAlertReceivers(organizationId, options).then((request) => request(axios, basePath));
1746
1858
  },
1859
+ /**
1860
+ * Validate an existing alert receiver by sending a test message for example
1861
+ * @summary Validate Existing Alert Receiver
1862
+ * @param {string} alertReceiverId Alert Receiver ID
1863
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
1864
+ * @param {*} [options] Override http request option.
1865
+ * @throws {RequiredError}
1866
+ */
1867
+ validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options) {
1868
+ return localVarFp.validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options).then((request) => request(axios, basePath));
1869
+ },
1870
+ /**
1871
+ * Validate a future alert receiver by sending a test message for example
1872
+ * @summary Validate New Alert Receiver
1873
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
1874
+ * @param {*} [options] Override http request option.
1875
+ * @throws {RequiredError}
1876
+ */
1877
+ validateNewAlertReceiver(alertReceiverCreationValidationRequest, options) {
1878
+ return localVarFp.validateNewAlertReceiver(alertReceiverCreationValidationRequest, options).then((request) => request(axios, basePath));
1879
+ },
1747
1880
  };
1748
1881
  };
1749
1882
  exports.AlertReceiversApiFactory = AlertReceiversApiFactory;
@@ -1810,6 +1943,29 @@ class AlertReceiversApi extends base_1.BaseAPI {
1810
1943
  getAlertReceivers(organizationId, options) {
1811
1944
  return (0, exports.AlertReceiversApiFp)(this.configuration).getAlertReceivers(organizationId, options).then((request) => request(this.axios, this.basePath));
1812
1945
  }
1946
+ /**
1947
+ * Validate an existing alert receiver by sending a test message for example
1948
+ * @summary Validate Existing Alert Receiver
1949
+ * @param {string} alertReceiverId Alert Receiver ID
1950
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
1951
+ * @param {*} [options] Override http request option.
1952
+ * @throws {RequiredError}
1953
+ * @memberof AlertReceiversApi
1954
+ */
1955
+ validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options) {
1956
+ return (0, exports.AlertReceiversApiFp)(this.configuration).validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options).then((request) => request(this.axios, this.basePath));
1957
+ }
1958
+ /**
1959
+ * Validate a future alert receiver by sending a test message for example
1960
+ * @summary Validate New Alert Receiver
1961
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
1962
+ * @param {*} [options] Override http request option.
1963
+ * @throws {RequiredError}
1964
+ * @memberof AlertReceiversApi
1965
+ */
1966
+ validateNewAlertReceiver(alertReceiverCreationValidationRequest, options) {
1967
+ return (0, exports.AlertReceiversApiFp)(this.configuration).validateNewAlertReceiver(alertReceiverCreationValidationRequest, options).then((request) => request(this.axios, this.basePath));
1968
+ }
1813
1969
  }
1814
1970
  exports.AlertReceiversApi = AlertReceiversApi;
1815
1971
  /**
package/dist/esm/api.d.ts CHANGED
@@ -208,6 +208,25 @@ export interface AlertReceiverCreationRequest {
208
208
  */
209
209
  'send_resolved': boolean;
210
210
  }
211
+ /**
212
+ *
213
+ * @export
214
+ * @interface AlertReceiverCreationValidationRequest
215
+ */
216
+ export interface AlertReceiverCreationValidationRequest {
217
+ /**
218
+ *
219
+ * @type {AlertReceiverCreationRequest}
220
+ * @memberof AlertReceiverCreationValidationRequest
221
+ */
222
+ 'alertReceiver': AlertReceiverCreationRequest;
223
+ /**
224
+ *
225
+ * @type {string}
226
+ * @memberof AlertReceiverCreationValidationRequest
227
+ */
228
+ 'message'?: string;
229
+ }
211
230
  /**
212
231
  *
213
232
  * @export
@@ -310,6 +329,19 @@ export declare const AlertReceiverType: {
310
329
  readonly SLACK: "SLACK";
311
330
  };
312
331
  export type AlertReceiverType = typeof AlertReceiverType[keyof typeof AlertReceiverType];
332
+ /**
333
+ *
334
+ * @export
335
+ * @interface AlertReceiverValidationRequest
336
+ */
337
+ export interface AlertReceiverValidationRequest {
338
+ /**
339
+ *
340
+ * @type {string}
341
+ * @memberof AlertReceiverValidationRequest
342
+ */
343
+ 'message'?: string;
344
+ }
313
345
  /**
314
346
  *
315
347
  * @export
@@ -14820,8 +14852,11 @@ export interface OrganizationEventResponseListLinks {
14820
14852
  */
14821
14853
  export declare const OrganizationEventSubTargetType: {
14822
14854
  readonly ADVANCED_SETTINGS: "ADVANCED_SETTINGS";
14855
+ readonly ALERT_RULE: "ALERT_RULE";
14856
+ readonly ANNOTATIONS_GROUP: "ANNOTATIONS_GROUP";
14823
14857
  readonly API_TOKEN: "API_TOKEN";
14824
14858
  readonly BILLING_INFO: "BILLING_INFO";
14859
+ readonly BILLING_USAGE_REPORT: "BILLING_USAGE_REPORT";
14825
14860
  readonly CLOUD_PROVIDER_CREDENTIALS: "CLOUD_PROVIDER_CREDENTIALS";
14826
14861
  readonly CLUSTER_CREDENTIALS: "CLUSTER_CREDENTIALS";
14827
14862
  readonly CLUSTER_ROUTING_TABLE: "CLUSTER_ROUTING_TABLE";
@@ -14836,9 +14871,14 @@ export declare const OrganizationEventSubTargetType: {
14836
14871
  readonly GIT_REPOSITORY: "GIT_REPOSITORY";
14837
14872
  readonly GIT_TOKEN: "GIT_TOKEN";
14838
14873
  readonly INVITATION: "INVITATION";
14874
+ readonly KUBERNETES_CONFIGURATION: "KUBERNETES_CONFIGURATION";
14875
+ readonly KUBERNETES_CREDENTIALS: "KUBERNETES_CREDENTIALS";
14876
+ readonly LABELS_GROUP: "LABELS_GROUP";
14839
14877
  readonly MEMBER_ROLE: "MEMBER_ROLE";
14840
14878
  readonly PLAN: "PLAN";
14879
+ readonly REMOTE_ACCESS: "REMOTE_ACCESS";
14841
14880
  readonly SECRET: "SECRET";
14881
+ readonly SSO: "SSO";
14842
14882
  readonly TERRAFORM: "TERRAFORM";
14843
14883
  readonly TRANSFER_OWNERSHIP: "TRANSFER_OWNERSHIP";
14844
14884
  readonly VARIABLE: "VARIABLE";
@@ -14882,6 +14922,7 @@ export declare const OrganizationEventTargetType: {
14882
14922
  readonly ENVIRONMENT: "ENVIRONMENT";
14883
14923
  readonly JOB: "JOB";
14884
14924
  readonly HELM: "HELM";
14925
+ readonly HELM_REPOSITORY: "HELM_REPOSITORY";
14885
14926
  readonly MEMBERS_AND_ROLES: "MEMBERS_AND_ROLES";
14886
14927
  readonly ORGANIZATION: "ORGANIZATION";
14887
14928
  readonly PROJECT: "PROJECT";
@@ -19441,6 +19482,23 @@ export declare const AlertReceiversApiAxiosParamCreator: (configuration?: Config
19441
19482
  * @throws {RequiredError}
19442
19483
  */
19443
19484
  getAlertReceivers: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19485
+ /**
19486
+ * Validate an existing alert receiver by sending a test message for example
19487
+ * @summary Validate Existing Alert Receiver
19488
+ * @param {string} alertReceiverId Alert Receiver ID
19489
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
19490
+ * @param {*} [options] Override http request option.
19491
+ * @throws {RequiredError}
19492
+ */
19493
+ validateExistingAlertReceiver: (alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19494
+ /**
19495
+ * Validate a future alert receiver by sending a test message for example
19496
+ * @summary Validate New Alert Receiver
19497
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
19498
+ * @param {*} [options] Override http request option.
19499
+ * @throws {RequiredError}
19500
+ */
19501
+ validateNewAlertReceiver: (alertReceiverCreationValidationRequest?: AlertReceiverCreationValidationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19444
19502
  };
19445
19503
  /**
19446
19504
  * AlertReceiversApi - functional programming interface
@@ -19488,6 +19546,23 @@ export declare const AlertReceiversApiFp: (configuration?: Configuration) => {
19488
19546
  * @throws {RequiredError}
19489
19547
  */
19490
19548
  getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertReceiverList>>;
19549
+ /**
19550
+ * Validate an existing alert receiver by sending a test message for example
19551
+ * @summary Validate Existing Alert Receiver
19552
+ * @param {string} alertReceiverId Alert Receiver ID
19553
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
19554
+ * @param {*} [options] Override http request option.
19555
+ * @throws {RequiredError}
19556
+ */
19557
+ validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
19558
+ /**
19559
+ * Validate a future alert receiver by sending a test message for example
19560
+ * @summary Validate New Alert Receiver
19561
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
19562
+ * @param {*} [options] Override http request option.
19563
+ * @throws {RequiredError}
19564
+ */
19565
+ validateNewAlertReceiver(alertReceiverCreationValidationRequest?: AlertReceiverCreationValidationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
19491
19566
  };
19492
19567
  /**
19493
19568
  * AlertReceiversApi - factory interface
@@ -19535,6 +19610,23 @@ export declare const AlertReceiversApiFactory: (configuration?: Configuration, b
19535
19610
  * @throws {RequiredError}
19536
19611
  */
19537
19612
  getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertReceiverList>;
19613
+ /**
19614
+ * Validate an existing alert receiver by sending a test message for example
19615
+ * @summary Validate Existing Alert Receiver
19616
+ * @param {string} alertReceiverId Alert Receiver ID
19617
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
19618
+ * @param {*} [options] Override http request option.
19619
+ * @throws {RequiredError}
19620
+ */
19621
+ validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
19622
+ /**
19623
+ * Validate a future alert receiver by sending a test message for example
19624
+ * @summary Validate New Alert Receiver
19625
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
19626
+ * @param {*} [options] Override http request option.
19627
+ * @throws {RequiredError}
19628
+ */
19629
+ validateNewAlertReceiver(alertReceiverCreationValidationRequest?: AlertReceiverCreationValidationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
19538
19630
  };
19539
19631
  /**
19540
19632
  * AlertReceiversApi - object-oriented interface
@@ -19589,6 +19681,25 @@ export declare class AlertReceiversApi extends BaseAPI {
19589
19681
  * @memberof AlertReceiversApi
19590
19682
  */
19591
19683
  getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AlertReceiverList, any, {}>>;
19684
+ /**
19685
+ * Validate an existing alert receiver by sending a test message for example
19686
+ * @summary Validate Existing Alert Receiver
19687
+ * @param {string} alertReceiverId Alert Receiver ID
19688
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
19689
+ * @param {*} [options] Override http request option.
19690
+ * @throws {RequiredError}
19691
+ * @memberof AlertReceiversApi
19692
+ */
19693
+ validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19694
+ /**
19695
+ * Validate a future alert receiver by sending a test message for example
19696
+ * @summary Validate New Alert Receiver
19697
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
19698
+ * @param {*} [options] Override http request option.
19699
+ * @throws {RequiredError}
19700
+ * @memberof AlertReceiversApi
19701
+ */
19702
+ validateNewAlertReceiver(alertReceiverCreationValidationRequest?: AlertReceiverCreationValidationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19592
19703
  }
19593
19704
  /**
19594
19705
  * AlertRulesApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -811,8 +811,11 @@ export const OrganizationEventOrigin = {
811
811
  */
812
812
  export const OrganizationEventSubTargetType = {
813
813
  ADVANCED_SETTINGS: 'ADVANCED_SETTINGS',
814
+ ALERT_RULE: 'ALERT_RULE',
815
+ ANNOTATIONS_GROUP: 'ANNOTATIONS_GROUP',
814
816
  API_TOKEN: 'API_TOKEN',
815
817
  BILLING_INFO: 'BILLING_INFO',
818
+ BILLING_USAGE_REPORT: 'BILLING_USAGE_REPORT',
816
819
  CLOUD_PROVIDER_CREDENTIALS: 'CLOUD_PROVIDER_CREDENTIALS',
817
820
  CLUSTER_CREDENTIALS: 'CLUSTER_CREDENTIALS',
818
821
  CLUSTER_ROUTING_TABLE: 'CLUSTER_ROUTING_TABLE',
@@ -827,9 +830,14 @@ export const OrganizationEventSubTargetType = {
827
830
  GIT_REPOSITORY: 'GIT_REPOSITORY',
828
831
  GIT_TOKEN: 'GIT_TOKEN',
829
832
  INVITATION: 'INVITATION',
833
+ KUBERNETES_CONFIGURATION: 'KUBERNETES_CONFIGURATION',
834
+ KUBERNETES_CREDENTIALS: 'KUBERNETES_CREDENTIALS',
835
+ LABELS_GROUP: 'LABELS_GROUP',
830
836
  MEMBER_ROLE: 'MEMBER_ROLE',
831
837
  PLAN: 'PLAN',
838
+ REMOTE_ACCESS: 'REMOTE_ACCESS',
832
839
  SECRET: 'SECRET',
840
+ SSO: 'SSO',
833
841
  TERRAFORM: 'TERRAFORM',
834
842
  TRANSFER_OWNERSHIP: 'TRANSFER_OWNERSHIP',
835
843
  VARIABLE: 'VARIABLE'
@@ -858,6 +866,7 @@ export const OrganizationEventTargetType = {
858
866
  ENVIRONMENT: 'ENVIRONMENT',
859
867
  JOB: 'JOB',
860
868
  HELM: 'HELM',
869
+ HELM_REPOSITORY: 'HELM_REPOSITORY',
861
870
  MEMBERS_AND_ROLES: 'MEMBERS_AND_ROLES',
862
871
  ORGANIZATION: 'ORGANIZATION',
863
872
  PROJECT: 'PROJECT',
@@ -1576,6 +1585,76 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration) {
1576
1585
  options: localVarRequestOptions,
1577
1586
  };
1578
1587
  }),
1588
+ /**
1589
+ * Validate an existing alert receiver by sending a test message for example
1590
+ * @summary Validate Existing Alert Receiver
1591
+ * @param {string} alertReceiverId Alert Receiver ID
1592
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
1593
+ * @param {*} [options] Override http request option.
1594
+ * @throws {RequiredError}
1595
+ */
1596
+ validateExistingAlertReceiver: (alertReceiverId_1, alertReceiverValidationRequest_1, ...args_1) => __awaiter(this, [alertReceiverId_1, alertReceiverValidationRequest_1, ...args_1], void 0, function* (alertReceiverId, alertReceiverValidationRequest, options = {}) {
1597
+ // verify required parameter 'alertReceiverId' is not null or undefined
1598
+ assertParamExists('validateExistingAlertReceiver', 'alertReceiverId', alertReceiverId);
1599
+ const localVarPath = `/alert-receivers/{alertReceiverId}/validate`
1600
+ .replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
1601
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1602
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1603
+ let baseOptions;
1604
+ if (configuration) {
1605
+ baseOptions = configuration.baseOptions;
1606
+ }
1607
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1608
+ const localVarHeaderParameter = {};
1609
+ const localVarQueryParameter = {};
1610
+ // authentication ApiKeyAuth required
1611
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1612
+ // authentication bearerAuth required
1613
+ // http bearer authentication required
1614
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1615
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1616
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1617
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1618
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1619
+ localVarRequestOptions.data = serializeDataIfNeeded(alertReceiverValidationRequest, localVarRequestOptions, configuration);
1620
+ return {
1621
+ url: toPathString(localVarUrlObj),
1622
+ options: localVarRequestOptions,
1623
+ };
1624
+ }),
1625
+ /**
1626
+ * Validate a future alert receiver by sending a test message for example
1627
+ * @summary Validate New Alert Receiver
1628
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
1629
+ * @param {*} [options] Override http request option.
1630
+ * @throws {RequiredError}
1631
+ */
1632
+ validateNewAlertReceiver: (alertReceiverCreationValidationRequest_1, ...args_1) => __awaiter(this, [alertReceiverCreationValidationRequest_1, ...args_1], void 0, function* (alertReceiverCreationValidationRequest, options = {}) {
1633
+ const localVarPath = `/alert-receivers/validate`;
1634
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1635
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1636
+ let baseOptions;
1637
+ if (configuration) {
1638
+ baseOptions = configuration.baseOptions;
1639
+ }
1640
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1641
+ const localVarHeaderParameter = {};
1642
+ const localVarQueryParameter = {};
1643
+ // authentication ApiKeyAuth required
1644
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1645
+ // authentication bearerAuth required
1646
+ // http bearer authentication required
1647
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1648
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1649
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1650
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1651
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1652
+ localVarRequestOptions.data = serializeDataIfNeeded(alertReceiverCreationValidationRequest, localVarRequestOptions, configuration);
1653
+ return {
1654
+ url: toPathString(localVarUrlObj),
1655
+ options: localVarRequestOptions,
1656
+ };
1657
+ }),
1579
1658
  };
1580
1659
  };
1581
1660
  /**
@@ -1666,6 +1745,39 @@ export const AlertReceiversApiFp = function (configuration) {
1666
1745
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1667
1746
  });
1668
1747
  },
1748
+ /**
1749
+ * Validate an existing alert receiver by sending a test message for example
1750
+ * @summary Validate Existing Alert Receiver
1751
+ * @param {string} alertReceiverId Alert Receiver ID
1752
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
1753
+ * @param {*} [options] Override http request option.
1754
+ * @throws {RequiredError}
1755
+ */
1756
+ validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options) {
1757
+ return __awaiter(this, void 0, void 0, function* () {
1758
+ var _a, _b, _c;
1759
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options);
1760
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1761
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AlertReceiversApi.validateExistingAlertReceiver']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1762
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1763
+ });
1764
+ },
1765
+ /**
1766
+ * Validate a future alert receiver by sending a test message for example
1767
+ * @summary Validate New Alert Receiver
1768
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
1769
+ * @param {*} [options] Override http request option.
1770
+ * @throws {RequiredError}
1771
+ */
1772
+ validateNewAlertReceiver(alertReceiverCreationValidationRequest, options) {
1773
+ return __awaiter(this, void 0, void 0, function* () {
1774
+ var _a, _b, _c;
1775
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.validateNewAlertReceiver(alertReceiverCreationValidationRequest, options);
1776
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1777
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AlertReceiversApi.validateNewAlertReceiver']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1778
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1779
+ });
1780
+ },
1669
1781
  };
1670
1782
  };
1671
1783
  /**
@@ -1726,6 +1838,27 @@ export const AlertReceiversApiFactory = function (configuration, basePath, axios
1726
1838
  getAlertReceivers(organizationId, options) {
1727
1839
  return localVarFp.getAlertReceivers(organizationId, options).then((request) => request(axios, basePath));
1728
1840
  },
1841
+ /**
1842
+ * Validate an existing alert receiver by sending a test message for example
1843
+ * @summary Validate Existing Alert Receiver
1844
+ * @param {string} alertReceiverId Alert Receiver ID
1845
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
1846
+ * @param {*} [options] Override http request option.
1847
+ * @throws {RequiredError}
1848
+ */
1849
+ validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options) {
1850
+ return localVarFp.validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options).then((request) => request(axios, basePath));
1851
+ },
1852
+ /**
1853
+ * Validate a future alert receiver by sending a test message for example
1854
+ * @summary Validate New Alert Receiver
1855
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
1856
+ * @param {*} [options] Override http request option.
1857
+ * @throws {RequiredError}
1858
+ */
1859
+ validateNewAlertReceiver(alertReceiverCreationValidationRequest, options) {
1860
+ return localVarFp.validateNewAlertReceiver(alertReceiverCreationValidationRequest, options).then((request) => request(axios, basePath));
1861
+ },
1729
1862
  };
1730
1863
  };
1731
1864
  /**
@@ -1791,6 +1924,29 @@ export class AlertReceiversApi extends BaseAPI {
1791
1924
  getAlertReceivers(organizationId, options) {
1792
1925
  return AlertReceiversApiFp(this.configuration).getAlertReceivers(organizationId, options).then((request) => request(this.axios, this.basePath));
1793
1926
  }
1927
+ /**
1928
+ * Validate an existing alert receiver by sending a test message for example
1929
+ * @summary Validate Existing Alert Receiver
1930
+ * @param {string} alertReceiverId Alert Receiver ID
1931
+ * @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
1932
+ * @param {*} [options] Override http request option.
1933
+ * @throws {RequiredError}
1934
+ * @memberof AlertReceiversApi
1935
+ */
1936
+ validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options) {
1937
+ return AlertReceiversApiFp(this.configuration).validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options).then((request) => request(this.axios, this.basePath));
1938
+ }
1939
+ /**
1940
+ * Validate a future alert receiver by sending a test message for example
1941
+ * @summary Validate New Alert Receiver
1942
+ * @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
1943
+ * @param {*} [options] Override http request option.
1944
+ * @throws {RequiredError}
1945
+ * @memberof AlertReceiversApi
1946
+ */
1947
+ validateNewAlertReceiver(alertReceiverCreationValidationRequest, options) {
1948
+ return AlertReceiversApiFp(this.configuration).validateNewAlertReceiver(alertReceiverCreationValidationRequest, options).then((request) => request(this.axios, this.basePath));
1949
+ }
1794
1950
  }
1795
1951
  /**
1796
1952
  * AlertRulesApi - axios parameter creator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.768",
3
+ "version": "v1.1.770",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {