import type * as Samsara from "../index.js"; /** * A description of a DVIR defect */ export interface DvirDefectsObjectV20220913ResponseBody { /** Comment on the defect. */ comment?: string | undefined; /** Time when the defect was created. UTC timestamp in RFC 3339 format. */ createdAtTime: string; /** The severity of the DVIR defect. Valid values: `minor`, `major`, `unspecified` */ defectSeverity?: DvirDefectsObjectV20220913ResponseBody.DefectSeverity | undefined; /** The type of DVIR defect. */ defectType: string; /** The ID of the DVIR defect type. */ defectTypeId?: string | undefined; /** The ID of the defect. */ id: string; /** Signifies if this defect is resolved. */ isResolved: boolean; /** The mechanic notes on this defect. */ mechanicNotes?: string | undefined; /** Time when mechanic notes were last updated. UTC timestamp in RFC 3339 format. */ mechanicNotesUpdatedAtTime?: string | undefined; /** Time when this defect was resolved. Will not be returned if the defect is unresolved. UTC timestamp in RFC 3339 format. */ resolvedAtTime?: string | undefined; resolvedBy?: Samsara.DvirResolvedByObjectResponseBody | undefined; trailer?: Samsara.GoaTrailerTinyResponseResponseBody | undefined; vehicle?: Samsara.VehicleWithGatewayTinyResponseResponseBody | undefined; } export declare namespace DvirDefectsObjectV20220913ResponseBody { /** The severity of the DVIR defect. Valid values: `minor`, `major`, `unspecified` */ const DefectSeverity: { readonly Minor: "minor"; readonly Major: "major"; readonly Unspecified: "unspecified"; }; type DefectSeverity = (typeof DefectSeverity)[keyof typeof DefectSeverity]; }