/** * KubeBlocks Cloud API * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { AggregationTimeType } from '../models'; import type { BillList } from '../models'; import type { OrgAggregationGroupType } from '../models'; /** * BillingApi - axios parameter creator * @export */ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary List bills in the organization * @param {string} orgName name of the organization * @param {AggregationTimeType} aggregationTime The type of aggregation time * @param {OrgAggregationGroupType} aggregationGroup The type of aggregation group * @param {number} start The start of the time range for the query, unit is seconds. * @param {number} end The end of the time range for the query, unit is seconds. * @param {string} [billID] The ID of the bill * @param {string} [clusterID] The ID of the cluster * @param {string} [projectName] name of the project * @param {*} [options] Override http request option. * @throws {RequiredError} */ listOrgBills: (orgName: string, aggregationTime: AggregationTimeType, aggregationGroup: OrgAggregationGroupType, start: number, end: number, billID?: string, clusterID?: string, projectName?: string, options?: RawAxiosRequestConfig) => Promise; }; /** * BillingApi - functional programming interface * @export */ export declare const BillingApiFp: (configuration?: Configuration) => { /** * * @summary List bills in the organization * @param {string} orgName name of the organization * @param {AggregationTimeType} aggregationTime The type of aggregation time * @param {OrgAggregationGroupType} aggregationGroup The type of aggregation group * @param {number} start The start of the time range for the query, unit is seconds. * @param {number} end The end of the time range for the query, unit is seconds. * @param {string} [billID] The ID of the bill * @param {string} [clusterID] The ID of the cluster * @param {string} [projectName] name of the project * @param {*} [options] Override http request option. * @throws {RequiredError} */ listOrgBills(orgName: string, aggregationTime: AggregationTimeType, aggregationGroup: OrgAggregationGroupType, start: number, end: number, billID?: string, clusterID?: string, projectName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * BillingApi - factory interface * @export */ export declare const BillingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary List bills in the organization * @param {BillingApiListOrgBillsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listOrgBills(requestParameters: BillingApiListOrgBillsRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * BillingApi - interface * @export * @interface BillingApi */ export interface BillingApiInterface { /** * * @summary List bills in the organization * @param {BillingApiListOrgBillsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BillingApiInterface */ listOrgBills(requestParameters: BillingApiListOrgBillsRequest, options?: RawAxiosRequestConfig): AxiosPromise; } /** * Request parameters for listOrgBills operation in BillingApi. * @export * @interface BillingApiListOrgBillsRequest */ export interface BillingApiListOrgBillsRequest { /** * name of the organization * @type {string} * @memberof BillingApiListOrgBills */ readonly orgName: string; /** * The type of aggregation time * @type {AggregationTimeType} * @memberof BillingApiListOrgBills */ readonly aggregationTime: AggregationTimeType; /** * The type of aggregation group * @type {OrgAggregationGroupType} * @memberof BillingApiListOrgBills */ readonly aggregationGroup: OrgAggregationGroupType; /** * The start of the time range for the query, unit is seconds. * @type {number} * @memberof BillingApiListOrgBills */ readonly start: number; /** * The end of the time range for the query, unit is seconds. * @type {number} * @memberof BillingApiListOrgBills */ readonly end: number; /** * The ID of the bill * @type {string} * @memberof BillingApiListOrgBills */ readonly billID?: string; /** * The ID of the cluster * @type {string} * @memberof BillingApiListOrgBills */ readonly clusterID?: string; /** * name of the project * @type {string} * @memberof BillingApiListOrgBills */ readonly projectName?: string; } /** * BillingApi - object-oriented interface * @export * @class BillingApi * @extends {BaseAPI} */ export declare class BillingApi extends BaseAPI implements BillingApiInterface { /** * * @summary List bills in the organization * @param {BillingApiListOrgBillsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BillingApi */ listOrgBills(requestParameters: BillingApiListOrgBillsRequest, options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=billing-api.d.ts.map