28 Commits
Author SHA1 Message Date
SepehrYahyaee c74b29337e feat(depreciation): apply Fanavaran tables and age eligibility
Use the supplied part, severity and age codes for depreciation. Exclude vehicles older than ten from calculated and manual amounts, preserve historical assessments, and send zero depreciation to Fanavaran for ineligible vehicles.
2026-11-23 11:10:55 +03:30
s.hajizadeh 61ef4faaf4 fix(fanavaran): preserve assessed part ids in hull expertise
Use each saved expert-reply partId as AccessoryKindId and preserve its label. Resolve policy coverage separately so factory-bundle and caption matches cannot overwrite the selected part identity. Add coverage for the six-part expert reply and document the mapping.
2026-11-21 14:45:31 +03:30
s.hajizadeh 99e6fa0850 fix(fanavaran): honor supplied submission payload fields
Apply every supplied JSON field over generated defaults, preserving IDs, nested values and explicit nulls across base, damage and expertise submits. Validate manual hull payloads without rewriting their values or premium, and derive an empty replacement flag for old hull licences.
2026-11-21 13:33:41 +03:30
s.hajizadeh ab3ae53ec0 new person registration + car body matching accident date with endDate 2026-11-21 12:47:50 +03:30
SepehrYahyaee a15c54d017 feat: route user claims by branch and align licence issue dates
Require the damaged party in user flows to select an active insurer branch and preserve branch access rules. Accept older licence issue dates, correct anniversary boundaries, and update Fanavaran audit documentation and regression coverage.
2026-11-14 12:24:14 +03:30
s.hajizadeh 7ab6b4c03d done vehicle hull accessories 2026-11-12 15:05:16 +03:30
s.hajizadeh cbdf4fd2bc invalid image formats after two retries skips 2026-11-12 13:38:08 +03:30
s.hajizadeh af9bed3b0d vehicle hull accessories debug , either success or clear YARA error 2026-11-12 13:01:32 +03:30
s.hajizadehandCursor 3fe897031a Submit Fanavaran base on claim create for all flows.
GEN.03 no longer waits on vehicle review; V3/file-maker create triggers early auto-submit, and expertise auto-path soft-ensures prior stages when each client's body is ready.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 11:45:49 +03:30
s.hajizadeh e215dbdc03 culprit licence bug fixed , and handled some default values 2026-11-12 11:23:40 +03:30
s.hajizadeh 8b9dabc9f2 automatiacally previous stages submitted 2026-11-11 18:36:10 +03:30
s.hajizadeh 84b92eb55a update the 2 new apis for getting expertise and files of the request 2026-11-11 17:59:48 +03:30
s.hajizadeh 90bdc51715 update the IsLicenseReplaced and for the accessories 2026-11-11 17:20:02 +03:30
s.hajizadeh 54459877a2 fanavaran locations getting from branches 2026-11-11 15:29:37 +03:30
s.hajizadeh d469cce463 location dynamicallllllly finally or not ? 2026-11-11 15:07:19 +03:30
s.hajizadeh 658a8a74cc dynamic locations 2026-11-11 14:10:01 +03:30
s.hajizadeh cc0d69dcb2 update the vehicle used , also sharh hardcoded 2026-11-09 18:34:57 +03:30
s.hajizadeh c81002da7d updated the experts context 2026-11-09 18:00:46 +03:30
s.hajizadeh c185145394 feat: support Fanavaran car-body flow in UI 2026-10-31 14:45:26 +03:30
s.hajizadeh 340ed5e9b3 documents of fanavaran with update 2026-10-19 10:08:41 +03:30
SepehrYahyaee 8f568f379c Add TejaratNo notifier review and submission validation 2026-10-10 12:51:11 +03:30
SepehrYahyaee 268258a23c Added extra fanavaran fields 2026-10-04 12:01:45 +03:30
s.hajizadeh 985c28ed6b docs 2026-09-21 10:05:49 +03:30
SepehrYahyaee 8071215803 fix inquiry integration and insurer case details 2026-09-19 16:08:28 +03:30
s.hajizadeh 693d602e49 sms template corrected and now fires at the end of the fanavaran stage (Expertise). Docs also added. 2026-08-18 11:18:33 +03:30
s.hajizadehandCursor 0f9f702a00 Add Fanavaran-only flow-test script and document how to run it.
Track the tester and env template in git so a new tenant can be exercised without a YARA claim; keep filled client env files (secrets, national codes) ignored.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 17:05:33 +03:30
s.hajizadeh 448e5fb9ba lookup for driving licence type added + the new endpoint documented 2026-08-09 10:24:00 +03:30
s.hajizadeh 5a4a511e84 fanavaran sales integration docs 2026-08-08 15:53:35 +03:30