import { BinaryQuestion } from "./trajet"

export interface IExport {
  id: string
  exportFilesStatus: ExportTab
  startTime: string
  endTime: string
  whoRunExport: string
  filePath: string
  downloaded: BinaryQuestion
  fileSize: string
  moduleType?: ExportModuleType
}

export enum ExportTab {
  ALL = "ALL",
  COMPLETED = "COMPLETED",
  IN_PROGRESS = "IN_PROGRESS",
  FAILED = "FAILED"
}

export enum ExportModuleType {
  CONTRAT = 'Contrat',
  CIRCUIT = 'Circuit',
  TRAJET = 'Trajet',
  CHAUFFEUR = 'Chauffeur',
  USAGER = 'Usager',
  CLIENT = 'Client',
  ETABLISSEMENT = 'Établissement',
  VEHICULE = 'Véhicule',
  INCIDENT = 'Sinistre',
  CONSOMMATION = 'Consommation',
  INTERVENTION = 'Intervention',
  FRAIS_CARBURANT = 'Frais carburant',
  GEOLOC = 'Geoloc',
  NOTIFICATION = 'Notification',
  CARTE_CARBURANT = 'Carte Carburant'
}
