/** * 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 { CreateCustomerRequest, Customer, GetCustomers200Response, GetCustomersOrderByParameter } from '../models/index'; export interface CreateCustomerOperationRequest { x_entity_id: string; data: CreateCustomerRequest; } export interface GetCustomersRequest { x_entity_id: string; limit?: number; next_cursor?: string; prev_cursor?: string; order_by?: GetCustomersOrderByParameter; query?: string; search?: string; } /** * */ export declare class CustomersApi extends runtime.BaseAPI { /** * Create a new customer for use in invoices. Store customer details including name, address, and tax information. All fields except name are optional. * Create a new customer */ createCustomerRaw(requestParameters: CreateCustomerOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Create a new customer for use in invoices. Store customer details including name, address, and tax information. All fields except name are optional. * Create a new customer */ createCustomer(requestParameters: CreateCustomerOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Retrieve a paginated list of customers with optional filtering and sorting. Supports cursor-based pagination, flexible JSON querying with MongoDB-style operators, full-text search, and sorting. * List all customers */ getCustomersRaw(requestParameters: GetCustomersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieve a paginated list of customers with optional filtering and sorting. Supports cursor-based pagination, flexible JSON querying with MongoDB-style operators, full-text search, and sorting. * List all customers */ getCustomers(requestParameters: GetCustomersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise & AsyncIterable; } //# sourceMappingURL=CustomersApi.d.ts.map