qovery-typescript-axios 1.1.293 → 1.1.294

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.ts CHANGED
@@ -1686,112 +1686,55 @@ export type BuildPackLanguageEnum = typeof BuildPackLanguageEnum[keyof typeof Bu
1686
1686
  /**
1687
1687
  *
1688
1688
  * @export
1689
- * @interface CloneApplicationRequest
1689
+ * @interface CloneEnvironmentRequest
1690
1690
  */
1691
- export interface CloneApplicationRequest {
1691
+ export interface CloneEnvironmentRequest {
1692
1692
  /**
1693
- *
1694
- * @type {string}
1695
- * @memberof CloneApplicationRequest
1696
- */
1697
- 'name': string;
1698
- /**
1699
- *
1700
- * @type {string}
1701
- * @memberof CloneApplicationRequest
1702
- */
1703
- 'environment_id': string;
1704
- }
1705
- /**
1706
- *
1707
- * @export
1708
- * @interface CloneContainerRequest
1709
- */
1710
- export interface CloneContainerRequest {
1711
- /**
1712
- *
1693
+ * name is case insensitive
1713
1694
  * @type {string}
1714
- * @memberof CloneContainerRequest
1695
+ * @memberof CloneEnvironmentRequest
1715
1696
  */
1716
1697
  'name': string;
1717
1698
  /**
1718
1699
  *
1719
1700
  * @type {string}
1720
- * @memberof CloneContainerRequest
1701
+ * @memberof CloneEnvironmentRequest
1721
1702
  */
1722
- 'environment_id': string;
1723
- }
1724
- /**
1725
- *
1726
- * @export
1727
- * @interface CloneDatabaseRequest
1728
- */
1729
- export interface CloneDatabaseRequest {
1703
+ 'cluster_id'?: string;
1730
1704
  /**
1731
1705
  *
1732
- * @type {string}
1733
- * @memberof CloneDatabaseRequest
1706
+ * @type {EnvironmentModeEnum}
1707
+ * @memberof CloneEnvironmentRequest
1734
1708
  */
1735
- 'name': string;
1709
+ 'mode'?: EnvironmentModeEnum;
1736
1710
  /**
1737
1711
  *
1738
- * @type {string}
1739
- * @memberof CloneDatabaseRequest
1712
+ * @type {boolean}
1713
+ * @memberof CloneEnvironmentRequest
1740
1714
  */
1741
- 'environment_id': string;
1715
+ 'apply_deployment_rule'?: boolean;
1742
1716
  }
1717
+
1718
+
1743
1719
  /**
1744
1720
  *
1745
1721
  * @export
1746
- * @interface CloneJobRequest
1722
+ * @interface CloneServiceRequest
1747
1723
  */
1748
- export interface CloneJobRequest {
1724
+ export interface CloneServiceRequest {
1749
1725
  /**
1750
1726
  *
1751
1727
  * @type {string}
1752
- * @memberof CloneJobRequest
1728
+ * @memberof CloneServiceRequest
1753
1729
  */
1754
1730
  'name': string;
1755
1731
  /**
1756
1732
  *
1757
1733
  * @type {string}
1758
- * @memberof CloneJobRequest
1734
+ * @memberof CloneServiceRequest
1759
1735
  */
1760
1736
  'environment_id': string;
1761
1737
  }
1762
- /**
1763
- *
1764
- * @export
1765
- * @interface CloneRequest
1766
- */
1767
- export interface CloneRequest {
1768
- /**
1769
- * name is case insensitive
1770
- * @type {string}
1771
- * @memberof CloneRequest
1772
- */
1773
- 'name': string;
1774
- /**
1775
- *
1776
- * @type {string}
1777
- * @memberof CloneRequest
1778
- */
1779
- 'cluster_id'?: string;
1780
- /**
1781
- *
1782
- * @type {EnvironmentModeEnum}
1783
- * @memberof CloneRequest
1784
- */
1785
- 'mode'?: EnvironmentModeEnum;
1786
- /**
1787
- *
1788
- * @type {boolean}
1789
- * @memberof CloneRequest
1790
- */
1791
- 'apply_deployment_rule'?: boolean;
1792
- }
1793
-
1794
-
1795
1738
  /**
1796
1739
  *
1797
1740
  * @export
@@ -18171,11 +18114,11 @@ export const ApplicationsApiAxiosParamCreator = function (configuration?: Config
18171
18114
  * This will create a new application with the same configuration on the targeted environment Id.
18172
18115
  * @summary Clone application
18173
18116
  * @param {string} applicationId Application ID
18174
- * @param {CloneApplicationRequest} [cloneApplicationRequest]
18117
+ * @param {CloneServiceRequest} [cloneServiceRequest]
18175
18118
  * @param {*} [options] Override http request option.
18176
18119
  * @throws {RequiredError}
18177
18120
  */
18178
- cloneApplication: async (applicationId: string, cloneApplicationRequest?: CloneApplicationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18121
+ cloneApplication: async (applicationId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18179
18122
  // verify required parameter 'applicationId' is not null or undefined
18180
18123
  assertParamExists('cloneApplication', 'applicationId', applicationId)
18181
18124
  const localVarPath = `/application/{applicationId}/clone`
@@ -18205,7 +18148,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration?: Config
18205
18148
  setSearchParams(localVarUrlObj, localVarQueryParameter);
18206
18149
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18207
18150
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18208
- localVarRequestOptions.data = serializeDataIfNeeded(cloneApplicationRequest, localVarRequestOptions, configuration)
18151
+ localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
18209
18152
 
18210
18153
  return {
18211
18154
  url: toPathString(localVarUrlObj),
@@ -18513,12 +18456,12 @@ export const ApplicationsApiFp = function(configuration?: Configuration) {
18513
18456
  * This will create a new application with the same configuration on the targeted environment Id.
18514
18457
  * @summary Clone application
18515
18458
  * @param {string} applicationId Application ID
18516
- * @param {CloneApplicationRequest} [cloneApplicationRequest]
18459
+ * @param {CloneServiceRequest} [cloneServiceRequest]
18517
18460
  * @param {*} [options] Override http request option.
18518
18461
  * @throws {RequiredError}
18519
18462
  */
18520
- async cloneApplication(applicationId: string, cloneApplicationRequest?: CloneApplicationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Application>> {
18521
- const localVarAxiosArgs = await localVarAxiosParamCreator.cloneApplication(applicationId, cloneApplicationRequest, options);
18463
+ async cloneApplication(applicationId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Application>> {
18464
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cloneApplication(applicationId, cloneServiceRequest, options);
18522
18465
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18523
18466
  },
18524
18467
  /**
@@ -18612,12 +18555,12 @@ export const ApplicationsApiFactory = function (configuration?: Configuration, b
18612
18555
  * This will create a new application with the same configuration on the targeted environment Id.
18613
18556
  * @summary Clone application
18614
18557
  * @param {string} applicationId Application ID
18615
- * @param {CloneApplicationRequest} [cloneApplicationRequest]
18558
+ * @param {CloneServiceRequest} [cloneServiceRequest]
18616
18559
  * @param {*} [options] Override http request option.
18617
18560
  * @throws {RequiredError}
18618
18561
  */
18619
- cloneApplication(applicationId: string, cloneApplicationRequest?: CloneApplicationRequest, options?: any): AxiosPromise<Application> {
18620
- return localVarFp.cloneApplication(applicationId, cloneApplicationRequest, options).then((request) => request(axios, basePath));
18562
+ cloneApplication(applicationId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<Application> {
18563
+ return localVarFp.cloneApplication(applicationId, cloneServiceRequest, options).then((request) => request(axios, basePath));
18621
18564
  },
18622
18565
  /**
18623
18566
  *
@@ -18703,13 +18646,13 @@ export class ApplicationsApi extends BaseAPI {
18703
18646
  * This will create a new application with the same configuration on the targeted environment Id.
18704
18647
  * @summary Clone application
18705
18648
  * @param {string} applicationId Application ID
18706
- * @param {CloneApplicationRequest} [cloneApplicationRequest]
18649
+ * @param {CloneServiceRequest} [cloneServiceRequest]
18707
18650
  * @param {*} [options] Override http request option.
18708
18651
  * @throws {RequiredError}
18709
18652
  * @memberof ApplicationsApi
18710
18653
  */
18711
- public cloneApplication(applicationId: string, cloneApplicationRequest?: CloneApplicationRequest, options?: AxiosRequestConfig) {
18712
- return ApplicationsApiFp(this.configuration).cloneApplication(applicationId, cloneApplicationRequest, options).then((request) => request(this.axios, this.basePath));
18654
+ public cloneApplication(applicationId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
18655
+ return ApplicationsApiFp(this.configuration).cloneApplication(applicationId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
18713
18656
  }
18714
18657
 
18715
18658
  /**
@@ -28100,11 +28043,11 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
28100
28043
  * This will create a new container with the same configuration on the targeted environment Id.
28101
28044
  * @summary Clone container
28102
28045
  * @param {string} containerId Container ID
28103
- * @param {CloneContainerRequest} [cloneContainerRequest]
28046
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28104
28047
  * @param {*} [options] Override http request option.
28105
28048
  * @throws {RequiredError}
28106
28049
  */
28107
- cloneContainer: async (containerId: string, cloneContainerRequest?: CloneContainerRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28050
+ cloneContainer: async (containerId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28108
28051
  // verify required parameter 'containerId' is not null or undefined
28109
28052
  assertParamExists('cloneContainer', 'containerId', containerId)
28110
28053
  const localVarPath = `/container/{containerId}/clone`
@@ -28134,7 +28077,7 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
28134
28077
  setSearchParams(localVarUrlObj, localVarQueryParameter);
28135
28078
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28136
28079
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28137
- localVarRequestOptions.data = serializeDataIfNeeded(cloneContainerRequest, localVarRequestOptions, configuration)
28080
+ localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
28138
28081
 
28139
28082
  return {
28140
28083
  url: toPathString(localVarUrlObj),
@@ -28503,12 +28446,12 @@ export const ContainersApiFp = function(configuration?: Configuration) {
28503
28446
  * This will create a new container with the same configuration on the targeted environment Id.
28504
28447
  * @summary Clone container
28505
28448
  * @param {string} containerId Container ID
28506
- * @param {CloneContainerRequest} [cloneContainerRequest]
28449
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28507
28450
  * @param {*} [options] Override http request option.
28508
28451
  * @throws {RequiredError}
28509
28452
  */
28510
- async cloneContainer(containerId: string, cloneContainerRequest?: CloneContainerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>> {
28511
- const localVarAxiosArgs = await localVarAxiosParamCreator.cloneContainer(containerId, cloneContainerRequest, options);
28453
+ async cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>> {
28454
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cloneContainer(containerId, cloneServiceRequest, options);
28512
28455
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28513
28456
  },
28514
28457
  /**
@@ -28626,12 +28569,12 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
28626
28569
  * This will create a new container with the same configuration on the targeted environment Id.
28627
28570
  * @summary Clone container
28628
28571
  * @param {string} containerId Container ID
28629
- * @param {CloneContainerRequest} [cloneContainerRequest]
28572
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28630
28573
  * @param {*} [options] Override http request option.
28631
28574
  * @throws {RequiredError}
28632
28575
  */
28633
- cloneContainer(containerId: string, cloneContainerRequest?: CloneContainerRequest, options?: any): AxiosPromise<ContainerResponse> {
28634
- return localVarFp.cloneContainer(containerId, cloneContainerRequest, options).then((request) => request(axios, basePath));
28576
+ cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse> {
28577
+ return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
28635
28578
  },
28636
28579
  /**
28637
28580
  *
@@ -28742,13 +28685,13 @@ export class ContainersApi extends BaseAPI {
28742
28685
  * This will create a new container with the same configuration on the targeted environment Id.
28743
28686
  * @summary Clone container
28744
28687
  * @param {string} containerId Container ID
28745
- * @param {CloneContainerRequest} [cloneContainerRequest]
28688
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28746
28689
  * @param {*} [options] Override http request option.
28747
28690
  * @throws {RequiredError}
28748
28691
  * @memberof ContainersApi
28749
28692
  */
28750
- public cloneContainer(containerId: string, cloneContainerRequest?: CloneContainerRequest, options?: AxiosRequestConfig) {
28751
- return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneContainerRequest, options).then((request) => request(this.axios, this.basePath));
28693
+ public cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
28694
+ return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
28752
28695
  }
28753
28696
 
28754
28697
  /**
@@ -31050,11 +30993,11 @@ export const DatabasesApiAxiosParamCreator = function (configuration?: Configura
31050
30993
  * This will create a new database with the same configuration on the targeted environment Id.
31051
30994
  * @summary Clone database
31052
30995
  * @param {string} databaseId Database ID
31053
- * @param {CloneDatabaseRequest} [cloneDatabaseRequest]
30996
+ * @param {CloneServiceRequest} [cloneServiceRequest]
31054
30997
  * @param {*} [options] Override http request option.
31055
30998
  * @throws {RequiredError}
31056
30999
  */
31057
- cloneDatabase: async (databaseId: string, cloneDatabaseRequest?: CloneDatabaseRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31000
+ cloneDatabase: async (databaseId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31058
31001
  // verify required parameter 'databaseId' is not null or undefined
31059
31002
  assertParamExists('cloneDatabase', 'databaseId', databaseId)
31060
31003
  const localVarPath = `/database/{databaseId}/clone`
@@ -31084,7 +31027,7 @@ export const DatabasesApiAxiosParamCreator = function (configuration?: Configura
31084
31027
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31085
31028
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31086
31029
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31087
- localVarRequestOptions.data = serializeDataIfNeeded(cloneDatabaseRequest, localVarRequestOptions, configuration)
31030
+ localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
31088
31031
 
31089
31032
  return {
31090
31033
  url: toPathString(localVarUrlObj),
@@ -31314,12 +31257,12 @@ export const DatabasesApiFp = function(configuration?: Configuration) {
31314
31257
  * This will create a new database with the same configuration on the targeted environment Id.
31315
31258
  * @summary Clone database
31316
31259
  * @param {string} databaseId Database ID
31317
- * @param {CloneDatabaseRequest} [cloneDatabaseRequest]
31260
+ * @param {CloneServiceRequest} [cloneServiceRequest]
31318
31261
  * @param {*} [options] Override http request option.
31319
31262
  * @throws {RequiredError}
31320
31263
  */
31321
- async cloneDatabase(databaseId: string, cloneDatabaseRequest?: CloneDatabaseRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Database>> {
31322
- const localVarAxiosArgs = await localVarAxiosParamCreator.cloneDatabase(databaseId, cloneDatabaseRequest, options);
31264
+ async cloneDatabase(databaseId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Database>> {
31265
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cloneDatabase(databaseId, cloneServiceRequest, options);
31323
31266
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31324
31267
  },
31325
31268
  /**
@@ -31392,12 +31335,12 @@ export const DatabasesApiFactory = function (configuration?: Configuration, base
31392
31335
  * This will create a new database with the same configuration on the targeted environment Id.
31393
31336
  * @summary Clone database
31394
31337
  * @param {string} databaseId Database ID
31395
- * @param {CloneDatabaseRequest} [cloneDatabaseRequest]
31338
+ * @param {CloneServiceRequest} [cloneServiceRequest]
31396
31339
  * @param {*} [options] Override http request option.
31397
31340
  * @throws {RequiredError}
31398
31341
  */
31399
- cloneDatabase(databaseId: string, cloneDatabaseRequest?: CloneDatabaseRequest, options?: any): AxiosPromise<Database> {
31400
- return localVarFp.cloneDatabase(databaseId, cloneDatabaseRequest, options).then((request) => request(axios, basePath));
31342
+ cloneDatabase(databaseId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<Database> {
31343
+ return localVarFp.cloneDatabase(databaseId, cloneServiceRequest, options).then((request) => request(axios, basePath));
31401
31344
  },
31402
31345
  /**
31403
31346
  *
@@ -31464,13 +31407,13 @@ export class DatabasesApi extends BaseAPI {
31464
31407
  * This will create a new database with the same configuration on the targeted environment Id.
31465
31408
  * @summary Clone database
31466
31409
  * @param {string} databaseId Database ID
31467
- * @param {CloneDatabaseRequest} [cloneDatabaseRequest]
31410
+ * @param {CloneServiceRequest} [cloneServiceRequest]
31468
31411
  * @param {*} [options] Override http request option.
31469
31412
  * @throws {RequiredError}
31470
31413
  * @memberof DatabasesApi
31471
31414
  */
31472
- public cloneDatabase(databaseId: string, cloneDatabaseRequest?: CloneDatabaseRequest, options?: AxiosRequestConfig) {
31473
- return DatabasesApiFp(this.configuration).cloneDatabase(databaseId, cloneDatabaseRequest, options).then((request) => request(this.axios, this.basePath));
31415
+ public cloneDatabase(databaseId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
31416
+ return DatabasesApiFp(this.configuration).cloneDatabase(databaseId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
31474
31417
  }
31475
31418
 
31476
31419
  /**
@@ -32448,11 +32391,11 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
32448
32391
  * You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
32449
32392
  * @summary Clone environment
32450
32393
  * @param {string} environmentId Environment ID
32451
- * @param {CloneRequest} [cloneRequest]
32394
+ * @param {CloneEnvironmentRequest} [cloneEnvironmentRequest]
32452
32395
  * @param {*} [options] Override http request option.
32453
32396
  * @throws {RequiredError}
32454
32397
  */
32455
- cloneEnvironment: async (environmentId: string, cloneRequest?: CloneRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32398
+ cloneEnvironment: async (environmentId: string, cloneEnvironmentRequest?: CloneEnvironmentRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32456
32399
  // verify required parameter 'environmentId' is not null or undefined
32457
32400
  assertParamExists('cloneEnvironment', 'environmentId', environmentId)
32458
32401
  const localVarPath = `/environment/{environmentId}/clone`
@@ -32482,7 +32425,7 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
32482
32425
  setSearchParams(localVarUrlObj, localVarQueryParameter);
32483
32426
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32484
32427
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32485
- localVarRequestOptions.data = serializeDataIfNeeded(cloneRequest, localVarRequestOptions, configuration)
32428
+ localVarRequestOptions.data = serializeDataIfNeeded(cloneEnvironmentRequest, localVarRequestOptions, configuration)
32486
32429
 
32487
32430
  return {
32488
32431
  url: toPathString(localVarUrlObj),
@@ -32858,12 +32801,12 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
32858
32801
  * You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
32859
32802
  * @summary Clone environment
32860
32803
  * @param {string} environmentId Environment ID
32861
- * @param {CloneRequest} [cloneRequest]
32804
+ * @param {CloneEnvironmentRequest} [cloneEnvironmentRequest]
32862
32805
  * @param {*} [options] Override http request option.
32863
32806
  * @throws {RequiredError}
32864
32807
  */
32865
- async cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>> {
32866
- const localVarAxiosArgs = await localVarAxiosParamCreator.cloneEnvironment(environmentId, cloneRequest, options);
32808
+ async cloneEnvironment(environmentId: string, cloneEnvironmentRequest?: CloneEnvironmentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>> {
32809
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cloneEnvironment(environmentId, cloneEnvironmentRequest, options);
32867
32810
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32868
32811
  },
32869
32812
  /**
@@ -32982,12 +32925,12 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
32982
32925
  * You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
32983
32926
  * @summary Clone environment
32984
32927
  * @param {string} environmentId Environment ID
32985
- * @param {CloneRequest} [cloneRequest]
32928
+ * @param {CloneEnvironmentRequest} [cloneEnvironmentRequest]
32986
32929
  * @param {*} [options] Override http request option.
32987
32930
  * @throws {RequiredError}
32988
32931
  */
32989
- cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: any): AxiosPromise<Environment> {
32990
- return localVarFp.cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(axios, basePath));
32932
+ cloneEnvironment(environmentId: string, cloneEnvironmentRequest?: CloneEnvironmentRequest, options?: any): AxiosPromise<Environment> {
32933
+ return localVarFp.cloneEnvironment(environmentId, cloneEnvironmentRequest, options).then((request) => request(axios, basePath));
32991
32934
  },
32992
32935
  /**
32993
32936
  * Delete selected services
@@ -33099,13 +33042,13 @@ export class EnvironmentActionsApi extends BaseAPI {
33099
33042
  * You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
33100
33043
  * @summary Clone environment
33101
33044
  * @param {string} environmentId Environment ID
33102
- * @param {CloneRequest} [cloneRequest]
33045
+ * @param {CloneEnvironmentRequest} [cloneEnvironmentRequest]
33103
33046
  * @param {*} [options] Override http request option.
33104
33047
  * @throws {RequiredError}
33105
33048
  * @memberof EnvironmentActionsApi
33106
33049
  */
33107
- public cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig) {
33108
- return EnvironmentActionsApiFp(this.configuration).cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(this.axios, this.basePath));
33050
+ public cloneEnvironment(environmentId: string, cloneEnvironmentRequest?: CloneEnvironmentRequest, options?: AxiosRequestConfig) {
33051
+ return EnvironmentActionsApiFp(this.configuration).cloneEnvironment(environmentId, cloneEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
33109
33052
  }
33110
33053
 
33111
33054
  /**
@@ -41647,11 +41590,11 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
41647
41590
  * This will create a new job with the same configuration on the targeted environment Id.
41648
41591
  * @summary Clone job
41649
41592
  * @param {string} jobId Job ID
41650
- * @param {CloneJobRequest} [cloneJobRequest]
41593
+ * @param {CloneServiceRequest} [cloneServiceRequest]
41651
41594
  * @param {*} [options] Override http request option.
41652
41595
  * @throws {RequiredError}
41653
41596
  */
41654
- cloneJob: async (jobId: string, cloneJobRequest?: CloneJobRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41597
+ cloneJob: async (jobId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41655
41598
  // verify required parameter 'jobId' is not null or undefined
41656
41599
  assertParamExists('cloneJob', 'jobId', jobId)
41657
41600
  const localVarPath = `/job/{jobId}/clone`
@@ -41681,7 +41624,7 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
41681
41624
  setSearchParams(localVarUrlObj, localVarQueryParameter);
41682
41625
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41683
41626
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41684
- localVarRequestOptions.data = serializeDataIfNeeded(cloneJobRequest, localVarRequestOptions, configuration)
41627
+ localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
41685
41628
 
41686
41629
  return {
41687
41630
  url: toPathString(localVarUrlObj),
@@ -41883,12 +41826,12 @@ export const JobsApiFp = function(configuration?: Configuration) {
41883
41826
  * This will create a new job with the same configuration on the targeted environment Id.
41884
41827
  * @summary Clone job
41885
41828
  * @param {string} jobId Job ID
41886
- * @param {CloneJobRequest} [cloneJobRequest]
41829
+ * @param {CloneServiceRequest} [cloneServiceRequest]
41887
41830
  * @param {*} [options] Override http request option.
41888
41831
  * @throws {RequiredError}
41889
41832
  */
41890
- async cloneJob(jobId: string, cloneJobRequest?: CloneJobRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResponse>> {
41891
- const localVarAxiosArgs = await localVarAxiosParamCreator.cloneJob(jobId, cloneJobRequest, options);
41833
+ async cloneJob(jobId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResponse>> {
41834
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cloneJob(jobId, cloneServiceRequest, options);
41892
41835
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41893
41836
  },
41894
41837
  /**
@@ -41961,12 +41904,12 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
41961
41904
  * This will create a new job with the same configuration on the targeted environment Id.
41962
41905
  * @summary Clone job
41963
41906
  * @param {string} jobId Job ID
41964
- * @param {CloneJobRequest} [cloneJobRequest]
41907
+ * @param {CloneServiceRequest} [cloneServiceRequest]
41965
41908
  * @param {*} [options] Override http request option.
41966
41909
  * @throws {RequiredError}
41967
41910
  */
41968
- cloneJob(jobId: string, cloneJobRequest?: CloneJobRequest, options?: any): AxiosPromise<JobResponse> {
41969
- return localVarFp.cloneJob(jobId, cloneJobRequest, options).then((request) => request(axios, basePath));
41911
+ cloneJob(jobId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<JobResponse> {
41912
+ return localVarFp.cloneJob(jobId, cloneServiceRequest, options).then((request) => request(axios, basePath));
41970
41913
  },
41971
41914
  /**
41972
41915
  *
@@ -42036,13 +41979,13 @@ export class JobsApi extends BaseAPI {
42036
41979
  * This will create a new job with the same configuration on the targeted environment Id.
42037
41980
  * @summary Clone job
42038
41981
  * @param {string} jobId Job ID
42039
- * @param {CloneJobRequest} [cloneJobRequest]
41982
+ * @param {CloneServiceRequest} [cloneServiceRequest]
42040
41983
  * @param {*} [options] Override http request option.
42041
41984
  * @throws {RequiredError}
42042
41985
  * @memberof JobsApi
42043
41986
  */
42044
- public cloneJob(jobId: string, cloneJobRequest?: CloneJobRequest, options?: AxiosRequestConfig) {
42045
- return JobsApiFp(this.configuration).cloneJob(jobId, cloneJobRequest, options).then((request) => request(this.axios, this.basePath));
41987
+ public cloneJob(jobId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
41988
+ return JobsApiFp(this.configuration).cloneJob(jobId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
42046
41989
  }
42047
41990
 
42048
41991
  /**