import type * as Samsara from "../index.js"; /** * A single route event. */ export interface RouteEventResponseResponseBody { eventDetails?: Samsara.RouteEventDetailsResponseBody | undefined; /** Time the event was processed in RFC 3339 format */ eventTime: string; /** Type of the event that occurred. Valid values: `stopArrived`, `stopCompleted`, `stopEnRoute`, `stopSkipped`, `stopTaskCompleted`, `stopTaskSkipped`, `stopEtaUpdated`, `unspecified` */ eventType: RouteEventResponseResponseBody.EventType; /** Time the event happened in RFC 3339 format */ happenedAtTime: string; /** Unique ID of the route event. */ id: string; route: Samsara.RouteEventRouteResponseResponseBody; stop?: Samsara.RouteEventStopResponseResponseBody | undefined; } export declare namespace RouteEventResponseResponseBody { /** Type of the event that occurred. Valid values: `stopArrived`, `stopCompleted`, `stopEnRoute`, `stopSkipped`, `stopTaskCompleted`, `stopTaskSkipped`, `stopEtaUpdated`, `unspecified` */ const EventType: { readonly StopArrived: "stopArrived"; readonly StopCompleted: "stopCompleted"; readonly StopEnRoute: "stopEnRoute"; readonly StopSkipped: "stopSkipped"; readonly StopTaskCompleted: "stopTaskCompleted"; readonly StopTaskSkipped: "stopTaskSkipped"; readonly StopEtaUpdated: "stopEtaUpdated"; readonly Unspecified: "unspecified"; }; type EventType = (typeof EventType)[keyof typeof EventType]; }