feat: C-8/C-1/C-2/C-3/C-4/C-6/M-1/M-5/M-6 — WebSocket gateway, SENAE real, SP-API, Twilio SMS, WhatsApp Business, soporte portal, HMAC audit, reportes CSV

This commit is contained in:
Lizandro Guarnizo
2026-06-01 21:28:42 -05:00
parent a5842278fb
commit 84c1fdec54
27 changed files with 1743 additions and 122 deletions
+4
View File
@@ -1,6 +1,7 @@
import { NestFactory } from "@nestjs/core";
import { ValidationPipe } from "@nestjs/common";
import { NestExpressApplication } from "@nestjs/platform-express";
import { IoAdapter } from "@nestjs/platform-socket.io";
import { join } from "path";
import { AppModule } from "./app.module";
@@ -16,6 +17,9 @@ async function bootstrap() {
credentials: true,
});
// Socket.io adapter for WebSocket gateway (C-6)
app.useWebSocketAdapter(new IoAdapter(app));
app.setGlobalPrefix("api");
// Serve uploaded files (photos, invoices) as static assets