# _MAP: MGN-008 - Notifications **Modulo:** MGN-008 **Nombre:** Notificaciones **Fase:** 02 - Core Business **Story Points:** 25 SP **Estado:** RF Documentados **Ultima actualizacion:** 2025-12-05 --- ## Resumen Sistema de notificaciones multi-canal (email, push, in-app) con templates y preferencias de usuario. --- ## Metricas | Metrica | Valor | |---------|-------| | Story Points | 25 SP | | Requerimientos (RF) | 4 | | Especificaciones (ET) | 0 (pendiente) | | User Stories (US) | 0 (pendiente) | | Tablas DB | ~6 | | Endpoints API | ~15 | --- ## Requerimientos Funcionales | ID | Titulo | Prioridad | SP | |----|--------|-----------|---:| | [RF-NOTIF-001](./requerimientos/RF-NOTIF-001.md) | Notificaciones In-App | P0 | 8 | | [RF-NOTIF-002](./requerimientos/RF-NOTIF-002.md) | Notificaciones Email | P0 | 8 | | [RF-NOTIF-003](./requerimientos/RF-NOTIF-003.md) | Notificaciones Push | P1 | 5 | | [RF-NOTIF-004](./requerimientos/RF-NOTIF-004.md) | Preferencias de Notificacion | P1 | 5 | **Indice completo:** [INDICE-RF-NOTIF.md](./requerimientos/INDICE-RF-NOTIF.md) --- ## Especificaciones Tecnicas *Pendiente de documentacion* --- ## Historias de Usuario *Pendiente de documentacion* --- ## Implementacion ### Database | Objeto | Tipo | Schema | |--------|------|--------| | notifications | Tabla | core_notifications | | notification_templates | Tabla | core_notifications | | notification_preferences | Tabla | core_notifications | | notification_queue | Tabla | core_notifications | | push_subscriptions | Tabla | core_notifications | | notification_logs | Tabla | core_notifications | ### Backend | Objeto | Tipo | Path | |--------|------|------| | NotificationsModule | Module | src/modules/notifications/ | | NotificationsService | Service | src/modules/notifications/notifications.service.ts | | InAppService | Service | src/modules/notifications/channels/in-app.service.ts | | EmailService | Service | src/modules/notifications/channels/email.service.ts | | PushService | Service | src/modules/notifications/channels/push.service.ts | | PreferencesService | Service | src/modules/notifications/preferences.service.ts | | NotificationsGateway | Gateway | src/modules/notifications/notifications.gateway.ts | --- ## Dependencias **Depende de:** MGN-001 (Auth), MGN-002 (Users), MGN-004 (Tenants), MGN-006 (Settings) **Requerido por:** Modulos de negocio --- ## Trazabilidad Ver: [TRACEABILITY.yml](./implementacion/TRACEABILITY.yml) --- **Generado por:** Requirements-Analyst **Fecha:** 2025-12-05