forked from Yara724/api
feat: support Fanavaran car-body flow in UI
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Fanavaran flow test — copy this file, fill section A, then run:
|
||||
#
|
||||
# cp scripts/data/fanavaran-flow.env.example scripts/data/fanavaran-flow.moallem.env
|
||||
# ./scripts/fanavaran-flow-test.sh --env scripts/data/fanavaran-flow.moallem.env
|
||||
# FANAVARAN_FLOW_ENV=scripts/data/fanavaran-flow.moallem.env node scripts/fanavaran-flow-ui-server.js
|
||||
#
|
||||
# Section A = you fill before (or when the script asks).
|
||||
# Section B = leave empty. The script writes Fanavaran ids here after each stage
|
||||
@@ -16,6 +16,10 @@
|
||||
# --- tenant ---
|
||||
FANAVARAN_CLIENT=moallem
|
||||
|
||||
# Moallem uses the V14 GEN.03 body and requires an embedded claimant notification.
|
||||
FANAVARAN_API_VERSION=v14
|
||||
FANAVARAN_BASE_URL=https://api.inssw.ir/BimeApiManager/api
|
||||
|
||||
# Localhost only: route curl through Termius SOCKS (Dynamic Port Forwarding).
|
||||
# Example: CURL_PROXY=socks5h://127.0.0.1:1080
|
||||
# Or run the script on the Moallem server (no proxy needed).
|
||||
@@ -50,6 +54,20 @@ GUILTY_NATIONAL_CODE=
|
||||
ACCIDENT_DATE=1404/05/20
|
||||
ACCIDENT_TIME=12:00
|
||||
|
||||
# --- Moallem V14 GEN.03 embedded claimant notification ---
|
||||
# IDs must come from Moallem's own Fanavaran code lists / party inquiry.
|
||||
CLAIM_NOTIFICATION_DATE=
|
||||
NOTIFY_LETTER_DATE=
|
||||
NOTIFIER_TYPE_ID=
|
||||
NOTIFIER_RELATION_ID=
|
||||
NOTIFIER_PARTY_ID=
|
||||
NOTIFY_LETTER_NO=
|
||||
NOTIFY_DESC=
|
||||
INJURED_COUNT=
|
||||
DEATH_COUNT=
|
||||
IS_INJURED_PARTY_IDENTIFIED=
|
||||
INJURED_PARTY_ID=
|
||||
|
||||
# --- GEN.12 case ---
|
||||
DRIVER_NATIONAL_CODE=
|
||||
DRIVER_BIRTH_YEAR=1370
|
||||
|
||||
Reference in New Issue
Block a user