import type * as Samsara from "../index.js"; /** * Route feed object. */ export interface RouteFeedObjectResponseBody { changes: Samsara.RouteChangesResponseBody; /** The operation that was performed as part of this route update. Valid values: `stop scheduled`, `stop en route`, `stop skipped`, `stop arrived`, `stop departed`, `stop ETA updated`, `stop arrival time updated`, `stop completion time updated`, `stop order changed`, `stop arrival prevented` */ operation?: RouteFeedObjectResponseBody.Operation | undefined; route: Samsara.BaseRouteResponseObjectResponseBody; /** The source of this route update. Updates that are triggered by time or by the route being completed are 'automatic'. Valid values: `automatic`, `driver`, `admin` */ source: RouteFeedObjectResponseBody.Source; /** The timestamp of the route in RFC 3339 format. */ time: string; /** The type of route update. The route tracking updates occur as a route is completed and stops transition from one state to another. Currently only Route Tracking updates are supported, but this will change in the future when additional types are added. Valid values: `route tracking` */ type: RouteFeedObjectResponseBody.Type; } export declare namespace RouteFeedObjectResponseBody { /** The operation that was performed as part of this route update. Valid values: `stop scheduled`, `stop en route`, `stop skipped`, `stop arrived`, `stop departed`, `stop ETA updated`, `stop arrival time updated`, `stop completion time updated`, `stop order changed`, `stop arrival prevented` */ const Operation: { readonly StopScheduled: "stop scheduled"; readonly StopEnRoute: "stop en route"; readonly StopSkipped: "stop skipped"; readonly StopArrived: "stop arrived"; readonly StopDeparted: "stop departed"; readonly StopEtaUpdated: "stop ETA updated"; readonly StopArrivalTimeUpdated: "stop arrival time updated"; readonly StopCompletionTimeUpdated: "stop completion time updated"; readonly StopOrderChanged: "stop order changed"; readonly StopArrivalPrevented: "stop arrival prevented"; }; type Operation = (typeof Operation)[keyof typeof Operation]; /** The source of this route update. Updates that are triggered by time or by the route being completed are 'automatic'. Valid values: `automatic`, `driver`, `admin` */ const Source: { readonly Automatic: "automatic"; readonly Driver: "driver"; readonly Admin: "admin"; }; type Source = (typeof Source)[keyof typeof Source]; /** The type of route update. The route tracking updates occur as a route is completed and stops transition from one state to another. Currently only Route Tracking updates are supported, but this will change in the future when additional types are added. Valid values: `route tracking` */ const Type: { readonly RouteTracking: "route tracking"; }; type Type = (typeof Type)[keyof typeof Type]; }