/** * Contains the location, in latitude and longitude, of a vehicle. */ export interface VehicleLocationResponseBody { /** The ID of the driver currently assigned to this vehicle. */ driverId?: number | undefined; /** Heading in degrees. */ heading?: number | undefined; /** ID of the vehicle. */ id: number; /** Latitude in decimal degrees. */ latitude?: number | undefined; /** Text representation of nearest identifiable location to (latitude, longitude) coordinates. */ location?: string | undefined; /** Longitude in decimal degrees. */ longitude?: number | undefined; /** Name of the vehicle. */ name?: string | undefined; /** The number of meters reported by the odometer. */ odometerMeters?: number | undefined; /** The source of data for odometerMeters. Will be either GPS or OBD Valid values: `GPS`, `OBD` */ odometerType?: VehicleLocationResponseBody.OdometerType | undefined; /** Whether or not a trip is currently in progress for this vehicle. More information available via /fleet/trips endpoint. */ onTrip?: boolean | undefined; /** A list of currently active route IDs that the vehicle is in. */ routeIds?: number[] | undefined; /** Speed in miles per hour. */ speed?: number | undefined; /** The time the reported location was logged, reported as a UNIX timestamp in milliseconds. */ time?: number | undefined; /** Vehicle Identification Number (VIN) of the vehicle. */ vin?: string | undefined; } export declare namespace VehicleLocationResponseBody { /** The source of data for odometerMeters. Will be either GPS or OBD Valid values: `GPS`, `OBD` */ const OdometerType: { readonly Gps: "GPS"; readonly Obd: "OBD"; }; type OdometerType = (typeof OdometerType)[keyof typeof OdometerType]; }