qovery-typescript-axios 1.1.824 → 1.1.826
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 +67 -25
- package/dist/api.d.ts +47 -16
- package/dist/api.js +45 -25
- package/dist/esm/api.d.ts +47 -16
- package/dist/esm/api.js +45 -25
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1896,6 +1896,19 @@ export interface ApplicationResponseList {
|
|
|
1896
1896
|
*/
|
|
1897
1897
|
'results'?: Array<Application>;
|
|
1898
1898
|
}
|
|
1899
|
+
/**
|
|
1900
|
+
*
|
|
1901
|
+
* @export
|
|
1902
|
+
* @interface AttachServiceToDeploymentStageRequest
|
|
1903
|
+
*/
|
|
1904
|
+
export interface AttachServiceToDeploymentStageRequest {
|
|
1905
|
+
/**
|
|
1906
|
+
* When true, marks the service as skipped (excluded from environment-level bulk deployments) while keeping it in the specified stage. When false or omitted, the service is moved to the specified stage and un-skipped.
|
|
1907
|
+
* @type {boolean}
|
|
1908
|
+
* @memberof AttachServiceToDeploymentStageRequest
|
|
1909
|
+
*/
|
|
1910
|
+
'is_skipped'?: boolean;
|
|
1911
|
+
}
|
|
1899
1912
|
/**
|
|
1900
1913
|
*
|
|
1901
1914
|
* @export
|
|
@@ -8502,6 +8515,12 @@ export interface DeploymentStageServiceResponse {
|
|
|
8502
8515
|
* @memberof DeploymentStageServiceResponse
|
|
8503
8516
|
*/
|
|
8504
8517
|
'service_type'?: string;
|
|
8518
|
+
/**
|
|
8519
|
+
* whether the service is excluded from environment-level deployments
|
|
8520
|
+
* @type {boolean}
|
|
8521
|
+
* @memberof DeploymentStageServiceResponse
|
|
8522
|
+
*/
|
|
8523
|
+
'is_skipped'?: boolean;
|
|
8505
8524
|
}
|
|
8506
8525
|
/**
|
|
8507
8526
|
*
|
|
@@ -39072,10 +39091,11 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
39072
39091
|
*
|
|
39073
39092
|
* @summary Deploy database
|
|
39074
39093
|
* @param {string} databaseId Database ID
|
|
39094
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
39075
39095
|
* @param {*} [options] Override http request option.
|
|
39076
39096
|
* @throws {RequiredError}
|
|
39077
39097
|
*/
|
|
39078
|
-
deployDatabase: async (databaseId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39098
|
+
deployDatabase: async (databaseId: string, applyImmediately?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39079
39099
|
// verify required parameter 'databaseId' is not null or undefined
|
|
39080
39100
|
assertParamExists('deployDatabase', 'databaseId', databaseId)
|
|
39081
39101
|
const localVarPath = `/database/{databaseId}/deploy`
|
|
@@ -39098,6 +39118,10 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
39098
39118
|
// http bearer authentication required
|
|
39099
39119
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
39100
39120
|
|
|
39121
|
+
if (applyImmediately !== undefined) {
|
|
39122
|
+
localVarQueryParameter['applyImmediately'] = applyImmediately;
|
|
39123
|
+
}
|
|
39124
|
+
|
|
39101
39125
|
|
|
39102
39126
|
|
|
39103
39127
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -39154,10 +39178,11 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
39154
39178
|
*
|
|
39155
39179
|
* @summary Redeploy database
|
|
39156
39180
|
* @param {string} databaseId Database ID
|
|
39181
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
39157
39182
|
* @param {*} [options] Override http request option.
|
|
39158
39183
|
* @throws {RequiredError}
|
|
39159
39184
|
*/
|
|
39160
|
-
redeployDatabase: async (databaseId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39185
|
+
redeployDatabase: async (databaseId: string, applyImmediately?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39161
39186
|
// verify required parameter 'databaseId' is not null or undefined
|
|
39162
39187
|
assertParamExists('redeployDatabase', 'databaseId', databaseId)
|
|
39163
39188
|
const localVarPath = `/database/{databaseId}/redeploy`
|
|
@@ -39180,6 +39205,10 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
39180
39205
|
// http bearer authentication required
|
|
39181
39206
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
39182
39207
|
|
|
39208
|
+
if (applyImmediately !== undefined) {
|
|
39209
|
+
localVarQueryParameter['applyImmediately'] = applyImmediately;
|
|
39210
|
+
}
|
|
39211
|
+
|
|
39183
39212
|
|
|
39184
39213
|
|
|
39185
39214
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -39291,11 +39320,12 @@ export const DatabaseActionsApiFp = function(configuration?: Configuration) {
|
|
|
39291
39320
|
*
|
|
39292
39321
|
* @summary Deploy database
|
|
39293
39322
|
* @param {string} databaseId Database ID
|
|
39323
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
39294
39324
|
* @param {*} [options] Override http request option.
|
|
39295
39325
|
* @throws {RequiredError}
|
|
39296
39326
|
*/
|
|
39297
|
-
async deployDatabase(databaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
39298
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deployDatabase(databaseId, options);
|
|
39327
|
+
async deployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
39328
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deployDatabase(databaseId, applyImmediately, options);
|
|
39299
39329
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39300
39330
|
const localVarOperationServerBasePath = operationServerMap['DatabaseActionsApi.deployDatabase']?.[localVarOperationServerIndex]?.url;
|
|
39301
39331
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -39317,11 +39347,12 @@ export const DatabaseActionsApiFp = function(configuration?: Configuration) {
|
|
|
39317
39347
|
*
|
|
39318
39348
|
* @summary Redeploy database
|
|
39319
39349
|
* @param {string} databaseId Database ID
|
|
39350
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
39320
39351
|
* @param {*} [options] Override http request option.
|
|
39321
39352
|
* @throws {RequiredError}
|
|
39322
39353
|
*/
|
|
39323
|
-
async redeployDatabase(databaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
39324
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployDatabase(databaseId, options);
|
|
39354
|
+
async redeployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
39355
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployDatabase(databaseId, applyImmediately, options);
|
|
39325
39356
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39326
39357
|
const localVarOperationServerBasePath = operationServerMap['DatabaseActionsApi.redeployDatabase']?.[localVarOperationServerIndex]?.url;
|
|
39327
39358
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -39367,11 +39398,12 @@ export const DatabaseActionsApiFactory = function (configuration?: Configuration
|
|
|
39367
39398
|
*
|
|
39368
39399
|
* @summary Deploy database
|
|
39369
39400
|
* @param {string} databaseId Database ID
|
|
39401
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
39370
39402
|
* @param {*} [options] Override http request option.
|
|
39371
39403
|
* @throws {RequiredError}
|
|
39372
39404
|
*/
|
|
39373
|
-
deployDatabase(databaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
39374
|
-
return localVarFp.deployDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
39405
|
+
deployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
39406
|
+
return localVarFp.deployDatabase(databaseId, applyImmediately, options).then((request) => request(axios, basePath));
|
|
39375
39407
|
},
|
|
39376
39408
|
/**
|
|
39377
39409
|
*
|
|
@@ -39387,11 +39419,12 @@ export const DatabaseActionsApiFactory = function (configuration?: Configuration
|
|
|
39387
39419
|
*
|
|
39388
39420
|
* @summary Redeploy database
|
|
39389
39421
|
* @param {string} databaseId Database ID
|
|
39422
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
39390
39423
|
* @param {*} [options] Override http request option.
|
|
39391
39424
|
* @throws {RequiredError}
|
|
39392
39425
|
*/
|
|
39393
|
-
redeployDatabase(databaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
39394
|
-
return localVarFp.redeployDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
39426
|
+
redeployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
39427
|
+
return localVarFp.redeployDatabase(databaseId, applyImmediately, options).then((request) => request(axios, basePath));
|
|
39395
39428
|
},
|
|
39396
39429
|
/**
|
|
39397
39430
|
*
|
|
@@ -39428,12 +39461,13 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
39428
39461
|
*
|
|
39429
39462
|
* @summary Deploy database
|
|
39430
39463
|
* @param {string} databaseId Database ID
|
|
39464
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
39431
39465
|
* @param {*} [options] Override http request option.
|
|
39432
39466
|
* @throws {RequiredError}
|
|
39433
39467
|
* @memberof DatabaseActionsApi
|
|
39434
39468
|
*/
|
|
39435
|
-
public deployDatabase(databaseId: string, options?: RawAxiosRequestConfig) {
|
|
39436
|
-
return DatabaseActionsApiFp(this.configuration).deployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
39469
|
+
public deployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig) {
|
|
39470
|
+
return DatabaseActionsApiFp(this.configuration).deployDatabase(databaseId, applyImmediately, options).then((request) => request(this.axios, this.basePath));
|
|
39437
39471
|
}
|
|
39438
39472
|
|
|
39439
39473
|
/**
|
|
@@ -39452,12 +39486,13 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
39452
39486
|
*
|
|
39453
39487
|
* @summary Redeploy database
|
|
39454
39488
|
* @param {string} databaseId Database ID
|
|
39489
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
39455
39490
|
* @param {*} [options] Override http request option.
|
|
39456
39491
|
* @throws {RequiredError}
|
|
39457
39492
|
* @memberof DatabaseActionsApi
|
|
39458
39493
|
*/
|
|
39459
|
-
public redeployDatabase(databaseId: string, options?: RawAxiosRequestConfig) {
|
|
39460
|
-
return DatabaseActionsApiFp(this.configuration).redeployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
39494
|
+
public redeployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig) {
|
|
39495
|
+
return DatabaseActionsApiFp(this.configuration).redeployDatabase(databaseId, applyImmediately, options).then((request) => request(this.axios, this.basePath));
|
|
39461
39496
|
}
|
|
39462
39497
|
|
|
39463
39498
|
/**
|
|
@@ -41234,14 +41269,15 @@ export class DeploymentQueueActionsApi extends BaseAPI {
|
|
|
41234
41269
|
export const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
41235
41270
|
return {
|
|
41236
41271
|
/**
|
|
41237
|
-
*
|
|
41272
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
41238
41273
|
* @summary Attach service to deployment stage
|
|
41239
41274
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
41240
41275
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
41276
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
41241
41277
|
* @param {*} [options] Override http request option.
|
|
41242
41278
|
* @throws {RequiredError}
|
|
41243
41279
|
*/
|
|
41244
|
-
attachServiceToDeploymentStage: async (deploymentStageId: string, serviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41280
|
+
attachServiceToDeploymentStage: async (deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41245
41281
|
// verify required parameter 'deploymentStageId' is not null or undefined
|
|
41246
41282
|
assertParamExists('attachServiceToDeploymentStage', 'deploymentStageId', deploymentStageId)
|
|
41247
41283
|
// verify required parameter 'serviceId' is not null or undefined
|
|
@@ -41269,9 +41305,12 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
|
|
|
41269
41305
|
|
|
41270
41306
|
|
|
41271
41307
|
|
|
41308
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41309
|
+
|
|
41272
41310
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41273
41311
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41274
41312
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41313
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachServiceToDeploymentStageRequest, localVarRequestOptions, configuration)
|
|
41275
41314
|
|
|
41276
41315
|
return {
|
|
41277
41316
|
url: toPathString(localVarUrlObj),
|
|
@@ -41633,15 +41672,16 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
|
|
|
41633
41672
|
const localVarAxiosParamCreator = DeploymentStageMainCallsApiAxiosParamCreator(configuration)
|
|
41634
41673
|
return {
|
|
41635
41674
|
/**
|
|
41636
|
-
*
|
|
41675
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
41637
41676
|
* @summary Attach service to deployment stage
|
|
41638
41677
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
41639
41678
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
41679
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
41640
41680
|
* @param {*} [options] Override http request option.
|
|
41641
41681
|
* @throws {RequiredError}
|
|
41642
41682
|
*/
|
|
41643
|
-
async attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
|
|
41644
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, options);
|
|
41683
|
+
async attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
|
|
41684
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options);
|
|
41645
41685
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41646
41686
|
const localVarOperationServerBasePath = operationServerMap['DeploymentStageMainCallsApi.attachServiceToDeploymentStage']?.[localVarOperationServerIndex]?.url;
|
|
41647
41687
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -41765,15 +41805,16 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
|
|
|
41765
41805
|
const localVarFp = DeploymentStageMainCallsApiFp(configuration)
|
|
41766
41806
|
return {
|
|
41767
41807
|
/**
|
|
41768
|
-
*
|
|
41808
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
41769
41809
|
* @summary Attach service to deployment stage
|
|
41770
41810
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
41771
41811
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
41812
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
41772
41813
|
* @param {*} [options] Override http request option.
|
|
41773
41814
|
* @throws {RequiredError}
|
|
41774
41815
|
*/
|
|
41775
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList> {
|
|
41776
|
-
return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(axios, basePath));
|
|
41816
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList> {
|
|
41817
|
+
return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options).then((request) => request(axios, basePath));
|
|
41777
41818
|
},
|
|
41778
41819
|
/**
|
|
41779
41820
|
*
|
|
@@ -41870,16 +41911,17 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
|
|
|
41870
41911
|
*/
|
|
41871
41912
|
export class DeploymentStageMainCallsApi extends BaseAPI {
|
|
41872
41913
|
/**
|
|
41873
|
-
*
|
|
41914
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
41874
41915
|
* @summary Attach service to deployment stage
|
|
41875
41916
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
41876
41917
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
41918
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
41877
41919
|
* @param {*} [options] Override http request option.
|
|
41878
41920
|
* @throws {RequiredError}
|
|
41879
41921
|
* @memberof DeploymentStageMainCallsApi
|
|
41880
41922
|
*/
|
|
41881
|
-
public attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig) {
|
|
41882
|
-
return DeploymentStageMainCallsApiFp(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
41923
|
+
public attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig) {
|
|
41924
|
+
return DeploymentStageMainCallsApiFp(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41883
41925
|
}
|
|
41884
41926
|
|
|
41885
41927
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -1819,6 +1819,19 @@ export interface ApplicationResponseList {
|
|
|
1819
1819
|
*/
|
|
1820
1820
|
'results'?: Array<Application>;
|
|
1821
1821
|
}
|
|
1822
|
+
/**
|
|
1823
|
+
*
|
|
1824
|
+
* @export
|
|
1825
|
+
* @interface AttachServiceToDeploymentStageRequest
|
|
1826
|
+
*/
|
|
1827
|
+
export interface AttachServiceToDeploymentStageRequest {
|
|
1828
|
+
/**
|
|
1829
|
+
* When true, marks the service as skipped (excluded from environment-level bulk deployments) while keeping it in the specified stage. When false or omitted, the service is moved to the specified stage and un-skipped.
|
|
1830
|
+
* @type {boolean}
|
|
1831
|
+
* @memberof AttachServiceToDeploymentStageRequest
|
|
1832
|
+
*/
|
|
1833
|
+
'is_skipped'?: boolean;
|
|
1834
|
+
}
|
|
1822
1835
|
/**
|
|
1823
1836
|
*
|
|
1824
1837
|
* @export
|
|
@@ -8237,6 +8250,12 @@ export interface DeploymentStageServiceResponse {
|
|
|
8237
8250
|
* @memberof DeploymentStageServiceResponse
|
|
8238
8251
|
*/
|
|
8239
8252
|
'service_type'?: string;
|
|
8253
|
+
/**
|
|
8254
|
+
* whether the service is excluded from environment-level deployments
|
|
8255
|
+
* @type {boolean}
|
|
8256
|
+
* @memberof DeploymentStageServiceResponse
|
|
8257
|
+
*/
|
|
8258
|
+
'is_skipped'?: boolean;
|
|
8240
8259
|
}
|
|
8241
8260
|
/**
|
|
8242
8261
|
*
|
|
@@ -28801,10 +28820,11 @@ export declare const DatabaseActionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
28801
28820
|
*
|
|
28802
28821
|
* @summary Deploy database
|
|
28803
28822
|
* @param {string} databaseId Database ID
|
|
28823
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28804
28824
|
* @param {*} [options] Override http request option.
|
|
28805
28825
|
* @throws {RequiredError}
|
|
28806
28826
|
*/
|
|
28807
|
-
deployDatabase: (databaseId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28827
|
+
deployDatabase: (databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28808
28828
|
/**
|
|
28809
28829
|
*
|
|
28810
28830
|
* @summary Retart database
|
|
@@ -28817,10 +28837,11 @@ export declare const DatabaseActionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
28817
28837
|
*
|
|
28818
28838
|
* @summary Redeploy database
|
|
28819
28839
|
* @param {string} databaseId Database ID
|
|
28840
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28820
28841
|
* @param {*} [options] Override http request option.
|
|
28821
28842
|
* @throws {RequiredError}
|
|
28822
28843
|
*/
|
|
28823
|
-
redeployDatabase: (databaseId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28844
|
+
redeployDatabase: (databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28824
28845
|
/**
|
|
28825
28846
|
*
|
|
28826
28847
|
* @summary Stop database
|
|
@@ -28848,10 +28869,11 @@ export declare const DatabaseActionsApiFp: (configuration?: Configuration) => {
|
|
|
28848
28869
|
*
|
|
28849
28870
|
* @summary Deploy database
|
|
28850
28871
|
* @param {string} databaseId Database ID
|
|
28872
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28851
28873
|
* @param {*} [options] Override http request option.
|
|
28852
28874
|
* @throws {RequiredError}
|
|
28853
28875
|
*/
|
|
28854
|
-
deployDatabase(databaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
28876
|
+
deployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
28855
28877
|
/**
|
|
28856
28878
|
*
|
|
28857
28879
|
* @summary Retart database
|
|
@@ -28864,10 +28886,11 @@ export declare const DatabaseActionsApiFp: (configuration?: Configuration) => {
|
|
|
28864
28886
|
*
|
|
28865
28887
|
* @summary Redeploy database
|
|
28866
28888
|
* @param {string} databaseId Database ID
|
|
28889
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28867
28890
|
* @param {*} [options] Override http request option.
|
|
28868
28891
|
* @throws {RequiredError}
|
|
28869
28892
|
*/
|
|
28870
|
-
redeployDatabase(databaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
28893
|
+
redeployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
28871
28894
|
/**
|
|
28872
28895
|
*
|
|
28873
28896
|
* @summary Stop database
|
|
@@ -28895,10 +28918,11 @@ export declare const DatabaseActionsApiFactory: (configuration?: Configuration,
|
|
|
28895
28918
|
*
|
|
28896
28919
|
* @summary Deploy database
|
|
28897
28920
|
* @param {string} databaseId Database ID
|
|
28921
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28898
28922
|
* @param {*} [options] Override http request option.
|
|
28899
28923
|
* @throws {RequiredError}
|
|
28900
28924
|
*/
|
|
28901
|
-
deployDatabase(databaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
28925
|
+
deployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
28902
28926
|
/**
|
|
28903
28927
|
*
|
|
28904
28928
|
* @summary Retart database
|
|
@@ -28911,10 +28935,11 @@ export declare const DatabaseActionsApiFactory: (configuration?: Configuration,
|
|
|
28911
28935
|
*
|
|
28912
28936
|
* @summary Redeploy database
|
|
28913
28937
|
* @param {string} databaseId Database ID
|
|
28938
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28914
28939
|
* @param {*} [options] Override http request option.
|
|
28915
28940
|
* @throws {RequiredError}
|
|
28916
28941
|
*/
|
|
28917
|
-
redeployDatabase(databaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
28942
|
+
redeployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
28918
28943
|
/**
|
|
28919
28944
|
*
|
|
28920
28945
|
* @summary Stop database
|
|
@@ -28944,11 +28969,12 @@ export declare class DatabaseActionsApi extends BaseAPI {
|
|
|
28944
28969
|
*
|
|
28945
28970
|
* @summary Deploy database
|
|
28946
28971
|
* @param {string} databaseId Database ID
|
|
28972
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28947
28973
|
* @param {*} [options] Override http request option.
|
|
28948
28974
|
* @throws {RequiredError}
|
|
28949
28975
|
* @memberof DatabaseActionsApi
|
|
28950
28976
|
*/
|
|
28951
|
-
deployDatabase(databaseId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
28977
|
+
deployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
28952
28978
|
/**
|
|
28953
28979
|
*
|
|
28954
28980
|
* @summary Retart database
|
|
@@ -28962,11 +28988,12 @@ export declare class DatabaseActionsApi extends BaseAPI {
|
|
|
28962
28988
|
*
|
|
28963
28989
|
* @summary Redeploy database
|
|
28964
28990
|
* @param {string} databaseId Database ID
|
|
28991
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28965
28992
|
* @param {*} [options] Override http request option.
|
|
28966
28993
|
* @throws {RequiredError}
|
|
28967
28994
|
* @memberof DatabaseActionsApi
|
|
28968
28995
|
*/
|
|
28969
|
-
redeployDatabase(databaseId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
28996
|
+
redeployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
28970
28997
|
/**
|
|
28971
28998
|
*
|
|
28972
28999
|
* @summary Stop database
|
|
@@ -29808,14 +29835,15 @@ export declare class DeploymentQueueActionsApi extends BaseAPI {
|
|
|
29808
29835
|
*/
|
|
29809
29836
|
export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
29810
29837
|
/**
|
|
29811
|
-
*
|
|
29838
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
29812
29839
|
* @summary Attach service to deployment stage
|
|
29813
29840
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
29814
29841
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29842
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
29815
29843
|
* @param {*} [options] Override http request option.
|
|
29816
29844
|
* @throws {RequiredError}
|
|
29817
29845
|
*/
|
|
29818
|
-
attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29846
|
+
attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29819
29847
|
/**
|
|
29820
29848
|
*
|
|
29821
29849
|
* @summary Create environment deployment stage
|
|
@@ -29891,14 +29919,15 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
|
|
|
29891
29919
|
*/
|
|
29892
29920
|
export declare const DeploymentStageMainCallsApiFp: (configuration?: Configuration) => {
|
|
29893
29921
|
/**
|
|
29894
|
-
*
|
|
29922
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
29895
29923
|
* @summary Attach service to deployment stage
|
|
29896
29924
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
29897
29925
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29926
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
29898
29927
|
* @param {*} [options] Override http request option.
|
|
29899
29928
|
* @throws {RequiredError}
|
|
29900
29929
|
*/
|
|
29901
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
|
|
29930
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
|
|
29902
29931
|
/**
|
|
29903
29932
|
*
|
|
29904
29933
|
* @summary Create environment deployment stage
|
|
@@ -29974,14 +30003,15 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
|
|
|
29974
30003
|
*/
|
|
29975
30004
|
export declare const DeploymentStageMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
29976
30005
|
/**
|
|
29977
|
-
*
|
|
30006
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
29978
30007
|
* @summary Attach service to deployment stage
|
|
29979
30008
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
29980
30009
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
30010
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
29981
30011
|
* @param {*} [options] Override http request option.
|
|
29982
30012
|
* @throws {RequiredError}
|
|
29983
30013
|
*/
|
|
29984
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList>;
|
|
30014
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList>;
|
|
29985
30015
|
/**
|
|
29986
30016
|
*
|
|
29987
30017
|
* @summary Create environment deployment stage
|
|
@@ -30059,15 +30089,16 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
|
|
|
30059
30089
|
*/
|
|
30060
30090
|
export declare class DeploymentStageMainCallsApi extends BaseAPI {
|
|
30061
30091
|
/**
|
|
30062
|
-
*
|
|
30092
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
30063
30093
|
* @summary Attach service to deployment stage
|
|
30064
30094
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
30065
30095
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
30096
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
30066
30097
|
* @param {*} [options] Override http request option.
|
|
30067
30098
|
* @throws {RequiredError}
|
|
30068
30099
|
* @memberof DeploymentStageMainCallsApi
|
|
30069
30100
|
*/
|
|
30070
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList, any, {}>>;
|
|
30101
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList, any, {}>>;
|
|
30071
30102
|
/**
|
|
30072
30103
|
*
|
|
30073
30104
|
* @summary Create environment deployment stage
|
package/dist/api.js
CHANGED
|
@@ -17768,10 +17768,11 @@ const DatabaseActionsApiAxiosParamCreator = function (configuration) {
|
|
|
17768
17768
|
*
|
|
17769
17769
|
* @summary Deploy database
|
|
17770
17770
|
* @param {string} databaseId Database ID
|
|
17771
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
17771
17772
|
* @param {*} [options] Override http request option.
|
|
17772
17773
|
* @throws {RequiredError}
|
|
17773
17774
|
*/
|
|
17774
|
-
deployDatabase: (databaseId_1, ...args_1) => __awaiter(this, [databaseId_1, ...args_1], void 0, function* (databaseId, options = {}) {
|
|
17775
|
+
deployDatabase: (databaseId_1, applyImmediately_1, ...args_1) => __awaiter(this, [databaseId_1, applyImmediately_1, ...args_1], void 0, function* (databaseId, applyImmediately, options = {}) {
|
|
17775
17776
|
// verify required parameter 'databaseId' is not null or undefined
|
|
17776
17777
|
(0, common_1.assertParamExists)('deployDatabase', 'databaseId', databaseId);
|
|
17777
17778
|
const localVarPath = `/database/{databaseId}/deploy`
|
|
@@ -17790,6 +17791,9 @@ const DatabaseActionsApiAxiosParamCreator = function (configuration) {
|
|
|
17790
17791
|
// authentication bearerAuth required
|
|
17791
17792
|
// http bearer authentication required
|
|
17792
17793
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17794
|
+
if (applyImmediately !== undefined) {
|
|
17795
|
+
localVarQueryParameter['applyImmediately'] = applyImmediately;
|
|
17796
|
+
}
|
|
17793
17797
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17794
17798
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17795
17799
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -17836,10 +17840,11 @@ const DatabaseActionsApiAxiosParamCreator = function (configuration) {
|
|
|
17836
17840
|
*
|
|
17837
17841
|
* @summary Redeploy database
|
|
17838
17842
|
* @param {string} databaseId Database ID
|
|
17843
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
17839
17844
|
* @param {*} [options] Override http request option.
|
|
17840
17845
|
* @throws {RequiredError}
|
|
17841
17846
|
*/
|
|
17842
|
-
redeployDatabase: (databaseId_1, ...args_1) => __awaiter(this, [databaseId_1, ...args_1], void 0, function* (databaseId, options = {}) {
|
|
17847
|
+
redeployDatabase: (databaseId_1, applyImmediately_1, ...args_1) => __awaiter(this, [databaseId_1, applyImmediately_1, ...args_1], void 0, function* (databaseId, applyImmediately, options = {}) {
|
|
17843
17848
|
// verify required parameter 'databaseId' is not null or undefined
|
|
17844
17849
|
(0, common_1.assertParamExists)('redeployDatabase', 'databaseId', databaseId);
|
|
17845
17850
|
const localVarPath = `/database/{databaseId}/redeploy`
|
|
@@ -17858,6 +17863,9 @@ const DatabaseActionsApiAxiosParamCreator = function (configuration) {
|
|
|
17858
17863
|
// authentication bearerAuth required
|
|
17859
17864
|
// http bearer authentication required
|
|
17860
17865
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17866
|
+
if (applyImmediately !== undefined) {
|
|
17867
|
+
localVarQueryParameter['applyImmediately'] = applyImmediately;
|
|
17868
|
+
}
|
|
17861
17869
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17862
17870
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17863
17871
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -17951,13 +17959,14 @@ const DatabaseActionsApiFp = function (configuration) {
|
|
|
17951
17959
|
*
|
|
17952
17960
|
* @summary Deploy database
|
|
17953
17961
|
* @param {string} databaseId Database ID
|
|
17962
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
17954
17963
|
* @param {*} [options] Override http request option.
|
|
17955
17964
|
* @throws {RequiredError}
|
|
17956
17965
|
*/
|
|
17957
|
-
deployDatabase(databaseId, options) {
|
|
17966
|
+
deployDatabase(databaseId, applyImmediately, options) {
|
|
17958
17967
|
return __awaiter(this, void 0, void 0, function* () {
|
|
17959
17968
|
var _a, _b, _c;
|
|
17960
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployDatabase(databaseId, options);
|
|
17969
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployDatabase(databaseId, applyImmediately, options);
|
|
17961
17970
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17962
17971
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DatabaseActionsApi.deployDatabase']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17963
17972
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -17983,13 +17992,14 @@ const DatabaseActionsApiFp = function (configuration) {
|
|
|
17983
17992
|
*
|
|
17984
17993
|
* @summary Redeploy database
|
|
17985
17994
|
* @param {string} databaseId Database ID
|
|
17995
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
17986
17996
|
* @param {*} [options] Override http request option.
|
|
17987
17997
|
* @throws {RequiredError}
|
|
17988
17998
|
*/
|
|
17989
|
-
redeployDatabase(databaseId, options) {
|
|
17999
|
+
redeployDatabase(databaseId, applyImmediately, options) {
|
|
17990
18000
|
return __awaiter(this, void 0, void 0, function* () {
|
|
17991
18001
|
var _a, _b, _c;
|
|
17992
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployDatabase(databaseId, options);
|
|
18002
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployDatabase(databaseId, applyImmediately, options);
|
|
17993
18003
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17994
18004
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DatabaseActionsApi.redeployDatabase']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17995
18005
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -18042,11 +18052,12 @@ const DatabaseActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
18042
18052
|
*
|
|
18043
18053
|
* @summary Deploy database
|
|
18044
18054
|
* @param {string} databaseId Database ID
|
|
18055
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
18045
18056
|
* @param {*} [options] Override http request option.
|
|
18046
18057
|
* @throws {RequiredError}
|
|
18047
18058
|
*/
|
|
18048
|
-
deployDatabase(databaseId, options) {
|
|
18049
|
-
return localVarFp.deployDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
18059
|
+
deployDatabase(databaseId, applyImmediately, options) {
|
|
18060
|
+
return localVarFp.deployDatabase(databaseId, applyImmediately, options).then((request) => request(axios, basePath));
|
|
18050
18061
|
},
|
|
18051
18062
|
/**
|
|
18052
18063
|
*
|
|
@@ -18062,11 +18073,12 @@ const DatabaseActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
18062
18073
|
*
|
|
18063
18074
|
* @summary Redeploy database
|
|
18064
18075
|
* @param {string} databaseId Database ID
|
|
18076
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
18065
18077
|
* @param {*} [options] Override http request option.
|
|
18066
18078
|
* @throws {RequiredError}
|
|
18067
18079
|
*/
|
|
18068
|
-
redeployDatabase(databaseId, options) {
|
|
18069
|
-
return localVarFp.redeployDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
18080
|
+
redeployDatabase(databaseId, applyImmediately, options) {
|
|
18081
|
+
return localVarFp.redeployDatabase(databaseId, applyImmediately, options).then((request) => request(axios, basePath));
|
|
18070
18082
|
},
|
|
18071
18083
|
/**
|
|
18072
18084
|
*
|
|
@@ -18103,12 +18115,13 @@ class DatabaseActionsApi extends base_1.BaseAPI {
|
|
|
18103
18115
|
*
|
|
18104
18116
|
* @summary Deploy database
|
|
18105
18117
|
* @param {string} databaseId Database ID
|
|
18118
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
18106
18119
|
* @param {*} [options] Override http request option.
|
|
18107
18120
|
* @throws {RequiredError}
|
|
18108
18121
|
* @memberof DatabaseActionsApi
|
|
18109
18122
|
*/
|
|
18110
|
-
deployDatabase(databaseId, options) {
|
|
18111
|
-
return (0, exports.DatabaseActionsApiFp)(this.configuration).deployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
18123
|
+
deployDatabase(databaseId, applyImmediately, options) {
|
|
18124
|
+
return (0, exports.DatabaseActionsApiFp)(this.configuration).deployDatabase(databaseId, applyImmediately, options).then((request) => request(this.axios, this.basePath));
|
|
18112
18125
|
}
|
|
18113
18126
|
/**
|
|
18114
18127
|
*
|
|
@@ -18125,12 +18138,13 @@ class DatabaseActionsApi extends base_1.BaseAPI {
|
|
|
18125
18138
|
*
|
|
18126
18139
|
* @summary Redeploy database
|
|
18127
18140
|
* @param {string} databaseId Database ID
|
|
18141
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
18128
18142
|
* @param {*} [options] Override http request option.
|
|
18129
18143
|
* @throws {RequiredError}
|
|
18130
18144
|
* @memberof DatabaseActionsApi
|
|
18131
18145
|
*/
|
|
18132
|
-
redeployDatabase(databaseId, options) {
|
|
18133
|
-
return (0, exports.DatabaseActionsApiFp)(this.configuration).redeployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
18146
|
+
redeployDatabase(databaseId, applyImmediately, options) {
|
|
18147
|
+
return (0, exports.DatabaseActionsApiFp)(this.configuration).redeployDatabase(databaseId, applyImmediately, options).then((request) => request(this.axios, this.basePath));
|
|
18134
18148
|
}
|
|
18135
18149
|
/**
|
|
18136
18150
|
*
|
|
@@ -19794,14 +19808,15 @@ exports.DeploymentQueueActionsApi = DeploymentQueueActionsApi;
|
|
|
19794
19808
|
const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
|
|
19795
19809
|
return {
|
|
19796
19810
|
/**
|
|
19797
|
-
*
|
|
19811
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
19798
19812
|
* @summary Attach service to deployment stage
|
|
19799
19813
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
19800
19814
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
19815
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
19801
19816
|
* @param {*} [options] Override http request option.
|
|
19802
19817
|
* @throws {RequiredError}
|
|
19803
19818
|
*/
|
|
19804
|
-
attachServiceToDeploymentStage: (deploymentStageId_1, serviceId_1, ...args_1) => __awaiter(this, [deploymentStageId_1, serviceId_1, ...args_1], void 0, function* (deploymentStageId, serviceId, options = {}) {
|
|
19819
|
+
attachServiceToDeploymentStage: (deploymentStageId_1, serviceId_1, attachServiceToDeploymentStageRequest_1, ...args_1) => __awaiter(this, [deploymentStageId_1, serviceId_1, attachServiceToDeploymentStageRequest_1, ...args_1], void 0, function* (deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options = {}) {
|
|
19805
19820
|
// verify required parameter 'deploymentStageId' is not null or undefined
|
|
19806
19821
|
(0, common_1.assertParamExists)('attachServiceToDeploymentStage', 'deploymentStageId', deploymentStageId);
|
|
19807
19822
|
// verify required parameter 'serviceId' is not null or undefined
|
|
@@ -19823,9 +19838,11 @@ const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
19823
19838
|
// authentication bearerAuth required
|
|
19824
19839
|
// http bearer authentication required
|
|
19825
19840
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
19841
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19826
19842
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
19827
19843
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19828
19844
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19845
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(attachServiceToDeploymentStageRequest, localVarRequestOptions, configuration);
|
|
19829
19846
|
return {
|
|
19830
19847
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
19831
19848
|
options: localVarRequestOptions,
|
|
@@ -20128,17 +20145,18 @@ const DeploymentStageMainCallsApiFp = function (configuration) {
|
|
|
20128
20145
|
const localVarAxiosParamCreator = (0, exports.DeploymentStageMainCallsApiAxiosParamCreator)(configuration);
|
|
20129
20146
|
return {
|
|
20130
20147
|
/**
|
|
20131
|
-
*
|
|
20148
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
20132
20149
|
* @summary Attach service to deployment stage
|
|
20133
20150
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
20134
20151
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
20152
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
20135
20153
|
* @param {*} [options] Override http request option.
|
|
20136
20154
|
* @throws {RequiredError}
|
|
20137
20155
|
*/
|
|
20138
|
-
attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
|
|
20156
|
+
attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options) {
|
|
20139
20157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
20140
20158
|
var _a, _b, _c;
|
|
20141
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, options);
|
|
20159
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options);
|
|
20142
20160
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20143
20161
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DeploymentStageMainCallsApi.attachServiceToDeploymentStage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20144
20162
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -20287,15 +20305,16 @@ const DeploymentStageMainCallsApiFactory = function (configuration, basePath, ax
|
|
|
20287
20305
|
const localVarFp = (0, exports.DeploymentStageMainCallsApiFp)(configuration);
|
|
20288
20306
|
return {
|
|
20289
20307
|
/**
|
|
20290
|
-
*
|
|
20308
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
20291
20309
|
* @summary Attach service to deployment stage
|
|
20292
20310
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
20293
20311
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
20312
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
20294
20313
|
* @param {*} [options] Override http request option.
|
|
20295
20314
|
* @throws {RequiredError}
|
|
20296
20315
|
*/
|
|
20297
|
-
attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
|
|
20298
|
-
return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(axios, basePath));
|
|
20316
|
+
attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options) {
|
|
20317
|
+
return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options).then((request) => request(axios, basePath));
|
|
20299
20318
|
},
|
|
20300
20319
|
/**
|
|
20301
20320
|
*
|
|
@@ -20392,16 +20411,17 @@ exports.DeploymentStageMainCallsApiFactory = DeploymentStageMainCallsApiFactory;
|
|
|
20392
20411
|
*/
|
|
20393
20412
|
class DeploymentStageMainCallsApi extends base_1.BaseAPI {
|
|
20394
20413
|
/**
|
|
20395
|
-
*
|
|
20414
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
20396
20415
|
* @summary Attach service to deployment stage
|
|
20397
20416
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
20398
20417
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
20418
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
20399
20419
|
* @param {*} [options] Override http request option.
|
|
20400
20420
|
* @throws {RequiredError}
|
|
20401
20421
|
* @memberof DeploymentStageMainCallsApi
|
|
20402
20422
|
*/
|
|
20403
|
-
attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
|
|
20404
|
-
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
20423
|
+
attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options) {
|
|
20424
|
+
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
20405
20425
|
}
|
|
20406
20426
|
/**
|
|
20407
20427
|
*
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1819,6 +1819,19 @@ export interface ApplicationResponseList {
|
|
|
1819
1819
|
*/
|
|
1820
1820
|
'results'?: Array<Application>;
|
|
1821
1821
|
}
|
|
1822
|
+
/**
|
|
1823
|
+
*
|
|
1824
|
+
* @export
|
|
1825
|
+
* @interface AttachServiceToDeploymentStageRequest
|
|
1826
|
+
*/
|
|
1827
|
+
export interface AttachServiceToDeploymentStageRequest {
|
|
1828
|
+
/**
|
|
1829
|
+
* When true, marks the service as skipped (excluded from environment-level bulk deployments) while keeping it in the specified stage. When false or omitted, the service is moved to the specified stage and un-skipped.
|
|
1830
|
+
* @type {boolean}
|
|
1831
|
+
* @memberof AttachServiceToDeploymentStageRequest
|
|
1832
|
+
*/
|
|
1833
|
+
'is_skipped'?: boolean;
|
|
1834
|
+
}
|
|
1822
1835
|
/**
|
|
1823
1836
|
*
|
|
1824
1837
|
* @export
|
|
@@ -8237,6 +8250,12 @@ export interface DeploymentStageServiceResponse {
|
|
|
8237
8250
|
* @memberof DeploymentStageServiceResponse
|
|
8238
8251
|
*/
|
|
8239
8252
|
'service_type'?: string;
|
|
8253
|
+
/**
|
|
8254
|
+
* whether the service is excluded from environment-level deployments
|
|
8255
|
+
* @type {boolean}
|
|
8256
|
+
* @memberof DeploymentStageServiceResponse
|
|
8257
|
+
*/
|
|
8258
|
+
'is_skipped'?: boolean;
|
|
8240
8259
|
}
|
|
8241
8260
|
/**
|
|
8242
8261
|
*
|
|
@@ -28801,10 +28820,11 @@ export declare const DatabaseActionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
28801
28820
|
*
|
|
28802
28821
|
* @summary Deploy database
|
|
28803
28822
|
* @param {string} databaseId Database ID
|
|
28823
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28804
28824
|
* @param {*} [options] Override http request option.
|
|
28805
28825
|
* @throws {RequiredError}
|
|
28806
28826
|
*/
|
|
28807
|
-
deployDatabase: (databaseId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28827
|
+
deployDatabase: (databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28808
28828
|
/**
|
|
28809
28829
|
*
|
|
28810
28830
|
* @summary Retart database
|
|
@@ -28817,10 +28837,11 @@ export declare const DatabaseActionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
28817
28837
|
*
|
|
28818
28838
|
* @summary Redeploy database
|
|
28819
28839
|
* @param {string} databaseId Database ID
|
|
28840
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28820
28841
|
* @param {*} [options] Override http request option.
|
|
28821
28842
|
* @throws {RequiredError}
|
|
28822
28843
|
*/
|
|
28823
|
-
redeployDatabase: (databaseId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28844
|
+
redeployDatabase: (databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28824
28845
|
/**
|
|
28825
28846
|
*
|
|
28826
28847
|
* @summary Stop database
|
|
@@ -28848,10 +28869,11 @@ export declare const DatabaseActionsApiFp: (configuration?: Configuration) => {
|
|
|
28848
28869
|
*
|
|
28849
28870
|
* @summary Deploy database
|
|
28850
28871
|
* @param {string} databaseId Database ID
|
|
28872
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28851
28873
|
* @param {*} [options] Override http request option.
|
|
28852
28874
|
* @throws {RequiredError}
|
|
28853
28875
|
*/
|
|
28854
|
-
deployDatabase(databaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
28876
|
+
deployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
28855
28877
|
/**
|
|
28856
28878
|
*
|
|
28857
28879
|
* @summary Retart database
|
|
@@ -28864,10 +28886,11 @@ export declare const DatabaseActionsApiFp: (configuration?: Configuration) => {
|
|
|
28864
28886
|
*
|
|
28865
28887
|
* @summary Redeploy database
|
|
28866
28888
|
* @param {string} databaseId Database ID
|
|
28889
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28867
28890
|
* @param {*} [options] Override http request option.
|
|
28868
28891
|
* @throws {RequiredError}
|
|
28869
28892
|
*/
|
|
28870
|
-
redeployDatabase(databaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
28893
|
+
redeployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
28871
28894
|
/**
|
|
28872
28895
|
*
|
|
28873
28896
|
* @summary Stop database
|
|
@@ -28895,10 +28918,11 @@ export declare const DatabaseActionsApiFactory: (configuration?: Configuration,
|
|
|
28895
28918
|
*
|
|
28896
28919
|
* @summary Deploy database
|
|
28897
28920
|
* @param {string} databaseId Database ID
|
|
28921
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28898
28922
|
* @param {*} [options] Override http request option.
|
|
28899
28923
|
* @throws {RequiredError}
|
|
28900
28924
|
*/
|
|
28901
|
-
deployDatabase(databaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
28925
|
+
deployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
28902
28926
|
/**
|
|
28903
28927
|
*
|
|
28904
28928
|
* @summary Retart database
|
|
@@ -28911,10 +28935,11 @@ export declare const DatabaseActionsApiFactory: (configuration?: Configuration,
|
|
|
28911
28935
|
*
|
|
28912
28936
|
* @summary Redeploy database
|
|
28913
28937
|
* @param {string} databaseId Database ID
|
|
28938
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28914
28939
|
* @param {*} [options] Override http request option.
|
|
28915
28940
|
* @throws {RequiredError}
|
|
28916
28941
|
*/
|
|
28917
|
-
redeployDatabase(databaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
28942
|
+
redeployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
28918
28943
|
/**
|
|
28919
28944
|
*
|
|
28920
28945
|
* @summary Stop database
|
|
@@ -28944,11 +28969,12 @@ export declare class DatabaseActionsApi extends BaseAPI {
|
|
|
28944
28969
|
*
|
|
28945
28970
|
* @summary Deploy database
|
|
28946
28971
|
* @param {string} databaseId Database ID
|
|
28972
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28947
28973
|
* @param {*} [options] Override http request option.
|
|
28948
28974
|
* @throws {RequiredError}
|
|
28949
28975
|
* @memberof DatabaseActionsApi
|
|
28950
28976
|
*/
|
|
28951
|
-
deployDatabase(databaseId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
28977
|
+
deployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
28952
28978
|
/**
|
|
28953
28979
|
*
|
|
28954
28980
|
* @summary Retart database
|
|
@@ -28962,11 +28988,12 @@ export declare class DatabaseActionsApi extends BaseAPI {
|
|
|
28962
28988
|
*
|
|
28963
28989
|
* @summary Redeploy database
|
|
28964
28990
|
* @param {string} databaseId Database ID
|
|
28991
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
28965
28992
|
* @param {*} [options] Override http request option.
|
|
28966
28993
|
* @throws {RequiredError}
|
|
28967
28994
|
* @memberof DatabaseActionsApi
|
|
28968
28995
|
*/
|
|
28969
|
-
redeployDatabase(databaseId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
28996
|
+
redeployDatabase(databaseId: string, applyImmediately?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any, {}>>;
|
|
28970
28997
|
/**
|
|
28971
28998
|
*
|
|
28972
28999
|
* @summary Stop database
|
|
@@ -29808,14 +29835,15 @@ export declare class DeploymentQueueActionsApi extends BaseAPI {
|
|
|
29808
29835
|
*/
|
|
29809
29836
|
export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
29810
29837
|
/**
|
|
29811
|
-
*
|
|
29838
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
29812
29839
|
* @summary Attach service to deployment stage
|
|
29813
29840
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
29814
29841
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29842
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
29815
29843
|
* @param {*} [options] Override http request option.
|
|
29816
29844
|
* @throws {RequiredError}
|
|
29817
29845
|
*/
|
|
29818
|
-
attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29846
|
+
attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29819
29847
|
/**
|
|
29820
29848
|
*
|
|
29821
29849
|
* @summary Create environment deployment stage
|
|
@@ -29891,14 +29919,15 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
|
|
|
29891
29919
|
*/
|
|
29892
29920
|
export declare const DeploymentStageMainCallsApiFp: (configuration?: Configuration) => {
|
|
29893
29921
|
/**
|
|
29894
|
-
*
|
|
29922
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
29895
29923
|
* @summary Attach service to deployment stage
|
|
29896
29924
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
29897
29925
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29926
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
29898
29927
|
* @param {*} [options] Override http request option.
|
|
29899
29928
|
* @throws {RequiredError}
|
|
29900
29929
|
*/
|
|
29901
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
|
|
29930
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
|
|
29902
29931
|
/**
|
|
29903
29932
|
*
|
|
29904
29933
|
* @summary Create environment deployment stage
|
|
@@ -29974,14 +30003,15 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
|
|
|
29974
30003
|
*/
|
|
29975
30004
|
export declare const DeploymentStageMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
29976
30005
|
/**
|
|
29977
|
-
*
|
|
30006
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
29978
30007
|
* @summary Attach service to deployment stage
|
|
29979
30008
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
29980
30009
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
30010
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
29981
30011
|
* @param {*} [options] Override http request option.
|
|
29982
30012
|
* @throws {RequiredError}
|
|
29983
30013
|
*/
|
|
29984
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList>;
|
|
30014
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList>;
|
|
29985
30015
|
/**
|
|
29986
30016
|
*
|
|
29987
30017
|
* @summary Create environment deployment stage
|
|
@@ -30059,15 +30089,16 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
|
|
|
30059
30089
|
*/
|
|
30060
30090
|
export declare class DeploymentStageMainCallsApi extends BaseAPI {
|
|
30061
30091
|
/**
|
|
30062
|
-
*
|
|
30092
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
30063
30093
|
* @summary Attach service to deployment stage
|
|
30064
30094
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
30065
30095
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
30096
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
30066
30097
|
* @param {*} [options] Override http request option.
|
|
30067
30098
|
* @throws {RequiredError}
|
|
30068
30099
|
* @memberof DeploymentStageMainCallsApi
|
|
30069
30100
|
*/
|
|
30070
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList, any, {}>>;
|
|
30101
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList, any, {}>>;
|
|
30071
30102
|
/**
|
|
30072
30103
|
*
|
|
30073
30104
|
* @summary Create environment deployment stage
|
package/dist/esm/api.js
CHANGED
|
@@ -17644,10 +17644,11 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration) {
|
|
|
17644
17644
|
*
|
|
17645
17645
|
* @summary Deploy database
|
|
17646
17646
|
* @param {string} databaseId Database ID
|
|
17647
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
17647
17648
|
* @param {*} [options] Override http request option.
|
|
17648
17649
|
* @throws {RequiredError}
|
|
17649
17650
|
*/
|
|
17650
|
-
deployDatabase: (databaseId_1, ...args_1) => __awaiter(this, [databaseId_1, ...args_1], void 0, function* (databaseId, options = {}) {
|
|
17651
|
+
deployDatabase: (databaseId_1, applyImmediately_1, ...args_1) => __awaiter(this, [databaseId_1, applyImmediately_1, ...args_1], void 0, function* (databaseId, applyImmediately, options = {}) {
|
|
17651
17652
|
// verify required parameter 'databaseId' is not null or undefined
|
|
17652
17653
|
assertParamExists('deployDatabase', 'databaseId', databaseId);
|
|
17653
17654
|
const localVarPath = `/database/{databaseId}/deploy`
|
|
@@ -17666,6 +17667,9 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration) {
|
|
|
17666
17667
|
// authentication bearerAuth required
|
|
17667
17668
|
// http bearer authentication required
|
|
17668
17669
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
17670
|
+
if (applyImmediately !== undefined) {
|
|
17671
|
+
localVarQueryParameter['applyImmediately'] = applyImmediately;
|
|
17672
|
+
}
|
|
17669
17673
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17670
17674
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17671
17675
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -17712,10 +17716,11 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration) {
|
|
|
17712
17716
|
*
|
|
17713
17717
|
* @summary Redeploy database
|
|
17714
17718
|
* @param {string} databaseId Database ID
|
|
17719
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
17715
17720
|
* @param {*} [options] Override http request option.
|
|
17716
17721
|
* @throws {RequiredError}
|
|
17717
17722
|
*/
|
|
17718
|
-
redeployDatabase: (databaseId_1, ...args_1) => __awaiter(this, [databaseId_1, ...args_1], void 0, function* (databaseId, options = {}) {
|
|
17723
|
+
redeployDatabase: (databaseId_1, applyImmediately_1, ...args_1) => __awaiter(this, [databaseId_1, applyImmediately_1, ...args_1], void 0, function* (databaseId, applyImmediately, options = {}) {
|
|
17719
17724
|
// verify required parameter 'databaseId' is not null or undefined
|
|
17720
17725
|
assertParamExists('redeployDatabase', 'databaseId', databaseId);
|
|
17721
17726
|
const localVarPath = `/database/{databaseId}/redeploy`
|
|
@@ -17734,6 +17739,9 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration) {
|
|
|
17734
17739
|
// authentication bearerAuth required
|
|
17735
17740
|
// http bearer authentication required
|
|
17736
17741
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
17742
|
+
if (applyImmediately !== undefined) {
|
|
17743
|
+
localVarQueryParameter['applyImmediately'] = applyImmediately;
|
|
17744
|
+
}
|
|
17737
17745
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17738
17746
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17739
17747
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -17826,13 +17834,14 @@ export const DatabaseActionsApiFp = function (configuration) {
|
|
|
17826
17834
|
*
|
|
17827
17835
|
* @summary Deploy database
|
|
17828
17836
|
* @param {string} databaseId Database ID
|
|
17837
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
17829
17838
|
* @param {*} [options] Override http request option.
|
|
17830
17839
|
* @throws {RequiredError}
|
|
17831
17840
|
*/
|
|
17832
|
-
deployDatabase(databaseId, options) {
|
|
17841
|
+
deployDatabase(databaseId, applyImmediately, options) {
|
|
17833
17842
|
return __awaiter(this, void 0, void 0, function* () {
|
|
17834
17843
|
var _a, _b, _c;
|
|
17835
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployDatabase(databaseId, options);
|
|
17844
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployDatabase(databaseId, applyImmediately, options);
|
|
17836
17845
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17837
17846
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DatabaseActionsApi.deployDatabase']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17838
17847
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -17858,13 +17867,14 @@ export const DatabaseActionsApiFp = function (configuration) {
|
|
|
17858
17867
|
*
|
|
17859
17868
|
* @summary Redeploy database
|
|
17860
17869
|
* @param {string} databaseId Database ID
|
|
17870
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
17861
17871
|
* @param {*} [options] Override http request option.
|
|
17862
17872
|
* @throws {RequiredError}
|
|
17863
17873
|
*/
|
|
17864
|
-
redeployDatabase(databaseId, options) {
|
|
17874
|
+
redeployDatabase(databaseId, applyImmediately, options) {
|
|
17865
17875
|
return __awaiter(this, void 0, void 0, function* () {
|
|
17866
17876
|
var _a, _b, _c;
|
|
17867
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployDatabase(databaseId, options);
|
|
17877
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployDatabase(databaseId, applyImmediately, options);
|
|
17868
17878
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17869
17879
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DatabaseActionsApi.redeployDatabase']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17870
17880
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -17916,11 +17926,12 @@ export const DatabaseActionsApiFactory = function (configuration, basePath, axio
|
|
|
17916
17926
|
*
|
|
17917
17927
|
* @summary Deploy database
|
|
17918
17928
|
* @param {string} databaseId Database ID
|
|
17929
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
17919
17930
|
* @param {*} [options] Override http request option.
|
|
17920
17931
|
* @throws {RequiredError}
|
|
17921
17932
|
*/
|
|
17922
|
-
deployDatabase(databaseId, options) {
|
|
17923
|
-
return localVarFp.deployDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
17933
|
+
deployDatabase(databaseId, applyImmediately, options) {
|
|
17934
|
+
return localVarFp.deployDatabase(databaseId, applyImmediately, options).then((request) => request(axios, basePath));
|
|
17924
17935
|
},
|
|
17925
17936
|
/**
|
|
17926
17937
|
*
|
|
@@ -17936,11 +17947,12 @@ export const DatabaseActionsApiFactory = function (configuration, basePath, axio
|
|
|
17936
17947
|
*
|
|
17937
17948
|
* @summary Redeploy database
|
|
17938
17949
|
* @param {string} databaseId Database ID
|
|
17950
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
17939
17951
|
* @param {*} [options] Override http request option.
|
|
17940
17952
|
* @throws {RequiredError}
|
|
17941
17953
|
*/
|
|
17942
|
-
redeployDatabase(databaseId, options) {
|
|
17943
|
-
return localVarFp.redeployDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
17954
|
+
redeployDatabase(databaseId, applyImmediately, options) {
|
|
17955
|
+
return localVarFp.redeployDatabase(databaseId, applyImmediately, options).then((request) => request(axios, basePath));
|
|
17944
17956
|
},
|
|
17945
17957
|
/**
|
|
17946
17958
|
*
|
|
@@ -17976,12 +17988,13 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
17976
17988
|
*
|
|
17977
17989
|
* @summary Deploy database
|
|
17978
17990
|
* @param {string} databaseId Database ID
|
|
17991
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
17979
17992
|
* @param {*} [options] Override http request option.
|
|
17980
17993
|
* @throws {RequiredError}
|
|
17981
17994
|
* @memberof DatabaseActionsApi
|
|
17982
17995
|
*/
|
|
17983
|
-
deployDatabase(databaseId, options) {
|
|
17984
|
-
return DatabaseActionsApiFp(this.configuration).deployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
17996
|
+
deployDatabase(databaseId, applyImmediately, options) {
|
|
17997
|
+
return DatabaseActionsApiFp(this.configuration).deployDatabase(databaseId, applyImmediately, options).then((request) => request(this.axios, this.basePath));
|
|
17985
17998
|
}
|
|
17986
17999
|
/**
|
|
17987
18000
|
*
|
|
@@ -17998,12 +18011,13 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
17998
18011
|
*
|
|
17999
18012
|
* @summary Redeploy database
|
|
18000
18013
|
* @param {string} databaseId Database ID
|
|
18014
|
+
* @param {boolean} [applyImmediately] Apply immediately regardless of the maintenance window
|
|
18001
18015
|
* @param {*} [options] Override http request option.
|
|
18002
18016
|
* @throws {RequiredError}
|
|
18003
18017
|
* @memberof DatabaseActionsApi
|
|
18004
18018
|
*/
|
|
18005
|
-
redeployDatabase(databaseId, options) {
|
|
18006
|
-
return DatabaseActionsApiFp(this.configuration).redeployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
18019
|
+
redeployDatabase(databaseId, applyImmediately, options) {
|
|
18020
|
+
return DatabaseActionsApiFp(this.configuration).redeployDatabase(databaseId, applyImmediately, options).then((request) => request(this.axios, this.basePath));
|
|
18007
18021
|
}
|
|
18008
18022
|
/**
|
|
18009
18023
|
*
|
|
@@ -19642,14 +19656,15 @@ export class DeploymentQueueActionsApi extends BaseAPI {
|
|
|
19642
19656
|
export const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
|
|
19643
19657
|
return {
|
|
19644
19658
|
/**
|
|
19645
|
-
*
|
|
19659
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
19646
19660
|
* @summary Attach service to deployment stage
|
|
19647
19661
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
19648
19662
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
19663
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
19649
19664
|
* @param {*} [options] Override http request option.
|
|
19650
19665
|
* @throws {RequiredError}
|
|
19651
19666
|
*/
|
|
19652
|
-
attachServiceToDeploymentStage: (deploymentStageId_1, serviceId_1, ...args_1) => __awaiter(this, [deploymentStageId_1, serviceId_1, ...args_1], void 0, function* (deploymentStageId, serviceId, options = {}) {
|
|
19667
|
+
attachServiceToDeploymentStage: (deploymentStageId_1, serviceId_1, attachServiceToDeploymentStageRequest_1, ...args_1) => __awaiter(this, [deploymentStageId_1, serviceId_1, attachServiceToDeploymentStageRequest_1, ...args_1], void 0, function* (deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options = {}) {
|
|
19653
19668
|
// verify required parameter 'deploymentStageId' is not null or undefined
|
|
19654
19669
|
assertParamExists('attachServiceToDeploymentStage', 'deploymentStageId', deploymentStageId);
|
|
19655
19670
|
// verify required parameter 'serviceId' is not null or undefined
|
|
@@ -19671,9 +19686,11 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
|
|
|
19671
19686
|
// authentication bearerAuth required
|
|
19672
19687
|
// http bearer authentication required
|
|
19673
19688
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
19689
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19674
19690
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19675
19691
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19676
19692
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19693
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachServiceToDeploymentStageRequest, localVarRequestOptions, configuration);
|
|
19677
19694
|
return {
|
|
19678
19695
|
url: toPathString(localVarUrlObj),
|
|
19679
19696
|
options: localVarRequestOptions,
|
|
@@ -19975,17 +19992,18 @@ export const DeploymentStageMainCallsApiFp = function (configuration) {
|
|
|
19975
19992
|
const localVarAxiosParamCreator = DeploymentStageMainCallsApiAxiosParamCreator(configuration);
|
|
19976
19993
|
return {
|
|
19977
19994
|
/**
|
|
19978
|
-
*
|
|
19995
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
19979
19996
|
* @summary Attach service to deployment stage
|
|
19980
19997
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
19981
19998
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
19999
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
19982
20000
|
* @param {*} [options] Override http request option.
|
|
19983
20001
|
* @throws {RequiredError}
|
|
19984
20002
|
*/
|
|
19985
|
-
attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
|
|
20003
|
+
attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options) {
|
|
19986
20004
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19987
20005
|
var _a, _b, _c;
|
|
19988
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, options);
|
|
20006
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options);
|
|
19989
20007
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19990
20008
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DeploymentStageMainCallsApi.attachServiceToDeploymentStage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19991
20009
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -20133,15 +20151,16 @@ export const DeploymentStageMainCallsApiFactory = function (configuration, baseP
|
|
|
20133
20151
|
const localVarFp = DeploymentStageMainCallsApiFp(configuration);
|
|
20134
20152
|
return {
|
|
20135
20153
|
/**
|
|
20136
|
-
*
|
|
20154
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
20137
20155
|
* @summary Attach service to deployment stage
|
|
20138
20156
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
20139
20157
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
20158
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
20140
20159
|
* @param {*} [options] Override http request option.
|
|
20141
20160
|
* @throws {RequiredError}
|
|
20142
20161
|
*/
|
|
20143
|
-
attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
|
|
20144
|
-
return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(axios, basePath));
|
|
20162
|
+
attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options) {
|
|
20163
|
+
return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options).then((request) => request(axios, basePath));
|
|
20145
20164
|
},
|
|
20146
20165
|
/**
|
|
20147
20166
|
*
|
|
@@ -20237,16 +20256,17 @@ export const DeploymentStageMainCallsApiFactory = function (configuration, baseP
|
|
|
20237
20256
|
*/
|
|
20238
20257
|
export class DeploymentStageMainCallsApi extends BaseAPI {
|
|
20239
20258
|
/**
|
|
20240
|
-
*
|
|
20259
|
+
* Moves the service to the specified deployment stage. To skip a service from environment-level deployments while keeping it in its current stage, set `is_skipped: true` in the request body. Moving the service to a different stage automatically un-skips it (sets `is_skipped: false`).
|
|
20241
20260
|
* @summary Attach service to deployment stage
|
|
20242
20261
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
20243
20262
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
20263
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
20244
20264
|
* @param {*} [options] Override http request option.
|
|
20245
20265
|
* @throws {RequiredError}
|
|
20246
20266
|
* @memberof DeploymentStageMainCallsApi
|
|
20247
20267
|
*/
|
|
20248
|
-
attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
|
|
20249
|
-
return DeploymentStageMainCallsApiFp(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
20268
|
+
attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options) {
|
|
20269
|
+
return DeploymentStageMainCallsApiFp(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
20250
20270
|
}
|
|
20251
20271
|
/**
|
|
20252
20272
|
*
|