import type * as Samsara from "../../../../index.js"; /** * @example * { * startTime: "startTime" * } */ export interface StreamWorkOrdersRequest { /** 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; /** A start time in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00). */ startTime: string; /** An end time in RFC 3339 format. Defaults to now if not provided. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00). */ endTime?: string; /** Work Order status filter. */ workOrderStatuses?: Samsara.StreamWorkOrdersRequestWorkOrderStatusesItem | Samsara.StreamWorkOrdersRequestWorkOrderStatusesItem[]; /** Work Order asset id filter. Up to 50 ids. */ assetIds?: string | string[]; /** Work Order assigned user id filter. Up to 50 ids. */ assignedUserIds?: string | string[]; /** When true, populates `maintenanceSite.placeExternalIds` on each work order by resolving the linked Place's external ids. Defaults to false. Adds one batch lookup per response page. */ includeExternalIds?: boolean; }