export type OperationalEventType =
    | 'ORDER_FAILURE'
    | 'PARITY_WARNING'
    | 'RECONCILIATION_DEGRADED'
    | 'INSUFFICIENT_BUYING_POWER'
    | 'EXCHANGE_STATE_MISMATCH'
    | 'CAPITAL_LEDGER_DRIFT'
    | 'EXIT_FILL_COHERENCE_VIOLATION'
    | 'RECOVERY_SL_MISSING'
    | 'SYSTEM_ERROR';

export type OperationalEventSeverity = 'INFO' | 'WARN' | 'ERROR';

export interface OperationalEvent {
    id: string;
    type: OperationalEventType;
    severity: OperationalEventSeverity;
    message: string;
    profileId?: string;
    userId?: string;
    symbol?: string;
    timestamp: number;
}
