qovery-typescript-axios 1.1.54 → 1.1.55

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 +115 -78
  2. package/dist/api.d.ts +74 -37
  3. package/dist/api.js +72 -72
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -4717,12 +4717,24 @@ export interface DeployAllRequest {
4717
4717
  * @memberof DeployAllRequest
4718
4718
  */
4719
4719
  'applications'?: Array<DeployAllRequestApplications>;
4720
+ /**
4721
+ *
4722
+ * @type {Array<string>}
4723
+ * @memberof DeployAllRequest
4724
+ */
4725
+ 'databases'?: Array<string>;
4720
4726
  /**
4721
4727
  *
4722
4728
  * @type {Array<DeployAllRequestContainers>}
4723
4729
  * @memberof DeployAllRequest
4724
4730
  */
4725
4731
  'containers'?: Array<DeployAllRequestContainers>;
4732
+ /**
4733
+ *
4734
+ * @type {Array<DeployAllRequestJobs>}
4735
+ * @memberof DeployAllRequest
4736
+ */
4737
+ 'jobs'?: Array<DeployAllRequestJobs>;
4726
4738
  }
4727
4739
  /**
4728
4740
  *
@@ -4762,6 +4774,31 @@ export interface DeployAllRequestContainers {
4762
4774
  */
4763
4775
  'image_tag': string;
4764
4776
  }
4777
+ /**
4778
+ *
4779
+ * @export
4780
+ * @interface DeployAllRequestJobs
4781
+ */
4782
+ export interface DeployAllRequestJobs {
4783
+ /**
4784
+ * id of the job to be updated.
4785
+ * @type {string}
4786
+ * @memberof DeployAllRequestJobs
4787
+ */
4788
+ 'id'?: string;
4789
+ /**
4790
+ * new tag for the job image. Use only if job is an image source
4791
+ * @type {string}
4792
+ * @memberof DeployAllRequestJobs
4793
+ */
4794
+ 'image_tag'?: string;
4795
+ /**
4796
+ * Commit ID to deploy. Use only if job is a repository source
4797
+ * @type {string}
4798
+ * @memberof DeployAllRequestJobs
4799
+ */
4800
+ 'git_commit_id'?: string;
4801
+ }
4765
4802
  /**
4766
4803
  *
4767
4804
  * @export
@@ -25374,48 +25411,6 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
25374
25411
  options: localVarRequestOptions,
25375
25412
  };
25376
25413
  },
25377
- /**
25378
- * Update and deploy the selected services
25379
- * @summary Deploy services
25380
- * @param {string} environmentId Environment ID
25381
- * @param {DeployAllRequest} [deployAllRequest]
25382
- * @param {*} [options] Override http request option.
25383
- * @throws {RequiredError}
25384
- */
25385
- deployAllServices: async (environmentId: string, deployAllRequest?: DeployAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25386
- // verify required parameter 'environmentId' is not null or undefined
25387
- assertParamExists('deployAllServices', 'environmentId', environmentId)
25388
- const localVarPath = `/environment/{environmentId}/container/deploy`
25389
- .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
25390
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
25391
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25392
- let baseOptions;
25393
- if (configuration) {
25394
- baseOptions = configuration.baseOptions;
25395
- }
25396
-
25397
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
25398
- const localVarHeaderParameter = {} as any;
25399
- const localVarQueryParameter = {} as any;
25400
-
25401
- // authentication bearerAuth required
25402
- // http bearer authentication required
25403
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
25404
-
25405
-
25406
-
25407
- localVarHeaderParameter['Content-Type'] = 'application/json';
25408
-
25409
- setSearchParams(localVarUrlObj, localVarQueryParameter);
25410
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25411
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25412
- localVarRequestOptions.data = serializeDataIfNeeded(deployAllRequest, localVarRequestOptions, configuration)
25413
-
25414
- return {
25415
- url: toPathString(localVarUrlObj),
25416
- options: localVarRequestOptions,
25417
- };
25418
- },
25419
25414
  /**
25420
25415
  * Returns a list of containers with only their id and status.
25421
25416
  * @summary List all container registry container statuses
@@ -25720,18 +25715,6 @@ export const ContainersApiFp = function(configuration?: Configuration) {
25720
25715
  const localVarAxiosArgs = await localVarAxiosParamCreator.createContainer(environmentId, containerRequest, options);
25721
25716
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25722
25717
  },
25723
- /**
25724
- * Update and deploy the selected services
25725
- * @summary Deploy services
25726
- * @param {string} environmentId Environment ID
25727
- * @param {DeployAllRequest} [deployAllRequest]
25728
- * @param {*} [options] Override http request option.
25729
- * @throws {RequiredError}
25730
- */
25731
- async deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
25732
- const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllServices(environmentId, deployAllRequest, options);
25733
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25734
- },
25735
25718
  /**
25736
25719
  * Returns a list of containers with only their id and status.
25737
25720
  * @summary List all container registry container statuses
@@ -25842,17 +25825,6 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
25842
25825
  createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: any): AxiosPromise<ContainerResponse> {
25843
25826
  return localVarFp.createContainer(environmentId, containerRequest, options).then((request) => request(axios, basePath));
25844
25827
  },
25845
- /**
25846
- * Update and deploy the selected services
25847
- * @summary Deploy services
25848
- * @param {string} environmentId Environment ID
25849
- * @param {DeployAllRequest} [deployAllRequest]
25850
- * @param {*} [options] Override http request option.
25851
- * @throws {RequiredError}
25852
- */
25853
- deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
25854
- return localVarFp.deployAllServices(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
25855
- },
25856
25828
  /**
25857
25829
  * Returns a list of containers with only their id and status.
25858
25830
  * @summary List all container registry container statuses
@@ -25960,19 +25932,6 @@ export class ContainersApi extends BaseAPI {
25960
25932
  return ContainersApiFp(this.configuration).createContainer(environmentId, containerRequest, options).then((request) => request(this.axios, this.basePath));
25961
25933
  }
25962
25934
 
25963
- /**
25964
- * Update and deploy the selected services
25965
- * @summary Deploy services
25966
- * @param {string} environmentId Environment ID
25967
- * @param {DeployAllRequest} [deployAllRequest]
25968
- * @param {*} [options] Override http request option.
25969
- * @throws {RequiredError}
25970
- * @memberof ContainersApi
25971
- */
25972
- public deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) {
25973
- return ContainersApiFp(this.configuration).deployAllServices(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
25974
- }
25975
-
25976
25935
  /**
25977
25936
  * Returns a list of containers with only their id and status.
25978
25937
  * @summary List all container registry container statuses
@@ -29090,6 +29049,48 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
29090
29049
  options: localVarRequestOptions,
29091
29050
  };
29092
29051
  },
29052
+ /**
29053
+ * Update and deploy the selected services
29054
+ * @summary Deploy services
29055
+ * @param {string} environmentId Environment ID
29056
+ * @param {DeployAllRequest} [deployAllRequest]
29057
+ * @param {*} [options] Override http request option.
29058
+ * @throws {RequiredError}
29059
+ */
29060
+ deployAllServices: async (environmentId: string, deployAllRequest?: DeployAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29061
+ // verify required parameter 'environmentId' is not null or undefined
29062
+ assertParamExists('deployAllServices', 'environmentId', environmentId)
29063
+ const localVarPath = `/environment/{environmentId}/service/deploy`
29064
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
29065
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29066
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29067
+ let baseOptions;
29068
+ if (configuration) {
29069
+ baseOptions = configuration.baseOptions;
29070
+ }
29071
+
29072
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
29073
+ const localVarHeaderParameter = {} as any;
29074
+ const localVarQueryParameter = {} as any;
29075
+
29076
+ // authentication bearerAuth required
29077
+ // http bearer authentication required
29078
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29079
+
29080
+
29081
+
29082
+ localVarHeaderParameter['Content-Type'] = 'application/json';
29083
+
29084
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29085
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29086
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29087
+ localVarRequestOptions.data = serializeDataIfNeeded(deployAllRequest, localVarRequestOptions, configuration)
29088
+
29089
+ return {
29090
+ url: toPathString(localVarUrlObj),
29091
+ options: localVarRequestOptions,
29092
+ };
29093
+ },
29093
29094
  /**
29094
29095
  * This will deploy all the services of this environment to their latest version.
29095
29096
  * @summary Deploy environment
@@ -29241,6 +29242,18 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
29241
29242
  const localVarAxiosArgs = await localVarAxiosParamCreator.cloneEnvironment(environmentId, cloneRequest, options);
29242
29243
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29243
29244
  },
29245
+ /**
29246
+ * Update and deploy the selected services
29247
+ * @summary Deploy services
29248
+ * @param {string} environmentId Environment ID
29249
+ * @param {DeployAllRequest} [deployAllRequest]
29250
+ * @param {*} [options] Override http request option.
29251
+ * @throws {RequiredError}
29252
+ */
29253
+ async deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
29254
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllServices(environmentId, deployAllRequest, options);
29255
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29256
+ },
29244
29257
  /**
29245
29258
  * This will deploy all the services of this environment to their latest version.
29246
29259
  * @summary Deploy environment
@@ -29306,6 +29319,17 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
29306
29319
  cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: any): AxiosPromise<Environment> {
29307
29320
  return localVarFp.cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(axios, basePath));
29308
29321
  },
29322
+ /**
29323
+ * Update and deploy the selected services
29324
+ * @summary Deploy services
29325
+ * @param {string} environmentId Environment ID
29326
+ * @param {DeployAllRequest} [deployAllRequest]
29327
+ * @param {*} [options] Override http request option.
29328
+ * @throws {RequiredError}
29329
+ */
29330
+ deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
29331
+ return localVarFp.deployAllServices(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
29332
+ },
29309
29333
  /**
29310
29334
  * This will deploy all the services of this environment to their latest version.
29311
29335
  * @summary Deploy environment
@@ -29372,6 +29396,19 @@ export class EnvironmentActionsApi extends BaseAPI {
29372
29396
  return EnvironmentActionsApiFp(this.configuration).cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(this.axios, this.basePath));
29373
29397
  }
29374
29398
 
29399
+ /**
29400
+ * Update and deploy the selected services
29401
+ * @summary Deploy services
29402
+ * @param {string} environmentId Environment ID
29403
+ * @param {DeployAllRequest} [deployAllRequest]
29404
+ * @param {*} [options] Override http request option.
29405
+ * @throws {RequiredError}
29406
+ * @memberof EnvironmentActionsApi
29407
+ */
29408
+ public deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) {
29409
+ return EnvironmentActionsApiFp(this.configuration).deployAllServices(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
29410
+ }
29411
+
29375
29412
  /**
29376
29413
  * This will deploy all the services of this environment to their latest version.
29377
29414
  * @summary Deploy environment
package/dist/api.d.ts CHANGED
@@ -4680,12 +4680,24 @@ export interface DeployAllRequest {
4680
4680
  * @memberof DeployAllRequest
4681
4681
  */
4682
4682
  'applications'?: Array<DeployAllRequestApplications>;
4683
+ /**
4684
+ *
4685
+ * @type {Array<string>}
4686
+ * @memberof DeployAllRequest
4687
+ */
4688
+ 'databases'?: Array<string>;
4683
4689
  /**
4684
4690
  *
4685
4691
  * @type {Array<DeployAllRequestContainers>}
4686
4692
  * @memberof DeployAllRequest
4687
4693
  */
4688
4694
  'containers'?: Array<DeployAllRequestContainers>;
4695
+ /**
4696
+ *
4697
+ * @type {Array<DeployAllRequestJobs>}
4698
+ * @memberof DeployAllRequest
4699
+ */
4700
+ 'jobs'?: Array<DeployAllRequestJobs>;
4689
4701
  }
4690
4702
  /**
4691
4703
  *
@@ -4725,6 +4737,31 @@ export interface DeployAllRequestContainers {
4725
4737
  */
4726
4738
  'image_tag': string;
4727
4739
  }
4740
+ /**
4741
+ *
4742
+ * @export
4743
+ * @interface DeployAllRequestJobs
4744
+ */
4745
+ export interface DeployAllRequestJobs {
4746
+ /**
4747
+ * id of the job to be updated.
4748
+ * @type {string}
4749
+ * @memberof DeployAllRequestJobs
4750
+ */
4751
+ 'id'?: string;
4752
+ /**
4753
+ * new tag for the job image. Use only if job is an image source
4754
+ * @type {string}
4755
+ * @memberof DeployAllRequestJobs
4756
+ */
4757
+ 'image_tag'?: string;
4758
+ /**
4759
+ * Commit ID to deploy. Use only if job is a repository source
4760
+ * @type {string}
4761
+ * @memberof DeployAllRequestJobs
4762
+ */
4763
+ 'git_commit_id'?: string;
4764
+ }
4728
4765
  /**
4729
4766
  *
4730
4767
  * @export
@@ -18506,15 +18543,6 @@ export declare const ContainersApiAxiosParamCreator: (configuration?: Configurat
18506
18543
  * @throws {RequiredError}
18507
18544
  */
18508
18545
  createContainer: (environmentId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
18509
- /**
18510
- * Update and deploy the selected services
18511
- * @summary Deploy services
18512
- * @param {string} environmentId Environment ID
18513
- * @param {DeployAllRequest} [deployAllRequest]
18514
- * @param {*} [options] Override http request option.
18515
- * @throws {RequiredError}
18516
- */
18517
- deployAllServices: (environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
18518
18546
  /**
18519
18547
  * Returns a list of containers with only their id and status.
18520
18548
  * @summary List all container registry container statuses
@@ -18596,15 +18624,6 @@ export declare const ContainersApiFp: (configuration?: Configuration) => {
18596
18624
  * @throws {RequiredError}
18597
18625
  */
18598
18626
  createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>>;
18599
- /**
18600
- * Update and deploy the selected services
18601
- * @summary Deploy services
18602
- * @param {string} environmentId Environment ID
18603
- * @param {DeployAllRequest} [deployAllRequest]
18604
- * @param {*} [options] Override http request option.
18605
- * @throws {RequiredError}
18606
- */
18607
- deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
18608
18627
  /**
18609
18628
  * Returns a list of containers with only their id and status.
18610
18629
  * @summary List all container registry container statuses
@@ -18686,15 +18705,6 @@ export declare const ContainersApiFactory: (configuration?: Configuration, baseP
18686
18705
  * @throws {RequiredError}
18687
18706
  */
18688
18707
  createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: any): AxiosPromise<ContainerResponse>;
18689
- /**
18690
- * Update and deploy the selected services
18691
- * @summary Deploy services
18692
- * @param {string} environmentId Environment ID
18693
- * @param {DeployAllRequest} [deployAllRequest]
18694
- * @param {*} [options] Override http request option.
18695
- * @throws {RequiredError}
18696
- */
18697
- deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status>;
18698
18708
  /**
18699
18709
  * Returns a list of containers with only their id and status.
18700
18710
  * @summary List all container registry container statuses
@@ -18780,16 +18790,6 @@ export declare class ContainersApi extends BaseAPI {
18780
18790
  * @memberof ContainersApi
18781
18791
  */
18782
18792
  createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerResponse>>;
18783
- /**
18784
- * Update and deploy the selected services
18785
- * @summary Deploy services
18786
- * @param {string} environmentId Environment ID
18787
- * @param {DeployAllRequest} [deployAllRequest]
18788
- * @param {*} [options] Override http request option.
18789
- * @throws {RequiredError}
18790
- * @memberof ContainersApi
18791
- */
18792
- deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status>>;
18793
18793
  /**
18794
18794
  * Returns a list of containers with only their id and status.
18795
18795
  * @summary List all container registry container statuses
@@ -20335,6 +20335,15 @@ export declare const EnvironmentActionsApiAxiosParamCreator: (configuration?: Co
20335
20335
  * @throws {RequiredError}
20336
20336
  */
20337
20337
  cloneEnvironment: (environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20338
+ /**
20339
+ * Update and deploy the selected services
20340
+ * @summary Deploy services
20341
+ * @param {string} environmentId Environment ID
20342
+ * @param {DeployAllRequest} [deployAllRequest]
20343
+ * @param {*} [options] Override http request option.
20344
+ * @throws {RequiredError}
20345
+ */
20346
+ deployAllServices: (environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20338
20347
  /**
20339
20348
  * This will deploy all the services of this environment to their latest version.
20340
20349
  * @summary Deploy environment
@@ -20383,6 +20392,15 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
20383
20392
  * @throws {RequiredError}
20384
20393
  */
20385
20394
  cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>>;
20395
+ /**
20396
+ * Update and deploy the selected services
20397
+ * @summary Deploy services
20398
+ * @param {string} environmentId Environment ID
20399
+ * @param {DeployAllRequest} [deployAllRequest]
20400
+ * @param {*} [options] Override http request option.
20401
+ * @throws {RequiredError}
20402
+ */
20403
+ deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
20386
20404
  /**
20387
20405
  * This will deploy all the services of this environment to their latest version.
20388
20406
  * @summary Deploy environment
@@ -20431,6 +20449,15 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
20431
20449
  * @throws {RequiredError}
20432
20450
  */
20433
20451
  cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: any): AxiosPromise<Environment>;
20452
+ /**
20453
+ * Update and deploy the selected services
20454
+ * @summary Deploy services
20455
+ * @param {string} environmentId Environment ID
20456
+ * @param {DeployAllRequest} [deployAllRequest]
20457
+ * @param {*} [options] Override http request option.
20458
+ * @throws {RequiredError}
20459
+ */
20460
+ deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status>;
20434
20461
  /**
20435
20462
  * This will deploy all the services of this environment to their latest version.
20436
20463
  * @summary Deploy environment
@@ -20483,6 +20510,16 @@ export declare class EnvironmentActionsApi extends BaseAPI {
20483
20510
  * @memberof EnvironmentActionsApi
20484
20511
  */
20485
20512
  cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Environment>>;
20513
+ /**
20514
+ * Update and deploy the selected services
20515
+ * @summary Deploy services
20516
+ * @param {string} environmentId Environment ID
20517
+ * @param {DeployAllRequest} [deployAllRequest]
20518
+ * @param {*} [options] Override http request option.
20519
+ * @throws {RequiredError}
20520
+ * @memberof EnvironmentActionsApi
20521
+ */
20522
+ deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status>>;
20486
20523
  /**
20487
20524
  * This will deploy all the services of this environment to their latest version.
20488
20525
  * @summary Deploy environment
package/dist/api.js CHANGED
@@ -12895,41 +12895,6 @@ const ContainersApiAxiosParamCreator = function (configuration) {
12895
12895
  options: localVarRequestOptions,
12896
12896
  };
12897
12897
  }),
12898
- /**
12899
- * Update and deploy the selected services
12900
- * @summary Deploy services
12901
- * @param {string} environmentId Environment ID
12902
- * @param {DeployAllRequest} [deployAllRequest]
12903
- * @param {*} [options] Override http request option.
12904
- * @throws {RequiredError}
12905
- */
12906
- deployAllServices: (environmentId, deployAllRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
12907
- // verify required parameter 'environmentId' is not null or undefined
12908
- (0, common_1.assertParamExists)('deployAllServices', 'environmentId', environmentId);
12909
- const localVarPath = `/environment/{environmentId}/container/deploy`
12910
- .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
12911
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
12912
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12913
- let baseOptions;
12914
- if (configuration) {
12915
- baseOptions = configuration.baseOptions;
12916
- }
12917
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
12918
- const localVarHeaderParameter = {};
12919
- const localVarQueryParameter = {};
12920
- // authentication bearerAuth required
12921
- // http bearer authentication required
12922
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
12923
- localVarHeaderParameter['Content-Type'] = 'application/json';
12924
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12925
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12926
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12927
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deployAllRequest, localVarRequestOptions, configuration);
12928
- return {
12929
- url: (0, common_1.toPathString)(localVarUrlObj),
12930
- options: localVarRequestOptions,
12931
- };
12932
- }),
12933
12898
  /**
12934
12899
  * Returns a list of containers with only their id and status.
12935
12900
  * @summary List all container registry container statuses
@@ -13195,20 +13160,6 @@ const ContainersApiFp = function (configuration) {
13195
13160
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
13196
13161
  });
13197
13162
  },
13198
- /**
13199
- * Update and deploy the selected services
13200
- * @summary Deploy services
13201
- * @param {string} environmentId Environment ID
13202
- * @param {DeployAllRequest} [deployAllRequest]
13203
- * @param {*} [options] Override http request option.
13204
- * @throws {RequiredError}
13205
- */
13206
- deployAllServices(environmentId, deployAllRequest, options) {
13207
- return __awaiter(this, void 0, void 0, function* () {
13208
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deployAllServices(environmentId, deployAllRequest, options);
13209
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
13210
- });
13211
- },
13212
13163
  /**
13213
13164
  * Returns a list of containers with only their id and status.
13214
13165
  * @summary List all container registry container statuses
@@ -13333,17 +13284,6 @@ const ContainersApiFactory = function (configuration, basePath, axios) {
13333
13284
  createContainer(environmentId, containerRequest, options) {
13334
13285
  return localVarFp.createContainer(environmentId, containerRequest, options).then((request) => request(axios, basePath));
13335
13286
  },
13336
- /**
13337
- * Update and deploy the selected services
13338
- * @summary Deploy services
13339
- * @param {string} environmentId Environment ID
13340
- * @param {DeployAllRequest} [deployAllRequest]
13341
- * @param {*} [options] Override http request option.
13342
- * @throws {RequiredError}
13343
- */
13344
- deployAllServices(environmentId, deployAllRequest, options) {
13345
- return localVarFp.deployAllServices(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
13346
- },
13347
13287
  /**
13348
13288
  * Returns a list of containers with only their id and status.
13349
13289
  * @summary List all container registry container statuses
@@ -13449,18 +13389,6 @@ class ContainersApi extends base_1.BaseAPI {
13449
13389
  createContainer(environmentId, containerRequest, options) {
13450
13390
  return (0, exports.ContainersApiFp)(this.configuration).createContainer(environmentId, containerRequest, options).then((request) => request(this.axios, this.basePath));
13451
13391
  }
13452
- /**
13453
- * Update and deploy the selected services
13454
- * @summary Deploy services
13455
- * @param {string} environmentId Environment ID
13456
- * @param {DeployAllRequest} [deployAllRequest]
13457
- * @param {*} [options] Override http request option.
13458
- * @throws {RequiredError}
13459
- * @memberof ContainersApi
13460
- */
13461
- deployAllServices(environmentId, deployAllRequest, options) {
13462
- return (0, exports.ContainersApiFp)(this.configuration).deployAllServices(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
13463
- }
13464
13392
  /**
13465
13393
  * Returns a list of containers with only their id and status.
13466
13394
  * @summary List all container registry container statuses
@@ -16375,6 +16303,41 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
16375
16303
  options: localVarRequestOptions,
16376
16304
  };
16377
16305
  }),
16306
+ /**
16307
+ * Update and deploy the selected services
16308
+ * @summary Deploy services
16309
+ * @param {string} environmentId Environment ID
16310
+ * @param {DeployAllRequest} [deployAllRequest]
16311
+ * @param {*} [options] Override http request option.
16312
+ * @throws {RequiredError}
16313
+ */
16314
+ deployAllServices: (environmentId, deployAllRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
16315
+ // verify required parameter 'environmentId' is not null or undefined
16316
+ (0, common_1.assertParamExists)('deployAllServices', 'environmentId', environmentId);
16317
+ const localVarPath = `/environment/{environmentId}/service/deploy`
16318
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
16319
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16320
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16321
+ let baseOptions;
16322
+ if (configuration) {
16323
+ baseOptions = configuration.baseOptions;
16324
+ }
16325
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
16326
+ const localVarHeaderParameter = {};
16327
+ const localVarQueryParameter = {};
16328
+ // authentication bearerAuth required
16329
+ // http bearer authentication required
16330
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16331
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16332
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16333
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16334
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16335
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deployAllRequest, localVarRequestOptions, configuration);
16336
+ return {
16337
+ url: (0, common_1.toPathString)(localVarUrlObj),
16338
+ options: localVarRequestOptions,
16339
+ };
16340
+ }),
16378
16341
  /**
16379
16342
  * This will deploy all the services of this environment to their latest version.
16380
16343
  * @summary Deploy environment
@@ -16511,6 +16474,20 @@ const EnvironmentActionsApiFp = function (configuration) {
16511
16474
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16512
16475
  });
16513
16476
  },
16477
+ /**
16478
+ * Update and deploy the selected services
16479
+ * @summary Deploy services
16480
+ * @param {string} environmentId Environment ID
16481
+ * @param {DeployAllRequest} [deployAllRequest]
16482
+ * @param {*} [options] Override http request option.
16483
+ * @throws {RequiredError}
16484
+ */
16485
+ deployAllServices(environmentId, deployAllRequest, options) {
16486
+ return __awaiter(this, void 0, void 0, function* () {
16487
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deployAllServices(environmentId, deployAllRequest, options);
16488
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16489
+ });
16490
+ },
16514
16491
  /**
16515
16492
  * This will deploy all the services of this environment to their latest version.
16516
16493
  * @summary Deploy environment
@@ -16582,6 +16559,17 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
16582
16559
  cloneEnvironment(environmentId, cloneRequest, options) {
16583
16560
  return localVarFp.cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(axios, basePath));
16584
16561
  },
16562
+ /**
16563
+ * Update and deploy the selected services
16564
+ * @summary Deploy services
16565
+ * @param {string} environmentId Environment ID
16566
+ * @param {DeployAllRequest} [deployAllRequest]
16567
+ * @param {*} [options] Override http request option.
16568
+ * @throws {RequiredError}
16569
+ */
16570
+ deployAllServices(environmentId, deployAllRequest, options) {
16571
+ return localVarFp.deployAllServices(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
16572
+ },
16585
16573
  /**
16586
16574
  * This will deploy all the services of this environment to their latest version.
16587
16575
  * @summary Deploy environment
@@ -16646,6 +16634,18 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
16646
16634
  cloneEnvironment(environmentId, cloneRequest, options) {
16647
16635
  return (0, exports.EnvironmentActionsApiFp)(this.configuration).cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(this.axios, this.basePath));
16648
16636
  }
16637
+ /**
16638
+ * Update and deploy the selected services
16639
+ * @summary Deploy services
16640
+ * @param {string} environmentId Environment ID
16641
+ * @param {DeployAllRequest} [deployAllRequest]
16642
+ * @param {*} [options] Override http request option.
16643
+ * @throws {RequiredError}
16644
+ * @memberof EnvironmentActionsApi
16645
+ */
16646
+ deployAllServices(environmentId, deployAllRequest, options) {
16647
+ return (0, exports.EnvironmentActionsApiFp)(this.configuration).deployAllServices(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
16648
+ }
16649
16649
  /**
16650
16650
  * This will deploy all the services of this environment to their latest version.
16651
16651
  * @summary Deploy environment
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.54",
3
+ "version": "v1.1.55",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [