@lomi./sdk
Version:
Official TypeScript SDK for the lomi. API
53 lines • 1.65 kB
TypeScript
import type { customer_invoices } from '../models/customer_invoices.js';
import type { CancelablePromise } from '../core/CancelablePromise.js';
export declare class CustomerInvoicesService {
/**
* List customer invoices
* Customer invoices - view subscription invoices
* @returns any Successful response with paginated data
* @throws ApiError
*/
static listCustomerInvoices({ limit, offset, sort, }: {
/**
* Maximum number of items to return (1-100)
*/
limit?: number;
/**
* Number of items to skip for pagination
*/
offset?: number;
/**
* Sort order. Format: `field:direction` (e.g., `created_at:desc`)
*/
sort?: string;
}): CancelablePromise<{
data?: Array<customer_invoices>;
pagination?: {
/**
* Number of items per page
*/
limit?: number;
/**
* Number of items skipped
*/
offset?: number;
/**
* Total number of items available
*/
total?: number;
};
}>;
/**
* Retrieve customer invoice
* Retrieve a specific customer invoice by its unique identifier.
* @returns customer_invoices Customer_invoice retrieved successfully
* @throws ApiError
*/
static retrieveCustomerInvoice({ invoiceId, }: {
/**
* Unique identifier for the customer invoice
*/
invoiceId: string;
}): CancelablePromise<customer_invoices>;
}
//# sourceMappingURL=CustomerInvoicesService.d.ts.map