qovery-typescript-axios 1.1.96 → 1.1.97

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 +43 -22
  2. package/dist/api.d.ts +24 -12
  3. package/dist/api.js +43 -22
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -29210,14 +29210,18 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
29210
29210
  /**
29211
29211
  *
29212
29212
  * @summary Attach service to deployment stage
29213
+ * @param {string} deploymentStageId Deployment Stage ID
29213
29214
  * @param {string} serviceId Service ID of an application/job/container/database
29214
29215
  * @param {*} [options] Override http request option.
29215
29216
  * @throws {RequiredError}
29216
29217
  */
29217
- attachServiceToDeploymentStage: async (serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29218
+ attachServiceToDeploymentStage: async (deploymentStageId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29219
+ // verify required parameter 'deploymentStageId' is not null or undefined
29220
+ assertParamExists('attachServiceToDeploymentStage', 'deploymentStageId', deploymentStageId)
29218
29221
  // verify required parameter 'serviceId' is not null or undefined
29219
29222
  assertParamExists('attachServiceToDeploymentStage', 'serviceId', serviceId)
29220
29223
  const localVarPath = `/deploymentStage/{deploymentStageId}/service/{serviceId}`
29224
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)))
29221
29225
  .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
29222
29226
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29223
29227
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -29290,11 +29294,15 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
29290
29294
  /**
29291
29295
  *
29292
29296
  * @summary Delete deployment stage
29297
+ * @param {string} deploymentStageId Deployment Stage ID
29293
29298
  * @param {*} [options] Override http request option.
29294
29299
  * @throws {RequiredError}
29295
29300
  */
29296
- deleteDeploymentStage: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29297
- const localVarPath = `/deploymentStage/{deploymentStageId}`;
29301
+ deleteDeploymentStage: async (deploymentStageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29302
+ // verify required parameter 'deploymentStageId' is not null or undefined
29303
+ assertParamExists('deleteDeploymentStage', 'deploymentStageId', deploymentStageId)
29304
+ const localVarPath = `/deploymentStage/{deploymentStageId}`
29305
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
29298
29306
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29299
29307
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29300
29308
  let baseOptions;
@@ -29404,14 +29412,18 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
29404
29412
  /**
29405
29413
  *
29406
29414
  * @summary Move deployment stage before requested stage
29415
+ * @param {string} deploymentStageId Deployment Stage ID
29407
29416
  * @param {string} stageId Deployment Stage ID
29408
29417
  * @param {*} [options] Override http request option.
29409
29418
  * @throws {RequiredError}
29410
29419
  */
29411
- moveDeploymentStage: async (stageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29420
+ moveDeploymentStage: async (deploymentStageId: string, stageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29421
+ // verify required parameter 'deploymentStageId' is not null or undefined
29422
+ assertParamExists('moveDeploymentStage', 'deploymentStageId', deploymentStageId)
29412
29423
  // verify required parameter 'stageId' is not null or undefined
29413
29424
  assertParamExists('moveDeploymentStage', 'stageId', stageId)
29414
29425
  const localVarPath = `/deploymentStage/{deploymentStageId}/moveBefore/{stageId}`
29426
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)))
29415
29427
  .replace(`{${"stageId"}}`, encodeURIComponent(String(stageId)));
29416
29428
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29417
29429
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -29452,12 +29464,13 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
29452
29464
  /**
29453
29465
  *
29454
29466
  * @summary Attach service to deployment stage
29467
+ * @param {string} deploymentStageId Deployment Stage ID
29455
29468
  * @param {string} serviceId Service ID of an application/job/container/database
29456
29469
  * @param {*} [options] Override http request option.
29457
29470
  * @throws {RequiredError}
29458
29471
  */
29459
- async attachServiceToDeploymentStage(serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29460
- const localVarAxiosArgs = await localVarAxiosParamCreator.attachServiceToDeploymentStage(serviceId, options);
29472
+ async attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29473
+ const localVarAxiosArgs = await localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, options);
29461
29474
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29462
29475
  },
29463
29476
  /**
@@ -29475,11 +29488,12 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
29475
29488
  /**
29476
29489
  *
29477
29490
  * @summary Delete deployment stage
29491
+ * @param {string} deploymentStageId Deployment Stage ID
29478
29492
  * @param {*} [options] Override http request option.
29479
29493
  * @throws {RequiredError}
29480
29494
  */
29481
- async deleteDeploymentStage(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29482
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeploymentStage(options);
29495
+ async deleteDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29496
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeploymentStage(deploymentStageId, options);
29483
29497
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29484
29498
  },
29485
29499
  /**
@@ -29508,12 +29522,13 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
29508
29522
  /**
29509
29523
  *
29510
29524
  * @summary Move deployment stage before requested stage
29525
+ * @param {string} deploymentStageId Deployment Stage ID
29511
29526
  * @param {string} stageId Deployment Stage ID
29512
29527
  * @param {*} [options] Override http request option.
29513
29528
  * @throws {RequiredError}
29514
29529
  */
29515
- async moveDeploymentStage(stageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
29516
- const localVarAxiosArgs = await localVarAxiosParamCreator.moveDeploymentStage(stageId, options);
29530
+ async moveDeploymentStage(deploymentStageId: string, stageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
29531
+ const localVarAxiosArgs = await localVarAxiosParamCreator.moveDeploymentStage(deploymentStageId, stageId, options);
29517
29532
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29518
29533
  },
29519
29534
  }
@@ -29529,12 +29544,13 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
29529
29544
  /**
29530
29545
  *
29531
29546
  * @summary Attach service to deployment stage
29547
+ * @param {string} deploymentStageId Deployment Stage ID
29532
29548
  * @param {string} serviceId Service ID of an application/job/container/database
29533
29549
  * @param {*} [options] Override http request option.
29534
29550
  * @throws {RequiredError}
29535
29551
  */
29536
- attachServiceToDeploymentStage(serviceId: string, options?: any): AxiosPromise<void> {
29537
- return localVarFp.attachServiceToDeploymentStage(serviceId, options).then((request) => request(axios, basePath));
29552
+ attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: any): AxiosPromise<void> {
29553
+ return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(axios, basePath));
29538
29554
  },
29539
29555
  /**
29540
29556
  *
@@ -29550,11 +29566,12 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
29550
29566
  /**
29551
29567
  *
29552
29568
  * @summary Delete deployment stage
29569
+ * @param {string} deploymentStageId Deployment Stage ID
29553
29570
  * @param {*} [options] Override http request option.
29554
29571
  * @throws {RequiredError}
29555
29572
  */
29556
- deleteDeploymentStage(options?: any): AxiosPromise<void> {
29557
- return localVarFp.deleteDeploymentStage(options).then((request) => request(axios, basePath));
29573
+ deleteDeploymentStage(deploymentStageId: string, options?: any): AxiosPromise<void> {
29574
+ return localVarFp.deleteDeploymentStage(deploymentStageId, options).then((request) => request(axios, basePath));
29558
29575
  },
29559
29576
  /**
29560
29577
  *
@@ -29580,12 +29597,13 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
29580
29597
  /**
29581
29598
  *
29582
29599
  * @summary Move deployment stage before requested stage
29600
+ * @param {string} deploymentStageId Deployment Stage ID
29583
29601
  * @param {string} stageId Deployment Stage ID
29584
29602
  * @param {*} [options] Override http request option.
29585
29603
  * @throws {RequiredError}
29586
29604
  */
29587
- moveDeploymentStage(stageId: string, options?: any): AxiosPromise<DeploymentStageResponseList> {
29588
- return localVarFp.moveDeploymentStage(stageId, options).then((request) => request(axios, basePath));
29605
+ moveDeploymentStage(deploymentStageId: string, stageId: string, options?: any): AxiosPromise<DeploymentStageResponseList> {
29606
+ return localVarFp.moveDeploymentStage(deploymentStageId, stageId, options).then((request) => request(axios, basePath));
29589
29607
  },
29590
29608
  };
29591
29609
  };
@@ -29600,13 +29618,14 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
29600
29618
  /**
29601
29619
  *
29602
29620
  * @summary Attach service to deployment stage
29621
+ * @param {string} deploymentStageId Deployment Stage ID
29603
29622
  * @param {string} serviceId Service ID of an application/job/container/database
29604
29623
  * @param {*} [options] Override http request option.
29605
29624
  * @throws {RequiredError}
29606
29625
  * @memberof DeploymentStageMainCallsApi
29607
29626
  */
29608
- public attachServiceToDeploymentStage(serviceId: string, options?: AxiosRequestConfig) {
29609
- return DeploymentStageMainCallsApiFp(this.configuration).attachServiceToDeploymentStage(serviceId, options).then((request) => request(this.axios, this.basePath));
29627
+ public attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig) {
29628
+ return DeploymentStageMainCallsApiFp(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(this.axios, this.basePath));
29610
29629
  }
29611
29630
 
29612
29631
  /**
@@ -29625,12 +29644,13 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
29625
29644
  /**
29626
29645
  *
29627
29646
  * @summary Delete deployment stage
29647
+ * @param {string} deploymentStageId Deployment Stage ID
29628
29648
  * @param {*} [options] Override http request option.
29629
29649
  * @throws {RequiredError}
29630
29650
  * @memberof DeploymentStageMainCallsApi
29631
29651
  */
29632
- public deleteDeploymentStage(options?: AxiosRequestConfig) {
29633
- return DeploymentStageMainCallsApiFp(this.configuration).deleteDeploymentStage(options).then((request) => request(this.axios, this.basePath));
29652
+ public deleteDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig) {
29653
+ return DeploymentStageMainCallsApiFp(this.configuration).deleteDeploymentStage(deploymentStageId, options).then((request) => request(this.axios, this.basePath));
29634
29654
  }
29635
29655
 
29636
29656
  /**
@@ -29661,13 +29681,14 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
29661
29681
  /**
29662
29682
  *
29663
29683
  * @summary Move deployment stage before requested stage
29684
+ * @param {string} deploymentStageId Deployment Stage ID
29664
29685
  * @param {string} stageId Deployment Stage ID
29665
29686
  * @param {*} [options] Override http request option.
29666
29687
  * @throws {RequiredError}
29667
29688
  * @memberof DeploymentStageMainCallsApi
29668
29689
  */
29669
- public moveDeploymentStage(stageId: string, options?: AxiosRequestConfig) {
29670
- return DeploymentStageMainCallsApiFp(this.configuration).moveDeploymentStage(stageId, options).then((request) => request(this.axios, this.basePath));
29690
+ public moveDeploymentStage(deploymentStageId: string, stageId: string, options?: AxiosRequestConfig) {
29691
+ return DeploymentStageMainCallsApiFp(this.configuration).moveDeploymentStage(deploymentStageId, stageId, options).then((request) => request(this.axios, this.basePath));
29671
29692
  }
29672
29693
  }
29673
29694
 
package/dist/api.d.ts CHANGED
@@ -20644,11 +20644,12 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
20644
20644
  /**
20645
20645
  *
20646
20646
  * @summary Attach service to deployment stage
20647
+ * @param {string} deploymentStageId Deployment Stage ID
20647
20648
  * @param {string} serviceId Service ID of an application/job/container/database
20648
20649
  * @param {*} [options] Override http request option.
20649
20650
  * @throws {RequiredError}
20650
20651
  */
20651
- attachServiceToDeploymentStage: (serviceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20652
+ attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20652
20653
  /**
20653
20654
  *
20654
20655
  * @summary Create environment deployment stage
@@ -20661,10 +20662,11 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
20661
20662
  /**
20662
20663
  *
20663
20664
  * @summary Delete deployment stage
20665
+ * @param {string} deploymentStageId Deployment Stage ID
20664
20666
  * @param {*} [options] Override http request option.
20665
20667
  * @throws {RequiredError}
20666
20668
  */
20667
- deleteDeploymentStage: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
20669
+ deleteDeploymentStage: (deploymentStageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20668
20670
  /**
20669
20671
  *
20670
20672
  * @summary Edit deployment stage
@@ -20685,11 +20687,12 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
20685
20687
  /**
20686
20688
  *
20687
20689
  * @summary Move deployment stage before requested stage
20690
+ * @param {string} deploymentStageId Deployment Stage ID
20688
20691
  * @param {string} stageId Deployment Stage ID
20689
20692
  * @param {*} [options] Override http request option.
20690
20693
  * @throws {RequiredError}
20691
20694
  */
20692
- moveDeploymentStage: (stageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20695
+ moveDeploymentStage: (deploymentStageId: string, stageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20693
20696
  };
20694
20697
  /**
20695
20698
  * DeploymentStageMainCallsApi - functional programming interface
@@ -20699,11 +20702,12 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
20699
20702
  /**
20700
20703
  *
20701
20704
  * @summary Attach service to deployment stage
20705
+ * @param {string} deploymentStageId Deployment Stage ID
20702
20706
  * @param {string} serviceId Service ID of an application/job/container/database
20703
20707
  * @param {*} [options] Override http request option.
20704
20708
  * @throws {RequiredError}
20705
20709
  */
20706
- attachServiceToDeploymentStage(serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
20710
+ attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
20707
20711
  /**
20708
20712
  *
20709
20713
  * @summary Create environment deployment stage
@@ -20716,10 +20720,11 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
20716
20720
  /**
20717
20721
  *
20718
20722
  * @summary Delete deployment stage
20723
+ * @param {string} deploymentStageId Deployment Stage ID
20719
20724
  * @param {*} [options] Override http request option.
20720
20725
  * @throws {RequiredError}
20721
20726
  */
20722
- deleteDeploymentStage(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
20727
+ deleteDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
20723
20728
  /**
20724
20729
  *
20725
20730
  * @summary Edit deployment stage
@@ -20740,11 +20745,12 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
20740
20745
  /**
20741
20746
  *
20742
20747
  * @summary Move deployment stage before requested stage
20748
+ * @param {string} deploymentStageId Deployment Stage ID
20743
20749
  * @param {string} stageId Deployment Stage ID
20744
20750
  * @param {*} [options] Override http request option.
20745
20751
  * @throws {RequiredError}
20746
20752
  */
20747
- moveDeploymentStage(stageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
20753
+ moveDeploymentStage(deploymentStageId: string, stageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
20748
20754
  };
20749
20755
  /**
20750
20756
  * DeploymentStageMainCallsApi - factory interface
@@ -20754,11 +20760,12 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
20754
20760
  /**
20755
20761
  *
20756
20762
  * @summary Attach service to deployment stage
20763
+ * @param {string} deploymentStageId Deployment Stage ID
20757
20764
  * @param {string} serviceId Service ID of an application/job/container/database
20758
20765
  * @param {*} [options] Override http request option.
20759
20766
  * @throws {RequiredError}
20760
20767
  */
20761
- attachServiceToDeploymentStage(serviceId: string, options?: any): AxiosPromise<void>;
20768
+ attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: any): AxiosPromise<void>;
20762
20769
  /**
20763
20770
  *
20764
20771
  * @summary Create environment deployment stage
@@ -20771,10 +20778,11 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
20771
20778
  /**
20772
20779
  *
20773
20780
  * @summary Delete deployment stage
20781
+ * @param {string} deploymentStageId Deployment Stage ID
20774
20782
  * @param {*} [options] Override http request option.
20775
20783
  * @throws {RequiredError}
20776
20784
  */
20777
- deleteDeploymentStage(options?: any): AxiosPromise<void>;
20785
+ deleteDeploymentStage(deploymentStageId: string, options?: any): AxiosPromise<void>;
20778
20786
  /**
20779
20787
  *
20780
20788
  * @summary Edit deployment stage
@@ -20795,11 +20803,12 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
20795
20803
  /**
20796
20804
  *
20797
20805
  * @summary Move deployment stage before requested stage
20806
+ * @param {string} deploymentStageId Deployment Stage ID
20798
20807
  * @param {string} stageId Deployment Stage ID
20799
20808
  * @param {*} [options] Override http request option.
20800
20809
  * @throws {RequiredError}
20801
20810
  */
20802
- moveDeploymentStage(stageId: string, options?: any): AxiosPromise<DeploymentStageResponseList>;
20811
+ moveDeploymentStage(deploymentStageId: string, stageId: string, options?: any): AxiosPromise<DeploymentStageResponseList>;
20803
20812
  };
20804
20813
  /**
20805
20814
  * DeploymentStageMainCallsApi - object-oriented interface
@@ -20811,12 +20820,13 @@ export declare class DeploymentStageMainCallsApi extends BaseAPI {
20811
20820
  /**
20812
20821
  *
20813
20822
  * @summary Attach service to deployment stage
20823
+ * @param {string} deploymentStageId Deployment Stage ID
20814
20824
  * @param {string} serviceId Service ID of an application/job/container/database
20815
20825
  * @param {*} [options] Override http request option.
20816
20826
  * @throws {RequiredError}
20817
20827
  * @memberof DeploymentStageMainCallsApi
20818
20828
  */
20819
- attachServiceToDeploymentStage(serviceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
20829
+ attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
20820
20830
  /**
20821
20831
  *
20822
20832
  * @summary Create environment deployment stage
@@ -20830,11 +20840,12 @@ export declare class DeploymentStageMainCallsApi extends BaseAPI {
20830
20840
  /**
20831
20841
  *
20832
20842
  * @summary Delete deployment stage
20843
+ * @param {string} deploymentStageId Deployment Stage ID
20833
20844
  * @param {*} [options] Override http request option.
20834
20845
  * @throws {RequiredError}
20835
20846
  * @memberof DeploymentStageMainCallsApi
20836
20847
  */
20837
- deleteDeploymentStage(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
20848
+ deleteDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
20838
20849
  /**
20839
20850
  *
20840
20851
  * @summary Edit deployment stage
@@ -20857,12 +20868,13 @@ export declare class DeploymentStageMainCallsApi extends BaseAPI {
20857
20868
  /**
20858
20869
  *
20859
20870
  * @summary Move deployment stage before requested stage
20871
+ * @param {string} deploymentStageId Deployment Stage ID
20860
20872
  * @param {string} stageId Deployment Stage ID
20861
20873
  * @param {*} [options] Override http request option.
20862
20874
  * @throws {RequiredError}
20863
20875
  * @memberof DeploymentStageMainCallsApi
20864
20876
  */
20865
- moveDeploymentStage(stageId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList>>;
20877
+ moveDeploymentStage(deploymentStageId: string, stageId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList>>;
20866
20878
  }
20867
20879
  /**
20868
20880
  * EnvironmentApi - axios parameter creator
package/dist/api.js CHANGED
@@ -16055,14 +16055,18 @@ const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
16055
16055
  /**
16056
16056
  *
16057
16057
  * @summary Attach service to deployment stage
16058
+ * @param {string} deploymentStageId Deployment Stage ID
16058
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: (serviceId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16063
+ attachServiceToDeploymentStage: (deploymentStageId, serviceId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16064
+ // verify required parameter 'deploymentStageId' is not null or undefined
16065
+ (0, common_1.assertParamExists)('attachServiceToDeploymentStage', 'deploymentStageId', deploymentStageId);
16063
16066
  // verify required parameter 'serviceId' is not null or undefined
16064
16067
  (0, common_1.assertParamExists)('attachServiceToDeploymentStage', 'serviceId', serviceId);
16065
16068
  const localVarPath = `/deploymentStage/{deploymentStageId}/service/{serviceId}`
16069
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)))
16066
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);
@@ -16122,11 +16126,15 @@ const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
16122
16126
  /**
16123
16127
  *
16124
16128
  * @summary Delete deployment stage
16129
+ * @param {string} deploymentStageId Deployment Stage ID
16125
16130
  * @param {*} [options] Override http request option.
16126
16131
  * @throws {RequiredError}
16127
16132
  */
16128
- deleteDeploymentStage: (options = {}) => __awaiter(this, void 0, void 0, function* () {
16129
- const localVarPath = `/deploymentStage/{deploymentStageId}`;
16133
+ deleteDeploymentStage: (deploymentStageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16134
+ // verify required parameter 'deploymentStageId' is not null or undefined
16135
+ (0, common_1.assertParamExists)('deleteDeploymentStage', 'deploymentStageId', deploymentStageId);
16136
+ const localVarPath = `/deploymentStage/{deploymentStageId}`
16137
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
16130
16138
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16131
16139
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16132
16140
  let baseOptions;
@@ -16217,14 +16225,18 @@ const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
16217
16225
  /**
16218
16226
  *
16219
16227
  * @summary Move deployment stage before requested stage
16228
+ * @param {string} deploymentStageId Deployment Stage ID
16220
16229
  * @param {string} stageId Deployment Stage ID
16221
16230
  * @param {*} [options] Override http request option.
16222
16231
  * @throws {RequiredError}
16223
16232
  */
16224
- moveDeploymentStage: (stageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16233
+ moveDeploymentStage: (deploymentStageId, stageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16234
+ // verify required parameter 'deploymentStageId' is not null or undefined
16235
+ (0, common_1.assertParamExists)('moveDeploymentStage', 'deploymentStageId', deploymentStageId);
16225
16236
  // verify required parameter 'stageId' is not null or undefined
16226
16237
  (0, common_1.assertParamExists)('moveDeploymentStage', 'stageId', stageId);
16227
16238
  const localVarPath = `/deploymentStage/{deploymentStageId}/moveBefore/{stageId}`
16239
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)))
16228
16240
  .replace(`{${"stageId"}}`, encodeURIComponent(String(stageId)));
16229
16241
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16230
16242
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -16259,13 +16271,14 @@ const DeploymentStageMainCallsApiFp = function (configuration) {
16259
16271
  /**
16260
16272
  *
16261
16273
  * @summary Attach service to deployment stage
16274
+ * @param {string} deploymentStageId Deployment Stage ID
16262
16275
  * @param {string} serviceId Service ID of an application/job/container/database
16263
16276
  * @param {*} [options] Override http request option.
16264
16277
  * @throws {RequiredError}
16265
16278
  */
16266
- attachServiceToDeploymentStage(serviceId, options) {
16279
+ attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
16267
16280
  return __awaiter(this, void 0, void 0, function* () {
16268
- const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(serviceId, options);
16281
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, options);
16269
16282
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16270
16283
  });
16271
16284
  },
@@ -16286,12 +16299,13 @@ const DeploymentStageMainCallsApiFp = function (configuration) {
16286
16299
  /**
16287
16300
  *
16288
16301
  * @summary Delete deployment stage
16302
+ * @param {string} deploymentStageId Deployment Stage ID
16289
16303
  * @param {*} [options] Override http request option.
16290
16304
  * @throws {RequiredError}
16291
16305
  */
16292
- deleteDeploymentStage(options) {
16306
+ deleteDeploymentStage(deploymentStageId, options) {
16293
16307
  return __awaiter(this, void 0, void 0, function* () {
16294
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDeploymentStage(options);
16308
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDeploymentStage(deploymentStageId, options);
16295
16309
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16296
16310
  });
16297
16311
  },
@@ -16325,13 +16339,14 @@ const DeploymentStageMainCallsApiFp = function (configuration) {
16325
16339
  /**
16326
16340
  *
16327
16341
  * @summary Move deployment stage before requested stage
16342
+ * @param {string} deploymentStageId Deployment Stage ID
16328
16343
  * @param {string} stageId Deployment Stage ID
16329
16344
  * @param {*} [options] Override http request option.
16330
16345
  * @throws {RequiredError}
16331
16346
  */
16332
- moveDeploymentStage(stageId, options) {
16347
+ moveDeploymentStage(deploymentStageId, stageId, options) {
16333
16348
  return __awaiter(this, void 0, void 0, function* () {
16334
- const localVarAxiosArgs = yield localVarAxiosParamCreator.moveDeploymentStage(stageId, options);
16349
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.moveDeploymentStage(deploymentStageId, stageId, options);
16335
16350
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16336
16351
  });
16337
16352
  },
@@ -16348,12 +16363,13 @@ const DeploymentStageMainCallsApiFactory = function (configuration, basePath, ax
16348
16363
  /**
16349
16364
  *
16350
16365
  * @summary Attach service to deployment stage
16366
+ * @param {string} deploymentStageId Deployment Stage ID
16351
16367
  * @param {string} serviceId Service ID of an application/job/container/database
16352
16368
  * @param {*} [options] Override http request option.
16353
16369
  * @throws {RequiredError}
16354
16370
  */
16355
- attachServiceToDeploymentStage(serviceId, options) {
16356
- return localVarFp.attachServiceToDeploymentStage(serviceId, options).then((request) => request(axios, basePath));
16371
+ attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
16372
+ return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(axios, basePath));
16357
16373
  },
16358
16374
  /**
16359
16375
  *
@@ -16369,11 +16385,12 @@ const DeploymentStageMainCallsApiFactory = function (configuration, basePath, ax
16369
16385
  /**
16370
16386
  *
16371
16387
  * @summary Delete deployment stage
16388
+ * @param {string} deploymentStageId Deployment Stage ID
16372
16389
  * @param {*} [options] Override http request option.
16373
16390
  * @throws {RequiredError}
16374
16391
  */
16375
- deleteDeploymentStage(options) {
16376
- return localVarFp.deleteDeploymentStage(options).then((request) => request(axios, basePath));
16392
+ deleteDeploymentStage(deploymentStageId, options) {
16393
+ return localVarFp.deleteDeploymentStage(deploymentStageId, options).then((request) => request(axios, basePath));
16377
16394
  },
16378
16395
  /**
16379
16396
  *
@@ -16399,12 +16416,13 @@ const DeploymentStageMainCallsApiFactory = function (configuration, basePath, ax
16399
16416
  /**
16400
16417
  *
16401
16418
  * @summary Move deployment stage before requested stage
16419
+ * @param {string} deploymentStageId Deployment Stage ID
16402
16420
  * @param {string} stageId Deployment Stage ID
16403
16421
  * @param {*} [options] Override http request option.
16404
16422
  * @throws {RequiredError}
16405
16423
  */
16406
- moveDeploymentStage(stageId, options) {
16407
- return localVarFp.moveDeploymentStage(stageId, options).then((request) => request(axios, basePath));
16424
+ moveDeploymentStage(deploymentStageId, stageId, options) {
16425
+ return localVarFp.moveDeploymentStage(deploymentStageId, stageId, options).then((request) => request(axios, basePath));
16408
16426
  },
16409
16427
  };
16410
16428
  };
@@ -16419,13 +16437,14 @@ class DeploymentStageMainCallsApi extends base_1.BaseAPI {
16419
16437
  /**
16420
16438
  *
16421
16439
  * @summary Attach service to deployment stage
16440
+ * @param {string} deploymentStageId Deployment Stage ID
16422
16441
  * @param {string} serviceId Service ID of an application/job/container/database
16423
16442
  * @param {*} [options] Override http request option.
16424
16443
  * @throws {RequiredError}
16425
16444
  * @memberof DeploymentStageMainCallsApi
16426
16445
  */
16427
- attachServiceToDeploymentStage(serviceId, options) {
16428
- return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).attachServiceToDeploymentStage(serviceId, options).then((request) => request(this.axios, this.basePath));
16446
+ attachServiceToDeploymentStage(deploymentStageId, serviceId, options) {
16447
+ return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(this.axios, this.basePath));
16429
16448
  }
16430
16449
  /**
16431
16450
  *
@@ -16442,12 +16461,13 @@ class DeploymentStageMainCallsApi extends base_1.BaseAPI {
16442
16461
  /**
16443
16462
  *
16444
16463
  * @summary Delete deployment stage
16464
+ * @param {string} deploymentStageId Deployment Stage ID
16445
16465
  * @param {*} [options] Override http request option.
16446
16466
  * @throws {RequiredError}
16447
16467
  * @memberof DeploymentStageMainCallsApi
16448
16468
  */
16449
- deleteDeploymentStage(options) {
16450
- return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).deleteDeploymentStage(options).then((request) => request(this.axios, this.basePath));
16469
+ deleteDeploymentStage(deploymentStageId, options) {
16470
+ return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).deleteDeploymentStage(deploymentStageId, options).then((request) => request(this.axios, this.basePath));
16451
16471
  }
16452
16472
  /**
16453
16473
  *
@@ -16475,13 +16495,14 @@ class DeploymentStageMainCallsApi extends base_1.BaseAPI {
16475
16495
  /**
16476
16496
  *
16477
16497
  * @summary Move deployment stage before requested stage
16498
+ * @param {string} deploymentStageId Deployment Stage ID
16478
16499
  * @param {string} stageId Deployment Stage ID
16479
16500
  * @param {*} [options] Override http request option.
16480
16501
  * @throws {RequiredError}
16481
16502
  * @memberof DeploymentStageMainCallsApi
16482
16503
  */
16483
- moveDeploymentStage(stageId, options) {
16484
- return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).moveDeploymentStage(stageId, options).then((request) => request(this.axios, this.basePath));
16504
+ moveDeploymentStage(deploymentStageId, stageId, options) {
16505
+ return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).moveDeploymentStage(deploymentStageId, stageId, options).then((request) => request(this.axios, this.basePath));
16485
16506
  }
16486
16507
  }
16487
16508
  exports.DeploymentStageMainCallsApi = DeploymentStageMainCallsApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.96",
3
+ "version": "v1.1.97",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [