BE-001: Biometrics - Servicio minimo de solo lectura
- biometrics.service.ts con metodos de consulta
- biometrics.controller.ts con 10 endpoints GET
- DTOs para filtros y respuestas
- README actualizado
BE-002: Invoices - Marcado como deprecated
- DEPRECATED.md con plan de migracion
- Entities marcadas con @deprecated
- Mapeo a modulo financial documentado
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add comprehensive unit tests for Business Core modules:
- Partners: 22 tests (CRUD, filters, tenant isolation)
- Products: 23 tests (CRUD, categories, search)
- Invoices: 31 tests (CRUD, payments, state transitions)
- Warehouses: 24 tests (CRUD, locations, default handling)
- HR Employees: 24 tests (CRUD, terminate/reactivate, subordinates)
Test infrastructure:
- jest.config.js with ts-jest and ESM support
- setup.ts with mocks for AppDataSource and database
- helpers.ts with factory functions for test data
Total: 114 tests passing
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Create invoices.controller.ts and invoices.routes.ts with singleton service
- Create products.service.ts, products.controller.ts, products.routes.ts
- Create warehouses.service.ts, warehouses.controller.ts, warehouses.routes.ts
- Register all routes in app.ts
- Use Zod validation schemas in all controllers
- Apply multi-tenant isolation via tenantId
- Update invoices.module.ts to use singleton pattern
All business modules now have API routes registered and build passes.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>