qovery-typescript-axios 1.1.508 → 1.1.510

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
@@ -315,6 +315,12 @@ export interface Application {
315
315
  * @memberof Application
316
316
  */
317
317
  'icon_uri': string;
318
+ /**
319
+ *
320
+ * @type {ServiceTypeEnum}
321
+ * @memberof Application
322
+ */
323
+ 'serviceType'?: ServiceTypeEnum;
318
324
  }
319
325
 
320
326
 
@@ -1425,7 +1431,15 @@ export interface BaseJobResponse {
1425
1431
  * @memberof BaseJobResponse
1426
1432
  */
1427
1433
  'icon_uri': string;
1434
+ /**
1435
+ *
1436
+ * @type {ServiceTypeEnum}
1437
+ * @memberof BaseJobResponse
1438
+ */
1439
+ 'serviceType'?: ServiceTypeEnum;
1428
1440
  }
1441
+
1442
+
1429
1443
  /**
1430
1444
  * @type BaseJobResponseAllOfSource
1431
1445
  * @export
@@ -4511,7 +4525,15 @@ export interface ContainerResponse {
4511
4525
  * @memberof ContainerResponse
4512
4526
  */
4513
4527
  'icon_uri': string;
4528
+ /**
4529
+ *
4530
+ * @type {ServiceTypeEnum}
4531
+ * @memberof ContainerResponse
4532
+ */
4533
+ 'serviceType'?: ServiceTypeEnum;
4514
4534
  }
4535
+
4536
+
4515
4537
  /**
4516
4538
  *
4517
4539
  * @export
@@ -4963,6 +4985,12 @@ export interface CronJobResponse {
4963
4985
  * @memberof CronJobResponse
4964
4986
  */
4965
4987
  'icon_uri': string;
4988
+ /**
4989
+ *
4990
+ * @type {ServiceTypeEnum}
4991
+ * @memberof CronJobResponse
4992
+ */
4993
+ 'serviceType'?: ServiceTypeEnum;
4966
4994
  /**
4967
4995
  *
4968
4996
  * @type {string}
@@ -5318,6 +5346,12 @@ export interface Database {
5318
5346
  * @memberof Database
5319
5347
  */
5320
5348
  'disk_encrypted'?: boolean;
5349
+ /**
5350
+ *
5351
+ * @type {ServiceTypeEnum}
5352
+ * @memberof Database
5353
+ */
5354
+ 'serviceType'?: ServiceTypeEnum;
5321
5355
  }
5322
5356
 
5323
5357
 
@@ -9783,7 +9817,15 @@ export interface HelmResponse {
9783
9817
  * @memberof HelmResponse
9784
9818
  */
9785
9819
  'icon_uri': string;
9820
+ /**
9821
+ *
9822
+ * @type {ServiceTypeEnum}
9823
+ * @memberof HelmResponse
9824
+ */
9825
+ 'serviceType'?: ServiceTypeEnum;
9786
9826
  }
9827
+
9828
+
9787
9829
  /**
9788
9830
  * @type HelmResponseAllOfPortsInner
9789
9831
  * @export
@@ -10850,6 +10892,56 @@ export interface KarpenterNodePool {
10850
10892
  * @memberof KarpenterNodePool
10851
10893
  */
10852
10894
  'requirements': Array<KarpenterNodePoolRequirement>;
10895
+ /**
10896
+ *
10897
+ * @type {KarpenterNodePoolOverride}
10898
+ * @memberof KarpenterNodePool
10899
+ */
10900
+ 'stable_override'?: KarpenterNodePoolOverride;
10901
+ }
10902
+ /**
10903
+ *
10904
+ * @export
10905
+ * @interface KarpenterNodePoolConsolidation
10906
+ */
10907
+ export interface KarpenterNodePoolConsolidation {
10908
+ /**
10909
+ *
10910
+ * @type {boolean}
10911
+ * @memberof KarpenterNodePoolConsolidation
10912
+ */
10913
+ 'enabled': boolean;
10914
+ /**
10915
+ * The list of days where the consolidation will occur. The days are indicated in the same manner as for a cron (sunday=0, monday=1, tuesday=2, wednesday=3, thursday=4, friday=5, saturday=6).
10916
+ * @type {Array<number>}
10917
+ * @memberof KarpenterNodePoolConsolidation
10918
+ */
10919
+ 'days': Array<number>;
10920
+ /**
10921
+ * The start date of the consolidation. The expected format is \"hh24:mm\".
10922
+ * @type {string}
10923
+ * @memberof KarpenterNodePoolConsolidation
10924
+ */
10925
+ 'start_time': string;
10926
+ /**
10927
+ * The duration during the consolidation will be active. Only hours and minutes can be defined, no seconds. The expected format is \"h:m\".
10928
+ * @type {string}
10929
+ * @memberof KarpenterNodePoolConsolidation
10930
+ */
10931
+ 'duration': string;
10932
+ }
10933
+ /**
10934
+ *
10935
+ * @export
10936
+ * @interface KarpenterNodePoolOverride
10937
+ */
10938
+ export interface KarpenterNodePoolOverride {
10939
+ /**
10940
+ *
10941
+ * @type {KarpenterNodePoolConsolidation}
10942
+ * @memberof KarpenterNodePoolOverride
10943
+ */
10944
+ 'consolidation'?: KarpenterNodePoolConsolidation;
10853
10945
  }
10854
10946
  /**
10855
10947
  *
@@ -11212,6 +11304,12 @@ export interface LifecycleJobResponse {
11212
11304
  * @memberof LifecycleJobResponse
11213
11305
  */
11214
11306
  'icon_uri': string;
11307
+ /**
11308
+ *
11309
+ * @type {ServiceTypeEnum}
11310
+ * @memberof LifecycleJobResponse
11311
+ */
11312
+ 'serviceType'?: ServiceTypeEnum;
11215
11313
  /**
11216
11314
  *
11217
11315
  * @type {string}
@@ -11677,6 +11775,12 @@ export interface ListOrganizationLabelsGroup200Response {
11677
11775
  */
11678
11776
  'results'?: Array<OrganizationLabelsGroupEnrichedResponse>;
11679
11777
  }
11778
+ /**
11779
+ * @type ListServicesByEnvironmentId200ResponseInner
11780
+ * @export
11781
+ */
11782
+ export type ListServicesByEnvironmentId200ResponseInner = Application | ContainerResponse | Database | HelmResponse | JobResponse;
11783
+
11680
11784
  /**
11681
11785
  *
11682
11786
  * @export
@@ -32937,6 +33041,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
32937
33041
 
32938
33042
 
32939
33043
 
33044
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33045
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33046
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33047
+
33048
+ return {
33049
+ url: toPathString(localVarUrlObj),
33050
+ options: localVarRequestOptions,
33051
+ };
33052
+ },
33053
+ /**
33054
+ *
33055
+ * @summary List Services By EnvironmentId
33056
+ * @param {string} environmentId
33057
+ * @param {*} [options] Override http request option.
33058
+ * @throws {RequiredError}
33059
+ */
33060
+ listServicesByEnvironmentId: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33061
+ // verify required parameter 'environmentId' is not null or undefined
33062
+ assertParamExists('listServicesByEnvironmentId', 'environmentId', environmentId)
33063
+ const localVarPath = `/environment/{environmentId}/services`
33064
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
33065
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33066
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33067
+ let baseOptions;
33068
+ if (configuration) {
33069
+ baseOptions = configuration.baseOptions;
33070
+ }
33071
+
33072
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33073
+ const localVarHeaderParameter = {} as any;
33074
+ const localVarQueryParameter = {} as any;
33075
+
33076
+ // authentication ApiKeyAuth required
33077
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
33078
+
33079
+ // authentication bearerAuth required
33080
+ // http bearer authentication required
33081
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33082
+
33083
+
33084
+
32940
33085
  setSearchParams(localVarUrlObj, localVarQueryParameter);
32941
33086
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32942
33087
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -32967,6 +33112,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
32967
33112
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterTokenByClusterId(clusterId, options);
32968
33113
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32969
33114
  },
33115
+ /**
33116
+ *
33117
+ * @summary List Services By EnvironmentId
33118
+ * @param {string} environmentId
33119
+ * @param {*} [options] Override http request option.
33120
+ * @throws {RequiredError}
33121
+ */
33122
+ async listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListServicesByEnvironmentId200ResponseInner>>> {
33123
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listServicesByEnvironmentId(environmentId, options);
33124
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33125
+ },
32970
33126
  }
32971
33127
  };
32972
33128
 
@@ -32987,6 +33143,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
32987
33143
  getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response> {
32988
33144
  return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
32989
33145
  },
