import { CollectionDocument } from './collection-document.model';
export type CustomerNotificationStatus = 'unread' | 'read';
export type CustomerNotificationSeverity = 'info' | 'success' | 'warning' | 'error';
export type CustomerNotificationCategory = 'autofix' | 'slow-query' | 'system' | 'manual';
export interface CustomerNotificationModel extends CollectionDocument {
    id_user: string;
    id_client?: string;
    client_name?: string;
    title: string;
    message: string;
    details?: string;
    category?: CustomerNotificationCategory | string;
    severity?: CustomerNotificationSeverity | string;
    status: CustomerNotificationStatus;
    read_at?: Date;
    read_by?: string;
    source?: string;
    source_id?: string;
    action_label?: string;
    action_route?: string;
    dedupe_key?: string;
    metadata?: Record<string, any>;
    expires_at?: Date;
    created_by?: string;
    created_by_name?: string;
}
