/** * 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 { CreateItemRequest, GetItems200Response, GetItemsOrderByParameter, Item } from '../models/index'; export interface CreateItemOperationRequest { x_entity_id: string; data: CreateItemRequest; } export interface GetItemsRequest { x_entity_id: string; limit?: number; next_cursor?: string; prev_cursor?: string; order_by?: GetItemsOrderByParameter; query?: string; search?: string; } /** * */ export declare class ItemsApi extends runtime.BaseAPI { /** * Create a new product or service item for use in invoices. Items can include pricing, tax information (inline or by reference), and unit details. All fields except name are optional. * Create a new item */ createItemRaw(requestParameters: CreateItemOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Create a new product or service item for use in invoices. Items can include pricing, tax information (inline or by reference), and unit details. All fields except name are optional. * Create a new item */ createItem(requestParameters: CreateItemOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Retrieve a paginated list of items (products and services) with optional filtering and sorting. Supports cursor-based pagination, flexible JSON querying with MongoDB-style operators, full-text search, and sorting. * List all items */ getItemsRaw(requestParameters: GetItemsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieve a paginated list of items (products and services) with optional filtering and sorting. Supports cursor-based pagination, flexible JSON querying with MongoDB-style operators, full-text search, and sorting. * List all items */ getItems(requestParameters: GetItemsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise & AsyncIterable; } //# sourceMappingURL=ItemsApi.d.ts.map