/** * Generated by orval v8.5.3 🍺 * Do not edit manually. * Space Invoices 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. * OpenAPI spec version: 1.0.0 */ import type { CreateEntityBodyEnvironment } from './createEntityBodyEnvironment'; import type { CreateEntityBodyMetadata } from './createEntityBodyMetadata'; import type { CreateEntityBodySettings } from './createEntityBodySettings'; export type CreateEntityBody = { /** @minLength 1 */ name: string; /** * @maxLength 500 * @nullable */ address?: string | null; /** * @maxLength 500 * @nullable */ address_2?: string | null; /** * @maxLength 20 * @nullable */ post_code?: string | null; /** * @maxLength 100 * @nullable */ city?: string | null; /** * @maxLength 100 * @nullable */ state?: string | null; /** @maxLength 100 */ country: string; /** * @minLength 2 * @maxLength 2 * @nullable */ country_code?: string | null; /** * @maxLength 3 * @nullable */ currency_code?: string | null; /** * @maxLength 20 * @nullable */ locale?: string | null; /** * @maxLength 50 * @nullable */ tax_number?: string | null; /** * @maxLength 50 * @nullable */ tax_number_2?: string | null; /** * @maxLength 50 * @nullable */ company_number?: string | null; /** * @maxLength 50 * @nullable */ phone?: string | null; /** * @maxLength 255 * @nullable */ email?: string | null; /** * @maxLength 500 * @nullable */ website?: string | null; /** * @maxLength 10 * @nullable */ fiscal_region_code?: string | null; /** * @minimum -140737488355328 * @maximum 140737488355327 * @nullable */ starting_capital?: number | null; environment?: CreateEntityBodyEnvironment; is_tax_subject?: boolean; /** Whether the entity is enabled. Disabled entities cannot create documents (invoices, estimates, etc.) but all data remains accessible and settings can be updated. */ is_enabled?: boolean; /** Entity settings */ settings?: CreateEntityBodySettings; /** * Custom key-value data for your own use. Store any JSON object up to 50 properties. Values must be strings up to 250 characters. Useful for storing external IDs, tags, or integration data. * @nullable */ metadata?: CreateEntityBodyMetadata; }; //# sourceMappingURL=createEntityBody.d.ts.map