export interface STI_JobOrder { JobOrderNo: string; CustomerName: string; CustomerPONumber: string; ProjectNumber: string; ProjectName: string; Type: string; Incoterms: string; ProjectManager: string; Stakeholders: string; ContractDate: Date; RIBDate: Date; LatestVievDate: Date; UTDC: Date; UTDV: Date; k: string; } export interface STI_JobOrderLine { JobOrderNo: string; Line: string; STICode: string; PartDescription: string; PartDescriptionPlus: string; Qty: number; Commessa: string; UTDC: Date; UTDV: Date; k: string; operations: STI_Operation[]; } export interface STI_Operation { JobOrderNo: string; Line: string; OperationID: string; Contract: string; RoutingType: string; RoutingRevision: string; RoutingAlternate: string; STICode: string; PartDescription: string; PartDescriptionPlus: string; ProjectID: string; ProjectManager: string; WorkCenterNo: string; WorkCenterDescription: string; Phase: string; BARESubactivity: string; PAINTINGSubactivity: string; FINALSubactivity: string; StartDate: Date; FinishDate: Date; RemainingMfgHours: number; Runtime: number; SetupTime: number; TotalTime: number; UTDC: Date; } export interface IJobOrderData { jobOrder: STI_JobOrder; lines: STI_JobOrderLine[]; } export interface DocumentFileLookupFile { name: string; /** Revision from the _REV sibling on ENG_Datasheet_sez5, when present. */ rev: string | null; } export interface DocumentFileLookupResult { jobOrderNo: string; lineNo: string; classCode: string; /** Kept for back-compat: file name codes without their revisions. */ fileNames: string[]; /** Same file name codes paired with their per-column revision. */ files: DocumentFileLookupFile[]; } export interface SmbShareFileEntry { name: string; size?: number; modifiedAt?: string; } export interface SmbShareListingResponse { files: SmbShareFileEntry[]; }