qovery-typescript-axios 1.1.102 → 1.1.103

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 +150 -15
  2. package/dist/api.d.ts +70 -8
  3. package/dist/api.js +140 -15
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -29307,18 +29307,14 @@ 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
29311
29310
  * @param {*} [options] Override http request option.
29312
29311
  * @throws {RequiredError}
29313
29312
  */
29314
- attachServiceToDeploymentStage: async (deploymentStageId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29313
+ attachServiceToDeploymentStage: async (deploymentStageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29315
29314
  // verify required parameter 'deploymentStageId' is not null or undefined
29316
29315
  assertParamExists('attachServiceToDeploymentStage', 'deploymentStageId', deploymentStageId)
29317
- // verify required parameter 'serviceId' is not null or undefined
29318
- assertParamExists('attachServiceToDeploymentStage', 'serviceId', serviceId)
29319
29316
  const localVarPath = `/deploymentStage/{deploymentStageId}/service/{serviceId}`
29320
- .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)))
29321
- .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
29317
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
29322
29318
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29323
29319
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29324
29320
  let baseOptions;
@@ -29467,6 +29463,82 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
29467
29463
  options: localVarRequestOptions,
29468
29464
  };
29469
29465
  },
29466
+ /**
29467
+ *
29468
+ * @summary Get Deployment Stage
29469
+ * @param {string} deploymentStageId Deployment Stage ID
29470
+ * @param {*} [options] Override http request option.
29471
+ * @throws {RequiredError}
29472
+ */
29473
+ getDeploymentStage: async (deploymentStageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29474
+ // verify required parameter 'deploymentStageId' is not null or undefined
29475
+ assertParamExists('getDeploymentStage', 'deploymentStageId', deploymentStageId)
29476
+ const localVarPath = `/deploymentStage/{deploymentStageId}`
29477
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
29478
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29479
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29480
+ let baseOptions;
29481
+ if (configuration) {
29482
+ baseOptions = configuration.baseOptions;
29483
+ }
29484
+
29485
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29486
+ const localVarHeaderParameter = {} as any;
29487
+ const localVarQueryParameter = {} as any;
29488
+
29489
+ // authentication bearerAuth required
29490
+ // http bearer authentication required
29491
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29492
+
29493
+
29494
+
29495
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29496
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29497
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29498
+
29499
+ return {
29500
+ url: toPathString(localVarUrlObj),
29501
+ options: localVarRequestOptions,
29502
+ };
29503
+ },
29504
+ /**
29505
+ *
29506
+ * @summary Get Service Deployment Stage
29507
+ * @param {string} serviceId Service ID of an application/job/container/database
29508
+ * @param {*} [options] Override http request option.
29509
+ * @throws {RequiredError}
29510
+ */
29511
+ getServiceDeploymentStage: async (serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29512
+ // verify required parameter 'serviceId' is not null or undefined
29513
+ assertParamExists('getServiceDeploymentStage', 'serviceId', serviceId)
29514
+ const localVarPath = `/service/{serviceId}/deploymentStage`
29515
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
29516
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29517
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29518
+ let baseOptions;
29519
+ if (configuration) {
29520
+ baseOptions = configuration.baseOptions;
29521
+ }
29522
+
29523
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29524
+ const localVarHeaderParameter = {} as any;
29525
+ const localVarQueryParameter = {} as any;
29526
+
29527
+ // authentication bearerAuth required
29528
+ // http bearer authentication required
29529
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29530
+
29531
+
29532
+
29533
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29534
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29535
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29536
+
29537
+ return {
29538
+ url: toPathString(localVarUrlObj),
29539
+ options: localVarRequestOptions,
29540
+ };
29541
+ },
29470
29542
  /**
29471
29543
  *
29472
29544
  * @summary List environment deployment stage
@@ -29561,12 +29633,11 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
29561
29633
  *
29562
29634
  * @summary Attach service to deployment stage
29563
29635
  * @param {string} deploymentStageId Deployment Stage ID
29564
- * @param {string} serviceId Service ID of an application/job/container/database
29565
29636
  * @param {*} [options] Override http request option.
29566
29637
  * @throws {RequiredError}
29567
29638
  */
29568
- async attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
29569
- const localVarAxiosArgs = await localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, options);
29639
+ async attachServiceToDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
29640
+ const localVarAxiosArgs = await localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, options);
29570
29641
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29571
29642
  },
29572
29643
  /**
@@ -29604,6 +29675,28 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
29604
29675
  const localVarAxiosArgs = await localVarAxiosParamCreator.editDeploymentStage(deploymentStageId, deploymentStageRequest, options);
29605
29676
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29606
29677
  },
29678
+ /**
29679
+ *
29680
+ * @summary Get Deployment Stage
29681
+ * @param {string} deploymentStageId Deployment Stage ID
29682
+ * @param {*} [options] Override http request option.
29683
+ * @throws {RequiredError}
29684
+ */
29685
+ async getDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponse>> {
29686
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentStage(deploymentStageId, options);
29687
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29688
+ },
29689
+ /**
29690
+ *
29691
+ * @summary Get Service Deployment Stage
29692
+ * @param {string} serviceId Service ID of an application/job/container/database
29693
+ * @param {*} [options] Override http request option.
29694
+ * @throws {RequiredError}
29695
+ */
29696
+ async getServiceDeploymentStage(serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponse>> {
29697
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceDeploymentStage(serviceId, options);
29698
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29699
+ },
29607
29700
  /**
29608
29701
  *
29609
29702
  * @summary List environment deployment stage
@@ -29641,12 +29734,11 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
29641
29734
  *
29642
29735
  * @summary Attach service to deployment stage
29643
29736
  * @param {string} deploymentStageId Deployment Stage ID
29644
- * @param {string} serviceId Service ID of an application/job/container/database
29645
29737
  * @param {*} [options] Override http request option.
29646
29738
  * @throws {RequiredError}
29647
29739
  */
29648
- attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: any): AxiosPromise<DeploymentStageResponseList> {
29649
- return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(axios, basePath));
29740
+ attachServiceToDeploymentStage(deploymentStageId: string, options?: any): AxiosPromise<DeploymentStageResponseList> {
29741
+ return localVarFp.attachServiceToDeploymentStage(deploymentStageId, options).then((request) => request(axios, basePath));
29650
29742
  },
29651
29743
  /**
29652
29744
  *
@@ -29680,6 +29772,26 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
29680
29772
  editDeploymentStage(deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: any): AxiosPromise<DeploymentStageResponse> {
29681
29773
  return localVarFp.editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(axios, basePath));
29682
29774
  },
29775
+ /**
29776
+ *
29777
+ * @summary Get Deployment Stage
29778
+ * @param {string} deploymentStageId Deployment Stage ID
29779
+ * @param {*} [options] Override http request option.
29780
+ * @throws {RequiredError}
29781
+ */
29782
+ getDeploymentStage(deploymentStageId: string, options?: any): AxiosPromise<DeploymentStageResponse> {
29783
+ return localVarFp.getDeploymentStage(deploymentStageId, options).then((request) => request(axios, basePath));
29784
+ },
29785
+ /**
29786
+ *
29787
+ * @summary Get Service Deployment Stage
29788
+ * @param {string} serviceId Service ID of an application/job/container/database
29789
+ * @param {*} [options] Override http request option.
29790
+ * @throws {RequiredError}
29791
+ */
29792
+ getServiceDeploymentStage(serviceId: string, options?: any): AxiosPromise<DeploymentStageResponse> {
29793
+ return localVarFp.getServiceDeploymentStage(serviceId, options).then((request) => request(axios, basePath));
29794
+ },
29683
29795
  /**
29684
29796
  *
29685
29797
  * @summary List environment deployment stage
@@ -29715,13 +29827,12 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
29715
29827
  *
29716
29828
  * @summary Attach service to deployment stage
29717
29829
  * @param {string} deploymentStageId Deployment Stage ID
29718
- * @param {string} serviceId Service ID of an application/job/container/database
29719
29830
  * @param {*} [options] Override http request option.
29720
29831
  * @throws {RequiredError}
29721
29832
  * @memberof DeploymentStageMainCallsApi
29722
29833
  */
29723
- public attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig) {
29724
- return DeploymentStageMainCallsApiFp(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(this.axios, this.basePath));
29834
+ public attachServiceToDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig) {
29835
+ return DeploymentStageMainCallsApiFp(this.configuration).attachServiceToDeploymentStage(deploymentStageId, options).then((request) => request(this.axios, this.basePath));
29725
29836
  }
29726
29837
 
29727
29838
  /**
@@ -29762,6 +29873,30 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
29762
29873
  return DeploymentStageMainCallsApiFp(this.configuration).editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
29763
29874
  }
29764
29875
 
29876
+ /**
29877
+ *
29878
+ * @summary Get Deployment Stage
29879
+ * @param {string} deploymentStageId Deployment Stage ID
29880
+ * @param {*} [options] Override http request option.
29881
+ * @throws {RequiredError}
29882
+ * @memberof DeploymentStageMainCallsApi
29883
+ */
29884
+ public getDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig) {
29885
+ return DeploymentStageMainCallsApiFp(this.configuration).getDeploymentStage(deploymentStageId, options).then((request) => request(this.axios, this.basePath));
29886
+ }
29887
+
29888
+ /**
29889
+ *
29890
+ * @summary Get Service Deployment Stage
29891
+ * @param {string} serviceId Service ID of an application/job/container/database
29892
+ * @param {*} [options] Override http request option.
29893
+ * @throws {RequiredError}
29894
+ * @memberof DeploymentStageMainCallsApi
29895
+ */
29896
+ public getServiceDeploymentStage(serviceId: string, options?: AxiosRequestConfig) {
29897
+ return DeploymentStageMainCallsApiFp(this.configuration).getServiceDeploymentStage(serviceId, options).then((request) => request(this.axios, this.basePath));
29898
+ }
29899
+
29765
29900
  /**
29766
29901
  *
29767
29902
  * @summary List environment deployment stage
package/dist/api.d.ts CHANGED
@@ -20741,11 +20741,10 @@ 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
20745
20744
  * @param {*} [options] Override http request option.
20746
20745
  * @throws {RequiredError}
20747
20746
  */
20748
- attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20747
+ attachServiceToDeploymentStage: (deploymentStageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20749
20748
  /**
20750
20749
  *
20751
20750
  * @summary Create environment deployment stage
@@ -20772,6 +20771,22 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
20772
20771
  * @throws {RequiredError}
20773
20772
  */
20774
20773
  editDeploymentStage: (deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20774
+ /**
20775
+ *
20776
+ * @summary Get Deployment Stage
20777
+ * @param {string} deploymentStageId Deployment Stage ID
20778
+ * @param {*} [options] Override http request option.
20779
+ * @throws {RequiredError}
20780
+ */
20781
+ getDeploymentStage: (deploymentStageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20782
+ /**
20783
+ *
20784
+ * @summary Get Service Deployment Stage
20785
+ * @param {string} serviceId Service ID of an application/job/container/database
20786
+ * @param {*} [options] Override http request option.
20787
+ * @throws {RequiredError}
20788
+ */
20789
+ getServiceDeploymentStage: (serviceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20775
20790
  /**
20776
20791
  *
20777
20792
  * @summary List environment deployment stage
@@ -20799,11 +20814,10 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
20799
20814
  *
20800
20815
  * @summary Attach service to deployment stage
20801
20816
  * @param {string} deploymentStageId Deployment Stage ID
20802
- * @param {string} serviceId Service ID of an application/job/container/database
20803
20817
  * @param {*} [options] Override http request option.
20804
20818
  * @throws {RequiredError}
20805
20819
  */
20806
- attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
20820
+ attachServiceToDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
20807
20821
  /**
20808
20822
  *
20809
20823
  * @summary Create environment deployment stage
@@ -20830,6 +20844,22 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
20830
20844
  * @throws {RequiredError}
20831
20845
  */
20832
20846
  editDeploymentStage(deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponse>>;
20847
+ /**
20848
+ *
20849
+ * @summary Get Deployment Stage
20850
+ * @param {string} deploymentStageId Deployment Stage ID
20851
+ * @param {*} [options] Override http request option.
20852
+ * @throws {RequiredError}
20853
+ */
20854
+ getDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponse>>;
20855
+ /**
20856
+ *
20857
+ * @summary Get Service Deployment Stage
20858
+ * @param {string} serviceId Service ID of an application/job/container/database
20859
+ * @param {*} [options] Override http request option.
20860
+ * @throws {RequiredError}
20861
+ */
20862
+ getServiceDeploymentStage(serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponse>>;
20833
20863
  /**
20834
20864
  *
20835
20865
  * @summary List environment deployment stage
@@ -20857,11 +20887,10 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
20857
20887
  *
20858
20888
  * @summary Attach service to deployment stage
20859
20889
  * @param {string} deploymentStageId Deployment Stage ID
20860
- * @param {string} serviceId Service ID of an application/job/container/database
20861
20890
  * @param {*} [options] Override http request option.
20862
20891
  * @throws {RequiredError}
20863
20892
  */
20864
- attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: any): AxiosPromise<DeploymentStageResponseList>;
20893
+ attachServiceToDeploymentStage(deploymentStageId: string, options?: any): AxiosPromise<DeploymentStageResponseList>;
20865
20894
  /**
20866
20895
  *
20867
20896
  * @summary Create environment deployment stage
@@ -20888,6 +20917,22 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
20888
20917
  * @throws {RequiredError}
20889
20918
  */
20890
20919
  editDeploymentStage(deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: any): AxiosPromise<DeploymentStageResponse>;
20920
+ /**
20921
+ *
20922
+ * @summary Get Deployment Stage
20923
+ * @param {string} deploymentStageId Deployment Stage ID
20924
+ * @param {*} [options] Override http request option.
20925
+ * @throws {RequiredError}
20926
+ */
20927
+ getDeploymentStage(deploymentStageId: string, options?: any): AxiosPromise<DeploymentStageResponse>;
20928
+ /**
20929
+ *
20930
+ * @summary Get Service Deployment Stage
20931
+ * @param {string} serviceId Service ID of an application/job/container/database
20932
+ * @param {*} [options] Override http request option.
20933
+ * @throws {RequiredError}
20934
+ */
20935
+ getServiceDeploymentStage(serviceId: string, options?: any): AxiosPromise<DeploymentStageResponse>;
20891
20936
  /**
20892
20937
  *
20893
20938
  * @summary List environment deployment stage
@@ -20917,12 +20962,11 @@ export declare class DeploymentStageMainCallsApi extends BaseAPI {
20917
20962
  *
20918
20963
  * @summary Attach service to deployment stage
20919
20964
  * @param {string} deploymentStageId Deployment Stage ID
20920
- * @param {string} serviceId Service ID of an application/job/container/database
20921
20965
  * @param {*} [options] Override http request option.
20922
20966
  * @throws {RequiredError}
20923
20967
  * @memberof DeploymentStageMainCallsApi
20924
20968
  */
20925
- attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList>>;
20969
+ attachServiceToDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList>>;
20926
20970
  /**
20927
20971
  *
20928
20972
  * @summary Create environment deployment stage
@@ -20952,6 +20996,24 @@ export declare class DeploymentStageMainCallsApi extends BaseAPI {
20952
20996
  * @memberof DeploymentStageMainCallsApi
20953
20997
  */
20954
20998
  editDeploymentStage(deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponse>>;
20999
+ /**
21000
+ *
21001
+ * @summary Get Deployment Stage
21002
+ * @param {string} deploymentStageId Deployment Stage ID
21003
+ * @param {*} [options] Override http request option.
21004
+ * @throws {RequiredError}
21005
+ * @memberof DeploymentStageMainCallsApi
21006
+ */
21007
+ getDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponse>>;
21008
+ /**
21009
+ *
21010
+ * @summary Get Service Deployment Stage
21011
+ * @param {string} serviceId Service ID of an application/job/container/database
21012
+ * @param {*} [options] Override http request option.
21013
+ * @throws {RequiredError}
21014
+ * @memberof DeploymentStageMainCallsApi
21015
+ */
21016
+ getServiceDeploymentStage(serviceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponse>>;
20955
21017
  /**
20956
21018
  *
20957
21019
  * @summary List environment deployment stage
package/dist/api.js CHANGED
@@ -16056,18 +16056,14 @@ 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
16060
16059
  * @param {*} [options] Override http request option.
16061
16060
  * @throws {RequiredError}
16062
16061
  */
16063
- attachServiceToDeploymentStage: (deploymentStageId, serviceId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16062
+ attachServiceToDeploymentStage: (deploymentStageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16064
16063
  // verify required parameter 'deploymentStageId' is not null or undefined
16065
16064
  (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);
16068
16065
  const localVarPath = `/deploymentStage/{deploymentStageId}/service/{serviceId}`
16069
- .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)))
16070
- .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
16066
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
16071
16067
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16072
16068
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16073
16069
  let baseOptions;
@@ -16190,6 +16186,70 @@ const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
16190
16186
  options: localVarRequestOptions,
16191
16187
  };
16192
16188
  }),
16189
+ /**
16190
+ *
16191
+ * @summary Get Deployment Stage
16192
+ * @param {string} deploymentStageId Deployment Stage ID
16193
+ * @param {*} [options] Override http request option.
16194
+ * @throws {RequiredError}
16195
+ */
16196
+ getDeploymentStage: (deploymentStageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16197
+ // verify required parameter 'deploymentStageId' is not null or undefined
16198
+ (0, common_1.assertParamExists)('getDeploymentStage', 'deploymentStageId', deploymentStageId);
16199
+ const localVarPath = `/deploymentStage/{deploymentStageId}`
16200
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
16201
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16202
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16203
+ let baseOptions;
16204
+ if (configuration) {
16205
+ baseOptions = configuration.baseOptions;
16206
+ }
16207
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16208
+ const localVarHeaderParameter = {};
16209
+ const localVarQueryParameter = {};
16210
+ // authentication bearerAuth required
16211
+ // http bearer authentication required
16212
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16213
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16214
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16215
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16216
+ return {
16217
+ url: (0, common_1.toPathString)(localVarUrlObj),
16218
+ options: localVarRequestOptions,
16219
+ };
16220
+ }),
16221
+ /**
16222
+ *
16223
+ * @summary Get Service Deployment Stage
16224
+ * @param {string} serviceId Service ID of an application/job/container/database
16225
+ * @param {*} [options] Override http request option.
16226
+ * @throws {RequiredError}
16227
+ */
16228
+ getServiceDeploymentStage: (serviceId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16229
+ // verify required parameter 'serviceId' is not null or undefined
16230
+ (0, common_1.assertParamExists)('getServiceDeploymentStage', 'serviceId', serviceId);
16231
+ const localVarPath = `/service/{serviceId}/deploymentStage`
16232
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
16233
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16234
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16235
+ let baseOptions;
16236
+ if (configuration) {
16237
+ baseOptions = configuration.baseOptions;
16238
+ }
16239
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16240
+ const localVarHeaderParameter = {};
16241
+ const localVarQueryParameter = {};
16242
+ // authentication bearerAuth required
16243
+ // http bearer authentication required
16244
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16245
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16246
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16247
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16248
+ return {
16249
+ url: (0, common_1.toPathString)(localVarUrlObj),
16250
+ options: localVarRequestOptions,
16251
+ };
16252
+ }),
16193
16253
  /**
16194
16254
  *
16195
16255
  * @summary List environment deployment stage
@@ -16272,13 +16332,12 @@ const DeploymentStageMainCallsApiFp = function (configuration) {
16272
16332
  *
16273
16333
  * @summary Attach service to deployment stage
16274
16334
  * @param {string} deploymentStageId Deployment Stage ID
16275
- * @param {string} serviceId Service ID of an application/job/container/database
16276
16335
  * @param {*} [options] Override http request option.
16277
16336
  * @throws {RequiredError}
16278
16337
  */
16279
- attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
16338
+ attachServiceToDeploymentStage(deploymentStageId, options) {
16280
16339
  return __awaiter(this, void 0, void 0, function* () {
16281
- const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, options);
16340
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, options);
16282
16341
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16283
16342
  });
16284
16343
  },
@@ -16323,6 +16382,32 @@ const DeploymentStageMainCallsApiFp = function (configuration) {
16323
16382
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16324
16383
  });
16325
16384
  },
16385
+ /**
16386
+ *
16387
+ * @summary Get Deployment Stage
16388
+ * @param {string} deploymentStageId Deployment Stage ID
16389
+ * @param {*} [options] Override http request option.
16390
+ * @throws {RequiredError}
16391
+ */
16392
+ getDeploymentStage(deploymentStageId, options) {
16393
+ return __awaiter(this, void 0, void 0, function* () {
16394
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDeploymentStage(deploymentStageId, options);
16395
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16396
+ });
16397
+ },
16398
+ /**
16399
+ *
16400
+ * @summary Get Service Deployment Stage
16401
+ * @param {string} serviceId Service ID of an application/job/container/database
16402
+ * @param {*} [options] Override http request option.
16403
+ * @throws {RequiredError}
16404
+ */
16405
+ getServiceDeploymentStage(serviceId, options) {
16406
+ return __awaiter(this, void 0, void 0, function* () {
16407
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getServiceDeploymentStage(serviceId, options);
16408
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16409
+ });
16410
+ },
16326
16411
  /**
16327
16412
  *
16328
16413
  * @summary List environment deployment stage
@@ -16364,12 +16449,11 @@ const DeploymentStageMainCallsApiFactory = function (configuration, basePath, ax
16364
16449
  *
16365
16450
  * @summary Attach service to deployment stage
16366
16451
  * @param {string} deploymentStageId Deployment Stage ID
16367
- * @param {string} serviceId Service ID of an application/job/container/database
16368
16452
  * @param {*} [options] Override http request option.
16369
16453
  * @throws {RequiredError}
16370
16454
  */
16371
- attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
16372
- return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(axios, basePath));
16455
+ attachServiceToDeploymentStage(deploymentStageId, options) {
16456
+ return localVarFp.attachServiceToDeploymentStage(deploymentStageId, options).then((request) => request(axios, basePath));
16373
16457
  },
16374
16458
  /**
16375
16459
  *
@@ -16403,6 +16487,26 @@ const DeploymentStageMainCallsApiFactory = function (configuration, basePath, ax
16403
16487
  editDeploymentStage(deploymentStageId, deploymentStageRequest, options) {
16404
16488
  return localVarFp.editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(axios, basePath));
16405
16489
  },
16490
+ /**
16491
+ *
16492
+ * @summary Get Deployment Stage
16493
+ * @param {string} deploymentStageId Deployment Stage ID
16494
+ * @param {*} [options] Override http request option.
16495
+ * @throws {RequiredError}
16496
+ */
16497
+ getDeploymentStage(deploymentStageId, options) {
16498
+ return localVarFp.getDeploymentStage(deploymentStageId, options).then((request) => request(axios, basePath));
16499
+ },
16500
+ /**
16501
+ *
16502
+ * @summary Get Service Deployment Stage
16503
+ * @param {string} serviceId Service ID of an application/job/container/database
16504
+ * @param {*} [options] Override http request option.
16505
+ * @throws {RequiredError}
16506
+ */
16507
+ getServiceDeploymentStage(serviceId, options) {
16508
+ return localVarFp.getServiceDeploymentStage(serviceId, options).then((request) => request(axios, basePath));
16509
+ },
16406
16510
  /**
16407
16511
  *
16408
16512
  * @summary List environment deployment stage
@@ -16438,13 +16542,12 @@ class DeploymentStageMainCallsApi extends base_1.BaseAPI {
16438
16542
  *
16439
16543
  * @summary Attach service to deployment stage
16440
16544
  * @param {string} deploymentStageId Deployment Stage ID
16441
- * @param {string} serviceId Service ID of an application/job/container/database
16442
16545
  * @param {*} [options] Override http request option.
16443
16546
  * @throws {RequiredError}
16444
16547
  * @memberof DeploymentStageMainCallsApi
16445
16548
  */
16446
- attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
16447
- return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(this.axios, this.basePath));
16549
+ attachServiceToDeploymentStage(deploymentStageId, options) {
16550
+ return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).attachServiceToDeploymentStage(deploymentStageId, options).then((request) => request(this.axios, this.basePath));
16448
16551
  }
16449
16552
  /**
16450
16553
  *
@@ -16481,6 +16584,28 @@ class DeploymentStageMainCallsApi extends base_1.BaseAPI {
16481
16584
  editDeploymentStage(deploymentStageId, deploymentStageRequest, options) {
16482
16585
  return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
16483
16586
  }
16587
+ /**
16588
+ *
16589
+ * @summary Get Deployment Stage
16590
+ * @param {string} deploymentStageId Deployment Stage ID
16591
+ * @param {*} [options] Override http request option.
16592
+ * @throws {RequiredError}
16593
+ * @memberof DeploymentStageMainCallsApi
16594
+ */
16595
+ getDeploymentStage(deploymentStageId, options) {
16596
+ return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).getDeploymentStage(deploymentStageId, options).then((request) => request(this.axios, this.basePath));
16597
+ }
16598
+ /**
16599
+ *
16600
+ * @summary Get Service Deployment Stage
16601
+ * @param {string} serviceId Service ID of an application/job/container/database
16602
+ * @param {*} [options] Override http request option.
16603
+ * @throws {RequiredError}
16604
+ * @memberof DeploymentStageMainCallsApi
16605
+ */
16606
+ getServiceDeploymentStage(serviceId, options) {
16607
+ return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).getServiceDeploymentStage(serviceId, options).then((request) => request(this.axios, this.basePath));
16608
+ }
16484
16609
  /**
16485
16610
  *
16486
16611
  * @summary List environment deployment stage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.102",
3
+ "version": "v1.1.103",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [