qovery-typescript-axios 1.1.368 → 1.1.369
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 +125 -0
- package/dist/api.d.ts +81 -0
- package/dist/api.js +74 -0
- package/dist/esm/api.d.ts +81 -0
- package/dist/esm/api.js +74 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -9966,6 +9966,50 @@ export interface OrganizationAvailableRoleList {
|
|
|
9966
9966
|
*/
|
|
9967
9967
|
'results'?: Array<OrganizationAvailableRole>;
|
|
9968
9968
|
}
|
|
9969
|
+
/**
|
|
9970
|
+
*
|
|
9971
|
+
* @export
|
|
9972
|
+
* @interface OrganizationBillingUsageReportRequest
|
|
9973
|
+
*/
|
|
9974
|
+
export interface OrganizationBillingUsageReportRequest {
|
|
9975
|
+
/**
|
|
9976
|
+
* The start date of the report
|
|
9977
|
+
* @type {string}
|
|
9978
|
+
* @memberof OrganizationBillingUsageReportRequest
|
|
9979
|
+
*/
|
|
9980
|
+
'from'?: string;
|
|
9981
|
+
/**
|
|
9982
|
+
* The end date of the report
|
|
9983
|
+
* @type {string}
|
|
9984
|
+
* @memberof OrganizationBillingUsageReportRequest
|
|
9985
|
+
*/
|
|
9986
|
+
'to'?: string;
|
|
9987
|
+
/**
|
|
9988
|
+
* The number of seconds the report will be publicly available
|
|
9989
|
+
* @type {number}
|
|
9990
|
+
* @memberof OrganizationBillingUsageReportRequest
|
|
9991
|
+
*/
|
|
9992
|
+
'report_expiration_in_seconds'?: number;
|
|
9993
|
+
}
|
|
9994
|
+
/**
|
|
9995
|
+
*
|
|
9996
|
+
* @export
|
|
9997
|
+
* @interface OrganizationBillingUsageReportResponse
|
|
9998
|
+
*/
|
|
9999
|
+
export interface OrganizationBillingUsageReportResponse {
|
|
10000
|
+
/**
|
|
10001
|
+
* The URL of the report
|
|
10002
|
+
* @type {string}
|
|
10003
|
+
* @memberof OrganizationBillingUsageReportResponse
|
|
10004
|
+
*/
|
|
10005
|
+
'report_url'?: string;
|
|
10006
|
+
/**
|
|
10007
|
+
* The URL to delete the report. Use this URL to pro-actively delete the report before it expires
|
|
10008
|
+
* @type {string}
|
|
10009
|
+
* @memberof OrganizationBillingUsageReportResponse
|
|
10010
|
+
*/
|
|
10011
|
+
'delete_report_url'?: string;
|
|
10012
|
+
}
|
|
9969
10013
|
/**
|
|
9970
10014
|
*
|
|
9971
10015
|
* @export
|
|
@@ -17594,6 +17638,51 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
17594
17638
|
options: localVarRequestOptions,
|
|
17595
17639
|
};
|
|
17596
17640
|
},
|
|
17641
|
+
/**
|
|
17642
|
+
*
|
|
17643
|
+
* @summary Generate organization billing usage report
|
|
17644
|
+
* @param {string} organizationId Organization ID
|
|
17645
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
17646
|
+
* @param {*} [options] Override http request option.
|
|
17647
|
+
* @throws {RequiredError}
|
|
17648
|
+
*/
|
|
17649
|
+
generateBillingUsageReport: async (organizationId: string, organizationBillingUsageReportRequest?: OrganizationBillingUsageReportRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17650
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
17651
|
+
assertParamExists('generateBillingUsageReport', 'organizationId', organizationId)
|
|
17652
|
+
const localVarPath = `/organization/{organizationId}/billingUsageReport`
|
|
17653
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
17654
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17655
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17656
|
+
let baseOptions;
|
|
17657
|
+
if (configuration) {
|
|
17658
|
+
baseOptions = configuration.baseOptions;
|
|
17659
|
+
}
|
|
17660
|
+
|
|
17661
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
17662
|
+
const localVarHeaderParameter = {} as any;
|
|
17663
|
+
const localVarQueryParameter = {} as any;
|
|
17664
|
+
|
|
17665
|
+
// authentication ApiKeyAuth required
|
|
17666
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
17667
|
+
|
|
17668
|
+
// authentication bearerAuth required
|
|
17669
|
+
// http bearer authentication required
|
|
17670
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17671
|
+
|
|
17672
|
+
|
|
17673
|
+
|
|
17674
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17675
|
+
|
|
17676
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17677
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17678
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17679
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationBillingUsageReportRequest, localVarRequestOptions, configuration)
|
|
17680
|
+
|
|
17681
|
+
return {
|
|
17682
|
+
url: toPathString(localVarUrlObj),
|
|
17683
|
+
options: localVarRequestOptions,
|
|
17684
|
+
};
|
|
17685
|
+
},
|
|
17597
17686
|
/**
|
|
17598
17687
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
17599
17688
|
* @summary Get cluster current cost
|
|
@@ -18086,6 +18175,18 @@ export const BillingApiFp = function(configuration?: Configuration) {
|
|
|
18086
18175
|
const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationBillingInfo(organizationId, billingInfoRequest, options);
|
|
18087
18176
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18088
18177
|
},
|
|
18178
|
+
/**
|
|
18179
|
+
*
|
|
18180
|
+
* @summary Generate organization billing usage report
|
|
18181
|
+
* @param {string} organizationId Organization ID
|
|
18182
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
18183
|
+
* @param {*} [options] Override http request option.
|
|
18184
|
+
* @throws {RequiredError}
|
|
18185
|
+
*/
|
|
18186
|
+
async generateBillingUsageReport(organizationId: string, organizationBillingUsageReportRequest?: OrganizationBillingUsageReportRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationBillingUsageReportResponse>> {
|
|
18187
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options);
|
|
18188
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18189
|
+
},
|
|
18089
18190
|
/**
|
|
18090
18191
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
18091
18192
|
* @summary Get cluster current cost
|
|
@@ -18264,6 +18365,17 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
|
|
|
18264
18365
|
editOrganizationBillingInfo(organizationId: string, billingInfoRequest?: BillingInfoRequest, options?: any): AxiosPromise<BillingInfo> {
|
|
18265
18366
|
return localVarFp.editOrganizationBillingInfo(organizationId, billingInfoRequest, options).then((request) => request(axios, basePath));
|
|
18266
18367
|
},
|
|
18368
|
+
/**
|
|
18369
|
+
*
|
|
18370
|
+
* @summary Generate organization billing usage report
|
|
18371
|
+
* @param {string} organizationId Organization ID
|
|
18372
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
18373
|
+
* @param {*} [options] Override http request option.
|
|
18374
|
+
* @throws {RequiredError}
|
|
18375
|
+
*/
|
|
18376
|
+
generateBillingUsageReport(organizationId: string, organizationBillingUsageReportRequest?: OrganizationBillingUsageReportRequest, options?: any): AxiosPromise<OrganizationBillingUsageReportResponse> {
|
|
18377
|
+
return localVarFp.generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options).then((request) => request(axios, basePath));
|
|
18378
|
+
},
|
|
18267
18379
|
/**
|
|
18268
18380
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
18269
18381
|
* @summary Get cluster current cost
|
|
@@ -18442,6 +18554,19 @@ export class BillingApi extends BaseAPI {
|
|
|
18442
18554
|
return BillingApiFp(this.configuration).editOrganizationBillingInfo(organizationId, billingInfoRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18443
18555
|
}
|
|
18444
18556
|
|
|
18557
|
+
/**
|
|
18558
|
+
*
|
|
18559
|
+
* @summary Generate organization billing usage report
|
|
18560
|
+
* @param {string} organizationId Organization ID
|
|
18561
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
18562
|
+
* @param {*} [options] Override http request option.
|
|
18563
|
+
* @throws {RequiredError}
|
|
18564
|
+
* @memberof BillingApi
|
|
18565
|
+
*/
|
|
18566
|
+
public generateBillingUsageReport(organizationId: string, organizationBillingUsageReportRequest?: OrganizationBillingUsageReportRequest, options?: AxiosRequestConfig) {
|
|
18567
|
+
return BillingApiFp(this.configuration).generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18568
|
+
}
|
|
18569
|
+
|
|
18445
18570
|
/**
|
|
18446
18571
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
18447
18572
|
* @summary Get cluster current cost
|
package/dist/api.d.ts
CHANGED
|
@@ -9687,6 +9687,50 @@ export interface OrganizationAvailableRoleList {
|
|
|
9687
9687
|
*/
|
|
9688
9688
|
'results'?: Array<OrganizationAvailableRole>;
|
|
9689
9689
|
}
|
|
9690
|
+
/**
|
|
9691
|
+
*
|
|
9692
|
+
* @export
|
|
9693
|
+
* @interface OrganizationBillingUsageReportRequest
|
|
9694
|
+
*/
|
|
9695
|
+
export interface OrganizationBillingUsageReportRequest {
|
|
9696
|
+
/**
|
|
9697
|
+
* The start date of the report
|
|
9698
|
+
* @type {string}
|
|
9699
|
+
* @memberof OrganizationBillingUsageReportRequest
|
|
9700
|
+
*/
|
|
9701
|
+
'from'?: string;
|
|
9702
|
+
/**
|
|
9703
|
+
* The end date of the report
|
|
9704
|
+
* @type {string}
|
|
9705
|
+
* @memberof OrganizationBillingUsageReportRequest
|
|
9706
|
+
*/
|
|
9707
|
+
'to'?: string;
|
|
9708
|
+
/**
|
|
9709
|
+
* The number of seconds the report will be publicly available
|
|
9710
|
+
* @type {number}
|
|
9711
|
+
* @memberof OrganizationBillingUsageReportRequest
|
|
9712
|
+
*/
|
|
9713
|
+
'report_expiration_in_seconds'?: number;
|
|
9714
|
+
}
|
|
9715
|
+
/**
|
|
9716
|
+
*
|
|
9717
|
+
* @export
|
|
9718
|
+
* @interface OrganizationBillingUsageReportResponse
|
|
9719
|
+
*/
|
|
9720
|
+
export interface OrganizationBillingUsageReportResponse {
|
|
9721
|
+
/**
|
|
9722
|
+
* The URL of the report
|
|
9723
|
+
* @type {string}
|
|
9724
|
+
* @memberof OrganizationBillingUsageReportResponse
|
|
9725
|
+
*/
|
|
9726
|
+
'report_url'?: string;
|
|
9727
|
+
/**
|
|
9728
|
+
* The URL to delete the report. Use this URL to pro-actively delete the report before it expires
|
|
9729
|
+
* @type {string}
|
|
9730
|
+
* @memberof OrganizationBillingUsageReportResponse
|
|
9731
|
+
*/
|
|
9732
|
+
'delete_report_url'?: string;
|
|
9733
|
+
}
|
|
9690
9734
|
/**
|
|
9691
9735
|
*
|
|
9692
9736
|
* @export
|
|
@@ -14887,6 +14931,15 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
14887
14931
|
* @throws {RequiredError}
|
|
14888
14932
|
*/
|
|
14889
14933
|
editOrganizationBillingInfo: (organizationId: string, billingInfoRequest?: BillingInfoRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14934
|
+
/**
|
|
14935
|
+
*
|
|
14936
|
+
* @summary Generate organization billing usage report
|
|
14937
|
+
* @param {string} organizationId Organization ID
|
|
14938
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
14939
|
+
* @param {*} [options] Override http request option.
|
|
14940
|
+
* @throws {RequiredError}
|
|
14941
|
+
*/
|
|
14942
|
+
generateBillingUsageReport: (organizationId: string, organizationBillingUsageReportRequest?: OrganizationBillingUsageReportRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14890
14943
|
/**
|
|
14891
14944
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
14892
14945
|
* @summary Get cluster current cost
|
|
@@ -15021,6 +15074,15 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
15021
15074
|
* @throws {RequiredError}
|
|
15022
15075
|
*/
|
|
15023
15076
|
editOrganizationBillingInfo(organizationId: string, billingInfoRequest?: BillingInfoRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingInfo>>;
|
|
15077
|
+
/**
|
|
15078
|
+
*
|
|
15079
|
+
* @summary Generate organization billing usage report
|
|
15080
|
+
* @param {string} organizationId Organization ID
|
|
15081
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
15082
|
+
* @param {*} [options] Override http request option.
|
|
15083
|
+
* @throws {RequiredError}
|
|
15084
|
+
*/
|
|
15085
|
+
generateBillingUsageReport(organizationId: string, organizationBillingUsageReportRequest?: OrganizationBillingUsageReportRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationBillingUsageReportResponse>>;
|
|
15024
15086
|
/**
|
|
15025
15087
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
15026
15088
|
* @summary Get cluster current cost
|
|
@@ -15155,6 +15217,15 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
15155
15217
|
* @throws {RequiredError}
|
|
15156
15218
|
*/
|
|
15157
15219
|
editOrganizationBillingInfo(organizationId: string, billingInfoRequest?: BillingInfoRequest, options?: any): AxiosPromise<BillingInfo>;
|
|
15220
|
+
/**
|
|
15221
|
+
*
|
|
15222
|
+
* @summary Generate organization billing usage report
|
|
15223
|
+
* @param {string} organizationId Organization ID
|
|
15224
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
15225
|
+
* @param {*} [options] Override http request option.
|
|
15226
|
+
* @throws {RequiredError}
|
|
15227
|
+
*/
|
|
15228
|
+
generateBillingUsageReport(organizationId: string, organizationBillingUsageReportRequest?: OrganizationBillingUsageReportRequest, options?: any): AxiosPromise<OrganizationBillingUsageReportResponse>;
|
|
15158
15229
|
/**
|
|
15159
15230
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
15160
15231
|
* @summary Get cluster current cost
|
|
@@ -15296,6 +15367,16 @@ export declare class BillingApi extends BaseAPI {
|
|
|
15296
15367
|
* @memberof BillingApi
|
|
15297
15368
|
*/
|
|
15298
15369
|
editOrganizationBillingInfo(organizationId: string, billingInfoRequest?: BillingInfoRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingInfo, any>>;
|
|
15370
|
+
/**
|
|
15371
|
+
*
|
|
15372
|
+
* @summary Generate organization billing usage report
|
|
15373
|
+
* @param {string} organizationId Organization ID
|
|
15374
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
15375
|
+
* @param {*} [options] Override http request option.
|
|
15376
|
+
* @throws {RequiredError}
|
|
15377
|
+
* @memberof BillingApi
|
|
15378
|
+
*/
|
|
15379
|
+
generateBillingUsageReport(organizationId: string, organizationBillingUsageReportRequest?: OrganizationBillingUsageReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationBillingUsageReportResponse, any>>;
|
|
15299
15380
|
/**
|
|
15300
15381
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
15301
15382
|
* @summary Get cluster current cost
|
package/dist/api.js
CHANGED
|
@@ -4644,6 +4644,43 @@ const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
4644
4644
|
options: localVarRequestOptions,
|
|
4645
4645
|
};
|
|
4646
4646
|
}),
|
|
4647
|
+
/**
|
|
4648
|
+
*
|
|
4649
|
+
* @summary Generate organization billing usage report
|
|
4650
|
+
* @param {string} organizationId Organization ID
|
|
4651
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
4652
|
+
* @param {*} [options] Override http request option.
|
|
4653
|
+
* @throws {RequiredError}
|
|
4654
|
+
*/
|
|
4655
|
+
generateBillingUsageReport: (organizationId, organizationBillingUsageReportRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4656
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
4657
|
+
(0, common_1.assertParamExists)('generateBillingUsageReport', 'organizationId', organizationId);
|
|
4658
|
+
const localVarPath = `/organization/{organizationId}/billingUsageReport`
|
|
4659
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
4660
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4661
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4662
|
+
let baseOptions;
|
|
4663
|
+
if (configuration) {
|
|
4664
|
+
baseOptions = configuration.baseOptions;
|
|
4665
|
+
}
|
|
4666
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4667
|
+
const localVarHeaderParameter = {};
|
|
4668
|
+
const localVarQueryParameter = {};
|
|
4669
|
+
// authentication ApiKeyAuth required
|
|
4670
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4671
|
+
// authentication bearerAuth required
|
|
4672
|
+
// http bearer authentication required
|
|
4673
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4674
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4675
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4676
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4677
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4678
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(organizationBillingUsageReportRequest, localVarRequestOptions, configuration);
|
|
4679
|
+
return {
|
|
4680
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4681
|
+
options: localVarRequestOptions,
|
|
4682
|
+
};
|
|
4683
|
+
}),
|
|
4647
4684
|
/**
|
|
4648
4685
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
4649
4686
|
* @summary Get cluster current cost
|
|
@@ -5076,6 +5113,20 @@ const BillingApiFp = function (configuration) {
|
|
|
5076
5113
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5077
5114
|
});
|
|
5078
5115
|
},
|
|
5116
|
+
/**
|
|
5117
|
+
*
|
|
5118
|
+
* @summary Generate organization billing usage report
|
|
5119
|
+
* @param {string} organizationId Organization ID
|
|
5120
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
5121
|
+
* @param {*} [options] Override http request option.
|
|
5122
|
+
* @throws {RequiredError}
|
|
5123
|
+
*/
|
|
5124
|
+
generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options) {
|
|
5125
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5126
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options);
|
|
5127
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5128
|
+
});
|
|
5129
|
+
},
|
|
5079
5130
|
/**
|
|
5080
5131
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
5081
5132
|
* @summary Get cluster current cost
|
|
@@ -5274,6 +5325,17 @@ const BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
5274
5325
|
editOrganizationBillingInfo(organizationId, billingInfoRequest, options) {
|
|
5275
5326
|
return localVarFp.editOrganizationBillingInfo(organizationId, billingInfoRequest, options).then((request) => request(axios, basePath));
|
|
5276
5327
|
},
|
|
5328
|
+
/**
|
|
5329
|
+
*
|
|
5330
|
+
* @summary Generate organization billing usage report
|
|
5331
|
+
* @param {string} organizationId Organization ID
|
|
5332
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
5333
|
+
* @param {*} [options] Override http request option.
|
|
5334
|
+
* @throws {RequiredError}
|
|
5335
|
+
*/
|
|
5336
|
+
generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options) {
|
|
5337
|
+
return localVarFp.generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options).then((request) => request(axios, basePath));
|
|
5338
|
+
},
|
|
5277
5339
|
/**
|
|
5278
5340
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
5279
5341
|
* @summary Get cluster current cost
|
|
@@ -5447,6 +5509,18 @@ class BillingApi extends base_1.BaseAPI {
|
|
|
5447
5509
|
editOrganizationBillingInfo(organizationId, billingInfoRequest, options) {
|
|
5448
5510
|
return (0, exports.BillingApiFp)(this.configuration).editOrganizationBillingInfo(organizationId, billingInfoRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5449
5511
|
}
|
|
5512
|
+
/**
|
|
5513
|
+
*
|
|
5514
|
+
* @summary Generate organization billing usage report
|
|
5515
|
+
* @param {string} organizationId Organization ID
|
|
5516
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
5517
|
+
* @param {*} [options] Override http request option.
|
|
5518
|
+
* @throws {RequiredError}
|
|
5519
|
+
* @memberof BillingApi
|
|
5520
|
+
*/
|
|
5521
|
+
generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options) {
|
|
5522
|
+
return (0, exports.BillingApiFp)(this.configuration).generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5523
|
+
}
|
|
5450
5524
|
/**
|
|
5451
5525
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
5452
5526
|
* @summary Get cluster current cost
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -9687,6 +9687,50 @@ export interface OrganizationAvailableRoleList {
|
|
|
9687
9687
|
*/
|
|
9688
9688
|
'results'?: Array<OrganizationAvailableRole>;
|
|
9689
9689
|
}
|
|
9690
|
+
/**
|
|
9691
|
+
*
|
|
9692
|
+
* @export
|
|
9693
|
+
* @interface OrganizationBillingUsageReportRequest
|
|
9694
|
+
*/
|
|
9695
|
+
export interface OrganizationBillingUsageReportRequest {
|
|
9696
|
+
/**
|
|
9697
|
+
* The start date of the report
|
|
9698
|
+
* @type {string}
|
|
9699
|
+
* @memberof OrganizationBillingUsageReportRequest
|
|
9700
|
+
*/
|
|
9701
|
+
'from'?: string;
|
|
9702
|
+
/**
|
|
9703
|
+
* The end date of the report
|
|
9704
|
+
* @type {string}
|
|
9705
|
+
* @memberof OrganizationBillingUsageReportRequest
|
|
9706
|
+
*/
|
|
9707
|
+
'to'?: string;
|
|
9708
|
+
/**
|
|
9709
|
+
* The number of seconds the report will be publicly available
|
|
9710
|
+
* @type {number}
|
|
9711
|
+
* @memberof OrganizationBillingUsageReportRequest
|
|
9712
|
+
*/
|
|
9713
|
+
'report_expiration_in_seconds'?: number;
|
|
9714
|
+
}
|
|
9715
|
+
/**
|
|
9716
|
+
*
|
|
9717
|
+
* @export
|
|
9718
|
+
* @interface OrganizationBillingUsageReportResponse
|
|
9719
|
+
*/
|
|
9720
|
+
export interface OrganizationBillingUsageReportResponse {
|
|
9721
|
+
/**
|
|
9722
|
+
* The URL of the report
|
|
9723
|
+
* @type {string}
|
|
9724
|
+
* @memberof OrganizationBillingUsageReportResponse
|
|
9725
|
+
*/
|
|
9726
|
+
'report_url'?: string;
|
|
9727
|
+
/**
|
|
9728
|
+
* The URL to delete the report. Use this URL to pro-actively delete the report before it expires
|
|
9729
|
+
* @type {string}
|
|
9730
|
+
* @memberof OrganizationBillingUsageReportResponse
|
|
9731
|
+
*/
|
|
9732
|
+
'delete_report_url'?: string;
|
|
9733
|
+
}
|
|
9690
9734
|
/**
|
|
9691
9735
|
*
|
|
9692
9736
|
* @export
|
|
@@ -14887,6 +14931,15 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
14887
14931
|
* @throws {RequiredError}
|
|
14888
14932
|
*/
|
|
14889
14933
|
editOrganizationBillingInfo: (organizationId: string, billingInfoRequest?: BillingInfoRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14934
|
+
/**
|
|
14935
|
+
*
|
|
14936
|
+
* @summary Generate organization billing usage report
|
|
14937
|
+
* @param {string} organizationId Organization ID
|
|
14938
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
14939
|
+
* @param {*} [options] Override http request option.
|
|
14940
|
+
* @throws {RequiredError}
|
|
14941
|
+
*/
|
|
14942
|
+
generateBillingUsageReport: (organizationId: string, organizationBillingUsageReportRequest?: OrganizationBillingUsageReportRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14890
14943
|
/**
|
|
14891
14944
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
14892
14945
|
* @summary Get cluster current cost
|
|
@@ -15021,6 +15074,15 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
15021
15074
|
* @throws {RequiredError}
|
|
15022
15075
|
*/
|
|
15023
15076
|
editOrganizationBillingInfo(organizationId: string, billingInfoRequest?: BillingInfoRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingInfo>>;
|
|
15077
|
+
/**
|
|
15078
|
+
*
|
|
15079
|
+
* @summary Generate organization billing usage report
|
|
15080
|
+
* @param {string} organizationId Organization ID
|
|
15081
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
15082
|
+
* @param {*} [options] Override http request option.
|
|
15083
|
+
* @throws {RequiredError}
|
|
15084
|
+
*/
|
|
15085
|
+
generateBillingUsageReport(organizationId: string, organizationBillingUsageReportRequest?: OrganizationBillingUsageReportRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationBillingUsageReportResponse>>;
|
|
15024
15086
|
/**
|
|
15025
15087
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
15026
15088
|
* @summary Get cluster current cost
|
|
@@ -15155,6 +15217,15 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
15155
15217
|
* @throws {RequiredError}
|
|
15156
15218
|
*/
|
|
15157
15219
|
editOrganizationBillingInfo(organizationId: string, billingInfoRequest?: BillingInfoRequest, options?: any): AxiosPromise<BillingInfo>;
|
|
15220
|
+
/**
|
|
15221
|
+
*
|
|
15222
|
+
* @summary Generate organization billing usage report
|
|
15223
|
+
* @param {string} organizationId Organization ID
|
|
15224
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
15225
|
+
* @param {*} [options] Override http request option.
|
|
15226
|
+
* @throws {RequiredError}
|
|
15227
|
+
*/
|
|
15228
|
+
generateBillingUsageReport(organizationId: string, organizationBillingUsageReportRequest?: OrganizationBillingUsageReportRequest, options?: any): AxiosPromise<OrganizationBillingUsageReportResponse>;
|
|
15158
15229
|
/**
|
|
15159
15230
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
15160
15231
|
* @summary Get cluster current cost
|
|
@@ -15296,6 +15367,16 @@ export declare class BillingApi extends BaseAPI {
|
|
|
15296
15367
|
* @memberof BillingApi
|
|
15297
15368
|
*/
|
|
15298
15369
|
editOrganizationBillingInfo(organizationId: string, billingInfoRequest?: BillingInfoRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingInfo, any>>;
|
|
15370
|
+
/**
|
|
15371
|
+
*
|
|
15372
|
+
* @summary Generate organization billing usage report
|
|
15373
|
+
* @param {string} organizationId Organization ID
|
|
15374
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
15375
|
+
* @param {*} [options] Override http request option.
|
|
15376
|
+
* @throws {RequiredError}
|
|
15377
|
+
* @memberof BillingApi
|
|
15378
|
+
*/
|
|
15379
|
+
generateBillingUsageReport(organizationId: string, organizationBillingUsageReportRequest?: OrganizationBillingUsageReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationBillingUsageReportResponse, any>>;
|
|
15299
15380
|
/**
|
|
15300
15381
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
15301
15382
|
* @summary Get cluster current cost
|
package/dist/esm/api.js
CHANGED
|
@@ -4590,6 +4590,43 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
4590
4590
|
options: localVarRequestOptions,
|
|
4591
4591
|
};
|
|
4592
4592
|
}),
|
|
4593
|
+
/**
|
|
4594
|
+
*
|
|
4595
|
+
* @summary Generate organization billing usage report
|
|
4596
|
+
* @param {string} organizationId Organization ID
|
|
4597
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
4598
|
+
* @param {*} [options] Override http request option.
|
|
4599
|
+
* @throws {RequiredError}
|
|
4600
|
+
*/
|
|
4601
|
+
generateBillingUsageReport: (organizationId, organizationBillingUsageReportRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4602
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
4603
|
+
assertParamExists('generateBillingUsageReport', 'organizationId', organizationId);
|
|
4604
|
+
const localVarPath = `/organization/{organizationId}/billingUsageReport`
|
|
4605
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
4606
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4607
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4608
|
+
let baseOptions;
|
|
4609
|
+
if (configuration) {
|
|
4610
|
+
baseOptions = configuration.baseOptions;
|
|
4611
|
+
}
|
|
4612
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4613
|
+
const localVarHeaderParameter = {};
|
|
4614
|
+
const localVarQueryParameter = {};
|
|
4615
|
+
// authentication ApiKeyAuth required
|
|
4616
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
4617
|
+
// authentication bearerAuth required
|
|
4618
|
+
// http bearer authentication required
|
|
4619
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4620
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4621
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4622
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4623
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4624
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationBillingUsageReportRequest, localVarRequestOptions, configuration);
|
|
4625
|
+
return {
|
|
4626
|
+
url: toPathString(localVarUrlObj),
|
|
4627
|
+
options: localVarRequestOptions,
|
|
4628
|
+
};
|
|
4629
|
+
}),
|
|
4593
4630
|
/**
|
|
4594
4631
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
4595
4632
|
* @summary Get cluster current cost
|
|
@@ -5021,6 +5058,20 @@ export const BillingApiFp = function (configuration) {
|
|
|
5021
5058
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5022
5059
|
});
|
|
5023
5060
|
},
|
|
5061
|
+
/**
|
|
5062
|
+
*
|
|
5063
|
+
* @summary Generate organization billing usage report
|
|
5064
|
+
* @param {string} organizationId Organization ID
|
|
5065
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
5066
|
+
* @param {*} [options] Override http request option.
|
|
5067
|
+
* @throws {RequiredError}
|
|
5068
|
+
*/
|
|
5069
|
+
generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options) {
|
|
5070
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5071
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options);
|
|
5072
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5073
|
+
});
|
|
5074
|
+
},
|
|
5024
5075
|
/**
|
|
5025
5076
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
5026
5077
|
* @summary Get cluster current cost
|
|
@@ -5218,6 +5269,17 @@ export const BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
5218
5269
|
editOrganizationBillingInfo(organizationId, billingInfoRequest, options) {
|
|
5219
5270
|
return localVarFp.editOrganizationBillingInfo(organizationId, billingInfoRequest, options).then((request) => request(axios, basePath));
|
|
5220
5271
|
},
|
|
5272
|
+
/**
|
|
5273
|
+
*
|
|
5274
|
+
* @summary Generate organization billing usage report
|
|
5275
|
+
* @param {string} organizationId Organization ID
|
|
5276
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
5277
|
+
* @param {*} [options] Override http request option.
|
|
5278
|
+
* @throws {RequiredError}
|
|
5279
|
+
*/
|
|
5280
|
+
generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options) {
|
|
5281
|
+
return localVarFp.generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options).then((request) => request(axios, basePath));
|
|
5282
|
+
},
|
|
5221
5283
|
/**
|
|
5222
5284
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
5223
5285
|
* @summary Get cluster current cost
|
|
@@ -5390,6 +5452,18 @@ export class BillingApi extends BaseAPI {
|
|
|
5390
5452
|
editOrganizationBillingInfo(organizationId, billingInfoRequest, options) {
|
|
5391
5453
|
return BillingApiFp(this.configuration).editOrganizationBillingInfo(organizationId, billingInfoRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5392
5454
|
}
|
|
5455
|
+
/**
|
|
5456
|
+
*
|
|
5457
|
+
* @summary Generate organization billing usage report
|
|
5458
|
+
* @param {string} organizationId Organization ID
|
|
5459
|
+
* @param {OrganizationBillingUsageReportRequest} [organizationBillingUsageReportRequest]
|
|
5460
|
+
* @param {*} [options] Override http request option.
|
|
5461
|
+
* @throws {RequiredError}
|
|
5462
|
+
* @memberof BillingApi
|
|
5463
|
+
*/
|
|
5464
|
+
generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options) {
|
|
5465
|
+
return BillingApiFp(this.configuration).generateBillingUsageReport(organizationId, organizationBillingUsageReportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5466
|
+
}
|
|
5393
5467
|
/**
|
|
5394
5468
|
* Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
|
|
5395
5469
|
* @summary Get cluster current cost
|