import { IsoDate } from './iso-date.model'; /** * Inspection Result * ============================================================================= * The numeric status of an inspection of an item of equipment. */ export declare enum ResultStatus { Incomplete = 0, Operational = 1, ToMonitor = 2, RepairRequired = 3, Retired = 4, Lost = 5, Unserviceable = 6 } /** * Inspection Result * ============================================================================= * From: /team/inspection-results(/:id) * * This is the result of an inspection, which holds a list of items to actually * inspect. This is logically, e.g. opening a box and ensuring the contents are * present. */ export interface Result { completed: boolean; created_at: IsoDate; date_completed: IsoDate; date_due: IsoDate; description: string; id: number; member_id: number; notification_sent: boolean; reminder_date: IsoDate; reminder_sent: boolean; repair_id: number; status: ResultStatus; team_id: number; updated_at: IsoDate; equipment: { id: number; location_id: number; ref: string; title: string; }; inspection: { description: string; id: number; title: string; }; }