qovery-typescript-axios 1.1.635 → 1.1.636

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
@@ -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,51 @@ 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
+ * uninstall selected services
38363
+ * @summary Uninstall services
38364
+ * @param {string} environmentId Environment ID
38365
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
38366
+ * @param {*} [options] Override http request option.
38367
+ * @throws {RequiredError}
38368
+ */
38369
+ uninstallSelectedServices: async (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38370
+ // verify required parameter 'environmentId' is not null or undefined
38371
+ assertParamExists('uninstallSelectedServices', 'environmentId', environmentId)
38372
+ const localVarPath = `/environment/{environmentId}/service/uninstall`
38373
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
38374
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38375
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38376
+ let baseOptions;
38377
+ if (configuration) {
38378
+ baseOptions = configuration.baseOptions;
38379
+ }
38380
+
38381
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
38382
+ const localVarHeaderParameter = {} as any;
38383
+ const localVarQueryParameter = {} as any;
38384
+
38385
+ // authentication ApiKeyAuth required
38386
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
38387
+
38388
+ // authentication bearerAuth required
38389
+ // http bearer authentication required
38390
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38391
+
38392
+
38393
+
38343
38394
  localVarHeaderParameter['Content-Type'] = 'application/json';
38344
38395
 
38345
38396
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -38499,6 +38550,20 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
38499
38550
  const localVarOperationServerBasePath = operationServerMap['EnvironmentActionsApi.stopSelectedServices']?.[localVarOperationServerIndex]?.url;
38500
38551
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38501
38552
  },
38553
+ /**
38554
+ * uninstall selected services
38555
+ * @summary Uninstall services
38556
+ * @param {string} environmentId Environment ID
38557
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
38558
+ * @param {*} [options] Override http request option.
38559
+ * @throws {RequiredError}
38560
+ */
38561
+ async uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
38562
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
38563
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38564
+ const localVarOperationServerBasePath = operationServerMap['EnvironmentActionsApi.uninstallSelectedServices']?.[localVarOperationServerIndex]?.url;
38565
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38566
+ },
38502
38567
  }
38503
38568
  };
38504
38569
 
@@ -38616,6 +38681,17 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
38616
38681
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
38617
38682
  return localVarFp.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
38618
38683
  },
38684
+ /**
38685
+ * uninstall selected services
38686
+ * @summary Uninstall services
38687
+ * @param {string} environmentId Environment ID
38688
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
38689
+ * @param {*} [options] Override http request option.
38690
+ * @throws {RequiredError}
38691
+ */
38692
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
38693
+ return localVarFp.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
38694
+ },
38619
38695
  };
38620
38696
  };
38621
38697
 
@@ -38752,6 +38828,19 @@ export class EnvironmentActionsApi extends BaseAPI {
38752
38828
  public stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) {
38753
38829
  return EnvironmentActionsApiFp(this.configuration).stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
38754
38830
  }
38831
+
38832
+ /**
38833
+ * uninstall selected services
38834
+ * @summary Uninstall services
38835
+ * @param {string} environmentId Environment ID
38836
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
38837
+ * @param {*} [options] Override http request option.
38838
+ * @throws {RequiredError}
38839
+ * @memberof EnvironmentActionsApi
38840
+ */
38841
+ public uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) {
38842
+ return EnvironmentActionsApiFp(this.configuration).uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
38843
+ }
38755
38844
  }
38756
38845
 
38757
38846
 
package/dist/api.d.ts CHANGED
@@ -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,15 @@ 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
+ * uninstall selected services
26756
+ * @summary Uninstall services
26757
+ * @param {string} environmentId Environment ID
26758
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
26759
+ * @param {*} [options] Override http request option.
26760
+ * @throws {RequiredError}
26761
+ */
26762
+ uninstallSelectedServices: (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26748
26763
  };
26749
26764
  /**
26750
26765
  * EnvironmentActionsApi - functional programming interface
@@ -26838,6 +26853,15 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
26838
26853
  * @throws {RequiredError}
26839
26854
  */
