Commit Graph
100 Commits
Author SHA1 Message Date
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.hajizadehandCursor 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
s.hajizadeh 5c2b660600 locations dynamically in fanavaran 2026-09-02 15:31:55 +03:30
s.hajizadeh c7d77d30c4 Merge pull request 'fanavaran manuall test script + warn sms for fanavaran triggers at the last stage' (#273) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#273
2026-08-18 11:20:21 +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.hajizadeh cb69b496b5 merge upstream 2026-08-18 10:15:33 +03:30
s.hajizadehandCursor 5942f51b4c Stop ignoring markdown under docs/ so Fanavaran docs can be committed without -f.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 17:41:22 +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 7f131eb83e Merge pull request 'main' (#258) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#258
2026-08-09 10:24:49 +03:30
s.hajizadeh 03ebc6649c merge upstream 2026-08-09 10:24:25 +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 26da533a52 Merge pull request 'main' (#256) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#256
2026-08-08 15:59:50 +03:30
s.hajizadeh a03d557718 Update the ReadMe.md file, Documents of the apps should be LINKED here.
Suiggestion : 
for example we currently have [Fanavaran integration](docs/fanavaran/README.md) linked to the main files, I suggest for the flows and etc we should LINK the documented file.
2026-08-08 15:59:17 +03:30
s.hajizadeh 5a4a511e84 fanavaran sales integration docs 2026-08-08 15:53:35 +03:30
s.hajizadeh 91028f999c Merge pull request 'sms logging in mongo part was added' (#255) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#255
2026-08-08 12:15:33 +03:30
s.hajizadeh 07d6cdbe7c sms logging in mongo part was added 2026-08-08 12:14:31 +03:30
s.hajizadeh e6038c73c5 Merge pull request 'licence number dummy data fills and never empty' (#254) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#254
2026-08-05 14:30:26 +03:30
s.hajizadeh d4487776fb licence number dummy data fills and never empty 2026-08-05 14:26:13 +03:30
s.hajizadeh 01c1be40c7 Merge pull request 'fanavaran lookups done' (#249) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#249
2026-08-03 15:58:38 +03:30
s.hajizadeh 738344a9d4 fanavaran lookups done 2026-08-03 15:53:36 +03:30
s.hajizadeh e761c4b6b2 Merge pull request 'added offline inquiry in system setting also fix some bugs' (#243) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#243
2026-08-03 11:51:48 +03:30
s.hajizadeh 7f672541ae added offline inquiry in system setting also fix some bugs 2026-08-03 11:49:24 +03:30
s.hajizadeh fdfca80eb6 Merge pull request 'fanavaran configs seeding' (#240) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#240
2026-08-03 09:56:36 +03:30
s.hajizadeh f7b7cd13e8 fanavaran configs seeding 2026-08-03 09:55:30 +03:30
s.hajizadeh ca5c1900ff Merge pull request 'main' (#239) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#239
2026-08-02 17:42:49 +03:30
s.hajizadeh fc7488a204 merge upstream 2026-08-02 17:42:05 +03:30
s.hajizadeh 298761233a expert id changed 2026-08-02 17:40:00 +03:30
s.hajizadeh 05531260da Merge pull request 'main' (#238) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#238
2026-08-02 17:02:36 +03:30
s.hajizadeh b345818d43 fanavaran duplication request problems fixed. 2026-08-02 17:00:19 +03:30
s.hajizadeh c2f5c576fa merge upstream 2026-08-02 11:34:02 +03:30
s.hajizadeh 8f66502c49 fanavaran rate bugs fixed + sms of claimId and claimNo added 2026-08-02 11:33:24 +03:30
s.hajizadeh 6a26eaa6da Merge pull request 'mapping problems fixed' (#237) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#237
2026-08-01 17:57:41 +03:30
s.hajizadeh 86f8b829fd mapping problems fixed 2026-08-01 17:56:58 +03:30
s.hajizadeh bf7e2ef97a Merge pull request 'mis spelling' (#234) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#234
2026-07-29 18:16:04 +03:30
s.hajizadeh 426268fed2 mis spelling 2026-07-29 18:15:24 +03:30
s.hajizadeh a0874f4837 Merge pull request 'main' (#233) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#233
2026-07-29 17:34:37 +03:30
s.hajizadeh 0c0c306740 merge upstream 2026-07-29 17:33:58 +03:30
s.hajizadeh 914e97687f group lookups added also fanavaran module grant access 2026-07-29 17:32:57 +03:30
s.hajizadeh 50ea476fa5 Merge pull request 'main' (#228) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#228
2026-07-28 16:59:02 +03:30
s.hajizadeh 8609dbc377 merge upstream 2026-07-28 16:58:26 +03:30
s.hajizadeh 0019a22ccd claim things fixed 2026-07-28 16:58:03 +03:30
s.hajizadeh 6e1405c309 Merge pull request 'main' (#221) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#221
2026-07-27 10:39:57 +03:30
s.hajizadeh f053ee1348 merge upstream 2026-07-27 10:39:17 +03:30
s.hajizadeh 182db56e15 the serial letter normalization added to the code to normalize the Heh , Ya , Kaf and etc to the correct character 2026-07-27 10:38:35 +03:30
s.hajizadeh ac65cdb77b Merge pull request 'lookups and inquiries in lookups added' (#214) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#214
2026-07-25 11:04:42 +03:30
s.hajizadeh 8430c68e3a lookups and inquiries in lookups added 2026-07-25 11:03:58 +03:30
s.hajizadeh 4d5b91d4fe Merge pull request 'update the fanavaran for both tejarat no and parsian clients , dont forget about the env files' (#203) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#203
2026-07-20 16:30:15 +03:30
s.hajizadeh 8ba97537a4 update the fanavaran for both tejarat no and parsian clients , dont forget about the env files 2026-07-20 16:28:25 +03:30
s.hajizadeh ac7ee941b8 Merge pull request 'main' (#181) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#181
2026-07-11 11:40:45 +03:30
s.hajizadeh 5d005d5eee env example 2026-07-11 11:39:52 +03:30
s.hajizadeh b65d9bfe81 driverId problem fixed , also added a captcha required env called : CAPTCHA_ENABLED= to disable or enable CAPTCHA in development 2026-07-11 11:39:36 +03:30
s.hajizadeh 80122e7772 Merge pull request 'main' (#180) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#180
2026-07-07 18:53:35 +03:30
s.hajizadeh f409d78ede merge upstream 2026-07-07 18:53:01 +03:30
s.hajizadeh 41d1de77eb Merge pull request 'main' (#179) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#179
2026-07-07 17:30:48 +03:30
s.hajizadeh 0aadc64cd3 merge upstream 2026-07-07 17:30:23 +03:30
s.hajizadeh ae23a10d33 Merge pull request 'main' (#178) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#178
2026-07-07 13:47:07 +03:30
s.hajizadeh 1c6678d8e4 merge upstream 2026-07-07 13:46:27 +03:30
s.hajizadeh 1fe2c77c70 Merge pull request 'main' (#177) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#177
2026-07-05 15:49:53 +03:30
s.hajizadeh 45a51f2c24 merge upstream 2026-07-05 15:47:59 +03:30
s.hajizadeh ced08fc1f7 Merge pull request 'fix it' (#170) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#170
2026-07-01 18:06:07 +03:30
s.hajizadeh d525b8dd0d fix it 2026-07-01 18:05:09 +03:30
s.hajizadeh 5ef8310cb0 Merge pull request 'main' (#166) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#166
2026-07-01 15:14:56 +03:30
s.hajizadeh d2cb9444f3 merge upstream 2026-07-01 15:13:52 +03:30
s.hajizadeh 67471fb9ce fanavaran stage by stage implemented i am so bored to send smart commit sorry MR sina 2026-07-01 15:13:22 +03:30
s.hajizadeh 9068765c25 Merge pull request 'main' (#162) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#162
2026-06-30 11:52:40 +03:30
s.hajizadeh 99c819caeb feat(fanavaran): add auth token script
Why:
- Manual curl token setup was error-prone and allowed stale appToken reuse.

Changes:
- Add a script that accepts tejaratno or parsian, calls GetAppToken, then Login.
- Document the script flow and fill known curl variables from the codebase.

Impact:
- Users can generate fresh Fanavaran tokens without manually copying multi-step curl commands.
2026-06-30 11:51:40 +03:30
s.hajizadeh 8d396762a2 fix(fanavaran): select latest active policy by end date
Why:
- Fanavaran policy inquiry response order is inconsistent, so selecting the last item can choose an old or expired policy.

Changes:
- Select the policy with the latest Jalali EndDate.
- Reject empty policy responses, expired latest policies, and latest policies without a valid PolicyId.
- Stop Fanavaran submission when PolicyId cannot be resolved.

Impact:
- Fanavaran submit now fails clearly instead of continuing with PolicyId: null.
2026-06-30 11:51:11 +03:30
s.hajizadeh 7e597db423 Merge pull request 'logged vehicle usage code' (#158) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#158
2026-06-27 17:51:29 +03:30
s.hajizadeh 8303bf4467 logged vehicle usage code 2026-06-27 17:49:59 +03:30
s.hajizadeh ebe8671bd3 Merge pull request 'main' (#157) from s.hajizadeh/yara724api:main into main
Reviewed-on: Yara724/api#157
2026-06-27 16:51:30 +03:30