qovery-typescript-axios 1.1.89 → 1.1.91
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 +623 -591
- package/dist/api.d.ts +323 -235
- package/dist/api.js +288 -408
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3344,19 +3344,6 @@ export interface ContainerCurrentScale {
|
|
|
3344
3344
|
*/
|
|
3345
3345
|
'updated_at'?: string;
|
|
3346
3346
|
}
|
|
3347
|
-
/**
|
|
3348
|
-
*
|
|
3349
|
-
* @export
|
|
3350
|
-
* @interface ContainerDependencyRequest
|
|
3351
|
-
*/
|
|
3352
|
-
export interface ContainerDependencyRequest {
|
|
3353
|
-
/**
|
|
3354
|
-
* Set application ID
|
|
3355
|
-
* @type {string}
|
|
3356
|
-
* @memberof ContainerDependencyRequest
|
|
3357
|
-
*/
|
|
3358
|
-
'id': string;
|
|
3359
|
-
}
|
|
3360
3347
|
/**
|
|
3361
3348
|
*
|
|
3362
3349
|
* @export
|
|
@@ -5730,6 +5717,174 @@ export interface DeploymentRuleRequest {
|
|
|
5730
5717
|
*/
|
|
5731
5718
|
'weekdays'?: Array<WeekdayEnum> | null;
|
|
5732
5719
|
}
|
|
5720
|
+
/**
|
|
5721
|
+
*
|
|
5722
|
+
* @export
|
|
5723
|
+
* @interface DeploymentStageRequest
|
|
5724
|
+
*/
|
|
5725
|
+
export interface DeploymentStageRequest {
|
|
5726
|
+
/**
|
|
5727
|
+
* The name of the deployment stage
|
|
5728
|
+
* @type {string}
|
|
5729
|
+
* @memberof DeploymentStageRequest
|
|
5730
|
+
*/
|
|
5731
|
+
'name'?: string;
|
|
5732
|
+
/**
|
|
5733
|
+
* free test describing this stage
|
|
5734
|
+
* @type {string}
|
|
5735
|
+
* @memberof DeploymentStageRequest
|
|
5736
|
+
*/
|
|
5737
|
+
'description'?: string;
|
|
5738
|
+
}
|
|
5739
|
+
/**
|
|
5740
|
+
*
|
|
5741
|
+
* @export
|
|
5742
|
+
* @interface DeploymentStageResponse
|
|
5743
|
+
*/
|
|
5744
|
+
export interface DeploymentStageResponse {
|
|
5745
|
+
/**
|
|
5746
|
+
*
|
|
5747
|
+
* @type {string}
|
|
5748
|
+
* @memberof DeploymentStageResponse
|
|
5749
|
+
*/
|
|
5750
|
+
'id': string;
|
|
5751
|
+
/**
|
|
5752
|
+
*
|
|
5753
|
+
* @type {string}
|
|
5754
|
+
* @memberof DeploymentStageResponse
|
|
5755
|
+
*/
|
|
5756
|
+
'created_at': string;
|
|
5757
|
+
/**
|
|
5758
|
+
*
|
|
5759
|
+
* @type {string}
|
|
5760
|
+
* @memberof DeploymentStageResponse
|
|
5761
|
+
*/
|
|
5762
|
+
'updated_at'?: string;
|
|
5763
|
+
/**
|
|
5764
|
+
*
|
|
5765
|
+
* @type {ReferenceObject}
|
|
5766
|
+
* @memberof DeploymentStageResponse
|
|
5767
|
+
*/
|
|
5768
|
+
'environment': ReferenceObject;
|
|
5769
|
+
/**
|
|
5770
|
+
* name is case insensitive
|
|
5771
|
+
* @type {string}
|
|
5772
|
+
* @memberof DeploymentStageResponse
|
|
5773
|
+
*/
|
|
5774
|
+
'name'?: string;
|
|
5775
|
+
/**
|
|
5776
|
+
*
|
|
5777
|
+
* @type {string}
|
|
5778
|
+
* @memberof DeploymentStageResponse
|
|
5779
|
+
*/
|
|
5780
|
+
'description'?: string;
|
|
5781
|
+
/**
|
|
5782
|
+
* Position of the deployment stage within the environment
|
|
5783
|
+
* @type {number}
|
|
5784
|
+
* @memberof DeploymentStageResponse
|
|
5785
|
+
*/
|
|
5786
|
+
'deployment_order'?: number;
|
|
5787
|
+
/**
|
|
5788
|
+
*
|
|
5789
|
+
* @type {Array<DeploymentStageServiceResponse>}
|
|
5790
|
+
* @memberof DeploymentStageResponse
|
|
5791
|
+
*/
|
|
5792
|
+
'services'?: Array<DeploymentStageServiceResponse>;
|
|
5793
|
+
}
|
|
5794
|
+
/**
|
|
5795
|
+
*
|
|
5796
|
+
* @export
|
|
5797
|
+
* @interface DeploymentStageResponseAllOf
|
|
5798
|
+
*/
|
|
5799
|
+
export interface DeploymentStageResponseAllOf {
|
|
5800
|
+
/**
|
|
5801
|
+
*
|
|
5802
|
+
* @type {ReferenceObject}
|
|
5803
|
+
* @memberof DeploymentStageResponseAllOf
|
|
5804
|
+
*/
|
|
5805
|
+
'environment': ReferenceObject;
|
|
5806
|
+
/**
|
|
5807
|
+
* name is case insensitive
|
|
5808
|
+
* @type {string}
|
|
5809
|
+
* @memberof DeploymentStageResponseAllOf
|
|
5810
|
+
*/
|
|
5811
|
+
'name'?: string;
|
|
5812
|
+
/**
|
|
5813
|
+
*
|
|
5814
|
+
* @type {string}
|
|
5815
|
+
* @memberof DeploymentStageResponseAllOf
|
|
5816
|
+
*/
|
|
5817
|
+
'description'?: string;
|
|
5818
|
+
/**
|
|
5819
|
+
* Position of the deployment stage within the environment
|
|
5820
|
+
* @type {number}
|
|
5821
|
+
* @memberof DeploymentStageResponseAllOf
|
|
5822
|
+
*/
|
|
5823
|
+
'deployment_order'?: number;
|
|
5824
|
+
/**
|
|
5825
|
+
*
|
|
5826
|
+
* @type {Array<DeploymentStageServiceResponse>}
|
|
5827
|
+
* @memberof DeploymentStageResponseAllOf
|
|
5828
|
+
*/
|
|
5829
|
+
'services'?: Array<DeploymentStageServiceResponse>;
|
|
5830
|
+
}
|
|
5831
|
+
/**
|
|
5832
|
+
*
|
|
5833
|
+
* @export
|
|
5834
|
+
* @interface DeploymentStageResponseList
|
|
5835
|
+
*/
|
|
5836
|
+
export interface DeploymentStageResponseList {
|
|
5837
|
+
/**
|
|
5838
|
+
*
|
|
5839
|
+
* @type {Array<DeploymentStageResponse>}
|
|
5840
|
+
* @memberof DeploymentStageResponseList
|
|
5841
|
+
*/
|
|
5842
|
+
'results'?: Array<DeploymentStageResponse>;
|
|
5843
|
+
}
|
|
5844
|
+
/**
|
|
5845
|
+
*
|
|
5846
|
+
* @export
|
|
5847
|
+
* @interface DeploymentStageServiceResponse
|
|
5848
|
+
*/
|
|
5849
|
+
export interface DeploymentStageServiceResponse {
|
|
5850
|
+
/**
|
|
5851
|
+
*
|
|
5852
|
+
* @type {string}
|
|
5853
|
+
* @memberof DeploymentStageServiceResponse
|
|
5854
|
+
*/
|
|
5855
|
+
'id': string;
|
|
5856
|
+
/**
|
|
5857
|
+
*
|
|
5858
|
+
* @type {string}
|
|
5859
|
+
* @memberof DeploymentStageServiceResponse
|
|
5860
|
+
*/
|
|
5861
|
+
'created_at': string;
|
|
5862
|
+
/**
|
|
5863
|
+
*
|
|
5864
|
+
* @type {string}
|
|
5865
|
+
* @memberof DeploymentStageServiceResponse
|
|
5866
|
+
*/
|
|
5867
|
+
'updated_at'?: string;
|
|
5868
|
+
/**
|
|
5869
|
+
* id of the service attached to the stage
|
|
5870
|
+
* @type {string}
|
|
5871
|
+
* @memberof DeploymentStageServiceResponse
|
|
5872
|
+
*/
|
|
5873
|
+
'service_id'?: string;
|
|
5874
|
+
}
|
|
5875
|
+
/**
|
|
5876
|
+
*
|
|
5877
|
+
* @export
|
|
5878
|
+
* @interface DeploymentStageServiceResponseAllOf
|
|
5879
|
+
*/
|
|
5880
|
+
export interface DeploymentStageServiceResponseAllOf {
|
|
5881
|
+
/**
|
|
5882
|
+
* id of the service attached to the stage
|
|
5883
|
+
* @type {string}
|
|
5884
|
+
* @memberof DeploymentStageServiceResponseAllOf
|
|
5885
|
+
*/
|
|
5886
|
+
'service_id'?: string;
|
|
5887
|
+
}
|
|
5733
5888
|
/**
|
|
5734
5889
|
*
|
|
5735
5890
|
* @export
|
|
@@ -23227,27 +23382,23 @@ export class ContainerCustomDomainApi extends BaseAPI {
|
|
|
23227
23382
|
|
|
23228
23383
|
|
|
23229
23384
|
/**
|
|
23230
|
-
*
|
|
23385
|
+
* ContainerDeploymentHistoryApi - axios parameter creator
|
|
23231
23386
|
* @export
|
|
23232
23387
|
*/
|
|
23233
|
-
export const
|
|
23388
|
+
export const ContainerDeploymentHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23234
23389
|
return {
|
|
23235
23390
|
/**
|
|
23236
|
-
*
|
|
23237
|
-
* @summary
|
|
23391
|
+
* Returns the 20 last container deployments
|
|
23392
|
+
* @summary List container deployments
|
|
23238
23393
|
* @param {string} containerId Container ID
|
|
23239
|
-
* @param {string} targetContainerId Target container ID
|
|
23240
23394
|
* @param {*} [options] Override http request option.
|
|
23241
23395
|
* @throws {RequiredError}
|
|
23242
23396
|
*/
|
|
23243
|
-
|
|
23397
|
+
listContainerDeploymentHistory: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23244
23398
|
// verify required parameter 'containerId' is not null or undefined
|
|
23245
|
-
assertParamExists('
|
|
23246
|
-
|
|
23247
|
-
|
|
23248
|
-
const localVarPath = `/container/{containerId}/dependency/{targetContainerId}`
|
|
23249
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
|
|
23250
|
-
.replace(`{${"targetContainerId"}}`, encodeURIComponent(String(targetContainerId)));
|
|
23399
|
+
assertParamExists('listContainerDeploymentHistory', 'containerId', containerId)
|
|
23400
|
+
const localVarPath = `/container/{containerId}/deploymentHistory`
|
|
23401
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
23251
23402
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23252
23403
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23253
23404
|
let baseOptions;
|
|
@@ -23255,7 +23406,7 @@ export const ContainerDependencyApiAxiosParamCreator = function (configuration?:
|
|
|
23255
23406
|
baseOptions = configuration.baseOptions;
|
|
23256
23407
|
}
|
|
23257
23408
|
|
|
23258
|
-
const localVarRequestOptions = { method: '
|
|
23409
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23259
23410
|
const localVarHeaderParameter = {} as any;
|
|
23260
23411
|
const localVarQueryParameter = {} as any;
|
|
23261
23412
|
|
|
@@ -23274,17 +23425,89 @@ export const ContainerDependencyApiAxiosParamCreator = function (configuration?:
|
|
|
23274
23425
|
options: localVarRequestOptions,
|
|
23275
23426
|
};
|
|
23276
23427
|
},
|
|
23428
|
+
}
|
|
23429
|
+
};
|
|
23430
|
+
|
|
23431
|
+
/**
|
|
23432
|
+
* ContainerDeploymentHistoryApi - functional programming interface
|
|
23433
|
+
* @export
|
|
23434
|
+
*/
|
|
23435
|
+
export const ContainerDeploymentHistoryApiFp = function(configuration?: Configuration) {
|
|
23436
|
+
const localVarAxiosParamCreator = ContainerDeploymentHistoryApiAxiosParamCreator(configuration)
|
|
23437
|
+
return {
|
|
23277
23438
|
/**
|
|
23278
|
-
*
|
|
23279
|
-
* @summary List container
|
|
23439
|
+
* Returns the 20 last container deployments
|
|
23440
|
+
* @summary List container deployments
|
|
23441
|
+
* @param {string} containerId Container ID
|
|
23442
|
+
* @param {*} [options] Override http request option.
|
|
23443
|
+
* @throws {RequiredError}
|
|
23444
|
+
*/
|
|
23445
|
+
async listContainerDeploymentHistory(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationData & object>> {
|
|
23446
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listContainerDeploymentHistory(containerId, options);
|
|
23447
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23448
|
+
},
|
|
23449
|
+
}
|
|
23450
|
+
};
|
|
23451
|
+
|
|
23452
|
+
/**
|
|
23453
|
+
* ContainerDeploymentHistoryApi - factory interface
|
|
23454
|
+
* @export
|
|
23455
|
+
*/
|
|
23456
|
+
export const ContainerDeploymentHistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23457
|
+
const localVarFp = ContainerDeploymentHistoryApiFp(configuration)
|
|
23458
|
+
return {
|
|
23459
|
+
/**
|
|
23460
|
+
* Returns the 20 last container deployments
|
|
23461
|
+
* @summary List container deployments
|
|
23462
|
+
* @param {string} containerId Container ID
|
|
23463
|
+
* @param {*} [options] Override http request option.
|
|
23464
|
+
* @throws {RequiredError}
|
|
23465
|
+
*/
|
|
23466
|
+
listContainerDeploymentHistory(containerId: string, options?: any): AxiosPromise<PaginationData & object> {
|
|
23467
|
+
return localVarFp.listContainerDeploymentHistory(containerId, options).then((request) => request(axios, basePath));
|
|
23468
|
+
},
|
|
23469
|
+
};
|
|
23470
|
+
};
|
|
23471
|
+
|
|
23472
|
+
/**
|
|
23473
|
+
* ContainerDeploymentHistoryApi - object-oriented interface
|
|
23474
|
+
* @export
|
|
23475
|
+
* @class ContainerDeploymentHistoryApi
|
|
23476
|
+
* @extends {BaseAPI}
|
|
23477
|
+
*/
|
|
23478
|
+
export class ContainerDeploymentHistoryApi extends BaseAPI {
|
|
23479
|
+
/**
|
|
23480
|
+
* Returns the 20 last container deployments
|
|
23481
|
+
* @summary List container deployments
|
|
23482
|
+
* @param {string} containerId Container ID
|
|
23483
|
+
* @param {*} [options] Override http request option.
|
|
23484
|
+
* @throws {RequiredError}
|
|
23485
|
+
* @memberof ContainerDeploymentHistoryApi
|
|
23486
|
+
*/
|
|
23487
|
+
public listContainerDeploymentHistory(containerId: string, options?: AxiosRequestConfig) {
|
|
23488
|
+
return ContainerDeploymentHistoryApiFp(this.configuration).listContainerDeploymentHistory(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
23489
|
+
}
|
|
23490
|
+
}
|
|
23491
|
+
|
|
23492
|
+
|
|
23493
|
+
/**
|
|
23494
|
+
* ContainerEnvironmentVariableApi - axios parameter creator
|
|
23495
|
+
* @export
|
|
23496
|
+
*/
|
|
23497
|
+
export const ContainerEnvironmentVariableApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23498
|
+
return {
|
|
23499
|
+
/**
|
|
23500
|
+
* - Add an environment variable to the container.
|
|
23501
|
+
* @summary Add an environment variable to the container
|
|
23280
23502
|
* @param {string} containerId Container ID
|
|
23503
|
+
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
23281
23504
|
* @param {*} [options] Override http request option.
|
|
23282
23505
|
* @throws {RequiredError}
|
|
23283
23506
|
*/
|
|
23284
|
-
|
|
23507
|
+
createContainerEnvironmentVariable: async (containerId: string, environmentVariableRequest?: EnvironmentVariableRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23285
23508
|
// verify required parameter 'containerId' is not null or undefined
|
|
23286
|
-
assertParamExists('
|
|
23287
|
-
const localVarPath = `/container/{containerId}/
|
|
23509
|
+
assertParamExists('createContainerEnvironmentVariable', 'containerId', containerId)
|
|
23510
|
+
const localVarPath = `/container/{containerId}/environmentVariable`
|
|
23288
23511
|
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
23289
23512
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23290
23513
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -23293,7 +23516,7 @@ export const ContainerDependencyApiAxiosParamCreator = function (configuration?:
|
|
|
23293
23516
|
baseOptions = configuration.baseOptions;
|
|
23294
23517
|
}
|
|
23295
23518
|
|
|
23296
|
-
const localVarRequestOptions = { method: '
|
|
23519
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23297
23520
|
const localVarHeaderParameter = {} as any;
|
|
23298
23521
|
const localVarQueryParameter = {} as any;
|
|
23299
23522
|
|
|
@@ -23303,9 +23526,12 @@ export const ContainerDependencyApiAxiosParamCreator = function (configuration?:
|
|
|
23303
23526
|
|
|
23304
23527
|
|
|
23305
23528
|
|
|
23529
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23530
|
+
|
|
23306
23531
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23307
23532
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23308
23533
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23534
|
+
localVarRequestOptions.data = serializeDataIfNeeded(environmentVariableRequest, localVarRequestOptions, configuration)
|
|
23309
23535
|
|
|
23310
23536
|
return {
|
|
23311
23537
|
url: toPathString(localVarUrlObj),
|
|
@@ -23313,17 +23539,22 @@ export const ContainerDependencyApiAxiosParamCreator = function (configuration?:
|
|
|
23313
23539
|
};
|
|
23314
23540
|
},
|
|
23315
23541
|
/**
|
|
23316
|
-
*
|
|
23317
|
-
* @summary
|
|
23542
|
+
* - Allows you to add an alias at container level on an existing environment variable having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new environment variable at container level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
|
|
23543
|
+
* @summary Create an environment variable alias at the container level
|
|
23318
23544
|
* @param {string} containerId Container ID
|
|
23545
|
+
* @param {string} environmentVariableId Environment Variable ID
|
|
23546
|
+
* @param {Key} [key]
|
|
23319
23547
|
* @param {*} [options] Override http request option.
|
|
23320
23548
|
* @throws {RequiredError}
|
|
23321
23549
|
*/
|
|
23322
|
-
|
|
23550
|
+
createContainerEnvironmentVariableAlias: async (containerId: string, environmentVariableId: string, key?: Key, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23323
23551
|
// verify required parameter 'containerId' is not null or undefined
|
|
23324
|
-
assertParamExists('
|
|
23325
|
-
|
|
23326
|
-
|
|
23552
|
+
assertParamExists('createContainerEnvironmentVariableAlias', 'containerId', containerId)
|
|
23553
|
+
// verify required parameter 'environmentVariableId' is not null or undefined
|
|
23554
|
+
assertParamExists('createContainerEnvironmentVariableAlias', 'environmentVariableId', environmentVariableId)
|
|
23555
|
+
const localVarPath = `/container/{containerId}/environmentVariable/{environmentVariableId}/alias`
|
|
23556
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
|
|
23557
|
+
.replace(`{${"environmentVariableId"}}`, encodeURIComponent(String(environmentVariableId)));
|
|
23327
23558
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23328
23559
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23329
23560
|
let baseOptions;
|
|
@@ -23331,7 +23562,7 @@ export const ContainerDependencyApiAxiosParamCreator = function (configuration?:
|
|
|
23331
23562
|
baseOptions = configuration.baseOptions;
|
|
23332
23563
|
}
|
|
23333
23564
|
|
|
23334
|
-
const localVarRequestOptions = { method: '
|
|
23565
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23335
23566
|
const localVarHeaderParameter = {} as any;
|
|
23336
23567
|
const localVarQueryParameter = {} as any;
|
|
23337
23568
|
|
|
@@ -23341,358 +23572,24 @@ export const ContainerDependencyApiAxiosParamCreator = function (configuration?:
|
|
|
23341
23572
|
|
|
23342
23573
|
|
|
23343
23574
|
|
|
23575
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23576
|
+
|
|
23344
23577
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23345
23578
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23346
23579
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23580
|
+
localVarRequestOptions.data = serializeDataIfNeeded(key, localVarRequestOptions, configuration)
|
|
23347
23581
|
|
|
23348
23582
|
return {
|
|
23349
23583
|
url: toPathString(localVarUrlObj),
|
|
23350
23584
|
options: localVarRequestOptions,
|
|
23351
23585
|
};
|
|
23352
23586
|
},
|
|
23353
|
-
}
|
|
23354
|
-
};
|
|
23355
|
-
|
|
23356
|
-
/**
|
|
23357
|
-
* ContainerDependencyApi - functional programming interface
|
|
23358
|
-
* @export
|
|
23359
|
-
*/
|
|
23360
|
-
export const ContainerDependencyApiFp = function(configuration?: Configuration) {
|
|
23361
|
-
const localVarAxiosParamCreator = ContainerDependencyApiAxiosParamCreator(configuration)
|
|
23362
|
-
return {
|
|
23363
23587
|
/**
|
|
23364
|
-
*
|
|
23365
|
-
* @summary
|
|
23588
|
+
* - Allows you to override at container level an environment variable that has a higher scope. - You only have to specify a value in the request body - The system will create a new environment variable at container level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" field of the newly created variable
|
|
23589
|
+
* @summary Create an environment variable override at the container level
|
|
23366
23590
|
* @param {string} containerId Container ID
|
|
23367
|
-
* @param {string}
|
|
23368
|
-
* @param {
|
|
23369
|
-
* @throws {RequiredError}
|
|
23370
|
-
*/
|
|
23371
|
-
async createContainerDependency(containerId: string, targetContainerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>> {
|
|
23372
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createContainerDependency(containerId, targetContainerId, options);
|
|
23373
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23374
|
-
},
|
|
23375
|
-
/**
|
|
23376
|
-
*
|
|
23377
|
-
* @summary List container dependencies
|
|
23378
|
-
* @param {string} containerId Container ID
|
|
23379
|
-
* @param {*} [options] Override http request option.
|
|
23380
|
-
* @throws {RequiredError}
|
|
23381
|
-
*/
|
|
23382
|
-
async listContainerDependency(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponseList>> {
|
|
23383
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listContainerDependency(containerId, options);
|
|
23384
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23385
|
-
},
|
|
23386
|
-
/**
|
|
23387
|
-
*
|
|
23388
|
-
* @summary Remove container dependency to this container.
|
|
23389
|
-
* @param {string} containerId Container ID
|
|
23390
|
-
* @param {*} [options] Override http request option.
|
|
23391
|
-
* @throws {RequiredError}
|
|
23392
|
-
*/
|
|
23393
|
-
async removeContainerDependency(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23394
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.removeContainerDependency(containerId, options);
|
|
23395
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23396
|
-
},
|
|
23397
|
-
}
|
|
23398
|
-
};
|
|
23399
|
-
|
|
23400
|
-
/**
|
|
23401
|
-
* ContainerDependencyApi - factory interface
|
|
23402
|
-
* @export
|
|
23403
|
-
*/
|
|
23404
|
-
export const ContainerDependencyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23405
|
-
const localVarFp = ContainerDependencyApiFp(configuration)
|
|
23406
|
-
return {
|
|
23407
|
-
/**
|
|
23408
|
-
* Add container dependency to this container to prevent this container starting before the linked dependencies
|
|
23409
|
-
* @summary Add container dependency to this application.
|
|
23410
|
-
* @param {string} containerId Container ID
|
|
23411
|
-
* @param {string} targetContainerId Target container ID
|
|
23412
|
-
* @param {*} [options] Override http request option.
|
|
23413
|
-
* @throws {RequiredError}
|
|
23414
|
-
*/
|
|
23415
|
-
createContainerDependency(containerId: string, targetContainerId: string, options?: any): AxiosPromise<ContainerResponse> {
|
|
23416
|
-
return localVarFp.createContainerDependency(containerId, targetContainerId, options).then((request) => request(axios, basePath));
|
|
23417
|
-
},
|
|
23418
|
-
/**
|
|
23419
|
-
*
|
|
23420
|
-
* @summary List container dependencies
|
|
23421
|
-
* @param {string} containerId Container ID
|
|
23422
|
-
* @param {*} [options] Override http request option.
|
|
23423
|
-
* @throws {RequiredError}
|
|
23424
|
-
*/
|
|
23425
|
-
listContainerDependency(containerId: string, options?: any): AxiosPromise<ContainerResponseList> {
|
|
23426
|
-
return localVarFp.listContainerDependency(containerId, options).then((request) => request(axios, basePath));
|
|
23427
|
-
},
|
|
23428
|
-
/**
|
|
23429
|
-
*
|
|
23430
|
-
* @summary Remove container dependency to this container.
|
|
23431
|
-
* @param {string} containerId Container ID
|
|
23432
|
-
* @param {*} [options] Override http request option.
|
|
23433
|
-
* @throws {RequiredError}
|
|
23434
|
-
*/
|
|
23435
|
-
removeContainerDependency(containerId: string, options?: any): AxiosPromise<void> {
|
|
23436
|
-
return localVarFp.removeContainerDependency(containerId, options).then((request) => request(axios, basePath));
|
|
23437
|
-
},
|
|
23438
|
-
};
|
|
23439
|
-
};
|
|
23440
|
-
|
|
23441
|
-
/**
|
|
23442
|
-
* ContainerDependencyApi - object-oriented interface
|
|
23443
|
-
* @export
|
|
23444
|
-
* @class ContainerDependencyApi
|
|
23445
|
-
* @extends {BaseAPI}
|
|
23446
|
-
*/
|
|
23447
|
-
export class ContainerDependencyApi extends BaseAPI {
|
|
23448
|
-
/**
|
|
23449
|
-
* Add container dependency to this container to prevent this container starting before the linked dependencies
|
|
23450
|
-
* @summary Add container dependency to this application.
|
|
23451
|
-
* @param {string} containerId Container ID
|
|
23452
|
-
* @param {string} targetContainerId Target container ID
|
|
23453
|
-
* @param {*} [options] Override http request option.
|
|
23454
|
-
* @throws {RequiredError}
|
|
23455
|
-
* @memberof ContainerDependencyApi
|
|
23456
|
-
*/
|
|
23457
|
-
public createContainerDependency(containerId: string, targetContainerId: string, options?: AxiosRequestConfig) {
|
|
23458
|
-
return ContainerDependencyApiFp(this.configuration).createContainerDependency(containerId, targetContainerId, options).then((request) => request(this.axios, this.basePath));
|
|
23459
|
-
}
|
|
23460
|
-
|
|
23461
|
-
/**
|
|
23462
|
-
*
|
|
23463
|
-
* @summary List container dependencies
|
|
23464
|
-
* @param {string} containerId Container ID
|
|
23465
|
-
* @param {*} [options] Override http request option.
|
|
23466
|
-
* @throws {RequiredError}
|
|
23467
|
-
* @memberof ContainerDependencyApi
|
|
23468
|
-
*/
|
|
23469
|
-
public listContainerDependency(containerId: string, options?: AxiosRequestConfig) {
|
|
23470
|
-
return ContainerDependencyApiFp(this.configuration).listContainerDependency(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
23471
|
-
}
|
|
23472
|
-
|
|
23473
|
-
/**
|
|
23474
|
-
*
|
|
23475
|
-
* @summary Remove container dependency to this container.
|
|
23476
|
-
* @param {string} containerId Container ID
|
|
23477
|
-
* @param {*} [options] Override http request option.
|
|
23478
|
-
* @throws {RequiredError}
|
|
23479
|
-
* @memberof ContainerDependencyApi
|
|
23480
|
-
*/
|
|
23481
|
-
public removeContainerDependency(containerId: string, options?: AxiosRequestConfig) {
|
|
23482
|
-
return ContainerDependencyApiFp(this.configuration).removeContainerDependency(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
23483
|
-
}
|
|
23484
|
-
}
|
|
23485
|
-
|
|
23486
|
-
|
|
23487
|
-
/**
|
|
23488
|
-
* ContainerDeploymentHistoryApi - axios parameter creator
|
|
23489
|
-
* @export
|
|
23490
|
-
*/
|
|
23491
|
-
export const ContainerDeploymentHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23492
|
-
return {
|
|
23493
|
-
/**
|
|
23494
|
-
* Returns the 20 last container deployments
|
|
23495
|
-
* @summary List container deployments
|
|
23496
|
-
* @param {string} containerId Container ID
|
|
23497
|
-
* @param {*} [options] Override http request option.
|
|
23498
|
-
* @throws {RequiredError}
|
|
23499
|
-
*/
|
|
23500
|
-
listContainerDeploymentHistory: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23501
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
23502
|
-
assertParamExists('listContainerDeploymentHistory', 'containerId', containerId)
|
|
23503
|
-
const localVarPath = `/container/{containerId}/deploymentHistory`
|
|
23504
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
23505
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23506
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23507
|
-
let baseOptions;
|
|
23508
|
-
if (configuration) {
|
|
23509
|
-
baseOptions = configuration.baseOptions;
|
|
23510
|
-
}
|
|
23511
|
-
|
|
23512
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23513
|
-
const localVarHeaderParameter = {} as any;
|
|
23514
|
-
const localVarQueryParameter = {} as any;
|
|
23515
|
-
|
|
23516
|
-
// authentication bearerAuth required
|
|
23517
|
-
// http bearer authentication required
|
|
23518
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23519
|
-
|
|
23520
|
-
|
|
23521
|
-
|
|
23522
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23523
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23524
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23525
|
-
|
|
23526
|
-
return {
|
|
23527
|
-
url: toPathString(localVarUrlObj),
|
|
23528
|
-
options: localVarRequestOptions,
|
|
23529
|
-
};
|
|
23530
|
-
},
|
|
23531
|
-
}
|
|
23532
|
-
};
|
|
23533
|
-
|
|
23534
|
-
/**
|
|
23535
|
-
* ContainerDeploymentHistoryApi - functional programming interface
|
|
23536
|
-
* @export
|
|
23537
|
-
*/
|
|
23538
|
-
export const ContainerDeploymentHistoryApiFp = function(configuration?: Configuration) {
|
|
23539
|
-
const localVarAxiosParamCreator = ContainerDeploymentHistoryApiAxiosParamCreator(configuration)
|
|
23540
|
-
return {
|
|
23541
|
-
/**
|
|
23542
|
-
* Returns the 20 last container deployments
|
|
23543
|
-
* @summary List container deployments
|
|
23544
|
-
* @param {string} containerId Container ID
|
|
23545
|
-
* @param {*} [options] Override http request option.
|
|
23546
|
-
* @throws {RequiredError}
|
|
23547
|
-
*/
|
|
23548
|
-
async listContainerDeploymentHistory(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationData & object>> {
|
|
23549
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listContainerDeploymentHistory(containerId, options);
|
|
23550
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23551
|
-
},
|
|
23552
|
-
}
|
|
23553
|
-
};
|
|
23554
|
-
|
|
23555
|
-
/**
|
|
23556
|
-
* ContainerDeploymentHistoryApi - factory interface
|
|
23557
|
-
* @export
|
|
23558
|
-
*/
|
|
23559
|
-
export const ContainerDeploymentHistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23560
|
-
const localVarFp = ContainerDeploymentHistoryApiFp(configuration)
|
|
23561
|
-
return {
|
|
23562
|
-
/**
|
|
23563
|
-
* Returns the 20 last container deployments
|
|
23564
|
-
* @summary List container deployments
|
|
23565
|
-
* @param {string} containerId Container ID
|
|
23566
|
-
* @param {*} [options] Override http request option.
|
|
23567
|
-
* @throws {RequiredError}
|
|
23568
|
-
*/
|
|
23569
|
-
listContainerDeploymentHistory(containerId: string, options?: any): AxiosPromise<PaginationData & object> {
|
|
23570
|
-
return localVarFp.listContainerDeploymentHistory(containerId, options).then((request) => request(axios, basePath));
|
|
23571
|
-
},
|
|
23572
|
-
};
|
|
23573
|
-
};
|
|
23574
|
-
|
|
23575
|
-
/**
|
|
23576
|
-
* ContainerDeploymentHistoryApi - object-oriented interface
|
|
23577
|
-
* @export
|
|
23578
|
-
* @class ContainerDeploymentHistoryApi
|
|
23579
|
-
* @extends {BaseAPI}
|
|
23580
|
-
*/
|
|
23581
|
-
export class ContainerDeploymentHistoryApi extends BaseAPI {
|
|
23582
|
-
/**
|
|
23583
|
-
* Returns the 20 last container deployments
|
|
23584
|
-
* @summary List container deployments
|
|
23585
|
-
* @param {string} containerId Container ID
|
|
23586
|
-
* @param {*} [options] Override http request option.
|
|
23587
|
-
* @throws {RequiredError}
|
|
23588
|
-
* @memberof ContainerDeploymentHistoryApi
|
|
23589
|
-
*/
|
|
23590
|
-
public listContainerDeploymentHistory(containerId: string, options?: AxiosRequestConfig) {
|
|
23591
|
-
return ContainerDeploymentHistoryApiFp(this.configuration).listContainerDeploymentHistory(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
23592
|
-
}
|
|
23593
|
-
}
|
|
23594
|
-
|
|
23595
|
-
|
|
23596
|
-
/**
|
|
23597
|
-
* ContainerEnvironmentVariableApi - axios parameter creator
|
|
23598
|
-
* @export
|
|
23599
|
-
*/
|
|
23600
|
-
export const ContainerEnvironmentVariableApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23601
|
-
return {
|
|
23602
|
-
/**
|
|
23603
|
-
* - Add an environment variable to the container.
|
|
23604
|
-
* @summary Add an environment variable to the container
|
|
23605
|
-
* @param {string} containerId Container ID
|
|
23606
|
-
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
23607
|
-
* @param {*} [options] Override http request option.
|
|
23608
|
-
* @throws {RequiredError}
|
|
23609
|
-
*/
|
|
23610
|
-
createContainerEnvironmentVariable: async (containerId: string, environmentVariableRequest?: EnvironmentVariableRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23611
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
23612
|
-
assertParamExists('createContainerEnvironmentVariable', 'containerId', containerId)
|
|
23613
|
-
const localVarPath = `/container/{containerId}/environmentVariable`
|
|
23614
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
23615
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23616
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23617
|
-
let baseOptions;
|
|
23618
|
-
if (configuration) {
|
|
23619
|
-
baseOptions = configuration.baseOptions;
|
|
23620
|
-
}
|
|
23621
|
-
|
|
23622
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23623
|
-
const localVarHeaderParameter = {} as any;
|
|
23624
|
-
const localVarQueryParameter = {} as any;
|
|
23625
|
-
|
|
23626
|
-
// authentication bearerAuth required
|
|
23627
|
-
// http bearer authentication required
|
|
23628
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23629
|
-
|
|
23630
|
-
|
|
23631
|
-
|
|
23632
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23633
|
-
|
|
23634
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23635
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23636
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23637
|
-
localVarRequestOptions.data = serializeDataIfNeeded(environmentVariableRequest, localVarRequestOptions, configuration)
|
|
23638
|
-
|
|
23639
|
-
return {
|
|
23640
|
-
url: toPathString(localVarUrlObj),
|
|
23641
|
-
options: localVarRequestOptions,
|
|
23642
|
-
};
|
|
23643
|
-
},
|
|
23644
|
-
/**
|
|
23645
|
-
* - Allows you to add an alias at container level on an existing environment variable having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new environment variable at container level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
|
|
23646
|
-
* @summary Create an environment variable alias at the container level
|
|
23647
|
-
* @param {string} containerId Container ID
|
|
23648
|
-
* @param {string} environmentVariableId Environment Variable ID
|
|
23649
|
-
* @param {Key} [key]
|
|
23650
|
-
* @param {*} [options] Override http request option.
|
|
23651
|
-
* @throws {RequiredError}
|
|
23652
|
-
*/
|
|
23653
|
-
createContainerEnvironmentVariableAlias: async (containerId: string, environmentVariableId: string, key?: Key, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23654
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
23655
|
-
assertParamExists('createContainerEnvironmentVariableAlias', 'containerId', containerId)
|
|
23656
|
-
// verify required parameter 'environmentVariableId' is not null or undefined
|
|
23657
|
-
assertParamExists('createContainerEnvironmentVariableAlias', 'environmentVariableId', environmentVariableId)
|
|
23658
|
-
const localVarPath = `/container/{containerId}/environmentVariable/{environmentVariableId}/alias`
|
|
23659
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
|
|
23660
|
-
.replace(`{${"environmentVariableId"}}`, encodeURIComponent(String(environmentVariableId)));
|
|
23661
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23662
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23663
|
-
let baseOptions;
|
|
23664
|
-
if (configuration) {
|
|
23665
|
-
baseOptions = configuration.baseOptions;
|
|
23666
|
-
}
|
|
23667
|
-
|
|
23668
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23669
|
-
const localVarHeaderParameter = {} as any;
|
|
23670
|
-
const localVarQueryParameter = {} as any;
|
|
23671
|
-
|
|
23672
|
-
// authentication bearerAuth required
|
|
23673
|
-
// http bearer authentication required
|
|
23674
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23675
|
-
|
|
23676
|
-
|
|
23677
|
-
|
|
23678
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23679
|
-
|
|
23680
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23681
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23682
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23683
|
-
localVarRequestOptions.data = serializeDataIfNeeded(key, localVarRequestOptions, configuration)
|
|
23684
|
-
|
|
23685
|
-
return {
|
|
23686
|
-
url: toPathString(localVarUrlObj),
|
|
23687
|
-
options: localVarRequestOptions,
|
|
23688
|
-
};
|
|
23689
|
-
},
|
|
23690
|
-
/**
|
|
23691
|
-
* - Allows you to override at container level an environment variable that has a higher scope. - You only have to specify a value in the request body - The system will create a new environment variable at container level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" field of the newly created variable
|
|
23692
|
-
* @summary Create an environment variable override at the container level
|
|
23693
|
-
* @param {string} containerId Container ID
|
|
23694
|
-
* @param {string} environmentVariableId Environment Variable ID
|
|
23695
|
-
* @param {Value} [value]
|
|
23591
|
+
* @param {string} environmentVariableId Environment Variable ID
|
|
23592
|
+
* @param {Value} [value]
|
|
23696
23593
|
* @param {*} [options] Override http request option.
|
|
23697
23594
|
* @throws {RequiredError}
|
|
23698
23595
|
*/
|
|
@@ -29320,78 +29217,189 @@ export class DatabasesApi extends BaseAPI {
|
|
|
29320
29217
|
return DatabasesApiFp(this.configuration).createDatabase(environmentId, databaseRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29321
29218
|
}
|
|
29322
29219
|
|
|
29323
|
-
/**
|
|
29324
|
-
* Returns a list of databases with only their id and status.
|
|
29325
|
-
* @summary List all environment databases statuses
|
|
29326
|
-
* @param {string} environmentId Environment ID
|
|
29327
|
-
* @param {*} [options] Override http request option.
|
|
29328
|
-
* @throws {RequiredError}
|
|
29329
|
-
* @memberof DatabasesApi
|
|
29330
|
-
*/
|
|
29331
|
-
public getEnvironmentDatabaseStatus(environmentId: string, options?: AxiosRequestConfig) {
|
|
29332
|
-
return DatabasesApiFp(this.configuration).getEnvironmentDatabaseStatus(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29333
|
-
}
|
|
29220
|
+
/**
|
|
29221
|
+
* Returns a list of databases with only their id and status.
|
|
29222
|
+
* @summary List all environment databases statuses
|
|
29223
|
+
* @param {string} environmentId Environment ID
|
|
29224
|
+
* @param {*} [options] Override http request option.
|
|
29225
|
+
* @throws {RequiredError}
|
|
29226
|
+
* @memberof DatabasesApi
|
|
29227
|
+
*/
|
|
29228
|
+
public getEnvironmentDatabaseStatus(environmentId: string, options?: AxiosRequestConfig) {
|
|
29229
|
+
return DatabasesApiFp(this.configuration).getEnvironmentDatabaseStatus(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29230
|
+
}
|
|
29231
|
+
|
|
29232
|
+
/**
|
|
29233
|
+
*
|
|
29234
|
+
* @summary List environment databases
|
|
29235
|
+
* @param {string} environmentId Environment ID
|
|
29236
|
+
* @param {*} [options] Override http request option.
|
|
29237
|
+
* @throws {RequiredError}
|
|
29238
|
+
* @memberof DatabasesApi
|
|
29239
|
+
*/
|
|
29240
|
+
public listDatabase(environmentId: string, options?: AxiosRequestConfig) {
|
|
29241
|
+
return DatabasesApiFp(this.configuration).listDatabase(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29242
|
+
}
|
|
29243
|
+
|
|
29244
|
+
/**
|
|
29245
|
+
*
|
|
29246
|
+
* @summary List eligible database types, versions and modes for the environment
|
|
29247
|
+
* @param {string} environmentId Environment ID
|
|
29248
|
+
* @param {*} [options] Override http request option.
|
|
29249
|
+
* @throws {RequiredError}
|
|
29250
|
+
* @memberof DatabasesApi
|
|
29251
|
+
*/
|
|
29252
|
+
public listEnvironmentDatabaseConfig(environmentId: string, options?: AxiosRequestConfig) {
|
|
29253
|
+
return DatabasesApiFp(this.configuration).listEnvironmentDatabaseConfig(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29254
|
+
}
|
|
29255
|
+
|
|
29256
|
+
/**
|
|
29257
|
+
*
|
|
29258
|
+
* @summary List current metric consumption for each database
|
|
29259
|
+
* @param {string} environmentId Environment ID
|
|
29260
|
+
* @param {*} [options] Override http request option.
|
|
29261
|
+
* @throws {RequiredError}
|
|
29262
|
+
* @memberof DatabasesApi
|
|
29263
|
+
*/
|
|
29264
|
+
public listEnvironmentDatabaseCurrentMetric(environmentId: string, options?: AxiosRequestConfig) {
|
|
29265
|
+
return DatabasesApiFp(this.configuration).listEnvironmentDatabaseCurrentMetric(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29266
|
+
}
|
|
29267
|
+
}
|
|
29268
|
+
|
|
29269
|
+
|
|
29270
|
+
/**
|
|
29271
|
+
* DeploymentStageMainCallsApi - axios parameter creator
|
|
29272
|
+
* @export
|
|
29273
|
+
*/
|
|
29274
|
+
export const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29275
|
+
return {
|
|
29276
|
+
/**
|
|
29277
|
+
*
|
|
29278
|
+
* @summary Attach service to deployment stage
|
|
29279
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29280
|
+
* @param {*} [options] Override http request option.
|
|
29281
|
+
* @throws {RequiredError}
|
|
29282
|
+
*/
|
|
29283
|
+
attachServiceToDeploymentStage: async (serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29284
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
29285
|
+
assertParamExists('attachServiceToDeploymentStage', 'serviceId', serviceId)
|
|
29286
|
+
const localVarPath = `/deploymentStage/{deploymentStageId}/service/{serviceId}`
|
|
29287
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
29288
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29289
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29290
|
+
let baseOptions;
|
|
29291
|
+
if (configuration) {
|
|
29292
|
+
baseOptions = configuration.baseOptions;
|
|
29293
|
+
}
|
|
29294
|
+
|
|
29295
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
29296
|
+
const localVarHeaderParameter = {} as any;
|
|
29297
|
+
const localVarQueryParameter = {} as any;
|
|
29298
|
+
|
|
29299
|
+
// authentication bearerAuth required
|
|
29300
|
+
// http bearer authentication required
|
|
29301
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29302
|
+
|
|
29303
|
+
|
|
29304
|
+
|
|
29305
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29306
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29307
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29308
|
+
|
|
29309
|
+
return {
|
|
29310
|
+
url: toPathString(localVarUrlObj),
|
|
29311
|
+
options: localVarRequestOptions,
|
|
29312
|
+
};
|
|
29313
|
+
},
|
|
29314
|
+
/**
|
|
29315
|
+
*
|
|
29316
|
+
* @summary Create environment deployment stage
|
|
29317
|
+
* @param {string} environmentId Environment ID
|
|
29318
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
29319
|
+
* @param {*} [options] Override http request option.
|
|
29320
|
+
* @throws {RequiredError}
|
|
29321
|
+
*/
|
|
29322
|
+
createEnvironmentDeploymentStage: async (environmentId: string, deploymentStageRequest?: DeploymentStageRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29323
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
29324
|
+
assertParamExists('createEnvironmentDeploymentStage', 'environmentId', environmentId)
|
|
29325
|
+
const localVarPath = `/environment/{environmentId}/deploymentStage`
|
|
29326
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
29327
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29328
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29329
|
+
let baseOptions;
|
|
29330
|
+
if (configuration) {
|
|
29331
|
+
baseOptions = configuration.baseOptions;
|
|
29332
|
+
}
|
|
29333
|
+
|
|
29334
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29335
|
+
const localVarHeaderParameter = {} as any;
|
|
29336
|
+
const localVarQueryParameter = {} as any;
|
|
29337
|
+
|
|
29338
|
+
// authentication bearerAuth required
|
|
29339
|
+
// http bearer authentication required
|
|
29340
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29341
|
+
|
|
29334
29342
|
|
|
29335
|
-
|
|
29336
|
-
|
|
29337
|
-
* @summary List environment databases
|
|
29338
|
-
* @param {string} environmentId Environment ID
|
|
29339
|
-
* @param {*} [options] Override http request option.
|
|
29340
|
-
* @throws {RequiredError}
|
|
29341
|
-
* @memberof DatabasesApi
|
|
29342
|
-
*/
|
|
29343
|
-
public listDatabase(environmentId: string, options?: AxiosRequestConfig) {
|
|
29344
|
-
return DatabasesApiFp(this.configuration).listDatabase(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29345
|
-
}
|
|
29343
|
+
|
|
29344
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29346
29345
|
|
|
29347
|
-
|
|
29348
|
-
|
|
29349
|
-
|
|
29350
|
-
|
|
29351
|
-
* @param {*} [options] Override http request option.
|
|
29352
|
-
* @throws {RequiredError}
|
|
29353
|
-
* @memberof DatabasesApi
|
|
29354
|
-
*/
|
|
29355
|
-
public listEnvironmentDatabaseConfig(environmentId: string, options?: AxiosRequestConfig) {
|
|
29356
|
-
return DatabasesApiFp(this.configuration).listEnvironmentDatabaseConfig(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29357
|
-
}
|
|
29346
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29347
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29348
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29349
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deploymentStageRequest, localVarRequestOptions, configuration)
|
|
29358
29350
|
|
|
29359
|
-
|
|
29360
|
-
|
|
29361
|
-
|
|
29362
|
-
|
|
29363
|
-
|
|
29364
|
-
|
|
29365
|
-
|
|
29366
|
-
|
|
29367
|
-
|
|
29368
|
-
|
|
29369
|
-
|
|
29370
|
-
}
|
|
29351
|
+
return {
|
|
29352
|
+
url: toPathString(localVarUrlObj),
|
|
29353
|
+
options: localVarRequestOptions,
|
|
29354
|
+
};
|
|
29355
|
+
},
|
|
29356
|
+
/**
|
|
29357
|
+
*
|
|
29358
|
+
* @summary Delete deployment stage
|
|
29359
|
+
* @param {*} [options] Override http request option.
|
|
29360
|
+
* @throws {RequiredError}
|
|
29361
|
+
*/
|
|
29362
|
+
deleteDeploymentStage: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29363
|
+
const localVarPath = `/deploymentStage/{deploymentStageId}`;
|
|
29364
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29365
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29366
|
+
let baseOptions;
|
|
29367
|
+
if (configuration) {
|
|
29368
|
+
baseOptions = configuration.baseOptions;
|
|
29369
|
+
}
|
|
29371
29370
|
|
|
29371
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
29372
|
+
const localVarHeaderParameter = {} as any;
|
|
29373
|
+
const localVarQueryParameter = {} as any;
|
|
29372
29374
|
|
|
29373
|
-
|
|
29374
|
-
|
|
29375
|
-
|
|
29376
|
-
|
|
29377
|
-
|
|
29378
|
-
|
|
29375
|
+
// authentication bearerAuth required
|
|
29376
|
+
// http bearer authentication required
|
|
29377
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29378
|
+
|
|
29379
|
+
|
|
29380
|
+
|
|
29381
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29382
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29383
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29384
|
+
|
|
29385
|
+
return {
|
|
29386
|
+
url: toPathString(localVarUrlObj),
|
|
29387
|
+
options: localVarRequestOptions,
|
|
29388
|
+
};
|
|
29389
|
+
},
|
|
29379
29390
|
/**
|
|
29380
|
-
*
|
|
29381
|
-
* @summary
|
|
29382
|
-
* @param {string}
|
|
29383
|
-
* @param {
|
|
29391
|
+
*
|
|
29392
|
+
* @summary Edit deployment stage
|
|
29393
|
+
* @param {string} deploymentStageId Deployment Stage ID
|
|
29394
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
29384
29395
|
* @param {*} [options] Override http request option.
|
|
29385
29396
|
* @throws {RequiredError}
|
|
29386
29397
|
*/
|
|
29387
|
-
|
|
29388
|
-
// verify required parameter '
|
|
29389
|
-
assertParamExists('
|
|
29390
|
-
|
|
29391
|
-
|
|
29392
|
-
const localVarPath = `/application/{applicationId}/dependency/{targetApplicationId}`
|
|
29393
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
29394
|
-
.replace(`{${"targetApplicationId"}}`, encodeURIComponent(String(targetApplicationId)));
|
|
29398
|
+
editDeploymentStage: async (deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29399
|
+
// verify required parameter 'deploymentStageId' is not null or undefined
|
|
29400
|
+
assertParamExists('editDeploymentStage', 'deploymentStageId', deploymentStageId)
|
|
29401
|
+
const localVarPath = `/deploymentStage/{deploymentStageId}`
|
|
29402
|
+
.replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
|
|
29395
29403
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29396
29404
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29397
29405
|
let baseOptions;
|
|
@@ -29399,7 +29407,7 @@ export const DependencyApiAxiosParamCreator = function (configuration?: Configur
|
|
|
29399
29407
|
baseOptions = configuration.baseOptions;
|
|
29400
29408
|
}
|
|
29401
29409
|
|
|
29402
|
-
const localVarRequestOptions = { method: '
|
|
29410
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
29403
29411
|
const localVarHeaderParameter = {} as any;
|
|
29404
29412
|
const localVarQueryParameter = {} as any;
|
|
29405
29413
|
|
|
@@ -29409,9 +29417,12 @@ export const DependencyApiAxiosParamCreator = function (configuration?: Configur
|
|
|
29409
29417
|
|
|
29410
29418
|
|
|
29411
29419
|
|
|
29420
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29421
|
+
|
|
29412
29422
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29413
29423
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29414
29424
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29425
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deploymentStageRequest, localVarRequestOptions, configuration)
|
|
29415
29426
|
|
|
29416
29427
|
return {
|
|
29417
29428
|
url: toPathString(localVarUrlObj),
|
|
@@ -29420,16 +29431,16 @@ export const DependencyApiAxiosParamCreator = function (configuration?: Configur
|
|
|
29420
29431
|
},
|
|
29421
29432
|
/**
|
|
29422
29433
|
*
|
|
29423
|
-
* @summary List
|
|
29424
|
-
* @param {string}
|
|
29434
|
+
* @summary List environment deployment stage
|
|
29435
|
+
* @param {string} environmentId Environment ID
|
|
29425
29436
|
* @param {*} [options] Override http request option.
|
|
29426
29437
|
* @throws {RequiredError}
|
|
29427
29438
|
*/
|
|
29428
|
-
|
|
29429
|
-
// verify required parameter '
|
|
29430
|
-
assertParamExists('
|
|
29431
|
-
const localVarPath = `/
|
|
29432
|
-
.replace(`{${"
|
|
29439
|
+
listEnvironmentDeploymentStage: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29440
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
29441
|
+
assertParamExists('listEnvironmentDeploymentStage', 'environmentId', environmentId)
|
|
29442
|
+
const localVarPath = `/environment/{environmentId}/deploymentStage`
|
|
29443
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
29433
29444
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29434
29445
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29435
29446
|
let baseOptions;
|
|
@@ -29458,20 +29469,16 @@ export const DependencyApiAxiosParamCreator = function (configuration?: Configur
|
|
|
29458
29469
|
},
|
|
29459
29470
|
/**
|
|
29460
29471
|
*
|
|
29461
|
-
* @summary
|
|
29462
|
-
* @param {string}
|
|
29463
|
-
* @param {string} targetApplicationId Target application ID
|
|
29472
|
+
* @summary Move deployment stage before requested stage
|
|
29473
|
+
* @param {string} stageId Deployment Stage ID
|
|
29464
29474
|
* @param {*} [options] Override http request option.
|
|
29465
29475
|
* @throws {RequiredError}
|
|
29466
29476
|
*/
|
|
29467
|
-
|
|
29468
|
-
// verify required parameter '
|
|
29469
|
-
assertParamExists('
|
|
29470
|
-
|
|
29471
|
-
|
|
29472
|
-
const localVarPath = `/application/{applicationId}/dependency/{targetApplicationId}`
|
|
29473
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
29474
|
-
.replace(`{${"targetApplicationId"}}`, encodeURIComponent(String(targetApplicationId)));
|
|
29477
|
+
moveDeploymentStage: async (stageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29478
|
+
// verify required parameter 'stageId' is not null or undefined
|
|
29479
|
+
assertParamExists('moveDeploymentStage', 'stageId', stageId)
|
|
29480
|
+
const localVarPath = `/deploymentStage/{deploymentStageId}/moveBefore/{stageId}`
|
|
29481
|
+
.replace(`{${"stageId"}}`, encodeURIComponent(String(stageId)));
|
|
29475
29482
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29476
29483
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29477
29484
|
let baseOptions;
|
|
@@ -29479,7 +29486,7 @@ export const DependencyApiAxiosParamCreator = function (configuration?: Configur
|
|
|
29479
29486
|
baseOptions = configuration.baseOptions;
|
|
29480
29487
|
}
|
|
29481
29488
|
|
|
29482
|
-
const localVarRequestOptions = { method: '
|
|
29489
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
29483
29490
|
const localVarHeaderParameter = {} as any;
|
|
29484
29491
|
const localVarQueryParameter = {} as any;
|
|
29485
29492
|
|
|
@@ -29502,135 +29509,231 @@ export const DependencyApiAxiosParamCreator = function (configuration?: Configur
|
|
|
29502
29509
|
};
|
|
29503
29510
|
|
|
29504
29511
|
/**
|
|
29505
|
-
*
|
|
29512
|
+
* DeploymentStageMainCallsApi - functional programming interface
|
|
29506
29513
|
* @export
|
|
29507
29514
|
*/
|
|
29508
|
-
export const
|
|
29509
|
-
const localVarAxiosParamCreator =
|
|
29515
|
+
export const DeploymentStageMainCallsApiFp = function(configuration?: Configuration) {
|
|
29516
|
+
const localVarAxiosParamCreator = DeploymentStageMainCallsApiAxiosParamCreator(configuration)
|
|
29510
29517
|
return {
|
|
29511
29518
|
/**
|
|
29512
|
-
*
|
|
29513
|
-
* @summary
|
|
29514
|
-
* @param {string}
|
|
29515
|
-
* @param {string} targetApplicationId Target application ID
|
|
29519
|
+
*
|
|
29520
|
+
* @summary Attach service to deployment stage
|
|
29521
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29516
29522
|
* @param {*} [options] Override http request option.
|
|
29517
29523
|
* @throws {RequiredError}
|
|
29518
29524
|
*/
|
|
29519
|
-
async
|
|
29520
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
29525
|
+
async attachServiceToDeploymentStage(serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
29526
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.attachServiceToDeploymentStage(serviceId, options);
|
|
29521
29527
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29522
29528
|
},
|
|
29523
29529
|
/**
|
|
29524
29530
|
*
|
|
29525
|
-
* @summary
|
|
29526
|
-
* @param {string}
|
|
29531
|
+
* @summary Create environment deployment stage
|
|
29532
|
+
* @param {string} environmentId Environment ID
|
|
29533
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
29527
29534
|
* @param {*} [options] Override http request option.
|
|
29528
29535
|
* @throws {RequiredError}
|
|
29529
29536
|
*/
|
|
29530
|
-
async
|
|
29531
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
29537
|
+
async createEnvironmentDeploymentStage(environmentId: string, deploymentStageRequest?: DeploymentStageRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponse>> {
|
|
29538
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options);
|
|
29532
29539
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29533
29540
|
},
|
|
29534
29541
|
/**
|
|
29535
29542
|
*
|
|
29536
|
-
* @summary
|
|
29537
|
-
* @param {
|
|
29538
|
-
* @
|
|
29543
|
+
* @summary Delete deployment stage
|
|
29544
|
+
* @param {*} [options] Override http request option.
|
|
29545
|
+
* @throws {RequiredError}
|
|
29546
|
+
*/
|
|
29547
|
+
async deleteDeploymentStage(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
29548
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeploymentStage(options);
|
|
29549
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29550
|
+
},
|
|
29551
|
+
/**
|
|
29552
|
+
*
|
|
29553
|
+
* @summary Edit deployment stage
|
|
29554
|
+
* @param {string} deploymentStageId Deployment Stage ID
|
|
29555
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
29539
29556
|
* @param {*} [options] Override http request option.
|
|
29540
29557
|
* @throws {RequiredError}
|
|
29541
29558
|
*/
|
|
29542
|
-
async
|
|
29543
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
29559
|
+
async editDeploymentStage(deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponse>> {
|
|
29560
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editDeploymentStage(deploymentStageId, deploymentStageRequest, options);
|
|
29561
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29562
|
+
},
|
|
29563
|
+
/**
|
|
29564
|
+
*
|
|
29565
|
+
* @summary List environment deployment stage
|
|
29566
|
+
* @param {string} environmentId Environment ID
|
|
29567
|
+
* @param {*} [options] Override http request option.
|
|
29568
|
+
* @throws {RequiredError}
|
|
29569
|
+
*/
|
|
29570
|
+
async listEnvironmentDeploymentStage(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
|
|
29571
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentDeploymentStage(environmentId, options);
|
|
29572
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29573
|
+
},
|
|
29574
|
+
/**
|
|
29575
|
+
*
|
|
29576
|
+
* @summary Move deployment stage before requested stage
|
|
29577
|
+
* @param {string} stageId Deployment Stage ID
|
|
29578
|
+
* @param {*} [options] Override http request option.
|
|
29579
|
+
* @throws {RequiredError}
|
|
29580
|
+
*/
|
|
29581
|
+
async moveDeploymentStage(stageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
|
|
29582
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.moveDeploymentStage(stageId, options);
|
|
29544
29583
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29545
29584
|
},
|
|
29546
29585
|
}
|
|
29547
29586
|
};
|
|
29548
29587
|
|
|
29549
29588
|
/**
|
|
29550
|
-
*
|
|
29589
|
+
* DeploymentStageMainCallsApi - factory interface
|
|
29551
29590
|
* @export
|
|
29552
29591
|
*/
|
|
29553
|
-
export const
|
|
29554
|
-
const localVarFp =
|
|
29592
|
+
export const DeploymentStageMainCallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
29593
|
+
const localVarFp = DeploymentStageMainCallsApiFp(configuration)
|
|
29555
29594
|
return {
|
|
29556
29595
|
/**
|
|
29557
|
-
*
|
|
29558
|
-
* @summary
|
|
29559
|
-
* @param {string}
|
|
29560
|
-
* @param {string} targetApplicationId Target application ID
|
|
29596
|
+
*
|
|
29597
|
+
* @summary Attach service to deployment stage
|
|
29598
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29561
29599
|
* @param {*} [options] Override http request option.
|
|
29562
29600
|
* @throws {RequiredError}
|
|
29563
29601
|
*/
|
|
29564
|
-
|
|
29565
|
-
return localVarFp.
|
|
29602
|
+
attachServiceToDeploymentStage(serviceId: string, options?: any): AxiosPromise<void> {
|
|
29603
|
+
return localVarFp.attachServiceToDeploymentStage(serviceId, options).then((request) => request(axios, basePath));
|
|
29566
29604
|
},
|
|
29567
29605
|
/**
|
|
29568
29606
|
*
|
|
29569
|
-
* @summary
|
|
29570
|
-
* @param {string}
|
|
29607
|
+
* @summary Create environment deployment stage
|
|
29608
|
+
* @param {string} environmentId Environment ID
|
|
29609
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
29571
29610
|
* @param {*} [options] Override http request option.
|
|
29572
29611
|
* @throws {RequiredError}
|
|
29573
29612
|
*/
|
|
29574
|
-
|
|
29575
|
-
return localVarFp.
|
|
29613
|
+
createEnvironmentDeploymentStage(environmentId: string, deploymentStageRequest?: DeploymentStageRequest, options?: any): AxiosPromise<DeploymentStageResponse> {
|
|
29614
|
+
return localVarFp.createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options).then((request) => request(axios, basePath));
|
|
29576
29615
|
},
|
|
29577
29616
|
/**
|
|
29578
29617
|
*
|
|
29579
|
-
* @summary
|
|
29580
|
-
* @param {
|
|
29581
|
-
* @
|
|
29618
|
+
* @summary Delete deployment stage
|
|
29619
|
+
* @param {*} [options] Override http request option.
|
|
29620
|
+
* @throws {RequiredError}
|
|
29621
|
+
*/
|
|
29622
|
+
deleteDeploymentStage(options?: any): AxiosPromise<void> {
|
|
29623
|
+
return localVarFp.deleteDeploymentStage(options).then((request) => request(axios, basePath));
|
|
29624
|
+
},
|
|
29625
|
+
/**
|
|
29626
|
+
*
|
|
29627
|
+
* @summary Edit deployment stage
|
|
29628
|
+
* @param {string} deploymentStageId Deployment Stage ID
|
|
29629
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
29630
|
+
* @param {*} [options] Override http request option.
|
|
29631
|
+
* @throws {RequiredError}
|
|
29632
|
+
*/
|
|
29633
|
+
editDeploymentStage(deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: any): AxiosPromise<DeploymentStageResponse> {
|
|
29634
|
+
return localVarFp.editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(axios, basePath));
|
|
29635
|
+
},
|
|
29636
|
+
/**
|
|
29637
|
+
*
|
|
29638
|
+
* @summary List environment deployment stage
|
|
29639
|
+
* @param {string} environmentId Environment ID
|
|
29640
|
+
* @param {*} [options] Override http request option.
|
|
29641
|
+
* @throws {RequiredError}
|
|
29642
|
+
*/
|
|
29643
|
+
listEnvironmentDeploymentStage(environmentId: string, options?: any): AxiosPromise<DeploymentStageResponseList> {
|
|
29644
|
+
return localVarFp.listEnvironmentDeploymentStage(environmentId, options).then((request) => request(axios, basePath));
|
|
29645
|
+
},
|
|
29646
|
+
/**
|
|
29647
|
+
*
|
|
29648
|
+
* @summary Move deployment stage before requested stage
|
|
29649
|
+
* @param {string} stageId Deployment Stage ID
|
|
29582
29650
|
* @param {*} [options] Override http request option.
|
|
29583
29651
|
* @throws {RequiredError}
|
|
29584
29652
|
*/
|
|
29585
|
-
|
|
29586
|
-
return localVarFp.
|
|
29653
|
+
moveDeploymentStage(stageId: string, options?: any): AxiosPromise<DeploymentStageResponseList> {
|
|
29654
|
+
return localVarFp.moveDeploymentStage(stageId, options).then((request) => request(axios, basePath));
|
|
29587
29655
|
},
|
|
29588
29656
|
};
|
|
29589
29657
|
};
|
|
29590
29658
|
|
|
29591
29659
|
/**
|
|
29592
|
-
*
|
|
29660
|
+
* DeploymentStageMainCallsApi - object-oriented interface
|
|
29593
29661
|
* @export
|
|
29594
|
-
* @class
|
|
29662
|
+
* @class DeploymentStageMainCallsApi
|
|
29595
29663
|
* @extends {BaseAPI}
|
|
29596
29664
|
*/
|
|
29597
|
-
export class
|
|
29665
|
+
export class DeploymentStageMainCallsApi extends BaseAPI {
|
|
29598
29666
|
/**
|
|
29599
|
-
*
|
|
29600
|
-
* @summary
|
|
29601
|
-
* @param {string}
|
|
29602
|
-
* @param {string} targetApplicationId Target application ID
|
|
29667
|
+
*
|
|
29668
|
+
* @summary Attach service to deployment stage
|
|
29669
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29603
29670
|
* @param {*} [options] Override http request option.
|
|
29604
29671
|
* @throws {RequiredError}
|
|
29605
|
-
* @memberof
|
|
29672
|
+
* @memberof DeploymentStageMainCallsApi
|
|
29606
29673
|
*/
|
|
29607
|
-
public
|
|
29608
|
-
return
|
|
29674
|
+
public attachServiceToDeploymentStage(serviceId: string, options?: AxiosRequestConfig) {
|
|
29675
|
+
return DeploymentStageMainCallsApiFp(this.configuration).attachServiceToDeploymentStage(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
29609
29676
|
}
|
|
29610
29677
|
|
|
29611
29678
|
/**
|
|
29612
29679
|
*
|
|
29613
|
-
* @summary
|
|
29614
|
-
* @param {string}
|
|
29680
|
+
* @summary Create environment deployment stage
|
|
29681
|
+
* @param {string} environmentId Environment ID
|
|
29682
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
29615
29683
|
* @param {*} [options] Override http request option.
|
|
29616
29684
|
* @throws {RequiredError}
|
|
29617
|
-
* @memberof
|
|
29685
|
+
* @memberof DeploymentStageMainCallsApi
|
|
29618
29686
|
*/
|
|
29619
|
-
public
|
|
29620
|
-
return
|
|
29687
|
+
public createEnvironmentDeploymentStage(environmentId: string, deploymentStageRequest?: DeploymentStageRequest, options?: AxiosRequestConfig) {
|
|
29688
|
+
return DeploymentStageMainCallsApiFp(this.configuration).createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29621
29689
|
}
|
|
29622
29690
|
|
|
29623
29691
|
/**
|
|
29624
29692
|
*
|
|
29625
|
-
* @summary
|
|
29626
|
-
* @param {
|
|
29627
|
-
* @
|
|
29693
|
+
* @summary Delete deployment stage
|
|
29694
|
+
* @param {*} [options] Override http request option.
|
|
29695
|
+
* @throws {RequiredError}
|
|
29696
|
+
* @memberof DeploymentStageMainCallsApi
|
|
29697
|
+
*/
|
|
29698
|
+
public deleteDeploymentStage(options?: AxiosRequestConfig) {
|
|
29699
|
+
return DeploymentStageMainCallsApiFp(this.configuration).deleteDeploymentStage(options).then((request) => request(this.axios, this.basePath));
|
|
29700
|
+
}
|
|
29701
|
+
|
|
29702
|
+
/**
|
|
29703
|
+
*
|
|
29704
|
+
* @summary Edit deployment stage
|
|
29705
|
+
* @param {string} deploymentStageId Deployment Stage ID
|
|
29706
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
29707
|
+
* @param {*} [options] Override http request option.
|
|
29708
|
+
* @throws {RequiredError}
|
|
29709
|
+
* @memberof DeploymentStageMainCallsApi
|
|
29710
|
+
*/
|
|
29711
|
+
public editDeploymentStage(deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: AxiosRequestConfig) {
|
|
29712
|
+
return DeploymentStageMainCallsApiFp(this.configuration).editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29713
|
+
}
|
|
29714
|
+
|
|
29715
|
+
/**
|
|
29716
|
+
*
|
|
29717
|
+
* @summary List environment deployment stage
|
|
29718
|
+
* @param {string} environmentId Environment ID
|
|
29719
|
+
* @param {*} [options] Override http request option.
|
|
29720
|
+
* @throws {RequiredError}
|
|
29721
|
+
* @memberof DeploymentStageMainCallsApi
|
|
29722
|
+
*/
|
|
29723
|
+
public listEnvironmentDeploymentStage(environmentId: string, options?: AxiosRequestConfig) {
|
|
29724
|
+
return DeploymentStageMainCallsApiFp(this.configuration).listEnvironmentDeploymentStage(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29725
|
+
}
|
|
29726
|
+
|
|
29727
|
+
/**
|
|
29728
|
+
*
|
|
29729
|
+
* @summary Move deployment stage before requested stage
|
|
29730
|
+
* @param {string} stageId Deployment Stage ID
|
|
29628
29731
|
* @param {*} [options] Override http request option.
|
|
29629
29732
|
* @throws {RequiredError}
|
|
29630
|
-
* @memberof
|
|
29733
|
+
* @memberof DeploymentStageMainCallsApi
|
|
29631
29734
|
*/
|
|
29632
|
-
public
|
|
29633
|
-
return
|
|
29735
|
+
public moveDeploymentStage(stageId: string, options?: AxiosRequestConfig) {
|
|
29736
|
+
return DeploymentStageMainCallsApiFp(this.configuration).moveDeploymentStage(stageId, options).then((request) => request(this.axios, this.basePath));
|
|
29634
29737
|
}
|
|
29635
29738
|
}
|
|
29636
29739
|
|
|
@@ -30542,44 +30645,6 @@ export const EnvironmentDeploymentRuleApiAxiosParamCreator = function (configura
|
|
|
30542
30645
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30543
30646
|
localVarRequestOptions.data = serializeDataIfNeeded(environmentDeploymentRuleEditRequest, localVarRequestOptions, configuration)
|
|
30544
30647
|
|
|
30545
|
-
return {
|
|
30546
|
-
url: toPathString(localVarUrlObj),
|
|
30547
|
-
options: localVarRequestOptions,
|
|
30548
|
-
};
|
|
30549
|
-
},
|
|
30550
|
-
/**
|
|
30551
|
-
*
|
|
30552
|
-
* @summary Get environment deployment rule
|
|
30553
|
-
* @param {string} environmentId Environment ID
|
|
30554
|
-
* @param {*} [options] Override http request option.
|
|
30555
|
-
* @throws {RequiredError}
|
|
30556
|
-
*/
|
|
30557
|
-
getEnvironmentDeploymentRule: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30558
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
30559
|
-
assertParamExists('getEnvironmentDeploymentRule', 'environmentId', environmentId)
|
|
30560
|
-
const localVarPath = `/environment/{environmentId}/deploymentRule`
|
|
30561
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
30562
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30563
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30564
|
-
let baseOptions;
|
|
30565
|
-
if (configuration) {
|
|
30566
|
-
baseOptions = configuration.baseOptions;
|
|
30567
|
-
}
|
|
30568
|
-
|
|
30569
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30570
|
-
const localVarHeaderParameter = {} as any;
|
|
30571
|
-
const localVarQueryParameter = {} as any;
|
|
30572
|
-
|
|
30573
|
-
// authentication bearerAuth required
|
|
30574
|
-
// http bearer authentication required
|
|
30575
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30576
|
-
|
|
30577
|
-
|
|
30578
|
-
|
|
30579
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30580
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30581
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30582
|
-
|
|
30583
30648
|
return {
|
|
30584
30649
|
url: toPathString(localVarUrlObj),
|
|
30585
30650
|
options: localVarRequestOptions,
|
|
@@ -30608,17 +30673,6 @@ export const EnvironmentDeploymentRuleApiFp = function(configuration?: Configura
|
|
|
30608
30673
|
const localVarAxiosArgs = await localVarAxiosParamCreator.editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options);
|
|
30609
30674
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30610
30675
|
},
|
|
30611
|
-
/**
|
|
30612
|
-
*
|
|
30613
|
-
* @summary Get environment deployment rule
|
|
30614
|
-
* @param {string} environmentId Environment ID
|
|
30615
|
-
* @param {*} [options] Override http request option.
|
|
30616
|
-
* @throws {RequiredError}
|
|
30617
|
-
*/
|
|
30618
|
-
async getEnvironmentDeploymentRule(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDeploymentRule>> {
|
|
30619
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentDeploymentRule(environmentId, options);
|
|
30620
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30621
|
-
},
|
|
30622
30676
|
}
|
|
30623
30677
|
};
|
|
30624
30678
|
|
|
@@ -30641,16 +30695,6 @@ export const EnvironmentDeploymentRuleApiFactory = function (configuration?: Con
|
|
|
30641
30695
|
editEnvironmentDeploymentRule(environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: any): AxiosPromise<EnvironmentDeploymentRule> {
|
|
30642
30696
|
return localVarFp.editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(axios, basePath));
|
|
30643
30697
|
},
|
|
30644
|
-
/**
|
|
30645
|
-
*
|
|
30646
|
-
* @summary Get environment deployment rule
|
|
30647
|
-
* @param {string} environmentId Environment ID
|
|
30648
|
-
* @param {*} [options] Override http request option.
|
|
30649
|
-
* @throws {RequiredError}
|
|
30650
|
-
*/
|
|
30651
|
-
getEnvironmentDeploymentRule(environmentId: string, options?: any): AxiosPromise<EnvironmentDeploymentRule> {
|
|
30652
|
-
return localVarFp.getEnvironmentDeploymentRule(environmentId, options).then((request) => request(axios, basePath));
|
|
30653
|
-
},
|
|
30654
30698
|
};
|
|
30655
30699
|
};
|
|
30656
30700
|
|
|
@@ -30674,18 +30718,6 @@ export class EnvironmentDeploymentRuleApi extends BaseAPI {
|
|
|
30674
30718
|
public editEnvironmentDeploymentRule(environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: AxiosRequestConfig) {
|
|
30675
30719
|
return EnvironmentDeploymentRuleApiFp(this.configuration).editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30676
30720
|
}
|
|
30677
|
-
|
|
30678
|
-
/**
|
|
30679
|
-
*
|
|
30680
|
-
* @summary Get environment deployment rule
|
|
30681
|
-
* @param {string} environmentId Environment ID
|
|
30682
|
-
* @param {*} [options] Override http request option.
|
|
30683
|
-
* @throws {RequiredError}
|
|
30684
|
-
* @memberof EnvironmentDeploymentRuleApi
|
|
30685
|
-
*/
|
|
30686
|
-
public getEnvironmentDeploymentRule(environmentId: string, options?: AxiosRequestConfig) {
|
|
30687
|
-
return EnvironmentDeploymentRuleApiFp(this.configuration).getEnvironmentDeploymentRule(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
30688
|
-
}
|
|
30689
30721
|
}
|
|
30690
30722
|
|
|
30691
30723
|
|