/** * The person who resolved this defect. Will not be returned if the defect is unresolved. */ export interface DefectResolvedBy { /** ID of the entity that resolved this defect. If the defect was resolved by a driver, this will be a Samsara Driver ID. If the defect was resolved by a mechanic, this will be the Samsara Dashboard User ID of the mechanic. */ id?: string | undefined; /** Name of the person who resolved this defect. */ name?: string | undefined; /** Indicates whether this defect was resolved by a `driver` or a `mechanic`. */ type?: DefectResolvedBy.Type | undefined; } export declare namespace DefectResolvedBy { /** Indicates whether this defect was resolved by a `driver` or a `mechanic`. */ const Type: { readonly Driver: "driver"; readonly Mechanic: "mechanic"; }; type Type = (typeof Type)[keyof typeof Type]; }