import { APIResource } from "../core/resource.mjs"; import * as Shared from "./shared.mjs"; import { APIPromise } from "../core/api-promise.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; export declare class Invoices extends APIResource { /** * Get Invoice */ retrieve(id: string, options?: RequestOptions): APIPromise; /** * List Invoices */ list(query?: InvoiceListParams | null | undefined, options?: RequestOptions): APIPromise; } export interface InvoiceRetrieveResponse { /** * An invoice record, which describes a bill that can be associated with a * purchase, subscription, or stand alone. Each invoice has a specific type that * determines its behavior and required fields. */ invoice: Shared.PurchaseInvoiceClientSelectSchema | Shared.SubscriptionInvoiceClientSelectSchema | Shared.StandaloneInvoiceClientSelectSchema; invoiceLineItems: Array; } export interface InvoiceListResponse { data: Array; hasMore: boolean; total: number; currentCursor?: string; nextCursor?: string; } export interface InvoiceListParams { cursor?: string; limit?: string; } export declare namespace Invoices { export { type InvoiceRetrieveResponse as InvoiceRetrieveResponse, type InvoiceListResponse as InvoiceListResponse, type InvoiceListParams as InvoiceListParams, }; } //# sourceMappingURL=invoices.d.mts.map