qovery-typescript-axios 1.1.825 → 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 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
  *
@@ -41250,14 +41269,15 @@ export class DeploymentQueueActionsApi extends BaseAPI {
41250
41269
  export const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
41251
41270
  return {
41252
41271
  /**
41253
- *
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`).
41254
41273
  * @summary Attach service to deployment stage
41255
41274
  * @param {string} deploymentStageId Deployment Stage ID
41256
41275
  * @param {string} serviceId Service ID of an application/job/container/database
41276
+ * @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
41257
41277
  * @param {*} [options] Override http request option.
41258
41278
  * @throws {RequiredError}
41259
41279
  */
41260
- attachServiceToDeploymentStage: async (deploymentStageId: string, serviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
41280
+ attachServiceToDeploymentStage: async (deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
41261
41281
  // verify required parameter 'deploymentStageId' is not null or undefined
41262
41282
  assertParamExists('attachServiceToDeploymentStage', 'deploymentStageId', deploymentStageId)
41263
41283
  // verify required parameter 'serviceId' is not null or undefined
@@ -41285,9 +41305,12 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
41285
41305
 
41286
41306
 
41287
41307
 
41308
+ localVarHeaderParameter['Content-Type'] = 'application/json';
41309
+
41288
41310
  setSearchParams(localVarUrlObj, localVarQueryParameter);
41289
41311
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41290
41312
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41313
+ localVarRequestOptions.data = serializeDataIfNeeded(attachServiceToDeploymentStageRequest, localVarRequestOptions, configuration)
41291
41314
 
41292
41315
  return {
41293
41316
  url: toPathString(localVarUrlObj),
@@ -41649,15 +41672,16 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
41649
41672
  const localVarAxiosParamCreator = DeploymentStageMainCallsApiAxiosParamCreator(configuration)
41650
41673
  return {
41651
41674
  /**
41652
- *
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`).
41653
41676
  * @summary Attach service to deployment stage
41654
41677
  * @param {string} deploymentStageId Deployment Stage ID
41655
41678
  * @param {string} serviceId Service ID of an application/job/container/database
41679
+ * @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
41656
41680
  * @param {*} [options] Override http request option.
41657
41681
  * @throws {RequiredError}
41658
41682
  */
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);
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);
41661
41685
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
41662
41686
  const localVarOperationServerBasePath = operationServerMap['DeploymentStageMainCallsApi.attachServiceToDeploymentStage']?.[localVarOperationServerIndex]?.url;
41663
41687
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -41781,15 +41805,16 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
41781
41805
  const localVarFp = DeploymentStageMainCallsApiFp(configuration)
41782
41806
  return {
41783
41807
  /**
41784
- *
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`).
41785
41809
  * @summary Attach service to deployment stage
41786
41810
  * @param {string} deploymentStageId Deployment Stage ID
41787
41811
  * @param {string} serviceId Service ID of an application/job/container/database
41812
+ * @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
41788
41813
  * @param {*} [options] Override http request option.
41789
41814
  * @throws {RequiredError}
41790
41815
  */
41791
- attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList> {
41792
- 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));
41793
41818
  },
41794
41819
  /**
41795
41820
  *
@@ -41886,16 +41911,17 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
41886
41911
  */
41887
41912
  export class DeploymentStageMainCallsApi extends BaseAPI {
41888
41913
  /**
41889
- *
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`).
41890
41915
  * @summary Attach service to deployment stage
41891
41916
  * @param {string} deploymentStageId Deployment Stage ID
41892
41917
  * @param {string} serviceId Service ID of an application/job/container/database
41918
+ * @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
41893
41919
  * @param {*} [options] Override http request option.
41894
41920
  * @throws {RequiredError}
41895
41921
  * @memberof DeploymentStageMainCallsApi
41896
41922
  */
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));
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));
41899
41925
  }
41900
41926
 
41901
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
  *
@@ -29816,14 +29835,15 @@ export declare class DeploymentQueueActionsApi extends BaseAPI {
29816
29835
  */
29817
29836
  export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
29818
29837
  /**
29819
- *
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`).
29820
29839
  * @summary Attach service to deployment stage
29821
29840
  * @param {string} deploymentStageId Deployment Stage ID
29822
29841
  * @param {string} serviceId Service ID of an application/job/container/database
29842
+ * @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
29823
29843
  * @param {*} [options] Override http request option.
29824
29844
  * @throws {RequiredError}
29825
29845
  */
29826
- attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29846
+ attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29827
29847
  /**
29828
29848
  *
29829
29849
  * @summary Create environment deployment stage
@@ -29899,14 +29919,15 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
29899
29919
  */
29900
29920
  export declare const DeploymentStageMainCallsApiFp: (configuration?: Configuration) => {
29901
29921
  /**
29902
- *
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`).
29903
29923
  * @summary Attach service to deployment stage
29904
29924
  * @param {string} deploymentStageId Deployment Stage ID
29905
29925
  * @param {string} serviceId Service ID of an application/job/container/database
29926
+ * @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
29906
29927
  * @param {*} [options] Override http request option.
29907
29928
  * @throws {RequiredError}
29908
29929
  */
29909
- 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>>;
29910
29931
  /**
29911
29932
  *
29912
29933
  * @summary Create environment deployment stage
@@ -29982,14 +30003,15 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
29982
30003
  */
29983
30004
  export declare const DeploymentStageMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
29984
30005
  /**
29985
- *
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`).
29986
30007
  * @summary Attach service to deployment stage
29987
30008
  * @param {string} deploymentStageId Deployment Stage ID
29988
30009
  * @param {string} serviceId Service ID of an application/job/container/database
30010
+ * @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
29989
30011
  * @param {*} [options] Override http request option.
29990
30012
  * @throws {RequiredError}
29991
30013
  */
29992
- attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList>;
30014
+ attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList>;
29993
30015
  /**
29994
30016
  *
29995
30017
  * @summary Create environment deployment stage
@@ -30067,15 +30089,16 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
30067
30089
  */
30068
30090
  export declare class DeploymentStageMainCallsApi extends BaseAPI {
30069
30091
  /**
30070
- *
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`).
30071
30093
  * @summary Attach service to deployment stage
30072
30094
  * @param {string} deploymentStageId Deployment Stage ID
30073
30095
  * @param {string} serviceId Service ID of an application/job/container/database
30096
+ * @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
30074
30097
  * @param {*} [options] Override http request option.
30075
30098
  * @throws {RequiredError}
30076
30099
  * @memberof DeploymentStageMainCallsApi
30077
30100
  */
30078
- 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, {}>>;
30079
30102
  /**
30080
30103
  *
30081
30104
  * @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
@@ -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
  *
@@ -29816,14 +29835,15 @@ export declare class DeploymentQueueActionsApi extends BaseAPI {
29816
29835
  */
29817
29836
  export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
29818
29837
  /**
29819
- *
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`).
29820
29839
  * @summary Attach service to deployment stage
29821
29840
  * @param {string} deploymentStageId Deployment Stage ID
29822
29841
  * @param {string} serviceId Service ID of an application/job/container/database
29842
+ * @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
29823
29843
  * @param {*} [options] Override http request option.
29824
29844
  * @throws {RequiredError}
29825
29845
  */
29826
- attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29846
+ attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29827
29847
  /**
29828
29848
  *
29829
29849
  * @summary Create environment deployment stage
@@ -29899,14 +29919,15 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
29899
29919
  */
29900
29920
  export declare const DeploymentStageMainCallsApiFp: (configuration?: Configuration) => {
29901
29921
  /**
29902
- *
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`).
29903
29923
  * @summary Attach service to deployment stage
29904
29924
  * @param {string} deploymentStageId Deployment Stage ID
29905
29925
  * @param {string} serviceId Service ID of an application/job/container/database
29926
+ * @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
29906
29927
  * @param {*} [options] Override http request option.
29907
29928
  * @throws {RequiredError}
29908
29929
  */
29909
- 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>>;
29910
29931
  /**
29911
29932
  *
29912
29933
  * @summary Create environment deployment stage
@@ -29982,14 +30003,15 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
29982
30003
  */
29983
30004
  export declare const DeploymentStageMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
29984
30005
  /**
29985
- *
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`).
29986
30007
  * @summary Attach service to deployment stage
29987
30008
  * @param {string} deploymentStageId Deployment Stage ID
29988
30009
  * @param {string} serviceId Service ID of an application/job/container/database
30010
+ * @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
29989
30011
  * @param {*} [options] Override http request option.
29990
30012
  * @throws {RequiredError}
29991
30013
  */
29992
- attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList>;
30014
+ attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, attachServiceToDeploymentStageRequest?: AttachServiceToDeploymentStageRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentStageResponseList>;
29993
30015
  /**
29994
30016
  *
29995
30017
  * @summary Create environment deployment stage
@@ -30067,15 +30089,16 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
30067
30089
  */
30068
30090
  export declare class DeploymentStageMainCallsApi extends BaseAPI {
30069
30091
  /**
30070
- *
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`).
30071
30093
  * @summary Attach service to deployment stage
30072
30094
  * @param {string} deploymentStageId Deployment Stage ID
30073
30095
  * @param {string} serviceId Service ID of an application/job/container/database
30096
+ * @param {AttachServiceToDeploymentStageRequest} [attachServiceToDeploymentStageRequest]
30074
30097
  * @param {*} [options] Override http request option.
30075
30098
  * @throws {RequiredError}
30076
30099
  * @memberof DeploymentStageMainCallsApi
30077
30100
  */
30078
- 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, {}>>;
30079
30102
  /**
30080
30103
  *
30081
30104
  * @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
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.825",
3
+ "version": "v1.1.826",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {