Commit Graph

7 Commits

Author SHA1 Message Date
0019ded690 [MCH-007] feat: Implementar modulo templates con 85+ productos de 8 proveedores
- Crear entidades ProductTemplate y TemplateImport
- Implementar TemplatesService con CRUD y busqueda
- Crear TemplatesController con 9 endpoints
- Agregar soporte para giros (abarrotes, papeleria, farmacia, ferreteria)
- Agregar soporte para proveedores (Sabritas, Coca-Cola, Bimbo, etc)
- Implementar importacion masiva de templates a catalogo tenant

Sprint 5 - Inteligencia
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 04:11:35 -06:00
16e5713c60 feat(MCH-016): Implement delivery module for home delivery management
- Add DeliveryZone entity with radius/polygon zone types
- Add Delivery entity with status tracking and proof of delivery
- Implement DeliveryService with zone management and coverage check
- Add Haversine distance calculation for radius zones
- Add ray casting algorithm for polygon zone containment
- Create DeliveryController with REST endpoints
- Register DeliveryModule in app.module.ts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 03:42:34 -06:00
75e881e1cc feat(notifications): Add notifications module (MCH-017)
- Add entities: Notification, NotificationTemplate, NotificationPreference, DeviceToken
- Add NotificationsService with send, templated, preferences, device tokens
- Add NotificationsController with REST endpoints
- Add default notification templates for orders, payments, alerts
- Integrate axios for HTTP calls to WhatsApp service

Sprint 3: MCH-017 Notificaciones

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 03:32:03 -06:00
4fcdd30812 chore: Actualizar dependencias NestJS para compatibilidad v11
- @nestjs/swagger: ^8.1.0 -> ^11.2.5
- @nestjs/config: ^3.3.0 -> ^4.0.2

Resuelve conflictos de peer dependencies con NestJS 11.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 05:21:17 -06:00
d624447d4c Sincronización completa desde michangarrito/apps/backend
Actualización de código al estado actual

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 08:26:30 -06:00
59e6ea4ab6 Migración desde michangarrito/backend - Estándar multi-repo v2
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 08:12:07 -06:00
bad656c8c7 Initial commit 2026-01-16 14:05:45 +00:00