import type * as Samsara from "../../../../index.mjs"; /** * @example * { * driverId: "494123", * vehicleId: "281474978683353" * } */ export interface DriverVehicleAssignmentsV2CreateDriverVehicleAssignmentRequestBody { /** The time at which the assignment was made 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). */ assignedAtTime?: string; /** ID of the driver. This can be either a unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the driver. */ driverId: string; /** The end time in RFC 3339 format. Defaults to max-time (meaning it's an ongoing assignment) 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; /** Is this driver a passenger? Defaults to false if not provided */ isPassenger?: boolean; metadata?: Samsara.PostDriverVehicleAssignmentsV2RequestBodyMetadataRequestBody; /** The start 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). */ startTime?: string; /** ID of the vehicle. This can be either a unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the vehicle. */ vehicleId: string; }