template-saas/apps/backend/dist/modules/notifications/entities/notification-queue.entity.d.ts
rckrdmrd 50a821a415
Some checks failed
CI / Backend CI (push) Has been cancelled
CI / Frontend CI (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / CI Summary (push) Has been cancelled
[SIMCO-V38] feat: Actualizar a SIMCO v3.8.0
- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8
- Actualizaciones de configuracion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 08:53:08 -06:00

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;
}