interface Scans { city: string state: string time: number action: DelhiveryAction remarks: string carrier_remarks: string } export type DelhiveryAction = "X-UCI" | "X-PPOM" | "X-PROM" | "X-PIOM" | "X-DLL2F" | "X-ILL2F" | "INT-SL-GEN" | "INT-FWD" | "INT-TR-02" | "INT-TR-03" | "INT-TR-04" | "DLYRG-148" | "DLYRG-151" | "INT-TR-05" | "X-DDD3F" | "ED-100" | "EOD-38" | "FMEOD-152" | "DLYLH-106" | "X-IBD3F" | "INT-HDD" | "DLYLH-136" export interface DelhiveryResponse { payload: { waybills_found: [ { waybill: string order: string destination: { zip: string country: string address: string city: string state: string }, origin: { zip: string country: string city: string state: string }, scans: Array, shipment_type: string requires_auth_letter: true } ], waybills_not_found: [ { waybill : string, status : string } ] }, message: string } export interface FlclTrackingRespons { reference: string, tracking_number: string, tracking_history: Array } export interface TrackingHistory { code: string, status: string, status_date: Date, event_date: number, status_detail: string, location: string, country: string, carrier: string } export interface TrackingArgs { reference_id: string carrier: string tracking_number: string origin_country: string }