import type * as Samsara from "../index.js"; /** * Trip */ export interface TripResponseBody { asset: Samsara.TripAssetResponseBody; /** Trip completion status Valid values: `inProgress`, `completed` */ completionStatus: TripResponseBody.CompletionStatus; /** [RFC 3339] Time the trip was created in Samsara in UTC. */ createdAtTime: string; endLocation?: Samsara.LocationResponseResponseBody | undefined; startLocation: Samsara.LocationResponseResponseBody; /** [RFC 3339] Time the trip ended in UTC. */ tripEndTime?: string | undefined; /** [RFC 3339] Time the trip started in UTC. */ tripStartTime: string; /** [RFC 3339] Time the trip was updated in Samsara in UTC. Valid updates are when `endTime` populates or `completionStatus` changes values. */ updatedAtTime: string; } export declare namespace TripResponseBody { /** Trip completion status Valid values: `inProgress`, `completed` */ const CompletionStatus: { readonly InProgress: "inProgress"; readonly Completed: "completed"; }; type CompletionStatus = (typeof CompletionStatus)[keyof typeof CompletionStatus]; }