import { EnumValue } from './enum-value'; import { LoadShortResponse } from './load-short-response'; import { AddressModel } from './adress-model'; import { TruckMinimalResponse } from '../../../models/truck-minimal-response'; import { TrailerMinimalResponse } from '../../../models/trailer-minimal-response'; import { CompanyUserShortResponse } from './companyUserShortResponse.model'; import { DriverDispatchResponse } from './driver-dispatch.model'; import { DispatchStatusResponse } from './dispatch-status-response.model'; import { DispatchHosResponse } from './dispatch-hos-response.model'; import { ParkingSlotShortResponse } from './parking-slot-short-response.model'; export interface DispatchResponse { id?: number; order?: number; dispatchBoardId?: number | null; dispatcher?: CompanyUserShortResponse; truck?: TruckMinimalResponse; trailer?: TrailerMinimalResponse; driver?: DriverDispatchResponse; coDriver?: DriverDispatchResponse | null; phone?: string | null; email?: string | null; location?: AddressModel; latitude?: number | null; longitude?: number | null; status?: DispatchStatusResponse; lastStatusDateTime?: string; currentStopType?: EnumValue | null; nextStopType?: EnumValue; hoursOfService?: Array | null; note?: string | null; activeLoad?: LoadShortResponse | null; parkingSlot?: ParkingSlotShortResponse | null; loadProgress?: any; //please leave as any for the moment. LoadProgressResponse is in the main project. preTripInspection?: EnumValue; preTripInspectionTime?: string | null; }