qovery-typescript-axios 1.1.417 → 1.1.418
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 +121 -0
- package/dist/api.d.ts +73 -0
- package/dist/api.js +82 -0
- package/dist/esm/api.d.ts +73 -0
- package/dist/esm/api.js +82 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -8802,6 +8802,38 @@ export interface HelmResponseList {
|
|
|
8802
8802
|
*/
|
|
8803
8803
|
'results'?: Array<HelmResponse>;
|
|
8804
8804
|
}
|
|
8805
|
+
/**
|
|
8806
|
+
*
|
|
8807
|
+
* @export
|
|
8808
|
+
* @interface HelmVersionResponse
|
|
8809
|
+
*/
|
|
8810
|
+
export interface HelmVersionResponse {
|
|
8811
|
+
/**
|
|
8812
|
+
*
|
|
8813
|
+
* @type {string}
|
|
8814
|
+
* @memberof HelmVersionResponse
|
|
8815
|
+
*/
|
|
8816
|
+
'chart_name'?: string;
|
|
8817
|
+
/**
|
|
8818
|
+
*
|
|
8819
|
+
* @type {Array<string>}
|
|
8820
|
+
* @memberof HelmVersionResponse
|
|
8821
|
+
*/
|
|
8822
|
+
'versions'?: Array<string>;
|
|
8823
|
+
}
|
|
8824
|
+
/**
|
|
8825
|
+
*
|
|
8826
|
+
* @export
|
|
8827
|
+
* @interface HelmVersionResponseList
|
|
8828
|
+
*/
|
|
8829
|
+
export interface HelmVersionResponseList {
|
|
8830
|
+
/**
|
|
8831
|
+
*
|
|
8832
|
+
* @type {Array<HelmVersionResponse>}
|
|
8833
|
+
* @memberof HelmVersionResponseList
|
|
8834
|
+
*/
|
|
8835
|
+
'results'?: Array<HelmVersionResponse>;
|
|
8836
|
+
}
|
|
8805
8837
|
/**
|
|
8806
8838
|
*
|
|
8807
8839
|
* @export
|
|
@@ -37394,6 +37426,56 @@ export const HelmRepositoriesApiAxiosParamCreator = function (configuration?: Co
|
|
|
37394
37426
|
options: localVarRequestOptions,
|
|
37395
37427
|
};
|
|
37396
37428
|
},
|
|
37429
|
+
/**
|
|
37430
|
+
*
|
|
37431
|
+
* @summary List helm charts contained inside the repository
|
|
37432
|
+
* @param {string} organizationId Organization ID
|
|
37433
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
37434
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
37435
|
+
* @param {*} [options] Override http request option.
|
|
37436
|
+
* @throws {RequiredError}
|
|
37437
|
+
*/
|
|
37438
|
+
getHelmCharts: async (organizationId: string, helmRepositoryId: string, chartName?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37439
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
37440
|
+
assertParamExists('getHelmCharts', 'organizationId', organizationId)
|
|
37441
|
+
// verify required parameter 'helmRepositoryId' is not null or undefined
|
|
37442
|
+
assertParamExists('getHelmCharts', 'helmRepositoryId', helmRepositoryId)
|
|
37443
|
+
const localVarPath = `/organization/{organizationId}/helmRepository/{helmRepositoryId}/charts`
|
|
37444
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
37445
|
+
.replace(`{${"helmRepositoryId"}}`, encodeURIComponent(String(helmRepositoryId)));
|
|
37446
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37447
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37448
|
+
let baseOptions;
|
|
37449
|
+
if (configuration) {
|
|
37450
|
+
baseOptions = configuration.baseOptions;
|
|
37451
|
+
}
|
|
37452
|
+
|
|
37453
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
37454
|
+
const localVarHeaderParameter = {} as any;
|
|
37455
|
+
const localVarQueryParameter = {} as any;
|
|
37456
|
+
|
|
37457
|
+
// authentication ApiKeyAuth required
|
|
37458
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
37459
|
+
|
|
37460
|
+
// authentication bearerAuth required
|
|
37461
|
+
// http bearer authentication required
|
|
37462
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
37463
|
+
|
|
37464
|
+
if (chartName !== undefined) {
|
|
37465
|
+
localVarQueryParameter['chartName'] = chartName;
|
|
37466
|
+
}
|
|
37467
|
+
|
|
37468
|
+
|
|
37469
|
+
|
|
37470
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37471
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37472
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37473
|
+
|
|
37474
|
+
return {
|
|
37475
|
+
url: toPathString(localVarUrlObj),
|
|
37476
|
+
options: localVarRequestOptions,
|
|
37477
|
+
};
|
|
37478
|
+
},
|
|
37397
37479
|
/**
|
|
37398
37480
|
*
|
|
37399
37481
|
* @summary Get a helm repository
|
|
@@ -37564,6 +37646,19 @@ export const HelmRepositoriesApiFp = function(configuration?: Configuration) {
|
|
|
37564
37646
|
const localVarAxiosArgs = await localVarAxiosParamCreator.editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options);
|
|
37565
37647
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37566
37648
|
},
|
|
37649
|
+
/**
|
|
37650
|
+
*
|
|
37651
|
+
* @summary List helm charts contained inside the repository
|
|
37652
|
+
* @param {string} organizationId Organization ID
|
|
37653
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
37654
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
37655
|
+
* @param {*} [options] Override http request option.
|
|
37656
|
+
* @throws {RequiredError}
|
|
37657
|
+
*/
|
|
37658
|
+
async getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmVersionResponseList>> {
|
|
37659
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmCharts(organizationId, helmRepositoryId, chartName, options);
|
|
37660
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37661
|
+
},
|
|
37567
37662
|
/**
|
|
37568
37663
|
*
|
|
37569
37664
|
* @summary Get a helm repository
|
|
@@ -37641,6 +37736,18 @@ export const HelmRepositoriesApiFactory = function (configuration?: Configuratio
|
|
|
37641
37736
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: any): AxiosPromise<HelmRepositoryResponse> {
|
|
37642
37737
|
return localVarFp.editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(axios, basePath));
|
|
37643
37738
|
},
|
|
37739
|
+
/**
|
|
37740
|
+
*
|
|
37741
|
+
* @summary List helm charts contained inside the repository
|
|
37742
|
+
* @param {string} organizationId Organization ID
|
|
37743
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
37744
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
37745
|
+
* @param {*} [options] Override http request option.
|
|
37746
|
+
* @throws {RequiredError}
|
|
37747
|
+
*/
|
|
37748
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: any): AxiosPromise<HelmVersionResponseList> {
|
|
37749
|
+
return localVarFp.getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(axios, basePath));
|
|
37750
|
+
},
|
|
37644
37751
|
/**
|
|
37645
37752
|
*
|
|
37646
37753
|
* @summary Get a helm repository
|
|
@@ -37721,6 +37828,20 @@ export class HelmRepositoriesApi extends BaseAPI {
|
|
|
37721
37828
|
return HelmRepositoriesApiFp(this.configuration).editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37722
37829
|
}
|
|
37723
37830
|
|
|
37831
|
+
/**
|
|
37832
|
+
*
|
|
37833
|
+
* @summary List helm charts contained inside the repository
|
|
37834
|
+
* @param {string} organizationId Organization ID
|
|
37835
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
37836
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
37837
|
+
* @param {*} [options] Override http request option.
|
|
37838
|
+
* @throws {RequiredError}
|
|
37839
|
+
* @memberof HelmRepositoriesApi
|
|
37840
|
+
*/
|
|
37841
|
+
public getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig) {
|
|
37842
|
+
return HelmRepositoriesApiFp(this.configuration).getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(this.axios, this.basePath));
|
|
37843
|
+
}
|
|
37844
|
+
|
|
37724
37845
|
/**
|
|
37725
37846
|
*
|
|
37726
37847
|
* @summary Get a helm repository
|
package/dist/api.d.ts
CHANGED
|
@@ -8560,6 +8560,38 @@ export interface HelmResponseList {
|
|
|
8560
8560
|
*/
|
|
8561
8561
|
'results'?: Array<HelmResponse>;
|
|
8562
8562
|
}
|
|
8563
|
+
/**
|
|
8564
|
+
*
|
|
8565
|
+
* @export
|
|
8566
|
+
* @interface HelmVersionResponse
|
|
8567
|
+
*/
|
|
8568
|
+
export interface HelmVersionResponse {
|
|
8569
|
+
/**
|
|
8570
|
+
*
|
|
8571
|
+
* @type {string}
|
|
8572
|
+
* @memberof HelmVersionResponse
|
|
8573
|
+
*/
|
|
8574
|
+
'chart_name'?: string;
|
|
8575
|
+
/**
|
|
8576
|
+
*
|
|
8577
|
+
* @type {Array<string>}
|
|
8578
|
+
* @memberof HelmVersionResponse
|
|
8579
|
+
*/
|
|
8580
|
+
'versions'?: Array<string>;
|
|
8581
|
+
}
|
|
8582
|
+
/**
|
|
8583
|
+
*
|
|
8584
|
+
* @export
|
|
8585
|
+
* @interface HelmVersionResponseList
|
|
8586
|
+
*/
|
|
8587
|
+
export interface HelmVersionResponseList {
|
|
8588
|
+
/**
|
|
8589
|
+
*
|
|
8590
|
+
* @type {Array<HelmVersionResponse>}
|
|
8591
|
+
* @memberof HelmVersionResponseList
|
|
8592
|
+
*/
|
|
8593
|
+
'results'?: Array<HelmVersionResponse>;
|
|
8594
|
+
}
|
|
8563
8595
|
/**
|
|
8564
8596
|
*
|
|
8565
8597
|
* @export
|
|
@@ -24704,6 +24736,16 @@ export declare const HelmRepositoriesApiAxiosParamCreator: (configuration?: Conf
|
|
|
24704
24736
|
* @throws {RequiredError}
|
|
24705
24737
|
*/
|
|
24706
24738
|
editHelmRepository: (organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24739
|
+
/**
|
|
24740
|
+
*
|
|
24741
|
+
* @summary List helm charts contained inside the repository
|
|
24742
|
+
* @param {string} organizationId Organization ID
|
|
24743
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24744
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24745
|
+
* @param {*} [options] Override http request option.
|
|
24746
|
+
* @throws {RequiredError}
|
|
24747
|
+
*/
|
|
24748
|
+
getHelmCharts: (organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24707
24749
|
/**
|
|
24708
24750
|
*
|
|
24709
24751
|
* @summary Get a helm repository
|
|
@@ -24762,6 +24804,16 @@ export declare const HelmRepositoriesApiFp: (configuration?: Configuration) => {
|
|
|
24762
24804
|
* @throws {RequiredError}
|
|
24763
24805
|
*/
|
|
24764
24806
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRepositoryResponse>>;
|
|
24807
|
+
/**
|
|
24808
|
+
*
|
|
24809
|
+
* @summary List helm charts contained inside the repository
|
|
24810
|
+
* @param {string} organizationId Organization ID
|
|
24811
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24812
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24813
|
+
* @param {*} [options] Override http request option.
|
|
24814
|
+
* @throws {RequiredError}
|
|
24815
|
+
*/
|
|
24816
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmVersionResponseList>>;
|
|
24765
24817
|
/**
|
|
24766
24818
|
*
|
|
24767
24819
|
* @summary Get a helm repository
|
|
@@ -24820,6 +24872,16 @@ export declare const HelmRepositoriesApiFactory: (configuration?: Configuration,
|
|
|
24820
24872
|
* @throws {RequiredError}
|
|
24821
24873
|
*/
|
|
24822
24874
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: any): AxiosPromise<HelmRepositoryResponse>;
|
|
24875
|
+
/**
|
|
24876
|
+
*
|
|
24877
|
+
* @summary List helm charts contained inside the repository
|
|
24878
|
+
* @param {string} organizationId Organization ID
|
|
24879
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24880
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24881
|
+
* @param {*} [options] Override http request option.
|
|
24882
|
+
* @throws {RequiredError}
|
|
24883
|
+
*/
|
|
24884
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: any): AxiosPromise<HelmVersionResponseList>;
|
|
24823
24885
|
/**
|
|
24824
24886
|
*
|
|
24825
24887
|
* @summary Get a helm repository
|
|
@@ -24883,6 +24945,17 @@ export declare class HelmRepositoriesApi extends BaseAPI {
|
|
|
24883
24945
|
* @memberof HelmRepositoriesApi
|
|
24884
24946
|
*/
|
|
24885
24947
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmRepositoryResponse, any>>;
|
|
24948
|
+
/**
|
|
24949
|
+
*
|
|
24950
|
+
* @summary List helm charts contained inside the repository
|
|
24951
|
+
* @param {string} organizationId Organization ID
|
|
24952
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24953
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24954
|
+
* @param {*} [options] Override http request option.
|
|
24955
|
+
* @throws {RequiredError}
|
|
24956
|
+
* @memberof HelmRepositoriesApi
|
|
24957
|
+
*/
|
|
24958
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmVersionResponseList, any>>;
|
|
24886
24959
|
/**
|
|
24887
24960
|
*
|
|
24888
24961
|
* @summary Get a helm repository
|
package/dist/api.js
CHANGED
|
@@ -22114,6 +22114,48 @@ const HelmRepositoriesApiAxiosParamCreator = function (configuration) {
|
|
|
22114
22114
|
options: localVarRequestOptions,
|
|
22115
22115
|
};
|
|
22116
22116
|
}),
|
|
22117
|
+
/**
|
|
22118
|
+
*
|
|
22119
|
+
* @summary List helm charts contained inside the repository
|
|
22120
|
+
* @param {string} organizationId Organization ID
|
|
22121
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22122
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22123
|
+
* @param {*} [options] Override http request option.
|
|
22124
|
+
* @throws {RequiredError}
|
|
22125
|
+
*/
|
|
22126
|
+
getHelmCharts: (organizationId, helmRepositoryId, chartName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
22127
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
22128
|
+
(0, common_1.assertParamExists)('getHelmCharts', 'organizationId', organizationId);
|
|
22129
|
+
// verify required parameter 'helmRepositoryId' is not null or undefined
|
|
22130
|
+
(0, common_1.assertParamExists)('getHelmCharts', 'helmRepositoryId', helmRepositoryId);
|
|
22131
|
+
const localVarPath = `/organization/{organizationId}/helmRepository/{helmRepositoryId}/charts`
|
|
22132
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
22133
|
+
.replace(`{${"helmRepositoryId"}}`, encodeURIComponent(String(helmRepositoryId)));
|
|
22134
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22135
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22136
|
+
let baseOptions;
|
|
22137
|
+
if (configuration) {
|
|
22138
|
+
baseOptions = configuration.baseOptions;
|
|
22139
|
+
}
|
|
22140
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
22141
|
+
const localVarHeaderParameter = {};
|
|
22142
|
+
const localVarQueryParameter = {};
|
|
22143
|
+
// authentication ApiKeyAuth required
|
|
22144
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
22145
|
+
// authentication bearerAuth required
|
|
22146
|
+
// http bearer authentication required
|
|
22147
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
22148
|
+
if (chartName !== undefined) {
|
|
22149
|
+
localVarQueryParameter['chartName'] = chartName;
|
|
22150
|
+
}
|
|
22151
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22152
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22153
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22154
|
+
return {
|
|
22155
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
22156
|
+
options: localVarRequestOptions,
|
|
22157
|
+
};
|
|
22158
|
+
}),
|
|
22117
22159
|
/**
|
|
22118
22160
|
*
|
|
22119
22161
|
* @summary Get a helm repository
|
|
@@ -22269,6 +22311,21 @@ const HelmRepositoriesApiFp = function (configuration) {
|
|
|
22269
22311
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
22270
22312
|
});
|
|
22271
22313
|
},
|
|
22314
|
+
/**
|
|
22315
|
+
*
|
|
22316
|
+
* @summary List helm charts contained inside the repository
|
|
22317
|
+
* @param {string} organizationId Organization ID
|
|
22318
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22319
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22320
|
+
* @param {*} [options] Override http request option.
|
|
22321
|
+
* @throws {RequiredError}
|
|
22322
|
+
*/
|
|
22323
|
+
getHelmCharts(organizationId, helmRepositoryId, chartName, options) {
|
|
22324
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22325
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getHelmCharts(organizationId, helmRepositoryId, chartName, options);
|
|
22326
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
22327
|
+
});
|
|
22328
|
+
},
|
|
22272
22329
|
/**
|
|
22273
22330
|
*
|
|
22274
22331
|
* @summary Get a helm repository
|
|
@@ -22352,6 +22409,18 @@ const HelmRepositoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
22352
22409
|
editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options) {
|
|
22353
22410
|
return localVarFp.editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(axios, basePath));
|
|
22354
22411
|
},
|
|
22412
|
+
/**
|
|
22413
|
+
*
|
|
22414
|
+
* @summary List helm charts contained inside the repository
|
|
22415
|
+
* @param {string} organizationId Organization ID
|
|
22416
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22417
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22418
|
+
* @param {*} [options] Override http request option.
|
|
22419
|
+
* @throws {RequiredError}
|
|
22420
|
+
*/
|
|
22421
|
+
getHelmCharts(organizationId, helmRepositoryId, chartName, options) {
|
|
22422
|
+
return localVarFp.getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(axios, basePath));
|
|
22423
|
+
},
|
|
22355
22424
|
/**
|
|
22356
22425
|
*
|
|
22357
22426
|
* @summary Get a helm repository
|
|
@@ -22429,6 +22498,19 @@ class HelmRepositoriesApi extends base_1.BaseAPI {
|
|
|
22429
22498
|
editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options) {
|
|
22430
22499
|
return (0, exports.HelmRepositoriesApiFp)(this.configuration).editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22431
22500
|
}
|
|
22501
|
+
/**
|
|
22502
|
+
*
|
|
22503
|
+
* @summary List helm charts contained inside the repository
|
|
22504
|
+
* @param {string} organizationId Organization ID
|
|
22505
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22506
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22507
|
+
* @param {*} [options] Override http request option.
|
|
22508
|
+
* @throws {RequiredError}
|
|
22509
|
+
* @memberof HelmRepositoriesApi
|
|
22510
|
+
*/
|
|
22511
|
+
getHelmCharts(organizationId, helmRepositoryId, chartName, options) {
|
|
22512
|
+
return (0, exports.HelmRepositoriesApiFp)(this.configuration).getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(this.axios, this.basePath));
|
|
22513
|
+
}
|
|
22432
22514
|
/**
|
|
22433
22515
|
*
|
|
22434
22516
|
* @summary Get a helm repository
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -8560,6 +8560,38 @@ export interface HelmResponseList {
|
|
|
8560
8560
|
*/
|
|
8561
8561
|
'results'?: Array<HelmResponse>;
|
|
8562
8562
|
}
|
|
8563
|
+
/**
|
|
8564
|
+
*
|
|
8565
|
+
* @export
|
|
8566
|
+
* @interface HelmVersionResponse
|
|
8567
|
+
*/
|
|
8568
|
+
export interface HelmVersionResponse {
|
|
8569
|
+
/**
|
|
8570
|
+
*
|
|
8571
|
+
* @type {string}
|
|
8572
|
+
* @memberof HelmVersionResponse
|
|
8573
|
+
*/
|
|
8574
|
+
'chart_name'?: string;
|
|
8575
|
+
/**
|
|
8576
|
+
*
|
|
8577
|
+
* @type {Array<string>}
|
|
8578
|
+
* @memberof HelmVersionResponse
|
|
8579
|
+
*/
|
|
8580
|
+
'versions'?: Array<string>;
|
|
8581
|
+
}
|
|
8582
|
+
/**
|
|
8583
|
+
*
|
|
8584
|
+
* @export
|
|
8585
|
+
* @interface HelmVersionResponseList
|
|
8586
|
+
*/
|
|
8587
|
+
export interface HelmVersionResponseList {
|
|
8588
|
+
/**
|
|
8589
|
+
*
|
|
8590
|
+
* @type {Array<HelmVersionResponse>}
|
|
8591
|
+
* @memberof HelmVersionResponseList
|
|
8592
|
+
*/
|
|
8593
|
+
'results'?: Array<HelmVersionResponse>;
|
|
8594
|
+
}
|
|
8563
8595
|
/**
|
|
8564
8596
|
*
|
|
8565
8597
|
* @export
|
|
@@ -24704,6 +24736,16 @@ export declare const HelmRepositoriesApiAxiosParamCreator: (configuration?: Conf
|
|
|
24704
24736
|
* @throws {RequiredError}
|
|
24705
24737
|
*/
|
|
24706
24738
|
editHelmRepository: (organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24739
|
+
/**
|
|
24740
|
+
*
|
|
24741
|
+
* @summary List helm charts contained inside the repository
|
|
24742
|
+
* @param {string} organizationId Organization ID
|
|
24743
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24744
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24745
|
+
* @param {*} [options] Override http request option.
|
|
24746
|
+
* @throws {RequiredError}
|
|
24747
|
+
*/
|
|
24748
|
+
getHelmCharts: (organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24707
24749
|
/**
|
|
24708
24750
|
*
|
|
24709
24751
|
* @summary Get a helm repository
|
|
@@ -24762,6 +24804,16 @@ export declare const HelmRepositoriesApiFp: (configuration?: Configuration) => {
|
|
|
24762
24804
|
* @throws {RequiredError}
|
|
24763
24805
|
*/
|
|
24764
24806
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRepositoryResponse>>;
|
|
24807
|
+
/**
|
|
24808
|
+
*
|
|
24809
|
+
* @summary List helm charts contained inside the repository
|
|
24810
|
+
* @param {string} organizationId Organization ID
|
|
24811
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24812
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24813
|
+
* @param {*} [options] Override http request option.
|
|
24814
|
+
* @throws {RequiredError}
|
|
24815
|
+
*/
|
|
24816
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmVersionResponseList>>;
|
|
24765
24817
|
/**
|
|
24766
24818
|
*
|
|
24767
24819
|
* @summary Get a helm repository
|
|
@@ -24820,6 +24872,16 @@ export declare const HelmRepositoriesApiFactory: (configuration?: Configuration,
|
|
|
24820
24872
|
* @throws {RequiredError}
|
|
24821
24873
|
*/
|
|
24822
24874
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: any): AxiosPromise<HelmRepositoryResponse>;
|
|
24875
|
+
/**
|
|
24876
|
+
*
|
|
24877
|
+
* @summary List helm charts contained inside the repository
|
|
24878
|
+
* @param {string} organizationId Organization ID
|
|
24879
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24880
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24881
|
+
* @param {*} [options] Override http request option.
|
|
24882
|
+
* @throws {RequiredError}
|
|
24883
|
+
*/
|
|
24884
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: any): AxiosPromise<HelmVersionResponseList>;
|
|
24823
24885
|
/**
|
|
24824
24886
|
*
|
|
24825
24887
|
* @summary Get a helm repository
|
|
@@ -24883,6 +24945,17 @@ export declare class HelmRepositoriesApi extends BaseAPI {
|
|
|
24883
24945
|
* @memberof HelmRepositoriesApi
|
|
24884
24946
|
*/
|
|
24885
24947
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmRepositoryResponse, any>>;
|
|
24948
|
+
/**
|
|
24949
|
+
*
|
|
24950
|
+
* @summary List helm charts contained inside the repository
|
|
24951
|
+
* @param {string} organizationId Organization ID
|
|
24952
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24953
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24954
|
+
* @param {*} [options] Override http request option.
|
|
24955
|
+
* @throws {RequiredError}
|
|
24956
|
+
* @memberof HelmRepositoriesApi
|
|
24957
|
+
*/
|
|
24958
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmVersionResponseList, any>>;
|
|
24886
24959
|
/**
|
|
24887
24960
|
*
|
|
24888
24961
|
* @summary Get a helm repository
|
package/dist/esm/api.js
CHANGED
|
@@ -21904,6 +21904,48 @@ export const HelmRepositoriesApiAxiosParamCreator = function (configuration) {
|
|
|
21904
21904
|
options: localVarRequestOptions,
|
|
21905
21905
|
};
|
|
21906
21906
|
}),
|
|
21907
|
+
/**
|
|
21908
|
+
*
|
|
21909
|
+
* @summary List helm charts contained inside the repository
|
|
21910
|
+
* @param {string} organizationId Organization ID
|
|
21911
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
21912
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
21913
|
+
* @param {*} [options] Override http request option.
|
|
21914
|
+
* @throws {RequiredError}
|
|
21915
|
+
*/
|
|
21916
|
+
getHelmCharts: (organizationId, helmRepositoryId, chartName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
21917
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
21918
|
+
assertParamExists('getHelmCharts', 'organizationId', organizationId);
|
|
21919
|
+
// verify required parameter 'helmRepositoryId' is not null or undefined
|
|
21920
|
+
assertParamExists('getHelmCharts', 'helmRepositoryId', helmRepositoryId);
|
|
21921
|
+
const localVarPath = `/organization/{organizationId}/helmRepository/{helmRepositoryId}/charts`
|
|
21922
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
21923
|
+
.replace(`{${"helmRepositoryId"}}`, encodeURIComponent(String(helmRepositoryId)));
|
|
21924
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21925
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21926
|
+
let baseOptions;
|
|
21927
|
+
if (configuration) {
|
|
21928
|
+
baseOptions = configuration.baseOptions;
|
|
21929
|
+
}
|
|
21930
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
21931
|
+
const localVarHeaderParameter = {};
|
|
21932
|
+
const localVarQueryParameter = {};
|
|
21933
|
+
// authentication ApiKeyAuth required
|
|
21934
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
21935
|
+
// authentication bearerAuth required
|
|
21936
|
+
// http bearer authentication required
|
|
21937
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
21938
|
+
if (chartName !== undefined) {
|
|
21939
|
+
localVarQueryParameter['chartName'] = chartName;
|
|
21940
|
+
}
|
|
21941
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21942
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21943
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21944
|
+
return {
|
|
21945
|
+
url: toPathString(localVarUrlObj),
|
|
21946
|
+
options: localVarRequestOptions,
|
|
21947
|
+
};
|
|
21948
|
+
}),
|
|
21907
21949
|
/**
|
|
21908
21950
|
*
|
|
21909
21951
|
* @summary Get a helm repository
|
|
@@ -22058,6 +22100,21 @@ export const HelmRepositoriesApiFp = function (configuration) {
|
|
|
22058
22100
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22059
22101
|
});
|
|
22060
22102
|
},
|
|
22103
|
+
/**
|
|
22104
|
+
*
|
|
22105
|
+
* @summary List helm charts contained inside the repository
|
|
22106
|
+
* @param {string} organizationId Organization ID
|
|
22107
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22108
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22109
|
+
* @param {*} [options] Override http request option.
|
|
22110
|
+
* @throws {RequiredError}
|
|
22111
|
+
*/
|
|
22112
|
+
getHelmCharts(organizationId, helmRepositoryId, chartName, options) {
|
|
22113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22114
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getHelmCharts(organizationId, helmRepositoryId, chartName, options);
|
|
22115
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22116
|
+
});
|
|
22117
|
+
},
|
|
22061
22118
|
/**
|
|
22062
22119
|
*
|
|
22063
22120
|
* @summary Get a helm repository
|
|
@@ -22140,6 +22197,18 @@ export const HelmRepositoriesApiFactory = function (configuration, basePath, axi
|
|
|
22140
22197
|
editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options) {
|
|
22141
22198
|
return localVarFp.editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(axios, basePath));
|
|
22142
22199
|
},
|
|
22200
|
+
/**
|
|
22201
|
+
*
|
|
22202
|
+
* @summary List helm charts contained inside the repository
|
|
22203
|
+
* @param {string} organizationId Organization ID
|
|
22204
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22205
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22206
|
+
* @param {*} [options] Override http request option.
|
|
22207
|
+
* @throws {RequiredError}
|
|
22208
|
+
*/
|
|
22209
|
+
getHelmCharts(organizationId, helmRepositoryId, chartName, options) {
|
|
22210
|
+
return localVarFp.getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(axios, basePath));
|
|
22211
|
+
},
|
|
22143
22212
|
/**
|
|
22144
22213
|
*
|
|
22145
22214
|
* @summary Get a helm repository
|
|
@@ -22216,6 +22285,19 @@ export class HelmRepositoriesApi extends BaseAPI {
|
|
|
22216
22285
|
editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options) {
|
|
22217
22286
|
return HelmRepositoriesApiFp(this.configuration).editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22218
22287
|
}
|
|
22288
|
+
/**
|
|
22289
|
+
*
|
|
22290
|
+
* @summary List helm charts contained inside the repository
|
|
22291
|
+
* @param {string} organizationId Organization ID
|
|
22292
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22293
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22294
|
+
* @param {*} [options] Override http request option.
|
|
22295
|
+
* @throws {RequiredError}
|
|
22296
|
+
* @memberof HelmRepositoriesApi
|
|
22297
|
+
*/
|
|
22298
|
+
getHelmCharts(organizationId, helmRepositoryId, chartName, options) {
|
|
22299
|
+
return HelmRepositoriesApiFp(this.configuration).getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(this.axios, this.basePath));
|
|
22300
|
+
}
|
|
22219
22301
|
/**
|
|
22220
22302
|
*
|
|
22221
22303
|
* @summary Get a helm repository
|