Dont fail if one bulk fails, collect results separately

This commit is contained in:
shamoon committed 2026-10-20 08:57:24 -07:00
1 parent 36c31b3a73
commit bf316cba8a
8 files changed
+289 -20

No files matched your search

+6
View File
@@ -162,3 +162,9 @@ export interface OcrZoneRunResult {
custom_field: string
value: string | number | null
}
export interface OcrZoneRunResponse {
status: 'completed' | 'skipped'
reason?: 'no_document_type' | 'no_template'
results: OcrZoneRunResult[]
}