/**
 * Invoice generation job schema bridge — bulk-invoice-generation (P048).
 *
 * Bulk billing runs do NOT create a new table. Per the bulk-invoice-generation
 * spec (§ "Large Batches"), jobs are tracked in the shared `import_jobs` table
 * with:
 *   type    = 'bulk_action'
 *   columnMappings.action = 'invoice_generate'
 *   columnMappings.periodStart / periodEnd / customerIds / options ...
 *
 * Progress is read from importJobs.successCount / errorCount / skippedCount /
 * totalRows; per-customer results are rows in import_job_results (entityId holds
 * the created invoice UUID for 'success' rows; rawRow holds customer info).
 *
 * This file re-exports the types from the data-import schema (leaf 8) so that
 * packages/db/src/queries/invoice-generation.ts can import them from a single
 * leaf-2-owned file without directly importing leaf-8 schema internals.
 */

// Re-export shared job types — table defined in packages/db/src/schema/data-import.ts (leaf 8).
export type {
  ImportJobRow as InvoiceGenerationJobRow,
  NewImportJob as NewInvoiceGenerationJob,
  ImportJobResultRow as InvoiceGenerationJobResultRow,
  NewImportJobResult as NewInvoiceGenerationJobResult,
} from './data-import'
