qovery-typescript-axios 1.1.825 → 1.1.827
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 +41 -28
- package/dist/api.d.ts +35 -25
- package/dist/api.js +17 -11
- package/dist/esm/api.d.ts +35 -25
- package/dist/esm/api.js +17 -11
- 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
|
|
@@ -3168,10 +3181,10 @@ export interface Cluster {
|
|
|
3168
3181
|
'keda'?: ClusterKeda;
|
|
3169
3182
|
/**
|
|
3170
3183
|
*
|
|
3171
|
-
* @type {
|
|
3184
|
+
* @type {Array<ClusterLabelsGroup>}
|
|
3172
3185
|
* @memberof Cluster
|
|
3173
3186
|
*/
|
|
3174
|
-
'labels_groups'?:
|
|
3187
|
+
'labels_groups'?: Array<ClusterLabelsGroup>;
|
|
3175
3188
|
}
|
|
3176
3189
|
|
|
3177
3190
|
|
|
@@ -4219,19 +4232,6 @@ export interface ClusterLabelsGroup {
|
|
|
4219
4232
|
*/
|
|
4220
4233
|
'id'?: string;
|
|
4221
4234
|
}
|
|
4222
|
-
/**
|
|
4223
|
-
*
|
|
4224
|
-
* @export
|
|
4225
|
-
* @interface ClusterLabelsGroupList
|
|
4226
|
-
*/
|
|
4227
|
-
export interface ClusterLabelsGroupList {
|
|
4228
|
-
/**
|
|
4229
|
-
*
|
|
4230
|
-
* @type {Array<ClusterLabelsGroup>}
|
|
4231
|
-
* @memberof ClusterLabelsGroupList
|
|
4232
|
-
*/
|
|
4233
|
-
'id'?: Array<ClusterLabelsGroup>;
|
|
4234
|
-
}
|
|
4235
4235
|
/**
|
|
4236
4236
|
*
|
|
4237
4237
|
* @export
|
|
@@ -4754,10 +4754,10 @@ export interface ClusterRequest {
|
|
|
4754
4754
|
'keda'?: ClusterKeda;
|
|
4755
4755
|
/**
|
|
4756
4756
|
*
|
|
4757
|
-
* @type {
|
|
4757
|
+
* @type {Array<ClusterLabelsGroup>}
|
|
4758
4758
|
* @memberof ClusterRequest
|
|
4759
4759
|
*/
|
|
4760
|
-
'labels_groups'?:
|
|
4760
|
+
'labels_groups'?: Array<ClusterLabelsGroup>;
|
|
4761
4761
|
}
|
|
4762
4762
|
|
|
4763
4763
|
|
|
@@ -8502,6 +8502,12 @@ export interface DeploymentStageServiceResponse {
|
|
|
8502
8502
|
* @memberof DeploymentStageServiceResponse
|
|
8503
8503
|
*/
|
|
8504
8504
|
'service_type'?: string;
|
|
8505
|
+
/**
|
|
8506
|
+
* whether the service is excluded from environment-level deployments
|
|
8507
|
+
* @type {boolean}
|
|
8508
|
+
* @memberof DeploymentStageServiceResponse
|
|
8509
|
+
*/
|
|
8510
|
+
'is_skipped'?: boolean;
|
|
8505
8511
|
}
|
|
8506
8512
|
/**
|
|
8507
8513
|
*
|
|
@@ -41250,14 +41256,15 @@ export class DeploymentQueueActionsApi extends BaseAPI {
|
|
|
41250
41256
|
export const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
41251
41257
|
return {
|
|
41252
41258
|
/**
|
|
41253
|
-
*
|
|
41259
|
+
* 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`).
|
|
41254
41260
|
* @summary Attach service to deployment stage
|
|
41255
41261
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
41256
41262
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
41263
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
41257
41264
|
* @param {*} [options] Override http request option.
|
|
41258
41265
|
* @throws {RequiredError}
|
|
41259
41266
|
*/
|
|
41260
|
-
attachServiceToDeploymentStage: async (deploymentStageId: string, serviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41267
|
+
attachServiceToDeploymentStage: async (deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41261
41268
|
// verify required parameter 'deploymentStageId' is not null or undefined
|
|
41262
41269
|
assertParamExists('attachServiceToDeploymentStage', 'deploymentStageId', deploymentStageId)
|
|
41263
41270
|
// verify required parameter 'serviceId' is not null or undefined
|
|
@@ -41285,9 +41292,12 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
|
|
|
41285
41292
|
|
|
41286
41293
|
|
|
41287
41294
|
|
|
41295
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41296
|
+
|
|
41288
41297
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41289
41298
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41290
41299
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41300
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachServiceToDeploymentStageRequest, localVarRequestOptions, configuration)
|
|
41291
41301
|
|
|
41292
41302
|
return {
|
|
41293
41303
|
url: toPathString(localVarUrlObj),
|
|
@@ -41649,15 +41659,16 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
|
|
|
41649
41659
|
const localVarAxiosParamCreator = DeploymentStageMainCallsApiAxiosParamCreator(configuration)
|
|
41650
41660
|
return {
|
|
41651
41661
|
/**
|
|
41652
|
-
*
|
|
41662
|
+
* 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`).
|
|
41653
41663
|
* @summary Attach service to deployment stage
|
|
41654
41664
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
41655
41665
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
41666
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
41656
41667
|
* @param {*} [options] Override http request option.
|
|
41657
41668
|
* @throws {RequiredError}
|
|
41658
41669
|
*/
|
|
41659
|
-
async attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
|
|
41660
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, options);
|
|
41670
|
+
async attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
|
|
41671
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options);
|
|
41661
41672
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41662
41673
|
const localVarOperationServerBasePath = operationServerMap['DeploymentStageMainCallsApi.attachServiceToDeploymentStage']?.[localVarOperationServerIndex]?.url;
|
|
41663
41674
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -41781,15 +41792,16 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
|
|
|
41781
41792
|
const localVarFp = DeploymentStageMainCallsApiFp(configuration)
|
|
41782
41793
|
return {
|
|
41783
41794
|
/**
|
|
41784
|
-
*
|
|
41795
|
+
* 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`).
|
|
41785
41796
|
* @summary Attach service to deployment stage
|
|
41786
41797
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
41787
41798
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
41799
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
41788
41800
|
* @param {*} [options] Override http request option.
|
|
41789
41801
|
* @throws {RequiredError}
|
|
41790
41802
|
*/
|
|
41791
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList> {
|
|
41792
|
-
return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(axios, basePath));
|
|
41803
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList> {
|
|
41804
|
+
return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options).then((request) => request(axios, basePath));
|
|
41793
41805
|
},
|
|
41794
41806
|
/**
|
|
41795
41807
|
*
|
|
@@ -41886,16 +41898,17 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
|
|
|
41886
41898
|
*/
|
|
41887
41899
|
export class DeploymentStageMainCallsApi extends BaseAPI {
|
|
41888
41900
|
/**
|
|
41889
|
-
*
|
|
41901
|
+
* 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`).
|
|
41890
41902
|
* @summary Attach service to deployment stage
|
|
41891
41903
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
41892
41904
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
41905
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
41893
41906
|
* @param {*} [options] Override http request option.
|
|
41894
41907
|
* @throws {RequiredError}
|
|
41895
41908
|
* @memberof DeploymentStageMainCallsApi
|
|
41896
41909
|
*/
|
|
41897
|
-
public attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig) {
|
|
41898
|
-
return DeploymentStageMainCallsApiFp(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
41910
|
+
public attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig) {
|
|
41911
|
+
return DeploymentStageMainCallsApiFp(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41899
41912
|
}
|
|
41900
41913
|
|
|
41901
41914
|
/**
|
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
|
|
@@ -3056,10 +3069,10 @@ export interface Cluster {
|
|
|
3056
3069
|
'keda'?: ClusterKeda;
|
|
3057
3070
|
/**
|
|
3058
3071
|
*
|
|
3059
|
-
* @type {
|
|
3072
|
+
* @type {Array<ClusterLabelsGroup>}
|
|
3060
3073
|
* @memberof Cluster
|
|
3061
3074
|
*/
|
|
3062
|
-
'labels_groups'?:
|
|
3075
|
+
'labels_groups'?: Array<ClusterLabelsGroup>;
|
|
3063
3076
|
}
|
|
3064
3077
|
/**
|
|
3065
3078
|
*
|
|
@@ -4092,19 +4105,6 @@ export interface ClusterLabelsGroup {
|
|
|
4092
4105
|
*/
|
|
4093
4106
|
'id'?: string;
|
|
4094
4107
|
}
|
|
4095
|
-
/**
|
|
4096
|
-
*
|
|
4097
|
-
* @export
|
|
4098
|
-
* @interface ClusterLabelsGroupList
|
|
4099
|
-
*/
|
|
4100
|
-
export interface ClusterLabelsGroupList {
|
|
4101
|
-
/**
|
|
4102
|
-
*
|
|
4103
|
-
* @type {Array<ClusterLabelsGroup>}
|
|
4104
|
-
* @memberof ClusterLabelsGroupList
|
|
4105
|
-
*/
|
|
4106
|
-
'id'?: Array<ClusterLabelsGroup>;
|
|
4107
|
-
}
|
|
4108
4108
|
/**
|
|
4109
4109
|
*
|
|
4110
4110
|
* @export
|
|
@@ -4622,10 +4622,10 @@ export interface ClusterRequest {
|
|
|
4622
4622
|
'keda'?: ClusterKeda;
|
|
4623
4623
|
/**
|
|
4624
4624
|
*
|
|
4625
|
-
* @type {
|
|
4625
|
+
* @type {Array<ClusterLabelsGroup>}
|
|
4626
4626
|
* @memberof ClusterRequest
|
|
4627
4627
|
*/
|
|
4628
|
-
'labels_groups'?:
|
|
4628
|
+
'labels_groups'?: Array<ClusterLabelsGroup>;
|
|
4629
4629
|
}
|
|
4630
4630
|
/**
|
|
4631
4631
|
*
|
|
@@ -8237,6 +8237,12 @@ export interface DeploymentStageServiceResponse {
|
|
|
8237
8237
|
* @memberof DeploymentStageServiceResponse
|
|
8238
8238
|
*/
|
|
8239
8239
|
'service_type'?: string;
|
|
8240
|
+
/**
|
|
8241
|
+
* whether the service is excluded from environment-level deployments
|
|
8242
|
+
* @type {boolean}
|
|
8243
|
+
* @memberof DeploymentStageServiceResponse
|
|
8244
|
+
*/
|
|
8245
|
+
'is_skipped'?: boolean;
|
|
8240
8246
|
}
|
|
8241
8247
|
/**
|
|
8242
8248
|
*
|
|
@@ -29816,14 +29822,15 @@ export declare class DeploymentQueueActionsApi extends BaseAPI {
|
|
|
29816
29822
|
*/
|
|
29817
29823
|
export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
29818
29824
|
/**
|
|
29819
|
-
*
|
|
29825
|
+
* 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`).
|
|
29820
29826
|
* @summary Attach service to deployment stage
|
|
29821
29827
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
29822
29828
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29829
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
29823
29830
|
* @param {*} [options] Override http request option.
|
|
29824
29831
|
* @throws {RequiredError}
|
|
29825
29832
|
*/
|
|
29826
|
-
attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29833
|
+
attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29827
29834
|
/**
|
|
29828
29835
|
*
|
|
29829
29836
|
* @summary Create environment deployment stage
|
|
@@ -29899,14 +29906,15 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
|
|
|
29899
29906
|
*/
|
|
29900
29907
|
export declare const DeploymentStageMainCallsApiFp: (configuration?: Configuration) => {
|
|
29901
29908
|
/**
|
|
29902
|
-
*
|
|
29909
|
+
* 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`).
|
|
29903
29910
|
* @summary Attach service to deployment stage
|
|
29904
29911
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
29905
29912
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29913
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
29906
29914
|
* @param {*} [options] Override http request option.
|
|
29907
29915
|
* @throws {RequiredError}
|
|
29908
29916
|
*/
|
|
29909
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
|
|
29917
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
|
|
29910
29918
|
/**
|
|
29911
29919
|
*
|
|
29912
29920
|
* @summary Create environment deployment stage
|
|
@@ -29982,14 +29990,15 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
|
|
|
29982
29990
|
*/
|
|
29983
29991
|
export declare const DeploymentStageMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
29984
29992
|
/**
|
|
29985
|
-
*
|
|
29993
|
+
* 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`).
|
|
29986
29994
|
* @summary Attach service to deployment stage
|
|
29987
29995
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
29988
29996
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29997
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
29989
29998
|
* @param {*} [options] Override http request option.
|
|
29990
29999
|
* @throws {RequiredError}
|
|
29991
30000
|
*/
|
|
29992
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList>;
|
|
30001
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList>;
|
|
29993
30002
|
/**
|
|
29994
30003
|
*
|
|
29995
30004
|
* @summary Create environment deployment stage
|
|
@@ -30067,15 +30076,16 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
|
|
|
30067
30076
|
*/
|
|
30068
30077
|
export declare class DeploymentStageMainCallsApi extends BaseAPI {
|
|
30069
30078
|
/**
|
|
30070
|
-
*
|
|
30079
|
+
* 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`).
|
|
30071
30080
|
* @summary Attach service to deployment stage
|
|
30072
30081
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
30073
30082
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
30083
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
30074
30084
|
* @param {*} [options] Override http request option.
|
|
30075
30085
|
* @throws {RequiredError}
|
|
30076
30086
|
* @memberof DeploymentStageMainCallsApi
|
|
30077
30087
|
*/
|
|
30078
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList, any, {}>>;
|
|
30088
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList, any, {}>>;
|
|
30079
30089
|
/**
|
|
30080
30090
|
*
|
|
30081
30091
|
* @summary Create environment deployment stage
|
package/dist/api.js
CHANGED
|
@@ -19808,14 +19808,15 @@ exports.DeploymentQueueActionsApi = DeploymentQueueActionsApi;
|
|
|
19808
19808
|
const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
|
|
19809
19809
|
return {
|
|
19810
19810
|
/**
|
|
19811
|
-
*
|
|
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`).
|
|
19812
19812
|
* @summary Attach service to deployment stage
|
|
19813
19813
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
19814
19814
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
19815
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
19815
19816
|
* @param {*} [options] Override http request option.
|
|
19816
19817
|
* @throws {RequiredError}
|
|
19817
19818
|
*/
|
|
19818
|
-
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 = {}) {
|
|
19819
19820
|
// verify required parameter 'deploymentStageId' is not null or undefined
|
|
19820
19821
|
(0, common_1.assertParamExists)('attachServiceToDeploymentStage', 'deploymentStageId', deploymentStageId);
|
|
19821
19822
|
// verify required parameter 'serviceId' is not null or undefined
|
|
@@ -19837,9 +19838,11 @@ const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
19837
19838
|
// authentication bearerAuth required
|
|
19838
19839
|
// http bearer authentication required
|
|
19839
19840
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
19841
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19840
19842
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
19841
19843
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19842
19844
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19845
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(attachServiceToDeploymentStageRequest, localVarRequestOptions, configuration);
|
|
19843
19846
|
return {
|
|
19844
19847
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
19845
19848
|
options: localVarRequestOptions,
|
|
@@ -20142,17 +20145,18 @@ const DeploymentStageMainCallsApiFp = function (configuration) {
|
|
|
20142
20145
|
const localVarAxiosParamCreator = (0, exports.DeploymentStageMainCallsApiAxiosParamCreator)(configuration);
|
|
20143
20146
|
return {
|
|
20144
20147
|
/**
|
|
20145
|
-
*
|
|
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`).
|
|
20146
20149
|
* @summary Attach service to deployment stage
|
|
20147
20150
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
20148
20151
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
20152
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
20149
20153
|
* @param {*} [options] Override http request option.
|
|
20150
20154
|
* @throws {RequiredError}
|
|
20151
20155
|
*/
|
|
20152
|
-
attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
|
|
20156
|
+
attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options) {
|
|
20153
20157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
20154
20158
|
var _a, _b, _c;
|
|
20155
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, options);
|
|
20159
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options);
|
|
20156
20160
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20157
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;
|
|
20158
20162
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -20301,15 +20305,16 @@ const DeploymentStageMainCallsApiFactory = function (configuration, basePath, ax
|
|
|
20301
20305
|
const localVarFp = (0, exports.DeploymentStageMainCallsApiFp)(configuration);
|
|
20302
20306
|
return {
|
|
20303
20307
|
/**
|
|
20304
|
-
*
|
|
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`).
|
|
20305
20309
|
* @summary Attach service to deployment stage
|
|
20306
20310
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
20307
20311
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
20312
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
20308
20313
|
* @param {*} [options] Override http request option.
|
|
20309
20314
|
* @throws {RequiredError}
|
|
20310
20315
|
*/
|
|
20311
|
-
attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
|
|
20312
|
-
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));
|
|
20313
20318
|
},
|
|
20314
20319
|
/**
|
|
20315
20320
|
*
|
|
@@ -20406,16 +20411,17 @@ exports.DeploymentStageMainCallsApiFactory = DeploymentStageMainCallsApiFactory;
|
|
|
20406
20411
|
*/
|
|
20407
20412
|
class DeploymentStageMainCallsApi extends base_1.BaseAPI {
|
|
20408
20413
|
/**
|
|
20409
|
-
*
|
|
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`).
|
|
20410
20415
|
* @summary Attach service to deployment stage
|
|
20411
20416
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
20412
20417
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
20418
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
20413
20419
|
* @param {*} [options] Override http request option.
|
|
20414
20420
|
* @throws {RequiredError}
|
|
20415
20421
|
* @memberof DeploymentStageMainCallsApi
|
|
20416
20422
|
*/
|
|
20417
|
-
attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
|
|
20418
|
-
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));
|
|
20419
20425
|
}
|
|
20420
20426
|
/**
|
|
20421
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
|
|
@@ -3056,10 +3069,10 @@ export interface Cluster {
|
|
|
3056
3069
|
'keda'?: ClusterKeda;
|
|
3057
3070
|
/**
|
|
3058
3071
|
*
|
|
3059
|
-
* @type {
|
|
3072
|
+
* @type {Array<ClusterLabelsGroup>}
|
|
3060
3073
|
* @memberof Cluster
|
|
3061
3074
|
*/
|
|
3062
|
-
'labels_groups'?:
|
|
3075
|
+
'labels_groups'?: Array<ClusterLabelsGroup>;
|
|
3063
3076
|
}
|
|
3064
3077
|
/**
|
|
3065
3078
|
*
|
|
@@ -4092,19 +4105,6 @@ export interface ClusterLabelsGroup {
|
|
|
4092
4105
|
*/
|
|
4093
4106
|
'id'?: string;
|
|
4094
4107
|
}
|
|
4095
|
-
/**
|
|
4096
|
-
*
|
|
4097
|
-
* @export
|
|
4098
|
-
* @interface ClusterLabelsGroupList
|
|
4099
|
-
*/
|
|
4100
|
-
export interface ClusterLabelsGroupList {
|
|
4101
|
-
/**
|
|
4102
|
-
*
|
|
4103
|
-
* @type {Array<ClusterLabelsGroup>}
|
|
4104
|
-
* @memberof ClusterLabelsGroupList
|
|
4105
|
-
*/
|
|
4106
|
-
'id'?: Array<ClusterLabelsGroup>;
|
|
4107
|
-
}
|
|
4108
4108
|
/**
|
|
4109
4109
|
*
|
|
4110
4110
|
* @export
|
|
@@ -4622,10 +4622,10 @@ export interface ClusterRequest {
|
|
|
4622
4622
|
'keda'?: ClusterKeda;
|
|
4623
4623
|
/**
|
|
4624
4624
|
*
|
|
4625
|
-
* @type {
|
|
4625
|
+
* @type {Array<ClusterLabelsGroup>}
|
|
4626
4626
|
* @memberof ClusterRequest
|
|
4627
4627
|
*/
|
|
4628
|
-
'labels_groups'?:
|
|
4628
|
+
'labels_groups'?: Array<ClusterLabelsGroup>;
|
|
4629
4629
|
}
|
|
4630
4630
|
/**
|
|
4631
4631
|
*
|
|
@@ -8237,6 +8237,12 @@ export interface DeploymentStageServiceResponse {
|
|
|
8237
8237
|
* @memberof DeploymentStageServiceResponse
|
|
8238
8238
|
*/
|
|
8239
8239
|
'service_type'?: string;
|
|
8240
|
+
/**
|
|
8241
|
+
* whether the service is excluded from environment-level deployments
|
|
8242
|
+
* @type {boolean}
|
|
8243
|
+
* @memberof DeploymentStageServiceResponse
|
|
8244
|
+
*/
|
|
8245
|
+
'is_skipped'?: boolean;
|
|
8240
8246
|
}
|
|
8241
8247
|
/**
|
|
8242
8248
|
*
|
|
@@ -29816,14 +29822,15 @@ export declare class DeploymentQueueActionsApi extends BaseAPI {
|
|
|
29816
29822
|
*/
|
|
29817
29823
|
export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
29818
29824
|
/**
|
|
29819
|
-
*
|
|
29825
|
+
* 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`).
|
|
29820
29826
|
* @summary Attach service to deployment stage
|
|
29821
29827
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
29822
29828
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29829
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
29823
29830
|
* @param {*} [options] Override http request option.
|
|
29824
29831
|
* @throws {RequiredError}
|
|
29825
29832
|
*/
|
|
29826
|
-
attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29833
|
+
attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29827
29834
|
/**
|
|
29828
29835
|
*
|
|
29829
29836
|
* @summary Create environment deployment stage
|
|
@@ -29899,14 +29906,15 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
|
|
|
29899
29906
|
*/
|
|
29900
29907
|
export declare const DeploymentStageMainCallsApiFp: (configuration?: Configuration) => {
|
|
29901
29908
|
/**
|
|
29902
|
-
*
|
|
29909
|
+
* 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`).
|
|
29903
29910
|
* @summary Attach service to deployment stage
|
|
29904
29911
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
29905
29912
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29913
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
29906
29914
|
* @param {*} [options] Override http request option.
|
|
29907
29915
|
* @throws {RequiredError}
|
|
29908
29916
|
*/
|
|
29909
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
|
|
29917
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
|
|
29910
29918
|
/**
|
|
29911
29919
|
*
|
|
29912
29920
|
* @summary Create environment deployment stage
|
|
@@ -29982,14 +29990,15 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
|
|
|
29982
29990
|
*/
|
|
29983
29991
|
export declare const DeploymentStageMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
29984
29992
|
/**
|
|
29985
|
-
*
|
|
29993
|
+
* 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`).
|
|
29986
29994
|
* @summary Attach service to deployment stage
|
|
29987
29995
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
29988
29996
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
29997
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
29989
29998
|
* @param {*} [options] Override http request option.
|
|
29990
29999
|
* @throws {RequiredError}
|
|
29991
30000
|
*/
|
|
29992
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList>;
|
|
30001
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList>;
|
|
29993
30002
|
/**
|
|
29994
30003
|
*
|
|
29995
30004
|
* @summary Create environment deployment stage
|
|
@@ -30067,15 +30076,16 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
|
|
|
30067
30076
|
*/
|
|
30068
30077
|
export declare class DeploymentStageMainCallsApi extends BaseAPI {
|
|
30069
30078
|
/**
|
|
30070
|
-
*
|
|
30079
|
+
* 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`).
|
|
30071
30080
|
* @summary Attach service to deployment stage
|
|
30072
30081
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
30073
30082
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
30083
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
30074
30084
|
* @param {*} [options] Override http request option.
|
|
30075
30085
|
* @throws {RequiredError}
|
|
30076
30086
|
* @memberof DeploymentStageMainCallsApi
|
|
30077
30087
|
*/
|
|
30078
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList, any, {}>>;
|
|
30088
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList, any, {}>>;
|
|
30079
30089
|
/**
|
|
30080
30090
|
*
|
|
30081
30091
|
* @summary Create environment deployment stage
|
package/dist/esm/api.js
CHANGED
|
@@ -19656,14 +19656,15 @@ export class DeploymentQueueActionsApi extends BaseAPI {
|
|
|
19656
19656
|
export const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
|
|
19657
19657
|
return {
|
|
19658
19658
|
/**
|
|
19659
|
-
*
|
|
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`).
|
|
19660
19660
|
* @summary Attach service to deployment stage
|
|
19661
19661
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
19662
19662
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
19663
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
19663
19664
|
* @param {*} [options] Override http request option.
|
|
19664
19665
|
* @throws {RequiredError}
|
|
19665
19666
|
*/
|
|
19666
|
-
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 = {}) {
|
|
19667
19668
|
// verify required parameter 'deploymentStageId' is not null or undefined
|
|
19668
19669
|
assertParamExists('attachServiceToDeploymentStage', 'deploymentStageId', deploymentStageId);
|
|
19669
19670
|
// verify required parameter 'serviceId' is not null or undefined
|
|
@@ -19685,9 +19686,11 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
|
|
|
19685
19686
|
// authentication bearerAuth required
|
|
19686
19687
|
// http bearer authentication required
|
|
19687
19688
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
19689
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19688
19690
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19689
19691
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19690
19692
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19693
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachServiceToDeploymentStageRequest, localVarRequestOptions, configuration);
|
|
19691
19694
|
return {
|
|
19692
19695
|
url: toPathString(localVarUrlObj),
|
|
19693
19696
|
options: localVarRequestOptions,
|
|
@@ -19989,17 +19992,18 @@ export const DeploymentStageMainCallsApiFp = function (configuration) {
|
|
|
19989
19992
|
const localVarAxiosParamCreator = DeploymentStageMainCallsApiAxiosParamCreator(configuration);
|
|
19990
19993
|
return {
|
|
19991
19994
|
/**
|
|
19992
|
-
*
|
|
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`).
|
|
19993
19996
|
* @summary Attach service to deployment stage
|
|
19994
19997
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
19995
19998
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
19999
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
19996
20000
|
* @param {*} [options] Override http request option.
|
|
19997
20001
|
* @throws {RequiredError}
|
|
19998
20002
|
*/
|
|
19999
|
-
attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
|
|
20003
|
+
attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options) {
|
|
20000
20004
|
return __awaiter(this, void 0, void 0, function* () {
|
|
20001
20005
|
var _a, _b, _c;
|
|
20002
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, options);
|
|
20006
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, attachServiceToDeploymentStageRequest, options);
|
|
20003
20007
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20004
20008
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DeploymentStageMainCallsApi.attachServiceToDeploymentStage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20005
20009
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -20147,15 +20151,16 @@ export const DeploymentStageMainCallsApiFactory = function (configuration, baseP
|
|
|
20147
20151
|
const localVarFp = DeploymentStageMainCallsApiFp(configuration);
|
|
20148
20152
|
return {
|
|
20149
20153
|
/**
|
|
20150
|
-
*
|
|
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`).
|
|
20151
20155
|
* @summary Attach service to deployment stage
|
|
20152
20156
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
20153
20157
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
20158
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
20154
20159
|
* @param {*} [options] Override http request option.
|
|
20155
20160
|
* @throws {RequiredError}
|
|
20156
20161
|
*/
|
|
20157
|
-
attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
|
|
20158
|
-
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));
|
|
20159
20164
|
},
|
|
20160
20165
|
/**
|
|
20161
20166
|
*
|
|
@@ -20251,16 +20256,17 @@ export const DeploymentStageMainCallsApiFactory = function (configuration, baseP
|
|
|
20251
20256
|
*/
|
|
20252
20257
|
export class DeploymentStageMainCallsApi extends BaseAPI {
|
|
20253
20258
|
/**
|
|
20254
|
-
*
|
|
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`).
|
|
20255
20260
|
* @summary Attach service to deployment stage
|
|
20256
20261
|
* @param {string} deploymentStageId Deployment Stage ID
|
|
20257
20262
|
* @param {string} serviceId Service ID of an application/job/container/database
|
|
20263
|
+
* @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
|
|
20258
20264
|
* @param {*} [options] Override http request option.
|
|
20259
20265
|
* @throws {RequiredError}
|
|
20260
20266
|
* @memberof DeploymentStageMainCallsApi
|
|
20261
20267
|
*/
|
|
20262
|
-
attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
|
|
20263
|
-
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));
|
|
20264
20270
|
}
|
|
20265
20271
|
/**
|
|
20266
20272
|
*
|