qovery-typescript-axios 1.1.103 → 1.1.106

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.
Files changed (4) hide show
  1. package/api.ts +100 -22
  2. package/dist/api.d.ts +49 -12
  3. package/dist/api.js +95 -22
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -29307,14 +29307,18 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
29307
29307
  *
29308
29308
  * @summary Attach service to deployment stage
29309
29309
  * @param {string} deploymentStageId Deployment Stage ID
29310
+ * @param {string} serviceId Service ID of an application/job/container/database
29310
29311
  * @param {*} [options] Override http request option.
29311
29312
  * @throws {RequiredError}
29312
29313
  */
29313
- attachServiceToDeploymentStage: async (deploymentStageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29314
+ attachServiceToDeploymentStage: async (deploymentStageId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29314
29315
  // verify required parameter 'deploymentStageId' is not null or undefined
29315
29316
  assertParamExists('attachServiceToDeploymentStage', 'deploymentStageId', deploymentStageId)
29317
+ // verify required parameter 'serviceId' is not null or undefined
29318
+ assertParamExists('attachServiceToDeploymentStage', 'serviceId', serviceId)
29316
29319
  const localVarPath = `/deploymentStage/{deploymentStageId}/service/{serviceId}`
29317
- .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
29320
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)))
29321
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
29318
29322
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29319
29323
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29320
29324
  let baseOptions;
@@ -29579,18 +29583,18 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
29579
29583
  },
29580
29584
  /**
29581
29585
  *
29582
- * @summary Move deployment stage before requested stage
29586
+ * @summary Move deployment stage after requested stage
29583
29587
  * @param {string} deploymentStageId Deployment Stage ID
29584
29588
  * @param {string} stageId Deployment Stage ID
29585
29589
  * @param {*} [options] Override http request option.
29586
29590
  * @throws {RequiredError}
29587
29591
  */
29588
- moveDeploymentStage: async (deploymentStageId: string, stageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29592
+ moveAfterDeploymentStage: async (deploymentStageId: string, stageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29589
29593
  // verify required parameter 'deploymentStageId' is not null or undefined
29590
- assertParamExists('moveDeploymentStage', 'deploymentStageId', deploymentStageId)
29594
+ assertParamExists('moveAfterDeploymentStage', 'deploymentStageId', deploymentStageId)
29591
29595
  // verify required parameter 'stageId' is not null or undefined
29592
- assertParamExists('moveDeploymentStage', 'stageId', stageId)
29593
- const localVarPath = `/deploymentStage/{deploymentStageId}/moveBefore/{stageId}`
29596
+ assertParamExists('moveAfterDeploymentStage', 'stageId', stageId)
29597
+ const localVarPath = `/deploymentStage/{deploymentStageId}/moveAfter/{stageId}`
29594
29598
  .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)))
29595
29599
  .replace(`{${"stageId"}}`, encodeURIComponent(String(stageId)));
29596
29600
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -29610,6 +29614,44 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
29610
29614
 
29611
29615
 
29612
29616
 
29617
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29618
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29619
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29620
+
29621
+ return {
29622
+ url: toPathString(localVarUrlObj),
29623
+ options: localVarRequestOptions,
29624
+ };
29625
+ },
29626
+ /**
29627
+ *
29628
+ * @summary Move deployment stage before requested stage
29629
+ * @param {string} deploymentStageId Deployment Stage ID
29630
+ * @param {*} [options] Override http request option.
29631
+ * @throws {RequiredError}
29632
+ */
29633
+ moveBeforeDeploymentStage: async (deploymentStageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29634
+ // verify required parameter 'deploymentStageId' is not null or undefined
29635
+ assertParamExists('moveBeforeDeploymentStage', 'deploymentStageId', deploymentStageId)
29636
+ const localVarPath = `/deploymentStage/{deploymentStageId}/moveBefore/{stageId}`
29637
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
29638
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29639
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29640
+ let baseOptions;
29641
+ if (configuration) {
29642
+ baseOptions = configuration.baseOptions;
29643
+ }
29644
+
29645
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
29646
+ const localVarHeaderParameter = {} as any;
29647
+ const localVarQueryParameter = {} as any;
29648
+
29649
+ // authentication bearerAuth required
29650
+ // http bearer authentication required
29651
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29652
+
29653
+
29654
+
29613
29655
  setSearchParams(localVarUrlObj, localVarQueryParameter);
29614
29656
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29615
29657
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -29633,11 +29675,12 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
29633
29675
  *
29634
29676
  * @summary Attach service to deployment stage
29635
29677
  * @param {string} deploymentStageId Deployment Stage ID
29678
+ * @param {string} serviceId Service ID of an application/job/container/database
29636
29679
  * @param {*} [options] Override http request option.
29637
29680
  * @throws {RequiredError}
29638
29681
  */
29639
- async attachServiceToDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
29640
- const localVarAxiosArgs = await localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, options);
29682
+ async attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
29683
+ const localVarAxiosArgs = await localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, options);
29641
29684
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29642
29685
  },
29643
29686
  /**
@@ -29710,14 +29753,25 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
29710
29753
  },
29711
29754
  /**
29712
29755
  *
29713
- * @summary Move deployment stage before requested stage
29756
+ * @summary Move deployment stage after requested stage
29714
29757
  * @param {string} deploymentStageId Deployment Stage ID
29715
29758
  * @param {string} stageId Deployment Stage ID
29716
29759
  * @param {*} [options] Override http request option.
29717
29760
  * @throws {RequiredError}
29718
29761
  */
29719
- async moveDeploymentStage(deploymentStageId: string, stageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
29720
- const localVarAxiosArgs = await localVarAxiosParamCreator.moveDeploymentStage(deploymentStageId, stageId, options);
29762
+ async moveAfterDeploymentStage(deploymentStageId: string, stageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
29763
+ const localVarAxiosArgs = await localVarAxiosParamCreator.moveAfterDeploymentStage(deploymentStageId, stageId, options);
29764
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29765
+ },
29766
+ /**
29767
+ *
29768
+ * @summary Move deployment stage before requested stage
29769
+ * @param {string} deploymentStageId Deployment Stage ID
29770
+ * @param {*} [options] Override http request option.
29771
+ * @throws {RequiredError}
29772
+ */
29773
+ async moveBeforeDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
29774
+ const localVarAxiosArgs = await localVarAxiosParamCreator.moveBeforeDeploymentStage(deploymentStageId, options);
29721
29775
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29722
29776
  },
29723
29777
  }
@@ -29734,11 +29788,12 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
29734
29788
  *
29735
29789
  * @summary Attach service to deployment stage
29736
29790
  * @param {string} deploymentStageId Deployment Stage ID
29791
+ * @param {string} serviceId Service ID of an application/job/container/database
29737
29792
  * @param {*} [options] Override http request option.
29738
29793
  * @throws {RequiredError}
29739
29794
  */
29740
- attachServiceToDeploymentStage(deploymentStageId: string, options?: any): AxiosPromise<DeploymentStageResponseList> {
29741
- return localVarFp.attachServiceToDeploymentStage(deploymentStageId, options).then((request) => request(axios, basePath));
29795
+ attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: any): AxiosPromise<DeploymentStageResponseList> {
29796
+ return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(axios, basePath));
29742
29797
  },
29743
29798
  /**
29744
29799
  *
@@ -29804,14 +29859,24 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
29804
29859
  },
29805
29860
  /**
29806
29861
  *
29807
- * @summary Move deployment stage before requested stage
29862
+ * @summary Move deployment stage after requested stage
29808
29863
  * @param {string} deploymentStageId Deployment Stage ID
29809
29864
  * @param {string} stageId Deployment Stage ID
29810
29865
  * @param {*} [options] Override http request option.
29811
29866
  * @throws {RequiredError}
29812
29867
  */
29813
- moveDeploymentStage(deploymentStageId: string, stageId: string, options?: any): AxiosPromise<DeploymentStageResponseList> {
29814
- return localVarFp.moveDeploymentStage(deploymentStageId, stageId, options).then((request) => request(axios, basePath));
29868
+ moveAfterDeploymentStage(deploymentStageId: string, stageId: string, options?: any): AxiosPromise<DeploymentStageResponseList> {
29869
+ return localVarFp.moveAfterDeploymentStage(deploymentStageId, stageId, options).then((request) => request(axios, basePath));
29870
+ },
29871
+ /**
29872
+ *
29873
+ * @summary Move deployment stage before requested stage
29874
+ * @param {string} deploymentStageId Deployment Stage ID
29875
+ * @param {*} [options] Override http request option.
29876
+ * @throws {RequiredError}
29877
+ */
29878
+ moveBeforeDeploymentStage(deploymentStageId: string, options?: any): AxiosPromise<DeploymentStageResponseList> {
29879
+ return localVarFp.moveBeforeDeploymentStage(deploymentStageId, options).then((request) => request(axios, basePath));
29815
29880
  },
29816
29881
  };
29817
29882
  };
@@ -29827,12 +29892,13 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
29827
29892
  *
29828
29893
  * @summary Attach service to deployment stage
29829
29894
  * @param {string} deploymentStageId Deployment Stage ID
29895
+ * @param {string} serviceId Service ID of an application/job/container/database
29830
29896
  * @param {*} [options] Override http request option.
29831
29897
  * @throws {RequiredError}
29832
29898
  * @memberof DeploymentStageMainCallsApi
29833
29899
  */
29834
- public attachServiceToDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig) {
29835
- return DeploymentStageMainCallsApiFp(this.configuration).attachServiceToDeploymentStage(deploymentStageId, options).then((request) => request(this.axios, this.basePath));
29900
+ public attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig) {
29901
+ return DeploymentStageMainCallsApiFp(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(this.axios, this.basePath));
29836
29902
  }
29837
29903
 
29838
29904
  /**
@@ -29911,15 +29977,27 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
29911
29977
 
29912
29978
  /**
29913
29979
  *
29914
- * @summary Move deployment stage before requested stage
29980
+ * @summary Move deployment stage after requested stage
29915
29981
  * @param {string} deploymentStageId Deployment Stage ID
29916
29982
  * @param {string} stageId Deployment Stage ID
29917
29983
  * @param {*} [options] Override http request option.
29918
29984
  * @throws {RequiredError}
29919
29985
  * @memberof DeploymentStageMainCallsApi
29920
29986
  */
29921
- public moveDeploymentStage(deploymentStageId: string, stageId: string, options?: AxiosRequestConfig) {
29922
- return DeploymentStageMainCallsApiFp(this.configuration).moveDeploymentStage(deploymentStageId, stageId, options).then((request) => request(this.axios, this.basePath));
29987
+ public moveAfterDeploymentStage(deploymentStageId: string, stageId: string, options?: AxiosRequestConfig) {
29988
+ return DeploymentStageMainCallsApiFp(this.configuration).moveAfterDeploymentStage(deploymentStageId, stageId, options).then((request) => request(this.axios, this.basePath));
29989
+ }
29990
+
29991
+ /**
29992
+ *
29993
+ * @summary Move deployment stage before requested stage
29994
+ * @param {string} deploymentStageId Deployment Stage ID
29995
+ * @param {*} [options] Override http request option.
29996
+ * @throws {RequiredError}
29997
+ * @memberof DeploymentStageMainCallsApi
29998
+ */
29999
+ public moveBeforeDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig) {
30000
+ return DeploymentStageMainCallsApiFp(this.configuration).moveBeforeDeploymentStage(deploymentStageId, options).then((request) => request(this.axios, this.basePath));
29923
30001
  }
29924
30002
  }
29925
30003
 
package/dist/api.d.ts CHANGED
@@ -20741,10 +20741,11 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
20741
20741
  *
20742
20742
  * @summary Attach service to deployment stage
20743
20743
  * @param {string} deploymentStageId Deployment Stage ID
20744
+ * @param {string} serviceId Service ID of an application/job/container/database
20744
20745
  * @param {*} [options] Override http request option.
20745
20746
  * @throws {RequiredError}
20746
20747
  */
20747
- attachServiceToDeploymentStage: (deploymentStageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20748
+ attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20748
20749
  /**
20749
20750
  *
20750
20751
  * @summary Create environment deployment stage
@@ -20797,13 +20798,21 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
20797
20798
  listEnvironmentDeploymentStage: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20798
20799
  /**
20799
20800
  *
20800
- * @summary Move deployment stage before requested stage
20801
+ * @summary Move deployment stage after requested stage
20801
20802
  * @param {string} deploymentStageId Deployment Stage ID
20802
20803
  * @param {string} stageId Deployment Stage ID
20803
20804
  * @param {*} [options] Override http request option.
20804
20805
  * @throws {RequiredError}
20805
20806
  */
20806
- moveDeploymentStage: (deploymentStageId: string, stageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20807
+ moveAfterDeploymentStage: (deploymentStageId: string, stageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20808
+ /**
20809
+ *
20810
+ * @summary Move deployment stage before requested stage
20811
+ * @param {string} deploymentStageId Deployment Stage ID
20812
+ * @param {*} [options] Override http request option.
20813
+ * @throws {RequiredError}
20814
+ */
20815
+ moveBeforeDeploymentStage: (deploymentStageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20807
20816
  };
20808
20817
  /**
20809
20818
  * DeploymentStageMainCallsApi - functional programming interface
@@ -20814,10 +20823,11 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
20814
20823
  *
20815
20824
  * @summary Attach service to deployment stage
20816
20825
  * @param {string} deploymentStageId Deployment Stage ID
20826
+ * @param {string} serviceId Service ID of an application/job/container/database
20817
20827
  * @param {*} [options] Override http request option.
20818
20828
  * @throws {RequiredError}
20819
20829
  */
20820
- attachServiceToDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
20830
+ attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
20821
20831
  /**
20822
20832
  *
20823
20833
  * @summary Create environment deployment stage
@@ -20870,13 +20880,21 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
20870
20880
  listEnvironmentDeploymentStage(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
20871
20881
  /**
20872
20882
  *
20873
- * @summary Move deployment stage before requested stage
20883
+ * @summary Move deployment stage after requested stage
20874
20884
  * @param {string} deploymentStageId Deployment Stage ID
20875
20885
  * @param {string} stageId Deployment Stage ID
20876
20886
  * @param {*} [options] Override http request option.
20877
20887
  * @throws {RequiredError}
20878
20888
  */
20879
- moveDeploymentStage(deploymentStageId: string, stageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
20889
+ moveAfterDeploymentStage(deploymentStageId: string, stageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
20890
+ /**
20891
+ *
20892
+ * @summary Move deployment stage before requested stage
20893
+ * @param {string} deploymentStageId Deployment Stage ID
20894
+ * @param {*} [options] Override http request option.
20895
+ * @throws {RequiredError}
20896
+ */
20897
+ moveBeforeDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
20880
20898
  };
20881
20899
  /**
20882
20900
  * DeploymentStageMainCallsApi - factory interface
@@ -20887,10 +20905,11 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
20887
20905
  *
20888
20906
  * @summary Attach service to deployment stage
20889
20907
  * @param {string} deploymentStageId Deployment Stage ID
20908
+ * @param {string} serviceId Service ID of an application/job/container/database
20890
20909
  * @param {*} [options] Override http request option.
20891
20910
  * @throws {RequiredError}
20892
20911
  */
20893
- attachServiceToDeploymentStage(deploymentStageId: string, options?: any): AxiosPromise<DeploymentStageResponseList>;
20912
+ attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: any): AxiosPromise<DeploymentStageResponseList>;
20894
20913
  /**
20895
20914
  *
20896
20915
  * @summary Create environment deployment stage
@@ -20943,13 +20962,21 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
20943
20962
  listEnvironmentDeploymentStage(environmentId: string, options?: any): AxiosPromise<DeploymentStageResponseList>;
20944
20963
  /**
20945
20964
  *
20946
- * @summary Move deployment stage before requested stage
20965
+ * @summary Move deployment stage after requested stage
20947
20966
  * @param {string} deploymentStageId Deployment Stage ID
20948
20967
  * @param {string} stageId Deployment Stage ID
20949
20968
  * @param {*} [options] Override http request option.
20950
20969
  * @throws {RequiredError}
20951
20970
  */
20952
- moveDeploymentStage(deploymentStageId: string, stageId: string, options?: any): AxiosPromise<DeploymentStageResponseList>;
20971
+ moveAfterDeploymentStage(deploymentStageId: string, stageId: string, options?: any): AxiosPromise<DeploymentStageResponseList>;
20972
+ /**
20973
+ *
20974
+ * @summary Move deployment stage before requested stage
20975
+ * @param {string} deploymentStageId Deployment Stage ID
20976
+ * @param {*} [options] Override http request option.
20977
+ * @throws {RequiredError}
20978
+ */
20979
+ moveBeforeDeploymentStage(deploymentStageId: string, options?: any): AxiosPromise<DeploymentStageResponseList>;
20953
20980
  };
20954
20981
  /**
20955
20982
  * DeploymentStageMainCallsApi - object-oriented interface
@@ -20962,11 +20989,12 @@ export declare class DeploymentStageMainCallsApi extends BaseAPI {
20962
20989
  *
20963
20990
  * @summary Attach service to deployment stage
20964
20991
  * @param {string} deploymentStageId Deployment Stage ID
20992
+ * @param {string} serviceId Service ID of an application/job/container/database
20965
20993
  * @param {*} [options] Override http request option.
20966
20994
  * @throws {RequiredError}
20967
20995
  * @memberof DeploymentStageMainCallsApi
20968
20996
  */
20969
- attachServiceToDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList>>;
20997
+ attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList>>;
20970
20998
  /**
20971
20999
  *
20972
21000
  * @summary Create environment deployment stage
@@ -21025,14 +21053,23 @@ export declare class DeploymentStageMainCallsApi extends BaseAPI {
21025
21053
  listEnvironmentDeploymentStage(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList>>;
21026
21054
  /**
21027
21055
  *
21028
- * @summary Move deployment stage before requested stage
21056
+ * @summary Move deployment stage after requested stage
21029
21057
  * @param {string} deploymentStageId Deployment Stage ID
21030
21058
  * @param {string} stageId Deployment Stage ID
21031
21059
  * @param {*} [options] Override http request option.
21032
21060
  * @throws {RequiredError}
21033
21061
  * @memberof DeploymentStageMainCallsApi
21034
21062
  */
21035
- moveDeploymentStage(deploymentStageId: string, stageId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList>>;
21063
+ moveAfterDeploymentStage(deploymentStageId: string, stageId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList>>;
21064
+ /**
21065
+ *
21066
+ * @summary Move deployment stage before requested stage
21067
+ * @param {string} deploymentStageId Deployment Stage ID
21068
+ * @param {*} [options] Override http request option.
21069
+ * @throws {RequiredError}
21070
+ * @memberof DeploymentStageMainCallsApi
21071
+ */
21072
+ moveBeforeDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList>>;
21036
21073
  }
21037
21074
  /**
21038
21075
  * EnvironmentApi - axios parameter creator
package/dist/api.js CHANGED
@@ -16056,14 +16056,18 @@ const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
16056
16056
  *
16057
16057
  * @summary Attach service to deployment stage
16058
16058
  * @param {string} deploymentStageId Deployment Stage ID
16059
+ * @param {string} serviceId Service ID of an application/job/container/database
16059
16060
  * @param {*} [options] Override http request option.
16060
16061
  * @throws {RequiredError}
16061
16062
  */
16062
- attachServiceToDeploymentStage: (deploymentStageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16063
+ attachServiceToDeploymentStage: (deploymentStageId, serviceId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16063
16064
  // verify required parameter 'deploymentStageId' is not null or undefined
16064
16065
  (0, common_1.assertParamExists)('attachServiceToDeploymentStage', 'deploymentStageId', deploymentStageId);
16066
+ // verify required parameter 'serviceId' is not null or undefined
16067
+ (0, common_1.assertParamExists)('attachServiceToDeploymentStage', 'serviceId', serviceId);
16065
16068
  const localVarPath = `/deploymentStage/{deploymentStageId}/service/{serviceId}`
16066
- .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
16069
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)))
16070
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
16067
16071
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16068
16072
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16069
16073
  let baseOptions;
@@ -16284,18 +16288,18 @@ const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
16284
16288
  }),
16285
16289
  /**
16286
16290
  *
16287
- * @summary Move deployment stage before requested stage
16291
+ * @summary Move deployment stage after requested stage
16288
16292
  * @param {string} deploymentStageId Deployment Stage ID
16289
16293
  * @param {string} stageId Deployment Stage ID
16290
16294
  * @param {*} [options] Override http request option.
16291
16295
  * @throws {RequiredError}
16292
16296
  */
16293
- moveDeploymentStage: (deploymentStageId, stageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16297
+ moveAfterDeploymentStage: (deploymentStageId, stageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16294
16298
  // verify required parameter 'deploymentStageId' is not null or undefined
16295
- (0, common_1.assertParamExists)('moveDeploymentStage', 'deploymentStageId', deploymentStageId);
16299
+ (0, common_1.assertParamExists)('moveAfterDeploymentStage', 'deploymentStageId', deploymentStageId);
16296
16300
  // verify required parameter 'stageId' is not null or undefined
16297
- (0, common_1.assertParamExists)('moveDeploymentStage', 'stageId', stageId);
16298
- const localVarPath = `/deploymentStage/{deploymentStageId}/moveBefore/{stageId}`
16301
+ (0, common_1.assertParamExists)('moveAfterDeploymentStage', 'stageId', stageId);
16302
+ const localVarPath = `/deploymentStage/{deploymentStageId}/moveAfter/{stageId}`
16299
16303
  .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)))
16300
16304
  .replace(`{${"stageId"}}`, encodeURIComponent(String(stageId)));
16301
16305
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -16318,6 +16322,38 @@ const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
16318
16322
  options: localVarRequestOptions,
16319
16323
  };
16320
16324
  }),
16325
+ /**
16326
+ *
16327
+ * @summary Move deployment stage before requested stage
16328
+ * @param {string} deploymentStageId Deployment Stage ID
16329
+ * @param {*} [options] Override http request option.
16330
+ * @throws {RequiredError}
16331
+ */
16332
+ moveBeforeDeploymentStage: (deploymentStageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16333
+ // verify required parameter 'deploymentStageId' is not null or undefined
16334
+ (0, common_1.assertParamExists)('moveBeforeDeploymentStage', 'deploymentStageId', deploymentStageId);
16335
+ const localVarPath = `/deploymentStage/{deploymentStageId}/moveBefore/{stageId}`
16336
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
16337
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16338
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16339
+ let baseOptions;
16340
+ if (configuration) {
16341
+ baseOptions = configuration.baseOptions;
16342
+ }
16343
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
16344
+ const localVarHeaderParameter = {};
16345
+ const localVarQueryParameter = {};
16346
+ // authentication bearerAuth required
16347
+ // http bearer authentication required
16348
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16349
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16350
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16351
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16352
+ return {
16353
+ url: (0, common_1.toPathString)(localVarUrlObj),
16354
+ options: localVarRequestOptions,
16355
+ };
16356
+ }),
16321
16357
  };
16322
16358
  };
16323
16359
  exports.DeploymentStageMainCallsApiAxiosParamCreator = DeploymentStageMainCallsApiAxiosParamCreator;
@@ -16332,12 +16368,13 @@ const DeploymentStageMainCallsApiFp = function (configuration) {
16332
16368
  *
16333
16369
  * @summary Attach service to deployment stage
16334
16370
  * @param {string} deploymentStageId Deployment Stage ID
16371
+ * @param {string} serviceId Service ID of an application/job/container/database
16335
16372
  * @param {*} [options] Override http request option.
16336
16373
  * @throws {RequiredError}
16337
16374
  */
16338
- attachServiceToDeploymentStage(deploymentStageId, options) {
16375
+ attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
16339
16376
  return __awaiter(this, void 0, void 0, function* () {
16340
- const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, options);
16377
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, options);
16341
16378
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16342
16379
  });
16343
16380
  },
@@ -16423,15 +16460,28 @@ const DeploymentStageMainCallsApiFp = function (configuration) {
16423
16460
  },
16424
16461
  /**
16425
16462
  *
16426
- * @summary Move deployment stage before requested stage
16463
+ * @summary Move deployment stage after requested stage
16427
16464
  * @param {string} deploymentStageId Deployment Stage ID
16428
16465
  * @param {string} stageId Deployment Stage ID
16429
16466
  * @param {*} [options] Override http request option.
16430
16467
  * @throws {RequiredError}
16431
16468
  */
16432
- moveDeploymentStage(deploymentStageId, stageId, options) {
16469
+ moveAfterDeploymentStage(deploymentStageId, stageId, options) {
16470
+ return __awaiter(this, void 0, void 0, function* () {
16471
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.moveAfterDeploymentStage(deploymentStageId, stageId, options);
16472
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16473
+ });
16474
+ },
16475
+ /**
16476
+ *
16477
+ * @summary Move deployment stage before requested stage
16478
+ * @param {string} deploymentStageId Deployment Stage ID
16479
+ * @param {*} [options] Override http request option.
16480
+ * @throws {RequiredError}
16481
+ */
16482
+ moveBeforeDeploymentStage(deploymentStageId, options) {
16433
16483
  return __awaiter(this, void 0, void 0, function* () {
16434
- const localVarAxiosArgs = yield localVarAxiosParamCreator.moveDeploymentStage(deploymentStageId, stageId, options);
16484
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.moveBeforeDeploymentStage(deploymentStageId, options);
16435
16485
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16436
16486
  });
16437
16487
  },
@@ -16449,11 +16499,12 @@ const DeploymentStageMainCallsApiFactory = function (configuration, basePath, ax
16449
16499
  *
16450
16500
  * @summary Attach service to deployment stage
16451
16501
  * @param {string} deploymentStageId Deployment Stage ID
16502
+ * @param {string} serviceId Service ID of an application/job/container/database
16452
16503
  * @param {*} [options] Override http request option.
16453
16504
  * @throws {RequiredError}
16454
16505
  */
16455
- attachServiceToDeploymentStage(deploymentStageId, options) {
16456
- return localVarFp.attachServiceToDeploymentStage(deploymentStageId, options).then((request) => request(axios, basePath));
16506
+ attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
16507
+ return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(axios, basePath));
16457
16508
  },
16458
16509
  /**
16459
16510
  *
@@ -16519,14 +16570,24 @@ const DeploymentStageMainCallsApiFactory = function (configuration, basePath, ax
16519
16570
  },
16520
16571
  /**
16521
16572
  *
16522
- * @summary Move deployment stage before requested stage
16573
+ * @summary Move deployment stage after requested stage
16523
16574
  * @param {string} deploymentStageId Deployment Stage ID
16524
16575
  * @param {string} stageId Deployment Stage ID
16525
16576
  * @param {*} [options] Override http request option.
16526
16577
  * @throws {RequiredError}
16527
16578
  */
16528
- moveDeploymentStage(deploymentStageId, stageId, options) {
16529
- return localVarFp.moveDeploymentStage(deploymentStageId, stageId, options).then((request) => request(axios, basePath));
16579
+ moveAfterDeploymentStage(deploymentStageId, stageId, options) {
16580
+ return localVarFp.moveAfterDeploymentStage(deploymentStageId, stageId, options).then((request) => request(axios, basePath));
16581
+ },
16582
+ /**
16583
+ *
16584
+ * @summary Move deployment stage before requested stage
16585
+ * @param {string} deploymentStageId Deployment Stage ID
16586
+ * @param {*} [options] Override http request option.
16587
+ * @throws {RequiredError}
16588
+ */
16589
+ moveBeforeDeploymentStage(deploymentStageId, options) {
16590
+ return localVarFp.moveBeforeDeploymentStage(deploymentStageId, options).then((request) => request(axios, basePath));
16530
16591
  },
16531
16592
  };
16532
16593
  };
@@ -16542,12 +16603,13 @@ class DeploymentStageMainCallsApi extends base_1.BaseAPI {
16542
16603
  *
16543
16604
  * @summary Attach service to deployment stage
16544
16605
  * @param {string} deploymentStageId Deployment Stage ID
16606
+ * @param {string} serviceId Service ID of an application/job/container/database
16545
16607
  * @param {*} [options] Override http request option.
16546
16608
  * @throws {RequiredError}
16547
16609
  * @memberof DeploymentStageMainCallsApi
16548
16610
  */
16549
- attachServiceToDeploymentStage(deploymentStageId, options) {
16550
- return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).attachServiceToDeploymentStage(deploymentStageId, options).then((request) => request(this.axios, this.basePath));
16611
+ attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
16612
+ return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(this.axios, this.basePath));
16551
16613
  }
16552
16614
  /**
16553
16615
  *
@@ -16619,15 +16681,26 @@ class DeploymentStageMainCallsApi extends base_1.BaseAPI {
16619
16681
  }
16620
16682
  /**
16621
16683
  *
16622
- * @summary Move deployment stage before requested stage
16684
+ * @summary Move deployment stage after requested stage
16623
16685
  * @param {string} deploymentStageId Deployment Stage ID
16624
16686
  * @param {string} stageId Deployment Stage ID
16625
16687
  * @param {*} [options] Override http request option.
16626
16688
  * @throws {RequiredError}
16627
16689
  * @memberof DeploymentStageMainCallsApi
16628
16690
  */
16629
- moveDeploymentStage(deploymentStageId, stageId, options) {
16630
- return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).moveDeploymentStage(deploymentStageId, stageId, options).then((request) => request(this.axios, this.basePath));
16691
+ moveAfterDeploymentStage(deploymentStageId, stageId, options) {
16692
+ return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).moveAfterDeploymentStage(deploymentStageId, stageId, options).then((request) => request(this.axios, this.basePath));
16693
+ }
16694
+ /**
16695
+ *
16696
+ * @summary Move deployment stage before requested stage
16697
+ * @param {string} deploymentStageId Deployment Stage ID
16698
+ * @param {*} [options] Override http request option.
16699
+ * @throws {RequiredError}
16700
+ * @memberof DeploymentStageMainCallsApi
16701
+ */
16702
+ moveBeforeDeploymentStage(deploymentStageId, options) {
16703
+ return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).moveBeforeDeploymentStage(deploymentStageId, options).then((request) => request(this.axios, this.basePath));
16631
16704
  }
16632
16705
  }
16633
16706
  exports.DeploymentStageMainCallsApi = DeploymentStageMainCallsApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.103",
3
+ "version": "v1.1.106",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [