qovery-typescript-axios 1.1.300 → 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 -93
- package/dist/api.d.ts +37 -93
- package/dist/api.js +75 -0
- package/dist/esm/api.d.ts +37 -93
- package/dist/esm/api.js +75 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7360,99 +7360,6 @@ export interface EnvironmentVariableResponseList {
|
|
|
7360
7360
|
*/
|
|
7361
7361
|
'results'?: Array<EnvironmentVariable>;
|
|
7362
7362
|
}
|
|
7363
|
-
/**
|
|
7364
|
-
*
|
|
7365
|
-
* @export
|
|
7366
|
-
* @interface Event
|
|
7367
|
-
*/
|
|
7368
|
-
export interface Event {
|
|
7369
|
-
/**
|
|
7370
|
-
*
|
|
7371
|
-
* @type {string}
|
|
7372
|
-
* @memberof Event
|
|
7373
|
-
*/
|
|
7374
|
-
'id': string;
|
|
7375
|
-
/**
|
|
7376
|
-
*
|
|
7377
|
-
* @type {string}
|
|
7378
|
-
* @memberof Event
|
|
7379
|
-
*/
|
|
7380
|
-
'created_at': string;
|
|
7381
|
-
/**
|
|
7382
|
-
*
|
|
7383
|
-
* @type {string}
|
|
7384
|
-
* @memberof Event
|
|
7385
|
-
*/
|
|
7386
|
-
'updated_at'?: string;
|
|
7387
|
-
/**
|
|
7388
|
-
*
|
|
7389
|
-
* @type {User}
|
|
7390
|
-
* @memberof Event
|
|
7391
|
-
*/
|
|
7392
|
-
'user'?: User;
|
|
7393
|
-
/**
|
|
7394
|
-
*
|
|
7395
|
-
* @type {Commit}
|
|
7396
|
-
* @memberof Event
|
|
7397
|
-
*/
|
|
7398
|
-
'commit'?: Commit | null;
|
|
7399
|
-
/**
|
|
7400
|
-
*
|
|
7401
|
-
* @type {Status}
|
|
7402
|
-
* @memberof Event
|
|
7403
|
-
*/
|
|
7404
|
-
'status'?: Status;
|
|
7405
|
-
/**
|
|
7406
|
-
* DRAFT - we have to specify here all the possible events
|
|
7407
|
-
* @type {string}
|
|
7408
|
-
* @memberof Event
|
|
7409
|
-
*/
|
|
7410
|
-
'type'?: string;
|
|
7411
|
-
/**
|
|
7412
|
-
*
|
|
7413
|
-
* @type {ReferenceObject}
|
|
7414
|
-
* @memberof Event
|
|
7415
|
-
*/
|
|
7416
|
-
'log'?: ReferenceObject;
|
|
7417
|
-
}
|
|
7418
|
-
/**
|
|
7419
|
-
*
|
|
7420
|
-
* @export
|
|
7421
|
-
* @interface EventPaginatedResponseList
|
|
7422
|
-
*/
|
|
7423
|
-
export interface EventPaginatedResponseList {
|
|
7424
|
-
/**
|
|
7425
|
-
*
|
|
7426
|
-
* @type {number}
|
|
7427
|
-
* @memberof EventPaginatedResponseList
|
|
7428
|
-
*/
|
|
7429
|
-
'page': number;
|
|
7430
|
-
/**
|
|
7431
|
-
*
|
|
7432
|
-
* @type {number}
|
|
7433
|
-
* @memberof EventPaginatedResponseList
|
|
7434
|
-
*/
|
|
7435
|
-
'page_size': number;
|
|
7436
|
-
/**
|
|
7437
|
-
*
|
|
7438
|
-
* @type {Array<Event>}
|
|
7439
|
-
* @memberof EventPaginatedResponseList
|
|
7440
|
-
*/
|
|
7441
|
-
'results'?: Array<Event>;
|
|
7442
|
-
}
|
|
7443
|
-
/**
|
|
7444
|
-
*
|
|
7445
|
-
* @export
|
|
7446
|
-
* @interface EventResponseList
|
|
7447
|
-
*/
|
|
7448
|
-
export interface EventResponseList {
|
|
7449
|
-
/**
|
|
7450
|
-
*
|
|
7451
|
-
* @type {Array<Event>}
|
|
7452
|
-
* @memberof EventResponseList
|
|
7453
|
-
*/
|
|
7454
|
-
'results'?: Array<Event>;
|
|
7455
|
-
}
|
|
7456
7363
|
/**
|
|
7457
7364
|
*
|
|
7458
7365
|
* @export
|
|
@@ -37870,6 +37777,52 @@ export const HelmMainCallsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
37870
37777
|
|
|
37871
37778
|
|
|
37872
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
|
+
|
|
37873
37826
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37874
37827
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37875
37828
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -37934,6 +37887,18 @@ export const HelmMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
37934
37887
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmStatus(helmId, options);
|
|
37935
37888
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37936
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
|
+
},
|
|
37937
37902
|
}
|
|
37938
37903
|
};
|
|
37939
37904
|
|
|
@@ -37985,6 +37950,17 @@ export const HelmMainCallsApiFactory = function (configuration?: Configuration,
|
|
|
37985
37950
|
getHelmStatus(helmId: string, options?: any): AxiosPromise<Status> {
|
|
37986
37951
|
return localVarFp.getHelmStatus(helmId, options).then((request) => request(axios, basePath));
|
|
37987
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
|
+
},
|
|
37988
37964
|
};
|
|
37989
37965
|
};
|
|
37990
37966
|
|
|
@@ -38043,6 +38019,19 @@ export class HelmMainCallsApi extends BaseAPI {
|
|
|
38043
38019
|
public getHelmStatus(helmId: string, options?: AxiosRequestConfig) {
|
|
38044
38020
|
return HelmMainCallsApiFp(this.configuration).getHelmStatus(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
38045
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
|
+
}
|
|
38046
38035
|
}
|
|
38047
38036
|
|
|
38048
38037
|
|
package/dist/api.d.ts
CHANGED
|
@@ -7149,99 +7149,6 @@ export interface EnvironmentVariableResponseList {
|
|
|
7149
7149
|
*/
|
|
7150
7150
|
'results'?: Array<EnvironmentVariable>;
|
|
7151
7151
|
}
|
|
7152
|
-
/**
|
|
7153
|
-
*
|
|
7154
|
-
* @export
|
|
7155
|
-
* @interface Event
|
|
7156
|
-
*/
|
|
7157
|
-
export interface Event {
|
|
7158
|
-
/**
|
|
7159
|
-
*
|
|
7160
|
-
* @type {string}
|
|
7161
|
-
* @memberof Event
|
|
7162
|
-
*/
|
|
7163
|
-
'id': string;
|
|
7164
|
-
/**
|
|
7165
|
-
*
|
|
7166
|
-
* @type {string}
|
|
7167
|
-
* @memberof Event
|
|
7168
|
-
*/
|
|
7169
|
-
'created_at': string;
|
|
7170
|
-
/**
|
|
7171
|
-
*
|
|
7172
|
-
* @type {string}
|
|
7173
|
-
* @memberof Event
|
|
7174
|
-
*/
|
|
7175
|
-
'updated_at'?: string;
|
|
7176
|
-
/**
|
|
7177
|
-
*
|
|
7178
|
-
* @type {User}
|
|
7179
|
-
* @memberof Event
|
|
7180
|
-
*/
|
|
7181
|
-
'user'?: User;
|
|
7182
|
-
/**
|
|
7183
|
-
*
|
|
7184
|
-
* @type {Commit}
|
|
7185
|
-
* @memberof Event
|
|
7186
|
-
*/
|
|
7187
|
-
'commit'?: Commit | null;
|
|
7188
|
-
/**
|
|
7189
|
-
*
|
|
7190
|
-
* @type {Status}
|
|
7191
|
-
* @memberof Event
|
|
7192
|
-
*/
|
|
7193
|
-
'status'?: Status;
|
|
7194
|
-
/**
|
|
7195
|
-
* DRAFT - we have to specify here all the possible events
|
|
7196
|
-
* @type {string}
|
|
7197
|
-
* @memberof Event
|
|
7198
|
-
*/
|
|
7199
|
-
'type'?: string;
|
|
7200
|
-
/**
|
|
7201
|
-
*
|
|
7202
|
-
* @type {ReferenceObject}
|
|
7203
|
-
* @memberof Event
|
|
7204
|
-
*/
|
|
7205
|
-
'log'?: ReferenceObject;
|
|
7206
|
-
}
|
|
7207
|
-
/**
|
|
7208
|
-
*
|
|
7209
|
-
* @export
|
|
7210
|
-
* @interface EventPaginatedResponseList
|
|
7211
|
-
*/
|
|
7212
|
-
export interface EventPaginatedResponseList {
|
|
7213
|
-
/**
|
|
7214
|
-
*
|
|
7215
|
-
* @type {number}
|
|
7216
|
-
* @memberof EventPaginatedResponseList
|
|
7217
|
-
*/
|
|
7218
|
-
'page': number;
|
|
7219
|
-
/**
|
|
7220
|
-
*
|
|
7221
|
-
* @type {number}
|
|
7222
|
-
* @memberof EventPaginatedResponseList
|
|
7223
|
-
*/
|
|
7224
|
-
'page_size': number;
|
|
7225
|
-
/**
|
|
7226
|
-
*
|
|
7227
|
-
* @type {Array<Event>}
|
|
7228
|
-
* @memberof EventPaginatedResponseList
|
|
7229
|
-
*/
|
|
7230
|
-
'results'?: Array<Event>;
|
|
7231
|
-
}
|
|
7232
|
-
/**
|
|
7233
|
-
*
|
|
7234
|
-
* @export
|
|
7235
|
-
* @interface EventResponseList
|
|
7236
|
-
*/
|
|
7237
|
-
export interface EventResponseList {
|
|
7238
|
-
/**
|
|
7239
|
-
*
|
|
7240
|
-
* @type {Array<Event>}
|
|
7241
|
-
* @memberof EventResponseList
|
|
7242
|
-
*/
|
|
7243
|
-
'results'?: Array<Event>;
|
|
7244
|
-
}
|
|
7245
7152
|
/**
|
|
7246
7153
|
*
|
|
7247
7154
|
* @export
|
|
@@ -24851,6 +24758,15 @@ export declare const HelmMainCallsApiAxiosParamCreator: (configuration?: Configu
|
|
|
24851
24758
|
* @throws {RequiredError}
|
|
24852
24759
|
*/
|
|
24853
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>;
|
|
24854
24770
|
};
|
|
24855
24771
|
/**
|
|
24856
24772
|
* HelmMainCallsApi - functional programming interface
|
|
@@ -24890,6 +24806,15 @@ export declare const HelmMainCallsApiFp: (configuration?: Configuration) => {
|
|
|
24890
24806
|
* @throws {RequiredError}
|
|
24891
24807
|
*/
|
|
24892
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>>;
|
|
24893
24818
|
};
|
|
24894
24819
|
/**
|
|
24895
24820
|
* HelmMainCallsApi - factory interface
|
|
@@ -24929,6 +24854,15 @@ export declare const HelmMainCallsApiFactory: (configuration?: Configuration, ba
|
|
|
24929
24854
|
* @throws {RequiredError}
|
|
24930
24855
|
*/
|
|
24931
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>;
|
|
24932
24866
|
};
|
|
24933
24867
|
/**
|
|
24934
24868
|
* HelmMainCallsApi - object-oriented interface
|
|
@@ -24974,6 +24908,16 @@ export declare class HelmMainCallsApi extends BaseAPI {
|
|
|
24974
24908
|
* @memberof HelmMainCallsApi
|
|
24975
24909
|
*/
|
|
24976
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>>;
|
|
24977
24921
|
}
|
|
24978
24922
|
/**
|
|
24979
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
|
@@ -7149,99 +7149,6 @@ export interface EnvironmentVariableResponseList {
|
|
|
7149
7149
|
*/
|
|
7150
7150
|
'results'?: Array<EnvironmentVariable>;
|
|
7151
7151
|
}
|
|
7152
|
-
/**
|
|
7153
|
-
*
|
|
7154
|
-
* @export
|
|
7155
|
-
* @interface Event
|
|
7156
|
-
*/
|
|
7157
|
-
export interface Event {
|
|
7158
|
-
/**
|
|
7159
|
-
*
|
|
7160
|
-
* @type {string}
|
|
7161
|
-
* @memberof Event
|
|
7162
|
-
*/
|
|
7163
|
-
'id': string;
|
|
7164
|
-
/**
|
|
7165
|
-
*
|
|
7166
|
-
* @type {string}
|
|
7167
|
-
* @memberof Event
|
|
7168
|
-
*/
|
|
7169
|
-
'created_at': string;
|
|
7170
|
-
/**
|
|
7171
|
-
*
|
|
7172
|
-
* @type {string}
|
|
7173
|
-
* @memberof Event
|
|
7174
|
-
*/
|
|
7175
|
-
'updated_at'?: string;
|
|
7176
|
-
/**
|
|
7177
|
-
*
|
|
7178
|
-
* @type {User}
|
|
7179
|
-
* @memberof Event
|
|
7180
|
-
*/
|
|
7181
|
-
'user'?: User;
|
|
7182
|
-
/**
|
|
7183
|
-
*
|
|
7184
|
-
* @type {Commit}
|
|
7185
|
-
* @memberof Event
|
|
7186
|
-
*/
|
|
7187
|
-
'commit'?: Commit | null;
|
|
7188
|
-
/**
|
|
7189
|
-
*
|
|
7190
|
-
* @type {Status}
|
|
7191
|
-
* @memberof Event
|
|
7192
|
-
*/
|
|
7193
|
-
'status'?: Status;
|
|
7194
|
-
/**
|
|
7195
|
-
* DRAFT - we have to specify here all the possible events
|
|
7196
|
-
* @type {string}
|
|
7197
|
-
* @memberof Event
|
|
7198
|
-
*/
|
|
7199
|
-
'type'?: string;
|
|
7200
|
-
/**
|
|
7201
|
-
*
|
|
7202
|
-
* @type {ReferenceObject}
|
|
7203
|
-
* @memberof Event
|
|
7204
|
-
*/
|
|
7205
|
-
'log'?: ReferenceObject;
|
|
7206
|
-
}
|
|
7207
|
-
/**
|
|
7208
|
-
*
|
|
7209
|
-
* @export
|
|
7210
|
-
* @interface EventPaginatedResponseList
|
|
7211
|
-
*/
|
|
7212
|
-
export interface EventPaginatedResponseList {
|
|
7213
|
-
/**
|
|
7214
|
-
*
|
|
7215
|
-
* @type {number}
|
|
7216
|
-
* @memberof EventPaginatedResponseList
|
|
7217
|
-
*/
|
|
7218
|
-
'page': number;
|
|
7219
|
-
/**
|
|
7220
|
-
*
|
|
7221
|
-
* @type {number}
|
|
7222
|
-
* @memberof EventPaginatedResponseList
|
|
7223
|
-
*/
|
|
7224
|
-
'page_size': number;
|
|
7225
|
-
/**
|
|
7226
|
-
*
|
|
7227
|
-
* @type {Array<Event>}
|
|
7228
|
-
* @memberof EventPaginatedResponseList
|
|
7229
|
-
*/
|
|
7230
|
-
'results'?: Array<Event>;
|
|
7231
|
-
}
|
|
7232
|
-
/**
|
|
7233
|
-
*
|
|
7234
|
-
* @export
|
|
7235
|
-
* @interface EventResponseList
|
|
7236
|
-
*/
|
|
7237
|
-
export interface EventResponseList {
|
|
7238
|
-
/**
|
|
7239
|
-
*
|
|
7240
|
-
* @type {Array<Event>}
|
|
7241
|
-
* @memberof EventResponseList
|
|
7242
|
-
*/
|
|
7243
|
-
'results'?: Array<Event>;
|
|
7244
|
-
}
|
|
7245
7152
|
/**
|
|
7246
7153
|
*
|
|
7247
7154
|
* @export
|
|
@@ -24851,6 +24758,15 @@ export declare const HelmMainCallsApiAxiosParamCreator: (configuration?: Configu
|
|
|
24851
24758
|
* @throws {RequiredError}
|
|
24852
24759
|
*/
|
|
24853
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>;
|
|
24854
24770
|
};
|
|
24855
24771
|
/**
|
|
24856
24772
|
* HelmMainCallsApi - functional programming interface
|
|
@@ -24890,6 +24806,15 @@ export declare const HelmMainCallsApiFp: (configuration?: Configuration) => {
|
|
|
24890
24806
|
* @throws {RequiredError}
|
|
24891
24807
|
*/
|
|
24892
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>>;
|
|
24893
24818
|
};
|
|
24894
24819
|
/**
|
|
24895
24820
|
* HelmMainCallsApi - factory interface
|
|
@@ -24929,6 +24854,15 @@ export declare const HelmMainCallsApiFactory: (configuration?: Configuration, ba
|
|
|
24929
24854
|
* @throws {RequiredError}
|
|
24930
24855
|
*/
|
|
24931
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>;
|
|
24932
24866
|
};
|
|
24933
24867
|
/**
|
|
24934
24868
|
* HelmMainCallsApi - object-oriented interface
|
|
@@ -24974,6 +24908,16 @@ export declare class HelmMainCallsApi extends BaseAPI {
|
|
|
24974
24908
|
* @memberof HelmMainCallsApi
|
|
24975
24909
|
*/
|
|
24976
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>>;
|
|
24977
24921
|
}
|
|
24978
24922
|
/**
|
|
24979
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
|