/** * 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 { FileMetadataBaseMetadata } from './fileMetadataBaseMetadata'; /** * File metadata record with upload information */ export interface FileMetadataBase { /** @maxLength 36 */ id: string; /** @maxLength 36 */ entity_id: string; /** * @maxLength 36 * @nullable */ invoice_id?: string | null; /** * @maxLength 36 * @nullable */ estimate_id?: string | null; /** * @maxLength 36 * @nullable */ credit_note_id?: string | null; /** * @maxLength 36 * @nullable */ advance_invoice_id?: string | null; /** * @maxLength 36 * @nullable */ incoming_purchase_document_id?: string | null; /** @maxLength 20 */ category: string; /** @maxLength 500 */ url: string; /** @maxLength 500 */ secureUrl: string; /** @maxLength 200 */ publicId: string; /** @maxLength 20 */ format: string; /** * @minimum -2147483648 * @maximum 2147483647 * @nullable */ width?: number | null; /** * @minimum -2147483648 * @maximum 2147483647 * @nullable */ height?: number | null; /** * @minimum -2147483648 * @maximum 2147483647 */ bytes: number; /** * @maxLength 255 * @nullable */ filename?: string | null; /** @maxLength 100 */ mime_type: string; metadata: FileMetadataBaseMetadata; /** * @maxLength 255 * @nullable */ cache_key?: string | null; created_at: string; updated_at: string; } //# sourceMappingURL=fileMetadataBase.d.ts.map