qovery-typescript-axios 1.1.54 → 1.1.56
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 +115 -90
- package/dist/api.d.ts +74 -49
- package/dist/api.js +72 -72
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -768,12 +768,6 @@ export interface ApplicationEditRequest {
|
|
|
768
768
|
* @memberof ApplicationEditRequest
|
|
769
769
|
*/
|
|
770
770
|
'auto_preview'?: boolean;
|
|
771
|
-
/**
|
|
772
|
-
* Specify if the sticky session option (also called persistant session) is activated or not for this application. If activated, user will be redirected by the load balancer to the same instance each time he access to the application.
|
|
773
|
-
* @type {boolean}
|
|
774
|
-
* @memberof ApplicationEditRequest
|
|
775
|
-
*/
|
|
776
|
-
'sticky_session'?: boolean;
|
|
777
771
|
/**
|
|
778
772
|
*
|
|
779
773
|
* @type {Array<ServicePort>}
|
|
@@ -859,12 +853,6 @@ export interface ApplicationEditRequestAllOf {
|
|
|
859
853
|
* @memberof ApplicationEditRequestAllOf
|
|
860
854
|
*/
|
|
861
855
|
'auto_preview'?: boolean;
|
|
862
|
-
/**
|
|
863
|
-
* Specify if the sticky session option (also called persistant session) is activated or not for this application. If activated, user will be redirected by the load balancer to the same instance each time he access to the application.
|
|
864
|
-
* @type {boolean}
|
|
865
|
-
* @memberof ApplicationEditRequestAllOf
|
|
866
|
-
*/
|
|
867
|
-
'sticky_session'?: boolean;
|
|
868
856
|
/**
|
|
869
857
|
*
|
|
870
858
|
* @type {Array<ServicePort>}
|
|
@@ -4717,12 +4705,24 @@ export interface DeployAllRequest {
|
|
|
4717
4705
|
* @memberof DeployAllRequest
|
|
4718
4706
|
*/
|
|
4719
4707
|
'applications'?: Array<DeployAllRequestApplications>;
|
|
4708
|
+
/**
|
|
4709
|
+
*
|
|
4710
|
+
* @type {Array<string>}
|
|
4711
|
+
* @memberof DeployAllRequest
|
|
4712
|
+
*/
|
|
4713
|
+
'databases'?: Array<string>;
|
|
4720
4714
|
/**
|
|
4721
4715
|
*
|
|
4722
4716
|
* @type {Array<DeployAllRequestContainers>}
|
|
4723
4717
|
* @memberof DeployAllRequest
|
|
4724
4718
|
*/
|
|
4725
4719
|
'containers'?: Array<DeployAllRequestContainers>;
|
|
4720
|
+
/**
|
|
4721
|
+
*
|
|
4722
|
+
* @type {Array<DeployAllRequestJobs>}
|
|
4723
|
+
* @memberof DeployAllRequest
|
|
4724
|
+
*/
|
|
4725
|
+
'jobs'?: Array<DeployAllRequestJobs>;
|
|
4726
4726
|
}
|
|
4727
4727
|
/**
|
|
4728
4728
|
*
|
|
@@ -4762,6 +4762,31 @@ export interface DeployAllRequestContainers {
|
|
|
4762
4762
|
*/
|
|
4763
4763
|
'image_tag': string;
|
|
4764
4764
|
}
|
|
4765
|
+
/**
|
|
4766
|
+
*
|
|
4767
|
+
* @export
|
|
4768
|
+
* @interface DeployAllRequestJobs
|
|
4769
|
+
*/
|
|
4770
|
+
export interface DeployAllRequestJobs {
|
|
4771
|
+
/**
|
|
4772
|
+
* id of the job to be updated.
|
|
4773
|
+
* @type {string}
|
|
4774
|
+
* @memberof DeployAllRequestJobs
|
|
4775
|
+
*/
|
|
4776
|
+
'id'?: string;
|
|
4777
|
+
/**
|
|
4778
|
+
* new tag for the job image. Use only if job is an image source
|
|
4779
|
+
* @type {string}
|
|
4780
|
+
* @memberof DeployAllRequestJobs
|
|
4781
|
+
*/
|
|
4782
|
+
'image_tag'?: string;
|
|
4783
|
+
/**
|
|
4784
|
+
* Commit ID to deploy. Use only if job is a repository source
|
|
4785
|
+
* @type {string}
|
|
4786
|
+
* @memberof DeployAllRequestJobs
|
|
4787
|
+
*/
|
|
4788
|
+
'git_commit_id'?: string;
|
|
4789
|
+
}
|
|
4765
4790
|
/**
|
|
4766
4791
|
*
|
|
4767
4792
|
* @export
|
|
@@ -25374,48 +25399,6 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
25374
25399
|
options: localVarRequestOptions,
|
|
25375
25400
|
};
|
|
25376
25401
|
},
|
|
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
25402
|
/**
|
|
25420
25403
|
* Returns a list of containers with only their id and status.
|
|
25421
25404
|
* @summary List all container registry container statuses
|
|
@@ -25720,18 +25703,6 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
25720
25703
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createContainer(environmentId, containerRequest, options);
|
|
25721
25704
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25722
25705
|
},
|
|
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
25706
|
/**
|
|
25736
25707
|
* Returns a list of containers with only their id and status.
|
|
25737
25708
|
* @summary List all container registry container statuses
|
|
@@ -25842,17 +25813,6 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
25842
25813
|
createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: any): AxiosPromise<ContainerResponse> {
|
|
25843
25814
|
return localVarFp.createContainer(environmentId, containerRequest, options).then((request) => request(axios, basePath));
|
|
25844
25815
|
},
|
|
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
25816
|
/**
|
|
25857
25817
|
* Returns a list of containers with only their id and status.
|
|
25858
25818
|
* @summary List all container registry container statuses
|
|
@@ -25960,19 +25920,6 @@ export class ContainersApi extends BaseAPI {
|
|
|
25960
25920
|
return ContainersApiFp(this.configuration).createContainer(environmentId, containerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25961
25921
|
}
|
|
25962
25922
|
|
|
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
25923
|
/**
|
|
25977
25924
|
* Returns a list of containers with only their id and status.
|
|
25978
25925
|
* @summary List all container registry container statuses
|
|
@@ -29090,6 +29037,48 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
29090
29037
|
options: localVarRequestOptions,
|
|
29091
29038
|
};
|
|
29092
29039
|
},
|
|
29040
|
+
/**
|
|
29041
|
+
* Update and deploy the selected services
|
|
29042
|
+
* @summary Deploy services
|
|
29043
|
+
* @param {string} environmentId Environment ID
|
|
29044
|
+
* @param {DeployAllRequest} [deployAllRequest]
|
|
29045
|
+
* @param {*} [options] Override http request option.
|
|
29046
|
+
* @throws {RequiredError}
|
|
29047
|
+
*/
|
|
29048
|
+
deployAllServices: async (environmentId: string, deployAllRequest?: DeployAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29049
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
29050
|
+
assertParamExists('deployAllServices', 'environmentId', environmentId)
|
|
29051
|
+
const localVarPath = `/environment/{environmentId}/service/deploy`
|
|
29052
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
29053
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29054
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29055
|
+
let baseOptions;
|
|
29056
|
+
if (configuration) {
|
|
29057
|
+
baseOptions = configuration.baseOptions;
|
|
29058
|
+
}
|
|
29059
|
+
|
|
29060
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29061
|
+
const localVarHeaderParameter = {} as any;
|
|
29062
|
+
const localVarQueryParameter = {} as any;
|
|
29063
|
+
|
|
29064
|
+
// authentication bearerAuth required
|
|
29065
|
+
// http bearer authentication required
|
|
29066
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29067
|
+
|
|
29068
|
+
|
|
29069
|
+
|
|
29070
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29071
|
+
|
|
29072
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29073
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29074
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29075
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deployAllRequest, localVarRequestOptions, configuration)
|
|
29076
|
+
|
|
29077
|
+
return {
|
|
29078
|
+
url: toPathString(localVarUrlObj),
|
|
29079
|
+
options: localVarRequestOptions,
|
|
29080
|
+
};
|
|
29081
|
+
},
|
|
29093
29082
|
/**
|
|
29094
29083
|
* This will deploy all the services of this environment to their latest version.
|
|
29095
29084
|
* @summary Deploy environment
|
|
@@ -29241,6 +29230,18 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
|
|
|
29241
29230
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneEnvironment(environmentId, cloneRequest, options);
|
|
29242
29231
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29243
29232
|
},
|
|
29233
|
+
/**
|
|
29234
|
+
* Update and deploy the selected services
|
|
29235
|
+
* @summary Deploy services
|
|
29236
|
+
* @param {string} environmentId Environment ID
|
|
29237
|
+
* @param {DeployAllRequest} [deployAllRequest]
|
|
29238
|
+
* @param {*} [options] Override http request option.
|
|
29239
|
+
* @throws {RequiredError}
|
|
29240
|
+
*/
|
|
29241
|
+
async deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
29242
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllServices(environmentId, deployAllRequest, options);
|
|
29243
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29244
|
+
},
|
|
29244
29245
|
/**
|
|
29245
29246
|
* This will deploy all the services of this environment to their latest version.
|
|
29246
29247
|
* @summary Deploy environment
|
|
@@ -29306,6 +29307,17 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
|
|
|
29306
29307
|
cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: any): AxiosPromise<Environment> {
|
|
29307
29308
|
return localVarFp.cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(axios, basePath));
|
|
29308
29309
|
},
|
|
29310
|
+
/**
|
|
29311
|
+
* Update and deploy the selected services
|
|
29312
|
+
* @summary Deploy services
|
|
29313
|
+
* @param {string} environmentId Environment ID
|
|
29314
|
+
* @param {DeployAllRequest} [deployAllRequest]
|
|
29315
|
+
* @param {*} [options] Override http request option.
|
|
29316
|
+
* @throws {RequiredError}
|
|
29317
|
+
*/
|
|
29318
|
+
deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
|
|
29319
|
+
return localVarFp.deployAllServices(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
29320
|
+
},
|
|
29309
29321
|
/**
|
|
29310
29322
|
* This will deploy all the services of this environment to their latest version.
|
|
29311
29323
|
* @summary Deploy environment
|
|
@@ -29372,6 +29384,19 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
29372
29384
|
return EnvironmentActionsApiFp(this.configuration).cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29373
29385
|
}
|
|
29374
29386
|
|
|
29387
|
+
/**
|
|
29388
|
+
* Update and deploy the selected services
|
|
29389
|
+
* @summary Deploy services
|
|
29390
|
+
* @param {string} environmentId Environment ID
|
|
29391
|
+
* @param {DeployAllRequest} [deployAllRequest]
|
|
29392
|
+
* @param {*} [options] Override http request option.
|
|
29393
|
+
* @throws {RequiredError}
|
|
29394
|
+
* @memberof EnvironmentActionsApi
|
|
29395
|
+
*/
|
|
29396
|
+
public deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) {
|
|
29397
|
+
return EnvironmentActionsApiFp(this.configuration).deployAllServices(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29398
|
+
}
|
|
29399
|
+
|
|
29375
29400
|
/**
|
|
29376
29401
|
* This will deploy all the services of this environment to their latest version.
|
|
29377
29402
|
* @summary Deploy environment
|
package/dist/api.d.ts
CHANGED
|
@@ -755,12 +755,6 @@ export interface ApplicationEditRequest {
|
|
|
755
755
|
* @memberof ApplicationEditRequest
|
|
756
756
|
*/
|
|
757
757
|
'auto_preview'?: boolean;
|
|
758
|
-
/**
|
|
759
|
-
* Specify if the sticky session option (also called persistant session) is activated or not for this application. If activated, user will be redirected by the load balancer to the same instance each time he access to the application.
|
|
760
|
-
* @type {boolean}
|
|
761
|
-
* @memberof ApplicationEditRequest
|
|
762
|
-
*/
|
|
763
|
-
'sticky_session'?: boolean;
|
|
764
758
|
/**
|
|
765
759
|
*
|
|
766
760
|
* @type {Array<ServicePort>}
|
|
@@ -846,12 +840,6 @@ export interface ApplicationEditRequestAllOf {
|
|
|
846
840
|
* @memberof ApplicationEditRequestAllOf
|
|
847
841
|
*/
|
|
848
842
|
'auto_preview'?: boolean;
|
|
849
|
-
/**
|
|
850
|
-
* Specify if the sticky session option (also called persistant session) is activated or not for this application. If activated, user will be redirected by the load balancer to the same instance each time he access to the application.
|
|
851
|
-
* @type {boolean}
|
|
852
|
-
* @memberof ApplicationEditRequestAllOf
|
|
853
|
-
*/
|
|
854
|
-
'sticky_session'?: boolean;
|
|
855
843
|
/**
|
|
856
844
|
*
|
|
857
845
|
* @type {Array<ServicePort>}
|
|
@@ -4680,12 +4668,24 @@ export interface DeployAllRequest {
|
|
|
4680
4668
|
* @memberof DeployAllRequest
|
|
4681
4669
|
*/
|
|
4682
4670
|
'applications'?: Array<DeployAllRequestApplications>;
|
|
4671
|
+
/**
|
|
4672
|
+
*
|
|
4673
|
+
* @type {Array<string>}
|
|
4674
|
+
* @memberof DeployAllRequest
|
|
4675
|
+
*/
|
|
4676
|
+
'databases'?: Array<string>;
|
|
4683
4677
|
/**
|
|
4684
4678
|
*
|
|
4685
4679
|
* @type {Array<DeployAllRequestContainers>}
|
|
4686
4680
|
* @memberof DeployAllRequest
|
|
4687
4681
|
*/
|
|
4688
4682
|
'containers'?: Array<DeployAllRequestContainers>;
|
|
4683
|
+
/**
|
|
4684
|
+
*
|
|
4685
|
+
* @type {Array<DeployAllRequestJobs>}
|
|
4686
|
+
* @memberof DeployAllRequest
|
|
4687
|
+
*/
|
|
4688
|
+
'jobs'?: Array<DeployAllRequestJobs>;
|
|
4689
4689
|
}
|
|
4690
4690
|
/**
|
|
4691
4691
|
*
|
|
@@ -4725,6 +4725,31 @@ export interface DeployAllRequestContainers {
|
|
|
4725
4725
|
*/
|
|
4726
4726
|
'image_tag': string;
|
|
4727
4727
|
}
|
|
4728
|
+
/**
|
|
4729
|
+
*
|
|
4730
|
+
* @export
|
|
4731
|
+
* @interface DeployAllRequestJobs
|
|
4732
|
+
*/
|
|
4733
|
+
export interface DeployAllRequestJobs {
|
|
4734
|
+
/**
|
|
4735
|
+
* id of the job to be updated.
|
|
4736
|
+
* @type {string}
|
|
4737
|
+
* @memberof DeployAllRequestJobs
|
|
4738
|
+
*/
|
|
4739
|
+
'id'?: string;
|
|
4740
|
+
/**
|
|
4741
|
+
* new tag for the job image. Use only if job is an image source
|
|
4742
|
+
* @type {string}
|
|
4743
|
+
* @memberof DeployAllRequestJobs
|
|
4744
|
+
*/
|
|
4745
|
+
'image_tag'?: string;
|
|
4746
|
+
/**
|
|
4747
|
+
* Commit ID to deploy. Use only if job is a repository source
|
|
4748
|
+
* @type {string}
|
|
4749
|
+
* @memberof DeployAllRequestJobs
|
|
4750
|
+
*/
|
|
4751
|
+
'git_commit_id'?: string;
|
|
4752
|
+
}
|
|
4728
4753
|
/**
|
|
4729
4754
|
*
|
|
4730
4755
|
* @export
|
|
@@ -18506,15 +18531,6 @@ export declare const ContainersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
18506
18531
|
* @throws {RequiredError}
|
|
18507
18532
|
*/
|
|
18508
18533
|
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
18534
|
/**
|
|
18519
18535
|
* Returns a list of containers with only their id and status.
|
|
18520
18536
|
* @summary List all container registry container statuses
|
|
@@ -18596,15 +18612,6 @@ export declare const ContainersApiFp: (configuration?: Configuration) => {
|
|
|
18596
18612
|
* @throws {RequiredError}
|
|
18597
18613
|
*/
|
|
18598
18614
|
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
18615
|
/**
|
|
18609
18616
|
* Returns a list of containers with only their id and status.
|
|
18610
18617
|
* @summary List all container registry container statuses
|
|
@@ -18686,15 +18693,6 @@ export declare const ContainersApiFactory: (configuration?: Configuration, baseP
|
|
|
18686
18693
|
* @throws {RequiredError}
|
|
18687
18694
|
*/
|
|
18688
18695
|
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
18696
|
/**
|
|
18699
18697
|
* Returns a list of containers with only their id and status.
|
|
18700
18698
|
* @summary List all container registry container statuses
|
|
@@ -18780,16 +18778,6 @@ export declare class ContainersApi extends BaseAPI {
|
|
|
18780
18778
|
* @memberof ContainersApi
|
|
18781
18779
|
*/
|
|
18782
18780
|
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
18781
|
/**
|
|
18794
18782
|
* Returns a list of containers with only their id and status.
|
|
18795
18783
|
* @summary List all container registry container statuses
|
|
@@ -20335,6 +20323,15 @@ export declare const EnvironmentActionsApiAxiosParamCreator: (configuration?: Co
|
|
|
20335
20323
|
* @throws {RequiredError}
|
|
20336
20324
|
*/
|
|
20337
20325
|
cloneEnvironment: (environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20326
|
+
/**
|
|
20327
|
+
* Update and deploy the selected services
|
|
20328
|
+
* @summary Deploy services
|
|
20329
|
+
* @param {string} environmentId Environment ID
|
|
20330
|
+
* @param {DeployAllRequest} [deployAllRequest]
|
|
20331
|
+
* @param {*} [options] Override http request option.
|
|
20332
|
+
* @throws {RequiredError}
|
|
20333
|
+
*/
|
|
20334
|
+
deployAllServices: (environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20338
20335
|
/**
|
|
20339
20336
|
* This will deploy all the services of this environment to their latest version.
|
|
20340
20337
|
* @summary Deploy environment
|
|
@@ -20383,6 +20380,15 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
|
|
|
20383
20380
|
* @throws {RequiredError}
|
|
20384
20381
|
*/
|
|
20385
20382
|
cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>>;
|
|
20383
|
+
/**
|
|
20384
|
+
* Update and deploy the selected services
|
|
20385
|
+
* @summary Deploy services
|
|
20386
|
+
* @param {string} environmentId Environment ID
|
|
20387
|
+
* @param {DeployAllRequest} [deployAllRequest]
|
|
20388
|
+
* @param {*} [options] Override http request option.
|
|
20389
|
+
* @throws {RequiredError}
|
|
20390
|
+
*/
|
|
20391
|
+
deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
20386
20392
|
/**
|
|
20387
20393
|
* This will deploy all the services of this environment to their latest version.
|
|
20388
20394
|
* @summary Deploy environment
|
|
@@ -20431,6 +20437,15 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
|
|
|
20431
20437
|
* @throws {RequiredError}
|
|
20432
20438
|
*/
|
|
20433
20439
|
cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: any): AxiosPromise<Environment>;
|
|
20440
|
+
/**
|
|
20441
|
+
* Update and deploy the selected services
|
|
20442
|
+
* @summary Deploy services
|
|
20443
|
+
* @param {string} environmentId Environment ID
|
|
20444
|
+
* @param {DeployAllRequest} [deployAllRequest]
|
|
20445
|
+
* @param {*} [options] Override http request option.
|
|
20446
|
+
* @throws {RequiredError}
|
|
20447
|
+
*/
|
|
20448
|
+
deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status>;
|
|
20434
20449
|
/**
|
|
20435
20450
|
* This will deploy all the services of this environment to their latest version.
|
|
20436
20451
|
* @summary Deploy environment
|
|
@@ -20483,6 +20498,16 @@ export declare class EnvironmentActionsApi extends BaseAPI {
|
|
|
20483
20498
|
* @memberof EnvironmentActionsApi
|
|
20484
20499
|
*/
|
|
20485
20500
|
cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Environment>>;
|
|
20501
|
+
/**
|
|
20502
|
+
* Update and deploy the selected services
|
|
20503
|
+
* @summary Deploy services
|
|
20504
|
+
* @param {string} environmentId Environment ID
|
|
20505
|
+
* @param {DeployAllRequest} [deployAllRequest]
|
|
20506
|
+
* @param {*} [options] Override http request option.
|
|
20507
|
+
* @throws {RequiredError}
|
|
20508
|
+
* @memberof EnvironmentActionsApi
|
|
20509
|
+
*/
|
|
20510
|
+
deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status>>;
|
|
20486
20511
|
/**
|
|
20487
20512
|
* This will deploy all the services of this environment to their latest version.
|
|
20488
20513
|
* @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
|