qovery-typescript-axios 1.1.635 → 1.1.638

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## qovery-typescript-axios@1.0.3
1
+ ## qovery-typescript-axios@1.0.4
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install qovery-typescript-axios@1.0.3 --save
39
+ npm install qovery-typescript-axios@1.0.4 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Qovery API
5
5
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.3
7
+ * The version of the OpenAPI document: 1.0.4
8
8
  * Contact: support+api+documentation@qovery.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8062,6 +8062,12 @@ export interface EnvironmentServiceIdsAllRequest {
8062
8062
  * @memberof EnvironmentServiceIdsAllRequest
8063
8063
  */
8064
8064
  'helm_ids'?: Array<string>;
8065
+ /**
8066
+ *
8067
+ * @type {Array<string>}
8068
+ * @memberof EnvironmentServiceIdsAllRequest
8069
+ */
8070
+ 'terraform_ids'?: Array<string>;
8065
8071
  }
8066
8072
  /**
8067
8073
  *
@@ -38340,6 +38346,92 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
38340
38346
 
38341
38347
 
38342
38348
 
38349
+ localVarHeaderParameter['Content-Type'] = 'application/json';
38350
+
38351
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38352
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38353
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38354
+ localVarRequestOptions.data = serializeDataIfNeeded(environmentServiceIdsAllRequest, localVarRequestOptions, configuration)
38355
+
38356
+ return {
38357
+ url: toPathString(localVarUrlObj),
38358
+ options: localVarRequestOptions,
38359
+ };
38360
+ },
38361
+ /**
38362
+ * This will uninstall all the services of this environment.
38363
+ * @summary Uninstall environment
38364
+ * @param {string} environmentId Environment ID
38365
+ * @param {*} [options] Override http request option.
38366
+ * @throws {RequiredError}
38367
+ */
38368
+ uninstallEnvironment: async (environmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38369
+ // verify required parameter 'environmentId' is not null or undefined
38370
+ assertParamExists('uninstallEnvironment', 'environmentId', environmentId)
38371
+ const localVarPath = `/environment/{environmentId}/uninstall`
38372
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
38373
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38374
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38375
+ let baseOptions;
38376
+ if (configuration) {
38377
+ baseOptions = configuration.baseOptions;
38378
+ }
38379
+
38380
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
38381
+ const localVarHeaderParameter = {} as any;
38382
+ const localVarQueryParameter = {} as any;
38383
+
38384
+ // authentication ApiKeyAuth required
38385
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
38386
+
38387
+ // authentication bearerAuth required
38388
+ // http bearer authentication required
38389
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38390
+
38391
+
38392
+
38393
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38394
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38395
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38396
+
38397
+ return {
38398
+ url: toPathString(localVarUrlObj),
38399
+ options: localVarRequestOptions,
38400
+ };
38401
+ },
38402
+ /**
38403
+ * uninstall selected services
38404
+ * @summary Uninstall services
38405
+ * @param {string} environmentId Environment ID
38406
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
38407
+ * @param {*} [options] Override http request option.
38408
+ * @throws {RequiredError}
38409
+ */
38410
+ uninstallSelectedServices: async (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38411
+ // verify required parameter 'environmentId' is not null or undefined
38412
+ assertParamExists('uninstallSelectedServices', 'environmentId', environmentId)
38413
+ const localVarPath = `/environment/{environmentId}/service/uninstall`
38414
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
38415
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38416
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38417
+ let baseOptions;
38418
+ if (configuration) {
38419
+ baseOptions = configuration.baseOptions;
38420
+ }
38421
+
38422
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
38423
+ const localVarHeaderParameter = {} as any;
38424
+ const localVarQueryParameter = {} as any;
38425
+
38426
+ // authentication ApiKeyAuth required
38427
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
38428
+
38429
+ // authentication bearerAuth required
38430
+ // http bearer authentication required
38431
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38432
+
38433
+
38434
+
38343
38435
  localVarHeaderParameter['Content-Type'] = 'application/json';
38344
38436
 
38345
38437
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -38499,6 +38591,33 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
38499
38591
  const localVarOperationServerBasePath = operationServerMap['EnvironmentActionsApi.stopSelectedServices']?.[localVarOperationServerIndex]?.url;
38500
38592
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38501
38593
  },
