import type * as Samsara from "../../../../index.js"; /** * @example * { * startTime: "startTime" * } */ export interface GetTripsRequest { /** Indicates whether or not to return expanded “asset” data */ includeAsset?: boolean; /** Filters trips based on a specific completion status Valid values: `inProgress`, `completed`, `all` */ completionStatus?: Samsara.GetTripsRequestCompletionStatus; /** RFC 3339 timestamp that indicates when to begin receiving data. Value is compared against `updatedAtTime` or `tripStartTime` depending on the queryBy parameter. */ startTime: string; /** RFC 3339 timestamp which is compared against `updatedAtTime` or `tripStartTime` depending on the queryBy parameter. If not provided then the endpoint behaves as an unending feed of changes. */ endTime?: string; /** Decide which timestamp the `startTime` and `endTime` are compared to. Valid values: `updatedAtTime`, `tripStartTime` */ queryBy?: Samsara.GetTripsRequestQueryBy; /** If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results. */ after?: string; /** Comma-separated list of asset IDs. Include up to 50 asset IDs. */ ids?: string | string[]; }