Commit Graph
968 Commits
Author SHA1 Message Date
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
s.yahyaee bc78bface0 Merge pull request 'fix: recover saved photo uploads and lower car-body description minimum' (#404) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#404
2026-11-21 12:40:33 +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 5c6e21dd14 fix(car-body): validate policy coverage on accident date
Validate hull coverage against the accident date, select the covering renewal, and defer validation until that date is collected.
2026-11-21 12:04:09 +03:30
s.hajizadeh 8f15040080 chore(parsian-seeds): add the missing field expert code 2026-11-21 10:34:20 +03:30
s.hajizadeh 5818f7f881 feat(flow-ui): load branch staff from parsian seeds
Load seeded staff and product-specific codes, preserve intentional missing-code markers, and disable options without codes.
2026-11-21 10:34:07 +03:30
s.hajizadeh 5242a22c6c fix(flow-ui): require a hull report description
Collect and validate the description before hull submission.
2026-11-21 10:33:50 +03:30
s.hajizadeh 9197bccceb fix(flow-ui): reject failed and empty vehicle inquiries
Validate provider responses and populate supported policy aliases.
2026-11-21 10:33:37 +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
s.yahyaee 68e26920e2 Merge pull request 'fix: support manual accident addresses and expose final Fanavaran completion' (#402) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#402
2026-11-21 10:22:49 +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
s.yahyaee b63525c863 Merge pull request 'feat: manage expert access and merge Parsian expert seeds' (#401) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#401
2026-11-18 17:18:16 +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
s.hajizadeh 2cdbc35d2e fix: return inquiry-specific Persian not-found messages 2026-11-18 12:31:44 +03:30
s.yahyaee 7631a94071 Merge pull request 'fix: make user branch selection and signature completion reliable' (#399) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#399
2026-11-16 10:41:30 +03:30
SepehrYahyaee e5c4b740e7 fix: make user branch selection and signature completion reliable 2026-11-16 10:40:09 +03:30
s.yahyaee 775934c056 Merge pull request 'feat: route user claims by branch and align licence issue dates' (#398) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#398
2026-11-14 12:25:19 +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 f021793b00 moallem client address for fanavaran modified 2026-11-14 10:03:35 +03:30
s.hajizadeh ee40b3e811 pppppp 2026-11-12 18:50:18 +03:30
s.hajizadeh 9178058173 default sets to 6 when its 1 or its null 2026-11-12 17:51:45 +03:30
s.hajizadeh 457fd0b174 warnings are just info warning now 2026-11-12 16:24:53 +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 5d84b9697f location default changed 2026-11-11 14:39:55 +03:30
s.hajizadeh 658a8a74cc dynamic locations 2026-11-11 14:10:01 +03:30
s.yahyaee 5e3bd02243 Merge pull request 'fix: reuse completed operator inquiries throughout v6 workflows' (#381) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#381
2026-11-09 19:29:06 +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 f33eabeb4f fanavaran expert codes 2026-11-09 18:05:20 +03:30
s.hajizadeh c81002da7d updated the experts context 2026-11-09 18:00:46 +03:30
s.hajizadeh f49e6b704b expert codes 2026-11-09 17:29:35 +03:30
s.hajizadeh 6775635a81 read the expert Ids from the db not hardcoded from every flow 2026-11-09 16:31:25 +03:30
s.yahyaee 6cc59b1777 Merge pull request 'fix: keep AI provider and billing metadata out of case results' (#376) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#376
2026-11-09 15:15:28 +03:30
SepehrYahyaee 3073391d79 fix: keep AI provider and billing metadata out of case results 2026-11-09 15:13:51 +03:30
s.yahyaee 2f00e9cccc Merge pull request 'Main' (#375) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#375
2026-11-09 12:36:35 +03:30
SepehrYahyaee 8da8170787 feat: add Moalem MIC SMS provider with shared token cache 2026-11-09 12:35:00 +03:30
SepehrYahyaee 27bd9da54a revert back the moalem fanavaran's baseURL to apimanager 2026-11-09 12:17:38 +03:30
s.yahyaee b9e22071bb Merge pull request 'feat: replace OpenAI pricing with AI assessment estimates' (#374) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#374
2026-11-08 10:53:51 +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
s.yahyaee a8bb0d8e35 Merge pull request 'fix: harden profile updates and localize public errors in Persian' (#373) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#373
2026-11-04 12:16:57 +03:30