import type { NotifTitleEnum, recipientType } from './notification.interface';

export interface SmsNotificationQueueJob {
  recipient: recipientType;
  templateId: string;
  restaurantId: string;
  parameters?: Record<string, string>;
}
export interface PushNotificationQueueJob {
  title: string;
  content: string;
  icon: string;
  action: {
    type: string; //view order
    url: string;
  };
  pushToken?: string; // FCM token for push notifications
  pushTokens?: string[]; // Multiple FCM tokens for bulk push notifications
}
export interface InAppNotificationQueueJob {
  recipient: { adminId: string; restaurantId: string };
  subject: NotifTitleEnum;
  body: string;
  notificationId: string;
}

export interface SmsNotificationQueueJobResult {
  success: boolean;
  notificationId: string;
  providerResponse?: Record<string, any>;
  error?: string;
}