33146
+ /**
33147
+ *
33148
+ * @summary List Services By EnvironmentId
33149
+ * @param {string} environmentId
33150
+ * @param {*} [options] Override http request option.
33151
+ * @throws {RequiredError}
33152
+ */
33153
+ listServicesByEnvironmentId(environmentId: string, options?: any): AxiosPromise<Array<ListServicesByEnvironmentId200ResponseInner>> {
33154
+ return localVarFp.listServicesByEnvironmentId(environmentId, options).then((request) => request(axios, basePath));
33155
+ },
32990
33156
  };
32991
33157
  };
32992
33158
 
@@ -33008,6 +33174,18 @@ export class DefaultApi extends BaseAPI {
33008
33174
  public getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig) {
33009
33175
  return DefaultApiFp(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
33010
33176
  }
33177
+
33178
+ /**
33179
+ *
33180
+ * @summary List Services By EnvironmentId
33181
+ * @param {string} environmentId
33182
+ * @param {*} [options] Override http request option.
33183
+ * @throws {RequiredError}
33184
+ * @memberof DefaultApi
33185
+ */
33186
+ public listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig) {
33187
+ return DefaultApiFp(this.configuration).listServicesByEnvironmentId(environmentId, options).then((request) => request(this.axios, this.basePath));
33188
+ }
33011
33189
  }
33012
33190
 
33013
33191
 
package/dist/api.d.ts CHANGED
@@ -293,6 +293,12 @@ export interface Application {
293
293
  * @memberof Application
294
294
  */
295
295
  'icon_uri': string;
296
+ /**
297
+ *
298
+ * @type {ServiceTypeEnum}
299
+ * @memberof Application
300
+ */
301
+ 'serviceType'?: ServiceTypeEnum;
296
302
  }
297
303
  /**
298
304
  *
@@ -1386,6 +1392,12 @@ export interface BaseJobResponse {
1386
1392
  * @memberof BaseJobResponse
1387
1393
  */
1388
1394
  'icon_uri': string;
1395
+ /**
1396
+ *
1397
+ * @type {ServiceTypeEnum}
1398
+ * @memberof BaseJobResponse
1399
+ */
1400
+ 'serviceType'?: ServiceTypeEnum;
1389
1401
  }
1390
1402
  /**
1391
1403
  * @type BaseJobResponseAllOfSource
@@ -4400,6 +4412,12 @@ export interface ContainerResponse {
4400
4412
  * @memberof ContainerResponse
4401
4413
  */
4402
4414
  'icon_uri': string;
4415
+ /**
4416
+ *
4417
+ * @type {ServiceTypeEnum}
4418
+ * @memberof ContainerResponse
4419
+ */
4420
+ 'serviceType'?: ServiceTypeEnum;
4403
4421
  }
4404
4422
  /**
4405
4423
  *
@@ -4842,6 +4860,12 @@ export interface CronJobResponse {
4842
4860
  * @memberof CronJobResponse
4843
4861
  */
4844
4862
  'icon_uri': string;
4863
+ /**
4864
+ *
4865
+ * @type {ServiceTypeEnum}
4866
+ * @memberof CronJobResponse
4867
+ */
4868
+ 'serviceType'?: ServiceTypeEnum;
4845
4869
  /**
4846
4870
  *
4847
4871
  * @type {string}
@@ -5186,6 +5210,12 @@ export interface Database {
5186
5210
  * @memberof Database
5187
5211
  */
5188
5212
  'disk_encrypted'?: boolean;
5213
+ /**
5214
+ *
5215
+ * @type {ServiceTypeEnum}
5216
+ * @memberof Database
5217
+ */
5218
+ 'serviceType'?: ServiceTypeEnum;
5189
5219
  }
5190
5220
  /**
5191
5221
  *
@@ -9499,6 +9529,12 @@ export interface HelmResponse {
9499
9529
  * @memberof HelmResponse
9500
9530
  */
9501
9531
  'icon_uri': string;
9532
+ /**
9533
+ *
9534
+ * @type {ServiceTypeEnum}
9535
+ * @memberof HelmResponse
9536
+ */
9537
+ 'serviceType'?: ServiceTypeEnum;
9502
9538
  }
9503
9539
  /**
9504
9540
  * @type HelmResponseAllOfPortsInner
@@ -10537,6 +10573,56 @@ export interface KarpenterNodePool {
10537
10573
  * @memberof KarpenterNodePool
10538
10574
  */
10539
10575
  'requirements': Array<KarpenterNodePoolRequirement>;
10576
+ /**
10577
+ *
10578
+ * @type {KarpenterNodePoolOverride}
10579
+ * @memberof KarpenterNodePool
10580
+ */
10581
+ 'stable_override'?: KarpenterNodePoolOverride;
10582
+ }
10583
+ /**
10584
+ *
10585
+ * @export
10586
+ * @interface KarpenterNodePoolConsolidation
10587
+ */
10588
+ export interface KarpenterNodePoolConsolidation {
10589
+ /**
10590
+ *
10591
+ * @type {boolean}
10592
+ * @memberof KarpenterNodePoolConsolidation
10593
+ */
10594
+ 'enabled': boolean;
10595
+ /**
10596
+ * The list of days where the consolidation will occur. The days are indicated in the same manner as for a cron (sunday=0, monday=1, tuesday=2, wednesday=3, thursday=4, friday=5, saturday=6).
10597
+ * @type {Array<number>}
10598
+ * @memberof KarpenterNodePoolConsolidation
10599
+ */
10600
+ 'days': Array<number>;
10601
+ /**
10602
+ * The start date of the consolidation. The expected format is \"hh24:mm\".
10603
+ * @type {string}
10604
+ * @memberof KarpenterNodePoolConsolidation
10605
+ */
10606
+ 'start_time': string;
10607
+ /**
10608
+ * The duration during the consolidation will be active. Only hours and minutes can be defined, no seconds. The expected format is \"h:m\".
10609
+ * @type {string}
10610
+ * @memberof KarpenterNodePoolConsolidation
10611
+ */
10612
+ 'duration': string;
10613
+ }
10614
+ /**
10615
+ *
10616
+ * @export
10617
+ * @interface KarpenterNodePoolOverride
10618
+ */
10619
+ export interface KarpenterNodePoolOverride {
10620
+ /**
10621
+ *
10622
+ * @type {KarpenterNodePoolConsolidation}
10623
+ * @memberof KarpenterNodePoolOverride
10624
+ */
10625
+ 'consolidation'?: KarpenterNodePoolConsolidation;
10540
10626
  }
10541
10627
  /**
10542
10628
  *
@@ -10881,6 +10967,12 @@ export interface LifecycleJobResponse {
10881
10967
  * @memberof LifecycleJobResponse
10882
10968
  */
10883
10969
  'icon_uri': string;
10970
+ /**
10971
+ *
10972
+ * @type {ServiceTypeEnum}
10973
+ * @memberof LifecycleJobResponse
10974
+ */
10975
+ 'serviceType'?: ServiceTypeEnum;
10884
10976
  /**
10885
10977
  *
10886
10978
  * @type {string}
@@ -11335,6 +11427,11 @@ export interface ListOrganizationLabelsGroup200Response {
11335
11427
  */
11336
11428
  'results'?: Array<OrganizationLabelsGroupEnrichedResponse>;
11337
11429
  }
11430
+ /**
11431
+ * @type ListServicesByEnvironmentId200ResponseInner
11432
+ * @export
11433
+ */
11434
+ export type ListServicesByEnvironmentId200ResponseInner = Application | ContainerResponse | Database | HelmResponse | JobResponse;
11338
11435
  /**
11339
11436
  *
11340
11437
  * @export
@@ -23538,6 +23635,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
23538
23635
  * @throws {RequiredError}
23539
23636
  */
23540
23637
  getClusterTokenByClusterId: (clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
23638
+ /**
23639
+ *
23640
+ * @summary List Services By EnvironmentId
23641
+ * @param {string} environmentId
23642
+ * @param {*} [options] Override http request option.
23643
+ * @throws {RequiredError}
23644
+ */
23645
+ listServicesByEnvironmentId: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
23541
23646
  };
23542
23647
  /**
23543
23648
  * DefaultApi - functional programming interface
@@ -23552,6 +23657,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
23552
23657
  * @throws {RequiredError}
23553
23658
  */
23554
23659
  getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterTokenByClusterId200Response>>;
23660
+ /**
23661
+ *
23662
+ * @summary List Services By EnvironmentId
23663
+ * @param {string} environmentId
23664
+ * @param {*} [options] Override http request option.
23665
+ * @throws {RequiredError}
23666
+ */
23667
+ listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListServicesByEnvironmentId200ResponseInner>>>;
23555
23668
  };
23556
23669
  /**
23557
23670
  * DefaultApi - factory interface
@@ -23566,6 +23679,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
23566
23679
  * @throws {RequiredError}
23567
23680
  */
