@updraft-solutions/mcrit-sdk 0.21.0 → 0.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/types/ai.ts CHANGED
@@ -133,6 +133,8 @@ export interface AircraftLogbookRowMeta extends LogbookSuggestionMeta {
133
133
  row_band?: { top: number; bottom: number } | null;
134
134
  /** Payload fields the admin corrected by hand (score recomputed from the corrected values). */
135
135
  corrected?: string[];
136
+ /** People the Bordbuch names who are not in the crew copied from the booking (attached rows; informational). */
137
+ crew_hint?: { membership_id: number; name: string; score: number }[];
136
138
  }
137
139
 
138
140
  export type AircraftLogbookRow = AiSuggestion<LogbookFlightLogPayload> & {
@@ -159,6 +161,8 @@ export interface LogbookImportBatch {
159
161
  unmatched_count: number;
160
162
  duplicate_count: number;
161
163
  failed_pages: { file: string; page: number | null; reason: string }[];
164
+ /** Per page index: how the page fared (prerotated/rotated in clockwise degrees). */
165
+ page_results?: Record<string, { status: "pending" | "read" | "failed"; file?: string; prerotated?: number; rotated?: number; rows?: number; logged?: number; duplicates?: number }> | null;
162
166
  task_uuid: string | null;
163
167
  requested_by: number | null;
164
168
  created_at: string;