export type LaserHealthStatus = 'healthy' | 'warning' | 'critical_fault';

export interface LaserDiagnosticResult {
  onuId: string;
  macSerial: string;
  subscriberUsername?: string;
  subscriberName?: string;
  subscriberPhone?: string;
  rxPowerDbm: number;
  txPowerDbm: number;
  status: LaserHealthStatus;
  colorCode: 'GREEN' | 'YELLOW' | 'RED';
  label: string;
  actionTaken?: string;
  ticketIdCreated?: string;
  telegramAlertPushed?: boolean;
  scrapedAt: string;
}

export interface UnregisteredOnuAlert {
  onuId: string;
  oltId: string;
  oltName: string;
  ponPortId: string;
  ponPortNumber: number;
  ponPortName: string;
  macSerial: string;
  rxPowerDbm: number;
  discoveredAt: string;
  message: string;
}
