import type * as Samsara from "../../../../index.mjs"; /** * @example * { * startTime: "startTime", * endTime: "endTime" * } */ export interface GetIdlingEventsRequest { /** The start of the time range for filtering idling events in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-11T19:00:00Z, 2015-09-12T14:00:00-04:00). Returns events that begin at or after this timestamp. */ startTime: string; /** The end of the time range for filtering idling events in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:00:00Z, 2015-09-15T14:00:00-04:00). Returns events that begin before this timestamp. */ endTime: string; /** A filter on the data based on this comma-separated list of asset IDs. Asset IDs only include vehicle IDs at this time. */ assetIds?: string | string[]; /** A filter on the data based on this comma-separated list of operator IDs. Operator IDs only include driver IDs at this time. */ operatorIds?: string | string[]; /** A filter on the data on this PTO (Power Take-Off) state. If no specific state is provided, data including any state will be included. Valid values: `active`, `inactive` */ ptoState?: Samsara.GetIdlingEventsRequestPtoState; /** A filter on the data based on the minimum value of air temperature in millicelsius. The acceptable range for this value is between -20,000 and 50,000 millicelsius. */ minAirTemperatureMillicelsius?: number; /** A filter on the data based on the maximum value of air temperature in millicelsius. The acceptable range for this value is between -20,000 and 50,000 millicelsius. */ maxAirTemperatureMillicelsius?: number; /** A filter on the data based on unknown air temperature value. */ excludeEventsWithUnknownAirTemperature?: boolean; /** A filter on the data based on the minimum value of Idling duration in milliseconds. The acceptable range for this value is between 2 minutes and 24 hours. */ minDurationMilliseconds?: number; /** A filter on the data based on the maximum value of Idling duration in milliseconds. The acceptable range for this value is between 2 minutes and 24 hours. */ maxDurationMilliseconds?: number; /** A filter on the data based on this comma-separated list of tag IDs. Tag IDs only include vehicle IDs at this time. */ tagIds?: string | string[]; /** A filter on the data based on this comma-separated list of parent tag IDs. Parent tag IDs only include vehicle IDs at this time. */ parentTagIds?: string | string[]; /** Optional boolean indicating whether to return external IDs on supported entities */ includeExternalIds?: boolean; /** 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; /** The limit for how many objects will be in the response. Default and max for this value is 200 objects. */ limit?: number; }