/**
 * Tipos do serviço de Notificações
 */

export type NotificationType = "sms" | "email" | "whatsapp";
export type NotificationStatus = "pending" | "sent" | "failed" | "scheduled";

export interface Notification {
  id: string;
  type: NotificationType;
  payload: Record<string, any>;
  status: NotificationStatus;
  scheduled_at?: string;
  attempts: number;
  created_at: string;
  last_error?: string;
}

export interface CreateNotificationInput {
  type: NotificationType;
  payload: Record<string, any>;
  scheduled_at?: string;
}

export interface NotificationFilters {
  status?: NotificationStatus;
  type?: NotificationType;
}