23568
23681
  getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response>;
23682
+ /**
23683
+ *
23684
+ * @summary List Services By EnvironmentId
23685
+ * @param {string} environmentId
23686
+ * @param {*} [options] Override http request option.
23687
+ * @throws {RequiredError}
23688
+ */
23689
+ listServicesByEnvironmentId(environmentId: string, options?: any): AxiosPromise<Array<ListServicesByEnvironmentId200ResponseInner>>;
23569
23690
  };
23570
23691
  /**
23571
23692
  * DefaultApi - object-oriented interface
@@ -23583,6 +23704,15 @@ export declare class DefaultApi extends BaseAPI {
23583
23704
  * @memberof DefaultApi
23584
23705
  */
23585
23706
  getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterTokenByClusterId200Response, any>>;
23707
+ /**
23708
+ *
23709
+ * @summary List Services By EnvironmentId
23710
+ * @param {string} environmentId
23711
+ * @param {*} [options] Override http request option.
23712
+ * @throws {RequiredError}
23713
+ * @memberof DefaultApi
23714
+ */
23715
+ listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListServicesByEnvironmentId200ResponseInner[], any>>;
23586
23716
  }
23587
23717
  /**
23588
23718
  * DeploymentStageMainCallsApi - axios parameter creator
package/dist/api.js CHANGED
@@ -16319,6 +16319,40 @@ const DefaultApiAxiosParamCreator = function (configuration) {
16319
16319
  options: localVarRequestOptions,
16320
16320
  };
16321
16321
  }),
16322
+ /**
16323
+ *
16324
+ * @summary List Services By EnvironmentId
16325
+ * @param {string} environmentId
16326
+ * @param {*} [options] Override http request option.
16327
+ * @throws {RequiredError}
16328
+ */
16329
+ listServicesByEnvironmentId: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16330
+ // verify required parameter 'environmentId' is not null or undefined
16331
+ (0, common_1.assertParamExists)('listServicesByEnvironmentId', 'environmentId', environmentId);
16332
+ const localVarPath = `/environment/{environmentId}/services`
16333
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
16334
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16335
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16336
+ let baseOptions;
16337
+ if (configuration) {
16338
+ baseOptions = configuration.baseOptions;
16339
+ }
16340
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16341
+ const localVarHeaderParameter = {};
16342
+ const localVarQueryParameter = {};
16343
+ // authentication ApiKeyAuth required
16344
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
16345
+ // authentication bearerAuth required
16346
+ // http bearer authentication required
16347
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16348
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16349
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16350
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16351
+ return {
16352
+ url: (0, common_1.toPathString)(localVarUrlObj),
16353
+ options: localVarRequestOptions,
16354
+ };
16355
+ }),
16322
16356
  };
16323
16357
  };
16324
16358
  exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
@@ -16342,6 +16376,19 @@ const DefaultApiFp = function (configuration) {
16342
16376
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16343
16377
  });
16344
16378
  },
16379
+ /**
16380
+ *
16381
+ * @summary List Services By EnvironmentId
16382
+ * @param {string} environmentId
16383
+ * @param {*} [options] Override http request option.
16384
+ * @throws {RequiredError}
16385
+ */
16386
+ listServicesByEnvironmentId(environmentId, options) {
16387
+ return __awaiter(this, void 0, void 0, function* () {
16388
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listServicesByEnvironmentId(environmentId, options);
16389
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16390
+ });
16391
+ },
16345
16392
  };
16346
16393
  };
16347
16394
  exports.DefaultApiFp = DefaultApiFp;
@@ -16362,6 +16409,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
16362
16409
  getClusterTokenByClusterId(clusterId, options) {
16363
16410
  return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
16364
16411
  },
16412
+ /**
16413
+ *
16414
+ * @summary List Services By EnvironmentId
16415
+ * @param {string} environmentId
16416
+ * @param {*} [options] Override http request option.
16417
+ * @throws {RequiredError}
16418
+ */
16419
+ listServicesByEnvironmentId(environmentId, options) {
16420
+ return localVarFp.listServicesByEnvironmentId(environmentId, options).then((request) => request(axios, basePath));
16421
+ },
16365
16422
  };
16366
16423
  };
16367
16424
  exports.DefaultApiFactory = DefaultApiFactory;
