import { Agent } from './agent';

export type TpeStatus =
  | 'VALIDE'
  | 'INVALIDE'
  | 'EN_PANNE'
  | 'BLOQUE'
  | 'DISPONIBLE'
  | 'AFFECTE'
  | 'EN_MAINTENANCE'
  | 'HORS_SERVICE'
  | 'VOLE';
export type TpeType = 'POS' | 'OTHER';

export interface TpeDevice {
  id: string;
  imei: string;
  serial: string;
  type: TpeType;
  marque: string;
  modele: string;
  statut: TpeStatus;
  agent?: Agent;
  assigne: boolean;
  createdAt?: string;
  updatedAt?: string;
}
