- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8 - Actualizaciones de configuracion Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
22 lines
715 B
TypeScript
22 lines
715 B
TypeScript
import { Notification } from './notification.entity';
|
|
export type QueueStatus = 'queued' | 'processing' | 'sent' | 'failed' | 'retrying';
|
|
export type NotificationChannel = 'email' | 'push' | 'in_app' | 'sms' | 'whatsapp';
|
|
export declare class NotificationQueue {
|
|
id: string;
|
|
notification_id: string;
|
|
notification: Notification;
|
|
channel: NotificationChannel;
|
|
scheduled_for: Date;
|
|
priority_value: number;
|
|
attempts: number;
|
|
max_attempts: number;
|
|
status: QueueStatus;
|
|
last_attempt_at: Date | null;
|
|
next_retry_at: Date | null;
|
|
completed_at: Date | null;
|
|
error_message: string | null;
|
|
error_count: number;
|
|
metadata: Record<string, any>;
|
|
created_at: Date;
|
|
}
|