@@ -16383,6 +16440,17 @@ class DefaultApi extends base_1.BaseAPI {
16383
16440
  getClusterTokenByClusterId(clusterId, options) {
16384
16441
  return (0, exports.DefaultApiFp)(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
16385
16442
  }
16443
+ /**
16444
+ *
16445
+ * @summary List Services By EnvironmentId
16446
+ * @param {string} environmentId
16447
+ * @param {*} [options] Override http request option.
16448
+ * @throws {RequiredError}
16449
+ * @memberof DefaultApi
16450
+ */
16451
+ listServicesByEnvironmentId(environmentId, options) {
16452
+ return (0, exports.DefaultApiFp)(this.configuration).listServicesByEnvironmentId(environmentId, options).then((request) => request(this.axios, this.basePath));
16453
+ }
16386
16454
  }
16387
16455
  exports.DefaultApi = DefaultApi;
16388
16456
  /**
package/dist/esm/api.d.ts CHANGED
@@ -293,6 +293,12 @@ export interface Application {
293
293
  * @memberof Application
294
294
  */
295
295
  'icon_uri': string;
296
+ /**
297
+ *
298
+ * @type {ServiceTypeEnum}
299
+ * @memberof Application
300
+ */
301
+ 'serviceType'?: ServiceTypeEnum;
296
302
  }
297
303
  /**
298
304
  *
@@ -1386,6 +1392,12 @@ export interface BaseJobResponse {
1386
1392
  * @memberof BaseJobResponse
1387
1393
  */
1388
1394
  'icon_uri': string;
1395
+ /**
1396
+ *
1397
+ * @type {ServiceTypeEnum}
1398
+ * @memberof BaseJobResponse
1399
+ */
1400
+ 'serviceType'?: ServiceTypeEnum;
1389
1401
  }
1390
1402
  /**
1391
1403
  * @type BaseJobResponseAllOfSource
@@ -4400,6 +4412,12 @@ export interface ContainerResponse {
4400
4412
  * @memberof ContainerResponse
4401
4413
  */
4402
4414
  'icon_uri': string;
4415
+ /**
4416
+ *
4417
+ * @type {ServiceTypeEnum}
4418
+ * @memberof ContainerResponse
4419
+ */
4420
+ 'serviceType'?: ServiceTypeEnum;
4403
4421
  }
4404
4422
  /**
4405
4423
  *
@@ -4842,6 +4860,12 @@ export interface CronJobResponse {
4842
4860
  * @memberof CronJobResponse
4843
4861
  */
4844
4862
  'icon_uri': string;
4863
+ /**
4864
+ *
4865
+ * @type {ServiceTypeEnum}
4866
+ * @memberof CronJobResponse
4867
+ */
4868
+ 'serviceType'?: ServiceTypeEnum;
4845
4869
  /**
4846
4870
  *
4847
4871
  * @type {string}
@@ -5186,6 +5210,12 @@ export interface Database {
5186
5210
  * @memberof Database
5187
5211
  */
5188
5212
  'disk_encrypted'?: boolean;
5213
+ /**
5214
+ *
5215
+ * @type {ServiceTypeEnum}
5216
+ * @memberof Database
5217
+ */
5218
+ 'serviceType'?: ServiceTypeEnum;
5189
5219
  }
5190
5220
  /**
5191
5221
  *
@@ -9499,6 +9529,12 @@ export interface HelmResponse {
9499
9529
  * @memberof HelmResponse
9500
9530
  */
9501
9531
  'icon_uri': string;
9532
+ /**
9533
+ *
9534
+ * @type {ServiceTypeEnum}
9535
+ * @memberof HelmResponse
9536
+ */
9537
+ 'serviceType'?: ServiceTypeEnum;
9502
9538
  }
9503
9539
  /**
9504
9540
  * @type HelmResponseAllOfPortsInner
@@ -10537,6 +10573,56 @@ export interface KarpenterNodePool {
10537
10573
  * @memberof KarpenterNodePool
10538
10574
  */
10539
10575
  'requirements': Array<KarpenterNodePoolRequirement>;
10576
+ /**
10577
+ *
10578
+ * @type {KarpenterNodePoolOverride}
10579
+ * @memberof KarpenterNodePool
10580
+ */
10581
+ 'stable_override'?: KarpenterNodePoolOverride;
10582
+ }
10583
+ /**
10584
+ *
10585
+ * @export
10586
+ * @interface KarpenterNodePoolConsolidation
10587
+ */
10588
+ export interface KarpenterNodePoolConsolidation {
10589
+ /**
10590
+ *
10591
+ * @type {boolean}
10592
+ * @memberof KarpenterNodePoolConsolidation
10593
+ */
10594
+ 'enabled': boolean;
10595
+ /**
10596
+ * The list of days where the consolidation will occur. The days are indicated in the same manner as for a cron (sunday=0, monday=1, tuesday=2, wednesday=3, thursday=4, friday=5, saturday=6).
10597
+ * @type {Array<number>}
10598
+ * @memberof KarpenterNodePoolConsolidation
10599
+ */
10600
+ 'days': Array<number>;
10601
+ /**
10602
+ * The start date of the consolidation. The expected format is \"hh24:mm\".
10603
+ * @type {string}
10604
+ * @memberof KarpenterNodePoolConsolidation
10605
+ */
10606
+ 'start_time': string;
10607
+ /**
10608
+ * The duration during the consolidation will be active. Only hours and minutes can be defined, no seconds. The expected format is \"h:m\".
10609
+ * @type {string}
10610
+ * @memberof KarpenterNodePoolConsolidation
10611
+ */
10612
+ 'duration': string;
10613
+ }
10614
+ /**
10615
+ *
10616
+ * @export
10617
+ * @interface KarpenterNodePoolOverride
10618
+ */
10619
+ export interface KarpenterNodePoolOverride {
10620
+ /**
10621
+ *
10622
+ * @type {KarpenterNodePoolConsolidation}
10623
+ * @memberof KarpenterNodePoolOverride
10624
+ */
10625
+ 'consolidation'?: KarpenterNodePoolConsolidation;
10540
10626
  }
10541
10627
  /**
10542
10628
  *
@@ -10881,6 +10967,12 @@ export interface LifecycleJobResponse {
10881
10967
  * @memberof LifecycleJobResponse
10882
10968
  */
10883
10969
  'icon_uri': string;
10970
+ /**
10971
+ *
10972
+ * @type {ServiceTypeEnum}
10973
+ * @memberof LifecycleJobResponse
10974
+ */
10975
+ 'serviceType'?: ServiceTypeEnum;
10884
10976
  /**
10885
10977
  *
10886
10978
  * @type {string}
@@ -11335,6 +11427,11 @@ export interface ListOrganizationLabelsGroup200Response {
11335
11427
  */
11336
11428
  'results'?: Array<OrganizationLabelsGroupEnrichedResponse>;
11337
11429
  }
11430
+ /**
11431
+ * @type ListServicesByEnvironmentId200ResponseInner
11432
+ * @export
11433
+ */
11434
+ export type ListServicesByEnvironmentId200ResponseInner = Application | ContainerResponse | Database | HelmResponse | JobResponse;
11338
11435
  /**
11339
11436
  *
11340
11437
  * @export
@@ -23538,6 +23635,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
23538
23635
  * @throws {RequiredError}
23539
23636
  */
23540
23637
  getClusterTokenByClusterId: (clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
23638
+ /**
23639
+ *
23640
+ * @summary List Services By EnvironmentId
23641
+ * @param {string} environmentId
23642
+ * @param {*} [options] Override http request option.
23643
+ * @throws {RequiredError}
23644
+ */
23645
+ listServicesByEnvironmentId: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
23541
23646
  };
23542
23647
  /**
23543
23648
  * DefaultApi - functional programming interface
@@ -23552,6 +23657,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
23552
23657
  * @throws {RequiredError}
23553
23658
  */
23554
23659
  getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterTokenByClusterId200Response>>;
23660
+ /**
23661
+ *
23662
+ * @summary List Services By EnvironmentId
23663
+ * @param {string} environmentId
23664
+ * @param {*} [options] Override http request option.
23665
+ * @throws {RequiredError}
23666
+ */
23667
+ listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListServicesByEnvironmentId200ResponseInner>>>;
23555
23668
  };
23556
23669
  /**
23557
23670
  * DefaultApi - factory interface
@@ -23566,6 +23679,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
23566
23679
  * @throws {RequiredError}
23567
23680
  */
23568
23681
  getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response>;
23682
+ /**
23683
+ *
23684
+ * @summary List Services By EnvironmentId
23685
+ * @param {string} environmentId
23686
+ * @param {*} [options] Override http request option.
23687
+ * @throws {RequiredError}
23688
+ */
23689
+ listServicesByEnvironmentId(environmentId: string, options?: any): AxiosPromise<Array<ListServicesByEnvironmentId200ResponseInner>>;
23569
23690
  };
23570
23691
  /**
23571
23692
  * DefaultApi - object-oriented interface
@@ -23583,6 +23704,15 @@ export declare class DefaultApi extends BaseAPI {
23583
23704
  * @memberof DefaultApi
23584
23705
  */
23585
23706
  getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterTokenByClusterId200Response, any>>;
23707
+ /**
23708
+ *
23709
+ * @summary List Services By EnvironmentId
23710
+ * @param {string} environmentId
23711
+ * @param {*} [options] Override http request option.
23712
+ * @throws {RequiredError}
23713
+ * @memberof DefaultApi
23714
+ */
23715
+ listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListServicesByEnvironmentId200ResponseInner[], any>>;
23586
23716
  }
23587
23717
  /**
23588
23718
  * DeploymentStageMainCallsApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -16185,6 +16185,40 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
16185
16185
  options: localVarRequestOptions,
16186
16186
  };
16187
16187
  }),
16188
+ /**
16189
+ *
16190
+ * @summary List Services By EnvironmentId
16191
+ * @param {string} environmentId
16192
+ * @param {*} [options] Override http request option.
16193
+ * @throws {RequiredError}
16194
+ */
16195
+ listServicesByEnvironmentId: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16196
+ // verify required parameter 'environmentId' is not null or undefined
16197
+ assertParamExists('listServicesByEnvironmentId', 'environmentId', environmentId);
16198
+ const localVarPath = `/environment/{environmentId}/services`
16199
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
16200
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16201
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16202
+ let baseOptions;
16203
+ if (configuration) {
16204
+ baseOptions = configuration.baseOptions;
16205
+ }
16206
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16207
+ const localVarHeaderParameter = {};
16208
+ const localVarQueryParameter = {};
16209
+ // authentication ApiKeyAuth required
16210
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
16211
+ // authentication bearerAuth required
16212
+ // http bearer authentication required
16213
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
16214
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16215
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16216
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16217
+ return {
16218
+ url: toPathString(localVarUrlObj),
16219
+ options: localVarRequestOptions,
16220
+ };
16221
+ }),
16188
16222
  };
16189
16223
  };
16190
16224
  /**
@@ -16207,6 +16241,19 @@ export const DefaultApiFp = function (configuration) {
16207
16241
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16208
16242
  });
16209
16243
  },
16244
+ /**
16245
+ *
16246
+ * @summary List Services By EnvironmentId
16247
+ * @param {string} environmentId
16248
+ * @param {*} [options] Override http request option.
16249
+ * @throws {RequiredError}
16250
+ */
16251
+ listServicesByEnvironmentId(environmentId, options) {
16252
+ return __awaiter(this, void 0, void 0, function* () {
16253
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listServicesByEnvironmentId(environmentId, options);
16254
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16255
+ });
16256
+ },
16210
16257
  };
16211
16258
  };
16212
16259
  /**
@@ -16226,6 +16273,16 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
16226
16273
  getClusterTokenByClusterId(clusterId, options) {
16227
16274
  return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
16228
16275
  },
16276
+ /**
16277
+ *
16278
+ * @summary List Services By EnvironmentId
16279
+ * @param {string} environmentId
16280
+ * @param {*} [options] Override http request option.
16281
+ * @throws {RequiredError}
16282
+ */
16283
+ listServicesByEnvironmentId(environmentId, options) {
16284
+ return localVarFp.listServicesByEnvironmentId(environmentId, options).then((request) => request(axios, basePath));
16285
+ },
16229
16286
  };
16230
16287
  };
16231
16288
  /**
@@ -16246,6 +16303,17 @@ export class DefaultApi extends BaseAPI {
16246
16303
  getClusterTokenByClusterId(clusterId, options) {
16247
16304
  return DefaultApiFp(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
16248
16305
  }
16306
+ /**
16307
+ *
16308
+ * @summary List Services By EnvironmentId
16309
+ * @param {string} environmentId
16310
+ * @param {*} [options] Override http request option.
16311
+ * @throws {RequiredError}
16312
+ * @memberof DefaultApi
16313
+ */
16314
+ listServicesByEnvironmentId(environmentId, options) {
16315
+ return DefaultApiFp(this.configuration).listServicesByEnvironmentId(environmentId, options).then((request) => request(this.axios, this.basePath));
16316
+ }
16249
16317
  }
16250
16318
  /**
16251
16319
  * DeploymentStageMainCallsApi - axios parameter creator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.508",
3
+ "version": "v1.1.510",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {