Commit Graph
72 Commits
Author SHA1 Message Date
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 83d7351310 merge upstream 2026-11-21 12:48:06 +03:30
s.hajizadeh ab3ae53ec0 new person registration + car body matching accident date with endDate 2026-11-21 12:47:50 +03:30
SepehrYahyaee e33f5736a2 fix: recover saved photo uploads and lower car-body description minimum
Read saved document status from maps and plain objects, acknowledge verified document retries without replacing stored images, and preserve upload authorization and resend behavior. Lower the car-body narrative minimum to 30 characters with Persian errors and boundary regression coverage.
2026-11-21 12:35:49 +03:30
s.hajizadeh cda424a536 fix(claims): defer flow 1 fanavaran submission at creation
Skip creation-time submission for Flow 1 while preserving branch validation, later staged submission, and other flows.
2026-11-21 10:33:11 +03:30
SepehrYahyaee c6022a1646 fix: support manual accident addresses and expose final Fanavaran completion
Accept and persist address-only locations across user and expert flows, preserve workflow authorization, and include addresses in reports and Fanavaran review. Expose persisted final submission completion so the expert panel can prevent repeat sends.
2026-11-21 09:45:13 +03:30
SepehrYahyaee 83376df4ad feat: manage expert access and merge Parsian expert seeds
Allow role-specific identities and admin account activation, support national-code-only claim experts, and remove required voice from v4/v5. Add a combined, resumable Parsian seed that preserves existing accounts and merges locations and product codes.
2026-11-18 17:16:26 +03:30
SepehrYahyaee e5c4b740e7 fix: make user branch selection and signature completion reliable 2026-11-16 10:40:09 +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
SepehrYahyaee d53922a1bc fix: reuse completed operator inquiries throughout v6 workflows 2026-11-09 19:28:04 +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
SepehrYahyaee 3073391d79 fix: keep AI provider and billing metadata out of case results 2026-11-09 15:13:51 +03:30
SepehrYahyaee 8da8170787 feat: add Moalem MIC SMS provider with shared token cache 2026-11-09 12:35:00 +03:30
SepehrYahyaee 755e921c08 feat: replace OpenAI pricing with AI assessment estimates
Extend durable image assessments with explicit Persian vehicle names, deployment severity settings and advisory market prices normalized to rials. Preserve case access and retry boundaries, and remove the retired OpenAI pricing module and routes.
2026-11-08 10:52:45 +03:30
SepehrYahyaee 2056412efe fix: harden profile updates and localize public errors in Persian
Preserve actor and user profile fields during partial updates and validate supported personal data.

Add Persian HTTP error handling, validation translations, regression tests, and audit documentation.
2026-11-04 12:03:04 +03:30
SepehrYahyaee e75a144e50 Changed AI to new version 2026-11-03 15:58:23 +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 0c272f1e86 Add tenant-scoped insurer, staff and branch management APIs
Support all six staff roles and editable Fanavaran codes, insurer login accounts and optional branch details. Enforce tenant boundaries and role-specific fields, document setup and extend regression coverage.
2026-10-11 10:42:44 +03:30
SepehrYahyaee 8f568f379c Add TejaratNo notifier review and submission validation 2026-10-10 12:51:11 +03:30
SepehrYahyaee 073dd9792f Remove profile plate management and restrict personal profile updates 2026-10-07 12:51:44 +03:30
SepehrYahyaee 4564798db1 Fix damaged vehicle identity across claim panels and price estimates 2026-10-06 14:20:15 +03:30
SepehrYahyaee 680b619fe1 Added AI damage estimation 2026-10-06 12:04:11 +03:30
SepehrYahyaee 5110721c62 add tests for v4/v5 2026-10-05 16:40:54 +03:30
SepehrYahyaee a3f9aab8fb Enforce claim beneficiary access and retire unused legacy APIs 2026-10-05 14:39:51 +03:30
SepehrYahyaee 268258a23c Added extra fanavaran fields 2026-10-04 12:01:45 +03:30
SepehrYahyaee 2f92766689 Added AI damage helper 2026-10-03 16:38:48 +03:30
SepehrYahyaee d9a8ec4b2f fix(licence): validate driving licence IDs and preserve verified captions 2026-10-03 15:08:16 +03:30
SepehrYahyaee 6a724abaf7 fix(api contract): trimmed user blame/claim lists and queues and removing unused data 2026-10-03 12:11:44 +03:30
SepehrYahyaee 05e3e6a4d3 add 4 new fields for expert approval 2026-09-29 15:34:11 +03:30
SepehrYahyaee 1e6f1ed759 Changed ESG inquiries main endpoint 2026-09-28 16:51:12 +03:30
s.hajizadeh 4f8fe04380 merge upstream 2026-09-26 15:24:01 +03:30
SepehrYahyaee 8ac185c861 feat(claims): support optional accident sketch 2026-09-22 11:37:21 +03:30
s.hajizadeh 985c28ed6b docs 2026-09-21 10:05:49 +03:30
SepehrYahyaee 4ef53f2cc9 fix ESG chassis inquiry payload 2026-09-19 16:50:34 +03:30
SepehrYahyaee 8071215803 fix inquiry integration and insurer case details 2026-09-19 16:08:28 +03:30
SepehrYahyaee 406b139b3d fix: align inquiry errors and expert review rules 2026-09-19 12:11:43 +03:30