/** * Billingual API * REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking. * * The version of the OpenAPI document: 1.0.0 * Contact: api@billingual.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 * as runtime from '../runtime'; import type { CreateInvoiceRequest, GetInvoices200Response, GetInvoicesOrderByParameter, Invoice } from '../models/index'; export interface CreateInvoiceOperationRequest { x_entity_id: string; data: CreateInvoiceRequest; } export interface GetInvoiceByIdRequest { id: string; x_entity_id: string; } export interface GetInvoicesRequest { x_entity_id: string; limit?: number; next_cursor?: string; prev_cursor?: string; order_by?: GetInvoicesOrderByParameter; query?: string; search?: string; } /** * */ export declare class InvoicesApi extends runtime.BaseAPI { /** * Create a new invoice with line items. Customer is optional - can be omitted for retail/convenience store sales where customer information isn\'t needed, or added inline without referencing a customer_id. The invoice number is auto-generated based on the entity\'s number format settings. Taxes are calculated automatically based on the tax rates provided. * Create a new invoice */ createInvoiceRaw(requestParameters: CreateInvoiceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Create a new invoice with line items. Customer is optional - can be omitted for retail/convenience store sales where customer information isn\'t needed, or added inline without referencing a customer_id. The invoice number is auto-generated based on the entity\'s number format settings. Taxes are calculated automatically based on the tax rates provided. * Create a new invoice */ createInvoice(requestParameters: CreateInvoiceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Retrieve a single invoice by its unique identifier. Returns the complete invoice details including all line items, customer information, and calculated totals. * Get invoice by ID */ getInvoiceByIdRaw(requestParameters: GetInvoiceByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieve a single invoice by its unique identifier. Returns the complete invoice details including all line items, customer information, and calculated totals. * Get invoice by ID */ getInvoiceById(requestParameters: GetInvoiceByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Retrieve a paginated list of invoices with optional filtering and sorting. Supports cursor-based pagination for efficient navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and sorting by various invoice properties. * List all invoices */ getInvoicesRaw(requestParameters: GetInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieve a paginated list of invoices with optional filtering and sorting. Supports cursor-based pagination for efficient navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and sorting by various invoice properties. * List all invoices */ getInvoices(requestParameters: GetInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise & AsyncIterable; } //# sourceMappingURL=InvoicesApi.d.ts.map