qovery-typescript-axios 1.1.292 → 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 +207 -170
- package/dist/api.d.ts +184 -148
- package/dist/api.js +60 -60
- package/dist/esm/api.d.ts +184 -148
- package/dist/esm/api.js +60 -60
- package/package.json +1 -1
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
|
|
1689
|
+
* @interface CloneEnvironmentRequest
|
|
1690
1690
|
*/
|
|
1691
|
-
export interface
|
|
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
|
|
1695
|
+
* @memberof CloneEnvironmentRequest
|
|
1715
1696
|
*/
|
|
1716
1697
|
'name': string;
|
|
1717
1698
|
/**
|
|
1718
1699
|
*
|
|
1719
1700
|
* @type {string}
|
|
1720
|
-
* @memberof
|
|
1701
|
+
* @memberof CloneEnvironmentRequest
|
|
1721
1702
|
*/
|
|
1722
|
-
'
|
|
1723
|
-
}
|
|
1724
|
-
/**
|
|
1725
|
-
*
|
|
1726
|
-
* @export
|
|
1727
|
-
* @interface CloneDatabaseRequest
|
|
1728
|
-
*/
|
|
1729
|
-
export interface CloneDatabaseRequest {
|
|
1703
|
+
'cluster_id'?: string;
|
|
1730
1704
|
/**
|
|
1731
1705
|
*
|
|
1732
|
-
* @type {
|
|
1733
|
-
* @memberof
|
|
1706
|
+
* @type {EnvironmentModeEnum}
|
|
1707
|
+
* @memberof CloneEnvironmentRequest
|
|
1734
1708
|
*/
|
|
1735
|
-
'
|
|
1709
|
+
'mode'?: EnvironmentModeEnum;
|
|
1736
1710
|
/**
|
|
1737
1711
|
*
|
|
1738
|
-
* @type {
|
|
1739
|
-
* @memberof
|
|
1712
|
+
* @type {boolean}
|
|
1713
|
+
* @memberof CloneEnvironmentRequest
|
|
1740
1714
|
*/
|
|
1741
|
-
'
|
|
1715
|
+
'apply_deployment_rule'?: boolean;
|
|
1742
1716
|
}
|
|
1717
|
+
|
|
1718
|
+
|
|
1743
1719
|
/**
|
|
1744
1720
|
*
|
|
1745
1721
|
* @export
|
|
1746
|
-
* @interface
|
|
1722
|
+
* @interface CloneServiceRequest
|
|
1747
1723
|
*/
|
|
1748
|
-
export interface
|
|
1724
|
+
export interface CloneServiceRequest {
|
|
1749
1725
|
/**
|
|
1750
1726
|
*
|
|
1751
1727
|
* @type {string}
|
|
1752
|
-
* @memberof
|
|
1728
|
+
* @memberof CloneServiceRequest
|
|
1753
1729
|
*/
|
|
1754
1730
|
'name': string;
|
|
1755
1731
|
/**
|
|
1756
1732
|
*
|
|
1757
1733
|
* @type {string}
|
|
1758
|
-
* @memberof
|
|
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
|
|
@@ -8298,47 +8241,60 @@ export interface HelmRequest {
|
|
|
8298
8241
|
*/
|
|
8299
8242
|
'values_override': HelmRequestAllOfValuesOverride;
|
|
8300
8243
|
}
|
|
8244
|
+
/**
|
|
8245
|
+
* @type HelmRequestAllOfSource
|
|
8246
|
+
* @export
|
|
8247
|
+
*/
|
|
8248
|
+
export type HelmRequestAllOfSource = HelmRequestAllOfSourceOneOf | HelmRequestAllOfSourceOneOf1;
|
|
8249
|
+
|
|
8301
8250
|
/**
|
|
8302
8251
|
*
|
|
8303
8252
|
* @export
|
|
8304
|
-
* @interface
|
|
8253
|
+
* @interface HelmRequestAllOfSourceOneOf
|
|
8305
8254
|
*/
|
|
8306
|
-
export interface
|
|
8255
|
+
export interface HelmRequestAllOfSourceOneOf {
|
|
8307
8256
|
/**
|
|
8308
8257
|
*
|
|
8309
8258
|
* @type {HelmGitRepositoryRequest}
|
|
8310
|
-
* @memberof
|
|
8259
|
+
* @memberof HelmRequestAllOfSourceOneOf
|
|
8311
8260
|
*/
|
|
8312
|
-
'git_repository'?: HelmGitRepositoryRequest
|
|
8261
|
+
'git_repository'?: HelmGitRepositoryRequest;
|
|
8262
|
+
}
|
|
8263
|
+
/**
|
|
8264
|
+
*
|
|
8265
|
+
* @export
|
|
8266
|
+
* @interface HelmRequestAllOfSourceOneOf1
|
|
8267
|
+
*/
|
|
8268
|
+
export interface HelmRequestAllOfSourceOneOf1 {
|
|
8313
8269
|
/**
|
|
8314
8270
|
*
|
|
8315
|
-
* @type {
|
|
8316
|
-
* @memberof
|
|
8271
|
+
* @type {HelmRequestAllOfSourceOneOf1HelmRepository}
|
|
8272
|
+
* @memberof HelmRequestAllOfSourceOneOf1
|
|
8317
8273
|
*/
|
|
8318
|
-
'helm_repository'?:
|
|
8274
|
+
'helm_repository'?: HelmRequestAllOfSourceOneOf1HelmRepository;
|
|
8319
8275
|
}
|
|
8320
8276
|
/**
|
|
8321
8277
|
*
|
|
8322
8278
|
* @export
|
|
8323
|
-
* @interface
|
|
8279
|
+
* @interface HelmRequestAllOfSourceOneOf1HelmRepository
|
|
8324
8280
|
*/
|
|
8325
|
-
export interface
|
|
8281
|
+
export interface HelmRequestAllOfSourceOneOf1HelmRepository {
|
|
8326
8282
|
/**
|
|
8327
8283
|
* The id of the helm repository
|
|
8328
8284
|
* @type {string}
|
|
8329
|
-
* @memberof
|
|
8285
|
+
* @memberof HelmRequestAllOfSourceOneOf1HelmRepository
|
|
8330
8286
|
*/
|
|
8331
8287
|
'repository'?: string | null;
|
|
8332
8288
|
/**
|
|
8333
8289
|
* The name of the chart in the repository
|
|
8334
8290
|
* @type {string}
|
|
8335
|
-
* @memberof
|
|
8291
|
+
* @memberof HelmRequestAllOfSourceOneOf1HelmRepository
|
|
8336
8292
|
*/
|
|
8337
8293
|
'chart_name'?: string;
|
|
8338
8294
|
/**
|
|
8339
8295
|
* The version of the chart to use
|
|
8340
8296
|
* @type {string}
|
|
8341
|
-
* @memberof
|
|
8297
|
+
* @memberof HelmRequestAllOfSourceOneOf1HelmRepository
|
|
8342
8298
|
*/
|
|
8343
8299
|
'chart_version'?: string;
|
|
8344
8300
|
}
|
|
@@ -8387,29 +8343,10 @@ export interface HelmRequestAllOfValuesOverrideFile {
|
|
|
8387
8343
|
'raw'?: HelmRequestAllOfValuesOverrideFileRaw | null;
|
|
8388
8344
|
/**
|
|
8389
8345
|
*
|
|
8390
|
-
* @type {
|
|
8346
|
+
* @type {HelmValuesGitRepositoryRequest}
|
|
8391
8347
|
* @memberof HelmRequestAllOfValuesOverrideFile
|
|
8392
8348
|
*/
|
|
8393
|
-
'
|
|
8394
|
-
}
|
|
8395
|
-
/**
|
|
8396
|
-
*
|
|
8397
|
-
* @export
|
|
8398
|
-
* @interface HelmRequestAllOfValuesOverrideFileGit
|
|
8399
|
-
*/
|
|
8400
|
-
export interface HelmRequestAllOfValuesOverrideFileGit {
|
|
8401
|
-
/**
|
|
8402
|
-
*
|
|
8403
|
-
* @type {ApplicationGitRepositoryRequest}
|
|
8404
|
-
* @memberof HelmRequestAllOfValuesOverrideFileGit
|
|
8405
|
-
*/
|
|
8406
|
-
'git_repository'?: ApplicationGitRepositoryRequest;
|
|
8407
|
-
/**
|
|
8408
|
-
* List of path inside your git repository to locate values file. Must start by a /
|
|
8409
|
-
* @type {Array<string>}
|
|
8410
|
-
* @memberof HelmRequestAllOfValuesOverrideFileGit
|
|
8411
|
-
*/
|
|
8412
|
-
'paths'?: Array<string>;
|
|
8349
|
+
'git_repository'?: HelmValuesGitRepositoryRequest;
|
|
8413
8350
|
}
|
|
8414
8351
|
/**
|
|
8415
8352
|
*
|
|
@@ -8523,10 +8460,10 @@ export interface HelmResponse {
|
|
|
8523
8460
|
'allow_cluster_wide_resources': boolean;
|
|
8524
8461
|
/**
|
|
8525
8462
|
*
|
|
8526
|
-
* @type {
|
|
8463
|
+
* @type {HelmResponseAllOfValuesOverride}
|
|
8527
8464
|
* @memberof HelmResponse
|
|
8528
8465
|
*/
|
|
8529
|
-
'values_override':
|
|
8466
|
+
'values_override': HelmResponseAllOfValuesOverride;
|
|
8530
8467
|
}
|
|
8531
8468
|
/**
|
|
8532
8469
|
*
|
|
@@ -8674,6 +8611,75 @@ export interface HelmResponseAllOfSourceOneOfGit {
|
|
|
8674
8611
|
*/
|
|
8675
8612
|
'git_repository'?: ApplicationGitRepositoryRequest;
|
|
8676
8613
|
}
|
|
8614
|
+
/**
|
|
8615
|
+
* Specify helm values you want to set or override
|
|
8616
|
+
* @export
|
|
8617
|
+
* @interface HelmResponseAllOfValuesOverride
|
|
8618
|
+
*/
|
|
8619
|
+
export interface HelmResponseAllOfValuesOverride {
|
|
8620
|
+
/**
|
|
8621
|
+
*
|
|
8622
|
+
* @type {Array<Array<string>>}
|
|
8623
|
+
* @memberof HelmResponseAllOfValuesOverride
|
|
8624
|
+
*/
|
|
8625
|
+
'set'?: Array<Array<string>>;
|
|
8626
|
+
/**
|
|
8627
|
+
*
|
|
8628
|
+
* @type {Array<Array<string>>}
|
|
8629
|
+
* @memberof HelmResponseAllOfValuesOverride
|
|
8630
|
+
*/
|
|
8631
|
+
'set_string'?: Array<Array<string>>;
|
|
8632
|
+
/**
|
|
8633
|
+
*
|
|
8634
|
+
* @type {Array<Array<string>>}
|
|
8635
|
+
* @memberof HelmResponseAllOfValuesOverride
|
|
8636
|
+
*/
|
|
8637
|
+
'set_json'?: Array<Array<string>>;
|
|
8638
|
+
/**
|
|
8639
|
+
*
|
|
8640
|
+
* @type {HelmResponseAllOfValuesOverrideFile}
|
|
8641
|
+
* @memberof HelmResponseAllOfValuesOverride
|
|
8642
|
+
*/
|
|
8643
|
+
'file'?: HelmResponseAllOfValuesOverrideFile | null;
|
|
8644
|
+
}
|
|
8645
|
+
/**
|
|
8646
|
+
*
|
|
8647
|
+
* @export
|
|
8648
|
+
* @interface HelmResponseAllOfValuesOverrideFile
|
|
8649
|
+
*/
|
|
8650
|
+
export interface HelmResponseAllOfValuesOverrideFile {
|
|
8651
|
+
/**
|
|
8652
|
+
*
|
|
8653
|
+
* @type {HelmRequestAllOfValuesOverrideFileRaw}
|
|
8654
|
+
* @memberof HelmResponseAllOfValuesOverrideFile
|
|
8655
|
+
*/
|
|
8656
|
+
'raw'?: HelmRequestAllOfValuesOverrideFileRaw | null;
|
|
8657
|
+
/**
|
|
8658
|
+
*
|
|
8659
|
+
* @type {HelmResponseAllOfValuesOverrideFileGit}
|
|
8660
|
+
* @memberof HelmResponseAllOfValuesOverrideFile
|
|
8661
|
+
*/
|
|
8662
|
+
'git'?: HelmResponseAllOfValuesOverrideFileGit | null;
|
|
8663
|
+
}
|
|
8664
|
+
/**
|
|
8665
|
+
*
|
|
8666
|
+
* @export
|
|
8667
|
+
* @interface HelmResponseAllOfValuesOverrideFileGit
|
|
8668
|
+
*/
|
|
8669
|
+
export interface HelmResponseAllOfValuesOverrideFileGit {
|
|
8670
|
+
/**
|
|
8671
|
+
*
|
|
8672
|
+
* @type {ApplicationGitRepositoryRequest}
|
|
8673
|
+
* @memberof HelmResponseAllOfValuesOverrideFileGit
|
|
8674
|
+
*/
|
|
8675
|
+
'git_repository'?: ApplicationGitRepositoryRequest;
|
|
8676
|
+
/**
|
|
8677
|
+
* List of path inside your git repository to locate values file. Must start by a /
|
|
8678
|
+
* @type {Array<string>}
|
|
8679
|
+
* @memberof HelmResponseAllOfValuesOverrideFileGit
|
|
8680
|
+
*/
|
|
8681
|
+
'paths'?: Array<string>;
|
|
8682
|
+
}
|
|
8677
8683
|
/**
|
|
8678
8684
|
*
|
|
8679
8685
|
* @export
|
|
@@ -8687,6 +8693,37 @@ export interface HelmResponseList {
|
|
|
8687
8693
|
*/
|
|
8688
8694
|
'results'?: Array<HelmResponse>;
|
|
8689
8695
|
}
|
|
8696
|
+
/**
|
|
8697
|
+
*
|
|
8698
|
+
* @export
|
|
8699
|
+
* @interface HelmValuesGitRepositoryRequest
|
|
8700
|
+
*/
|
|
8701
|
+
export interface HelmValuesGitRepositoryRequest {
|
|
8702
|
+
/**
|
|
8703
|
+
* application git repository URL
|
|
8704
|
+
* @type {string}
|
|
8705
|
+
* @memberof HelmValuesGitRepositoryRequest
|
|
8706
|
+
*/
|
|
8707
|
+
'url': string;
|
|
8708
|
+
/**
|
|
8709
|
+
* Name of the branch to use. This is optional If not specified, then the branch used is the `main` or `master` one
|
|
8710
|
+
* @type {string}
|
|
8711
|
+
* @memberof HelmValuesGitRepositoryRequest
|
|
8712
|
+
*/
|
|
8713
|
+
'branch': string;
|
|
8714
|
+
/**
|
|
8715
|
+
* List of path inside your git repository to locate values file. Must start by a /
|
|
8716
|
+
* @type {Array<string>}
|
|
8717
|
+
* @memberof HelmValuesGitRepositoryRequest
|
|
8718
|
+
*/
|
|
8719
|
+
'paths': Array<string>;
|
|
8720
|
+
/**
|
|
8721
|
+
* The git token id on Qovery side
|
|
8722
|
+
* @type {string}
|
|
8723
|
+
* @memberof HelmValuesGitRepositoryRequest
|
|
8724
|
+
*/
|
|
8725
|
+
'git_token_id'?: string | null;
|
|
8726
|
+
}
|
|
8690
8727
|
/**
|
|
8691
8728
|
*
|
|
8692
8729
|
* @export
|
|
@@ -18077,11 +18114,11 @@ export const ApplicationsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18077
18114
|
* This will create a new application with the same configuration on the targeted environment Id.
|
|
18078
18115
|
* @summary Clone application
|
|
18079
18116
|
* @param {string} applicationId Application ID
|
|
18080
|
-
* @param {
|
|
18117
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
18081
18118
|
* @param {*} [options] Override http request option.
|
|
18082
18119
|
* @throws {RequiredError}
|
|
18083
18120
|
*/
|
|
18084
|
-
cloneApplication: async (applicationId: string,
|
|
18121
|
+
cloneApplication: async (applicationId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18085
18122
|
// verify required parameter 'applicationId' is not null or undefined
|
|
18086
18123
|
assertParamExists('cloneApplication', 'applicationId', applicationId)
|
|
18087
18124
|
const localVarPath = `/application/{applicationId}/clone`
|
|
@@ -18111,7 +18148,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18111
18148
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18112
18149
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18113
18150
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18114
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
18151
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
|
|
18115
18152
|
|
|
18116
18153
|
return {
|
|
18117
18154
|
url: toPathString(localVarUrlObj),
|
|
@@ -18419,12 +18456,12 @@ export const ApplicationsApiFp = function(configuration?: Configuration) {
|
|
|
18419
18456
|
* This will create a new application with the same configuration on the targeted environment Id.
|
|
18420
18457
|
* @summary Clone application
|
|
18421
18458
|
* @param {string} applicationId Application ID
|
|
18422
|
-
* @param {
|
|
18459
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
18423
18460
|
* @param {*} [options] Override http request option.
|
|
18424
18461
|
* @throws {RequiredError}
|
|
18425
18462
|
*/
|
|
18426
|
-
async cloneApplication(applicationId: string,
|
|
18427
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneApplication(applicationId,
|
|
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);
|
|
18428
18465
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18429
18466
|
},
|
|
18430
18467
|
/**
|
|
@@ -18518,12 +18555,12 @@ export const ApplicationsApiFactory = function (configuration?: Configuration, b
|
|
|
18518
18555
|
* This will create a new application with the same configuration on the targeted environment Id.
|
|
18519
18556
|
* @summary Clone application
|
|
18520
18557
|
* @param {string} applicationId Application ID
|
|
18521
|
-
* @param {
|
|
18558
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
18522
18559
|
* @param {*} [options] Override http request option.
|
|
18523
18560
|
* @throws {RequiredError}
|
|
18524
18561
|
*/
|
|
18525
|
-
cloneApplication(applicationId: string,
|
|
18526
|
-
return localVarFp.cloneApplication(applicationId,
|
|
18562
|
+
cloneApplication(applicationId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<Application> {
|
|
18563
|
+
return localVarFp.cloneApplication(applicationId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
18527
18564
|
},
|
|
18528
18565
|
/**
|
|
18529
18566
|
*
|
|
@@ -18609,13 +18646,13 @@ export class ApplicationsApi extends BaseAPI {
|
|
|
18609
18646
|
* This will create a new application with the same configuration on the targeted environment Id.
|
|
18610
18647
|
* @summary Clone application
|
|
18611
18648
|
* @param {string} applicationId Application ID
|
|
18612
|
-
* @param {
|
|
18649
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
18613
18650
|
* @param {*} [options] Override http request option.
|
|
18614
18651
|
* @throws {RequiredError}
|
|
18615
18652
|
* @memberof ApplicationsApi
|
|
18616
18653
|
*/
|
|
18617
|
-
public cloneApplication(applicationId: string,
|
|
18618
|
-
return ApplicationsApiFp(this.configuration).cloneApplication(applicationId,
|
|
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));
|
|
18619
18656
|
}
|
|
18620
18657
|
|
|
18621
18658
|
/**
|
|
@@ -28006,11 +28043,11 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
28006
28043
|
* This will create a new container with the same configuration on the targeted environment Id.
|
|
28007
28044
|
* @summary Clone container
|
|
28008
28045
|
* @param {string} containerId Container ID
|
|
28009
|
-
* @param {
|
|
28046
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
28010
28047
|
* @param {*} [options] Override http request option.
|
|
28011
28048
|
* @throws {RequiredError}
|
|
28012
28049
|
*/
|
|
28013
|
-
cloneContainer: async (containerId: string,
|
|
28050
|
+
cloneContainer: async (containerId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28014
28051
|
// verify required parameter 'containerId' is not null or undefined
|
|
28015
28052
|
assertParamExists('cloneContainer', 'containerId', containerId)
|
|
28016
28053
|
const localVarPath = `/container/{containerId}/clone`
|
|
@@ -28040,7 +28077,7 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
28040
28077
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28041
28078
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28042
28079
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28043
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
28080
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
|
|
28044
28081
|
|
|
28045
28082
|
return {
|
|
28046
28083
|
url: toPathString(localVarUrlObj),
|
|
@@ -28409,12 +28446,12 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
28409
28446
|
* This will create a new container with the same configuration on the targeted environment Id.
|
|
28410
28447
|
* @summary Clone container
|
|
28411
28448
|
* @param {string} containerId Container ID
|
|
28412
|
-
* @param {
|
|
28449
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
28413
28450
|
* @param {*} [options] Override http request option.
|
|
28414
28451
|
* @throws {RequiredError}
|
|
28415
28452
|
*/
|
|
28416
|
-
async cloneContainer(containerId: string,
|
|
28417
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneContainer(containerId,
|
|
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);
|
|
28418
28455
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28419
28456
|
},
|
|
28420
28457
|
/**
|
|
@@ -28532,12 +28569,12 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
28532
28569
|
* This will create a new container with the same configuration on the targeted environment Id.
|
|
28533
28570
|
* @summary Clone container
|
|
28534
28571
|
* @param {string} containerId Container ID
|
|
28535
|
-
* @param {
|
|
28572
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
28536
28573
|
* @param {*} [options] Override http request option.
|
|
28537
28574
|
* @throws {RequiredError}
|
|
28538
28575
|
*/
|
|
28539
|
-
cloneContainer(containerId: string,
|
|
28540
|
-
return localVarFp.cloneContainer(containerId,
|
|
28576
|
+
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse> {
|
|
28577
|
+
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
28541
28578
|
},
|
|
28542
28579
|
/**
|
|
28543
28580
|
*
|
|
@@ -28648,13 +28685,13 @@ export class ContainersApi extends BaseAPI {
|
|
|
28648
28685
|
* This will create a new container with the same configuration on the targeted environment Id.
|
|
28649
28686
|
* @summary Clone container
|
|
28650
28687
|
* @param {string} containerId Container ID
|
|
28651
|
-
* @param {
|
|
28688
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
28652
28689
|
* @param {*} [options] Override http request option.
|
|
28653
28690
|
* @throws {RequiredError}
|
|
28654
28691
|
* @memberof ContainersApi
|
|
28655
28692
|
*/
|
|
28656
|
-
public cloneContainer(containerId: string,
|
|
28657
|
-
return ContainersApiFp(this.configuration).cloneContainer(containerId,
|
|
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));
|
|
28658
28695
|
}
|
|
28659
28696
|
|
|
28660
28697
|
/**
|
|
@@ -30956,11 +30993,11 @@ export const DatabasesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30956
30993
|
* This will create a new database with the same configuration on the targeted environment Id.
|
|
30957
30994
|
* @summary Clone database
|
|
30958
30995
|
* @param {string} databaseId Database ID
|
|
30959
|
-
* @param {
|
|
30996
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
30960
30997
|
* @param {*} [options] Override http request option.
|
|
30961
30998
|
* @throws {RequiredError}
|
|
30962
30999
|
*/
|
|
30963
|
-
cloneDatabase: async (databaseId: string,
|
|
31000
|
+
cloneDatabase: async (databaseId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30964
31001
|
// verify required parameter 'databaseId' is not null or undefined
|
|
30965
31002
|
assertParamExists('cloneDatabase', 'databaseId', databaseId)
|
|
30966
31003
|
const localVarPath = `/database/{databaseId}/clone`
|
|
@@ -30990,7 +31027,7 @@ export const DatabasesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30990
31027
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30991
31028
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30992
31029
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30993
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
31030
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
|
|
30994
31031
|
|
|
30995
31032
|
return {
|
|
30996
31033
|
url: toPathString(localVarUrlObj),
|
|
@@ -31220,12 +31257,12 @@ export const DatabasesApiFp = function(configuration?: Configuration) {
|
|
|
31220
31257
|
* This will create a new database with the same configuration on the targeted environment Id.
|
|
31221
31258
|
* @summary Clone database
|
|
31222
31259
|
* @param {string} databaseId Database ID
|
|
31223
|
-
* @param {
|
|
31260
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
31224
31261
|
* @param {*} [options] Override http request option.
|
|
31225
31262
|
* @throws {RequiredError}
|
|
31226
31263
|
*/
|
|
31227
|
-
async cloneDatabase(databaseId: string,
|
|
31228
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneDatabase(databaseId,
|
|
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);
|
|
31229
31266
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31230
31267
|
},
|
|
31231
31268
|
/**
|
|
@@ -31298,12 +31335,12 @@ export const DatabasesApiFactory = function (configuration?: Configuration, base
|
|
|
31298
31335
|
* This will create a new database with the same configuration on the targeted environment Id.
|
|
31299
31336
|
* @summary Clone database
|
|
31300
31337
|
* @param {string} databaseId Database ID
|
|
31301
|
-
* @param {
|
|
31338
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
31302
31339
|
* @param {*} [options] Override http request option.
|
|
31303
31340
|
* @throws {RequiredError}
|
|
31304
31341
|
*/
|
|
31305
|
-
cloneDatabase(databaseId: string,
|
|
31306
|
-
return localVarFp.cloneDatabase(databaseId,
|
|
31342
|
+
cloneDatabase(databaseId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<Database> {
|
|
31343
|
+
return localVarFp.cloneDatabase(databaseId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
31307
31344
|
},
|
|
31308
31345
|
/**
|
|
31309
31346
|
*
|
|
@@ -31370,13 +31407,13 @@ export class DatabasesApi extends BaseAPI {
|
|
|
31370
31407
|
* This will create a new database with the same configuration on the targeted environment Id.
|
|
31371
31408
|
* @summary Clone database
|
|
31372
31409
|
* @param {string} databaseId Database ID
|
|
31373
|
-
* @param {
|
|
31410
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
31374
31411
|
* @param {*} [options] Override http request option.
|
|
31375
31412
|
* @throws {RequiredError}
|
|
31376
31413
|
* @memberof DatabasesApi
|
|
31377
31414
|
*/
|
|
31378
|
-
public cloneDatabase(databaseId: string,
|
|
31379
|
-
return DatabasesApiFp(this.configuration).cloneDatabase(databaseId,
|
|
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));
|
|
31380
31417
|
}
|
|
31381
31418
|
|
|
31382
31419
|
/**
|
|
@@ -32354,11 +32391,11 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
32354
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.
|
|
32355
32392
|
* @summary Clone environment
|
|
32356
32393
|
* @param {string} environmentId Environment ID
|
|
32357
|
-
* @param {
|
|
32394
|
+
* @param {CloneEnvironmentRequest} [cloneEnvironmentRequest]
|
|
32358
32395
|
* @param {*} [options] Override http request option.
|
|
32359
32396
|
* @throws {RequiredError}
|
|
32360
32397
|
*/
|
|
32361
|
-
cloneEnvironment: async (environmentId: string,
|
|
32398
|
+
cloneEnvironment: async (environmentId: string, cloneEnvironmentRequest?: CloneEnvironmentRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32362
32399
|
// verify required parameter 'environmentId' is not null or undefined
|
|
32363
32400
|
assertParamExists('cloneEnvironment', 'environmentId', environmentId)
|
|
32364
32401
|
const localVarPath = `/environment/{environmentId}/clone`
|
|
@@ -32388,7 +32425,7 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
32388
32425
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32389
32426
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32390
32427
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32391
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32428
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneEnvironmentRequest, localVarRequestOptions, configuration)
|
|
32392
32429
|
|
|
32393
32430
|
return {
|
|
32394
32431
|
url: toPathString(localVarUrlObj),
|
|
@@ -32764,12 +32801,12 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
|
|
|
32764
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.
|
|
32765
32802
|
* @summary Clone environment
|
|
32766
32803
|
* @param {string} environmentId Environment ID
|
|
32767
|
-
* @param {
|
|
32804
|
+
* @param {CloneEnvironmentRequest} [cloneEnvironmentRequest]
|
|
32768
32805
|
* @param {*} [options] Override http request option.
|
|
32769
32806
|
* @throws {RequiredError}
|
|
32770
32807
|
*/
|
|
32771
|
-
async cloneEnvironment(environmentId: string,
|
|
32772
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneEnvironment(environmentId,
|
|
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);
|
|
32773
32810
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32774
32811
|
},
|
|
32775
32812
|
/**
|
|
@@ -32888,12 +32925,12 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
|
|
|
32888
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.
|
|
32889
32926
|
* @summary Clone environment
|
|
32890
32927
|
* @param {string} environmentId Environment ID
|
|
32891
|
-
* @param {
|
|
32928
|
+
* @param {CloneEnvironmentRequest} [cloneEnvironmentRequest]
|
|
32892
32929
|
* @param {*} [options] Override http request option.
|
|
32893
32930
|
* @throws {RequiredError}
|
|
32894
32931
|
*/
|
|
32895
|
-
cloneEnvironment(environmentId: string,
|
|
32896
|
-
return localVarFp.cloneEnvironment(environmentId,
|
|
32932
|
+
cloneEnvironment(environmentId: string, cloneEnvironmentRequest?: CloneEnvironmentRequest, options?: any): AxiosPromise<Environment> {
|
|
32933
|
+
return localVarFp.cloneEnvironment(environmentId, cloneEnvironmentRequest, options).then((request) => request(axios, basePath));
|
|
32897
32934
|
},
|
|
32898
32935
|
/**
|
|
32899
32936
|
* Delete selected services
|
|
@@ -33005,13 +33042,13 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
33005
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.
|
|
33006
33043
|
* @summary Clone environment
|
|
33007
33044
|
* @param {string} environmentId Environment ID
|
|
33008
|
-
* @param {
|
|
33045
|
+
* @param {CloneEnvironmentRequest} [cloneEnvironmentRequest]
|
|
33009
33046
|
* @param {*} [options] Override http request option.
|
|
33010
33047
|
* @throws {RequiredError}
|
|
33011
33048
|
* @memberof EnvironmentActionsApi
|
|
33012
33049
|
*/
|
|
33013
|
-
public cloneEnvironment(environmentId: string,
|
|
33014
|
-
return EnvironmentActionsApiFp(this.configuration).cloneEnvironment(environmentId,
|
|
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));
|
|
33015
33052
|
}
|
|
33016
33053
|
|
|
33017
33054
|
/**
|
|
@@ -41553,11 +41590,11 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
41553
41590
|
* This will create a new job with the same configuration on the targeted environment Id.
|
|
41554
41591
|
* @summary Clone job
|
|
41555
41592
|
* @param {string} jobId Job ID
|
|
41556
|
-
* @param {
|
|
41593
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
41557
41594
|
* @param {*} [options] Override http request option.
|
|
41558
41595
|
* @throws {RequiredError}
|
|
41559
41596
|
*/
|
|
41560
|
-
cloneJob: async (jobId: string,
|
|
41597
|
+
cloneJob: async (jobId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41561
41598
|
// verify required parameter 'jobId' is not null or undefined
|
|
41562
41599
|
assertParamExists('cloneJob', 'jobId', jobId)
|
|
41563
41600
|
const localVarPath = `/job/{jobId}/clone`
|
|
@@ -41587,7 +41624,7 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
41587
41624
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41588
41625
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41589
41626
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41590
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
41627
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
|
|
41591
41628
|
|
|
41592
41629
|
return {
|
|
41593
41630
|
url: toPathString(localVarUrlObj),
|
|
@@ -41789,12 +41826,12 @@ export const JobsApiFp = function(configuration?: Configuration) {
|
|
|
41789
41826
|
* This will create a new job with the same configuration on the targeted environment Id.
|
|
41790
41827
|
* @summary Clone job
|
|
41791
41828
|
* @param {string} jobId Job ID
|
|
41792
|
-
* @param {
|
|
41829
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
41793
41830
|
* @param {*} [options] Override http request option.
|
|
41794
41831
|
* @throws {RequiredError}
|
|
41795
41832
|
*/
|
|
41796
|
-
async cloneJob(jobId: string,
|
|
41797
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneJob(jobId,
|
|
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);
|
|
41798
41835
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41799
41836
|
},
|
|
41800
41837
|
/**
|
|
@@ -41867,12 +41904,12 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
41867
41904
|
* This will create a new job with the same configuration on the targeted environment Id.
|
|
41868
41905
|
* @summary Clone job
|
|
41869
41906
|
* @param {string} jobId Job ID
|
|
41870
|
-
* @param {
|
|
41907
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
41871
41908
|
* @param {*} [options] Override http request option.
|
|
41872
41909
|
* @throws {RequiredError}
|
|
41873
41910
|
*/
|
|
41874
|
-
cloneJob(jobId: string,
|
|
41875
|
-
return localVarFp.cloneJob(jobId,
|
|
41911
|
+
cloneJob(jobId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<JobResponse> {
|
|
41912
|
+
return localVarFp.cloneJob(jobId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
41876
41913
|
},
|
|
41877
41914
|
/**
|
|
41878
41915
|
*
|
|
@@ -41942,13 +41979,13 @@ export class JobsApi extends BaseAPI {
|
|
|
41942
41979
|
* This will create a new job with the same configuration on the targeted environment Id.
|
|
41943
41980
|
* @summary Clone job
|
|
41944
41981
|
* @param {string} jobId Job ID
|
|
41945
|
-
* @param {
|
|
41982
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
41946
41983
|
* @param {*} [options] Override http request option.
|
|
41947
41984
|
* @throws {RequiredError}
|
|
41948
41985
|
* @memberof JobsApi
|
|
41949
41986
|
*/
|
|
41950
|
-
public cloneJob(jobId: string,
|
|
41951
|
-
return JobsApiFp(this.configuration).cloneJob(jobId,
|
|
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));
|
|
41952
41989
|
}
|
|
41953
41990
|
|
|
41954
41991
|
/**
|