export type Vehicle = {
  vehicle: {
    id: number;
    tail_number: string;
    type: number;
    carrier_id: number;
    carrier: string;
    uuid?: string;
    model?: string;
    current_snapshot_uuid?: string;
    snapshot_update_blocked?: boolean;
    demo_mode_enabled?: boolean;
    maintenance_mode_on?: boolean;
    city_id?: number;
  };
  device_status?: {
    device_uuid: string;
    online: boolean;
    gps_ok: boolean;
    media_service_ok: boolean;
    last_update: string;
    is_connected: boolean;
    current_route_id?: number;
  };
};

export type VehicleMaintenanceSession = {
  duration_seconds: number;
  ended_at: string;
  id: number;
  started_at: string;
  vehicle_id: number;
};
