qovery-typescript-axios 1.1.301 → 1.1.302
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 +82 -0
- package/dist/api.d.ts +37 -0
- package/dist/api.js +75 -0
- package/dist/esm/api.d.ts +37 -0
- package/dist/esm/api.js +75 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -37777,6 +37777,52 @@ export const HelmMainCallsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
37777
37777
|
|
|
37778
37778
|
|
|
37779
37779
|
|
|
37780
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37781
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37782
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37783
|
+
|
|
37784
|
+
return {
|
|
37785
|
+
url: toPathString(localVarUrlObj),
|
|
37786
|
+
options: localVarRequestOptions,
|
|
37787
|
+
};
|
|
37788
|
+
},
|
|
37789
|
+
/**
|
|
37790
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
37791
|
+
* @summary List last helm commits
|
|
37792
|
+
* @param {string} helmId Helm ID
|
|
37793
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
37794
|
+
* @param {*} [options] Override http request option.
|
|
37795
|
+
* @throws {RequiredError}
|
|
37796
|
+
*/
|
|
37797
|
+
listHelmCommit: async (helmId: string, of?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37798
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
37799
|
+
assertParamExists('listHelmCommit', 'helmId', helmId)
|
|
37800
|
+
const localVarPath = `/helm/{helmId}/commit`
|
|
37801
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
37802
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37803
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37804
|
+
let baseOptions;
|
|
37805
|
+
if (configuration) {
|
|
37806
|
+
baseOptions = configuration.baseOptions;
|
|
37807
|
+
}
|
|
37808
|
+
|
|
37809
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
37810
|
+
const localVarHeaderParameter = {} as any;
|
|
37811
|
+
const localVarQueryParameter = {} as any;
|
|
37812
|
+
|
|
37813
|
+
// authentication ApiKeyAuth required
|
|
37814
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
37815
|
+
|
|
37816
|
+
// authentication bearerAuth required
|
|
37817
|
+
// http bearer authentication required
|
|
37818
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
37819
|
+
|
|
37820
|
+
if (of !== undefined) {
|
|
37821
|
+
localVarQueryParameter['of'] = of;
|
|
37822
|
+
}
|
|
37823
|
+
|
|
37824
|
+
|
|
37825
|
+
|
|
37780
37826
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37781
37827
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37782
37828
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -37841,6 +37887,18 @@ export const HelmMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
37841
37887
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmStatus(helmId, options);
|
|
37842
37888
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37843
37889
|
},
|
|
37890
|
+
/**
|
|
37891
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
37892
|
+
* @summary List last helm commits
|
|
37893
|
+
* @param {string} helmId Helm ID
|
|
37894
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
37895
|
+
* @param {*} [options] Override http request option.
|
|
37896
|
+
* @throws {RequiredError}
|
|
37897
|
+
*/
|
|
37898
|
+
async listHelmCommit(helmId: string, of?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>> {
|
|
37899
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listHelmCommit(helmId, of, options);
|
|
37900
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37901
|
+
},
|
|
37844
37902
|
}
|
|
37845
37903
|
};
|
|
37846
37904
|
|
|
@@ -37892,6 +37950,17 @@ export const HelmMainCallsApiFactory = function (configuration?: Configuration,
|
|
|
37892
37950
|
getHelmStatus(helmId: string, options?: any): AxiosPromise<Status> {
|
|
37893
37951
|
return localVarFp.getHelmStatus(helmId, options).then((request) => request(axios, basePath));
|
|
37894
37952
|
},
|
|
37953
|
+
/**
|
|
37954
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
37955
|
+
* @summary List last helm commits
|
|
37956
|
+
* @param {string} helmId Helm ID
|
|
37957
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
37958
|
+
* @param {*} [options] Override http request option.
|
|
37959
|
+
* @throws {RequiredError}
|
|
37960
|
+
*/
|
|
37961
|
+
listHelmCommit(helmId: string, of?: string, options?: any): AxiosPromise<CommitResponseList> {
|
|
37962
|
+
return localVarFp.listHelmCommit(helmId, of, options).then((request) => request(axios, basePath));
|
|
37963
|
+
},
|
|
37895
37964
|
};
|
|
37896
37965
|
};
|
|
37897
37966
|
|
|
@@ -37950,6 +38019,19 @@ export class HelmMainCallsApi extends BaseAPI {
|
|
|
37950
38019
|
public getHelmStatus(helmId: string, options?: AxiosRequestConfig) {
|
|
37951
38020
|
return HelmMainCallsApiFp(this.configuration).getHelmStatus(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
37952
38021
|
}
|
|
38022
|
+
|
|
38023
|
+
/**
|
|
38024
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
38025
|
+
* @summary List last helm commits
|
|
38026
|
+
* @param {string} helmId Helm ID
|
|
38027
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
38028
|
+
* @param {*} [options] Override http request option.
|
|
38029
|
+
* @throws {RequiredError}
|
|
38030
|
+
* @memberof HelmMainCallsApi
|
|
38031
|
+
*/
|
|
38032
|
+
public listHelmCommit(helmId: string, of?: string, options?: AxiosRequestConfig) {
|
|
38033
|
+
return HelmMainCallsApiFp(this.configuration).listHelmCommit(helmId, of, options).then((request) => request(this.axios, this.basePath));
|
|
38034
|
+
}
|
|
37953
38035
|
}
|
|
37954
38036
|
|
|
37955
38037
|
|
package/dist/api.d.ts
CHANGED
|
@@ -24758,6 +24758,15 @@ export declare const HelmMainCallsApiAxiosParamCreator: (configuration?: Configu
|
|
|
24758
24758
|
* @throws {RequiredError}
|
|
24759
24759
|
*/
|
|
24760
24760
|
getHelmStatus: (helmId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24761
|
+
/**
|
|
24762
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
24763
|
+
* @summary List last helm commits
|
|
24764
|
+
* @param {string} helmId Helm ID
|
|
24765
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
24766
|
+
* @param {*} [options] Override http request option.
|
|
24767
|
+
* @throws {RequiredError}
|
|
24768
|
+
*/
|
|
24769
|
+
listHelmCommit: (helmId: string, of?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24761
24770
|
};
|
|
24762
24771
|
/**
|
|
24763
24772
|
* HelmMainCallsApi - functional programming interface
|
|
@@ -24797,6 +24806,15 @@ export declare const HelmMainCallsApiFp: (configuration?: Configuration) => {
|
|
|
24797
24806
|
* @throws {RequiredError}
|
|
24798
24807
|
*/
|
|
24799
24808
|
getHelmStatus(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
24809
|
+
/**
|
|
24810
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
24811
|
+
* @summary List last helm commits
|
|
24812
|
+
* @param {string} helmId Helm ID
|
|
24813
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
24814
|
+
* @param {*} [options] Override http request option.
|
|
24815
|
+
* @throws {RequiredError}
|
|
24816
|
+
*/
|
|
24817
|
+
listHelmCommit(helmId: string, of?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>>;
|
|
24800
24818
|
};
|
|
24801
24819
|
/**
|
|
24802
24820
|
* HelmMainCallsApi - factory interface
|
|
@@ -24836,6 +24854,15 @@ export declare const HelmMainCallsApiFactory: (configuration?: Configuration, ba
|
|
|
24836
24854
|
* @throws {RequiredError}
|
|
24837
24855
|
*/
|
|
24838
24856
|
getHelmStatus(helmId: string, options?: any): AxiosPromise<Status>;
|
|
24857
|
+
/**
|
|
24858
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
24859
|
+
* @summary List last helm commits
|
|
24860
|
+
* @param {string} helmId Helm ID
|
|
24861
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
24862
|
+
* @param {*} [options] Override http request option.
|
|
24863
|
+
* @throws {RequiredError}
|
|
24864
|
+
*/
|
|
24865
|
+
listHelmCommit(helmId: string, of?: string, options?: any): AxiosPromise<CommitResponseList>;
|
|
24839
24866
|
};
|
|
24840
24867
|
/**
|
|
24841
24868
|
* HelmMainCallsApi - object-oriented interface
|
|
@@ -24881,6 +24908,16 @@ export declare class HelmMainCallsApi extends BaseAPI {
|
|
|
24881
24908
|
* @memberof HelmMainCallsApi
|
|
24882
24909
|
*/
|
|
24883
24910
|
getHelmStatus(helmId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
24911
|
+
/**
|
|
24912
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
24913
|
+
* @summary List last helm commits
|
|
24914
|
+
* @param {string} helmId Helm ID
|
|
24915
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
24916
|
+
* @param {*} [options] Override http request option.
|
|
24917
|
+
* @throws {RequiredError}
|
|
24918
|
+
* @memberof HelmMainCallsApi
|
|
24919
|
+
*/
|
|
24920
|
+
listHelmCommit(helmId: string, of?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CommitResponseList, any>>;
|
|
24884
24921
|
}
|
|
24885
24922
|
/**
|
|
24886
24923
|
* HelmRepositoriesApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -22583,6 +22583,44 @@ const HelmMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
22583
22583
|
options: localVarRequestOptions,
|
|
22584
22584
|
};
|
|
22585
22585
|
}),
|
|
22586
|
+
/**
|
|
22587
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
22588
|
+
* @summary List last helm commits
|
|
22589
|
+
* @param {string} helmId Helm ID
|
|
22590
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
22591
|
+
* @param {*} [options] Override http request option.
|
|
22592
|
+
* @throws {RequiredError}
|
|
22593
|
+
*/
|
|
22594
|
+
listHelmCommit: (helmId, of, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
22595
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
22596
|
+
(0, common_1.assertParamExists)('listHelmCommit', 'helmId', helmId);
|
|
22597
|
+
const localVarPath = `/helm/{helmId}/commit`
|
|
22598
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
22599
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22600
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22601
|
+
let baseOptions;
|
|
22602
|
+
if (configuration) {
|
|
22603
|
+
baseOptions = configuration.baseOptions;
|
|
22604
|
+
}
|
|
22605
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
22606
|
+
const localVarHeaderParameter = {};
|
|
22607
|
+
const localVarQueryParameter = {};
|
|
22608
|
+
// authentication ApiKeyAuth required
|
|
22609
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
22610
|
+
// authentication bearerAuth required
|
|
22611
|
+
// http bearer authentication required
|
|
22612
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
22613
|
+
if (of !== undefined) {
|
|
22614
|
+
localVarQueryParameter['of'] = of;
|
|
22615
|
+
}
|
|
22616
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22617
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22618
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22619
|
+
return {
|
|
22620
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
22621
|
+
options: localVarRequestOptions,
|
|
22622
|
+
};
|
|
22623
|
+
}),
|
|
22586
22624
|
};
|
|
22587
22625
|
};
|
|
22588
22626
|
exports.HelmMainCallsApiAxiosParamCreator = HelmMainCallsApiAxiosParamCreator;
|
|
@@ -22646,6 +22684,20 @@ const HelmMainCallsApiFp = function (configuration) {
|
|
|
22646
22684
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
22647
22685
|
});
|
|
22648
22686
|
},
|
|
22687
|
+
/**
|
|
22688
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
22689
|
+
* @summary List last helm commits
|
|
22690
|
+
* @param {string} helmId Helm ID
|
|
22691
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
22692
|
+
* @param {*} [options] Override http request option.
|
|
22693
|
+
* @throws {RequiredError}
|
|
22694
|
+
*/
|
|
22695
|
+
listHelmCommit(helmId, of, options) {
|
|
22696
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22697
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listHelmCommit(helmId, of, options);
|
|
22698
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
22699
|
+
});
|
|
22700
|
+
},
|
|
22649
22701
|
};
|
|
22650
22702
|
};
|
|
22651
22703
|
exports.HelmMainCallsApiFp = HelmMainCallsApiFp;
|
|
@@ -22697,6 +22749,17 @@ const HelmMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
22697
22749
|
getHelmStatus(helmId, options) {
|
|
22698
22750
|
return localVarFp.getHelmStatus(helmId, options).then((request) => request(axios, basePath));
|
|
22699
22751
|
},
|
|
22752
|
+
/**
|
|
22753
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
22754
|
+
* @summary List last helm commits
|
|
22755
|
+
* @param {string} helmId Helm ID
|
|
22756
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
22757
|
+
* @param {*} [options] Override http request option.
|
|
22758
|
+
* @throws {RequiredError}
|
|
22759
|
+
*/
|
|
22760
|
+
listHelmCommit(helmId, of, options) {
|
|
22761
|
+
return localVarFp.listHelmCommit(helmId, of, options).then((request) => request(axios, basePath));
|
|
22762
|
+
},
|
|
22700
22763
|
};
|
|
22701
22764
|
};
|
|
22702
22765
|
exports.HelmMainCallsApiFactory = HelmMainCallsApiFactory;
|
|
@@ -22752,6 +22815,18 @@ class HelmMainCallsApi extends base_1.BaseAPI {
|
|
|
22752
22815
|
getHelmStatus(helmId, options) {
|
|
22753
22816
|
return (0, exports.HelmMainCallsApiFp)(this.configuration).getHelmStatus(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
22754
22817
|
}
|
|
22818
|
+
/**
|
|
22819
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
22820
|
+
* @summary List last helm commits
|
|
22821
|
+
* @param {string} helmId Helm ID
|
|
22822
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
22823
|
+
* @param {*} [options] Override http request option.
|
|
22824
|
+
* @throws {RequiredError}
|
|
22825
|
+
* @memberof HelmMainCallsApi
|
|
22826
|
+
*/
|
|
22827
|
+
listHelmCommit(helmId, of, options) {
|
|
22828
|
+
return (0, exports.HelmMainCallsApiFp)(this.configuration).listHelmCommit(helmId, of, options).then((request) => request(this.axios, this.basePath));
|
|
22829
|
+
}
|
|
22755
22830
|
}
|
|
22756
22831
|
exports.HelmMainCallsApi = HelmMainCallsApi;
|
|
22757
22832
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -24758,6 +24758,15 @@ export declare const HelmMainCallsApiAxiosParamCreator: (configuration?: Configu
|
|
|
24758
24758
|
* @throws {RequiredError}
|
|
24759
24759
|
*/
|
|
24760
24760
|
getHelmStatus: (helmId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24761
|
+
/**
|
|
24762
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
24763
|
+
* @summary List last helm commits
|
|
24764
|
+
* @param {string} helmId Helm ID
|
|
24765
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
24766
|
+
* @param {*} [options] Override http request option.
|
|
24767
|
+
* @throws {RequiredError}
|
|
24768
|
+
*/
|
|
24769
|
+
listHelmCommit: (helmId: string, of?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24761
24770
|
};
|
|
24762
24771
|
/**
|
|
24763
24772
|
* HelmMainCallsApi - functional programming interface
|
|
@@ -24797,6 +24806,15 @@ export declare const HelmMainCallsApiFp: (configuration?: Configuration) => {
|
|
|
24797
24806
|
* @throws {RequiredError}
|
|
24798
24807
|
*/
|
|
24799
24808
|
getHelmStatus(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
24809
|
+
/**
|
|
24810
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
24811
|
+
* @summary List last helm commits
|
|
24812
|
+
* @param {string} helmId Helm ID
|
|
24813
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
24814
|
+
* @param {*} [options] Override http request option.
|
|
24815
|
+
* @throws {RequiredError}
|
|
24816
|
+
*/
|
|
24817
|
+
listHelmCommit(helmId: string, of?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>>;
|
|
24800
24818
|
};
|
|
24801
24819
|
/**
|
|
24802
24820
|
* HelmMainCallsApi - factory interface
|
|
@@ -24836,6 +24854,15 @@ export declare const HelmMainCallsApiFactory: (configuration?: Configuration, ba
|
|
|
24836
24854
|
* @throws {RequiredError}
|
|
24837
24855
|
*/
|
|
24838
24856
|
getHelmStatus(helmId: string, options?: any): AxiosPromise<Status>;
|
|
24857
|
+
/**
|
|
24858
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
24859
|
+
* @summary List last helm commits
|
|
24860
|
+
* @param {string} helmId Helm ID
|
|
24861
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
24862
|
+
* @param {*} [options] Override http request option.
|
|
24863
|
+
* @throws {RequiredError}
|
|
24864
|
+
*/
|
|
24865
|
+
listHelmCommit(helmId: string, of?: string, options?: any): AxiosPromise<CommitResponseList>;
|
|
24839
24866
|
};
|
|
24840
24867
|
/**
|
|
24841
24868
|
* HelmMainCallsApi - object-oriented interface
|
|
@@ -24881,6 +24908,16 @@ export declare class HelmMainCallsApi extends BaseAPI {
|
|
|
24881
24908
|
* @memberof HelmMainCallsApi
|
|
24882
24909
|
*/
|
|
24883
24910
|
getHelmStatus(helmId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
24911
|
+
/**
|
|
24912
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
24913
|
+
* @summary List last helm commits
|
|
24914
|
+
* @param {string} helmId Helm ID
|
|
24915
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
24916
|
+
* @param {*} [options] Override http request option.
|
|
24917
|
+
* @throws {RequiredError}
|
|
24918
|
+
* @memberof HelmMainCallsApi
|
|
24919
|
+
*/
|
|
24920
|
+
listHelmCommit(helmId: string, of?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CommitResponseList, any>>;
|
|
24884
24921
|
}
|
|
24885
24922
|
/**
|
|
24886
24923
|
* HelmRepositoriesApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -22365,6 +22365,44 @@ export const HelmMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
22365
22365
|
options: localVarRequestOptions,
|
|
22366
22366
|
};
|
|
22367
22367
|
}),
|
|
22368
|
+
/**
|
|
22369
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
22370
|
+
* @summary List last helm commits
|
|
22371
|
+
* @param {string} helmId Helm ID
|
|
22372
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
22373
|
+
* @param {*} [options] Override http request option.
|
|
22374
|
+
* @throws {RequiredError}
|
|
22375
|
+
*/
|
|
22376
|
+
listHelmCommit: (helmId, of, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
22377
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
22378
|
+
assertParamExists('listHelmCommit', 'helmId', helmId);
|
|
22379
|
+
const localVarPath = `/helm/{helmId}/commit`
|
|
22380
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
22381
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22382
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22383
|
+
let baseOptions;
|
|
22384
|
+
if (configuration) {
|
|
22385
|
+
baseOptions = configuration.baseOptions;
|
|
22386
|
+
}
|
|
22387
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
22388
|
+
const localVarHeaderParameter = {};
|
|
22389
|
+
const localVarQueryParameter = {};
|
|
22390
|
+
// authentication ApiKeyAuth required
|
|
22391
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
22392
|
+
// authentication bearerAuth required
|
|
22393
|
+
// http bearer authentication required
|
|
22394
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
22395
|
+
if (of !== undefined) {
|
|
22396
|
+
localVarQueryParameter['of'] = of;
|
|
22397
|
+
}
|
|
22398
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22399
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22400
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22401
|
+
return {
|
|
22402
|
+
url: toPathString(localVarUrlObj),
|
|
22403
|
+
options: localVarRequestOptions,
|
|
22404
|
+
};
|
|
22405
|
+
}),
|
|
22368
22406
|
};
|
|
22369
22407
|
};
|
|
22370
22408
|
/**
|
|
@@ -22427,6 +22465,20 @@ export const HelmMainCallsApiFp = function (configuration) {
|
|
|
22427
22465
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22428
22466
|
});
|
|
22429
22467
|
},
|
|
22468
|
+
/**
|
|
22469
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
22470
|
+
* @summary List last helm commits
|
|
22471
|
+
* @param {string} helmId Helm ID
|
|
22472
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
22473
|
+
* @param {*} [options] Override http request option.
|
|
22474
|
+
* @throws {RequiredError}
|
|
22475
|
+
*/
|
|
22476
|
+
listHelmCommit(helmId, of, options) {
|
|
22477
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22478
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listHelmCommit(helmId, of, options);
|
|
22479
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22480
|
+
});
|
|
22481
|
+
},
|
|
22430
22482
|
};
|
|
22431
22483
|
};
|
|
22432
22484
|
/**
|
|
@@ -22477,6 +22529,17 @@ export const HelmMainCallsApiFactory = function (configuration, basePath, axios)
|
|
|
22477
22529
|
getHelmStatus(helmId, options) {
|
|
22478
22530
|
return localVarFp.getHelmStatus(helmId, options).then((request) => request(axios, basePath));
|
|
22479
22531
|
},
|
|
22532
|
+
/**
|
|
22533
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
22534
|
+
* @summary List last helm commits
|
|
22535
|
+
* @param {string} helmId Helm ID
|
|
22536
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
22537
|
+
* @param {*} [options] Override http request option.
|
|
22538
|
+
* @throws {RequiredError}
|
|
22539
|
+
*/
|
|
22540
|
+
listHelmCommit(helmId, of, options) {
|
|
22541
|
+
return localVarFp.listHelmCommit(helmId, of, options).then((request) => request(axios, basePath));
|
|
22542
|
+
},
|
|
22480
22543
|
};
|
|
22481
22544
|
};
|
|
22482
22545
|
/**
|
|
@@ -22531,6 +22594,18 @@ export class HelmMainCallsApi extends BaseAPI {
|
|
|
22531
22594
|
getHelmStatus(helmId, options) {
|
|
22532
22595
|
return HelmMainCallsApiFp(this.configuration).getHelmStatus(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
22533
22596
|
}
|
|
22597
|
+
/**
|
|
22598
|
+
* Returns list of the last 100 commits made on the repository linked to helm
|
|
22599
|
+
* @summary List last helm commits
|
|
22600
|
+
* @param {string} helmId Helm ID
|
|
22601
|
+
* @param {string} [of] Source of git commit. Can be \'chart\' or \'values\'
|
|
22602
|
+
* @param {*} [options] Override http request option.
|
|
22603
|
+
* @throws {RequiredError}
|
|
22604
|
+
* @memberof HelmMainCallsApi
|
|
22605
|
+
*/
|
|
22606
|
+
listHelmCommit(helmId, of, options) {
|
|
22607
|
+
return HelmMainCallsApiFp(this.configuration).listHelmCommit(helmId, of, options).then((request) => request(this.axios, this.basePath));
|
|
22608
|
+
}
|
|
22534
22609
|
}
|
|
22535
22610
|
/**
|
|
22536
22611
|
* HelmRepositoriesApi - axios parameter creator
|