qovery-typescript-axios 1.1.767 → 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
 
@@ -55649,10 +55849,12 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
55649
55849
  * @param {OrganizationEventSubTargetType} [subTargetType]
55650
55850
  * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
55651
55851
  * @param {OrganizationEventOrigin} [origin]
55852
+ * @param {string} [serviceProjectId] The project chosen when filtering on a service type
55853
+ * @param {string} [serviceEnvironmentId] The environment chosen when filtering on a service type
55652
55854
  * @param {*} [options] Override http request option.
55653
55855
  * @throws {RequiredError}
55654
55856
  */
55655
- getOrganizationEvents: async (organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55857
+ getOrganizationEvents: async (organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, serviceProjectId?: string, serviceEnvironmentId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55656
55858
  // verify required parameter 'organizationId' is not null or undefined
55657
55859
  assertParamExists('getOrganizationEvents', 'organizationId', organizationId)
55658
55860
  const localVarPath = `/organization/{organizationId}/events`
@@ -55719,6 +55921,14 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
55719
55921
  localVarQueryParameter['origin'] = origin;
55720
55922
  }
55721
55923
 
55924
+ if (serviceProjectId !== undefined) {
55925
+ localVarQueryParameter['serviceProjectId'] = serviceProjectId;
55926
+ }
55927
+
55928
+ if (serviceEnvironmentId !== undefined) {
55929
+ localVarQueryParameter['serviceEnvironmentId'] = serviceEnvironmentId;
55930
+ }
55931
+
55722
55932
 
55723
55933
 
55724
55934
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -55777,11 +55987,13 @@ export const OrganizationEventApiFp = function(configuration?: Configuration) {
55777
55987
  * @param {OrganizationEventSubTargetType} [subTargetType]
55778
55988
  * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
55779
55989
  * @param {OrganizationEventOrigin} [origin]
55990
+ * @param {string} [serviceProjectId] The project chosen when filtering on a service type
55991
+ * @param {string} [serviceEnvironmentId] The environment chosen when filtering on a service type
55780
55992
  * @param {*} [options] Override http request option.
55781
55993
  * @throws {RequiredError}
55782
55994
  */
55783
- async getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventResponseList>> {
55784
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options);
55995
+ async getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, serviceProjectId?: string, serviceEnvironmentId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventResponseList>> {
55996
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, serviceProjectId, serviceEnvironmentId, options);
55785
55997
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
55786
55998
  const localVarOperationServerBasePath = operationServerMap['OrganizationEventApi.getOrganizationEvents']?.[localVarOperationServerIndex]?.url;
55787
55999
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -55830,11 +56042,13 @@ export const OrganizationEventApiFactory = function (configuration?: Configurati
55830
56042
  * @param {OrganizationEventSubTargetType} [subTargetType]
55831
56043
  * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
55832
56044
  * @param {OrganizationEventOrigin} [origin]
56045
+ * @param {string} [serviceProjectId] The project chosen when filtering on a service type
56046
+ * @param {string} [serviceEnvironmentId] The environment chosen when filtering on a service type
55833
56047
  * @param {*} [options] Override http request option.
55834
56048
  * @throws {RequiredError}
55835
56049
  */
55836
- getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationEventResponseList> {
55837
- return localVarFp.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options).then((request) => request(axios, basePath));
56050
+ getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, serviceProjectId?: string, serviceEnvironmentId?: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationEventResponseList> {
56051
+ return localVarFp.getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, serviceProjectId, serviceEnvironmentId, options).then((request) => request(axios, basePath));
55838
56052
  },
55839
56053
  };
55840
56054
  };
@@ -55882,12 +56096,14 @@ export class OrganizationEventApi extends BaseAPI {
55882
56096
  * @param {OrganizationEventSubTargetType} [subTargetType]
55883
56097
  * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
55884
56098
  * @param {OrganizationEventOrigin} [origin]
56099
+ * @param {string} [serviceProjectId] The project chosen when filtering on a service type
56100
+ * @param {string} [serviceEnvironmentId] The environment chosen when filtering on a service type
55885
56101
  * @param {*} [options] Override http request option.
55886
56102
  * @throws {RequiredError}
55887
56103
  * @memberof OrganizationEventApi
55888
56104
  */
55889
- public getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: RawAxiosRequestConfig) {
55890
- return OrganizationEventApiFp(this.configuration).getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, options).then((request) => request(this.axios, this.basePath));
56105
+ public getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, serviceProjectId?: string, serviceEnvironmentId?: string, options?: RawAxiosRequestConfig) {
56106
+ return OrganizationEventApiFp(this.configuration).getOrganizationEvents(organizationId, pageSize, fromTimestamp, toTimestamp, continueToken, stepBackToken, eventType, targetType, targetId, subTargetType, triggeredBy, origin, serviceProjectId, serviceEnvironmentId, options).then((request) => request(this.axios, this.basePath));
55891
56107
  }
55892
56108
  }
55893
56109
 
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
@@ -35711,10 +35822,12 @@ export declare const OrganizationEventApiAxiosParamCreator: (configuration?: Con
35711
35822
  * @param {OrganizationEventSubTargetType} [subTargetType]
35712
35823
  * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
35713
35824
  * @param {OrganizationEventOrigin} [origin]
35825
+ * @param {string} [serviceProjectId] The project chosen when filtering on a service type
35826
+ * @param {string} [serviceEnvironmentId] The environment chosen when filtering on a service type
35714
35827
  * @param {*} [options] Override http request option.
35715
35828
  * @throws {RequiredError}
35716
35829
  */
35717
- getOrganizationEvents: (organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35830
+ getOrganizationEvents: (organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, serviceProjectId?: string, serviceEnvironmentId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35718
35831
  };
35719
35832
  /**
35720
35833
  * OrganizationEventApi - functional programming interface
@@ -35753,10 +35866,12 @@ export declare const OrganizationEventApiFp: (configuration?: Configuration) =>
35753
35866
  * @param {OrganizationEventSubTargetType} [subTargetType]
35754
35867
  * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
35755
35868
  * @param {OrganizationEventOrigin} [origin]
35869
+ * @param {string} [serviceProjectId] The project chosen when filtering on a service type
35870
+ * @param {string} [serviceEnvironmentId] The environment chosen when filtering on a service type
35756
35871
  * @param {*} [options] Override http request option.
35757
35872
  * @throws {RequiredError}
35758
35873
  */
35759
- getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventResponseList>>;
35874
+ getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, serviceProjectId?: string, serviceEnvironmentId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationEventResponseList>>;
35760
35875
  };
35761
35876
  /**
35762
35877
  * OrganizationEventApi - factory interface
@@ -35795,10 +35910,12 @@ export declare const OrganizationEventApiFactory: (configuration?: Configuration
35795
35910
  * @param {OrganizationEventSubTargetType} [subTargetType]
35796
35911
  * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
35797
35912
  * @param {OrganizationEventOrigin} [origin]
35913
+ * @param {string} [serviceProjectId] The project chosen when filtering on a service type
35914
+ * @param {string} [serviceEnvironmentId] The environment chosen when filtering on a service type
35798
35915
  * @param {*} [options] Override http request option.
35799
35916
  * @throws {RequiredError}
35800
35917
  */
35801
- getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationEventResponseList>;
35918
+ getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, serviceProjectId?: string, serviceEnvironmentId?: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationEventResponseList>;
35802
35919
  };
35803
35920
  /**
35804
35921
  * OrganizationEventApi - object-oriented interface
@@ -35840,11 +35957,13 @@ export declare class OrganizationEventApi extends BaseAPI {
35840
35957
  * @param {OrganizationEventSubTargetType} [subTargetType]
35841
35958
  * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
35842
35959
  * @param {OrganizationEventOrigin} [origin]
35960
+ * @param {string} [serviceProjectId] The project chosen when filtering on a service type
35961
+ * @param {string} [serviceEnvironmentId] The environment chosen when filtering on a service type
35843
35962
  * @param {*} [options] Override http request option.
35844
35963
  * @throws {RequiredError}
35845
35964
  * @memberof OrganizationEventApi
35846
35965
  */
35847
- getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationEventResponseList, any, {}>>;
35966
+ getOrganizationEvents(organizationId: string, pageSize?: number | null, fromTimestamp?: string | null, toTimestamp?: string | null, continueToken?: string, stepBackToken?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, targetId?: string | null, subTargetType?: OrganizationEventSubTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, serviceProjectId?: string, serviceEnvironmentId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationEventResponseList, any, {}>>;
35848
35967
  }
35849
35968
  /**
35850
35969
  * OrganizationLabelsGroupApi - axios parameter creator