qovery-typescript-axios 1.1.101 → 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 +198 -15
  2. package/dist/api.d.ts +118 -8
  3. package/dist/api.js +140 -15
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -1995,6 +1995,54 @@ export interface ClusterAdvancedSettings {
1995
1995
  * @memberof ClusterAdvancedSettings
1996
1996
  */
1997
1997
  'aws.vpc.flow_logs_retention_days'?: number;
1998
+ /**
1999
+ * Deny public access to any PostgreSQL database
2000
+ * @type {boolean}
2001
+ * @memberof ClusterAdvancedSettings
2002
+ */
2003
+ 'database.postgresql.deny_public_access'?: boolean;
2004
+ /**
2005
+ * List of CIDRs allowed to access the PostgreSQL database
2006
+ * @type {Array<string>}
2007
+ * @memberof ClusterAdvancedSettings
2008
+ */
2009
+ 'database.postgresql.allowed_cidrs'?: Array<string>;
2010
+ /**
2011
+ * Deny public access to any MySql database
2012
+ * @type {boolean}
2013
+ * @memberof ClusterAdvancedSettings
2014
+ */
2015
+ 'database.mysql.deny_public_access'?: boolean;
2016
+ /**
2017
+ * List of CIDRs allowed to access the MySql database
2018
+ * @type {Array<string>}
2019
+ * @memberof ClusterAdvancedSettings
2020
+ */
2021
+ 'database.mysql.allowed_cidrs'?: Array<string>;
2022
+ /**
2023
+ * Deny public access to any MongoDB/DocumentDB database
2024
+ * @type {boolean}
2025
+ * @memberof ClusterAdvancedSettings
2026
+ */
2027
+ 'database.mongodb.deny_public_access'?: boolean;
2028
+ /**
2029
+ * List of CIDRs allowed to access the MongoDB/DocumentDB database
2030
+ * @type {Array<string>}
2031
+ * @memberof ClusterAdvancedSettings
2032
+ */
2033
+ 'database.mongodb.allowed_cidrs'?: Array<string>;
2034
+ /**
2035
+ * Deny public access to any Redis database
2036
+ * @type {boolean}
2037
+ * @memberof ClusterAdvancedSettings
2038
+ */
2039
+ 'database.redis.deny_public_access'?: boolean;
2040
+ /**
2041
+ * List of CIDRs allowed to access the Redis database
2042
+ * @type {Array<string>}
2043
+ * @memberof ClusterAdvancedSettings
2044
+ */
2045
+ 'database.redis.allowed_cidrs'?: Array<string>;
1998
2046
  /**
1999
2047
  * Configure the number of seconds before cleaning images in the registry
2000
2048
  * @type {number}
@@ -29259,18 +29307,14 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
29259
29307
  *
29260
29308
  * @summary Attach service to deployment stage
29261
29309
  * @param {string} deploymentStageId Deployment Stage ID
29262
- * @param {string} serviceId Service ID of an application/job/container/database
29263
29310
  * @param {*} [options] Override http request option.
29264
29311
  * @throws {RequiredError}
29265
29312
  */
29266
- attachServiceToDeploymentStage: async (deploymentStageId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29313
+ attachServiceToDeploymentStage: async (deploymentStageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29267
29314
  // verify required parameter 'deploymentStageId' is not null or undefined
29268
29315
  assertParamExists('attachServiceToDeploymentStage', 'deploymentStageId', deploymentStageId)
29269
- // verify required parameter 'serviceId' is not null or undefined
29270
- assertParamExists('attachServiceToDeploymentStage', 'serviceId', serviceId)
29271
29316
  const localVarPath = `/deploymentStage/{deploymentStageId}/service/{serviceId}`
29272
- .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)))
29273
- .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
29317
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
29274
29318
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29275
29319
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29276
29320
  let baseOptions;
@@ -29419,6 +29463,82 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
29419
29463
  options: localVarRequestOptions,
29420
29464
  };
29421
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
+ },
29422
29542
  /**
29423
29543
  *
29424
29544
  * @summary List environment deployment stage
@@ -29513,12 +29633,11 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
29513
29633
  *
29514
29634
  * @summary Attach service to deployment stage
29515
29635
  * @param {string} deploymentStageId Deployment Stage ID
29516
- * @param {string} serviceId Service ID of an application/job/container/database
29517
29636
  * @param {*} [options] Override http request option.
29518
29637
  * @throws {RequiredError}
29519
29638
  */
29520
- async attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
29521
- 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);
29522
29641
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29523
29642
  },
29524
29643
  /**
@@ -29556,6 +29675,28 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
29556
29675
  const localVarAxiosArgs = await localVarAxiosParamCreator.editDeploymentStage(deploymentStageId, deploymentStageRequest, options);
29557
29676
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29558
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
+ },
29559
29700
  /**
29560
29701
  *
29561
29702
  * @summary List environment deployment stage
@@ -29593,12 +29734,11 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
29593
29734
  *
29594
29735
  * @summary Attach service to deployment stage
29595
29736
  * @param {string} deploymentStageId Deployment Stage ID
29596
- * @param {string} serviceId Service ID of an application/job/container/database
29597
29737
  * @param {*} [options] Override http request option.
29598
29738
  * @throws {RequiredError}
29599
29739
  */
29600
- attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: any): AxiosPromise<DeploymentStageResponseList> {
29601
- 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));
29602
29742
  },
29603
29743
  /**
29604
29744
  *
@@ -29632,6 +29772,26 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
29632
29772
  editDeploymentStage(deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: any): AxiosPromise<DeploymentStageResponse> {
29633
29773
  return localVarFp.editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(axios, basePath));
29634
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
+ },
29635
29795
  /**
29636
29796
  *
29637
29797
  * @summary List environment deployment stage
@@ -29667,13 +29827,12 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
29667
29827
  *
29668
29828
  * @summary Attach service to deployment stage
29669
29829
  * @param {string} deploymentStageId Deployment Stage ID
29670
- * @param {string} serviceId Service ID of an application/job/container/database
29671
29830
  * @param {*} [options] Override http request option.
29672
29831
  * @throws {RequiredError}
29673
29832
  * @memberof DeploymentStageMainCallsApi
29674
29833
  */
29675
- public attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig) {
29676
- 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));
29677
29836
  }
29678
29837
 
29679
29838
  /**
@@ -29714,6 +29873,30 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
29714
29873
  return DeploymentStageMainCallsApiFp(this.configuration).editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
29715
29874
  }
29716
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
+
29717
29900
  /**
29718
29901
  *
29719
29902
  * @summary List environment deployment stage
package/dist/api.d.ts CHANGED
@@ -1976,6 +1976,54 @@ export interface ClusterAdvancedSettings {
1976
1976
  * @memberof ClusterAdvancedSettings
1977
1977
  */
1978
1978
  'aws.vpc.flow_logs_retention_days'?: number;
1979
+ /**
1980
+ * Deny public access to any PostgreSQL database
1981
+ * @type {boolean}
1982
+ * @memberof ClusterAdvancedSettings
1983
+ */
1984
+ 'database.postgresql.deny_public_access'?: boolean;
1985
+ /**
1986
+ * List of CIDRs allowed to access the PostgreSQL database
1987
+ * @type {Array<string>}
1988
+ * @memberof ClusterAdvancedSettings
1989
+ */
1990
+ 'database.postgresql.allowed_cidrs'?: Array<string>;
1991
+ /**
1992
+ * Deny public access to any MySql database
1993
+ * @type {boolean}
1994
+ * @memberof ClusterAdvancedSettings
1995
+ */
1996
+ 'database.mysql.deny_public_access'?: boolean;
1997
+ /**
1998
+ * List of CIDRs allowed to access the MySql database
1999
+ * @type {Array<string>}
2000
+ * @memberof ClusterAdvancedSettings
2001
+ */
2002
+ 'database.mysql.allowed_cidrs'?: Array<string>;
2003
+ /**
2004
+ * Deny public access to any MongoDB/DocumentDB database
2005
+ * @type {boolean}
2006
+ * @memberof ClusterAdvancedSettings
2007
+ */
2008
+ 'database.mongodb.deny_public_access'?: boolean;
2009
+ /**
2010
+ * List of CIDRs allowed to access the MongoDB/DocumentDB database
2011
+ * @type {Array<string>}
2012
+ * @memberof ClusterAdvancedSettings
2013
+ */
2014
+ 'database.mongodb.allowed_cidrs'?: Array<string>;
2015
+ /**
2016
+ * Deny public access to any Redis database
2017
+ * @type {boolean}
2018
+ * @memberof ClusterAdvancedSettings
2019
+ */
2020
+ 'database.redis.deny_public_access'?: boolean;
2021
+ /**
2022
+ * List of CIDRs allowed to access the Redis database
2023
+ * @type {Array<string>}
2024
+ * @memberof ClusterAdvancedSettings
2025
+ */
2026
+ 'database.redis.allowed_cidrs'?: Array<string>;
1979
2027
  /**
1980
2028
  * Configure the number of seconds before cleaning images in the registry
1981
2029
  * @type {number}
@@ -20693,11 +20741,10 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
20693
20741
  *
20694
20742
  * @summary Attach service to deployment stage
20695
20743
  * @param {string} deploymentStageId Deployment Stage ID
20696
- * @param {string} serviceId Service ID of an application/job/container/database
20697
20744
  * @param {*} [options] Override http request option.
20698
20745
  * @throws {RequiredError}
20699
20746
  */
20700
- attachServiceToDeploymentStage: (deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20747
+ attachServiceToDeploymentStage: (deploymentStageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20701
20748
  /**
20702
20749
  *
20703
20750
  * @summary Create environment deployment stage
@@ -20724,6 +20771,22 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
20724
20771
  * @throws {RequiredError}
20725
20772
  */
20726
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>;
20727
20790
  /**
20728
20791
  *
20729
20792
  * @summary List environment deployment stage
@@ -20751,11 +20814,10 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
20751
20814
  *
20752
20815
  * @summary Attach service to deployment stage
20753
20816
  * @param {string} deploymentStageId Deployment Stage ID
20754
- * @param {string} serviceId Service ID of an application/job/container/database
20755
20817
  * @param {*} [options] Override http request option.
20756
20818
  * @throws {RequiredError}
20757
20819
  */
20758
- 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>>;
20759
20821
  /**
20760
20822
  *
20761
20823
  * @summary Create environment deployment stage
@@ -20782,6 +20844,22 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
20782
20844
  * @throws {RequiredError}
20783
20845
  */
20784
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>>;
20785
20863
  /**
20786
20864
  *
20787
20865
  * @summary List environment deployment stage
@@ -20809,11 +20887,10 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
20809
20887
  *
20810
20888
  * @summary Attach service to deployment stage
20811
20889
  * @param {string} deploymentStageId Deployment Stage ID
20812
- * @param {string} serviceId Service ID of an application/job/container/database
20813
20890
  * @param {*} [options] Override http request option.
20814
20891
  * @throws {RequiredError}
20815
20892
  */
20816
- attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: any): AxiosPromise<DeploymentStageResponseList>;
20893
+ attachServiceToDeploymentStage(deploymentStageId: string, options?: any): AxiosPromise<DeploymentStageResponseList>;
20817
20894
  /**
20818
20895
  *
20819
20896
  * @summary Create environment deployment stage
@@ -20840,6 +20917,22 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
20840
20917
  * @throws {RequiredError}
20841
20918
  */
20842
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>;
20843
20936
  /**
20844
20937
  *
20845
20938
  * @summary List environment deployment stage
@@ -20869,12 +20962,11 @@ export declare class DeploymentStageMainCallsApi extends BaseAPI {
20869
20962
  *
20870
20963
  * @summary Attach service to deployment stage
20871
20964
  * @param {string} deploymentStageId Deployment Stage ID
20872
- * @param {string} serviceId Service ID of an application/job/container/database
20873
20965
  * @param {*} [options] Override http request option.
20874
20966
  * @throws {RequiredError}
20875
20967
  * @memberof DeploymentStageMainCallsApi
20876
20968
  */
20877
- attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList>>;
20969
+ attachServiceToDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList>>;
20878
20970
  /**
20879
20971
  *
20880
20972
  * @summary Create environment deployment stage
@@ -20904,6 +20996,24 @@ export declare class DeploymentStageMainCallsApi extends BaseAPI {
20904
20996
  * @memberof DeploymentStageMainCallsApi
20905
20997
  */
20906
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>>;
20907
21017
  /**
20908
21018
  *
20909
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.101",
3
+ "version": "v1.1.103",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [