s.hajizadeh
3f920c0be5
fix(fanavaran): resolve hull expertise policy from stored inquiry
...
Reuse the insured vehicle hull inquiry policy when saved base-claim policy metadata is absent. This lets expertise resolve policy accessories and factory coverage before stage 1 has been persisted. Add a regression test for the missing-cache case.
2026-11-24 12:59:05 +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.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.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.hajizadeh
2cdbc35d2e
fix: return inquiry-specific Persian not-found messages
2026-11-18 12:31:44 +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.hajizadeh and Cursor
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.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.hajizadeh
c185145394
feat: support Fanavaran car-body flow in UI
2026-10-31 14:45:26 +03:30
s.hajizadeh
69a9fc351c
lookups query and api call fixed
2026-10-24 15:10:55 +03:30
s.hajizadeh
8d73d4996c
Merge pull request 'main' ( #366 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#366
2026-10-19 14:49:43 +03:30
s.hajizadeh
cdeed1716d
merge upstream
2026-10-19 14:48:56 +03:30
s.hajizadeh
a553ce5dfe
ui flow server added
2026-10-19 14:48:15 +03:30
s.hajizadeh
846355a32f
Merge pull request 'documents of fanavaran with update' ( #364 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#364
2026-10-19 10:09:40 +03:30
s.hajizadeh
340ed5e9b3
documents of fanavaran with update
2026-10-19 10:08:41 +03:30
s.hajizadeh
e4b342cd25
Merge pull request 'main' ( #363 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#363
2026-10-18 10:21:52 +03:30
s.hajizadeh
2cdf4aba02
merge upstream
2026-10-18 10:21:28 +03:30
s.hajizadeh
e7236884db
urls dynamic integration
2026-10-18 10:20:49 +03:30
s.hajizadeh
887b514983
Merge pull request 'lookups update automatically' ( #362 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#362
2026-10-11 13:53:16 +03:30
s.hajizadeh
47447d1153
lookups update automatically
2026-10-11 13:52:38 +03:30
s.hajizadeh
4302be8595
Merge pull request 'fanavaran V15 tejaratno' ( #360 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#360
2026-10-10 16:04:48 +03:30
s.hajizadeh
64d5aa691f
fanavaran V15 tejaratno
2026-10-10 16:04:07 +03:30
s.hajizadeh
b7a64596dd
Merge pull request 'main' ( #345 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#345
2026-09-28 17:10:30 +03:30
s.hajizadeh
820b85c418
merge upstream
2026-09-28 17:10:12 +03:30
s.hajizadeh
7a8d96ab52
lookup vehicle-kinds added
2026-09-28 17:09:45 +03:30
s.hajizadeh
efef48d824
Merge pull request 'fanavaran driver and owner id (GEN..44 defauts) - culprit type id dynamic' ( #343 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#343
2026-09-28 16:14:21 +03:30
s.hajizadeh
165afe56ae
fanavaran driver and owner id (GEN..44 defauts) - culprit type id dynamic
2026-09-28 16:13:32 +03:30
s.hajizadeh
1a959ce8f6
Merge pull request 'main' ( #338 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#338
2026-09-27 09:09:05 +03:30
s.hajizadeh and Cursor
fc1c117b93
Map Fanavaran people and licences by party role; allow unlisted base-info lookups.
...
Resolve driver, owner, and policyholder from participants when they differ, prefer real licence / driverLicenseDate over dummies, and fall back unknown /lookups/fanavaran/{name} to car/base-info/{name} (including vehicle-groups).
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-26 16:57:30 +03:30
s.hajizadeh
4f8fe04380
merge upstream
2026-09-26 15:24:01 +03:30
s.hajizadeh
985c28ed6b
docs
2026-09-21 10:05:49 +03:30
s.hajizadeh
a9adad3c1b
Merge pull request 'VehicleHullAccessoryId' ( #334 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#334
2026-09-20 12:32:48 +03:30
s.hajizadeh
bbe5b7b77b
VehicleHullAccessoryId
2026-09-20 12:31:39 +03:30
s.hajizadeh
1e13bb3a3c
Merge pull request 'Repair Duration' ( #333 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#333
2026-09-20 12:07:11 +03:30
s.hajizadeh
a8d8df574b
Repair Duration
2026-09-20 12:06:20 +03:30
s.hajizadeh
cf07a33951
Merge pull request 'hat PUT is now best-effort. If it 502s, YARA logs it and continues with POST …/vehicle-hull-claims/5032516/expertise.' ( #332 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#332
2026-09-20 11:07:02 +03:30
s.hajizadeh
6f8a6fed69
hat PUT is now best-effort. If it 502s, YARA logs it and continues with POST …/vehicle-hull-claims/5032516/expertise.
2026-09-20 11:05:07 +03:30
s.hajizadeh
cd36a0f2d4
Merge pull request 'main' ( #329 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#329
2026-09-19 15:38:51 +03:30
s.hajizadeh
ffaeb50c61
merge upstream
2026-09-19 15:38:13 +03:30
s.hajizadeh
8afc1fabc4
fuck
2026-09-19 15:38:00 +03:30
s.hajizadeh
1d9ef5e3d2
Merge pull request 'update the culprit licenses chnged and ActualPremium' ( #328 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#328
2026-09-19 13:10:09 +03:30
s.hajizadeh
be06bfe1b5
update the culprit licenses chnged and ActualPremium
2026-09-19 13:09:28 +03:30
s.hajizadeh
a5f534817b
Merge pull request 'main' ( #325 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#325
2026-09-17 08:59:07 +03:30
s.hajizadeh and Cursor
ebfb4385de
Use FileMaker and FileReviewer Fanavaran expert ids on V4/V5 flows.
...
Block file create and review when the matching third-party or car-body code is missing, and override GEN.03/GEN.06 ClaimExpertId from those profiles instead of tenant defaults.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-16 16:26:58 +03:30
s.hajizadeh
acb5d2a682
car body implemented
2026-09-16 16:05:54 +03:30
s.hajizadeh
8173764913
Merge pull request 'main' ( #322 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#322
2026-09-15 17:48:40 +03:30
s.hajizadeh
c72cb265f1
merge upstream
2026-09-15 17:48:20 +03:30
s.hajizadeh
271dc4df2a
badane bugs continues
2026-09-15 17:47:38 +03:30
s.hajizadeh
b2ff3f574b
Merge pull request 'main' ( #321 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#321
2026-09-15 17:07:37 +03:30
s.hajizadeh
769a581a51
merge upstream
2026-09-15 17:07:08 +03:30
s.hajizadeh
466773fb2b
badane update is implemented now
2026-09-15 17:05:54 +03:30
s.hajizadeh
37041ba19f
Merge pull request 'third party update , optional body is done' ( #320 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#320
2026-09-15 16:36:52 +03:30
s.hajizadeh
0b0a1dfa13
third party update , optional body is done
2026-09-15 16:36:13 +03:30
s.hajizadeh
c1f0d041ce
Merge pull request 'fanavaran stages matching data is double checked and more controlled +' ( #318 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#318
2026-09-15 15:39:38 +03:30
s.hajizadeh
f9c60a2854
fanavaran stages matching data is double checked and more controlled +
2026-09-15 15:36:28 +03:30
s.hajizadeh
b3a298e254
Merge pull request 'update the fanavaran which accepts unknown person too' ( #313 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#313
2026-09-14 13:43:16 +03:30
s.hajizadeh
b13b0211ad
update the fanavaran which accepts unknown person too
2026-09-14 13:42:53 +03:30
s.hajizadeh
eb6cef1127
Merge pull request 'fixed default values' ( #300 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#300
2026-09-07 17:16:16 +03:30
s.hajizadeh
f98712ba83
fixed default values
2026-09-07 17:15:41 +03:30
s.hajizadeh
503894bf9c
Merge pull request 'updated the fucking mf fanavaran' ( #298 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#298
2026-09-07 16:35:02 +03:30
s.hajizadeh
b9bffdccc1
updated the fucking mf fanavaran
2026-09-07 16:33:15 +03:30
s.hajizadeh
d860e94dee
Merge pull request 'main' ( #296 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#296
2026-09-07 15:12:27 +03:30
s.hajizadeh
b7857a40f5
bug fixed
2026-09-07 15:11:29 +03:30
s.hajizadeh
c7cd9e8ce5
update the lookups list
2026-09-07 15:08:08 +03:30
s.hajizadeh
80e112f09b
Merge pull request 'main' ( #292 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#292
2026-09-07 11:06:32 +03:30
s.hajizadeh
80b71107a1
merge upstream
2026-09-07 11:05:56 +03:30
s.hajizadeh
470f6e0920
update yara
2026-09-07 10:47:32 +03:30
s.hajizadeh
d52d18a97c
Merge pull request 'fanavaran car body and third_party lookup codings applied' ( #289 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#289
2026-09-06 10:48:17 +03:30
s.hajizadeh
02edd0b2ca
fanavaran car body and third_party lookup codings applied
2026-09-06 10:45:40 +03:30
s.hajizadeh
6ecbe91ede
Merge pull request 'car body policy and sales extended' ( #287 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#287
2026-09-05 18:38:31 +03:30
s.hajizadeh
eb636bdbdd
car body policy and sales extended
2026-09-05 18:37:42 +03:30
s.hajizadeh
70fa49398d
Merge pull request 'locations dynamically in fanavaran' ( #284 ) from s.hajizadeh/yara724api:main into main
...
Reviewed-on: Yara724/api#284
2026-09-02 15:32:25 +03:30