38594
+ /**
38595
+ * This will uninstall all the services of this environment.
38596
+ * @summary Uninstall environment
38597
+ * @param {string} environmentId Environment ID
38598
+ * @param {*} [options] Override http request option.
38599
+ * @throws {RequiredError}
38600
+ */
38601
+ async uninstallEnvironment(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
38602
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallEnvironment(environmentId, options);
38603
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38604
+ const localVarOperationServerBasePath = operationServerMap['EnvironmentActionsApi.uninstallEnvironment']?.[localVarOperationServerIndex]?.url;
38605
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38606
+ },
38607
+ /**
38608
+ * uninstall selected services
38609
+ * @summary Uninstall services
38610
+ * @param {string} environmentId Environment ID
38611
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
38612
+ * @param {*} [options] Override http request option.
38613
+ * @throws {RequiredError}
38614
+ */
38615
+ async uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
38616
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
38617
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38618
+ const localVarOperationServerBasePath = operationServerMap['EnvironmentActionsApi.uninstallSelectedServices']?.[localVarOperationServerIndex]?.url;
38619
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38620
+ },
38502
38621
  }
38503
38622
  };
38504
38623
 
@@ -38616,6 +38735,27 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
38616
38735
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
38617
38736
  return localVarFp.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
38618
38737
  },
38738
+ /**
38739
+ * This will uninstall all the services of this environment.
38740
+ * @summary Uninstall environment
38741
+ * @param {string} environmentId Environment ID
38742
+ * @param {*} [options] Override http request option.
38743
+ * @throws {RequiredError}
38744
+ */
38745
+ uninstallEnvironment(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<object> {
38746
+ return localVarFp.uninstallEnvironment(environmentId, options).then((request) => request(axios, basePath));
38747
+ },
38748
+ /**
38749
+ * uninstall selected services
38750
+ * @summary Uninstall services
38751
+ * @param {string} environmentId Environment ID
38752
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
38753
+ * @param {*} [options] Override http request option.
38754
+ * @throws {RequiredError}
38755
+ */
38756
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
38757
+ return localVarFp.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
38758
+ },
38619
38759
  };
38620
38760
  };
38621
38761
 
@@ -38752,6 +38892,31 @@ export class EnvironmentActionsApi extends BaseAPI {
38752
38892
  public stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) {
38753
38893
  return EnvironmentActionsApiFp(this.configuration).stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
38754
38894
  }
38895
+
38896
+ /**
38897
+ * This will uninstall all the services of this environment.
38898
+ * @summary Uninstall environment
38899
+ * @param {string} environmentId Environment ID
38900
+ * @param {*} [options] Override http request option.
38901
+ * @throws {RequiredError}
38902
+ * @memberof EnvironmentActionsApi
38903
+ */
38904
+ public uninstallEnvironment(environmentId: string, options?: RawAxiosRequestConfig) {
38905
+ return EnvironmentActionsApiFp(this.configuration).uninstallEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
38906
+ }
38907
+
38908
+ /**
38909
+ * uninstall selected services
38910
+ * @summary Uninstall services
38911
+ * @param {string} environmentId Environment ID
38912
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
38913
+ * @param {*} [options] Override http request option.
38914
+ * @throws {RequiredError}
38915
+ * @memberof EnvironmentActionsApi
38916
+ */
38917
+ public uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) {
38918
+ return EnvironmentActionsApiFp(this.configuration).uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
38919
+ }
38755
38920
  }
38756
38921
 
38757
38922
 
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Qovery API
5
5
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.3
7
+ * The version of the OpenAPI document: 1.0.4
8
8
  * Contact: support+api+documentation@qovery.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Qovery API
5
5
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.3
7
+ * The version of the OpenAPI document: 1.0.4
8
8
  * Contact: support+api+documentation@qovery.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Qovery API
5
5
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.3
7
+ * The version of the OpenAPI document: 1.0.4
8
8
  * Contact: support+api+documentation@qovery.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Qovery API
3
3
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.3
5
+ * The version of the OpenAPI document: 1.0.4
6
6
  * Contact: support+api+documentation@qovery.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7818,6 +7818,12 @@ export interface EnvironmentServiceIdsAllRequest {
7818
7818
  * @memberof EnvironmentServiceIdsAllRequest
7819
7819
  */
7820
7820
  'helm_ids'?: Array<string>;
7821
+ /**
7822
+ *
7823
+ * @type {Array<string>}
7824
+ * @memberof EnvironmentServiceIdsAllRequest
7825
+ */
7826
+ 'terraform_ids'?: Array<string>;
7821
7827
  }
7822
7828
  /**
7823
7829
  *
@@ -26745,6 +26751,23 @@ export declare const EnvironmentActionsApiAxiosParamCreator: (configuration?: Co
26745
26751
  * @throws {RequiredError}
26746
26752
  */
26747
26753
  stopSelectedServices: (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26754
+ /**
26755
+ * This will uninstall all the services of this environment.
26756
+ * @summary Uninstall environment
26757
+ * @param {string} environmentId Environment ID
26758
+ * @param {*} [options] Override http request option.
26759
+ * @throws {RequiredError}
26760
+ */
26761
+ uninstallEnvironment: (environmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26762
+ /**
26763
+ * uninstall selected services
26764
+ * @summary Uninstall services
26765
+ * @param {string} environmentId Environment ID
26766
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
26767
+ * @param {*} [options] Override http request option.
26768
+ * @throws {RequiredError}
26769
+ */
26770
+ uninstallSelectedServices: (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26748
26771
  };
26749
26772
  /**
26750
26773
  * EnvironmentActionsApi - functional programming interface
@@ -26838,6 +26861,23 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
26838
26861
  * @throws {RequiredError}
26839
26862
  */
26840
26863
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26864
+ /**
26865
+ * This will uninstall all the services of this environment.
26866
+ * @summary Uninstall environment
26867
+ * @param {string} environmentId Environment ID
26868
+ * @param {*} [options] Override http request option.
26869
+ * @throws {RequiredError}
26870
+ */
26871
+ uninstallEnvironment(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
26872
+ /**
26873
+ * uninstall selected services
26874
+ * @summary Uninstall services
26875
+ * @param {string} environmentId Environment ID
26876
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
26877
+ * @param {*} [options] Override http request option.
26878
+ * @throws {RequiredError}
26879
+ */
26880
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26841
26881
  };
26842
26882
  /**
26843
26883
  * EnvironmentActionsApi - factory interface
@@ -26931,6 +26971,23 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
26931
26971
  * @throws {RequiredError}
26932
26972
  */
26933
26973
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26974
+ /**
26975
+ * This will uninstall all the services of this environment.
26976
+ * @summary Uninstall environment
26977
+ * @param {string} environmentId Environment ID
26978
+ * @param {*} [options] Override http request option.
26979
+ * @throws {RequiredError}
26980
+ */
26981
+ uninstallEnvironment(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
26982
+ /**
26983
+ * uninstall selected services
26984
+ * @summary Uninstall services
26985
+ * @param {string} environmentId Environment ID
26986
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
26987
+ * @param {*} [options] Override http request option.
26988
+ * @throws {RequiredError}
26989
+ */
26990
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26934
26991
  };
26935
26992
  /**
26936
26993
  * EnvironmentActionsApi - object-oriented interface
@@ -27036,6 +27093,25 @@ export declare class EnvironmentActionsApi extends BaseAPI {
27036
27093
  * @memberof EnvironmentActionsApi
27037
27094
  */
27038
27095
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
27096
+ /**
27097
+ * This will uninstall all the services of this environment.
27098
+ * @summary Uninstall environment
27099
+ * @param {string} environmentId Environment ID
27100
+ * @param {*} [options] Override http request option.
27101
+ * @throws {RequiredError}
27102
+ * @memberof EnvironmentActionsApi
27103
+ */
27104
+ uninstallEnvironment(environmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
27105
+ /**
27106
+ * uninstall selected services
27107
+ * @summary Uninstall services
27108
+ * @param {string} environmentId Environment ID
27109
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
27110
+ * @param {*} [options] Override http request option.
27111
+ * @throws {RequiredError}
27112
+ * @memberof EnvironmentActionsApi
27113
+ */
27114
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
27039
27115
  }
27040
27116
  /**
27041
27117
  * EnvironmentDeploymentHistoryApi - axios parameter creator
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Qovery API
6
6
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
7
7
  *
8
- * The version of the OpenAPI document: 1.0.3
8
+ * The version of the OpenAPI document: 1.0.4
9
9
  * Contact: support+api+documentation@qovery.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19791,6 +19791,77 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
19791
19791
  options: localVarRequestOptions,
19792
19792
  };
19793
19793
  }),
19794
+ /**
19795
+ * This will uninstall all the services of this environment.
19796
+ * @summary Uninstall environment
19797
+ * @param {string} environmentId Environment ID
19798
+ * @param {*} [options] Override http request option.
19799
+ * @throws {RequiredError}
19800
+ */
19801
+ uninstallEnvironment: (environmentId_1, ...args_1) => __awaiter(this, [environmentId_1, ...args_1], void 0, function* (environmentId, options = {}) {
19802
+ // verify required parameter 'environmentId' is not null or undefined
19803
+ (0, common_1.assertParamExists)('uninstallEnvironment', 'environmentId', environmentId);
19804
+ const localVarPath = `/environment/{environmentId}/uninstall`
19805
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
19806
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19807
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19808
+ let baseOptions;
19809
+ if (configuration) {
19810
+ baseOptions = configuration.baseOptions;
19811
+ }
19812
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
19813
+ const localVarHeaderParameter = {};
19814
+ const localVarQueryParameter = {};
19815
+ // authentication ApiKeyAuth required
19816
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
19817
+ // authentication bearerAuth required
19818
+ // http bearer authentication required
19819
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
19820
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
19821
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19822
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19823
+ return {
19824
+ url: (0, common_1.toPathString)(localVarUrlObj),
19825
+ options: localVarRequestOptions,
19826
+ };
19827
+ }),
19828
+ /**
19829
+ * uninstall selected services
19830
+ * @summary Uninstall services
19831
+ * @param {string} environmentId Environment ID
19832
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
19833
+ * @param {*} [options] Override http request option.
19834
+ * @throws {RequiredError}
19835
+ */
19836
+ uninstallSelectedServices: (environmentId_1, environmentServiceIdsAllRequest_1, ...args_1) => __awaiter(this, [environmentId_1, environmentServiceIdsAllRequest_1, ...args_1], void 0, function* (environmentId, environmentServiceIdsAllRequest, options = {}) {
19837
+ // verify required parameter 'environmentId' is not null or undefined
19838
+ (0, common_1.assertParamExists)('uninstallSelectedServices', 'environmentId', environmentId);
19839
+ const localVarPath = `/environment/{environmentId}/service/uninstall`
19840
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
19841
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19842
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19843
+ let baseOptions;
19844
+ if (configuration) {
19845
+ baseOptions = configuration.baseOptions;
19846
+ }
19847
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
19848
+ const localVarHeaderParameter = {};
19849
+ const localVarQueryParameter = {};
19850
+ // authentication ApiKeyAuth required
19851
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
19852
+ // authentication bearerAuth required
19853
+ // http bearer authentication required
19854
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
19855
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19856
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
19857
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19858
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19859
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(environmentServiceIdsAllRequest, localVarRequestOptions, configuration);
19860
+ return {
19861
+ url: (0, common_1.toPathString)(localVarUrlObj),
19862
+ options: localVarRequestOptions,
19863
+ };
19864
+ }),
19794
19865
  };
19795
19866
  };
19796
19867
  exports.EnvironmentActionsApiAxiosParamCreator = EnvironmentActionsApiAxiosParamCreator;
@@ -19968,6 +20039,39 @@ const EnvironmentActionsApiFp = function (configuration) {
19968
20039
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19969
20040
  });
19970
20041
  },
20042
+ /**
20043
+ * This will uninstall all the services of this environment.
20044
+ * @summary Uninstall environment
20045
+ * @param {string} environmentId Environment ID
20046
+ * @param {*} [options] Override http request option.
20047
+ * @throws {RequiredError}
20048
+ */
20049
+ uninstallEnvironment(environmentId, options) {
20050
+ return __awaiter(this, void 0, void 0, function* () {
20051
+ var _a, _b, _c;
20052
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.uninstallEnvironment(environmentId, options);
20053
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20054
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnvironmentActionsApi.uninstallEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20055
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20056
+ });
20057
+ },
20058
+ /**
20059
+ * uninstall selected services
20060
+ * @summary Uninstall services
20061
+ * @param {string} environmentId Environment ID
20062
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
20063
+ * @param {*} [options] Override http request option.
20064
+ * @throws {RequiredError}
20065
+ */
20066
+ uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20067
+ return __awaiter(this, void 0, void 0, function* () {
20068
+ var _a, _b, _c;
20069
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
20070
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20071
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnvironmentActionsApi.uninstallSelectedServices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20072
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20073
+ });
20074
+ },
19971
20075
  };
19972
20076
  };
19973
20077
  exports.EnvironmentActionsApiFp = EnvironmentActionsApiFp;
@@ -20085,6 +20189,27 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
20085
20189
  stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20086
20190
  return localVarFp.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
20087
20191
  },
20192
+ /**
20193
+ * This will uninstall all the services of this environment.
20194
+ * @summary Uninstall environment
20195
+ * @param {string} environmentId Environment ID
20196
+ * @param {*} [options] Override http request option.
20197
+ * @throws {RequiredError}
20198
+ */
20199
+ uninstallEnvironment(environmentId, options) {
20200
+ return localVarFp.uninstallEnvironment(environmentId, options).then((request) => request(axios, basePath));
20201
+ },
20202
+ /**
20203
+ * uninstall selected services
20204
+ * @summary Uninstall services
20205
+ * @param {string} environmentId Environment ID
20206
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
20207
+ * @param {*} [options] Override http request option.
20208
+ * @throws {RequiredError}
20209
+ */
20210
+ uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20211
+ return localVarFp.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
20212
+ },
20088
20213
  };
20089
20214
  };
20090
20215
  exports.EnvironmentActionsApiFactory = EnvironmentActionsApiFactory;
@@ -20212,6 +20337,29 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
20212
20337
  stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20213
20338
  return (0, exports.EnvironmentActionsApiFp)(this.configuration).stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
20214
20339
  }
20340
+ /**
20341
+ * This will uninstall all the services of this environment.
20342
+ * @summary Uninstall environment
20343
+ * @param {string} environmentId Environment ID
20344
+ * @param {*} [options] Override http request option.
20345
+ * @throws {RequiredError}
20346
+ * @memberof EnvironmentActionsApi
20347
+ */
20348
+ uninstallEnvironment(environmentId, options) {
20349
+ return (0, exports.EnvironmentActionsApiFp)(this.configuration).uninstallEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
20350
+ }
20351
+ /**
20352
+ * uninstall selected services
20353
+ * @summary Uninstall services
20354
+ * @param {string} environmentId Environment ID
20355
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
20356
+ * @param {*} [options] Override http request option.
20357
+ * @throws {RequiredError}
20358
+ * @memberof EnvironmentActionsApi
20359
+ */
20360
+ uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20361
+ return (0, exports.EnvironmentActionsApiFp)(this.configuration).uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
20362
+ }
20215
20363
  }
20216
20364
  exports.EnvironmentActionsApi = EnvironmentActionsApi;
20217
20365
  /**
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Qovery API
3
3
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.3
5
+ * The version of the OpenAPI document: 1.0.4
6
6
  * Contact: support+api+documentation@qovery.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Qovery API
6
6
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
7
7
  *
8
- * The version of the OpenAPI document: 1.0.3
8
+ * The version of the OpenAPI document: 1.0.4
9
9
  * Contact: support+api+documentation@qovery.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Qovery API
3
3
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.3
5
+ * The version of the OpenAPI document: 1.0.4
6
6
  * Contact: support+api+documentation@qovery.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Qovery API
6
6
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
7
7
  *
8
- * The version of the OpenAPI document: 1.0.3
8
+ * The version of the OpenAPI document: 1.0.4
9
9
  * Contact: support+api+documentation@qovery.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Qovery API
3
3
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.3
5
+ * The version of the OpenAPI document: 1.0.4
6
6
  * Contact: support+api+documentation@qovery.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Qovery API
6
6
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
7
7
  *
8
- * The version of the OpenAPI document: 1.0.3
8
+ * The version of the OpenAPI document: 1.0.4
9
9
  * Contact: support+api+documentation@qovery.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Qovery API
3
3
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.3
5
+ * The version of the OpenAPI document: 1.0.4
6
6
  * Contact: support+api+documentation@qovery.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7818,6 +7818,12 @@ export interface EnvironmentServiceIdsAllRequest {
7818
7818
  * @memberof EnvironmentServiceIdsAllRequest
7819
7819
  */
7820
7820
  'helm_ids'?: Array<string>;
7821
+ /**
7822
+ *
7823
+ * @type {Array<string>}
7824
+ * @memberof EnvironmentServiceIdsAllRequest
7825
+ */
7826
+ 'terraform_ids'?: Array<string>;
7821
7827
  }
7822
7828
  /**
7823
7829
  *
@@ -26745,6 +26751,23 @@ export declare const EnvironmentActionsApiAxiosParamCreator: (configuration?: Co
26745
26751
  * @throws {RequiredError}
26746
26752
  */
26747
26753
  stopSelectedServices: (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26754
+ /**
26755
+ * This will uninstall all the services of this environment.
26756
+ * @summary Uninstall environment
26757
+ * @param {string} environmentId Environment ID
26758
+ * @param {*} [options] Override http request option.
26759
+ * @throws {RequiredError}
26760
+ */
26761
+ uninstallEnvironment: (environmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26762
+ /**
26763
+ * uninstall selected services
26764
+ * @summary Uninstall services
26765
+ * @param {string} environmentId Environment ID
26766
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
26767
+ * @param {*} [options] Override http request option.
26768
+ * @throws {RequiredError}
26769
+ */
26770
+ uninstallSelectedServices: (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26748
26771
  };
26749
26772
  /**
26750
26773
  * EnvironmentActionsApi - functional programming interface
@@ -26838,6 +26861,23 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
26838
26861
  * @throws {RequiredError}
26839
26862
  */
26840
26863
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26864
+ /**
26865
+ * This will uninstall all the services of this environment.
26866
+ * @summary Uninstall environment
26867
+ * @param {string} environmentId Environment ID
26868
+ * @param {*} [options] Override http request option.
26869
+ * @throws {RequiredError}
26870
+ */
26871
+ uninstallEnvironment(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
26872
+ /**
26873
+ * uninstall selected services
26874
+ * @summary Uninstall services
26875
+ * @param {string} environmentId Environment ID
26876
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
26877
+ * @param {*} [options] Override http request option.
26878
+ * @throws {RequiredError}
26879
+ */
26880
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26841
26881
  };
26842
26882
  /**
26843
26883
  * EnvironmentActionsApi - factory interface
@@ -26931,6 +26971,23 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
26931
26971
  * @throws {RequiredError}
26932
26972
  */
26933
26973
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26974
+ /**
26975
+ * This will uninstall all the services of this environment.
26976
+ * @summary Uninstall environment
26977
+ * @param {string} environmentId Environment ID
26978
+ * @param {*} [options] Override http request option.
26979
+ * @throws {RequiredError}
26980
+ */
26981
+ uninstallEnvironment(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
26982
+ /**
26983
+ * uninstall selected services
26984
+ * @summary Uninstall services
26985
+ * @param {string} environmentId Environment ID
26986
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
26987
+ * @param {*} [options] Override http request option.
26988
+ * @throws {RequiredError}
26989
+ */
26990
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26934
26991
  };
26935
26992
  /**
26936
26993
  * EnvironmentActionsApi - object-oriented interface
@@ -27036,6 +27093,25 @@ export declare class EnvironmentActionsApi extends BaseAPI {
27036
27093
  * @memberof EnvironmentActionsApi
27037
27094
  */
27038
27095
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
27096
+ /**
27097
+ * This will uninstall all the services of this environment.
27098
+ * @summary Uninstall environment
27099
+ * @param {string} environmentId Environment ID
27100
+ * @param {*} [options] Override http request option.
27101
+ * @throws {RequiredError}
27102
+ * @memberof EnvironmentActionsApi
27103
+ */
27104
+ uninstallEnvironment(environmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
27105
+ /**
27106
+ * uninstall selected services
27107
+ * @summary Uninstall services
27108
+ * @param {string} environmentId Environment ID
27109
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
27110
+ * @param {*} [options] Override http request option.
27111
+ * @throws {RequiredError}
27112
+ * @memberof EnvironmentActionsApi
27113
+ */
27114
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
27039
27115
  }
27040
27116
  /**
27041
27117
  * EnvironmentDeploymentHistoryApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Qovery API
5
5
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.3
7
+ * The version of the OpenAPI document: 1.0.4
8
8
  * Contact: support+api+documentation@qovery.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19640,6 +19640,77 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
19640
19640
  options: localVarRequestOptions,
19641
19641
  };
19642
19642
  }),
19643
+ /**
19644
+ * This will uninstall all the services of this environment.
19645
+ * @summary Uninstall environment
19646
+ * @param {string} environmentId Environment ID
19647
+ * @param {*} [options] Override http request option.
19648
+ * @throws {RequiredError}
19649
+ */
19650
+ uninstallEnvironment: (environmentId_1, ...args_1) => __awaiter(this, [environmentId_1, ...args_1], void 0, function* (environmentId, options = {}) {
19651
+ // verify required parameter 'environmentId' is not null or undefined
19652
+ assertParamExists('uninstallEnvironment', 'environmentId', environmentId);
19653
+ const localVarPath = `/environment/{environmentId}/uninstall`
19654
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
19655
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19656
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19657
+ let baseOptions;
19658
+ if (configuration) {
19659
+ baseOptions = configuration.baseOptions;
19660
+ }
19661
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
19662
+ const localVarHeaderParameter = {};
19663
+ const localVarQueryParameter = {};
19664
+ // authentication ApiKeyAuth required
19665
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
19666
+ // authentication bearerAuth required
19667
+ // http bearer authentication required
19668
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
19669
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19670
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19671
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19672
+ return {
19673
+ url: toPathString(localVarUrlObj),
19674
+ options: localVarRequestOptions,
19675
+ };
19676
+ }),
19677
+ /**
19678
+ * uninstall selected services
19679
+ * @summary Uninstall services
19680
+ * @param {string} environmentId Environment ID
19681
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
19682
+ * @param {*} [options] Override http request option.
19683
+ * @throws {RequiredError}
19684
+ */
19685
+ uninstallSelectedServices: (environmentId_1, environmentServiceIdsAllRequest_1, ...args_1) => __awaiter(this, [environmentId_1, environmentServiceIdsAllRequest_1, ...args_1], void 0, function* (environmentId, environmentServiceIdsAllRequest, options = {}) {
19686
+ // verify required parameter 'environmentId' is not null or undefined
19687
+ assertParamExists('uninstallSelectedServices', 'environmentId', environmentId);
19688
+ const localVarPath = `/environment/{environmentId}/service/uninstall`
19689
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
19690
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19691
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19692
+ let baseOptions;
19693
+ if (configuration) {
19694
+ baseOptions = configuration.baseOptions;
19695
+ }
19696
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
19697
+ const localVarHeaderParameter = {};
19698
+ const localVarQueryParameter = {};
19699
+ // authentication ApiKeyAuth required
19700
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
19701
+ // authentication bearerAuth required
19702
+ // http bearer authentication required
19703
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
19704
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19705
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19706
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19707
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19708
+ localVarRequestOptions.data = serializeDataIfNeeded(environmentServiceIdsAllRequest, localVarRequestOptions, configuration);
19709
+ return {
19710
+ url: toPathString(localVarUrlObj),
19711
+ options: localVarRequestOptions,
19712
+ };
19713
+ }),
19643
19714
  };
19644
19715
  };
19645
19716
  /**
@@ -19816,6 +19887,39 @@ export const EnvironmentActionsApiFp = function (configuration) {
19816
19887
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19817
19888
  });
19818
19889
  },
19890
+ /**
19891
+ * This will uninstall all the services of this environment.
19892
+ * @summary Uninstall environment
19893
+ * @param {string} environmentId Environment ID
19894
+ * @param {*} [options] Override http request option.
19895
+ * @throws {RequiredError}
19896
+ */
19897
+ uninstallEnvironment(environmentId, options) {
19898
+ return __awaiter(this, void 0, void 0, function* () {
19899
+ var _a, _b, _c;
19900
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.uninstallEnvironment(environmentId, options);
19901
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19902
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentActionsApi.uninstallEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19903
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19904
+ });
19905
+ },
19906
+ /**
19907
+ * uninstall selected services
19908
+ * @summary Uninstall services
19909
+ * @param {string} environmentId Environment ID
19910
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
19911
+ * @param {*} [options] Override http request option.
19912
+ * @throws {RequiredError}
19913
+ */
19914
+ uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
19915
+ return __awaiter(this, void 0, void 0, function* () {
19916
+ var _a, _b, _c;
19917
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
19918
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19919
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentActionsApi.uninstallSelectedServices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19920
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19921
+ });
19922
+ },
19819
19923
  };
19820
19924
  };
19821
19925
  /**
@@ -19932,6 +20036,27 @@ export const EnvironmentActionsApiFactory = function (configuration, basePath, a
19932
20036
  stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
19933
20037
  return localVarFp.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
19934
20038
  },
20039
+ /**
20040
+ * This will uninstall all the services of this environment.
20041
+ * @summary Uninstall environment
20042
+ * @param {string} environmentId Environment ID
20043
+ * @param {*} [options] Override http request option.
20044
+ * @throws {RequiredError}
20045
+ */
20046
+ uninstallEnvironment(environmentId, options) {
20047
+ return localVarFp.uninstallEnvironment(environmentId, options).then((request) => request(axios, basePath));
20048
+ },
20049
+ /**
20050
+ * uninstall selected services
20051
+ * @summary Uninstall services
20052
+ * @param {string} environmentId Environment ID
20053
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
20054
+ * @param {*} [options] Override http request option.
20055
+ * @throws {RequiredError}
20056
+ */
20057
+ uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20058
+ return localVarFp.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
20059
+ },
19935
20060
  };
19936
20061
  };
19937
20062
  /**
@@ -20058,6 +20183,29 @@ export class EnvironmentActionsApi extends BaseAPI {
20058
20183
  stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20059
20184
  return EnvironmentActionsApiFp(this.configuration).stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
20060
20185
  }
20186
+ /**
20187
+ * This will uninstall all the services of this environment.
20188
+ * @summary Uninstall environment
20189
+ * @param {string} environmentId Environment ID
20190
+ * @param {*} [options] Override http request option.
20191
+ * @throws {RequiredError}
20192
+ * @memberof EnvironmentActionsApi
20193
+ */
20194
+ uninstallEnvironment(environmentId, options) {
20195
+ return EnvironmentActionsApiFp(this.configuration).uninstallEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
20196
+ }
20197
+ /**
20198
+ * uninstall selected services
20199
+ * @summary Uninstall services
20200
+ * @param {string} environmentId Environment ID
20201
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
20202
+ * @param {*} [options] Override http request option.
20203
+ * @throws {RequiredError}
20204
+ * @memberof EnvironmentActionsApi
20205
+ */
20206
+ uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20207
+ return EnvironmentActionsApiFp(this.configuration).uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
20208
+ }
20061
20209
  }
20062
20210
  /**
20063
20211
  * EnvironmentDeploymentHistoryApi - axios parameter creator
@@ -2,7 +2,7 @@
2
2
  * Qovery API
3
3
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.3
5
+ * The version of the OpenAPI document: 1.0.4
6
6
  * Contact: support+api+documentation@qovery.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Qovery API
5
5
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.3
7
+ * The version of the OpenAPI document: 1.0.4
8
8
  * Contact: support+api+documentation@qovery.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Qovery API
3
3
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.3
5
+ * The version of the OpenAPI document: 1.0.4
6
6
  * Contact: support+api+documentation@qovery.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Qovery API
5
5
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.3
7
+ * The version of the OpenAPI document: 1.0.4
8
8
  * Contact: support+api+documentation@qovery.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Qovery API
3
3
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.3
5
+ * The version of the OpenAPI document: 1.0.4
6
6
  * Contact: support+api+documentation@qovery.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Qovery API
5
5
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.3
7
+ * The version of the OpenAPI document: 1.0.4
8
8
  * Contact: support+api+documentation@qovery.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Qovery API
3
3
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.3
5
+ * The version of the OpenAPI document: 1.0.4
6
6
  * Contact: support+api+documentation@qovery.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Qovery API
5
5
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.3
7
+ * The version of the OpenAPI document: 1.0.4
8
8
  * Contact: support+api+documentation@qovery.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Qovery API
3
3
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.3
5
+ * The version of the OpenAPI document: 1.0.4
6
6
  * Contact: support+api+documentation@qovery.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Qovery API
6
6
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
7
7
  *
8
- * The version of the OpenAPI document: 1.0.3
8
+ * The version of the OpenAPI document: 1.0.4
9
9
  * Contact: support+api+documentation@qovery.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Qovery API
5
5
  * - Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.3
7
+ * The version of the OpenAPI document: 1.0.4
8
8
  * Contact: support+api+documentation@qovery.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.635",
3
+ "version": "v1.1.638",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {