qovery-typescript-axios 1.1.809 → 1.1.811

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
@@ -4500,6 +4500,39 @@ export interface ClusterMetricsResponse {
4500
4500
  */
4501
4501
  'metrics'?: string;
4502
4502
  }
4503
+ /**
4504
+ *
4505
+ * @export
4506
+ * @interface ClusterOverviewResponse
4507
+ */
4508
+ export interface ClusterOverviewResponse {
4509
+ /**
4510
+ *
4511
+ * @type {string}
4512
+ * @memberof ClusterOverviewResponse
4513
+ */
4514
+ 'id': string;
4515
+ /**
4516
+ *
4517
+ * @type {string}
4518
+ * @memberof ClusterOverviewResponse
4519
+ */
4520
+ 'name': string;
4521
+ /**
4522
+ *
4523
+ * @type {CloudVendorEnum}
4524
+ * @memberof ClusterOverviewResponse
4525
+ */
4526
+ 'cloud_provider': CloudVendorEnum;
4527
+ /**
4528
+ *
4529
+ * @type {boolean}
4530
+ * @memberof ClusterOverviewResponse
4531
+ */
4532
+ 'is_demo': boolean;
4533
+ }
4534
+
4535
+
4503
4536
  /**
4504
4537
  *
4505
4538
  * @export
@@ -9231,6 +9264,76 @@ export const EnvironmentModeEnum = {
9231
9264
  export type EnvironmentModeEnum = typeof EnvironmentModeEnum[keyof typeof EnvironmentModeEnum];
9232
9265
 
9233
9266
 
9267
+ /**
9268
+ *
9269
+ * @export
9270
+ * @interface EnvironmentOverviewResponse
9271
+ */
9272
+ export interface EnvironmentOverviewResponse {
9273
+ /**
9274
+ *
9275
+ * @type {string}
9276
+ * @memberof EnvironmentOverviewResponse
9277
+ */
9278
+ 'id': string;
9279
+ /**
9280
+ *
9281
+ * @type {string}
9282
+ * @memberof EnvironmentOverviewResponse
9283
+ */
9284
+ 'created_at': string;
9285
+ /**
9286
+ *
9287
+ * @type {string}
9288
+ * @memberof EnvironmentOverviewResponse
9289
+ */
9290
+ 'updated_at': string;
9291
+ /**
9292
+ *
9293
+ * @type {string}
9294
+ * @memberof EnvironmentOverviewResponse
9295
+ */
9296
+ 'name': string;
9297
+ /**
9298
+ *
9299
+ * @type {EnvironmentModeEnum}
9300
+ * @memberof EnvironmentOverviewResponse
9301
+ */
9302
+ 'mode': EnvironmentModeEnum;
9303
+ /**
9304
+ *
9305
+ * @type {ClusterOverviewResponse}
9306
+ * @memberof EnvironmentOverviewResponse
9307
+ */
9308
+ 'cluster'?: ClusterOverviewResponse;
9309
+ /**
9310
+ *
9311
+ * @type {number}
9312
+ * @memberof EnvironmentOverviewResponse
9313
+ */
9314
+ 'service_count': number;
9315
+ /**
9316
+ *
9317
+ * @type {EnvironmentStatus}
9318
+ * @memberof EnvironmentOverviewResponse
9319
+ */
9320
+ 'deployment_status'?: EnvironmentStatus;
9321
+ }
9322
+
9323
+
9324
+ /**
9325
+ *
9326
+ * @export
9327
+ * @interface EnvironmentOverviewResponseList
9328
+ */
9329
+ export interface EnvironmentOverviewResponseList {
9330
+ /**
9331
+ *
9332
+ * @type {Array<EnvironmentOverviewResponse>}
9333
+ * @memberof EnvironmentOverviewResponseList
9334
+ */
9335
+ 'results'?: Array<EnvironmentOverviewResponse>;
9336
+ }
9234
9337
  /**
9235
9338
  *
9236
9339
  * @export
@@ -19677,7 +19780,7 @@ export interface TerraformResourceResponse {
19677
19780
  * @type {string}
19678
19781
  * @memberof TerraformResourceResponse
19679
19782
  */
19680
- 'extractedAt'?: string;
19783
+ 'extracted_at': string;
19681
19784
  }
19682
19785
 
19683
19786
  export const TerraformResourceResponseModeEnum = {
@@ -45479,6 +45582,47 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
45479
45582
 
45480
45583
 
45481
45584
 
45585
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
45586
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
45587
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
45588
+
45589
+ return {
45590
+ url: toPathString(localVarUrlObj),
45591
+ options: localVarRequestOptions,
45592
+ };
45593
+ },
45594
+ /**
45595
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
45596
+ * @summary List environments overview
45597
+ * @param {string} projectId Project ID
45598
+ * @param {*} [options] Override http request option.
45599
+ * @throws {RequiredError}
45600
+ */
45601
+ getProjectEnvironmentsOverview: async (projectId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
45602
+ // verify required parameter 'projectId' is not null or undefined
45603
+ assertParamExists('getProjectEnvironmentsOverview', 'projectId', projectId)
45604
+ const localVarPath = `/project/{projectId}/environmentOverview`
45605
+ .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
45606
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
45607
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
45608
+ let baseOptions;
45609
+ if (configuration) {
45610
+ baseOptions = configuration.baseOptions;
45611
+ }
45612
+
45613
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
45614
+ const localVarHeaderParameter = {} as any;
45615
+ const localVarQueryParameter = {} as any;
45616
+
45617
+ // authentication ApiKeyAuth required
45618
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
45619
+
45620
+ // authentication bearerAuth required
45621
+ // http bearer authentication required
45622
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
45623
+
45624
+
45625
+
45482
45626
  setSearchParams(localVarUrlObj, localVarQueryParameter);
45483
45627
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
45484
45628
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -45607,6 +45751,19 @@ export const EnvironmentsApiFp = function(configuration?: Configuration) {
45607
45751
  const localVarOperationServerBasePath = operationServerMap['EnvironmentsApi.getProjectEnvironmentServiceNumber']?.[localVarOperationServerIndex]?.url;
45608
45752
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
45609
45753
  },
45754
+ /**
45755
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
45756
+ * @summary List environments overview
45757
+ * @param {string} projectId Project ID
45758
+ * @param {*} [options] Override http request option.
45759
+ * @throws {RequiredError}
45760
+ */
45761
+ async getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentOverviewResponseList>> {
45762
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectEnvironmentsOverview(projectId, options);
45763
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
45764
+ const localVarOperationServerBasePath = operationServerMap['EnvironmentsApi.getProjectEnvironmentsOverview']?.[localVarOperationServerIndex]?.url;
45765
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
45766
+ },
45610
45767
  /**
45611
45768
  * Returns a list of environments with only their id and status.
45612
45769
  * @summary List environments statuses
@@ -45664,6 +45821,16 @@ export const EnvironmentsApiFactory = function (configuration?: Configuration, b
45664
45821
  getProjectEnvironmentServiceNumber(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentStatsResponseList> {
45665
45822
  return localVarFp.getProjectEnvironmentServiceNumber(projectId, options).then((request) => request(axios, basePath));
45666
45823
  },
45824
+ /**
45825
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
45826
+ * @summary List environments overview
45827
+ * @param {string} projectId Project ID
45828
+ * @param {*} [options] Override http request option.
45829
+ * @throws {RequiredError}
45830
+ */
45831
+ getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentOverviewResponseList> {
45832
+ return localVarFp.getProjectEnvironmentsOverview(projectId, options).then((request) => request(axios, basePath));
45833
+ },
45667
45834
  /**
45668
45835
  * Returns a list of environments with only their id and status.
45669
45836
  * @summary List environments statuses
@@ -45719,6 +45886,18 @@ export class EnvironmentsApi extends BaseAPI {
45719
45886
  return EnvironmentsApiFp(this.configuration).getProjectEnvironmentServiceNumber(projectId, options).then((request) => request(this.axios, this.basePath));
45720
45887
  }
45721
45888
 
45889
+ /**
45890
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
45891
+ * @summary List environments overview
45892
+ * @param {string} projectId Project ID
45893
+ * @param {*} [options] Override http request option.
45894
+ * @throws {RequiredError}
45895
+ * @memberof EnvironmentsApi
45896
+ */
45897
+ public getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig) {
45898
+ return EnvironmentsApiFp(this.configuration).getProjectEnvironmentsOverview(projectId, options).then((request) => request(this.axios, this.basePath));
45899
+ }
45900
+
45722
45901
  /**
45723
45902
  * Returns a list of environments with only their id and status.
45724
45903
  * @summary List environments statuses
package/dist/api.d.ts CHANGED
@@ -4359,6 +4359,37 @@ export interface ClusterMetricsResponse {
4359
4359
  */
4360
4360
  'metrics'?: string;
4361
4361
  }
4362
+ /**
4363
+ *
4364
+ * @export
4365
+ * @interface ClusterOverviewResponse
4366
+ */
4367
+ export interface ClusterOverviewResponse {
4368
+ /**
4369
+ *
4370
+ * @type {string}
4371
+ * @memberof ClusterOverviewResponse
4372
+ */
4373
+ 'id': string;
4374
+ /**
4375
+ *
4376
+ * @type {string}
4377
+ * @memberof ClusterOverviewResponse
4378
+ */
4379
+ 'name': string;
4380
+ /**
4381
+ *
4382
+ * @type {CloudVendorEnum}
4383
+ * @memberof ClusterOverviewResponse
4384
+ */
4385
+ 'cloud_provider': CloudVendorEnum;
4386
+ /**
4387
+ *
4388
+ * @type {boolean}
4389
+ * @memberof ClusterOverviewResponse
4390
+ */
4391
+ 'is_demo': boolean;
4392
+ }
4362
4393
  /**
4363
4394
  *
4364
4395
  * @export
@@ -8928,6 +8959,74 @@ export declare const EnvironmentModeEnum: {
8928
8959
  readonly STAGING: "STAGING";
8929
8960
  };
8930
8961
  export type EnvironmentModeEnum = typeof EnvironmentModeEnum[keyof typeof EnvironmentModeEnum];
8962
+ /**
8963
+ *
8964
+ * @export
8965
+ * @interface EnvironmentOverviewResponse
8966
+ */
8967
+ export interface EnvironmentOverviewResponse {
8968
+ /**
8969
+ *
8970
+ * @type {string}
8971
+ * @memberof EnvironmentOverviewResponse
8972
+ */
8973
+ 'id': string;
8974
+ /**
8975
+ *
8976
+ * @type {string}
8977
+ * @memberof EnvironmentOverviewResponse
8978
+ */
8979
+ 'created_at': string;
8980
+ /**
8981
+ *
8982
+ * @type {string}
8983
+ * @memberof EnvironmentOverviewResponse
8984
+ */
8985
+ 'updated_at': string;
8986
+ /**
8987
+ *
8988
+ * @type {string}
8989
+ * @memberof EnvironmentOverviewResponse
8990
+ */
8991
+ 'name': string;
8992
+ /**
8993
+ *
8994
+ * @type {EnvironmentModeEnum}
8995
+ * @memberof EnvironmentOverviewResponse
8996
+ */
8997
+ 'mode': EnvironmentModeEnum;
8998
+ /**
8999
+ *
9000
+ * @type {ClusterOverviewResponse}
9001
+ * @memberof EnvironmentOverviewResponse
9002
+ */
9003
+ 'cluster'?: ClusterOverviewResponse;
9004
+ /**
9005
+ *
9006
+ * @type {number}
9007
+ * @memberof EnvironmentOverviewResponse
9008
+ */
9009
+ 'service_count': number;
9010
+ /**
9011
+ *
9012
+ * @type {EnvironmentStatus}
9013
+ * @memberof EnvironmentOverviewResponse
9014
+ */
9015
+ 'deployment_status'?: EnvironmentStatus;
9016
+ }
9017
+ /**
9018
+ *
9019
+ * @export
9020
+ * @interface EnvironmentOverviewResponseList
9021
+ */
9022
+ export interface EnvironmentOverviewResponseList {
9023
+ /**
9024
+ *
9025
+ * @type {Array<EnvironmentOverviewResponse>}
9026
+ * @memberof EnvironmentOverviewResponseList
9027
+ */
9028
+ 'results'?: Array<EnvironmentOverviewResponse>;
9029
+ }
8931
9030
  /**
8932
9031
  *
8933
9032
  * @export
@@ -19014,7 +19113,7 @@ export interface TerraformResourceResponse {
19014
19113
  * @type {string}
19015
19114
  * @memberof TerraformResourceResponse
19016
19115
  */
19017
- 'extractedAt'?: string;
19116
+ 'extracted_at': string;
19018
19117
  }
19019
19118
  export declare const TerraformResourceResponseModeEnum: {
19020
19119
  readonly MANAGED: "managed";
@@ -31418,6 +31517,14 @@ export declare const EnvironmentsApiAxiosParamCreator: (configuration?: Configur
31418
31517
  * @throws {RequiredError}
31419
31518
  */
31420
31519
  getProjectEnvironmentServiceNumber: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31520
+ /**
31521
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
31522
+ * @summary List environments overview
31523
+ * @param {string} projectId Project ID
31524
+ * @param {*} [options] Override http request option.
31525
+ * @throws {RequiredError}
31526
+ */
31527
+ getProjectEnvironmentsOverview: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31421
31528
  /**
31422
31529
  * Returns a list of environments with only their id and status.
31423
31530
  * @summary List environments statuses
@@ -31457,6 +31564,14 @@ export declare const EnvironmentsApiFp: (configuration?: Configuration) => {
31457
31564
  * @throws {RequiredError}
31458
31565
  */
31459
31566
  getProjectEnvironmentServiceNumber(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentStatsResponseList>>;
31567
+ /**
31568
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
31569
+ * @summary List environments overview
31570
+ * @param {string} projectId Project ID
31571
+ * @param {*} [options] Override http request option.
31572
+ * @throws {RequiredError}
31573
+ */
31574
+ getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentOverviewResponseList>>;
31460
31575
  /**
31461
31576
  * Returns a list of environments with only their id and status.
31462
31577
  * @summary List environments statuses
@@ -31496,6 +31611,14 @@ export declare const EnvironmentsApiFactory: (configuration?: Configuration, bas
31496
31611
  * @throws {RequiredError}
31497
31612
  */
31498
31613
  getProjectEnvironmentServiceNumber(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentStatsResponseList>;
31614
+ /**
31615
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
31616
+ * @summary List environments overview
31617
+ * @param {string} projectId Project ID
31618
+ * @param {*} [options] Override http request option.
31619
+ * @throws {RequiredError}
31620
+ */
31621
+ getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentOverviewResponseList>;
31499
31622
  /**
31500
31623
  * Returns a list of environments with only their id and status.
31501
31624
  * @summary List environments statuses
@@ -31539,6 +31662,15 @@ export declare class EnvironmentsApi extends BaseAPI {
31539
31662
  * @memberof EnvironmentsApi
31540
31663
  */
31541
31664
  getProjectEnvironmentServiceNumber(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentStatsResponseList, any, {}>>;
31665
+ /**
31666
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
31667
+ * @summary List environments overview
31668
+ * @param {string} projectId Project ID
31669
+ * @param {*} [options] Override http request option.
31670
+ * @throws {RequiredError}
31671
+ * @memberof EnvironmentsApi
31672
+ */
31673
+ getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentOverviewResponseList, any, {}>>;
31542
31674
  /**
31543
31675
  * Returns a list of environments with only their id and status.
31544
31676
  * @summary List environments statuses
package/dist/api.js CHANGED
@@ -24326,6 +24326,40 @@ const EnvironmentsApiAxiosParamCreator = function (configuration) {
24326
24326
  options: localVarRequestOptions,
24327
24327
  };
24328
24328
  }),
24329
+ /**
24330
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
24331
+ * @summary List environments overview
24332
+ * @param {string} projectId Project ID
24333
+ * @param {*} [options] Override http request option.
24334
+ * @throws {RequiredError}
24335
+ */
24336
+ getProjectEnvironmentsOverview: (projectId_1, ...args_1) => __awaiter(this, [projectId_1, ...args_1], void 0, function* (projectId, options = {}) {
24337
+ // verify required parameter 'projectId' is not null or undefined
24338
+ (0, common_1.assertParamExists)('getProjectEnvironmentsOverview', 'projectId', projectId);
24339
+ const localVarPath = `/project/{projectId}/environmentOverview`
24340
+ .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
24341
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24342
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
24343
+ let baseOptions;
24344
+ if (configuration) {
24345
+ baseOptions = configuration.baseOptions;
24346
+ }
24347
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
24348
+ const localVarHeaderParameter = {};
24349
+ const localVarQueryParameter = {};
24350
+ // authentication ApiKeyAuth required
24351
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
24352
+ // authentication bearerAuth required
24353
+ // http bearer authentication required
24354
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
24355
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
24356
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24357
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
24358
+ return {
24359
+ url: (0, common_1.toPathString)(localVarUrlObj),
24360
+ options: localVarRequestOptions,
24361
+ };
24362
+ }),
24329
24363
  /**
24330
24364
  * Returns a list of environments with only their id and status.
24331
24365
  * @summary List environments statuses
@@ -24437,6 +24471,22 @@ const EnvironmentsApiFp = function (configuration) {
24437
24471
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24438
24472
  });
24439
24473
  },
24474
+ /**
24475
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
24476
+ * @summary List environments overview
24477
+ * @param {string} projectId Project ID
24478
+ * @param {*} [options] Override http request option.
24479
+ * @throws {RequiredError}
24480
+ */
24481
+ getProjectEnvironmentsOverview(projectId, options) {
24482
+ return __awaiter(this, void 0, void 0, function* () {
24483
+ var _a, _b, _c;
24484
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectEnvironmentsOverview(projectId, options);
24485
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
24486
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnvironmentsApi.getProjectEnvironmentsOverview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
24487
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24488
+ });
24489
+ },
24440
24490
  /**
24441
24491
  * Returns a list of environments with only their id and status.
24442
24492
  * @summary List environments statuses
@@ -24500,6 +24550,16 @@ const EnvironmentsApiFactory = function (configuration, basePath, axios) {
24500
24550
  getProjectEnvironmentServiceNumber(projectId, options) {
24501
24551
  return localVarFp.getProjectEnvironmentServiceNumber(projectId, options).then((request) => request(axios, basePath));
24502
24552
  },
24553
+ /**
24554
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
24555
+ * @summary List environments overview
24556
+ * @param {string} projectId Project ID
24557
+ * @param {*} [options] Override http request option.
24558
+ * @throws {RequiredError}
24559
+ */
24560
+ getProjectEnvironmentsOverview(projectId, options) {
24561
+ return localVarFp.getProjectEnvironmentsOverview(projectId, options).then((request) => request(axios, basePath));
24562
+ },
24503
24563
  /**
24504
24564
  * Returns a list of environments with only their id and status.
24505
24565
  * @summary List environments statuses
@@ -24553,6 +24613,17 @@ class EnvironmentsApi extends base_1.BaseAPI {
24553
24613
  getProjectEnvironmentServiceNumber(projectId, options) {
24554
24614
  return (0, exports.EnvironmentsApiFp)(this.configuration).getProjectEnvironmentServiceNumber(projectId, options).then((request) => request(this.axios, this.basePath));
24555
24615
  }
24616
+ /**
24617
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
24618
+ * @summary List environments overview
24619
+ * @param {string} projectId Project ID
24620
+ * @param {*} [options] Override http request option.
24621
+ * @throws {RequiredError}
24622
+ * @memberof EnvironmentsApi
24623
+ */
24624
+ getProjectEnvironmentsOverview(projectId, options) {
24625
+ return (0, exports.EnvironmentsApiFp)(this.configuration).getProjectEnvironmentsOverview(projectId, options).then((request) => request(this.axios, this.basePath));
24626
+ }
24556
24627
  /**
24557
24628
  * Returns a list of environments with only their id and status.
24558
24629
  * @summary List environments statuses
package/dist/esm/api.d.ts CHANGED
@@ -4359,6 +4359,37 @@ export interface ClusterMetricsResponse {
4359
4359
  */
4360
4360
  'metrics'?: string;
4361
4361
  }
4362
+ /**
4363
+ *
4364
+ * @export
4365
+ * @interface ClusterOverviewResponse
4366
+ */
4367
+ export interface ClusterOverviewResponse {
4368
+ /**
4369
+ *
4370
+ * @type {string}
4371
+ * @memberof ClusterOverviewResponse
4372
+ */
4373
+ 'id': string;
4374
+ /**
4375
+ *
4376
+ * @type {string}
4377
+ * @memberof ClusterOverviewResponse
4378
+ */
4379
+ 'name': string;
4380
+ /**
4381
+ *
4382
+ * @type {CloudVendorEnum}
4383
+ * @memberof ClusterOverviewResponse
4384
+ */
4385
+ 'cloud_provider': CloudVendorEnum;
4386
+ /**
4387
+ *
4388
+ * @type {boolean}
4389
+ * @memberof ClusterOverviewResponse
4390
+ */
4391
+ 'is_demo': boolean;
4392
+ }
4362
4393
  /**
4363
4394
  *
4364
4395
  * @export
@@ -8928,6 +8959,74 @@ export declare const EnvironmentModeEnum: {
8928
8959
  readonly STAGING: "STAGING";
8929
8960
  };
8930
8961
  export type EnvironmentModeEnum = typeof EnvironmentModeEnum[keyof typeof EnvironmentModeEnum];
8962
+ /**
8963
+ *
8964
+ * @export
8965
+ * @interface EnvironmentOverviewResponse
8966
+ */
8967
+ export interface EnvironmentOverviewResponse {
8968
+ /**
8969
+ *
8970
+ * @type {string}
8971
+ * @memberof EnvironmentOverviewResponse
8972
+ */
8973
+ 'id': string;
8974
+ /**
8975
+ *
8976
+ * @type {string}
8977
+ * @memberof EnvironmentOverviewResponse
8978
+ */
8979
+ 'created_at': string;
8980
+ /**
8981
+ *
8982
+ * @type {string}
8983
+ * @memberof EnvironmentOverviewResponse
8984
+ */
8985
+ 'updated_at': string;
8986
+ /**
8987
+ *
8988
+ * @type {string}
8989
+ * @memberof EnvironmentOverviewResponse
8990
+ */
8991
+ 'name': string;
8992
+ /**
8993
+ *
8994
+ * @type {EnvironmentModeEnum}
8995
+ * @memberof EnvironmentOverviewResponse
8996
+ */
8997
+ 'mode': EnvironmentModeEnum;
8998
+ /**
8999
+ *
9000
+ * @type {ClusterOverviewResponse}
9001
+ * @memberof EnvironmentOverviewResponse
9002
+ */
9003
+ 'cluster'?: ClusterOverviewResponse;
9004
+ /**
9005
+ *
9006
+ * @type {number}
9007
+ * @memberof EnvironmentOverviewResponse
9008
+ */
9009
+ 'service_count': number;
9010
+ /**
9011
+ *
9012
+ * @type {EnvironmentStatus}
9013
+ * @memberof EnvironmentOverviewResponse
9014
+ */
9015
+ 'deployment_status'?: EnvironmentStatus;
9016
+ }
9017
+ /**
9018
+ *
9019
+ * @export
9020
+ * @interface EnvironmentOverviewResponseList
9021
+ */
9022
+ export interface EnvironmentOverviewResponseList {
9023
+ /**
9024
+ *
9025
+ * @type {Array<EnvironmentOverviewResponse>}
9026
+ * @memberof EnvironmentOverviewResponseList
9027
+ */
9028
+ 'results'?: Array<EnvironmentOverviewResponse>;
9029
+ }
8931
9030
  /**
8932
9031
  *
8933
9032
  * @export
@@ -19014,7 +19113,7 @@ export interface TerraformResourceResponse {
19014
19113
  * @type {string}
19015
19114
  * @memberof TerraformResourceResponse
19016
19115
  */
19017
- 'extractedAt'?: string;
19116
+ 'extracted_at': string;
19018
19117
  }
19019
19118
  export declare const TerraformResourceResponseModeEnum: {
19020
19119
  readonly MANAGED: "managed";
@@ -31418,6 +31517,14 @@ export declare const EnvironmentsApiAxiosParamCreator: (configuration?: Configur
31418
31517
  * @throws {RequiredError}
31419
31518
  */
31420
31519
  getProjectEnvironmentServiceNumber: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31520
+ /**
31521
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
31522
+ * @summary List environments overview
31523
+ * @param {string} projectId Project ID
31524
+ * @param {*} [options] Override http request option.
31525
+ * @throws {RequiredError}
31526
+ */
31527
+ getProjectEnvironmentsOverview: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31421
31528
  /**
31422
31529
  * Returns a list of environments with only their id and status.
31423
31530
  * @summary List environments statuses
@@ -31457,6 +31564,14 @@ export declare const EnvironmentsApiFp: (configuration?: Configuration) => {
31457
31564
  * @throws {RequiredError}
31458
31565
  */
31459
31566
  getProjectEnvironmentServiceNumber(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentStatsResponseList>>;
31567
+ /**
31568
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
31569
+ * @summary List environments overview
31570
+ * @param {string} projectId Project ID
31571
+ * @param {*} [options] Override http request option.
31572
+ * @throws {RequiredError}
31573
+ */
31574
+ getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentOverviewResponseList>>;
31460
31575
  /**
31461
31576
  * Returns a list of environments with only their id and status.
31462
31577
  * @summary List environments statuses
@@ -31496,6 +31611,14 @@ export declare const EnvironmentsApiFactory: (configuration?: Configuration, bas
31496
31611
  * @throws {RequiredError}
31497
31612
  */
31498
31613
  getProjectEnvironmentServiceNumber(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentStatsResponseList>;
31614
+ /**
31615
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
31616
+ * @summary List environments overview
31617
+ * @param {string} projectId Project ID
31618
+ * @param {*} [options] Override http request option.
31619
+ * @throws {RequiredError}
31620
+ */
31621
+ getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentOverviewResponseList>;
31499
31622
  /**
31500
31623
  * Returns a list of environments with only their id and status.
31501
31624
  * @summary List environments statuses
@@ -31539,6 +31662,15 @@ export declare class EnvironmentsApi extends BaseAPI {
31539
31662
  * @memberof EnvironmentsApi
31540
31663
  */
31541
31664
  getProjectEnvironmentServiceNumber(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentStatsResponseList, any, {}>>;
31665
+ /**
31666
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
31667
+ * @summary List environments overview
31668
+ * @param {string} projectId Project ID
31669
+ * @param {*} [options] Override http request option.
31670
+ * @throws {RequiredError}
31671
+ * @memberof EnvironmentsApi
31672
+ */
31673
+ getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentOverviewResponseList, any, {}>>;
31542
31674
  /**
31543
31675
  * Returns a list of environments with only their id and status.
31544
31676
  * @summary List environments statuses
package/dist/esm/api.js CHANGED
@@ -24134,6 +24134,40 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
24134
24134
  options: localVarRequestOptions,
24135
24135
  };
24136
24136
  }),
24137
+ /**
24138
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
24139
+ * @summary List environments overview
24140
+ * @param {string} projectId Project ID
24141
+ * @param {*} [options] Override http request option.
24142
+ * @throws {RequiredError}
24143
+ */
24144
+ getProjectEnvironmentsOverview: (projectId_1, ...args_1) => __awaiter(this, [projectId_1, ...args_1], void 0, function* (projectId, options = {}) {
24145
+ // verify required parameter 'projectId' is not null or undefined
24146
+ assertParamExists('getProjectEnvironmentsOverview', 'projectId', projectId);
24147
+ const localVarPath = `/project/{projectId}/environmentOverview`
24148
+ .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
24149
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24150
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24151
+ let baseOptions;
24152
+ if (configuration) {
24153
+ baseOptions = configuration.baseOptions;
24154
+ }
24155
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
24156
+ const localVarHeaderParameter = {};
24157
+ const localVarQueryParameter = {};
24158
+ // authentication ApiKeyAuth required
24159
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
24160
+ // authentication bearerAuth required
24161
+ // http bearer authentication required
24162
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
24163
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24164
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24165
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
24166
+ return {
24167
+ url: toPathString(localVarUrlObj),
24168
+ options: localVarRequestOptions,
24169
+ };
24170
+ }),
24137
24171
  /**
24138
24172
  * Returns a list of environments with only their id and status.
24139
24173
  * @summary List environments statuses
@@ -24244,6 +24278,22 @@ export const EnvironmentsApiFp = function (configuration) {
24244
24278
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24245
24279
  });
24246
24280
  },
24281
+ /**
24282
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
24283
+ * @summary List environments overview
24284
+ * @param {string} projectId Project ID
24285
+ * @param {*} [options] Override http request option.
24286
+ * @throws {RequiredError}
24287
+ */
24288
+ getProjectEnvironmentsOverview(projectId, options) {
24289
+ return __awaiter(this, void 0, void 0, function* () {
24290
+ var _a, _b, _c;
24291
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectEnvironmentsOverview(projectId, options);
24292
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
24293
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.getProjectEnvironmentsOverview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
24294
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24295
+ });
24296
+ },
24247
24297
  /**
24248
24298
  * Returns a list of environments with only their id and status.
24249
24299
  * @summary List environments statuses
@@ -24306,6 +24356,16 @@ export const EnvironmentsApiFactory = function (configuration, basePath, axios)
24306
24356
  getProjectEnvironmentServiceNumber(projectId, options) {
24307
24357
  return localVarFp.getProjectEnvironmentServiceNumber(projectId, options).then((request) => request(axios, basePath));
24308
24358
  },
24359
+ /**
24360
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
24361
+ * @summary List environments overview
24362
+ * @param {string} projectId Project ID
24363
+ * @param {*} [options] Override http request option.
24364
+ * @throws {RequiredError}
24365
+ */
24366
+ getProjectEnvironmentsOverview(projectId, options) {
24367
+ return localVarFp.getProjectEnvironmentsOverview(projectId, options).then((request) => request(axios, basePath));
24368
+ },
24309
24369
  /**
24310
24370
  * Returns a list of environments with only their id and status.
24311
24371
  * @summary List environments statuses
@@ -24358,6 +24418,17 @@ export class EnvironmentsApi extends BaseAPI {
24358
24418
  getProjectEnvironmentServiceNumber(projectId, options) {
24359
24419
  return EnvironmentsApiFp(this.configuration).getProjectEnvironmentServiceNumber(projectId, options).then((request) => request(this.axios, this.basePath));
24360
24420
  }
24421
+ /**
24422
+ * Returns a list of environments with their overview information including deployment status, service count, and cluster details.
24423
+ * @summary List environments overview
24424
+ * @param {string} projectId Project ID
24425
+ * @param {*} [options] Override http request option.
24426
+ * @throws {RequiredError}
24427
+ * @memberof EnvironmentsApi
24428
+ */
24429
+ getProjectEnvironmentsOverview(projectId, options) {
24430
+ return EnvironmentsApiFp(this.configuration).getProjectEnvironmentsOverview(projectId, options).then((request) => request(this.axios, this.basePath));
24431
+ }
24361
24432
  /**
24362
24433
  * Returns a list of environments with only their id and status.
24363
24434
  * @summary List environments statuses
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.809",
3
+ "version": "v1.1.811",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {