[MCH] docs: Update BACKEND_INVENTORY with settings and exports modules
Add Sprint 8 modules to backend inventory: - settings: Tenant configuration API (5 endpoints) - exports: PDF/Excel report generation (4 endpoints) Update totals: 21 modules, 24 controllers, 28 services, 42 entities, 92 DTOs Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
af6dfccafd
commit
8d3c58a81d
@ -1,8 +1,8 @@
|
||||
# BACKEND INVENTORY - MiChangarrito
|
||||
# Version: 2.2.1
|
||||
# Ultima actualizacion: 2026-01-10
|
||||
# Version: 2.3.0
|
||||
# Ultima actualizacion: 2026-01-20
|
||||
# Sistema: SIMCO v3.8.0 + CAPVED
|
||||
# Actualizado: Sincronizacion con desarrollo - 17 modulos completos
|
||||
# Actualizado: Sprint 8 - Settings y Exports modules
|
||||
|
||||
metadata:
|
||||
proyecto: "michangarrito"
|
||||
@ -11,7 +11,7 @@ metadata:
|
||||
lenguaje: "TypeScript"
|
||||
puerto: 3141
|
||||
estado: "100% modulos completados"
|
||||
actualizado: "2026-01-10"
|
||||
actualizado: "2026-01-20"
|
||||
actualizado_por: "Agente Orquestador"
|
||||
|
||||
# ============================================================================
|
||||
@ -33,11 +33,11 @@ configuracion:
|
||||
# ============================================================================
|
||||
|
||||
resumen:
|
||||
total_modulos: 19
|
||||
total_controllers: 22
|
||||
total_services: 26
|
||||
total_entities: 41
|
||||
total_dtos: 78
|
||||
total_modulos: 21
|
||||
total_controllers: 24
|
||||
total_services: 28
|
||||
total_entities: 42
|
||||
total_dtos: 92
|
||||
total_guards: 3
|
||||
total_strategies: 1
|
||||
arquitectura: "modular"
|
||||
@ -49,6 +49,8 @@ resumen:
|
||||
- reports (Reportes y analítica)
|
||||
- templates (Templates de productos - MCH-007)
|
||||
- onboarding (Onboarding inteligente - MCH-006)
|
||||
- settings (Configuracion del tenant - Sprint 8)
|
||||
- exports (Exportacion PDF/Excel - Sprint 8)
|
||||
|
||||
# ============================================================================
|
||||
# ESTRUCTURA DE CARPETAS
|
||||
@ -497,6 +499,67 @@ modulos:
|
||||
- GET /templates/:id
|
||||
- GET /templates/stats/summary
|
||||
|
||||
- nombre: settings
|
||||
ruta: "modules/settings"
|
||||
descripcion: "Configuracion del tenant/negocio (Sprint 8)"
|
||||
estado: completado
|
||||
entities:
|
||||
- TenantSettings (entities/tenant-settings.entity.ts)
|
||||
controllers:
|
||||
- SettingsController (settings.controller.ts)
|
||||
services:
|
||||
- SettingsService (settings.service.ts)
|
||||
dtos:
|
||||
- UpdateSettingsDto
|
||||
- BusinessSettingsDto
|
||||
- FiadoSettingsDto
|
||||
- WhatsAppSettingsDto
|
||||
- NotificationSettingsDto
|
||||
- SettingsResponseDto
|
||||
- WhatsAppStatusResponseDto
|
||||
- SubscriptionInfoResponseDto
|
||||
- TestWhatsAppResponseDto
|
||||
endpoints:
|
||||
- GET /v1/settings - Obtener configuracion del tenant
|
||||
- PATCH /v1/settings - Actualizar configuracion del tenant
|
||||
- GET /v1/settings/whatsapp - Obtener estado de WhatsApp
|
||||
- POST /v1/settings/whatsapp/test - Probar conexion de WhatsApp
|
||||
- GET /v1/settings/subscription - Obtener informacion de suscripcion
|
||||
dependencias:
|
||||
- auth.module (JwtAuthGuard)
|
||||
- subscriptions.module (Plan, Subscription, TokenBalance)
|
||||
- integrations.module (TenantWhatsAppNumber)
|
||||
|
||||
- nombre: exports
|
||||
ruta: "modules/exports"
|
||||
descripcion: "Exportacion de reportes PDF/Excel (Sprint 8)"
|
||||
estado: completado
|
||||
controllers:
|
||||
- ExportsController (exports.controller.ts)
|
||||
services:
|
||||
- ExportsService (exports.service.ts)
|
||||
dtos:
|
||||
- ExportFormat (enum)
|
||||
- ExportFilterDto
|
||||
- SalesExportFilterDto
|
||||
- InventoryExportFilterDto
|
||||
- FiadosExportFilterDto
|
||||
- MovementsExportFilterDto
|
||||
endpoints:
|
||||
- GET /v1/exports/sales/:format - Exportar reporte de ventas (pdf/xlsx)
|
||||
- GET /v1/exports/inventory/:format - Exportar reporte de inventario (pdf/xlsx)
|
||||
- GET /v1/exports/fiados/:format - Exportar reporte de fiados (pdf/xlsx)
|
||||
- GET /v1/exports/movements/:format - Exportar movimientos de inventario (pdf/xlsx)
|
||||
dependencias:
|
||||
- auth.module (JwtAuthGuard)
|
||||
- sales.module (Sale)
|
||||
- products.module (Product)
|
||||
- customers.module (Fiado, Customer)
|
||||
- inventory.module (InventoryMovement)
|
||||
- categories.module (Category)
|
||||
- pdfkit (generacion PDF)
|
||||
- exceljs (generacion Excel)
|
||||
|
||||
# ============================================================================
|
||||
# SHARED
|
||||
# ============================================================================
|
||||
@ -596,3 +659,5 @@ notas:
|
||||
- "Validacion global con ValidationPipe (whitelist, transform)"
|
||||
- "Helmet para seguridad de headers HTTP"
|
||||
- "CORS configurable via CORS_ORIGIN"
|
||||
- "Sprint 8: Modulo settings para configuracion del tenant"
|
||||
- "Sprint 8: Modulo exports para reportes PDF/Excel"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user