qovery-typescript-axios 1.1.53 → 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.
- package/api.ts +117 -79
- package/dist/api.d.ts +76 -38
- package/dist/api.js +73 -72
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -32,7 +32,8 @@ export enum APIVariableScopeEnum {
|
|
|
32
32
|
BUILT_IN = 'BUILT_IN',
|
|
33
33
|
ENVIRONMENT = 'ENVIRONMENT',
|
|
34
34
|
PROJECT = 'PROJECT',
|
|
35
|
-
CONTAINER = 'CONTAINER'
|
|
35
|
+
CONTAINER = 'CONTAINER',
|
|
36
|
+
JOB = 'JOB'
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
/**
|
|
@@ -4716,12 +4717,24 @@ export interface DeployAllRequest {
|
|
|
4716
4717
|
* @memberof DeployAllRequest
|
|
4717
4718
|
*/
|
|
4718
4719
|
'applications'?: Array<DeployAllRequestApplications>;
|
|
4720
|
+
/**
|
|
4721
|
+
*
|
|
4722
|
+
* @type {Array<string>}
|
|
4723
|
+
* @memberof DeployAllRequest
|
|
4724
|
+
*/
|
|
4725
|
+
'databases'?: Array<string>;
|
|
4719
4726
|
/**
|
|
4720
4727
|
*
|
|
4721
4728
|
* @type {Array<DeployAllRequestContainers>}
|
|
4722
4729
|
* @memberof DeployAllRequest
|
|
4723
4730
|
*/
|
|
4724
4731
|
'containers'?: Array<DeployAllRequestContainers>;
|
|
4732
|
+
/**
|
|
4733
|
+
*
|
|
4734
|
+
* @type {Array<DeployAllRequestJobs>}
|
|
4735
|
+
* @memberof DeployAllRequest
|
|
4736
|
+
*/
|
|
4737
|
+
'jobs'?: Array<DeployAllRequestJobs>;
|
|
4725
4738
|
}
|
|
4726
4739
|
/**
|
|
4727
4740
|
*
|
|
@@ -4761,6 +4774,31 @@ export interface DeployAllRequestContainers {
|
|
|
4761
4774
|
*/
|
|
4762
4775
|
'image_tag': string;
|
|
4763
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
|
+
}
|
|
4764
4802
|
/**
|
|
4765
4803
|
*
|
|
4766
4804
|
* @export
|
|
@@ -25373,48 +25411,6 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
25373
25411
|
options: localVarRequestOptions,
|
|
25374
25412
|
};
|
|
25375
25413
|
},
|
|
25376
|
-
/**
|
|
25377
|
-
* Update and deploy the selected services
|
|
25378
|
-
* @summary Deploy services
|
|
25379
|
-
* @param {string} environmentId Environment ID
|
|
25380
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
25381
|
-
* @param {*} [options] Override http request option.
|
|
25382
|
-
* @throws {RequiredError}
|
|
25383
|
-
*/
|
|
25384
|
-
deployAllServices: async (environmentId: string, deployAllRequest?: DeployAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25385
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
25386
|
-
assertParamExists('deployAllServices', 'environmentId', environmentId)
|
|
25387
|
-
const localVarPath = `/environment/{environmentId}/container/deploy`
|
|
25388
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
25389
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25390
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25391
|
-
let baseOptions;
|
|
25392
|
-
if (configuration) {
|
|
25393
|
-
baseOptions = configuration.baseOptions;
|
|
25394
|
-
}
|
|
25395
|
-
|
|
25396
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
25397
|
-
const localVarHeaderParameter = {} as any;
|
|
25398
|
-
const localVarQueryParameter = {} as any;
|
|
25399
|
-
|
|
25400
|
-
// authentication bearerAuth required
|
|
25401
|
-
// http bearer authentication required
|
|
25402
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
25403
|
-
|
|
25404
|
-
|
|
25405
|
-
|
|
25406
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25407
|
-
|
|
25408
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25409
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25410
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25411
|
-
localVarRequestOptions.data = serializeDataIfNeeded(deployAllRequest, localVarRequestOptions, configuration)
|
|
25412
|
-
|
|
25413
|
-
return {
|
|
25414
|
-
url: toPathString(localVarUrlObj),
|
|
25415
|
-
options: localVarRequestOptions,
|
|
25416
|
-
};
|
|
25417
|
-
},
|
|
25418
25414
|
/**
|
|
25419
25415
|
* Returns a list of containers with only their id and status.
|
|
25420
25416
|
* @summary List all container registry container statuses
|
|
@@ -25719,18 +25715,6 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
25719
25715
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createContainer(environmentId, containerRequest, options);
|
|
25720
25716
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25721
25717
|
},
|
|
25722
|
-
/**
|
|
25723
|
-
* Update and deploy the selected services
|
|
25724
|
-
* @summary Deploy services
|
|
25725
|
-
* @param {string} environmentId Environment ID
|
|
25726
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
25727
|
-
* @param {*} [options] Override http request option.
|
|
25728
|
-
* @throws {RequiredError}
|
|
25729
|
-
*/
|
|
25730
|
-
async deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
25731
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllServices(environmentId, deployAllRequest, options);
|
|
25732
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25733
|
-
},
|
|
25734
25718
|
/**
|
|
25735
25719
|
* Returns a list of containers with only their id and status.
|
|
25736
25720
|
* @summary List all container registry container statuses
|
|
@@ -25841,17 +25825,6 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
25841
25825
|
createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: any): AxiosPromise<ContainerResponse> {
|
|
25842
25826
|
return localVarFp.createContainer(environmentId, containerRequest, options).then((request) => request(axios, basePath));
|
|
25843
25827
|
},
|
|
25844
|
-
/**
|
|
25845
|
-
* Update and deploy the selected services
|
|
25846
|
-
* @summary Deploy services
|
|
25847
|
-
* @param {string} environmentId Environment ID
|
|
25848
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
25849
|
-
* @param {*} [options] Override http request option.
|
|
25850
|
-
* @throws {RequiredError}
|
|
25851
|
-
*/
|
|
25852
|
-
deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
|
|
25853
|
-
return localVarFp.deployAllServices(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
25854
|
-
},
|
|
25855
25828
|
/**
|
|
25856
25829
|
* Returns a list of containers with only their id and status.
|
|
25857
25830
|
* @summary List all container registry container statuses
|
|
@@ -25959,19 +25932,6 @@ export class ContainersApi extends BaseAPI {
|
|
|
25959
25932
|
return ContainersApiFp(this.configuration).createContainer(environmentId, containerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25960
25933
|
}
|
|
25961
25934
|
|
|
25962
|
-
/**
|
|
25963
|
-
* Update and deploy the selected services
|
|
25964
|
-
* @summary Deploy services
|
|
25965
|
-
* @param {string} environmentId Environment ID
|
|
25966
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
25967
|
-
* @param {*} [options] Override http request option.
|
|
25968
|
-
* @throws {RequiredError}
|
|
25969
|
-
* @memberof ContainersApi
|
|
25970
|
-
*/
|
|
25971
|
-
public deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) {
|
|
25972
|
-
return ContainersApiFp(this.configuration).deployAllServices(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25973
|
-
}
|
|
25974
|
-
|
|
25975
25935
|
/**
|
|
25976
25936
|
* Returns a list of containers with only their id and status.
|
|
25977
25937
|
* @summary List all container registry container statuses
|
|
@@ -29089,6 +29049,48 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
29089
29049
|
options: localVarRequestOptions,
|
|
29090
29050
|
};
|
|
29091
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
|
+
},
|
|
29092
29094
|
/**
|
|
29093
29095
|
* This will deploy all the services of this environment to their latest version.
|
|
29094
29096
|
* @summary Deploy environment
|
|
@@ -29240,6 +29242,18 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
|
|
|
29240
29242
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneEnvironment(environmentId, cloneRequest, options);
|
|
29241
29243
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29242
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
|
+
},
|
|
29243
29257
|
/**
|
|
29244
29258
|
* This will deploy all the services of this environment to their latest version.
|
|
29245
29259
|
* @summary Deploy environment
|
|
@@ -29305,6 +29319,17 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
|
|
|
29305
29319
|
cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: any): AxiosPromise<Environment> {
|
|
29306
29320
|
return localVarFp.cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(axios, basePath));
|
|
29307
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
|
+
},
|
|
29308
29333
|
/**
|
|
29309
29334
|
* This will deploy all the services of this environment to their latest version.
|
|
29310
29335
|
* @summary Deploy environment
|
|
@@ -29371,6 +29396,19 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
29371
29396
|
return EnvironmentActionsApiFp(this.configuration).cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29372
29397
|
}
|
|
29373
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
|
+
|
|
29374
29412
|
/**
|
|
29375
29413
|
* This will deploy all the services of this environment to their latest version.
|
|
29376
29414
|
* @summary Deploy environment
|
package/dist/api.d.ts
CHANGED
|
@@ -22,7 +22,8 @@ export declare enum APIVariableScopeEnum {
|
|
|
22
22
|
BUILT_IN = "BUILT_IN",
|
|
23
23
|
ENVIRONMENT = "ENVIRONMENT",
|
|
24
24
|
PROJECT = "PROJECT",
|
|
25
|
-
CONTAINER = "CONTAINER"
|
|
25
|
+
CONTAINER = "CONTAINER",
|
|
26
|
+
JOB = "JOB"
|
|
26
27
|
}
|
|
27
28
|
/**
|
|
28
29
|
*
|
|
@@ -4679,12 +4680,24 @@ export interface DeployAllRequest {
|
|
|
4679
4680
|
* @memberof DeployAllRequest
|
|
4680
4681
|
*/
|
|
4681
4682
|
'applications'?: Array<DeployAllRequestApplications>;
|
|
4683
|
+
/**
|
|
4684
|
+
*
|
|
4685
|
+
* @type {Array<string>}
|
|
4686
|
+
* @memberof DeployAllRequest
|
|
4687
|
+
*/
|
|
4688
|
+
'databases'?: Array<string>;
|
|
4682
4689
|
/**
|
|
4683
4690
|
*
|
|
4684
4691
|
* @type {Array<DeployAllRequestContainers>}
|
|
4685
4692
|
* @memberof DeployAllRequest
|
|
4686
4693
|
*/
|
|
4687
4694
|
'containers'?: Array<DeployAllRequestContainers>;
|
|
4695
|
+
/**
|
|
4696
|
+
*
|
|
4697
|
+
* @type {Array<DeployAllRequestJobs>}
|
|
4698
|
+
* @memberof DeployAllRequest
|
|
4699
|
+
*/
|
|
4700
|
+
'jobs'?: Array<DeployAllRequestJobs>;
|
|
4688
4701
|
}
|
|
4689
4702
|
/**
|
|
4690
4703
|
*
|
|
@@ -4724,6 +4737,31 @@ export interface DeployAllRequestContainers {
|
|
|
4724
4737
|
*/
|
|
4725
4738
|
'image_tag': string;
|
|
4726
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
|
+
}
|
|
4727
4765
|
/**
|
|
4728
4766
|
*
|
|
4729
4767
|
* @export
|
|
@@ -18505,15 +18543,6 @@ export declare const ContainersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
18505
18543
|
* @throws {RequiredError}
|
|
18506
18544
|
*/
|
|
18507
18545
|
createContainer: (environmentId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18508
|
-
/**
|
|
18509
|
-
* Update and deploy the selected services
|
|
18510
|
-
* @summary Deploy services
|
|
18511
|
-
* @param {string} environmentId Environment ID
|
|
18512
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
18513
|
-
* @param {*} [options] Override http request option.
|
|
18514
|
-
* @throws {RequiredError}
|
|
18515
|
-
*/
|
|
18516
|
-
deployAllServices: (environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18517
18546
|
/**
|
|
18518
18547
|
* Returns a list of containers with only their id and status.
|
|
18519
18548
|
* @summary List all container registry container statuses
|
|
@@ -18595,15 +18624,6 @@ export declare const ContainersApiFp: (configuration?: Configuration) => {
|
|
|
18595
18624
|
* @throws {RequiredError}
|
|
18596
18625
|
*/
|
|
18597
18626
|
createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>>;
|
|
18598
|
-
/**
|
|
18599
|
-
* Update and deploy the selected services
|
|
18600
|
-
* @summary Deploy services
|
|
18601
|
-
* @param {string} environmentId Environment ID
|
|
18602
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
18603
|
-
* @param {*} [options] Override http request option.
|
|
18604
|
-
* @throws {RequiredError}
|
|
18605
|
-
*/
|
|
18606
|
-
deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
18607
18627
|
/**
|
|
18608
18628
|
* Returns a list of containers with only their id and status.
|
|
18609
18629
|
* @summary List all container registry container statuses
|
|
@@ -18685,15 +18705,6 @@ export declare const ContainersApiFactory: (configuration?: Configuration, baseP
|
|
|
18685
18705
|
* @throws {RequiredError}
|
|
18686
18706
|
*/
|
|
18687
18707
|
createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: any): AxiosPromise<ContainerResponse>;
|
|
18688
|
-
/**
|
|
18689
|
-
* Update and deploy the selected services
|
|
18690
|
-
* @summary Deploy services
|
|
18691
|
-
* @param {string} environmentId Environment ID
|
|
18692
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
18693
|
-
* @param {*} [options] Override http request option.
|
|
18694
|
-
* @throws {RequiredError}
|
|
18695
|
-
*/
|
|
18696
|
-
deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status>;
|
|
18697
18708
|
/**
|
|
18698
18709
|
* Returns a list of containers with only their id and status.
|
|
18699
18710
|
* @summary List all container registry container statuses
|
|
@@ -18779,16 +18790,6 @@ export declare class ContainersApi extends BaseAPI {
|
|
|
18779
18790
|
* @memberof ContainersApi
|
|
18780
18791
|
*/
|
|
18781
18792
|
createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerResponse>>;
|
|
18782
|
-
/**
|
|
18783
|
-
* Update and deploy the selected services
|
|
18784
|
-
* @summary Deploy services
|
|
18785
|
-
* @param {string} environmentId Environment ID
|
|
18786
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
18787
|
-
* @param {*} [options] Override http request option.
|
|
18788
|
-
* @throws {RequiredError}
|
|
18789
|
-
* @memberof ContainersApi
|
|
18790
|
-
*/
|
|
18791
|
-
deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status>>;
|
|
18792
18793
|
/**
|
|
18793
18794
|
* Returns a list of containers with only their id and status.
|
|
18794
18795
|
* @summary List all container registry container statuses
|
|
@@ -20334,6 +20335,15 @@ export declare const EnvironmentActionsApiAxiosParamCreator: (configuration?: Co
|
|
|
20334
20335
|
* @throws {RequiredError}
|
|
20335
20336
|
*/
|
|
20336
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>;
|
|
20337
20347
|
/**
|
|
20338
20348
|
* This will deploy all the services of this environment to their latest version.
|
|
20339
20349
|
* @summary Deploy environment
|
|
@@ -20382,6 +20392,15 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
|
|
|
20382
20392
|
* @throws {RequiredError}
|
|
20383
20393
|
*/
|
|
20384
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>>;
|
|
20385
20404
|
/**
|
|
20386
20405
|
* This will deploy all the services of this environment to their latest version.
|
|
20387
20406
|
* @summary Deploy environment
|
|
@@ -20430,6 +20449,15 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
|
|
|
20430
20449
|
* @throws {RequiredError}
|
|
20431
20450
|
*/
|
|
20432
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>;
|
|
20433
20461
|
/**
|
|
20434
20462
|
* This will deploy all the services of this environment to their latest version.
|
|
20435
20463
|
* @summary Deploy environment
|
|
@@ -20482,6 +20510,16 @@ export declare class EnvironmentActionsApi extends BaseAPI {
|
|
|
20482
20510
|
* @memberof EnvironmentActionsApi
|
|
20483
20511
|
*/
|
|
20484
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>>;
|
|
20485
20523
|
/**
|
|
20486
20524
|
* This will deploy all the services of this environment to their latest version.
|
|
20487
20525
|
* @summary Deploy environment
|
package/dist/api.js
CHANGED
|
@@ -47,6 +47,7 @@ var APIVariableScopeEnum;
|
|
|
47
47
|
APIVariableScopeEnum["ENVIRONMENT"] = "ENVIRONMENT";
|
|
48
48
|
APIVariableScopeEnum["PROJECT"] = "PROJECT";
|
|
49
49
|
APIVariableScopeEnum["CONTAINER"] = "CONTAINER";
|
|
50
|
+
APIVariableScopeEnum["JOB"] = "JOB";
|
|
50
51
|
})(APIVariableScopeEnum = exports.APIVariableScopeEnum || (exports.APIVariableScopeEnum = {}));
|
|
51
52
|
/**
|
|
52
53
|
* @export
|
|
@@ -12894,41 +12895,6 @@ const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
12894
12895
|
options: localVarRequestOptions,
|
|
12895
12896
|
};
|
|
12896
12897
|
}),
|
|
12897
|
-
/**
|
|
12898
|
-
* Update and deploy the selected services
|
|
12899
|
-
* @summary Deploy services
|
|
12900
|
-
* @param {string} environmentId Environment ID
|
|
12901
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
12902
|
-
* @param {*} [options] Override http request option.
|
|
12903
|
-
* @throws {RequiredError}
|
|
12904
|
-
*/
|
|
12905
|
-
deployAllServices: (environmentId, deployAllRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
12906
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
12907
|
-
(0, common_1.assertParamExists)('deployAllServices', 'environmentId', environmentId);
|
|
12908
|
-
const localVarPath = `/environment/{environmentId}/container/deploy`
|
|
12909
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
12910
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12911
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12912
|
-
let baseOptions;
|
|
12913
|
-
if (configuration) {
|
|
12914
|
-
baseOptions = configuration.baseOptions;
|
|
12915
|
-
}
|
|
12916
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
12917
|
-
const localVarHeaderParameter = {};
|
|
12918
|
-
const localVarQueryParameter = {};
|
|
12919
|
-
// authentication bearerAuth required
|
|
12920
|
-
// http bearer authentication required
|
|
12921
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12922
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12923
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12924
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12925
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12926
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deployAllRequest, localVarRequestOptions, configuration);
|
|
12927
|
-
return {
|
|
12928
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12929
|
-
options: localVarRequestOptions,
|
|
12930
|
-
};
|
|
12931
|
-
}),
|
|
12932
12898
|
/**
|
|
12933
12899
|
* Returns a list of containers with only their id and status.
|
|
12934
12900
|
* @summary List all container registry container statuses
|
|
@@ -13194,20 +13160,6 @@ const ContainersApiFp = function (configuration) {
|
|
|
13194
13160
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
13195
13161
|
});
|
|
13196
13162
|
},
|
|
13197
|
-
/**
|
|
13198
|
-
* Update and deploy the selected services
|
|
13199
|
-
* @summary Deploy services
|
|
13200
|
-
* @param {string} environmentId Environment ID
|
|
13201
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
13202
|
-
* @param {*} [options] Override http request option.
|
|
13203
|
-
* @throws {RequiredError}
|
|
13204
|
-
*/
|
|
13205
|
-
deployAllServices(environmentId, deployAllRequest, options) {
|
|
13206
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
13207
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployAllServices(environmentId, deployAllRequest, options);
|
|
13208
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
13209
|
-
});
|
|
13210
|
-
},
|
|
13211
13163
|
/**
|
|
13212
13164
|
* Returns a list of containers with only their id and status.
|
|
13213
13165
|
* @summary List all container registry container statuses
|
|
@@ -13332,17 +13284,6 @@ const ContainersApiFactory = function (configuration, basePath, axios) {
|
|
|
13332
13284
|
createContainer(environmentId, containerRequest, options) {
|
|
13333
13285
|
return localVarFp.createContainer(environmentId, containerRequest, options).then((request) => request(axios, basePath));
|
|
13334
13286
|
},
|
|
13335
|
-
/**
|
|
13336
|
-
* Update and deploy the selected services
|
|
13337
|
-
* @summary Deploy services
|
|
13338
|
-
* @param {string} environmentId Environment ID
|
|
13339
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
13340
|
-
* @param {*} [options] Override http request option.
|
|
13341
|
-
* @throws {RequiredError}
|
|
13342
|
-
*/
|
|
13343
|
-
deployAllServices(environmentId, deployAllRequest, options) {
|
|
13344
|
-
return localVarFp.deployAllServices(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
13345
|
-
},
|
|
13346
13287
|
/**
|
|
13347
13288
|
* Returns a list of containers with only their id and status.
|
|
13348
13289
|
* @summary List all container registry container statuses
|
|
@@ -13448,18 +13389,6 @@ class ContainersApi extends base_1.BaseAPI {
|
|
|
13448
13389
|
createContainer(environmentId, containerRequest, options) {
|
|
13449
13390
|
return (0, exports.ContainersApiFp)(this.configuration).createContainer(environmentId, containerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
13450
13391
|
}
|
|
13451
|
-
/**
|
|
13452
|
-
* Update and deploy the selected services
|
|
13453
|
-
* @summary Deploy services
|
|
13454
|
-
* @param {string} environmentId Environment ID
|
|
13455
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
13456
|
-
* @param {*} [options] Override http request option.
|
|
13457
|
-
* @throws {RequiredError}
|
|
13458
|
-
* @memberof ContainersApi
|
|
13459
|
-
*/
|
|
13460
|
-
deployAllServices(environmentId, deployAllRequest, options) {
|
|
13461
|
-
return (0, exports.ContainersApiFp)(this.configuration).deployAllServices(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
13462
|
-
}
|
|
13463
13392
|
/**
|
|
13464
13393
|
* Returns a list of containers with only their id and status.
|
|
13465
13394
|
* @summary List all container registry container statuses
|
|
@@ -16374,6 +16303,41 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
|
|
|
16374
16303
|
options: localVarRequestOptions,
|
|
16375
16304
|
};
|
|
16376
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
|
+
}),
|
|
16377
16341
|
/**
|
|
16378
16342
|
* This will deploy all the services of this environment to their latest version.
|
|
16379
16343
|
* @summary Deploy environment
|
|
@@ -16510,6 +16474,20 @@ const EnvironmentActionsApiFp = function (configuration) {
|
|
|
16510
16474
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16511
16475
|
});
|
|
16512
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
|
+
},
|
|
16513
16491
|
/**
|
|
16514
16492
|
* This will deploy all the services of this environment to their latest version.
|
|
16515
16493
|
* @summary Deploy environment
|
|
@@ -16581,6 +16559,17 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
16581
16559
|
cloneEnvironment(environmentId, cloneRequest, options) {
|
|
16582
16560
|
return localVarFp.cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(axios, basePath));
|
|
16583
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
|
+
},
|
|
16584
16573
|
/**
|
|
16585
16574
|
* This will deploy all the services of this environment to their latest version.
|
|
16586
16575
|
* @summary Deploy environment
|
|
@@ -16645,6 +16634,18 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
|
|
|
16645
16634
|
cloneEnvironment(environmentId, cloneRequest, options) {
|
|
16646
16635
|
return (0, exports.EnvironmentActionsApiFp)(this.configuration).cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16647
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
|
+
}
|
|
16648
16649
|
/**
|
|
16649
16650
|
* This will deploy all the services of this environment to their latest version.
|
|
16650
16651
|
* @summary Deploy environment
|