Application Load
IInvoicesResponse
The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.
IInvoicesResponseField or general errors.
app/interfaces/orionplace/payments/IInvoice.tsexport interface IInvoicesResponse {
// Field or general errors.
form_errors: Record<string, ApiFormError[]> | null;
// Success message, or null.
success_message: string | null;
// Invoices, pagination and optional counts.
page_data: {
// Value of data.
data: IInvoice[];
// Pagination metadata; default and maximum page size 35.
rpag: IApiPagination;
// Wallet, order, subscription and author-earnings totals before filtering.
// Returned when `paginate.page: 1` is explicitly supplied.
counts?: {
// Value of c_wallet.
c_wallet: number;
// Value of c_order.
c_order: number;
// Value of c_paid_sub.
c_paid_sub: number;
// Value of c_writer_earnings.
c_writer_earnings: number;
};
} | null;
}