26840
26855
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26856
+ /**
26857
+ * uninstall selected services
26858
+ * @summary Uninstall services
26859
+ * @param {string} environmentId Environment ID
26860
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
26861
+ * @param {*} [options] Override http request option.
26862
+ * @throws {RequiredError}
26863
+ */
26864
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26841
26865
  };
26842
26866
  /**
26843
26867
  * EnvironmentActionsApi - factory interface
@@ -26931,6 +26955,15 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
26931
26955
  * @throws {RequiredError}
26932
26956
  */
26933
26957
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26958
+ /**
26959
+ * uninstall selected services
26960
+ * @summary Uninstall services
26961
+ * @param {string} environmentId Environment ID
26962
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
26963
+ * @param {*} [options] Override http request option.
26964
+ * @throws {RequiredError}
26965
+ */
26966
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26934
26967
  };
26935
26968
  /**
26936
26969
  * EnvironmentActionsApi - object-oriented interface
@@ -27036,6 +27069,16 @@ export declare class EnvironmentActionsApi extends BaseAPI {
27036
27069
  * @memberof EnvironmentActionsApi
27037
27070
  */
27038
27071
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
27072
+ /**
27073
+ * uninstall selected services
27074
+ * @summary Uninstall services
27075
+ * @param {string} environmentId Environment ID
27076
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
27077
+ * @param {*} [options] Override http request option.
27078
+ * @throws {RequiredError}
27079
+ * @memberof EnvironmentActionsApi
27080
+ */
27081
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
27039
27082
  }
27040
27083
  /**
27041
27084
  * EnvironmentDeploymentHistoryApi - axios parameter creator
package/dist/api.js CHANGED
@@ -19791,6 +19791,43 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
19791
19791
  options: localVarRequestOptions,
19792
19792
  };
19793
19793
  }),
19794
+ /**
19795
+ * uninstall selected services
19796
+ * @summary Uninstall services
19797
+ * @param {string} environmentId Environment ID
19798
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
19799
+ * @param {*} [options] Override http request option.
19800
+ * @throws {RequiredError}
19801
+ */
19802
+ uninstallSelectedServices: (environmentId_1, environmentServiceIdsAllRequest_1, ...args_1) => __awaiter(this, [environmentId_1, environmentServiceIdsAllRequest_1, ...args_1], void 0, function* (environmentId, environmentServiceIdsAllRequest, options = {}) {
19803
+ // verify required parameter 'environmentId' is not null or undefined
19804
+ (0, common_1.assertParamExists)('uninstallSelectedServices', 'environmentId', environmentId);
19805
+ const localVarPath = `/environment/{environmentId}/service/uninstall`
19806
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
19807
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19808
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19809
+ let baseOptions;
19810
+ if (configuration) {
19811
+ baseOptions = configuration.baseOptions;
19812
+ }
19813
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
19814
+ const localVarHeaderParameter = {};
19815
+ const localVarQueryParameter = {};
19816
+ // authentication ApiKeyAuth required
19817
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
19818
+ // authentication bearerAuth required
19819
+ // http bearer authentication required
19820
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
19821
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19822
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
19823
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19824
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19825
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(environmentServiceIdsAllRequest, localVarRequestOptions, configuration);
19826
+ return {
19827
+ url: (0, common_1.toPathString)(localVarUrlObj),
19828
+ options: localVarRequestOptions,
19829
+ };
19830
+ }),
19794
19831
  };
19795
19832
  };
19796
19833
  exports.EnvironmentActionsApiAxiosParamCreator = EnvironmentActionsApiAxiosParamCreator;
@@ -19968,6 +20005,23 @@ const EnvironmentActionsApiFp = function (configuration) {
19968
20005
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19969
20006
  });
19970
20007
  },
20008
+ /**
20009
+ * uninstall selected services
20010
+ * @summary Uninstall services
20011
+ * @param {string} environmentId Environment ID
20012
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
20013
+ * @param {*} [options] Override http request option.
20014
+ * @throws {RequiredError}
20015
+ */
20016
+ uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20017
+ return __awaiter(this, void 0, void 0, function* () {
20018
+ var _a, _b, _c;
20019
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
20020
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20021
+ 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;
20022
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20023
+ });
20024
+ },
19971
20025
  };
19972
20026
  };
19973
20027
  exports.EnvironmentActionsApiFp = EnvironmentActionsApiFp;
@@ -20085,6 +20139,17 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
20085
20139
  stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20086
20140
  return localVarFp.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
20087
20141
  },
20142
+ /**
20143
+ * uninstall selected services
20144
+ * @summary Uninstall services
20145
+ * @param {string} environmentId Environment ID
20146
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
20147
+ * @param {*} [options] Override http request option.
20148
+ * @throws {RequiredError}
20149
+ */
20150
+ uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20151
+ return localVarFp.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
20152
+ },
20088
20153
  };
20089
20154
  };
20090
20155
  exports.EnvironmentActionsApiFactory = EnvironmentActionsApiFactory;
@@ -20212,6 +20277,18 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
20212
20277
  stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20213
20278
  return (0, exports.EnvironmentActionsApiFp)(this.configuration).stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
20214
20279
  }
20280
+ /**
20281
+ * uninstall selected services
20282
+ * @summary Uninstall services
20283
+ * @param {string} environmentId Environment ID
20284
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
20285
+ * @param {*} [options] Override http request option.
20286
+ * @throws {RequiredError}
20287
+ * @memberof EnvironmentActionsApi
20288
+ */
20289
+ uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20290
+ return (0, exports.EnvironmentActionsApiFp)(this.configuration).uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
20291
+ }
20215
20292
  }
20216
20293
  exports.EnvironmentActionsApi = EnvironmentActionsApi;
20217
20294
  /**
package/dist/esm/api.d.ts CHANGED
@@ -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,15 @@ 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
+ * uninstall selected services
26756
+ * @summary Uninstall services
26757
+ * @param {string} environmentId Environment ID
26758
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
26759
+ * @param {*} [options] Override http request option.
26760
+ * @throws {RequiredError}
26761
+ */
26762
+ uninstallSelectedServices: (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26748
26763
  };
26749
26764
  /**
26750
26765
  * EnvironmentActionsApi - functional programming interface
@@ -26838,6 +26853,15 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
26838
26853
  * @throws {RequiredError}
26839
26854
  */
26840
26855
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26856
+ /**
26857
+ * uninstall selected services
26858
+ * @summary Uninstall services
26859
+ * @param {string} environmentId Environment ID
26860
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
26861
+ * @param {*} [options] Override http request option.
26862
+ * @throws {RequiredError}
26863
+ */
26864
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26841
26865
  };
26842
26866
  /**
26843
26867
  * EnvironmentActionsApi - factory interface
@@ -26931,6 +26955,15 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
26931
26955
  * @throws {RequiredError}
26932
26956
  */
26933
26957
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26958
+ /**
26959
+ * uninstall selected services
26960
+ * @summary Uninstall services
26961
+ * @param {string} environmentId Environment ID
26962
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
26963
+ * @param {*} [options] Override http request option.
26964
+ * @throws {RequiredError}
26965
+ */
26966
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
26934
26967
  };
26935
26968
  /**
26936
26969
  * EnvironmentActionsApi - object-oriented interface
@@ -27036,6 +27069,16 @@ export declare class EnvironmentActionsApi extends BaseAPI {
27036
27069
  * @memberof EnvironmentActionsApi
27037
27070
  */
27038
27071
  stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
27072
+ /**
27073
+ * uninstall selected services
27074
+ * @summary Uninstall services
27075
+ * @param {string} environmentId Environment ID
27076
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
27077
+ * @param {*} [options] Override http request option.
27078
+ * @throws {RequiredError}
27079
+ * @memberof EnvironmentActionsApi
27080
+ */
27081
+ uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
27039
27082
  }
27040
27083
  /**
27041
27084
  * EnvironmentDeploymentHistoryApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -19640,6 +19640,43 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
19640
19640
  options: localVarRequestOptions,
19641
19641
  };
19642
19642
  }),
19643
+ /**
19644
+ * uninstall selected services
19645
+ * @summary Uninstall services
19646
+ * @param {string} environmentId Environment ID
19647
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
19648
+ * @param {*} [options] Override http request option.
19649
+ * @throws {RequiredError}
19650
+ */
19651
+ uninstallSelectedServices: (environmentId_1, environmentServiceIdsAllRequest_1, ...args_1) => __awaiter(this, [environmentId_1, environmentServiceIdsAllRequest_1, ...args_1], void 0, function* (environmentId, environmentServiceIdsAllRequest, options = {}) {
19652
+ // verify required parameter 'environmentId' is not null or undefined
19653
+ assertParamExists('uninstallSelectedServices', 'environmentId', environmentId);
19654
+ const localVarPath = `/environment/{environmentId}/service/uninstall`
19655
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
19656
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19657
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19658
+ let baseOptions;
19659
+ if (configuration) {
19660
+ baseOptions = configuration.baseOptions;
19661
+ }
19662
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
19663
+ const localVarHeaderParameter = {};
19664
+ const localVarQueryParameter = {};
19665
+ // authentication ApiKeyAuth required
19666
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
19667
+ // authentication bearerAuth required
19668
+ // http bearer authentication required
19669
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
19670
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19671
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19672
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19673
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19674
+ localVarRequestOptions.data = serializeDataIfNeeded(environmentServiceIdsAllRequest, localVarRequestOptions, configuration);
19675
+ return {
19676
+ url: toPathString(localVarUrlObj),
19677
+ options: localVarRequestOptions,
19678
+ };
19679
+ }),
19643
19680
  };
19644
19681
  };
19645
19682
  /**
@@ -19816,6 +19853,23 @@ export const EnvironmentActionsApiFp = function (configuration) {
19816
19853
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19817
19854
  });
19818
19855
  },
19856
+ /**
19857
+ * uninstall selected services
19858
+ * @summary Uninstall services
19859
+ * @param {string} environmentId Environment ID
19860
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
19861
+ * @param {*} [options] Override http request option.
19862
+ * @throws {RequiredError}
19863
+ */
19864
+ uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
19865
+ return __awaiter(this, void 0, void 0, function* () {
19866
+ var _a, _b, _c;
19867
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
19868
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19869
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentActionsApi.uninstallSelectedServices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19870
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19871
+ });
19872
+ },
19819
19873
  };
19820
19874
  };
19821
19875
  /**
@@ -19932,6 +19986,17 @@ export const EnvironmentActionsApiFactory = function (configuration, basePath, a
19932
19986
  stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
19933
19987
  return localVarFp.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
19934
19988
  },
19989
+ /**
19990
+ * uninstall selected services
19991
+ * @summary Uninstall services
19992
+ * @param {string} environmentId Environment ID
19993
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
19994
+ * @param {*} [options] Override http request option.
19995
+ * @throws {RequiredError}
19996
+ */
19997
+ uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
19998
+ return localVarFp.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
19999
+ },
19935
20000
  };
19936
20001
  };
19937
20002
  /**
@@ -20058,6 +20123,18 @@ export class EnvironmentActionsApi extends BaseAPI {
20058
20123
  stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20059
20124
  return EnvironmentActionsApiFp(this.configuration).stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
20060
20125
  }
20126
+ /**
20127
+ * uninstall selected services
20128
+ * @summary Uninstall services
20129
+ * @param {string} environmentId Environment ID
20130
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
20131
+ * @param {*} [options] Override http request option.
20132
+ * @throws {RequiredError}
20133
+ * @memberof EnvironmentActionsApi
20134
+ */
20135
+ uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
20136
+ return EnvironmentActionsApiFp(this.configuration).uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
20137
+ }
20061
20138
  }
20062
20139
  /**
20063
20140
  * EnvironmentDeploymentHistoryApi - axios parameter creator
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.636",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {