qovery-typescript-axios 1.1.293 → 1.1.295

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,52 @@ 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)
28081
+
28082
+ return {
28083
+ url: toPathString(localVarUrlObj),
28084
+ options: localVarRequestOptions,
28085
+ };
28086
+ },
28087
+ /**
28088
+ * This will create a new helm with the same configuration on the targeted environment Id.
28089
+ * @summary Clone helm
28090
+ * @param {string} helmId Helm ID
28091
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28092
+ * @param {*} [options] Override http request option.
28093
+ * @throws {RequiredError}
28094
+ */
28095
+ cloneHelm: async (helmId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28096
+ // verify required parameter 'helmId' is not null or undefined
28097
+ assertParamExists('cloneHelm', 'helmId', helmId)
28098
+ const localVarPath = `/helm/{helmId}/clone`
28099
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
28100
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28101
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28102
+ let baseOptions;
28103
+ if (configuration) {
28104
+ baseOptions = configuration.baseOptions;
28105
+ }
28106
+
28107
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
28108
+ const localVarHeaderParameter = {} as any;
28109
+ const localVarQueryParameter = {} as any;
28110
+
28111
+ // authentication ApiKeyAuth required
28112
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
28113
+
28114
+ // authentication bearerAuth required
28115
+ // http bearer authentication required
28116
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28117
+
28118
+
28119
+
28120
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28121
+
28122
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28123
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28124
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28125
+ localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
28138
28126
 
28139
28127
  return {
28140
28128
  url: toPathString(localVarUrlObj),
@@ -28503,12 +28491,24 @@ export const ContainersApiFp = function(configuration?: Configuration) {
28503
28491
  * This will create a new container with the same configuration on the targeted environment Id.
28504
28492
  * @summary Clone container
28505
28493
  * @param {string} containerId Container ID
28506
- * @param {CloneContainerRequest} [cloneContainerRequest]
28494
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28495
+ * @param {*} [options] Override http request option.
28496
+ * @throws {RequiredError}
28497
+ */
28498
+ async cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>> {
28499
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cloneContainer(containerId, cloneServiceRequest, options);
28500
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28501
+ },
28502
+ /**
28503
+ * This will create a new helm with the same configuration on the targeted environment Id.
28504
+ * @summary Clone helm
28505
+ * @param {string} helmId Helm ID
28506
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28507
28507
  * @param {*} [options] Override http request option.
28508
28508
  * @throws {RequiredError}
28509
28509
  */
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);
28510
+ async cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>> {
28511
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
28512
28512
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28513
28513
  },
28514
28514
  /**
@@ -28626,12 +28626,23 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
28626
28626
  * This will create a new container with the same configuration on the targeted environment Id.
28627
28627
  * @summary Clone container
28628
28628
  * @param {string} containerId Container ID
28629
- * @param {CloneContainerRequest} [cloneContainerRequest]
28629
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28630
+ * @param {*} [options] Override http request option.
28631
+ * @throws {RequiredError}
28632
+ */
28633
+ cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse> {
28634
+ return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
28635
+ },
28636
+ /**
28637
+ * This will create a new helm with the same configuration on the targeted environment Id.
28638
+ * @summary Clone helm
28639
+ * @param {string} helmId Helm ID
28640
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28630
28641
  * @param {*} [options] Override http request option.
28631
28642
  * @throws {RequiredError}
28632
28643
  */
28633
- cloneContainer(containerId: string, cloneContainerRequest?: CloneContainerRequest, options?: any): AxiosPromise<ContainerResponse> {
28634
- return localVarFp.cloneContainer(containerId, cloneContainerRequest, options).then((request) => request(axios, basePath));
28644
+ cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse> {
28645
+ return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
28635
28646
  },
28636
28647
  /**
28637
28648
  *
@@ -28742,13 +28753,26 @@ export class ContainersApi extends BaseAPI {
28742
28753
  * This will create a new container with the same configuration on the targeted environment Id.
28743
28754
  * @summary Clone container
28744
28755
  * @param {string} containerId Container ID
28745
- * @param {CloneContainerRequest} [cloneContainerRequest]
28756
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28757
+ * @param {*} [options] Override http request option.
28758
+ * @throws {RequiredError}
28759
+ * @memberof ContainersApi
28760
+ */
28761
+ public cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
28762
+ return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
28763
+ }
28764
+
28765
+ /**
28766
+ * This will create a new helm with the same configuration on the targeted environment Id.
28767
+ * @summary Clone helm
28768
+ * @param {string} helmId Helm ID
28769
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28746
28770
  * @param {*} [options] Override http request option.
28747
28771
  * @throws {RequiredError}
28748
28772
  * @memberof ContainersApi
28749
28773
  */
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));
28774
+ public cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
28775
+ return ContainersApiFp(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
28752
28776
  }
28753
28777
 
28754
28778
  /**
@@ -31050,11 +31074,11 @@ export const DatabasesApiAxiosParamCreator = function (configuration?: Configura
31050
31074
  * This will create a new database with the same configuration on the targeted environment Id.
31051
31075
  * @summary Clone database
31052
31076
  * @param {string} databaseId Database ID
31053
- * @param {CloneDatabaseRequest} [cloneDatabaseRequest]
31077
+ * @param {CloneServiceRequest} [cloneServiceRequest]
31054
31078
  * @param {*} [options] Override http request option.
31055
31079
  * @throws {RequiredError}
31056
31080
  */
31057
- cloneDatabase: async (databaseId: string, cloneDatabaseRequest?: CloneDatabaseRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31081
+ cloneDatabase: async (databaseId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31058
31082
  // verify required parameter 'databaseId' is not null or undefined
31059
31083
  assertParamExists('cloneDatabase', 'databaseId', databaseId)
31060
31084
  const localVarPath = `/database/{databaseId}/clone`
@@ -31084,7 +31108,7 @@ export const DatabasesApiAxiosParamCreator = function (configuration?: Configura
31084
31108
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31085
31109
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31086
31110
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31087
- localVarRequestOptions.data = serializeDataIfNeeded(cloneDatabaseRequest, localVarRequestOptions, configuration)
31111
+ localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
31088
31112
 
31089
31113
  return {
31090
31114
  url: toPathString(localVarUrlObj),
@@ -31314,12 +31338,12 @@ export const DatabasesApiFp = function(configuration?: Configuration) {
31314
31338
  * This will create a new database with the same configuration on the targeted environment Id.
31315
31339
  * @summary Clone database
31316
31340
  * @param {string} databaseId Database ID
31317
- * @param {CloneDatabaseRequest} [cloneDatabaseRequest]
31341
+ * @param {CloneServiceRequest} [cloneServiceRequest]
31318
31342
  * @param {*} [options] Override http request option.
31319
31343
  * @throws {RequiredError}
31320
31344
  */
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);
31345
+ async cloneDatabase(databaseId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Database>> {
31346
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cloneDatabase(databaseId, cloneServiceRequest, options);
31323
31347
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31324
31348
  },
31325
31349
  /**
@@ -31392,12 +31416,12 @@ export const DatabasesApiFactory = function (configuration?: Configuration, base
31392
31416
  * This will create a new database with the same configuration on the targeted environment Id.
31393
31417
  * @summary Clone database
31394
31418
  * @param {string} databaseId Database ID
31395
- * @param {CloneDatabaseRequest} [cloneDatabaseRequest]
31419
+ * @param {CloneServiceRequest} [cloneServiceRequest]
31396
31420
  * @param {*} [options] Override http request option.
31397
31421
  * @throws {RequiredError}
31398
31422
  */
31399
- cloneDatabase(databaseId: string, cloneDatabaseRequest?: CloneDatabaseRequest, options?: any): AxiosPromise<Database> {
31400
- return localVarFp.cloneDatabase(databaseId, cloneDatabaseRequest, options).then((request) => request(axios, basePath));
31423
+ cloneDatabase(databaseId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<Database> {
31424
+ return localVarFp.cloneDatabase(databaseId, cloneServiceRequest, options).then((request) => request(axios, basePath));
31401
31425
  },
31402
31426
  /**
31403
31427
  *
@@ -31464,13 +31488,13 @@ export class DatabasesApi extends BaseAPI {
31464
31488
  * This will create a new database with the same configuration on the targeted environment Id.
31465
31489
  * @summary Clone database
31466
31490
  * @param {string} databaseId Database ID
31467
- * @param {CloneDatabaseRequest} [cloneDatabaseRequest]
31491
+ * @param {CloneServiceRequest} [cloneServiceRequest]
31468
31492
  * @param {*} [options] Override http request option.
31469
31493
  * @throws {RequiredError}
31470
31494
  * @memberof DatabasesApi
31471
31495
  */
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));
31496
+ public cloneDatabase(databaseId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
31497
+ return DatabasesApiFp(this.configuration).cloneDatabase(databaseId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
31474
31498
  }
31475
31499
 
31476
31500
  /**
@@ -32448,11 +32472,11 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
32448
32472
  * 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
32473
  * @summary Clone environment
32450
32474
  * @param {string} environmentId Environment ID
32451
- * @param {CloneRequest} [cloneRequest]
32475
+ * @param {CloneEnvironmentRequest} [cloneEnvironmentRequest]
32452
32476
  * @param {*} [options] Override http request option.
32453
32477
  * @throws {RequiredError}
32454
32478
  */
32455
- cloneEnvironment: async (environmentId: string, cloneRequest?: CloneRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32479
+ cloneEnvironment: async (environmentId: string, cloneEnvironmentRequest?: CloneEnvironmentRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32456
32480
  // verify required parameter 'environmentId' is not null or undefined
32457
32481
  assertParamExists('cloneEnvironment', 'environmentId', environmentId)
32458
32482
  const localVarPath = `/environment/{environmentId}/clone`
@@ -32482,7 +32506,7 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
32482
32506
  setSearchParams(localVarUrlObj, localVarQueryParameter);
32483
32507
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32484
32508
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32485
- localVarRequestOptions.data = serializeDataIfNeeded(cloneRequest, localVarRequestOptions, configuration)
32509
+ localVarRequestOptions.data = serializeDataIfNeeded(cloneEnvironmentRequest, localVarRequestOptions, configuration)
32486
32510
 
32487
32511
  return {
32488
32512
  url: toPathString(localVarUrlObj),
@@ -32858,12 +32882,12 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
32858
32882
  * 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
32883
  * @summary Clone environment
32860
32884
  * @param {string} environmentId Environment ID
32861
- * @param {CloneRequest} [cloneRequest]
32885
+ * @param {CloneEnvironmentRequest} [cloneEnvironmentRequest]
32862
32886
  * @param {*} [options] Override http request option.
32863
32887
  * @throws {RequiredError}
32864
32888
  */
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);
32889
+ async cloneEnvironment(environmentId: string, cloneEnvironmentRequest?: CloneEnvironmentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>> {
32890
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cloneEnvironment(environmentId, cloneEnvironmentRequest, options);
32867
32891
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32868
32892
  },
32869
32893
  /**
@@ -32982,12 +33006,12 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
32982
33006
  * 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
33007
  * @summary Clone environment
32984
33008
  * @param {string} environmentId Environment ID
32985
- * @param {CloneRequest} [cloneRequest]
33009
+ * @param {CloneEnvironmentRequest} [cloneEnvironmentRequest]
32986
33010
  * @param {*} [options] Override http request option.
32987
33011
  * @throws {RequiredError}
32988
33012
  */
32989
- cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: any): AxiosPromise<Environment> {
32990
- return localVarFp.cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(axios, basePath));
33013
+ cloneEnvironment(environmentId: string, cloneEnvironmentRequest?: CloneEnvironmentRequest, options?: any): AxiosPromise<Environment> {
33014
+ return localVarFp.cloneEnvironment(environmentId, cloneEnvironmentRequest, options).then((request) => request(axios, basePath));
32991
33015
  },
32992
33016
  /**
32993
33017
  * Delete selected services
@@ -33099,13 +33123,13 @@ export class EnvironmentActionsApi extends BaseAPI {
33099
33123
  * 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
33124
  * @summary Clone environment
33101
33125
  * @param {string} environmentId Environment ID
33102
- * @param {CloneRequest} [cloneRequest]
33126
+ * @param {CloneEnvironmentRequest} [cloneEnvironmentRequest]
33103
33127
  * @param {*} [options] Override http request option.
33104
33128
  * @throws {RequiredError}
33105
33129
  * @memberof EnvironmentActionsApi
33106
33130
  */
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));
33131
+ public cloneEnvironment(environmentId: string, cloneEnvironmentRequest?: CloneEnvironmentRequest, options?: AxiosRequestConfig) {
33132
+ return EnvironmentActionsApiFp(this.configuration).cloneEnvironment(environmentId, cloneEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
33109
33133
  }
33110
33134
 
33111
33135
  /**
@@ -41647,11 +41671,11 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
41647
41671
  * This will create a new job with the same configuration on the targeted environment Id.
41648
41672
  * @summary Clone job
41649
41673
  * @param {string} jobId Job ID
41650
- * @param {CloneJobRequest} [cloneJobRequest]
41674
+ * @param {CloneServiceRequest} [cloneServiceRequest]
41651
41675
  * @param {*} [options] Override http request option.
41652
41676
  * @throws {RequiredError}
41653
41677
  */
41654
- cloneJob: async (jobId: string, cloneJobRequest?: CloneJobRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41678
+ cloneJob: async (jobId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41655
41679
  // verify required parameter 'jobId' is not null or undefined
41656
41680
  assertParamExists('cloneJob', 'jobId', jobId)
41657
41681
  const localVarPath = `/job/{jobId}/clone`
@@ -41681,7 +41705,7 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
41681
41705
  setSearchParams(localVarUrlObj, localVarQueryParameter);
41682
41706
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41683
41707
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41684
- localVarRequestOptions.data = serializeDataIfNeeded(cloneJobRequest, localVarRequestOptions, configuration)
41708
+ localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
41685
41709
 
41686
41710
  return {
41687
41711
  url: toPathString(localVarUrlObj),
@@ -41883,12 +41907,12 @@ export const JobsApiFp = function(configuration?: Configuration) {
41883
41907
  * This will create a new job with the same configuration on the targeted environment Id.
41884
41908
  * @summary Clone job
41885
41909
  * @param {string} jobId Job ID
41886
- * @param {CloneJobRequest} [cloneJobRequest]
41910
+ * @param {CloneServiceRequest} [cloneServiceRequest]
41887
41911
  * @param {*} [options] Override http request option.
41888
41912
  * @throws {RequiredError}
41889
41913
  */
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);
41914
+ async cloneJob(jobId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResponse>> {
41915
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cloneJob(jobId, cloneServiceRequest, options);
41892
41916
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41893
41917
  },
41894
41918
  /**
@@ -41961,12 +41985,12 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
41961
41985
  * This will create a new job with the same configuration on the targeted environment Id.
41962
41986
  * @summary Clone job
41963
41987
  * @param {string} jobId Job ID
41964
- * @param {CloneJobRequest} [cloneJobRequest]
41988
+ * @param {CloneServiceRequest} [cloneServiceRequest]
41965
41989
  * @param {*} [options] Override http request option.
41966
41990
  * @throws {RequiredError}
41967
41991
  */
41968
- cloneJob(jobId: string, cloneJobRequest?: CloneJobRequest, options?: any): AxiosPromise<JobResponse> {
41969
- return localVarFp.cloneJob(jobId, cloneJobRequest, options).then((request) => request(axios, basePath));
41992
+ cloneJob(jobId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<JobResponse> {
41993
+ return localVarFp.cloneJob(jobId, cloneServiceRequest, options).then((request) => request(axios, basePath));
41970
41994
  },
41971
41995
  /**
41972
41996
  *
@@ -42036,13 +42060,13 @@ export class JobsApi extends BaseAPI {
42036
42060
  * This will create a new job with the same configuration on the targeted environment Id.
42037
42061
  * @summary Clone job
42038
42062
  * @param {string} jobId Job ID
42039
- * @param {CloneJobRequest} [cloneJobRequest]
42063
+ * @param {CloneServiceRequest} [cloneServiceRequest]
42040
42064
  * @param {*} [options] Override http request option.
42041
42065
  * @throws {RequiredError}
42042
42066
  * @memberof JobsApi
42043
42067
  */
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));
42068
+ public cloneJob(jobId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
42069
+ return JobsApiFp(this.configuration).cloneJob(jobId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
42046
42070
  }
42047
42071
 
42048
42072
  /**