qovery-typescript-axios 1.1.294 → 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 +81 -0
- package/dist/api.d.ts +37 -0
- package/dist/api.js +74 -0
- package/dist/esm/api.d.ts +37 -0
- package/dist/esm/api.js +74 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -28072,6 +28072,51 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
28072
28072
|
|
|
28073
28073
|
|
|
28074
28074
|
|
|
28075
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28076
|
+
|
|
28077
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28078
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28079
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
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
|
+
|
|
28075
28120
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28076
28121
|
|
|
28077
28122
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -28454,6 +28499,18 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
28454
28499
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneContainer(containerId, cloneServiceRequest, options);
|
|
28455
28500
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28456
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
|
+
* @param {*} [options] Override http request option.
|
|
28508
|
+
* @throws {RequiredError}
|
|
28509
|
+
*/
|
|
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
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28513
|
+
},
|
|
28457
28514
|
/**
|
|
28458
28515
|
*
|
|
28459
28516
|
* @summary Create a container
|
|
@@ -28576,6 +28633,17 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
28576
28633
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse> {
|
|
28577
28634
|
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
28578
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]
|
|
28641
|
+
* @param {*} [options] Override http request option.
|
|
28642
|
+
* @throws {RequiredError}
|
|
28643
|
+
*/
|
|
28644
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse> {
|
|
28645
|
+
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
28646
|
+
},
|
|
28579
28647
|
/**
|
|
28580
28648
|
*
|
|
28581
28649
|
* @summary Create a container
|
|
@@ -28694,6 +28762,19 @@ export class ContainersApi extends BaseAPI {
|
|
|
28694
28762
|
return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
28695
28763
|
}
|
|
28696
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]
|
|
28770
|
+
* @param {*} [options] Override http request option.
|
|
28771
|
+
* @throws {RequiredError}
|
|
28772
|
+
* @memberof ContainersApi
|
|
28773
|
+
*/
|
|
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));
|
|
28776
|
+
}
|
|
28777
|
+
|
|
28697
28778
|
/**
|
|
28698
28779
|
*
|
|
28699
28780
|
* @summary Create a container
|
package/dist/api.d.ts
CHANGED
|
@@ -20215,6 +20215,15 @@ export declare const ContainersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
20215
20215
|
* @throws {RequiredError}
|
|
20216
20216
|
*/
|
|
20217
20217
|
cloneContainer: (containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20218
|
+
/**
|
|
20219
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20220
|
+
* @summary Clone helm
|
|
20221
|
+
* @param {string} helmId Helm ID
|
|
20222
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20223
|
+
* @param {*} [options] Override http request option.
|
|
20224
|
+
* @throws {RequiredError}
|
|
20225
|
+
*/
|
|
20226
|
+
cloneHelm: (helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20218
20227
|
/**
|
|
20219
20228
|
*
|
|
20220
20229
|
* @summary Create a container
|
|
@@ -20305,6 +20314,15 @@ export declare const ContainersApiFp: (configuration?: Configuration) => {
|
|
|
20305
20314
|
* @throws {RequiredError}
|
|
20306
20315
|
*/
|
|
20307
20316
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>>;
|
|
20317
|
+
/**
|
|
20318
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20319
|
+
* @summary Clone helm
|
|
20320
|
+
* @param {string} helmId Helm ID
|
|
20321
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20322
|
+
* @param {*} [options] Override http request option.
|
|
20323
|
+
* @throws {RequiredError}
|
|
20324
|
+
*/
|
|
20325
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
20308
20326
|
/**
|
|
20309
20327
|
*
|
|
20310
20328
|
* @summary Create a container
|
|
@@ -20395,6 +20413,15 @@ export declare const ContainersApiFactory: (configuration?: Configuration, baseP
|
|
|
20395
20413
|
* @throws {RequiredError}
|
|
20396
20414
|
*/
|
|
20397
20415
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse>;
|
|
20416
|
+
/**
|
|
20417
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20418
|
+
* @summary Clone helm
|
|
20419
|
+
* @param {string} helmId Helm ID
|
|
20420
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20421
|
+
* @param {*} [options] Override http request option.
|
|
20422
|
+
* @throws {RequiredError}
|
|
20423
|
+
*/
|
|
20424
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
20398
20425
|
/**
|
|
20399
20426
|
*
|
|
20400
20427
|
* @summary Create a container
|
|
@@ -20489,6 +20516,16 @@ export declare class ContainersApi extends BaseAPI {
|
|
|
20489
20516
|
* @memberof ContainersApi
|
|
20490
20517
|
*/
|
|
20491
20518
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerResponse, any>>;
|
|
20519
|
+
/**
|
|
20520
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20521
|
+
* @summary Clone helm
|
|
20522
|
+
* @param {string} helmId Helm ID
|
|
20523
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20524
|
+
* @param {*} [options] Override http request option.
|
|
20525
|
+
* @throws {RequiredError}
|
|
20526
|
+
* @memberof ContainersApi
|
|
20527
|
+
*/
|
|
20528
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
20492
20529
|
/**
|
|
20493
20530
|
*
|
|
20494
20531
|
* @summary Create a container
|
package/dist/api.js
CHANGED
|
@@ -13556,6 +13556,43 @@ const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
13556
13556
|
options: localVarRequestOptions,
|
|
13557
13557
|
};
|
|
13558
13558
|
}),
|
|
13559
|
+
/**
|
|
13560
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
13561
|
+
* @summary Clone helm
|
|
13562
|
+
* @param {string} helmId Helm ID
|
|
13563
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
13564
|
+
* @param {*} [options] Override http request option.
|
|
13565
|
+
* @throws {RequiredError}
|
|
13566
|
+
*/
|
|
13567
|
+
cloneHelm: (helmId, cloneServiceRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
13568
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
13569
|
+
(0, common_1.assertParamExists)('cloneHelm', 'helmId', helmId);
|
|
13570
|
+
const localVarPath = `/helm/{helmId}/clone`
|
|
13571
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
13572
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13573
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13574
|
+
let baseOptions;
|
|
13575
|
+
if (configuration) {
|
|
13576
|
+
baseOptions = configuration.baseOptions;
|
|
13577
|
+
}
|
|
13578
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13579
|
+
const localVarHeaderParameter = {};
|
|
13580
|
+
const localVarQueryParameter = {};
|
|
13581
|
+
// authentication ApiKeyAuth required
|
|
13582
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
13583
|
+
// authentication bearerAuth required
|
|
13584
|
+
// http bearer authentication required
|
|
13585
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13586
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13587
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13588
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13589
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13590
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cloneServiceRequest, localVarRequestOptions, configuration);
|
|
13591
|
+
return {
|
|
13592
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13593
|
+
options: localVarRequestOptions,
|
|
13594
|
+
};
|
|
13595
|
+
}),
|
|
13559
13596
|
/**
|
|
13560
13597
|
*
|
|
13561
13598
|
* @summary Create a container
|
|
@@ -13872,6 +13909,20 @@ const ContainersApiFp = function (configuration) {
|
|
|
13872
13909
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
13873
13910
|
});
|
|
13874
13911
|
},
|
|
13912
|
+
/**
|
|
13913
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
13914
|
+
* @summary Clone helm
|
|
13915
|
+
* @param {string} helmId Helm ID
|
|
13916
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
13917
|
+
* @param {*} [options] Override http request option.
|
|
13918
|
+
* @throws {RequiredError}
|
|
13919
|
+
*/
|
|
13920
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
13921
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13922
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
13923
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
13924
|
+
});
|
|
13925
|
+
},
|
|
13875
13926
|
/**
|
|
13876
13927
|
*
|
|
13877
13928
|
* @summary Create a container
|
|
@@ -14010,6 +14061,17 @@ const ContainersApiFactory = function (configuration, basePath, axios) {
|
|
|
14010
14061
|
cloneContainer(containerId, cloneServiceRequest, options) {
|
|
14011
14062
|
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
14012
14063
|
},
|
|
14064
|
+
/**
|
|
14065
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14066
|
+
* @summary Clone helm
|
|
14067
|
+
* @param {string} helmId Helm ID
|
|
14068
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14069
|
+
* @param {*} [options] Override http request option.
|
|
14070
|
+
* @throws {RequiredError}
|
|
14071
|
+
*/
|
|
14072
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14073
|
+
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
14074
|
+
},
|
|
14013
14075
|
/**
|
|
14014
14076
|
*
|
|
14015
14077
|
* @summary Create a container
|
|
@@ -14126,6 +14188,18 @@ class ContainersApi extends base_1.BaseAPI {
|
|
|
14126
14188
|
cloneContainer(containerId, cloneServiceRequest, options) {
|
|
14127
14189
|
return (0, exports.ContainersApiFp)(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14128
14190
|
}
|
|
14191
|
+
/**
|
|
14192
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14193
|
+
* @summary Clone helm
|
|
14194
|
+
* @param {string} helmId Helm ID
|
|
14195
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14196
|
+
* @param {*} [options] Override http request option.
|
|
14197
|
+
* @throws {RequiredError}
|
|
14198
|
+
* @memberof ContainersApi
|
|
14199
|
+
*/
|
|
14200
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14201
|
+
return (0, exports.ContainersApiFp)(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14202
|
+
}
|
|
14129
14203
|
/**
|
|
14130
14204
|
*
|
|
14131
14205
|
* @summary Create a container
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -20215,6 +20215,15 @@ export declare const ContainersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
20215
20215
|
* @throws {RequiredError}
|
|
20216
20216
|
*/
|
|
20217
20217
|
cloneContainer: (containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20218
|
+
/**
|
|
20219
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20220
|
+
* @summary Clone helm
|
|
20221
|
+
* @param {string} helmId Helm ID
|
|
20222
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20223
|
+
* @param {*} [options] Override http request option.
|
|
20224
|
+
* @throws {RequiredError}
|
|
20225
|
+
*/
|
|
20226
|
+
cloneHelm: (helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20218
20227
|
/**
|
|
20219
20228
|
*
|
|
20220
20229
|
* @summary Create a container
|
|
@@ -20305,6 +20314,15 @@ export declare const ContainersApiFp: (configuration?: Configuration) => {
|
|
|
20305
20314
|
* @throws {RequiredError}
|
|
20306
20315
|
*/
|
|
20307
20316
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>>;
|
|
20317
|
+
/**
|
|
20318
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20319
|
+
* @summary Clone helm
|
|
20320
|
+
* @param {string} helmId Helm ID
|
|
20321
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20322
|
+
* @param {*} [options] Override http request option.
|
|
20323
|
+
* @throws {RequiredError}
|
|
20324
|
+
*/
|
|
20325
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
20308
20326
|
/**
|
|
20309
20327
|
*
|
|
20310
20328
|
* @summary Create a container
|
|
@@ -20395,6 +20413,15 @@ export declare const ContainersApiFactory: (configuration?: Configuration, baseP
|
|
|
20395
20413
|
* @throws {RequiredError}
|
|
20396
20414
|
*/
|
|
20397
20415
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse>;
|
|
20416
|
+
/**
|
|
20417
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20418
|
+
* @summary Clone helm
|
|
20419
|
+
* @param {string} helmId Helm ID
|
|
20420
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20421
|
+
* @param {*} [options] Override http request option.
|
|
20422
|
+
* @throws {RequiredError}
|
|
20423
|
+
*/
|
|
20424
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
20398
20425
|
/**
|
|
20399
20426
|
*
|
|
20400
20427
|
* @summary Create a container
|
|
@@ -20489,6 +20516,16 @@ export declare class ContainersApi extends BaseAPI {
|
|
|
20489
20516
|
* @memberof ContainersApi
|
|
20490
20517
|
*/
|
|
20491
20518
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerResponse, any>>;
|
|
20519
|
+
/**
|
|
20520
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20521
|
+
* @summary Clone helm
|
|
20522
|
+
* @param {string} helmId Helm ID
|
|
20523
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20524
|
+
* @param {*} [options] Override http request option.
|
|
20525
|
+
* @throws {RequiredError}
|
|
20526
|
+
* @memberof ContainersApi
|
|
20527
|
+
*/
|
|
20528
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
20492
20529
|
/**
|
|
20493
20530
|
*
|
|
20494
20531
|
* @summary Create a container
|
package/dist/esm/api.js
CHANGED
|
@@ -13442,6 +13442,43 @@ export const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
13442
13442
|
options: localVarRequestOptions,
|
|
13443
13443
|
};
|
|
13444
13444
|
}),
|
|
13445
|
+
/**
|
|
13446
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
13447
|
+
* @summary Clone helm
|
|
13448
|
+
* @param {string} helmId Helm ID
|
|
13449
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
13450
|
+
* @param {*} [options] Override http request option.
|
|
13451
|
+
* @throws {RequiredError}
|
|
13452
|
+
*/
|
|
13453
|
+
cloneHelm: (helmId, cloneServiceRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
13454
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
13455
|
+
assertParamExists('cloneHelm', 'helmId', helmId);
|
|
13456
|
+
const localVarPath = `/helm/{helmId}/clone`
|
|
13457
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
13458
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13459
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13460
|
+
let baseOptions;
|
|
13461
|
+
if (configuration) {
|
|
13462
|
+
baseOptions = configuration.baseOptions;
|
|
13463
|
+
}
|
|
13464
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13465
|
+
const localVarHeaderParameter = {};
|
|
13466
|
+
const localVarQueryParameter = {};
|
|
13467
|
+
// authentication ApiKeyAuth required
|
|
13468
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
13469
|
+
// authentication bearerAuth required
|
|
13470
|
+
// http bearer authentication required
|
|
13471
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
13472
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13473
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13474
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13475
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13476
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration);
|
|
13477
|
+
return {
|
|
13478
|
+
url: toPathString(localVarUrlObj),
|
|
13479
|
+
options: localVarRequestOptions,
|
|
13480
|
+
};
|
|
13481
|
+
}),
|
|
13445
13482
|
/**
|
|
13446
13483
|
*
|
|
13447
13484
|
* @summary Create a container
|
|
@@ -13757,6 +13794,20 @@ export const ContainersApiFp = function (configuration) {
|
|
|
13757
13794
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13758
13795
|
});
|
|
13759
13796
|
},
|
|
13797
|
+
/**
|
|
13798
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
13799
|
+
* @summary Clone helm
|
|
13800
|
+
* @param {string} helmId Helm ID
|
|
13801
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
13802
|
+
* @param {*} [options] Override http request option.
|
|
13803
|
+
* @throws {RequiredError}
|
|
13804
|
+
*/
|
|
13805
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
13806
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13807
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
13808
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13809
|
+
});
|
|
13810
|
+
},
|
|
13760
13811
|
/**
|
|
13761
13812
|
*
|
|
13762
13813
|
* @summary Create a container
|
|
@@ -13894,6 +13945,17 @@ export const ContainersApiFactory = function (configuration, basePath, axios) {
|
|
|
13894
13945
|
cloneContainer(containerId, cloneServiceRequest, options) {
|
|
13895
13946
|
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
13896
13947
|
},
|
|
13948
|
+
/**
|
|
13949
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
13950
|
+
* @summary Clone helm
|
|
13951
|
+
* @param {string} helmId Helm ID
|
|
13952
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
13953
|
+
* @param {*} [options] Override http request option.
|
|
13954
|
+
* @throws {RequiredError}
|
|
13955
|
+
*/
|
|
13956
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
13957
|
+
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
13958
|
+
},
|
|
13897
13959
|
/**
|
|
13898
13960
|
*
|
|
13899
13961
|
* @summary Create a container
|
|
@@ -14009,6 +14071,18 @@ export class ContainersApi extends BaseAPI {
|
|
|
14009
14071
|
cloneContainer(containerId, cloneServiceRequest, options) {
|
|
14010
14072
|
return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14011
14073
|
}
|
|
14074
|
+
/**
|
|
14075
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14076
|
+
* @summary Clone helm
|
|
14077
|
+
* @param {string} helmId Helm ID
|
|
14078
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14079
|
+
* @param {*} [options] Override http request option.
|
|
14080
|
+
* @throws {RequiredError}
|
|
14081
|
+
* @memberof ContainersApi
|
|
14082
|
+
*/
|
|
14083
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14084
|
+
return ContainersApiFp(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14085
|
+
}
|
|
14012
14086
|
/**
|
|
14013
14087
|
*
|
|
14014
14088
|
* @summary Create a container
|