qovery-typescript-axios 1.1.238 → 1.1.240

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.
Files changed (4) hide show
  1. package/api.ts +195 -2
  2. package/dist/api.d.ts +107 -2
  3. package/dist/api.js +148 -0
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -4617,7 +4617,7 @@ export interface CustomDomain {
4617
4617
  * @type {boolean}
4618
4618
  * @memberof CustomDomain
4619
4619
  */
4620
- 'generate_certificate'?: boolean;
4620
+ 'generate_certificate': boolean;
4621
4621
  /**
4622
4622
  * URL provided by Qovery. You must create a CNAME on your DNS provider using that URL
4623
4623
  * @type {string}
@@ -4673,7 +4673,7 @@ export interface CustomDomainRequest {
4673
4673
  * @type {boolean}
4674
4674
  * @memberof CustomDomainRequest
4675
4675
  */
4676
- 'generate_certificate'?: boolean;
4676
+ 'generate_certificate': boolean;
4677
4677
  }
4678
4678
  /**
4679
4679
  *
@@ -7452,6 +7452,37 @@ export interface EnvironmentResponseList {
7452
7452
  */
7453
7453
  'results'?: Array<Environment>;
7454
7454
  }
7455
+ /**
7456
+ *
7457
+ * @export
7458
+ * @interface EnvironmentServiceIdsAllRequest
7459
+ */
7460
+ export interface EnvironmentServiceIdsAllRequest {
7461
+ /**
7462
+ *
7463
+ * @type {Array<string>}
7464
+ * @memberof EnvironmentServiceIdsAllRequest
7465
+ */
7466
+ 'application_ids'?: Array<string>;
7467
+ /**
7468
+ *
7469
+ * @type {Array<string>}
7470
+ * @memberof EnvironmentServiceIdsAllRequest
7471
+ */
7472
+ 'container_ids'?: Array<string>;
7473
+ /**
7474
+ *
7475
+ * @type {Array<string>}
7476
+ * @memberof EnvironmentServiceIdsAllRequest
7477
+ */
7478
+ 'database_ids'?: Array<string>;
7479
+ /**
7480
+ *
7481
+ * @type {Array<string>}
7482
+ * @memberof EnvironmentServiceIdsAllRequest
7483
+ */
7484
+ 'job_ids'?: Array<string>;
7485
+ }
7455
7486
  /**
7456
7487
  *
7457
7488
  * @export
@@ -32544,6 +32575,51 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
32544
32575
  options: localVarRequestOptions,
32545
32576
  };
32546
32577
  },
32578
+ /**
32579
+ * Delete selected services
32580
+ * @summary Delete services
32581
+ * @param {string} environmentId Environment ID
32582
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
32583
+ * @param {*} [options] Override http request option.
32584
+ * @throws {RequiredError}
32585
+ */
32586
+ deleteSelectedServices: async (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32587
+ // verify required parameter 'environmentId' is not null or undefined
32588
+ assertParamExists('deleteSelectedServices', 'environmentId', environmentId)
32589
+ const localVarPath = `/environment/{environmentId}/service/delete`
32590
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
32591
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32592
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32593
+ let baseOptions;
32594
+ if (configuration) {
32595
+ baseOptions = configuration.baseOptions;
32596
+ }
32597
+
32598
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
32599
+ const localVarHeaderParameter = {} as any;
32600
+ const localVarQueryParameter = {} as any;
32601
+
32602
+ // authentication ApiKeyAuth required
32603
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
32604
+
32605
+ // authentication bearerAuth required
32606
+ // http bearer authentication required
32607
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
32608
+
32609
+
32610
+
32611
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32612
+
32613
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32614
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32615
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32616
+ localVarRequestOptions.data = serializeDataIfNeeded(environmentServiceIdsAllRequest, localVarRequestOptions, configuration)
32617
+
32618
+ return {
32619
+ url: toPathString(localVarUrlObj),
32620
+ options: localVarRequestOptions,
32621
+ };
32622
+ },
32547
32623
  /**
32548
32624
  * Update and deploy the selected services
32549
32625
  * @summary Deploy services
@@ -32793,6 +32869,51 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
32793
32869
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32794
32870
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32795
32871
 
32872
+ return {
32873
+ url: toPathString(localVarUrlObj),
32874
+ options: localVarRequestOptions,
32875
+ };
32876
+ },
32877
+ /**
32878
+ * Stop selected services
32879
+ * @summary Stop services
32880
+ * @param {string} environmentId Environment ID
32881
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
32882
+ * @param {*} [options] Override http request option.
32883
+ * @throws {RequiredError}
32884
+ */
32885
+ stopSelectedServices: async (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32886
+ // verify required parameter 'environmentId' is not null or undefined
32887
+ assertParamExists('stopSelectedServices', 'environmentId', environmentId)
32888
+ const localVarPath = `/environment/{environmentId}/service/stop`
32889
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
32890
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32891
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32892
+ let baseOptions;
32893
+ if (configuration) {
32894
+ baseOptions = configuration.baseOptions;
32895
+ }
32896
+
32897
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
32898
+ const localVarHeaderParameter = {} as any;
32899
+ const localVarQueryParameter = {} as any;
32900
+
32901
+ // authentication ApiKeyAuth required
32902
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
32903
+
32904
+ // authentication bearerAuth required
32905
+ // http bearer authentication required
32906
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
32907
+
32908
+
32909
+
32910
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32911
+
32912
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32913
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32914
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32915
+ localVarRequestOptions.data = serializeDataIfNeeded(environmentServiceIdsAllRequest, localVarRequestOptions, configuration)
32916
+
32796
32917
  return {
32797
32918
  url: toPathString(localVarUrlObj),
32798
32919
  options: localVarRequestOptions,
@@ -32831,6 +32952,18 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
32831
32952
  const localVarAxiosArgs = await localVarAxiosParamCreator.cloneEnvironment(environmentId, cloneRequest, options);
32832
32953
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32833
32954
  },
32955
+ /**
32956
+ * Delete selected services
32957
+ * @summary Delete services
32958
+ * @param {string} environmentId Environment ID
32959
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
32960
+ * @param {*} [options] Override http request option.
32961
+ * @throws {RequiredError}
32962
+ */
32963
+ async deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
32964
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
32965
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32966
+ },
32834
32967
  /**
32835
32968
  * Update and deploy the selected services
32836
32969
  * @summary Deploy services
@@ -32899,6 +33032,18 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
32899
33032
  const localVarAxiosArgs = await localVarAxiosParamCreator.stopEnvironment(environmentId, options);
32900
33033
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32901
33034
  },
33035
+ /**
33036
+ * Stop selected services
33037
+ * @summary Stop services
33038
+ * @param {string} environmentId Environment ID
33039
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
33040
+ * @param {*} [options] Override http request option.
33041
+ * @throws {RequiredError}
33042
+ */
33043
+ async stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
33044
+ const localVarAxiosArgs = await localVarAxiosParamCreator.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
33045
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33046
+ },
32902
33047
  }
32903
33048
  };
32904
33049
 
@@ -32930,6 +33075,17 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
32930
33075
  cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: any): AxiosPromise<Environment> {
32931
33076
  return localVarFp.cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(axios, basePath));
32932
33077
  },
33078
+ /**
33079
+ * Delete selected services
33080
+ * @summary Delete services
33081
+ * @param {string} environmentId Environment ID
33082
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
33083
+ * @param {*} [options] Override http request option.
33084
+ * @throws {RequiredError}
33085
+ */
33086
+ deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: any): AxiosPromise<void> {
33087
+ return localVarFp.deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
33088
+ },
32933
33089
  /**
32934
33090
  * Update and deploy the selected services
32935
33091
  * @summary Deploy services
@@ -32992,6 +33148,17 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
32992
33148
  stopEnvironment(environmentId: string, options?: any): AxiosPromise<EnvironmentStatus> {
32993
33149
  return localVarFp.stopEnvironment(environmentId, options).then((request) => request(axios, basePath));
32994
33150
  },
33151
+ /**
33152
+ * Stop selected services
33153
+ * @summary Stop services
33154
+ * @param {string} environmentId Environment ID
33155
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
33156
+ * @param {*} [options] Override http request option.
33157
+ * @throws {RequiredError}
33158
+ */
33159
+ stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: any): AxiosPromise<void> {
33160
+ return localVarFp.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
33161
+ },
32995
33162
  };
32996
33163
  };
32997
33164
 
@@ -33027,6 +33194,19 @@ export class EnvironmentActionsApi extends BaseAPI {
33027
33194
  return EnvironmentActionsApiFp(this.configuration).cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(this.axios, this.basePath));
33028
33195
  }
33029
33196
 
33197
+ /**
33198
+ * Delete selected services
33199
+ * @summary Delete services
33200
+ * @param {string} environmentId Environment ID
33201
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
33202
+ * @param {*} [options] Override http request option.
33203
+ * @throws {RequiredError}
33204
+ * @memberof EnvironmentActionsApi
33205
+ */
33206
+ public deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig) {
33207
+ return EnvironmentActionsApiFp(this.configuration).deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
33208
+ }
33209
+
33030
33210
  /**
33031
33211
  * Update and deploy the selected services
33032
33212
  * @summary Deploy services
@@ -33100,6 +33280,19 @@ export class EnvironmentActionsApi extends BaseAPI {
33100
33280
  public stopEnvironment(environmentId: string, options?: AxiosRequestConfig) {
33101
33281
  return EnvironmentActionsApiFp(this.configuration).stopEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
33102
33282
  }
33283
+
33284
+ /**
33285
+ * Stop selected services
33286
+ * @summary Stop services
33287
+ * @param {string} environmentId Environment ID
33288
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
33289
+ * @param {*} [options] Override http request option.
33290
+ * @throws {RequiredError}
33291
+ * @memberof EnvironmentActionsApi
33292
+ */
33293
+ public stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig) {
33294
+ return EnvironmentActionsApiFp(this.configuration).stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
33295
+ }
33103
33296
  }
33104
33297
 
33105
33298
 
package/dist/api.d.ts CHANGED
@@ -4584,7 +4584,7 @@ export interface CustomDomain {
4584
4584
  * @type {boolean}
4585
4585
  * @memberof CustomDomain
4586
4586
  */
4587
- 'generate_certificate'?: boolean;
4587
+ 'generate_certificate': boolean;
4588
4588
  /**
4589
4589
  * URL provided by Qovery. You must create a CNAME on your DNS provider using that URL
4590
4590
  * @type {string}
@@ -4640,7 +4640,7 @@ export interface CustomDomainRequest {
4640
4640
  * @type {boolean}
4641
4641
  * @memberof CustomDomainRequest
4642
4642
  */
4643
- 'generate_certificate'?: boolean;
4643
+ 'generate_certificate': boolean;
4644
4644
  }
4645
4645
  /**
4646
4646
  *
@@ -7401,6 +7401,37 @@ export interface EnvironmentResponseList {
7401
7401
  */
7402
7402
  'results'?: Array<Environment>;
7403
7403
  }
7404
+ /**
7405
+ *
7406
+ * @export
7407
+ * @interface EnvironmentServiceIdsAllRequest
7408
+ */
7409
+ export interface EnvironmentServiceIdsAllRequest {
7410
+ /**
7411
+ *
7412
+ * @type {Array<string>}
7413
+ * @memberof EnvironmentServiceIdsAllRequest
7414
+ */
7415
+ 'application_ids'?: Array<string>;
7416
+ /**
7417
+ *
7418
+ * @type {Array<string>}
7419
+ * @memberof EnvironmentServiceIdsAllRequest
7420
+ */
7421
+ 'container_ids'?: Array<string>;
7422
+ /**
7423
+ *
7424
+ * @type {Array<string>}
7425
+ * @memberof EnvironmentServiceIdsAllRequest
7426
+ */
7427
+ 'database_ids'?: Array<string>;
7428
+ /**
7429
+ *
7430
+ * @type {Array<string>}
7431
+ * @memberof EnvironmentServiceIdsAllRequest
7432
+ */
7433
+ 'job_ids'?: Array<string>;
7434
+ }
7404
7435
  /**
7405
7436
  *
7406
7437
  * @export
@@ -22644,6 +22675,15 @@ export declare const EnvironmentActionsApiAxiosParamCreator: (configuration?: Co
22644
22675
  * @throws {RequiredError}
22645
22676
  */
22646
22677
  cloneEnvironment: (environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22678
+ /**
22679
+ * Delete selected services
22680
+ * @summary Delete services
22681
+ * @param {string} environmentId Environment ID
22682
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
22683
+ * @param {*} [options] Override http request option.
22684
+ * @throws {RequiredError}
22685
+ */
22686
+ deleteSelectedServices: (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22647
22687
  /**
22648
22688
  * Update and deploy the selected services
22649
22689
  * @summary Deploy services
@@ -22694,6 +22734,15 @@ export declare const EnvironmentActionsApiAxiosParamCreator: (configuration?: Co
22694
22734
  * @throws {RequiredError}
22695
22735
  */
22696
22736
  stopEnvironment: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22737
+ /**
22738
+ * Stop selected services
22739
+ * @summary Stop services
22740
+ * @param {string} environmentId Environment ID
22741
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
22742
+ * @param {*} [options] Override http request option.
22743
+ * @throws {RequiredError}
22744
+ */
22745
+ stopSelectedServices: (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22697
22746
  };
22698
22747
  /**
22699
22748
  * EnvironmentActionsApi - functional programming interface
@@ -22717,6 +22766,15 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
22717
22766
  * @throws {RequiredError}
22718
22767
  */
22719
22768
  cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>>;
22769
+ /**
22770
+ * Delete selected services
22771
+ * @summary Delete services
22772
+ * @param {string} environmentId Environment ID
22773
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
22774
+ * @param {*} [options] Override http request option.
22775
+ * @throws {RequiredError}
22776
+ */
22777
+ deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
22720
22778
  /**
22721
22779
  * Update and deploy the selected services
22722
22780
  * @summary Deploy services
@@ -22767,6 +22825,15 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
22767
22825
  * @throws {RequiredError}
22768
22826
  */
22769
22827
  stopEnvironment(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentStatus>>;
22828
+ /**
22829
+ * Stop selected services
22830
+ * @summary Stop services
22831
+ * @param {string} environmentId Environment ID
22832
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
22833
+ * @param {*} [options] Override http request option.
22834
+ * @throws {RequiredError}
22835
+ */
22836
+ stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
22770
22837
  };
22771
22838
  /**
22772
22839
  * EnvironmentActionsApi - factory interface
@@ -22790,6 +22857,15 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
22790
22857
  * @throws {RequiredError}
22791
22858
  */
22792
22859
  cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: any): AxiosPromise<Environment>;
22860
+ /**
22861
+ * Delete selected services
22862
+ * @summary Delete services
22863
+ * @param {string} environmentId Environment ID
22864
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
22865
+ * @param {*} [options] Override http request option.
22866
+ * @throws {RequiredError}
22867
+ */
22868
+ deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: any): AxiosPromise<void>;
22793
22869
  /**
22794
22870
  * Update and deploy the selected services
22795
22871
  * @summary Deploy services
@@ -22840,6 +22916,15 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
22840
22916
  * @throws {RequiredError}
22841
22917
  */
22842
22918
  stopEnvironment(environmentId: string, options?: any): AxiosPromise<EnvironmentStatus>;
22919
+ /**
22920
+ * Stop selected services
22921
+ * @summary Stop services
22922
+ * @param {string} environmentId Environment ID
22923
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
22924
+ * @param {*} [options] Override http request option.
22925
+ * @throws {RequiredError}
22926
+ */
22927
+ stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: any): AxiosPromise<void>;
22843
22928
  };
22844
22929
  /**
22845
22930
  * EnvironmentActionsApi - object-oriented interface
@@ -22867,6 +22952,16 @@ export declare class EnvironmentActionsApi extends BaseAPI {
22867
22952
  * @memberof EnvironmentActionsApi
22868
22953
  */
22869
22954
  cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Environment>>;
22955
+ /**
22956
+ * Delete selected services
22957
+ * @summary Delete services
22958
+ * @param {string} environmentId Environment ID
22959
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
22960
+ * @param {*} [options] Override http request option.
22961
+ * @throws {RequiredError}
22962
+ * @memberof EnvironmentActionsApi
22963
+ */
22964
+ deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
22870
22965
  /**
22871
22966
  * Update and deploy the selected services
22872
22967
  * @summary Deploy services
@@ -22923,6 +23018,16 @@ export declare class EnvironmentActionsApi extends BaseAPI {
22923
23018
  * @memberof EnvironmentActionsApi
22924
23019
  */
22925
23020
  stopEnvironment(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentStatus>>;
23021
+ /**
23022
+ * Stop selected services
23023
+ * @summary Stop services
23024
+ * @param {string} environmentId Environment ID
23025
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
23026
+ * @param {*} [options] Override http request option.
23027
+ * @throws {RequiredError}
23028
+ * @memberof EnvironmentActionsApi
23029
+ */
23030
+ stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
22926
23031
  }
22927
23032
  /**
22928
23033
  * EnvironmentDeploymentHistoryApi - axios parameter creator
package/dist/api.js CHANGED
@@ -17807,6 +17807,43 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
17807
17807
  options: localVarRequestOptions,
17808
17808
  };
17809
17809
  }),
17810
+ /**
17811
+ * Delete selected services
17812
+ * @summary Delete services
17813
+ * @param {string} environmentId Environment ID
17814
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
17815
+ * @param {*} [options] Override http request option.
17816
+ * @throws {RequiredError}
17817
+ */
17818
+ deleteSelectedServices: (environmentId, environmentServiceIdsAllRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
17819
+ // verify required parameter 'environmentId' is not null or undefined
17820
+ (0, common_1.assertParamExists)('deleteSelectedServices', 'environmentId', environmentId);
17821
+ const localVarPath = `/environment/{environmentId}/service/delete`
17822
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
17823
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17824
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17825
+ let baseOptions;
17826
+ if (configuration) {
17827
+ baseOptions = configuration.baseOptions;
17828
+ }
17829
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
17830
+ const localVarHeaderParameter = {};
17831
+ const localVarQueryParameter = {};
17832
+ // authentication ApiKeyAuth required
17833
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
17834
+ // authentication bearerAuth required
17835
+ // http bearer authentication required
17836
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
17837
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17838
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
17839
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17840
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17841
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(environmentServiceIdsAllRequest, localVarRequestOptions, configuration);
17842
+ return {
17843
+ url: (0, common_1.toPathString)(localVarUrlObj),
17844
+ options: localVarRequestOptions,
17845
+ };
17846
+ }),
17810
17847
  /**
17811
17848
  * Update and deploy the selected services
17812
17849
  * @summary Deploy services
@@ -18017,6 +18054,43 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
18017
18054
  options: localVarRequestOptions,
18018
18055
  };
18019
18056
  }),
18057
+ /**
18058
+ * Stop selected services
18059
+ * @summary Stop services
18060
+ * @param {string} environmentId Environment ID
18061
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
18062
+ * @param {*} [options] Override http request option.
18063
+ * @throws {RequiredError}
18064
+ */
18065
+ stopSelectedServices: (environmentId, environmentServiceIdsAllRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
18066
+ // verify required parameter 'environmentId' is not null or undefined
18067
+ (0, common_1.assertParamExists)('stopSelectedServices', 'environmentId', environmentId);
18068
+ const localVarPath = `/environment/{environmentId}/service/stop`
18069
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
18070
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18071
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18072
+ let baseOptions;
18073
+ if (configuration) {
18074
+ baseOptions = configuration.baseOptions;
18075
+ }
18076
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
18077
+ const localVarHeaderParameter = {};
18078
+ const localVarQueryParameter = {};
18079
+ // authentication ApiKeyAuth required
18080
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
18081
+ // authentication bearerAuth required
18082
+ // http bearer authentication required
18083
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
18084
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18085
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
18086
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18087
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18088
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(environmentServiceIdsAllRequest, localVarRequestOptions, configuration);
18089
+ return {
18090
+ url: (0, common_1.toPathString)(localVarUrlObj),
18091
+ options: localVarRequestOptions,
18092
+ };
18093
+ }),
18020
18094
  };
18021
18095
  };
18022
18096
  exports.EnvironmentActionsApiAxiosParamCreator = EnvironmentActionsApiAxiosParamCreator;
@@ -18054,6 +18128,20 @@ const EnvironmentActionsApiFp = function (configuration) {
18054
18128
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
18055
18129
  });
18056
18130
  },
18131
+ /**
18132
+ * Delete selected services
18133
+ * @summary Delete services
18134
+ * @param {string} environmentId Environment ID
18135
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
18136
+ * @param {*} [options] Override http request option.
18137
+ * @throws {RequiredError}
18138
+ */
18139
+ deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
18140
+ return __awaiter(this, void 0, void 0, function* () {
18141
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
18142
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
18143
+ });
18144
+ },
18057
18145
  /**
18058
18146
  * Update and deploy the selected services
18059
18147
  * @summary Deploy services
@@ -18134,6 +18222,20 @@ const EnvironmentActionsApiFp = function (configuration) {
18134
18222
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
18135
18223
  });
18136
18224
  },
18225
+ /**
18226
+ * Stop selected services
18227
+ * @summary Stop services
18228
+ * @param {string} environmentId Environment ID
18229
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
18230
+ * @param {*} [options] Override http request option.
18231
+ * @throws {RequiredError}
18232
+ */
18233
+ stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
18234
+ return __awaiter(this, void 0, void 0, function* () {
18235
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
18236
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
18237
+ });
18238
+ },
18137
18239
  };
18138
18240
  };
18139
18241
  exports.EnvironmentActionsApiFp = EnvironmentActionsApiFp;
@@ -18165,6 +18267,17 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
18165
18267
  cloneEnvironment(environmentId, cloneRequest, options) {
18166
18268
  return localVarFp.cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(axios, basePath));
18167
18269
  },
18270
+ /**
18271
+ * Delete selected services
18272
+ * @summary Delete services
18273
+ * @param {string} environmentId Environment ID
18274
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
18275
+ * @param {*} [options] Override http request option.
18276
+ * @throws {RequiredError}
18277
+ */
18278
+ deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
18279
+ return localVarFp.deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
18280
+ },
18168
18281
  /**
18169
18282
  * Update and deploy the selected services
18170
18283
  * @summary Deploy services
@@ -18227,6 +18340,17 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
18227
18340
  stopEnvironment(environmentId, options) {
18228
18341
  return localVarFp.stopEnvironment(environmentId, options).then((request) => request(axios, basePath));
18229
18342
  },
18343
+ /**
18344
+ * Stop selected services
18345
+ * @summary Stop services
18346
+ * @param {string} environmentId Environment ID
18347
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
18348
+ * @param {*} [options] Override http request option.
18349
+ * @throws {RequiredError}
18350
+ */
18351
+ stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
18352
+ return localVarFp.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
18353
+ },
18230
18354
  };
18231
18355
  };
18232
18356
  exports.EnvironmentActionsApiFactory = EnvironmentActionsApiFactory;
@@ -18260,6 +18384,18 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
18260
18384
  cloneEnvironment(environmentId, cloneRequest, options) {
18261
18385
  return (0, exports.EnvironmentActionsApiFp)(this.configuration).cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(this.axios, this.basePath));
18262
18386
  }
18387
+ /**
18388
+ * Delete selected services
18389
+ * @summary Delete services
18390
+ * @param {string} environmentId Environment ID
18391
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
18392
+ * @param {*} [options] Override http request option.
18393
+ * @throws {RequiredError}
18394
+ * @memberof EnvironmentActionsApi
18395
+ */
18396
+ deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
18397
+ return (0, exports.EnvironmentActionsApiFp)(this.configuration).deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
18398
+ }
18263
18399
  /**
18264
18400
  * Update and deploy the selected services
18265
18401
  * @summary Deploy services
@@ -18328,6 +18464,18 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
18328
18464
  stopEnvironment(environmentId, options) {
18329
18465
  return (0, exports.EnvironmentActionsApiFp)(this.configuration).stopEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
18330
18466
  }
18467
+ /**
18468
+ * Stop selected services
18469
+ * @summary Stop services
18470
+ * @param {string} environmentId Environment ID
18471
+ * @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
18472
+ * @param {*} [options] Override http request option.
18473
+ * @throws {RequiredError}
18474
+ * @memberof EnvironmentActionsApi
18475
+ */
18476
+ stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
18477
+ return (0, exports.EnvironmentActionsApiFp)(this.configuration).stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
18478
+ }
18331
18479
  }
18332
18480
  exports.EnvironmentActionsApi = EnvironmentActionsApi;
18333
18481
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.238",
3
+ "version": "v1.1.240",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [