/** * Daytona Billing API * Daytona Billing API * * The version of the OpenAPI document: v0.0.0-dev * * * 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 { BillingInfo } from '../models'; import type { ChargeList } from '../models'; import type { PaymentMethod } from '../models'; /** * BillingInfoApi - axios parameter creator */ export declare const BillingInfoApiAxiosParamCreator: (configuration?: Configuration) => { /** * Get organization billing contact and address from v2 billing * @summary Get billing info * @param {string} organizationId Organization ID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getV2BillingInfo: (organizationId: string, options?: RawAxiosRequestConfig) => Promise; /** * List successful and failed Stripe charges for the organization * @summary List Stripe charges * @param {string} organizationId Organization ID * @param {number} [limit] Page size (1-100, default 25) * @param {string} [startingAfter] Stripe cursor (charge ID) to paginate after * @param {*} [options] Override http request option. * @throws {RequiredError} */ listV2Charges: (organizationId: string, limit?: number, startingAfter?: string, options?: RawAxiosRequestConfig) => Promise; /** * List card payment methods attached to the Stripe customer * @summary List payment methods * @param {string} organizationId Organization ID * @param {*} [options] Override http request option. * @throws {RequiredError} */ listV2PaymentMethods: (organizationId: string, options?: RawAxiosRequestConfig) => Promise; }; /** * BillingInfoApi - functional programming interface */ export declare const BillingInfoApiFp: (configuration?: Configuration) => { /** * Get organization billing contact and address from v2 billing * @summary Get billing info * @param {string} organizationId Organization ID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getV2BillingInfo(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * List successful and failed Stripe charges for the organization * @summary List Stripe charges * @param {string} organizationId Organization ID * @param {number} [limit] Page size (1-100, default 25) * @param {string} [startingAfter] Stripe cursor (charge ID) to paginate after * @param {*} [options] Override http request option. * @throws {RequiredError} */ listV2Charges(organizationId: string, limit?: number, startingAfter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * List card payment methods attached to the Stripe customer * @summary List payment methods * @param {string} organizationId Organization ID * @param {*} [options] Override http request option. * @throws {RequiredError} */ listV2PaymentMethods(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; }; /** * BillingInfoApi - factory interface */ export declare const BillingInfoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Get organization billing contact and address from v2 billing * @summary Get billing info * @param {string} organizationId Organization ID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getV2BillingInfo(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * List successful and failed Stripe charges for the organization * @summary List Stripe charges * @param {string} organizationId Organization ID * @param {number} [limit] Page size (1-100, default 25) * @param {string} [startingAfter] Stripe cursor (charge ID) to paginate after * @param {*} [options] Override http request option. * @throws {RequiredError} */ listV2Charges(organizationId: string, limit?: number, startingAfter?: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * List card payment methods attached to the Stripe customer * @summary List payment methods * @param {string} organizationId Organization ID * @param {*} [options] Override http request option. * @throws {RequiredError} */ listV2PaymentMethods(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise>; }; /** * BillingInfoApi - object-oriented interface */ export declare class BillingInfoApi extends BaseAPI { /** * Get organization billing contact and address from v2 billing * @summary Get billing info * @param {string} organizationId Organization ID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getV2BillingInfo(organizationId: string, options?: RawAxiosRequestConfig): Promise>; /** * List successful and failed Stripe charges for the organization * @summary List Stripe charges * @param {string} organizationId Organization ID * @param {number} [limit] Page size (1-100, default 25) * @param {string} [startingAfter] Stripe cursor (charge ID) to paginate after * @param {*} [options] Override http request option. * @throws {RequiredError} */ listV2Charges(organizationId: string, limit?: number, startingAfter?: string, options?: RawAxiosRequestConfig): Promise>; /** * List card payment methods attached to the Stripe customer * @summary List payment methods * @param {string} organizationId Organization ID * @param {*} [options] Override http request option. * @throws {RequiredError} */ listV2PaymentMethods(organizationId: string, options?: RawAxiosRequestConfig): Promise>; }