/** * 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 { RecurringInvoiceBaseFrequency } from './recurringInvoiceBaseFrequency'; import type { RecurringInvoiceBaseMetadata } from './recurringInvoiceBaseMetadata'; import type { RecurringInvoiceBaseStatus } from './recurringInvoiceBaseStatus'; /** * Recurring invoice schedule configuration */ export interface RecurringInvoiceBase { /** @maxLength 36 */ id: string; /** @maxLength 36 */ entity_id: string; /** @maxLength 36 */ document_id: string; /** @maxLength 255 */ name: string; /** Recurrence frequency */ frequency: RecurringInvoiceBaseFrequency; /** * @minimum -2147483648 * @maximum 2147483647 */ interval: number; /** * @minimum -2147483648 * @maximum 2147483647 * @nullable */ day_of_week?: number | null; /** * @minimum -2147483648 * @maximum 2147483647 * @nullable */ day_of_month?: number | null; /** * @minimum -2147483648 * @maximum 2147483647 * @nullable */ month_of_year?: number | null; /** @maxLength 10 */ start_date: string; /** * @maxLength 10 * @nullable */ end_date?: string | null; /** * @maxLength 10 * @nullable */ next_run_date?: string | null; /** * @maxLength 10 * @nullable */ last_run_date?: string | null; /** Recurring invoice schedule status */ status: RecurringInvoiceBaseStatus; auto_send: boolean; create_as_draft: boolean; /** * @maxLength 255 * @nullable */ send_to?: string | null; /** * @minimum -2147483648 * @maximum 2147483647 * @nullable */ payment_terms_days?: number | null; notify_owner: boolean; /** * @minimum -2147483648 * @maximum 2147483647 */ invoices_generated: number; /** * @maxLength 36 * @nullable */ last_generated_invoice_id?: string | null; /** * @maxLength 1000 * @nullable */ last_error?: string | null; /** @nullable */ last_error_at?: string | null; metadata: RecurringInvoiceBaseMetadata; /** @nullable */ deleted_at?: string | null; created_at: string; updated_at: string; } //# sourceMappingURL=recurringInvoiceBase.d.ts.map