Backend de erp-core - Workspace V2
Go to file
Adrian Flores Cortes fd8a0a508e [TASK-2026-01-25-ERP-INTEGRACIONES] feat: Add payment terminals + AI role-based access
Payment Terminals (MercadoPago + Clip):
- TenantTerminalConfig, TerminalPayment, TerminalWebhookEvent entities
- MercadoPagoService: payments, refunds, links, webhooks
- ClipService: payments, refunds, links, webhooks
- Controllers for authenticated and webhook endpoints
- Retry with exponential backoff
- Multi-tenant credential management

AI Role-Based Access:
- ERPRole config: ADMIN, SUPERVISOR, OPERATOR, CUSTOMER
- 70+ tools mapped to roles
- System prompts per role (admin, supervisor, operator, customer)
- RoleBasedAIService with tool filtering
- OpenRouter integration
- Rate limiting per role

Based on: michangarrito INT-004, INT-005, MCH-012, MCH-013

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 01:32:32 -06:00
src [TASK-2026-01-25-ERP-INTEGRACIONES] feat: Add payment terminals + AI role-based access 2026-01-25 01:32:32 -06:00
.env.example Initial commit - erp-core-backend 2026-01-04 06:40:14 -06:00
.gitignore Initial commit - erp-core-backend 2026-01-04 06:40:14 -06:00
Dockerfile Initial commit - erp-core-backend 2026-01-04 06:40:14 -06:00
jest.config.js test(core): Add comprehensive tests for core catalog services 2026-01-18 09:21:22 -06:00
package-lock.json fix: Resolve entity/service field mismatches and build errors (84→19) 2026-01-18 02:27:03 -06:00
package.json fix: Resolve entity/service field mismatches and build errors (84→19) 2026-01-18 02:27:03 -06:00
service.descriptor.yml Initial commit - erp-core-backend 2026-01-04 06:40:14 -06:00
tsconfig.json Initial commit - erp-core-backend 2026-01-04 06:40:14 -06:00
TYPEORM_DEPENDENCIES.md Initial commit - erp-core-backend 2026-01-04 06:40:14 -06:00
TYPEORM_INTEGRATION_SUMMARY.md Initial commit - erp-core-backend 2026-01-04 06:40:14 -06:00
TYPEORM_USAGE_EXAMPLES.md Initial commit - erp-core-backend 2026-01-04 06:40:14 -06:00