import type * as Samsara from "../index.js"; /** * Information about a DVIR. */ export interface Dvir { authorSignature?: Samsara.DvirAuthorSignature | undefined; /** Time when driver signed and completed this DVIR. UTC timestamp in RFC 3339 format. Example: `2020-01-27T07:06:25Z`. */ endTime?: string | undefined; /** Unique Samsara ID for the DVIR. */ id: string; licensePlate?: Samsara.DvirLicensePlate | undefined; location?: Samsara.DvirLocation | undefined; mechanicNotes?: Samsara.DvirMechanicNotes | undefined; odometerMeters?: Samsara.DvirOdometerMeters | undefined; /** The condition of vehicle on which DVIR was done. Valid values: `safe`, `unsafe`, `resolved`. */ safetyStatus?: Dvir.SafetyStatus | undefined; secondSignature?: Samsara.DvirSecondSignature | undefined; /** Time when driver began filling out this DVIR. UTC timestamp in RFC 3339 format. Example: `2020-01-27T07:06:25Z`. */ startTime?: string | undefined; thirdSignature?: Samsara.DvirThirdSignature | undefined; trailer?: Samsara.DvirTrailer | undefined; trailerDefects?: Samsara.DvirTrailerDefects | undefined; /** The name of the trailer the DVIR was submitted for. Only included for tractor+trailer DVIRs. */ trailerName?: string | undefined; /** Inspection type of the DVIR. Valid values: `preTrip`, `postTrip`, `mechanic`, `unspecified`. */ type?: Dvir.Type | undefined; vehicle?: Samsara.DvirVehicle | undefined; vehicleDefects?: Samsara.DvirVehicleDefects | undefined; } export declare namespace Dvir { /** The condition of vehicle on which DVIR was done. Valid values: `safe`, `unsafe`, `resolved`. */ const SafetyStatus: { readonly Safe: "safe"; readonly Unsafe: "unsafe"; readonly Resolved: "resolved"; }; type SafetyStatus = (typeof SafetyStatus)[keyof typeof SafetyStatus]; /** Inspection type of the DVIR. Valid values: `preTrip`, `postTrip`, `mechanic`, `unspecified`. */ const Type: { readonly PreTrip: "preTrip"; readonly PostTrip: "postTrip"; readonly Mechanic: "mechanic"; readonly Unspecified: "unspecified"; }; type Type = (typeof Type)[keyof typeof Type]; }