/** * 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 { CreateRecurringInvoiceBodyFrequency } from './createRecurringInvoiceBodyFrequency'; import type { CreateRecurringInvoiceBodyMetadata } from './createRecurringInvoiceBodyMetadata'; export type CreateRecurringInvoiceBody = { /** @maxLength 36 */ document_id: string; /** @minLength 1 */ name: string; frequency: CreateRecurringInvoiceBodyFrequency; /** * @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; /** * Start date in YYYY-MM-DD format * @pattern ^\d{4}-\d{2}-\d{2}$ */ start_date: string; /** * End date in YYYY-MM-DD format (null = no end) * @pattern ^\d{4}-\d{2}-\d{2}$ */ end_date?: string; 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; /** * 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?: CreateRecurringInvoiceBodyMetadata; }; //# sourceMappingURL=createRecurringInvoiceBody.d.ts.map