Commit Graph

1 Commits

Author SHA1 Message Date
Adrian Flores Cortes
85043cbaff [SYNC-ERP-CORE] feat: Propagate middlewares, logger, DTOs and Swagger from erp-core
- Add logger utility (winston-based)
- Add apiKeyAuth middleware for API key authentication
- Add fieldPermissions middleware for field-level access control
- Add Swagger/OpenAPI configuration and integration
- Refactor DTOs with Zod validation schemas:
  - feature-flag.dto.ts
  - terminal.dto.ts
  - transaction.dto.ts
  - ai.dto.ts
- Add error classes (AppError, UnauthorizedError, ForbiddenError, etc.)
- Add AuthenticatedRequest type for erp-core compatibility
- Add ESLint configuration

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 19:39:23 -06:00