Commit Graph

5 Commits

Author SHA1 Message Date
Abdulkadyr Karagishiev
7ac18ec61d fix(onec): preserve patient instructions in Bitrix leads
Some checks failed
Deploy Dana Medical Site / deploy (push) Failing after 1s
2026-10-21 14:07:05 +03:00
Abdulkadyr Karagishiev
b126f2c52d fix(onec): complete outbound push pull and protect booked intervals 2026-10-21 12:47:15 +03:00
Abdulkadyr Karagishiev
121f286016 feat(crm): integrate website leads and online booking with new CRM and 1C
- Add internal/crm client with CanonicalJSON and HMAC-SHA256 signing for POST /api/public/leads
- Add database migration 0026_crm_deals.sql with crm_deal_id and partial indexes
- Add async lead intake dispatch to new CRM in handlers_leads.go
- Support dual-mode booking confirmation (CRM_MODE=both/crm_only/bitrix_only) in booking_confirm.go
- Add LinkCRM endpoint to bridge_1c.py and onec.Client
- Update config and env examples with CRM_API_URL, CRM_LEAD_INTAKE_SECRET, CRM_MODE
2026-10-16 18:01:49 +03:00
Dana Medical Developer
6597464ac3 feat(booking): automatically link 1C appointment to Bitrix24 lead ID and implement do_DELETE 2026-10-15 10:35:12 +00:00
Dana Medical Developer
4058a1636d chore: initial commit of dana-medical production state 2026-10-14 13:33:13 +00:00