forked from Yara724/api
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.
109 lines
3.5 KiB
Bash
109 lines
3.5 KiB
Bash
# ---------------------------------------------
|
|
# 🔧 Application Environment
|
|
# ---------------------------------------------
|
|
NODE_ENV =
|
|
PORT =
|
|
CLIENT_ID =
|
|
CLIENT_NAME =
|
|
FANAVARAN_CLIENT=parsian
|
|
INSURANCE_CORP_ID='شرکت بيمه پارسيان(بيمه گر)'
|
|
CLAIM_V2_TOTAL_PAYMENT_CAP_ENABLED=false
|
|
CLAIM_V2_TOTAL_PAYMENT_CAP_TOMAN=53000000
|
|
# ---------------------------------------------
|
|
# 🌐 Application URLs
|
|
# ---------------------------------------------
|
|
URL =
|
|
# Optional path where the user panel is mounted behind the public URL.
|
|
# Example: URL=https://chatr.parsianinsurance.com/car-damage and USER_BASE_PATH=user
|
|
# produces SMS links under https://chatr.parsianinsurance.com/car-damage/user/v1/...
|
|
USER_BASE_PATH =
|
|
BASE_URL_DEV =
|
|
|
|
# ---------------------------------------------
|
|
# 📄 Swagger / API Documentation
|
|
# ---------------------------------------------
|
|
SWAGGER_USER_DEV =
|
|
SWAGGER_PASSWORD_DEV =
|
|
|
|
# ---------------------------------------------
|
|
# 🗄️ Database (MongoDB)
|
|
# ---------------------------------------------
|
|
MONGO_HOST =
|
|
MONGO_PORT =
|
|
MONGO_USER =
|
|
MONGO_PASS =
|
|
MONGO_DB_NAME =
|
|
MONGO_OPTIONS =
|
|
MONGO_TLS =
|
|
MONGO_TLS_ALLOW_INVALID_CERTS =
|
|
MONGO_URI = 'mongodb://${MONGO_USER}:${MONGO_PASS}@${MONGO_HOST}:${MONGO_PORT}/${MONGO_DB_NAME}?${MONGO_OPTIONS}'
|
|
|
|
# ---------------------------------------------
|
|
# 🔐 Authentication / Security
|
|
# ---------------------------------------------
|
|
JWT_SECRET =
|
|
JWT_EXPIRY =
|
|
CAPTCHA_ENABLED = true
|
|
|
|
# ---------------------------------------------
|
|
# 🧩 SanHub Microservice
|
|
# ---------------------------------------------
|
|
SANHUB_BASE_URL =
|
|
SANHUB_URL_LOGIN =
|
|
SANHUB_USERNAME =
|
|
SANHUB_PASSWORD =
|
|
|
|
# ---------------------------------------------
|
|
# 🤖 AI Services
|
|
# ---------------------------------------------
|
|
AI_DAMAGE_ENABLED=false
|
|
AI_DAMAGE_URL=http://79.132.207.77:30531
|
|
AI_DAMAGE_TIMEOUT_MS=600000
|
|
|
|
# Prices come from the assessment service; no OpenAI key is needed here.
|
|
# minor = all damaged parts, moderate = moderate/severe, severe = severe only.
|
|
# null is normalized to minor because the provider does not accept a null enum.
|
|
AI_DAMAGE_PRICE_MIN_SEVERITY=severe
|
|
|
|
# ---------------------------------------------
|
|
# 📩 SMS
|
|
# ---------------------------------------------
|
|
SMS_PROVIDER =
|
|
SMS_API_KEY =
|
|
AUTH_SMS_TEMPLATE =
|
|
EXP_OTP_TIME =
|
|
# Development-only fixed OTP. Production rejects true at startup.
|
|
FAKE_OTP = false
|
|
|
|
# ---------------------------------------------
|
|
# 🌐 Proxy Configuration (Local Development Only)
|
|
# ---------------------------------------------
|
|
# NOTE: These proxy settings are for local development only.
|
|
# When deploying to the server, comment out or remove these lines
|
|
# as the server IP is already whitelisted by Fanavaran.
|
|
# SOCKS_PROXY_HOST = localhost
|
|
# SOCKS_PROXY_PORT = 6565
|
|
|
|
# ---------------------------------------------
|
|
# 🏢 Fanavaran Insurance Corp
|
|
# ---------------------------------------------
|
|
# Caption from Fanavaran insurance-corp lookup used to resolve InsuranceCorpId
|
|
# for damage-case payloads. Must match a Caption in the insurance-corp code-list.
|
|
# Example: "شرکت بيمه تجارت نو"
|
|
INSURANCE_CORP_ID =
|
|
|
|
# ---------------------------------------------
|
|
# ⚙️ Application Features / Flags
|
|
# ---------------------------------------------
|
|
AUTO_CLIENT_KEY_ENABLED =
|
|
|
|
# ---------------------------------------------
|
|
# 🔗 Other Internal Services
|
|
# ---------------------------------------------
|
|
TEJARAT_INQUIRY_EMAIL =
|
|
TEJARAT_INQUIRY_PASSWORD =
|
|
|
|
PARSIAN_API_KEY =
|
|
PARSIAN_BASIC_TOKEN =
|
|
PARSIAN_SMS_URL =
|