qovery-typescript-axios 1.1.321 → 1.1.322
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 +87 -81
- package/dist/api.d.ts +43 -37
- package/dist/api.js +74 -74
- package/dist/esm/api.d.ts +43 -37
- package/dist/esm/api.js +74 -74
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7069,6 +7069,12 @@ export interface EnvironmentStatuses {
|
|
|
7069
7069
|
* @memberof EnvironmentStatuses
|
|
7070
7070
|
*/
|
|
7071
7071
|
'databases'?: Array<Status>;
|
|
7072
|
+
/**
|
|
7073
|
+
*
|
|
7074
|
+
* @type {Array<Status>}
|
|
7075
|
+
* @memberof EnvironmentStatuses
|
|
7076
|
+
*/
|
|
7077
|
+
'helms'?: Array<Status>;
|
|
7072
7078
|
}
|
|
7073
7079
|
/**
|
|
7074
7080
|
*
|
|
@@ -28749,51 +28755,6 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
28749
28755
|
|
|
28750
28756
|
|
|
28751
28757
|
|
|
28752
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28753
|
-
|
|
28754
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28755
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28756
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28757
|
-
localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
|
|
28758
|
-
|
|
28759
|
-
return {
|
|
28760
|
-
url: toPathString(localVarUrlObj),
|
|
28761
|
-
options: localVarRequestOptions,
|
|
28762
|
-
};
|
|
28763
|
-
},
|
|
28764
|
-
/**
|
|
28765
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
28766
|
-
* @summary Clone helm
|
|
28767
|
-
* @param {string} helmId Helm ID
|
|
28768
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
28769
|
-
* @param {*} [options] Override http request option.
|
|
28770
|
-
* @throws {RequiredError}
|
|
28771
|
-
*/
|
|
28772
|
-
cloneHelm: async (helmId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28773
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
28774
|
-
assertParamExists('cloneHelm', 'helmId', helmId)
|
|
28775
|
-
const localVarPath = `/helm/{helmId}/clone`
|
|
28776
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
28777
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28778
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28779
|
-
let baseOptions;
|
|
28780
|
-
if (configuration) {
|
|
28781
|
-
baseOptions = configuration.baseOptions;
|
|
28782
|
-
}
|
|
28783
|
-
|
|
28784
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
28785
|
-
const localVarHeaderParameter = {} as any;
|
|
28786
|
-
const localVarQueryParameter = {} as any;
|
|
28787
|
-
|
|
28788
|
-
// authentication ApiKeyAuth required
|
|
28789
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
28790
|
-
|
|
28791
|
-
// authentication bearerAuth required
|
|
28792
|
-
// http bearer authentication required
|
|
28793
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28794
|
-
|
|
28795
|
-
|
|
28796
|
-
|
|
28797
28758
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28798
28759
|
|
|
28799
28760
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -29176,18 +29137,6 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
29176
29137
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneContainer(containerId, cloneServiceRequest, options);
|
|
29177
29138
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29178
29139
|
},
|
|
29179
|
-
/**
|
|
29180
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
29181
|
-
* @summary Clone helm
|
|
29182
|
-
* @param {string} helmId Helm ID
|
|
29183
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
29184
|
-
* @param {*} [options] Override http request option.
|
|
29185
|
-
* @throws {RequiredError}
|
|
29186
|
-
*/
|
|
29187
|
-
async cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>> {
|
|
29188
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
29189
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29190
|
-
},
|
|
29191
29140
|
/**
|
|
29192
29141
|
*
|
|
29193
29142
|
* @summary Create a container
|
|
@@ -29310,17 +29259,6 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
29310
29259
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse> {
|
|
29311
29260
|
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
29312
29261
|
},
|
|
29313
|
-
/**
|
|
29314
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
29315
|
-
* @summary Clone helm
|
|
29316
|
-
* @param {string} helmId Helm ID
|
|
29317
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
29318
|
-
* @param {*} [options] Override http request option.
|
|
29319
|
-
* @throws {RequiredError}
|
|
29320
|
-
*/
|
|
29321
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse> {
|
|
29322
|
-
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
29323
|
-
},
|
|
29324
29262
|
/**
|
|
29325
29263
|
*
|
|
29326
29264
|
* @summary Create a container
|
|
@@ -29439,19 +29377,6 @@ export class ContainersApi extends BaseAPI {
|
|
|
29439
29377
|
return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29440
29378
|
}
|
|
29441
29379
|
|
|
29442
|
-
/**
|
|
29443
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
29444
|
-
* @summary Clone helm
|
|
29445
|
-
* @param {string} helmId Helm ID
|
|
29446
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
29447
|
-
* @param {*} [options] Override http request option.
|
|
29448
|
-
* @throws {RequiredError}
|
|
29449
|
-
* @memberof ContainersApi
|
|
29450
|
-
*/
|
|
29451
|
-
public cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
|
|
29452
|
-
return ContainersApiFp(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29453
|
-
}
|
|
29454
|
-
|
|
29455
29380
|
/**
|
|
29456
29381
|
*
|
|
29457
29382
|
* @summary Create a container
|
|
@@ -39383,6 +39308,51 @@ export class HelmRepositoriesApi extends BaseAPI {
|
|
|
39383
39308
|
*/
|
|
39384
39309
|
export const HelmsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39385
39310
|
return {
|
|
39311
|
+
/**
|
|
39312
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
39313
|
+
* @summary Clone helm
|
|
39314
|
+
* @param {string} helmId Helm ID
|
|
39315
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
39316
|
+
* @param {*} [options] Override http request option.
|
|
39317
|
+
* @throws {RequiredError}
|
|
39318
|
+
*/
|
|
39319
|
+
cloneHelm: async (helmId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39320
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
39321
|
+
assertParamExists('cloneHelm', 'helmId', helmId)
|
|
39322
|
+
const localVarPath = `/helm/{helmId}/clone`
|
|
39323
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
39324
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39325
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39326
|
+
let baseOptions;
|
|
39327
|
+
if (configuration) {
|
|
39328
|
+
baseOptions = configuration.baseOptions;
|
|
39329
|
+
}
|
|
39330
|
+
|
|
39331
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
39332
|
+
const localVarHeaderParameter = {} as any;
|
|
39333
|
+
const localVarQueryParameter = {} as any;
|
|
39334
|
+
|
|
39335
|
+
// authentication ApiKeyAuth required
|
|
39336
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
39337
|
+
|
|
39338
|
+
// authentication bearerAuth required
|
|
39339
|
+
// http bearer authentication required
|
|
39340
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
39341
|
+
|
|
39342
|
+
|
|
39343
|
+
|
|
39344
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
39345
|
+
|
|
39346
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39347
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39348
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
39349
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
|
|
39350
|
+
|
|
39351
|
+
return {
|
|
39352
|
+
url: toPathString(localVarUrlObj),
|
|
39353
|
+
options: localVarRequestOptions,
|
|
39354
|
+
};
|
|
39355
|
+
},
|
|
39386
39356
|
/**
|
|
39387
39357
|
*
|
|
39388
39358
|
* @summary Create a helm
|
|
@@ -39565,6 +39535,18 @@ export const HelmsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
39565
39535
|
export const HelmsApiFp = function(configuration?: Configuration) {
|
|
39566
39536
|
const localVarAxiosParamCreator = HelmsApiAxiosParamCreator(configuration)
|
|
39567
39537
|
return {
|
|
39538
|
+
/**
|
|
39539
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
39540
|
+
* @summary Clone helm
|
|
39541
|
+
* @param {string} helmId Helm ID
|
|
39542
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
39543
|
+
* @param {*} [options] Override http request option.
|
|
39544
|
+
* @throws {RequiredError}
|
|
39545
|
+
*/
|
|
39546
|
+
async cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>> {
|
|
39547
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
39548
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39549
|
+
},
|
|
39568
39550
|
/**
|
|
39569
39551
|
*
|
|
39570
39552
|
* @summary Create a helm
|
|
@@ -39621,6 +39603,17 @@ export const HelmsApiFp = function(configuration?: Configuration) {
|
|
|
39621
39603
|
export const HelmsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
39622
39604
|
const localVarFp = HelmsApiFp(configuration)
|
|
39623
39605
|
return {
|
|
39606
|
+
/**
|
|
39607
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
39608
|
+
* @summary Clone helm
|
|
39609
|
+
* @param {string} helmId Helm ID
|
|
39610
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
39611
|
+
* @param {*} [options] Override http request option.
|
|
39612
|
+
* @throws {RequiredError}
|
|
39613
|
+
*/
|
|
39614
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse> {
|
|
39615
|
+
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
39616
|
+
},
|
|
39624
39617
|
/**
|
|
39625
39618
|
*
|
|
39626
39619
|
* @summary Create a helm
|
|
@@ -39673,6 +39666,19 @@ export const HelmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
39673
39666
|
* @extends {BaseAPI}
|
|
39674
39667
|
*/
|
|
39675
39668
|
export class HelmsApi extends BaseAPI {
|
|
39669
|
+
/**
|
|
39670
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
39671
|
+
* @summary Clone helm
|
|
39672
|
+
* @param {string} helmId Helm ID
|
|
39673
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
39674
|
+
* @param {*} [options] Override http request option.
|
|
39675
|
+
* @throws {RequiredError}
|
|
39676
|
+
* @memberof HelmsApi
|
|
39677
|
+
*/
|
|
39678
|
+
public cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
|
|
39679
|
+
return HelmsApiFp(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
39680
|
+
}
|
|
39681
|
+
|
|
39676
39682
|
/**
|
|
39677
39683
|
*
|
|
39678
39684
|
* @summary Create a helm
|
package/dist/api.d.ts
CHANGED
|
@@ -6864,6 +6864,12 @@ export interface EnvironmentStatuses {
|
|
|
6864
6864
|
* @memberof EnvironmentStatuses
|
|
6865
6865
|
*/
|
|
6866
6866
|
'databases'?: Array<Status>;
|
|
6867
|
+
/**
|
|
6868
|
+
*
|
|
6869
|
+
* @type {Array<Status>}
|
|
6870
|
+
* @memberof EnvironmentStatuses
|
|
6871
|
+
*/
|
|
6872
|
+
'helms'?: Array<Status>;
|
|
6867
6873
|
}
|
|
6868
6874
|
/**
|
|
6869
6875
|
*
|
|
@@ -20511,15 +20517,6 @@ export declare const ContainersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
20511
20517
|
* @throws {RequiredError}
|
|
20512
20518
|
*/
|
|
20513
20519
|
cloneContainer: (containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20514
|
-
/**
|
|
20515
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20516
|
-
* @summary Clone helm
|
|
20517
|
-
* @param {string} helmId Helm ID
|
|
20518
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20519
|
-
* @param {*} [options] Override http request option.
|
|
20520
|
-
* @throws {RequiredError}
|
|
20521
|
-
*/
|
|
20522
|
-
cloneHelm: (helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20523
20520
|
/**
|
|
20524
20521
|
*
|
|
20525
20522
|
* @summary Create a container
|
|
@@ -20610,15 +20607,6 @@ export declare const ContainersApiFp: (configuration?: Configuration) => {
|
|
|
20610
20607
|
* @throws {RequiredError}
|
|
20611
20608
|
*/
|
|
20612
20609
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>>;
|
|
20613
|
-
/**
|
|
20614
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20615
|
-
* @summary Clone helm
|
|
20616
|
-
* @param {string} helmId Helm ID
|
|
20617
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20618
|
-
* @param {*} [options] Override http request option.
|
|
20619
|
-
* @throws {RequiredError}
|
|
20620
|
-
*/
|
|
20621
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
20622
20610
|
/**
|
|
20623
20611
|
*
|
|
20624
20612
|
* @summary Create a container
|
|
@@ -20709,15 +20697,6 @@ export declare const ContainersApiFactory: (configuration?: Configuration, baseP
|
|
|
20709
20697
|
* @throws {RequiredError}
|
|
20710
20698
|
*/
|
|
20711
20699
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse>;
|
|
20712
|
-
/**
|
|
20713
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20714
|
-
* @summary Clone helm
|
|
20715
|
-
* @param {string} helmId Helm ID
|
|
20716
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20717
|
-
* @param {*} [options] Override http request option.
|
|
20718
|
-
* @throws {RequiredError}
|
|
20719
|
-
*/
|
|
20720
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
20721
20700
|
/**
|
|
20722
20701
|
*
|
|
20723
20702
|
* @summary Create a container
|
|
@@ -20812,16 +20791,6 @@ export declare class ContainersApi extends BaseAPI {
|
|
|
20812
20791
|
* @memberof ContainersApi
|
|
20813
20792
|
*/
|
|
20814
20793
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerResponse, any>>;
|
|
20815
|
-
/**
|
|
20816
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20817
|
-
* @summary Clone helm
|
|
20818
|
-
* @param {string} helmId Helm ID
|
|
20819
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20820
|
-
* @param {*} [options] Override http request option.
|
|
20821
|
-
* @throws {RequiredError}
|
|
20822
|
-
* @memberof ContainersApi
|
|
20823
|
-
*/
|
|
20824
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
20825
20794
|
/**
|
|
20826
20795
|
*
|
|
20827
20796
|
* @summary Create a container
|
|
@@ -25572,6 +25541,15 @@ export declare class HelmRepositoriesApi extends BaseAPI {
|
|
|
25572
25541
|
* @export
|
|
25573
25542
|
*/
|
|
25574
25543
|
export declare const HelmsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25544
|
+
/**
|
|
25545
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25546
|
+
* @summary Clone helm
|
|
25547
|
+
* @param {string} helmId Helm ID
|
|
25548
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25549
|
+
* @param {*} [options] Override http request option.
|
|
25550
|
+
* @throws {RequiredError}
|
|
25551
|
+
*/
|
|
25552
|
+
cloneHelm: (helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25575
25553
|
/**
|
|
25576
25554
|
*
|
|
25577
25555
|
* @summary Create a helm
|
|
@@ -25612,6 +25590,15 @@ export declare const HelmsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
25612
25590
|
* @export
|
|
25613
25591
|
*/
|
|
25614
25592
|
export declare const HelmsApiFp: (configuration?: Configuration) => {
|
|
25593
|
+
/**
|
|
25594
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25595
|
+
* @summary Clone helm
|
|
25596
|
+
* @param {string} helmId Helm ID
|
|
25597
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25598
|
+
* @param {*} [options] Override http request option.
|
|
25599
|
+
* @throws {RequiredError}
|
|
25600
|
+
*/
|
|
25601
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
25615
25602
|
/**
|
|
25616
25603
|
*
|
|
25617
25604
|
* @summary Create a helm
|
|
@@ -25652,6 +25639,15 @@ export declare const HelmsApiFp: (configuration?: Configuration) => {
|
|
|
25652
25639
|
* @export
|
|
25653
25640
|
*/
|
|
25654
25641
|
export declare const HelmsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25642
|
+
/**
|
|
25643
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25644
|
+
* @summary Clone helm
|
|
25645
|
+
* @param {string} helmId Helm ID
|
|
25646
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25647
|
+
* @param {*} [options] Override http request option.
|
|
25648
|
+
* @throws {RequiredError}
|
|
25649
|
+
*/
|
|
25650
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
25655
25651
|
/**
|
|
25656
25652
|
*
|
|
25657
25653
|
* @summary Create a helm
|
|
@@ -25694,6 +25690,16 @@ export declare const HelmsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
25694
25690
|
* @extends {BaseAPI}
|
|
25695
25691
|
*/
|
|
25696
25692
|
export declare class HelmsApi extends BaseAPI {
|
|
25693
|
+
/**
|
|
25694
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25695
|
+
* @summary Clone helm
|
|
25696
|
+
* @param {string} helmId Helm ID
|
|
25697
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25698
|
+
* @param {*} [options] Override http request option.
|
|
25699
|
+
* @throws {RequiredError}
|
|
25700
|
+
* @memberof HelmsApi
|
|
25701
|
+
*/
|
|
25702
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
25697
25703
|
/**
|
|
25698
25704
|
*
|
|
25699
25705
|
* @summary Create a helm
|
package/dist/api.js
CHANGED
|
@@ -14203,43 +14203,6 @@ const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
14203
14203
|
options: localVarRequestOptions,
|
|
14204
14204
|
};
|
|
14205
14205
|
}),
|
|
14206
|
-
/**
|
|
14207
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14208
|
-
* @summary Clone helm
|
|
14209
|
-
* @param {string} helmId Helm ID
|
|
14210
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14211
|
-
* @param {*} [options] Override http request option.
|
|
14212
|
-
* @throws {RequiredError}
|
|
14213
|
-
*/
|
|
14214
|
-
cloneHelm: (helmId, cloneServiceRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
14215
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
14216
|
-
(0, common_1.assertParamExists)('cloneHelm', 'helmId', helmId);
|
|
14217
|
-
const localVarPath = `/helm/{helmId}/clone`
|
|
14218
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
14219
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14220
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14221
|
-
let baseOptions;
|
|
14222
|
-
if (configuration) {
|
|
14223
|
-
baseOptions = configuration.baseOptions;
|
|
14224
|
-
}
|
|
14225
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
14226
|
-
const localVarHeaderParameter = {};
|
|
14227
|
-
const localVarQueryParameter = {};
|
|
14228
|
-
// authentication ApiKeyAuth required
|
|
14229
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
14230
|
-
// authentication bearerAuth required
|
|
14231
|
-
// http bearer authentication required
|
|
14232
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14233
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14234
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14235
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14236
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14237
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cloneServiceRequest, localVarRequestOptions, configuration);
|
|
14238
|
-
return {
|
|
14239
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14240
|
-
options: localVarRequestOptions,
|
|
14241
|
-
};
|
|
14242
|
-
}),
|
|
14243
14206
|
/**
|
|
14244
14207
|
*
|
|
14245
14208
|
* @summary Create a container
|
|
@@ -14556,20 +14519,6 @@ const ContainersApiFp = function (configuration) {
|
|
|
14556
14519
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
14557
14520
|
});
|
|
14558
14521
|
},
|
|
14559
|
-
/**
|
|
14560
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14561
|
-
* @summary Clone helm
|
|
14562
|
-
* @param {string} helmId Helm ID
|
|
14563
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14564
|
-
* @param {*} [options] Override http request option.
|
|
14565
|
-
* @throws {RequiredError}
|
|
14566
|
-
*/
|
|
14567
|
-
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14568
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
14569
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
14570
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
14571
|
-
});
|
|
14572
|
-
},
|
|
14573
14522
|
/**
|
|
14574
14523
|
*
|
|
14575
14524
|
* @summary Create a container
|
|
@@ -14708,17 +14657,6 @@ const ContainersApiFactory = function (configuration, basePath, axios) {
|
|
|
14708
14657
|
cloneContainer(containerId, cloneServiceRequest, options) {
|
|
14709
14658
|
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
14710
14659
|
},
|
|
14711
|
-
/**
|
|
14712
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14713
|
-
* @summary Clone helm
|
|
14714
|
-
* @param {string} helmId Helm ID
|
|
14715
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14716
|
-
* @param {*} [options] Override http request option.
|
|
14717
|
-
* @throws {RequiredError}
|
|
14718
|
-
*/
|
|
14719
|
-
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14720
|
-
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
14721
|
-
},
|
|
14722
14660
|
/**
|
|
14723
14661
|
*
|
|
14724
14662
|
* @summary Create a container
|
|
@@ -14835,18 +14773,6 @@ class ContainersApi extends base_1.BaseAPI {
|
|
|
14835
14773
|
cloneContainer(containerId, cloneServiceRequest, options) {
|
|
14836
14774
|
return (0, exports.ContainersApiFp)(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14837
14775
|
}
|
|
14838
|
-
/**
|
|
14839
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14840
|
-
* @summary Clone helm
|
|
14841
|
-
* @param {string} helmId Helm ID
|
|
14842
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14843
|
-
* @param {*} [options] Override http request option.
|
|
14844
|
-
* @throws {RequiredError}
|
|
14845
|
-
* @memberof ContainersApi
|
|
14846
|
-
*/
|
|
14847
|
-
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14848
|
-
return (0, exports.ContainersApiFp)(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14849
|
-
}
|
|
14850
14776
|
/**
|
|
14851
14777
|
*
|
|
14852
14778
|
* @summary Create a container
|
|
@@ -24021,6 +23947,43 @@ exports.HelmRepositoriesApi = HelmRepositoriesApi;
|
|
|
24021
23947
|
*/
|
|
24022
23948
|
const HelmsApiAxiosParamCreator = function (configuration) {
|
|
24023
23949
|
return {
|
|
23950
|
+
/**
|
|
23951
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
23952
|
+
* @summary Clone helm
|
|
23953
|
+
* @param {string} helmId Helm ID
|
|
23954
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
23955
|
+
* @param {*} [options] Override http request option.
|
|
23956
|
+
* @throws {RequiredError}
|
|
23957
|
+
*/
|
|
23958
|
+
cloneHelm: (helmId, cloneServiceRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
23959
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
23960
|
+
(0, common_1.assertParamExists)('cloneHelm', 'helmId', helmId);
|
|
23961
|
+
const localVarPath = `/helm/{helmId}/clone`
|
|
23962
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
23963
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23964
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23965
|
+
let baseOptions;
|
|
23966
|
+
if (configuration) {
|
|
23967
|
+
baseOptions = configuration.baseOptions;
|
|
23968
|
+
}
|
|
23969
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
23970
|
+
const localVarHeaderParameter = {};
|
|
23971
|
+
const localVarQueryParameter = {};
|
|
23972
|
+
// authentication ApiKeyAuth required
|
|
23973
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
23974
|
+
// authentication bearerAuth required
|
|
23975
|
+
// http bearer authentication required
|
|
23976
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
23977
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23978
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
23979
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23980
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23981
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cloneServiceRequest, localVarRequestOptions, configuration);
|
|
23982
|
+
return {
|
|
23983
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
23984
|
+
options: localVarRequestOptions,
|
|
23985
|
+
};
|
|
23986
|
+
}),
|
|
24024
23987
|
/**
|
|
24025
23988
|
*
|
|
24026
23989
|
* @summary Create a helm
|
|
@@ -24173,6 +24136,20 @@ exports.HelmsApiAxiosParamCreator = HelmsApiAxiosParamCreator;
|
|
|
24173
24136
|
const HelmsApiFp = function (configuration) {
|
|
24174
24137
|
const localVarAxiosParamCreator = (0, exports.HelmsApiAxiosParamCreator)(configuration);
|
|
24175
24138
|
return {
|
|
24139
|
+
/**
|
|
24140
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
24141
|
+
* @summary Clone helm
|
|
24142
|
+
* @param {string} helmId Helm ID
|
|
24143
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
24144
|
+
* @param {*} [options] Override http request option.
|
|
24145
|
+
* @throws {RequiredError}
|
|
24146
|
+
*/
|
|
24147
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
24148
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24149
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
24150
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
24151
|
+
});
|
|
24152
|
+
},
|
|
24176
24153
|
/**
|
|
24177
24154
|
*
|
|
24178
24155
|
* @summary Create a helm
|
|
@@ -24237,6 +24214,17 @@ exports.HelmsApiFp = HelmsApiFp;
|
|
|
24237
24214
|
const HelmsApiFactory = function (configuration, basePath, axios) {
|
|
24238
24215
|
const localVarFp = (0, exports.HelmsApiFp)(configuration);
|
|
24239
24216
|
return {
|
|
24217
|
+
/**
|
|
24218
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
24219
|
+
* @summary Clone helm
|
|
24220
|
+
* @param {string} helmId Helm ID
|
|
24221
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
24222
|
+
* @param {*} [options] Override http request option.
|
|
24223
|
+
* @throws {RequiredError}
|
|
24224
|
+
*/
|
|
24225
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
24226
|
+
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
24227
|
+
},
|
|
24240
24228
|
/**
|
|
24241
24229
|
*
|
|
24242
24230
|
* @summary Create a helm
|
|
@@ -24289,6 +24277,18 @@ exports.HelmsApiFactory = HelmsApiFactory;
|
|
|
24289
24277
|
* @extends {BaseAPI}
|
|
24290
24278
|
*/
|
|
24291
24279
|
class HelmsApi extends base_1.BaseAPI {
|
|
24280
|
+
/**
|
|
24281
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
24282
|
+
* @summary Clone helm
|
|
24283
|
+
* @param {string} helmId Helm ID
|
|
24284
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
24285
|
+
* @param {*} [options] Override http request option.
|
|
24286
|
+
* @throws {RequiredError}
|
|
24287
|
+
* @memberof HelmsApi
|
|
24288
|
+
*/
|
|
24289
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
24290
|
+
return (0, exports.HelmsApiFp)(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
24291
|
+
}
|
|
24292
24292
|
/**
|
|
24293
24293
|
*
|
|
24294
24294
|
* @summary Create a helm
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -6864,6 +6864,12 @@ export interface EnvironmentStatuses {
|
|
|
6864
6864
|
* @memberof EnvironmentStatuses
|
|
6865
6865
|
*/
|
|
6866
6866
|
'databases'?: Array<Status>;
|
|
6867
|
+
/**
|
|
6868
|
+
*
|
|
6869
|
+
* @type {Array<Status>}
|
|
6870
|
+
* @memberof EnvironmentStatuses
|
|
6871
|
+
*/
|
|
6872
|
+
'helms'?: Array<Status>;
|
|
6867
6873
|
}
|
|
6868
6874
|
/**
|
|
6869
6875
|
*
|
|
@@ -20511,15 +20517,6 @@ export declare const ContainersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
20511
20517
|
* @throws {RequiredError}
|
|
20512
20518
|
*/
|
|
20513
20519
|
cloneContainer: (containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20514
|
-
/**
|
|
20515
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20516
|
-
* @summary Clone helm
|
|
20517
|
-
* @param {string} helmId Helm ID
|
|
20518
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20519
|
-
* @param {*} [options] Override http request option.
|
|
20520
|
-
* @throws {RequiredError}
|
|
20521
|
-
*/
|
|
20522
|
-
cloneHelm: (helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20523
20520
|
/**
|
|
20524
20521
|
*
|
|
20525
20522
|
* @summary Create a container
|
|
@@ -20610,15 +20607,6 @@ export declare const ContainersApiFp: (configuration?: Configuration) => {
|
|
|
20610
20607
|
* @throws {RequiredError}
|
|
20611
20608
|
*/
|
|
20612
20609
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>>;
|
|
20613
|
-
/**
|
|
20614
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20615
|
-
* @summary Clone helm
|
|
20616
|
-
* @param {string} helmId Helm ID
|
|
20617
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20618
|
-
* @param {*} [options] Override http request option.
|
|
20619
|
-
* @throws {RequiredError}
|
|
20620
|
-
*/
|
|
20621
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
20622
20610
|
/**
|
|
20623
20611
|
*
|
|
20624
20612
|
* @summary Create a container
|
|
@@ -20709,15 +20697,6 @@ export declare const ContainersApiFactory: (configuration?: Configuration, baseP
|
|
|
20709
20697
|
* @throws {RequiredError}
|
|
20710
20698
|
*/
|
|
20711
20699
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse>;
|
|
20712
|
-
/**
|
|
20713
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20714
|
-
* @summary Clone helm
|
|
20715
|
-
* @param {string} helmId Helm ID
|
|
20716
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20717
|
-
* @param {*} [options] Override http request option.
|
|
20718
|
-
* @throws {RequiredError}
|
|
20719
|
-
*/
|
|
20720
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
20721
20700
|
/**
|
|
20722
20701
|
*
|
|
20723
20702
|
* @summary Create a container
|
|
@@ -20812,16 +20791,6 @@ export declare class ContainersApi extends BaseAPI {
|
|
|
20812
20791
|
* @memberof ContainersApi
|
|
20813
20792
|
*/
|
|
20814
20793
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerResponse, any>>;
|
|
20815
|
-
/**
|
|
20816
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20817
|
-
* @summary Clone helm
|
|
20818
|
-
* @param {string} helmId Helm ID
|
|
20819
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20820
|
-
* @param {*} [options] Override http request option.
|
|
20821
|
-
* @throws {RequiredError}
|
|
20822
|
-
* @memberof ContainersApi
|
|
20823
|
-
*/
|
|
20824
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
20825
20794
|
/**
|
|
20826
20795
|
*
|
|
20827
20796
|
* @summary Create a container
|
|
@@ -25572,6 +25541,15 @@ export declare class HelmRepositoriesApi extends BaseAPI {
|
|
|
25572
25541
|
* @export
|
|
25573
25542
|
*/
|
|
25574
25543
|
export declare const HelmsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25544
|
+
/**
|
|
25545
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25546
|
+
* @summary Clone helm
|
|
25547
|
+
* @param {string} helmId Helm ID
|
|
25548
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25549
|
+
* @param {*} [options] Override http request option.
|
|
25550
|
+
* @throws {RequiredError}
|
|
25551
|
+
*/
|
|
25552
|
+
cloneHelm: (helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25575
25553
|
/**
|
|
25576
25554
|
*
|
|
25577
25555
|
* @summary Create a helm
|
|
@@ -25612,6 +25590,15 @@ export declare const HelmsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
25612
25590
|
* @export
|
|
25613
25591
|
*/
|
|
25614
25592
|
export declare const HelmsApiFp: (configuration?: Configuration) => {
|
|
25593
|
+
/**
|
|
25594
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25595
|
+
* @summary Clone helm
|
|
25596
|
+
* @param {string} helmId Helm ID
|
|
25597
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25598
|
+
* @param {*} [options] Override http request option.
|
|
25599
|
+
* @throws {RequiredError}
|
|
25600
|
+
*/
|
|
25601
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
25615
25602
|
/**
|
|
25616
25603
|
*
|
|
25617
25604
|
* @summary Create a helm
|
|
@@ -25652,6 +25639,15 @@ export declare const HelmsApiFp: (configuration?: Configuration) => {
|
|
|
25652
25639
|
* @export
|
|
25653
25640
|
*/
|
|
25654
25641
|
export declare const HelmsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25642
|
+
/**
|
|
25643
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25644
|
+
* @summary Clone helm
|
|
25645
|
+
* @param {string} helmId Helm ID
|
|
25646
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25647
|
+
* @param {*} [options] Override http request option.
|
|
25648
|
+
* @throws {RequiredError}
|
|
25649
|
+
*/
|
|
25650
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
25655
25651
|
/**
|
|
25656
25652
|
*
|
|
25657
25653
|
* @summary Create a helm
|
|
@@ -25694,6 +25690,16 @@ export declare const HelmsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
25694
25690
|
* @extends {BaseAPI}
|
|
25695
25691
|
*/
|
|
25696
25692
|
export declare class HelmsApi extends BaseAPI {
|
|
25693
|
+
/**
|
|
25694
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25695
|
+
* @summary Clone helm
|
|
25696
|
+
* @param {string} helmId Helm ID
|
|
25697
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25698
|
+
* @param {*} [options] Override http request option.
|
|
25699
|
+
* @throws {RequiredError}
|
|
25700
|
+
* @memberof HelmsApi
|
|
25701
|
+
*/
|
|
25702
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
25697
25703
|
/**
|
|
25698
25704
|
*
|
|
25699
25705
|
* @summary Create a helm
|
package/dist/esm/api.js
CHANGED
|
@@ -14089,43 +14089,6 @@ export const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
14089
14089
|
options: localVarRequestOptions,
|
|
14090
14090
|
};
|
|
14091
14091
|
}),
|
|
14092
|
-
/**
|
|
14093
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14094
|
-
* @summary Clone helm
|
|
14095
|
-
* @param {string} helmId Helm ID
|
|
14096
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14097
|
-
* @param {*} [options] Override http request option.
|
|
14098
|
-
* @throws {RequiredError}
|
|
14099
|
-
*/
|
|
14100
|
-
cloneHelm: (helmId, cloneServiceRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
14101
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
14102
|
-
assertParamExists('cloneHelm', 'helmId', helmId);
|
|
14103
|
-
const localVarPath = `/helm/{helmId}/clone`
|
|
14104
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
14105
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14106
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14107
|
-
let baseOptions;
|
|
14108
|
-
if (configuration) {
|
|
14109
|
-
baseOptions = configuration.baseOptions;
|
|
14110
|
-
}
|
|
14111
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
14112
|
-
const localVarHeaderParameter = {};
|
|
14113
|
-
const localVarQueryParameter = {};
|
|
14114
|
-
// authentication ApiKeyAuth required
|
|
14115
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
14116
|
-
// authentication bearerAuth required
|
|
14117
|
-
// http bearer authentication required
|
|
14118
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
14119
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14120
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14121
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14122
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14123
|
-
localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration);
|
|
14124
|
-
return {
|
|
14125
|
-
url: toPathString(localVarUrlObj),
|
|
14126
|
-
options: localVarRequestOptions,
|
|
14127
|
-
};
|
|
14128
|
-
}),
|
|
14129
14092
|
/**
|
|
14130
14093
|
*
|
|
14131
14094
|
* @summary Create a container
|
|
@@ -14441,20 +14404,6 @@ export const ContainersApiFp = function (configuration) {
|
|
|
14441
14404
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14442
14405
|
});
|
|
14443
14406
|
},
|
|
14444
|
-
/**
|
|
14445
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14446
|
-
* @summary Clone helm
|
|
14447
|
-
* @param {string} helmId Helm ID
|
|
14448
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14449
|
-
* @param {*} [options] Override http request option.
|
|
14450
|
-
* @throws {RequiredError}
|
|
14451
|
-
*/
|
|
14452
|
-
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14453
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
14454
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
14455
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14456
|
-
});
|
|
14457
|
-
},
|
|
14458
14407
|
/**
|
|
14459
14408
|
*
|
|
14460
14409
|
* @summary Create a container
|
|
@@ -14592,17 +14541,6 @@ export const ContainersApiFactory = function (configuration, basePath, axios) {
|
|
|
14592
14541
|
cloneContainer(containerId, cloneServiceRequest, options) {
|
|
14593
14542
|
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
14594
14543
|
},
|
|
14595
|
-
/**
|
|
14596
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14597
|
-
* @summary Clone helm
|
|
14598
|
-
* @param {string} helmId Helm ID
|
|
14599
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14600
|
-
* @param {*} [options] Override http request option.
|
|
14601
|
-
* @throws {RequiredError}
|
|
14602
|
-
*/
|
|
14603
|
-
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14604
|
-
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
14605
|
-
},
|
|
14606
14544
|
/**
|
|
14607
14545
|
*
|
|
14608
14546
|
* @summary Create a container
|
|
@@ -14718,18 +14656,6 @@ export class ContainersApi extends BaseAPI {
|
|
|
14718
14656
|
cloneContainer(containerId, cloneServiceRequest, options) {
|
|
14719
14657
|
return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14720
14658
|
}
|
|
14721
|
-
/**
|
|
14722
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14723
|
-
* @summary Clone helm
|
|
14724
|
-
* @param {string} helmId Helm ID
|
|
14725
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14726
|
-
* @param {*} [options] Override http request option.
|
|
14727
|
-
* @throws {RequiredError}
|
|
14728
|
-
* @memberof ContainersApi
|
|
14729
|
-
*/
|
|
14730
|
-
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14731
|
-
return ContainersApiFp(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14732
|
-
}
|
|
14733
14659
|
/**
|
|
14734
14660
|
*
|
|
14735
14661
|
* @summary Create a container
|
|
@@ -23795,6 +23721,43 @@ export class HelmRepositoriesApi extends BaseAPI {
|
|
|
23795
23721
|
*/
|
|
23796
23722
|
export const HelmsApiAxiosParamCreator = function (configuration) {
|
|
23797
23723
|
return {
|
|
23724
|
+
/**
|
|
23725
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
23726
|
+
* @summary Clone helm
|
|
23727
|
+
* @param {string} helmId Helm ID
|
|
23728
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
23729
|
+
* @param {*} [options] Override http request option.
|
|
23730
|
+
* @throws {RequiredError}
|
|
23731
|
+
*/
|
|
23732
|
+
cloneHelm: (helmId, cloneServiceRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
23733
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
23734
|
+
assertParamExists('cloneHelm', 'helmId', helmId);
|
|
23735
|
+
const localVarPath = `/helm/{helmId}/clone`
|
|
23736
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
23737
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23738
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23739
|
+
let baseOptions;
|
|
23740
|
+
if (configuration) {
|
|
23741
|
+
baseOptions = configuration.baseOptions;
|
|
23742
|
+
}
|
|
23743
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
23744
|
+
const localVarHeaderParameter = {};
|
|
23745
|
+
const localVarQueryParameter = {};
|
|
23746
|
+
// authentication ApiKeyAuth required
|
|
23747
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
23748
|
+
// authentication bearerAuth required
|
|
23749
|
+
// http bearer authentication required
|
|
23750
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
23751
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23752
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23753
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23754
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23755
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration);
|
|
23756
|
+
return {
|
|
23757
|
+
url: toPathString(localVarUrlObj),
|
|
23758
|
+
options: localVarRequestOptions,
|
|
23759
|
+
};
|
|
23760
|
+
}),
|
|
23798
23761
|
/**
|
|
23799
23762
|
*
|
|
23800
23763
|
* @summary Create a helm
|
|
@@ -23946,6 +23909,20 @@ export const HelmsApiAxiosParamCreator = function (configuration) {
|
|
|
23946
23909
|
export const HelmsApiFp = function (configuration) {
|
|
23947
23910
|
const localVarAxiosParamCreator = HelmsApiAxiosParamCreator(configuration);
|
|
23948
23911
|
return {
|
|
23912
|
+
/**
|
|
23913
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
23914
|
+
* @summary Clone helm
|
|
23915
|
+
* @param {string} helmId Helm ID
|
|
23916
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
23917
|
+
* @param {*} [options] Override http request option.
|
|
23918
|
+
* @throws {RequiredError}
|
|
23919
|
+
*/
|
|
23920
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
23921
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23922
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
23923
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23924
|
+
});
|
|
23925
|
+
},
|
|
23949
23926
|
/**
|
|
23950
23927
|
*
|
|
23951
23928
|
* @summary Create a helm
|
|
@@ -24009,6 +23986,17 @@ export const HelmsApiFp = function (configuration) {
|
|
|
24009
23986
|
export const HelmsApiFactory = function (configuration, basePath, axios) {
|
|
24010
23987
|
const localVarFp = HelmsApiFp(configuration);
|
|
24011
23988
|
return {
|
|
23989
|
+
/**
|
|
23990
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
23991
|
+
* @summary Clone helm
|
|
23992
|
+
* @param {string} helmId Helm ID
|
|
23993
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
23994
|
+
* @param {*} [options] Override http request option.
|
|
23995
|
+
* @throws {RequiredError}
|
|
23996
|
+
*/
|
|
23997
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
23998
|
+
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
23999
|
+
},
|
|
24012
24000
|
/**
|
|
24013
24001
|
*
|
|
24014
24002
|
* @summary Create a helm
|
|
@@ -24060,6 +24048,18 @@ export const HelmsApiFactory = function (configuration, basePath, axios) {
|
|
|
24060
24048
|
* @extends {BaseAPI}
|
|
24061
24049
|
*/
|
|
24062
24050
|
export class HelmsApi extends BaseAPI {
|
|
24051
|
+
/**
|
|
24052
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
24053
|
+
* @summary Clone helm
|
|
24054
|
+
* @param {string} helmId Helm ID
|
|
24055
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
24056
|
+
* @param {*} [options] Override http request option.
|
|
24057
|
+
* @throws {RequiredError}
|
|
24058
|
+
* @memberof HelmsApi
|
|
24059
|
+
*/
|
|
24060
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
24061
|
+
return HelmsApiFp(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
24062
|
+
}
|
|
24063
24063
|
/**
|
|
24064
24064
|
*
|
|
24065
24065
|
* @summary Create a helm
|