From 62bf0cf0c12a311da63031d5e6293108ff4b8241 Mon Sep 17 00:00:00 2001 From: rckrdmrd Date: Sun, 18 Jan 2026 03:32:51 -0600 Subject: [PATCH] feat: Sprint 3 - Notificaciones y Pedidos WhatsApp (MCH-015, MCH-017) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MCH-017 - Notificaciones: - Módulo notifications en backend - Entities: Notification, Template, Preference, DeviceToken - Service con multi-canal (push, WhatsApp, SMS) - DDL schema con templates por defecto MCH-015 - Pedidos WhatsApp: - BackendApiService para integración - Flujo de creación de pedidos real - Integración datos: ventas, inventario, fiados Progreso: 51% → 57% Co-Authored-By: Claude Opus 4.5 --- backend | 2 +- database | 2 +- docs/01-epicas/MCH-015-pedidos-whatsapp.md | 10 ++++++---- docs/01-epicas/MCH-017-notificaciones.md | 10 ++++++---- docs/01-epicas/_MAP.md | 8 ++++---- whatsapp-service | 2 +- 6 files changed, 19 insertions(+), 15 deletions(-) diff --git a/backend b/backend index 4fcdd3081..75e881e1c 160000 --- a/backend +++ b/backend @@ -1 +1 @@ -Subproject commit 4fcdd30812b9c11699c5f82dd1f2de52efe6ad49 +Subproject commit 75e881e1ccccf3894e60099af6ab257ca45ac655 diff --git a/database b/database index ad9944d86..c730a9672 160000 --- a/database +++ b/database @@ -1 +1 @@ -Subproject commit ad9944d86bad2c37a18e2926cbb26a8a4881286e +Subproject commit c730a9672d5d58dbc50c53d60f7d57ec8bcb48be diff --git a/docs/01-epicas/MCH-015-pedidos-whatsapp.md b/docs/01-epicas/MCH-015-pedidos-whatsapp.md index 75c4f81ab..cd0287029 100644 --- a/docs/01-epicas/MCH-015-pedidos-whatsapp.md +++ b/docs/01-epicas/MCH-015-pedidos-whatsapp.md @@ -3,11 +3,13 @@ id: EPIC-MCH-015 type: Epic title: "MCH-015: Pedidos via WhatsApp" code: MCH-015 -status: Pendiente +status: Completado +status_real: "Completado" +status_nota: "Integración WhatsApp-Backend para pedidos, BackendApiService creado" phase: 4 priority: P1 created_at: 2026-01-07 -updated_at: 2026-01-17 +updated_at: 2026-01-18 simco_version: "4.0.1" story_points: 55 dependencies: @@ -21,9 +23,9 @@ dependencies: - **Codigo:** MCH-015 - **Fase:** 4 - Pedidos y Clientes - **Prioridad:** P1 -- **Estado:** Pendiente +- **Estado:** Completado - **Story Points:** 55 -- **Fecha estimada:** Sprint 9-10 +- **Fecha completado:** 2026-01-18 ## Descripcion diff --git a/docs/01-epicas/MCH-017-notificaciones.md b/docs/01-epicas/MCH-017-notificaciones.md index a5c09dcd2..90e4f2fe5 100644 --- a/docs/01-epicas/MCH-017-notificaciones.md +++ b/docs/01-epicas/MCH-017-notificaciones.md @@ -3,12 +3,14 @@ id: EPIC-MCH-017 type: Epic title: "MCH-017: Notificaciones" code: MCH-017 -status: Pendiente +status: Completado +status_real: "Completado" +status_nota: "Módulo notifications creado con templates, preferencias, device tokens" phase: 4 priority: P1 story_points: 34 created_at: 2026-01-07 -updated_at: 2026-01-17 +updated_at: 2026-01-18 simco_version: "4.0.1" dependencies: blocks: [] @@ -21,9 +23,9 @@ dependencies: - **Codigo:** MCH-017 - **Fase:** 4 - Pedidos y Clientes - **Prioridad:** P1 -- **Estado:** Pendiente +- **Estado:** Completado - **Story Points:** 34 -- **Fecha estimada:** Sprint 8-9 +- **Fecha completado:** 2026-01-18 ## Descripcion diff --git a/docs/01-epicas/_MAP.md b/docs/01-epicas/_MAP.md index aa1a73aae..51c00d28b 100644 --- a/docs/01-epicas/_MAP.md +++ b/docs/01-epicas/_MAP.md @@ -202,9 +202,9 @@ MCH-018 ─────┬─────► MCH-019 ─────► MCH-020 | Estado | Cantidad | Porcentaje | |--------|----------|------------| -| ✅ Completado | 18 | 51% | +| ✅ Completado | 20 | 57% | | ⚠️ Parcial/Mock | 4 | 11% | -| ❌ Pendiente | 6 | 17% | +| ❌ Pendiente | 4 | 11% | | 📋 Planificado | 7 | 20% | ### Bloqueadores Críticos @@ -229,8 +229,8 @@ MCH-018 ─────┬─────► MCH-019 ─────► MCH-020 --- -**Versión**: 4.4.0 +**Versión**: 4.5.0 **Última actualización**: 2026-01-18 **Total Épicas**: 35 (MCH-001 a MCH-035) -**Progreso Real**: 51% (Sprint 2 COMPLETADO - Chat LLM implementado) +**Progreso Real**: 57% (Sprint 3 EN PROGRESO - Notificaciones y Pedidos WhatsApp) **Alineacion**: template-saas v1.0.0 (SAAS-015, SAAS-016, SAAS-017) diff --git a/whatsapp-service b/whatsapp-service index 9a8f0cb87..8ba0b7ec5 160000 --- a/whatsapp-service +++ b/whatsapp-service @@ -1 +1 @@ -Subproject commit 9a8f0cb873d115880057ede68245f3d045932029 +Subproject commit 8ba0b7ec568b410ccf71b3c813ccbe53461cf226