import type * as Samsara from "../index.js"; /** * Route object */ export interface RouteObjectResponseBody { /** The cost of the route */ cost: number; /** The timestamp (in UTC) when the route was created */ createdAt: string; /** The dispatch route identifier */ dispatchRouteId?: string | undefined; /** The total distance of the route in meters */ distanceMeters: number; driver?: Samsara.RouteDriverObjectResponseBody | undefined; /** The total duration of the route in seconds */ durationSeconds: number; /** The ID of the hub this route belongs to */ hubId: string; /** The Samsara-generated unique identifier (UUID) for the route */ id: string; /** Whether the route has been edited */ isEdited: boolean; /** Whether the route is pinned */ isPinned: boolean; /** The name of the route */ name: string; /** The organization location timezone calculated from hub */ orgLocationTimezone: string; /** The ID of the plan this route belongs to */ planId: string; /** List of quantity information for the route */ quantities?: Samsara.QuantityObjectResponseBody[] | undefined; /** The scheduled end time of the route calculated from last stop */ scheduledRouteEndTime: string; /** The scheduled start time of the route calculated from first stop */ scheduledRouteStartTime: string; /** List of stops on the route */ stops: Samsara.RouteStopObjectResponseBody[]; /** The type of route */ type: string; /** The timestamp (in UTC) when the route was last updated */ updatedAt: string; vehicle?: Samsara.RouteVehicleObjectResponseBody | undefined; }