notification
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { NotificationChannel } from '../entities/notification.entity';
|
||||
|
||||
export interface NotificationQueueJob {
|
||||
restaurantId: string;
|
||||
userId?: string;
|
||||
notificationType: string;
|
||||
channel: NotificationChannel;
|
||||
payload: Record<string, any>;
|
||||
idempotencyKey?: string;
|
||||
notificationId?: string; // For retries
|
||||
}
|
||||
|
||||
export interface NotificationQueueJobResult {
|
||||
success: boolean;
|
||||
notificationId: string;
|
||||
providerResponse?: Record<string, any>;
|
||||
error?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user