Commit Graph
983 Commits
Author SHA1 Message Date
s.yahyaee 70e7edcd19 Merge pull request 'fix(validation): normalize Persian accident condition labels' (#412) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#412
2026-11-22 15:25:36 +03:30
SepehrYahyaee 99aba7e0fd fix(validation): normalize Persian accident condition labels 2026-11-22 15:24:51 +03:30
s.hajizadeh fb192fd780 Merge pull request 'fix(fanavaran): require vehicle review and recover submitted base claims' (#411) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#411
2026-11-22 15:24:03 +03:30
s.hajizadeh 41a3372225 fix(fanavaran): require vehicle review and recover submitted base claims
Require approved vehicle classification before new base submissions. Allow a first review for existing base claims without damage or expertise, preserve remote IDs, and resume deferred damage submission. Keep approved submitted classifications locked and compare stage IDs and review snapshots when saving.
2026-11-22 15:23:11 +03:30
s.alikhani d2676d65d1 fix(ci): allow buildx writes and publish latest
Mount only the registry login file so Buildx can write temporary state. Build and deploy the latest image tag.
2026-11-22 15:02:19 +03:30
s.alikhani 6e56d0fa2e ci(deployment): build the maintenance api on parspack
Compile NestJS on Parspack and deploy the commit-tagged image from the existing API directory.
2026-11-22 14:43:23 +03:30
s.yahyaee 7b23262fd2 Merge pull request 'fix(workflows): resolve QA blockers and protect case evidence' (#410) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#410
2026-11-22 12:51:27 +03:30
SepehrYahyaee 6b968c0952 fix(workflows): resolve QA blockers and protect case evidence
Fix registrar signing, reviewer re-entry, replacement evidence freshness, owner decision and rating races, multipart objections, vehicle serialization and product reporting.

Validate uploaded media with FFmpeg, serve evidence through expiring signed links, and add targeted regressions plus a dry-run repair for prematurely completed visit cases.
2026-11-22 12:50:22 +03:30
s.yahyaee abc40df199 Merge pull request 'fix(claims): reuse saved Sheba across claim workflow steps' (#409) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#409
2026-11-21 16:48:57 +03:30
SepehrYahyaee 90f290154c fix(claims): reuse saved Sheba across claim workflow steps 2026-11-21 16:36:34 +03:30
s.yahyaee be364d94fe Merge pull request 'fix(inquiries): route all tenants through ESG and Fanavaran' (#408) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#408
2026-11-21 15:27:53 +03:30
SepehrYahyaee 1a38b98829 fix(inquiries): route all tenants through ESG and Fanavaran 2026-11-21 15:27:06 +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 7bff702514 fix(flow-ui): enable explicit person role registration
Expose person registration for hull claims, require selection of the supported role 166 and check that role even when a driver ID is cached. Keep claim notifier validation out of person registration and populate the verified hull driver reference after success.
2026-11-21 13:33:41 +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
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