import type * as Samsara from "../index.js"; export interface DvirDefectGetDefectResponseBody { /** Comment on the defect. */ comment: string; /** Time when defect was created in RFC 3339 format. */ createdAtTime?: string | undefined; /** List of DVIR defect's photos */ defectPhotos?: Samsara.DefectPhotoResponseResponseBody[] | undefined; /** Driver-designated safety classification for this defect. Valid values: `safe`, `unsafe` */ defectSafetyStatus?: DvirDefectGetDefectResponseBody.DefectSafetyStatus | undefined; /** The unique ID of the defect type. */ defectTypeId?: string | undefined; /** The unique ID of the defect's DVIR. */ dvirId: string; /** The unique ID of the DVIR defect. */ id: string; /** Signifies if this defect is resolved. */ isResolved: boolean; /** The mechanics notes on the defect. */ mechanicNotes?: string | undefined; /** Time when this defect was resolved in RFC 3339 format. Will not be returned if the defect is unresolved. */ resolvedAtTime?: string | undefined; resolvedBy?: Samsara.DvirResolvedByObjectResponseBody | undefined; trailer?: Samsara.DefectTrailerResponseResponseBody | undefined; /** Time when defect was last updated in RFC 3339 format. */ updatedAtTime?: string | undefined; vehicle?: Samsara.DefectVehicleResponseResponseBody | undefined; } export declare namespace DvirDefectGetDefectResponseBody { /** Driver-designated safety classification for this defect. Valid values: `safe`, `unsafe` */ const DefectSafetyStatus: { readonly Safe: "safe"; readonly Unsafe: "unsafe"; }; type DefectSafetyStatus = (typeof DefectSafetyStatus)[keyof typeof DefectSafetyStatus]; }