qovery-typescript-axios 1.1.299 → 1.1.300
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 +94 -74
- package/dist/api.d.ts +50 -33
- package/dist/api.js +74 -68
- package/dist/esm/api.d.ts +50 -33
- package/dist/esm/api.js +74 -68
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7832,6 +7832,19 @@ export interface Healthcheck {
|
|
|
7832
7832
|
*/
|
|
7833
7833
|
'liveness_probe'?: Probe | null;
|
|
7834
7834
|
}
|
|
7835
|
+
/**
|
|
7836
|
+
*
|
|
7837
|
+
* @export
|
|
7838
|
+
* @interface HelmDefaultValuesRequest
|
|
7839
|
+
*/
|
|
7840
|
+
export interface HelmDefaultValuesRequest {
|
|
7841
|
+
/**
|
|
7842
|
+
*
|
|
7843
|
+
* @type {HelmRequestAllOfSource}
|
|
7844
|
+
* @memberof HelmDefaultValuesRequest
|
|
7845
|
+
*/
|
|
7846
|
+
'source': HelmRequestAllOfSource;
|
|
7847
|
+
}
|
|
7835
7848
|
/**
|
|
7836
7849
|
*
|
|
7837
7850
|
* @export
|
|
@@ -37784,47 +37797,6 @@ export const HelmMainCallsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
37784
37797
|
options: localVarRequestOptions,
|
|
37785
37798
|
};
|
|
37786
37799
|
},
|
|
37787
|
-
/**
|
|
37788
|
-
*
|
|
37789
|
-
* @summary Display the contents of the values.yaml file
|
|
37790
|
-
* @param {string} helmId Helm ID
|
|
37791
|
-
* @param {*} [options] Override http request option.
|
|
37792
|
-
* @throws {RequiredError}
|
|
37793
|
-
*/
|
|
37794
|
-
getDefaultValues: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37795
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
37796
|
-
assertParamExists('getDefaultValues', 'helmId', helmId)
|
|
37797
|
-
const localVarPath = `/helm/{helmId}/defaultValues`
|
|
37798
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
37799
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37800
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37801
|
-
let baseOptions;
|
|
37802
|
-
if (configuration) {
|
|
37803
|
-
baseOptions = configuration.baseOptions;
|
|
37804
|
-
}
|
|
37805
|
-
|
|
37806
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
37807
|
-
const localVarHeaderParameter = {} as any;
|
|
37808
|
-
const localVarQueryParameter = {} as any;
|
|
37809
|
-
|
|
37810
|
-
// authentication ApiKeyAuth required
|
|
37811
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
37812
|
-
|
|
37813
|
-
// authentication bearerAuth required
|
|
37814
|
-
// http bearer authentication required
|
|
37815
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
37816
|
-
|
|
37817
|
-
|
|
37818
|
-
|
|
37819
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37820
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37821
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37822
|
-
|
|
37823
|
-
return {
|
|
37824
|
-
url: toPathString(localVarUrlObj),
|
|
37825
|
-
options: localVarRequestOptions,
|
|
37826
|
-
};
|
|
37827
|
-
},
|
|
37828
37800
|
/**
|
|
37829
37801
|
*
|
|
37830
37802
|
* @summary Get helm by ID
|
|
@@ -37940,17 +37912,6 @@ export const HelmMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
37940
37912
|
const localVarAxiosArgs = await localVarAxiosParamCreator.editHelm(helmId, helmRequest, options);
|
|
37941
37913
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37942
37914
|
},
|
|
37943
|
-
/**
|
|
37944
|
-
*
|
|
37945
|
-
* @summary Display the contents of the values.yaml file
|
|
37946
|
-
* @param {string} helmId Helm ID
|
|
37947
|
-
* @param {*} [options] Override http request option.
|
|
37948
|
-
* @throws {RequiredError}
|
|
37949
|
-
*/
|
|
37950
|
-
async getDefaultValues(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
37951
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultValues(helmId, options);
|
|
37952
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37953
|
-
},
|
|
37954
37915
|
/**
|
|
37955
37916
|
*
|
|
37956
37917
|
* @summary Get helm by ID
|
|
@@ -38004,16 +37965,6 @@ export const HelmMainCallsApiFactory = function (configuration?: Configuration,
|
|
|
38004
37965
|
editHelm(helmId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse> {
|
|
38005
37966
|
return localVarFp.editHelm(helmId, helmRequest, options).then((request) => request(axios, basePath));
|
|
38006
37967
|
},
|
|
38007
|
-
/**
|
|
38008
|
-
*
|
|
38009
|
-
* @summary Display the contents of the values.yaml file
|
|
38010
|
-
* @param {string} helmId Helm ID
|
|
38011
|
-
* @param {*} [options] Override http request option.
|
|
38012
|
-
* @throws {RequiredError}
|
|
38013
|
-
*/
|
|
38014
|
-
getDefaultValues(helmId: string, options?: any): AxiosPromise<string> {
|
|
38015
|
-
return localVarFp.getDefaultValues(helmId, options).then((request) => request(axios, basePath));
|
|
38016
|
-
},
|
|
38017
37968
|
/**
|
|
38018
37969
|
*
|
|
38019
37970
|
* @summary Get helm by ID
|
|
@@ -38069,18 +38020,6 @@ export class HelmMainCallsApi extends BaseAPI {
|
|
|
38069
38020
|
return HelmMainCallsApiFp(this.configuration).editHelm(helmId, helmRequest, options).then((request) => request(this.axios, this.basePath));
|
|
38070
38021
|
}
|
|
38071
38022
|
|
|
38072
|
-
/**
|
|
38073
|
-
*
|
|
38074
|
-
* @summary Display the contents of the values.yaml file
|
|
38075
|
-
* @param {string} helmId Helm ID
|
|
38076
|
-
* @param {*} [options] Override http request option.
|
|
38077
|
-
* @throws {RequiredError}
|
|
38078
|
-
* @memberof HelmMainCallsApi
|
|
38079
|
-
*/
|
|
38080
|
-
public getDefaultValues(helmId: string, options?: AxiosRequestConfig) {
|
|
38081
|
-
return HelmMainCallsApiFp(this.configuration).getDefaultValues(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
38082
|
-
}
|
|
38083
|
-
|
|
38084
38023
|
/**
|
|
38085
38024
|
*
|
|
38086
38025
|
* @summary Get helm by ID
|
|
@@ -38670,6 +38609,51 @@ export const HelmsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
38670
38609
|
options: localVarRequestOptions,
|
|
38671
38610
|
};
|
|
38672
38611
|
},
|
|
38612
|
+
/**
|
|
38613
|
+
*
|
|
38614
|
+
* @summary Get helm default values
|
|
38615
|
+
* @param {string} environmentId Environment ID
|
|
38616
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
38617
|
+
* @param {*} [options] Override http request option.
|
|
38618
|
+
* @throws {RequiredError}
|
|
38619
|
+
*/
|
|
38620
|
+
createHelmDefaultValues: async (environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38621
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
38622
|
+
assertParamExists('createHelmDefaultValues', 'environmentId', environmentId)
|
|
38623
|
+
const localVarPath = `/environment/{environmentId}/helmDefaultValues`
|
|
38624
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
38625
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38626
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38627
|
+
let baseOptions;
|
|
38628
|
+
if (configuration) {
|
|
38629
|
+
baseOptions = configuration.baseOptions;
|
|
38630
|
+
}
|
|
38631
|
+
|
|
38632
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
38633
|
+
const localVarHeaderParameter = {} as any;
|
|
38634
|
+
const localVarQueryParameter = {} as any;
|
|
38635
|
+
|
|
38636
|
+
// authentication ApiKeyAuth required
|
|
38637
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
38638
|
+
|
|
38639
|
+
// authentication bearerAuth required
|
|
38640
|
+
// http bearer authentication required
|
|
38641
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38642
|
+
|
|
38643
|
+
|
|
38644
|
+
|
|
38645
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38646
|
+
|
|
38647
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38648
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38649
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38650
|
+
localVarRequestOptions.data = serializeDataIfNeeded(helmDefaultValuesRequest, localVarRequestOptions, configuration)
|
|
38651
|
+
|
|
38652
|
+
return {
|
|
38653
|
+
url: toPathString(localVarUrlObj),
|
|
38654
|
+
options: localVarRequestOptions,
|
|
38655
|
+
};
|
|
38656
|
+
},
|
|
38673
38657
|
/**
|
|
38674
38658
|
* Returns a list of helms with only their id and status.
|
|
38675
38659
|
* @summary List all environment helm statuses
|
|
@@ -38774,6 +38758,18 @@ export const HelmsApiFp = function(configuration?: Configuration) {
|
|
|
38774
38758
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createHelm(environmentId, helmRequest, options);
|
|
38775
38759
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38776
38760
|
},
|
|
38761
|
+
/**
|
|
38762
|
+
*
|
|
38763
|
+
* @summary Get helm default values
|
|
38764
|
+
* @param {string} environmentId Environment ID
|
|
38765
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
38766
|
+
* @param {*} [options] Override http request option.
|
|
38767
|
+
* @throws {RequiredError}
|
|
38768
|
+
*/
|
|
38769
|
+
async createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
38770
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options);
|
|
38771
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38772
|
+
},
|
|
38777
38773
|
/**
|
|
38778
38774
|
* Returns a list of helms with only their id and status.
|
|
38779
38775
|
* @summary List all environment helm statuses
|
|
@@ -38817,6 +38813,17 @@ export const HelmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
38817
38813
|
createHelm(environmentId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse> {
|
|
38818
38814
|
return localVarFp.createHelm(environmentId, helmRequest, options).then((request) => request(axios, basePath));
|
|
38819
38815
|
},
|
|
38816
|
+
/**
|
|
38817
|
+
*
|
|
38818
|
+
* @summary Get helm default values
|
|
38819
|
+
* @param {string} environmentId Environment ID
|
|
38820
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
38821
|
+
* @param {*} [options] Override http request option.
|
|
38822
|
+
* @throws {RequiredError}
|
|
38823
|
+
*/
|
|
38824
|
+
createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: any): AxiosPromise<string> {
|
|
38825
|
+
return localVarFp.createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options).then((request) => request(axios, basePath));
|
|
38826
|
+
},
|
|
38820
38827
|
/**
|
|
38821
38828
|
* Returns a list of helms with only their id and status.
|
|
38822
38829
|
* @summary List all environment helm statuses
|
|
@@ -38860,6 +38867,19 @@ export class HelmsApi extends BaseAPI {
|
|
|
38860
38867
|
return HelmsApiFp(this.configuration).createHelm(environmentId, helmRequest, options).then((request) => request(this.axios, this.basePath));
|
|
38861
38868
|
}
|
|
38862
38869
|
|
|
38870
|
+
/**
|
|
38871
|
+
*
|
|
38872
|
+
* @summary Get helm default values
|
|
38873
|
+
* @param {string} environmentId Environment ID
|
|
38874
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
38875
|
+
* @param {*} [options] Override http request option.
|
|
38876
|
+
* @throws {RequiredError}
|
|
38877
|
+
* @memberof HelmsApi
|
|
38878
|
+
*/
|
|
38879
|
+
public createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig) {
|
|
38880
|
+
return HelmsApiFp(this.configuration).createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
38881
|
+
}
|
|
38882
|
+
|
|
38863
38883
|
/**
|
|
38864
38884
|
* Returns a list of helms with only their id and status.
|
|
38865
38885
|
* @summary List all environment helm statuses
|
package/dist/api.d.ts
CHANGED
|
@@ -7607,6 +7607,19 @@ export interface Healthcheck {
|
|
|
7607
7607
|
*/
|
|
7608
7608
|
'liveness_probe'?: Probe | null;
|
|
7609
7609
|
}
|
|
7610
|
+
/**
|
|
7611
|
+
*
|
|
7612
|
+
* @export
|
|
7613
|
+
* @interface HelmDefaultValuesRequest
|
|
7614
|
+
*/
|
|
7615
|
+
export interface HelmDefaultValuesRequest {
|
|
7616
|
+
/**
|
|
7617
|
+
*
|
|
7618
|
+
* @type {HelmRequestAllOfSource}
|
|
7619
|
+
* @memberof HelmDefaultValuesRequest
|
|
7620
|
+
*/
|
|
7621
|
+
'source': HelmRequestAllOfSource;
|
|
7622
|
+
}
|
|
7610
7623
|
/**
|
|
7611
7624
|
*
|
|
7612
7625
|
* @export
|
|
@@ -24822,14 +24835,6 @@ export declare const HelmMainCallsApiAxiosParamCreator: (configuration?: Configu
|
|
|
24822
24835
|
* @throws {RequiredError}
|
|
24823
24836
|
*/
|
|
24824
24837
|
editHelm: (helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24825
|
-
/**
|
|
24826
|
-
*
|
|
24827
|
-
* @summary Display the contents of the values.yaml file
|
|
24828
|
-
* @param {string} helmId Helm ID
|
|
24829
|
-
* @param {*} [options] Override http request option.
|
|
24830
|
-
* @throws {RequiredError}
|
|
24831
|
-
*/
|
|
24832
|
-
getDefaultValues: (helmId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24833
24838
|
/**
|
|
24834
24839
|
*
|
|
24835
24840
|
* @summary Get helm by ID
|
|
@@ -24869,14 +24874,6 @@ export declare const HelmMainCallsApiFp: (configuration?: Configuration) => {
|
|
|
24869
24874
|
* @throws {RequiredError}
|
|
24870
24875
|
*/
|
|
24871
24876
|
editHelm(helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
24872
|
-
/**
|
|
24873
|
-
*
|
|
24874
|
-
* @summary Display the contents of the values.yaml file
|
|
24875
|
-
* @param {string} helmId Helm ID
|
|
24876
|
-
* @param {*} [options] Override http request option.
|
|
24877
|
-
* @throws {RequiredError}
|
|
24878
|
-
*/
|
|
24879
|
-
getDefaultValues(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
24880
24877
|
/**
|
|
24881
24878
|
*
|
|
24882
24879
|
* @summary Get helm by ID
|
|
@@ -24916,14 +24913,6 @@ export declare const HelmMainCallsApiFactory: (configuration?: Configuration, ba
|
|
|
24916
24913
|
* @throws {RequiredError}
|
|
24917
24914
|
*/
|
|
24918
24915
|
editHelm(helmId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
24919
|
-
/**
|
|
24920
|
-
*
|
|
24921
|
-
* @summary Display the contents of the values.yaml file
|
|
24922
|
-
* @param {string} helmId Helm ID
|
|
24923
|
-
* @param {*} [options] Override http request option.
|
|
24924
|
-
* @throws {RequiredError}
|
|
24925
|
-
*/
|
|
24926
|
-
getDefaultValues(helmId: string, options?: any): AxiosPromise<string>;
|
|
24927
24916
|
/**
|
|
24928
24917
|
*
|
|
24929
24918
|
* @summary Get helm by ID
|
|
@@ -24967,15 +24956,6 @@ export declare class HelmMainCallsApi extends BaseAPI {
|
|
|
24967
24956
|
* @memberof HelmMainCallsApi
|
|
24968
24957
|
*/
|
|
24969
24958
|
editHelm(helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
24970
|
-
/**
|
|
24971
|
-
*
|
|
24972
|
-
* @summary Display the contents of the values.yaml file
|
|
24973
|
-
* @param {string} helmId Helm ID
|
|
24974
|
-
* @param {*} [options] Override http request option.
|
|
24975
|
-
* @throws {RequiredError}
|
|
24976
|
-
* @memberof HelmMainCallsApi
|
|
24977
|
-
*/
|
|
24978
|
-
getDefaultValues(helmId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
24979
24959
|
/**
|
|
24980
24960
|
*
|
|
24981
24961
|
* @summary Get helm by ID
|
|
@@ -25249,6 +25229,15 @@ export declare const HelmsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
25249
25229
|
* @throws {RequiredError}
|
|
25250
25230
|
*/
|
|
25251
25231
|
createHelm: (environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25232
|
+
/**
|
|
25233
|
+
*
|
|
25234
|
+
* @summary Get helm default values
|
|
25235
|
+
* @param {string} environmentId Environment ID
|
|
25236
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
25237
|
+
* @param {*} [options] Override http request option.
|
|
25238
|
+
* @throws {RequiredError}
|
|
25239
|
+
*/
|
|
25240
|
+
createHelmDefaultValues: (environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25252
25241
|
/**
|
|
25253
25242
|
* Returns a list of helms with only their id and status.
|
|
25254
25243
|
* @summary List all environment helm statuses
|
|
@@ -25280,6 +25269,15 @@ export declare const HelmsApiFp: (configuration?: Configuration) => {
|
|
|
25280
25269
|
* @throws {RequiredError}
|
|
25281
25270
|
*/
|
|
25282
25271
|
createHelm(environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
25272
|
+
/**
|
|
25273
|
+
*
|
|
25274
|
+
* @summary Get helm default values
|
|
25275
|
+
* @param {string} environmentId Environment ID
|
|
25276
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
25277
|
+
* @param {*} [options] Override http request option.
|
|
25278
|
+
* @throws {RequiredError}
|
|
25279
|
+
*/
|
|
25280
|
+
createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
25283
25281
|
/**
|
|
25284
25282
|
* Returns a list of helms with only their id and status.
|
|
25285
25283
|
* @summary List all environment helm statuses
|
|
@@ -25311,6 +25309,15 @@ export declare const HelmsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
25311
25309
|
* @throws {RequiredError}
|
|
25312
25310
|
*/
|
|
25313
25311
|
createHelm(environmentId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
25312
|
+
/**
|
|
25313
|
+
*
|
|
25314
|
+
* @summary Get helm default values
|
|
25315
|
+
* @param {string} environmentId Environment ID
|
|
25316
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
25317
|
+
* @param {*} [options] Override http request option.
|
|
25318
|
+
* @throws {RequiredError}
|
|
25319
|
+
*/
|
|
25320
|
+
createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: any): AxiosPromise<string>;
|
|
25314
25321
|
/**
|
|
25315
25322
|
* Returns a list of helms with only their id and status.
|
|
25316
25323
|
* @summary List all environment helm statuses
|
|
@@ -25345,6 +25352,16 @@ export declare class HelmsApi extends BaseAPI {
|
|
|
25345
25352
|
* @memberof HelmsApi
|
|
25346
25353
|
*/
|
|
25347
25354
|
createHelm(environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
25355
|
+
/**
|
|
25356
|
+
*
|
|
25357
|
+
* @summary Get helm default values
|
|
25358
|
+
* @param {string} environmentId Environment ID
|
|
25359
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
25360
|
+
* @param {*} [options] Override http request option.
|
|
25361
|
+
* @throws {RequiredError}
|
|
25362
|
+
* @memberof HelmsApi
|
|
25363
|
+
*/
|
|
25364
|
+
createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
25348
25365
|
/**
|
|
25349
25366
|
* Returns a list of helms with only their id and status.
|
|
25350
25367
|
* @summary List all environment helm statuses
|
package/dist/api.js
CHANGED
|
@@ -22515,40 +22515,6 @@ const HelmMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
22515
22515
|
options: localVarRequestOptions,
|
|
22516
22516
|
};
|
|
22517
22517
|
}),
|
|
22518
|
-
/**
|
|
22519
|
-
*
|
|
22520
|
-
* @summary Display the contents of the values.yaml file
|
|
22521
|
-
* @param {string} helmId Helm ID
|
|
22522
|
-
* @param {*} [options] Override http request option.
|
|
22523
|
-
* @throws {RequiredError}
|
|
22524
|
-
*/
|
|
22525
|
-
getDefaultValues: (helmId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
22526
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
22527
|
-
(0, common_1.assertParamExists)('getDefaultValues', 'helmId', helmId);
|
|
22528
|
-
const localVarPath = `/helm/{helmId}/defaultValues`
|
|
22529
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
22530
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22531
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22532
|
-
let baseOptions;
|
|
22533
|
-
if (configuration) {
|
|
22534
|
-
baseOptions = configuration.baseOptions;
|
|
22535
|
-
}
|
|
22536
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
22537
|
-
const localVarHeaderParameter = {};
|
|
22538
|
-
const localVarQueryParameter = {};
|
|
22539
|
-
// authentication ApiKeyAuth required
|
|
22540
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
22541
|
-
// authentication bearerAuth required
|
|
22542
|
-
// http bearer authentication required
|
|
22543
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
22544
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22545
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22546
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22547
|
-
return {
|
|
22548
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
22549
|
-
options: localVarRequestOptions,
|
|
22550
|
-
};
|
|
22551
|
-
}),
|
|
22552
22518
|
/**
|
|
22553
22519
|
*
|
|
22554
22520
|
* @summary Get helm by ID
|
|
@@ -22654,19 +22620,6 @@ const HelmMainCallsApiFp = function (configuration) {
|
|
|
22654
22620
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
22655
22621
|
});
|
|
22656
22622
|
},
|
|
22657
|
-
/**
|
|
22658
|
-
*
|
|
22659
|
-
* @summary Display the contents of the values.yaml file
|
|
22660
|
-
* @param {string} helmId Helm ID
|
|
22661
|
-
* @param {*} [options] Override http request option.
|
|
22662
|
-
* @throws {RequiredError}
|
|
22663
|
-
*/
|
|
22664
|
-
getDefaultValues(helmId, options) {
|
|
22665
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22666
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDefaultValues(helmId, options);
|
|
22667
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
22668
|
-
});
|
|
22669
|
-
},
|
|
22670
22623
|
/**
|
|
22671
22624
|
*
|
|
22672
22625
|
* @summary Get helm by ID
|
|
@@ -22724,16 +22677,6 @@ const HelmMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
22724
22677
|
editHelm(helmId, helmRequest, options) {
|
|
22725
22678
|
return localVarFp.editHelm(helmId, helmRequest, options).then((request) => request(axios, basePath));
|
|
22726
22679
|
},
|
|
22727
|
-
/**
|
|
22728
|
-
*
|
|
22729
|
-
* @summary Display the contents of the values.yaml file
|
|
22730
|
-
* @param {string} helmId Helm ID
|
|
22731
|
-
* @param {*} [options] Override http request option.
|
|
22732
|
-
* @throws {RequiredError}
|
|
22733
|
-
*/
|
|
22734
|
-
getDefaultValues(helmId, options) {
|
|
22735
|
-
return localVarFp.getDefaultValues(helmId, options).then((request) => request(axios, basePath));
|
|
22736
|
-
},
|
|
22737
22680
|
/**
|
|
22738
22681
|
*
|
|
22739
22682
|
* @summary Get helm by ID
|
|
@@ -22787,17 +22730,6 @@ class HelmMainCallsApi extends base_1.BaseAPI {
|
|
|
22787
22730
|
editHelm(helmId, helmRequest, options) {
|
|
22788
22731
|
return (0, exports.HelmMainCallsApiFp)(this.configuration).editHelm(helmId, helmRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22789
22732
|
}
|
|
22790
|
-
/**
|
|
22791
|
-
*
|
|
22792
|
-
* @summary Display the contents of the values.yaml file
|
|
22793
|
-
* @param {string} helmId Helm ID
|
|
22794
|
-
* @param {*} [options] Override http request option.
|
|
22795
|
-
* @throws {RequiredError}
|
|
22796
|
-
* @memberof HelmMainCallsApi
|
|
22797
|
-
*/
|
|
22798
|
-
getDefaultValues(helmId, options) {
|
|
22799
|
-
return (0, exports.HelmMainCallsApiFp)(this.configuration).getDefaultValues(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
22800
|
-
}
|
|
22801
22733
|
/**
|
|
22802
22734
|
*
|
|
22803
22735
|
* @summary Get helm by ID
|
|
@@ -23337,6 +23269,43 @@ const HelmsApiAxiosParamCreator = function (configuration) {
|
|
|
23337
23269
|
options: localVarRequestOptions,
|
|
23338
23270
|
};
|
|
23339
23271
|
}),
|
|
23272
|
+
/**
|
|
23273
|
+
*
|
|
23274
|
+
* @summary Get helm default values
|
|
23275
|
+
* @param {string} environmentId Environment ID
|
|
23276
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
23277
|
+
* @param {*} [options] Override http request option.
|
|
23278
|
+
* @throws {RequiredError}
|
|
23279
|
+
*/
|
|
23280
|
+
createHelmDefaultValues: (environmentId, helmDefaultValuesRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
23281
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
23282
|
+
(0, common_1.assertParamExists)('createHelmDefaultValues', 'environmentId', environmentId);
|
|
23283
|
+
const localVarPath = `/environment/{environmentId}/helmDefaultValues`
|
|
23284
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
23285
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23286
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23287
|
+
let baseOptions;
|
|
23288
|
+
if (configuration) {
|
|
23289
|
+
baseOptions = configuration.baseOptions;
|
|
23290
|
+
}
|
|
23291
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
23292
|
+
const localVarHeaderParameter = {};
|
|
23293
|
+
const localVarQueryParameter = {};
|
|
23294
|
+
// authentication ApiKeyAuth required
|
|
23295
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
23296
|
+
// authentication bearerAuth required
|
|
23297
|
+
// http bearer authentication required
|
|
23298
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
23299
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23300
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
23301
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23302
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23303
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(helmDefaultValuesRequest, localVarRequestOptions, configuration);
|
|
23304
|
+
return {
|
|
23305
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
23306
|
+
options: localVarRequestOptions,
|
|
23307
|
+
};
|
|
23308
|
+
}),
|
|
23340
23309
|
/**
|
|
23341
23310
|
* Returns a list of helms with only their id and status.
|
|
23342
23311
|
* @summary List all environment helm statuses
|
|
@@ -23429,6 +23398,20 @@ const HelmsApiFp = function (configuration) {
|
|
|
23429
23398
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
23430
23399
|
});
|
|
23431
23400
|
},
|
|
23401
|
+
/**
|
|
23402
|
+
*
|
|
23403
|
+
* @summary Get helm default values
|
|
23404
|
+
* @param {string} environmentId Environment ID
|
|
23405
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
23406
|
+
* @param {*} [options] Override http request option.
|
|
23407
|
+
* @throws {RequiredError}
|
|
23408
|
+
*/
|
|
23409
|
+
createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options) {
|
|
23410
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23411
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options);
|
|
23412
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
23413
|
+
});
|
|
23414
|
+
},
|
|
23432
23415
|
/**
|
|
23433
23416
|
* Returns a list of helms with only their id and status.
|
|
23434
23417
|
* @summary List all environment helm statuses
|
|
@@ -23476,6 +23459,17 @@ const HelmsApiFactory = function (configuration, basePath, axios) {
|
|
|
23476
23459
|
createHelm(environmentId, helmRequest, options) {
|
|
23477
23460
|
return localVarFp.createHelm(environmentId, helmRequest, options).then((request) => request(axios, basePath));
|
|
23478
23461
|
},
|
|
23462
|
+
/**
|
|
23463
|
+
*
|
|
23464
|
+
* @summary Get helm default values
|
|
23465
|
+
* @param {string} environmentId Environment ID
|
|
23466
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
23467
|
+
* @param {*} [options] Override http request option.
|
|
23468
|
+
* @throws {RequiredError}
|
|
23469
|
+
*/
|
|
23470
|
+
createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options) {
|
|
23471
|
+
return localVarFp.createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options).then((request) => request(axios, basePath));
|
|
23472
|
+
},
|
|
23479
23473
|
/**
|
|
23480
23474
|
* Returns a list of helms with only their id and status.
|
|
23481
23475
|
* @summary List all environment helm statuses
|
|
@@ -23518,6 +23512,18 @@ class HelmsApi extends base_1.BaseAPI {
|
|
|
23518
23512
|
createHelm(environmentId, helmRequest, options) {
|
|
23519
23513
|
return (0, exports.HelmsApiFp)(this.configuration).createHelm(environmentId, helmRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23520
23514
|
}
|
|
23515
|
+
/**
|
|
23516
|
+
*
|
|
23517
|
+
* @summary Get helm default values
|
|
23518
|
+
* @param {string} environmentId Environment ID
|
|
23519
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
23520
|
+
* @param {*} [options] Override http request option.
|
|
23521
|
+
* @throws {RequiredError}
|
|
23522
|
+
* @memberof HelmsApi
|
|
23523
|
+
*/
|
|
23524
|
+
createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options) {
|
|
23525
|
+
return (0, exports.HelmsApiFp)(this.configuration).createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23526
|
+
}
|
|
23521
23527
|
/**
|
|
23522
23528
|
* Returns a list of helms with only their id and status.
|
|
23523
23529
|
* @summary List all environment helm statuses
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -7607,6 +7607,19 @@ export interface Healthcheck {
|
|
|
7607
7607
|
*/
|
|
7608
7608
|
'liveness_probe'?: Probe | null;
|
|
7609
7609
|
}
|
|
7610
|
+
/**
|
|
7611
|
+
*
|
|
7612
|
+
* @export
|
|
7613
|
+
* @interface HelmDefaultValuesRequest
|
|
7614
|
+
*/
|
|
7615
|
+
export interface HelmDefaultValuesRequest {
|
|
7616
|
+
/**
|
|
7617
|
+
*
|
|
7618
|
+
* @type {HelmRequestAllOfSource}
|
|
7619
|
+
* @memberof HelmDefaultValuesRequest
|
|
7620
|
+
*/
|
|
7621
|
+
'source': HelmRequestAllOfSource;
|
|
7622
|
+
}
|
|
7610
7623
|
/**
|
|
7611
7624
|
*
|
|
7612
7625
|
* @export
|
|
@@ -24822,14 +24835,6 @@ export declare const HelmMainCallsApiAxiosParamCreator: (configuration?: Configu
|
|
|
24822
24835
|
* @throws {RequiredError}
|
|
24823
24836
|
*/
|
|
24824
24837
|
editHelm: (helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24825
|
-
/**
|
|
24826
|
-
*
|
|
24827
|
-
* @summary Display the contents of the values.yaml file
|
|
24828
|
-
* @param {string} helmId Helm ID
|
|
24829
|
-
* @param {*} [options] Override http request option.
|
|
24830
|
-
* @throws {RequiredError}
|
|
24831
|
-
*/
|
|
24832
|
-
getDefaultValues: (helmId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24833
24838
|
/**
|
|
24834
24839
|
*
|
|
24835
24840
|
* @summary Get helm by ID
|
|
@@ -24869,14 +24874,6 @@ export declare const HelmMainCallsApiFp: (configuration?: Configuration) => {
|
|
|
24869
24874
|
* @throws {RequiredError}
|
|
24870
24875
|
*/
|
|
24871
24876
|
editHelm(helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
24872
|
-
/**
|
|
24873
|
-
*
|
|
24874
|
-
* @summary Display the contents of the values.yaml file
|
|
24875
|
-
* @param {string} helmId Helm ID
|
|
24876
|
-
* @param {*} [options] Override http request option.
|
|
24877
|
-
* @throws {RequiredError}
|
|
24878
|
-
*/
|
|
24879
|
-
getDefaultValues(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
24880
24877
|
/**
|
|
24881
24878
|
*
|
|
24882
24879
|
* @summary Get helm by ID
|
|
@@ -24916,14 +24913,6 @@ export declare const HelmMainCallsApiFactory: (configuration?: Configuration, ba
|
|
|
24916
24913
|
* @throws {RequiredError}
|
|
24917
24914
|
*/
|
|
24918
24915
|
editHelm(helmId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
24919
|
-
/**
|
|
24920
|
-
*
|
|
24921
|
-
* @summary Display the contents of the values.yaml file
|
|
24922
|
-
* @param {string} helmId Helm ID
|
|
24923
|
-
* @param {*} [options] Override http request option.
|
|
24924
|
-
* @throws {RequiredError}
|
|
24925
|
-
*/
|
|
24926
|
-
getDefaultValues(helmId: string, options?: any): AxiosPromise<string>;
|
|
24927
24916
|
/**
|
|
24928
24917
|
*
|
|
24929
24918
|
* @summary Get helm by ID
|
|
@@ -24967,15 +24956,6 @@ export declare class HelmMainCallsApi extends BaseAPI {
|
|
|
24967
24956
|
* @memberof HelmMainCallsApi
|
|
24968
24957
|
*/
|
|
24969
24958
|
editHelm(helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
24970
|
-
/**
|
|
24971
|
-
*
|
|
24972
|
-
* @summary Display the contents of the values.yaml file
|
|
24973
|
-
* @param {string} helmId Helm ID
|
|
24974
|
-
* @param {*} [options] Override http request option.
|
|
24975
|
-
* @throws {RequiredError}
|
|
24976
|
-
* @memberof HelmMainCallsApi
|
|
24977
|
-
*/
|
|
24978
|
-
getDefaultValues(helmId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
24979
24959
|
/**
|
|
24980
24960
|
*
|
|
24981
24961
|
* @summary Get helm by ID
|
|
@@ -25249,6 +25229,15 @@ export declare const HelmsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
25249
25229
|
* @throws {RequiredError}
|
|
25250
25230
|
*/
|
|
25251
25231
|
createHelm: (environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25232
|
+
/**
|
|
25233
|
+
*
|
|
25234
|
+
* @summary Get helm default values
|
|
25235
|
+
* @param {string} environmentId Environment ID
|
|
25236
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
25237
|
+
* @param {*} [options] Override http request option.
|
|
25238
|
+
* @throws {RequiredError}
|
|
25239
|
+
*/
|
|
25240
|
+
createHelmDefaultValues: (environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25252
25241
|
/**
|
|
25253
25242
|
* Returns a list of helms with only their id and status.
|
|
25254
25243
|
* @summary List all environment helm statuses
|
|
@@ -25280,6 +25269,15 @@ export declare const HelmsApiFp: (configuration?: Configuration) => {
|
|
|
25280
25269
|
* @throws {RequiredError}
|
|
25281
25270
|
*/
|
|
25282
25271
|
createHelm(environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
25272
|
+
/**
|
|
25273
|
+
*
|
|
25274
|
+
* @summary Get helm default values
|
|
25275
|
+
* @param {string} environmentId Environment ID
|
|
25276
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
25277
|
+
* @param {*} [options] Override http request option.
|
|
25278
|
+
* @throws {RequiredError}
|
|
25279
|
+
*/
|
|
25280
|
+
createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
25283
25281
|
/**
|
|
25284
25282
|
* Returns a list of helms with only their id and status.
|
|
25285
25283
|
* @summary List all environment helm statuses
|
|
@@ -25311,6 +25309,15 @@ export declare const HelmsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
25311
25309
|
* @throws {RequiredError}
|
|
25312
25310
|
*/
|
|
25313
25311
|
createHelm(environmentId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
25312
|
+
/**
|
|
25313
|
+
*
|
|
25314
|
+
* @summary Get helm default values
|
|
25315
|
+
* @param {string} environmentId Environment ID
|
|
25316
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
25317
|
+
* @param {*} [options] Override http request option.
|
|
25318
|
+
* @throws {RequiredError}
|
|
25319
|
+
*/
|
|
25320
|
+
createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: any): AxiosPromise<string>;
|
|
25314
25321
|
/**
|
|
25315
25322
|
* Returns a list of helms with only their id and status.
|
|
25316
25323
|
* @summary List all environment helm statuses
|
|
@@ -25345,6 +25352,16 @@ export declare class HelmsApi extends BaseAPI {
|
|
|
25345
25352
|
* @memberof HelmsApi
|
|
25346
25353
|
*/
|
|
25347
25354
|
createHelm(environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
25355
|
+
/**
|
|
25356
|
+
*
|
|
25357
|
+
* @summary Get helm default values
|
|
25358
|
+
* @param {string} environmentId Environment ID
|
|
25359
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
25360
|
+
* @param {*} [options] Override http request option.
|
|
25361
|
+
* @throws {RequiredError}
|
|
25362
|
+
* @memberof HelmsApi
|
|
25363
|
+
*/
|
|
25364
|
+
createHelmDefaultValues(environmentId: string, helmDefaultValuesRequest?: HelmDefaultValuesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
25348
25365
|
/**
|
|
25349
25366
|
* Returns a list of helms with only their id and status.
|
|
25350
25367
|
* @summary List all environment helm statuses
|
package/dist/esm/api.js
CHANGED
|
@@ -22297,40 +22297,6 @@ export const HelmMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
22297
22297
|
options: localVarRequestOptions,
|
|
22298
22298
|
};
|
|
22299
22299
|
}),
|
|
22300
|
-
/**
|
|
22301
|
-
*
|
|
22302
|
-
* @summary Display the contents of the values.yaml file
|
|
22303
|
-
* @param {string} helmId Helm ID
|
|
22304
|
-
* @param {*} [options] Override http request option.
|
|
22305
|
-
* @throws {RequiredError}
|
|
22306
|
-
*/
|
|
22307
|
-
getDefaultValues: (helmId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
22308
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
22309
|
-
assertParamExists('getDefaultValues', 'helmId', helmId);
|
|
22310
|
-
const localVarPath = `/helm/{helmId}/defaultValues`
|
|
22311
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
22312
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22313
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22314
|
-
let baseOptions;
|
|
22315
|
-
if (configuration) {
|
|
22316
|
-
baseOptions = configuration.baseOptions;
|
|
22317
|
-
}
|
|
22318
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
22319
|
-
const localVarHeaderParameter = {};
|
|
22320
|
-
const localVarQueryParameter = {};
|
|
22321
|
-
// authentication ApiKeyAuth required
|
|
22322
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
22323
|
-
// authentication bearerAuth required
|
|
22324
|
-
// http bearer authentication required
|
|
22325
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
22326
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22327
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22328
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22329
|
-
return {
|
|
22330
|
-
url: toPathString(localVarUrlObj),
|
|
22331
|
-
options: localVarRequestOptions,
|
|
22332
|
-
};
|
|
22333
|
-
}),
|
|
22334
22300
|
/**
|
|
22335
22301
|
*
|
|
22336
22302
|
* @summary Get helm by ID
|
|
@@ -22435,19 +22401,6 @@ export const HelmMainCallsApiFp = function (configuration) {
|
|
|
22435
22401
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22436
22402
|
});
|
|
22437
22403
|
},
|
|
22438
|
-
/**
|
|
22439
|
-
*
|
|
22440
|
-
* @summary Display the contents of the values.yaml file
|
|
22441
|
-
* @param {string} helmId Helm ID
|
|
22442
|
-
* @param {*} [options] Override http request option.
|
|
22443
|
-
* @throws {RequiredError}
|
|
22444
|
-
*/
|
|
22445
|
-
getDefaultValues(helmId, options) {
|
|
22446
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22447
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDefaultValues(helmId, options);
|
|
22448
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22449
|
-
});
|
|
22450
|
-
},
|
|
22451
22404
|
/**
|
|
22452
22405
|
*
|
|
22453
22406
|
* @summary Get helm by ID
|
|
@@ -22504,16 +22457,6 @@ export const HelmMainCallsApiFactory = function (configuration, basePath, axios)
|
|
|
22504
22457
|
editHelm(helmId, helmRequest, options) {
|
|
22505
22458
|
return localVarFp.editHelm(helmId, helmRequest, options).then((request) => request(axios, basePath));
|
|
22506
22459
|
},
|
|
22507
|
-
/**
|
|
22508
|
-
*
|
|
22509
|
-
* @summary Display the contents of the values.yaml file
|
|
22510
|
-
* @param {string} helmId Helm ID
|
|
22511
|
-
* @param {*} [options] Override http request option.
|
|
22512
|
-
* @throws {RequiredError}
|
|
22513
|
-
*/
|
|
22514
|
-
getDefaultValues(helmId, options) {
|
|
22515
|
-
return localVarFp.getDefaultValues(helmId, options).then((request) => request(axios, basePath));
|
|
22516
|
-
},
|
|
22517
22460
|
/**
|
|
22518
22461
|
*
|
|
22519
22462
|
* @summary Get helm by ID
|
|
@@ -22566,17 +22509,6 @@ export class HelmMainCallsApi extends BaseAPI {
|
|
|
22566
22509
|
editHelm(helmId, helmRequest, options) {
|
|
22567
22510
|
return HelmMainCallsApiFp(this.configuration).editHelm(helmId, helmRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22568
22511
|
}
|
|
22569
|
-
/**
|
|
22570
|
-
*
|
|
22571
|
-
* @summary Display the contents of the values.yaml file
|
|
22572
|
-
* @param {string} helmId Helm ID
|
|
22573
|
-
* @param {*} [options] Override http request option.
|
|
22574
|
-
* @throws {RequiredError}
|
|
22575
|
-
* @memberof HelmMainCallsApi
|
|
22576
|
-
*/
|
|
22577
|
-
getDefaultValues(helmId, options) {
|
|
22578
|
-
return HelmMainCallsApiFp(this.configuration).getDefaultValues(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
22579
|
-
}
|
|
22580
22512
|
/**
|
|
22581
22513
|
*
|
|
22582
22514
|
* @summary Get helm by ID
|
|
@@ -23111,6 +23043,43 @@ export const HelmsApiAxiosParamCreator = function (configuration) {
|
|
|
23111
23043
|
options: localVarRequestOptions,
|
|
23112
23044
|
};
|
|
23113
23045
|
}),
|
|
23046
|
+
/**
|
|
23047
|
+
*
|
|
23048
|
+
* @summary Get helm default values
|
|
23049
|
+
* @param {string} environmentId Environment ID
|
|
23050
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
23051
|
+
* @param {*} [options] Override http request option.
|
|
23052
|
+
* @throws {RequiredError}
|
|
23053
|
+
*/
|
|
23054
|
+
createHelmDefaultValues: (environmentId, helmDefaultValuesRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
23055
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
23056
|
+
assertParamExists('createHelmDefaultValues', 'environmentId', environmentId);
|
|
23057
|
+
const localVarPath = `/environment/{environmentId}/helmDefaultValues`
|
|
23058
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
23059
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23060
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23061
|
+
let baseOptions;
|
|
23062
|
+
if (configuration) {
|
|
23063
|
+
baseOptions = configuration.baseOptions;
|
|
23064
|
+
}
|
|
23065
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
23066
|
+
const localVarHeaderParameter = {};
|
|
23067
|
+
const localVarQueryParameter = {};
|
|
23068
|
+
// authentication ApiKeyAuth required
|
|
23069
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
23070
|
+
// authentication bearerAuth required
|
|
23071
|
+
// http bearer authentication required
|
|
23072
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
23073
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23074
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23075
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23076
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23077
|
+
localVarRequestOptions.data = serializeDataIfNeeded(helmDefaultValuesRequest, localVarRequestOptions, configuration);
|
|
23078
|
+
return {
|
|
23079
|
+
url: toPathString(localVarUrlObj),
|
|
23080
|
+
options: localVarRequestOptions,
|
|
23081
|
+
};
|
|
23082
|
+
}),
|
|
23114
23083
|
/**
|
|
23115
23084
|
* Returns a list of helms with only their id and status.
|
|
23116
23085
|
* @summary List all environment helm statuses
|
|
@@ -23202,6 +23171,20 @@ export const HelmsApiFp = function (configuration) {
|
|
|
23202
23171
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23203
23172
|
});
|
|
23204
23173
|
},
|
|
23174
|
+
/**
|
|
23175
|
+
*
|
|
23176
|
+
* @summary Get helm default values
|
|
23177
|
+
* @param {string} environmentId Environment ID
|
|
23178
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
23179
|
+
* @param {*} [options] Override http request option.
|
|
23180
|
+
* @throws {RequiredError}
|
|
23181
|
+
*/
|
|
23182
|
+
createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options) {
|
|
23183
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23184
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options);
|
|
23185
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23186
|
+
});
|
|
23187
|
+
},
|
|
23205
23188
|
/**
|
|
23206
23189
|
* Returns a list of helms with only their id and status.
|
|
23207
23190
|
* @summary List all environment helm statuses
|
|
@@ -23248,6 +23231,17 @@ export const HelmsApiFactory = function (configuration, basePath, axios) {
|
|
|
23248
23231
|
createHelm(environmentId, helmRequest, options) {
|
|
23249
23232
|
return localVarFp.createHelm(environmentId, helmRequest, options).then((request) => request(axios, basePath));
|
|
23250
23233
|
},
|
|
23234
|
+
/**
|
|
23235
|
+
*
|
|
23236
|
+
* @summary Get helm default values
|
|
23237
|
+
* @param {string} environmentId Environment ID
|
|
23238
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
23239
|
+
* @param {*} [options] Override http request option.
|
|
23240
|
+
* @throws {RequiredError}
|
|
23241
|
+
*/
|
|
23242
|
+
createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options) {
|
|
23243
|
+
return localVarFp.createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options).then((request) => request(axios, basePath));
|
|
23244
|
+
},
|
|
23251
23245
|
/**
|
|
23252
23246
|
* Returns a list of helms with only their id and status.
|
|
23253
23247
|
* @summary List all environment helm statuses
|
|
@@ -23289,6 +23283,18 @@ export class HelmsApi extends BaseAPI {
|
|
|
23289
23283
|
createHelm(environmentId, helmRequest, options) {
|
|
23290
23284
|
return HelmsApiFp(this.configuration).createHelm(environmentId, helmRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23291
23285
|
}
|
|
23286
|
+
/**
|
|
23287
|
+
*
|
|
23288
|
+
* @summary Get helm default values
|
|
23289
|
+
* @param {string} environmentId Environment ID
|
|
23290
|
+
* @param {HelmDefaultValuesRequest} [helmDefaultValuesRequest]
|
|
23291
|
+
* @param {*} [options] Override http request option.
|
|
23292
|
+
* @throws {RequiredError}
|
|
23293
|
+
* @memberof HelmsApi
|
|
23294
|
+
*/
|
|
23295
|
+
createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options) {
|
|
23296
|
+
return HelmsApiFp(this.configuration).createHelmDefaultValues(environmentId, helmDefaultValuesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23297
|
+
}
|
|
23292
23298
|
/**
|
|
23293
23299
|
* Returns a list of helms with only their id and status.
|
|
23294
23300
|
* @summary List all environment helm statuses
|