INSIGHT-MVP/packages/crm-service
Thomas Reitz 9d496d2e53 feat(crm): integrate Lexware Office for vouchers and contact sync
Adds complete Lexware Office integration to CRM service:
- Rate-limited HTTP client (Token Bucket, 2 req/s)
- Bidirectional contact sync (manual import + ERP-push)
- Voucher caching (quotes, orders, invoices, credit notes)
- Deal-voucher linking (m:n join table with audit)
- Cron jobs: voucher refresh (4h), ERP push (30min)
- Distributed locks via Redis for job deduplication
- Health check extended with Lexware status
- Prisma schema: LexwareVoucher, DealVoucher, VoucherType enum
- Companies/Contacts/Deals services extended with Lexware data

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 20:28:41 +01:00
..
keys feat(crm): add standalone dev environment and test token generator 2026-03-10 16:03:59 +01:00
prisma feat(crm): integrate Lexware Office for vouchers and contact sync 2026-03-10 20:28:41 +01:00
scripts feat(crm): add standalone dev environment and test token generator 2026-03-10 16:03:59 +01:00
src feat(crm): integrate Lexware Office for vouchers and contact sync 2026-03-10 20:28:41 +01:00
.dockerignore feat(crm): scaffold CRM service with full CRUD modules 2026-03-10 15:54:13 +01:00
docker-compose.crm-dev.yml feat(crm): add standalone dev environment and test token generator 2026-03-10 16:03:59 +01:00
Dockerfile feat(crm): scaffold CRM service with full CRUD modules 2026-03-10 15:54:13 +01:00
nest-cli.json feat(crm): scaffold CRM service with full CRUD modules 2026-03-10 15:54:13 +01:00
package-lock.json feat(crm): integrate Lexware Office for vouchers and contact sync 2026-03-10 20:28:41 +01:00
package.json feat(crm): integrate Lexware Office for vouchers and contact sync 2026-03-10 20:28:41 +01:00
Summarize.md feat(crm): integrate Lexware Office for vouchers and contact sync 2026-03-10 20:28:41 +01:00
tsconfig.json feat(crm): scaffold CRM service with full CRUD modules 2026-03-10 15:54:13 +01:00