import type * as Samsara from "../index.js"; /** * A route template for a hub. */ export interface HubRouteTemplateObjectResponseBody { /** The timestamp when the route template was created, in RFC 3339 format. */ createdAtTime: string; defaultDepotEnd?: Samsara.HubRouteTemplateDepotObjectResponseBody | undefined; defaultDepotStart?: Samsara.HubRouteTemplateDepotObjectResponseBody | undefined; /** Default start time of day for the route template, in HH:MM format in the hub's local timezone (e.g. '08:00'). */ defaultStartTimeOfDay?: string | undefined; /** Total distance of the route in meters. */ distanceMeters: number; /** Total duration of the route in seconds. */ durationSeconds: number; /** The hub identifier this route template belongs to. */ hubId: string; /** The IANA timezone of the hub (e.g. 'America/Los_Angeles'). */ hubTimezone: string; /** The unique identifier for the route template. */ id: string; /** Ordered list of stop locations in the route template. */ locations: Samsara.HubRouteTemplateLocationObjectResponseBody[]; /** The name of the route template. */ name: string; /** The timestamp when the route template was last updated, in RFC 3339 format. */ updatedAtTime: string; }