/** * 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 { CreateEntityRequest, Entity, GetEntities200Response, PatchEntityRequest } from '../models/index'; export interface CreateEntityOperationRequest { data: CreateEntityRequest; x_account_id?: string; } export interface GetEntitiesRequest { limit?: number; next_cursor?: string; prev_cursor?: string; x_account_id?: string; } export interface PatchEntityOperationRequest { id: string; PatchEntityRequest: PatchEntityRequest; x_account_id?: string; } /** * */ export declare class EntitiesApi extends runtime.BaseAPI { /** * Create a new legal entity (business, organization, or sole proprietor). Entities are the core organizational unit that owns customers, invoices, and items. Each entity can have custom number formatting for invoices and other settings. * Create a new entity */ createEntityRaw(requestParameters: CreateEntityOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Create a new legal entity (business, organization, or sole proprietor). Entities are the core organizational unit that owns customers, invoices, and items. Each entity can have custom number formatting for invoices and other settings. * Create a new entity */ createEntity(requestParameters: CreateEntityOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Retrieve a paginated list of entities. Supports cursor-based pagination for efficient data navigation. * List all entities */ getEntitiesRaw(requestParameters: GetEntitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieve a paginated list of entities. Supports cursor-based pagination for efficient data navigation. * List all entities */ getEntities(requestParameters?: GetEntitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise & AsyncIterable; /** * Update an existing entity\'s details. All fields are optional; only provided fields will be updated. Use this to modify entity information, address, tax details, or custom settings. * Update an entity */ patchEntityRaw(requestParameters: PatchEntityOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Update an existing entity\'s details. All fields are optional; only provided fields will be updated. Use this to modify entity information, address, tax details, or custom settings. * Update an entity */ patchEntity(requestParameters: PatchEntityOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } //# sourceMappingURL=EntitiesApi.d.ts.map