- Route Twilio Lookup v2 through the on-prem remote agent so all
third-party calls (SIW, Google, Twilio) share the same network path
and future IP allow-lists / corp proxies don't break it silently
- Delete unused GOOGLE_APPLICATION_CREDENTIALS / serviceAccountKeyPath
wiring in config.js, .env.example, and README (never read by any code)
- Extract 150 lines of STORE_DEVICE_CUSTOMIZATIONS out of
src/webex/devices.js into src/webex/deviceCustomizations.js so device
config diffs are self-contained and devices.js stays focused on API
- runStep learns a {critical: true} option that re-throws on failure
instead of the legacy always-swallow behavior; mark
enableLocationForCalling critical in buildStore + stageStore so a
failure there aborts the flow cleanly rather than cascading into
dozens of downstream 404s
Co-authored-by: Cursor <cursoragent@cursor.com>
45 lines
1.7 KiB
Text
45 lines
1.7 KiB
Text
# Copy this file to .env and fill in real values.
|
|
# .env is git-ignored. NEVER commit real secrets.
|
|
|
|
# --- Webex bot (webex-node-bot-framework) ---
|
|
WEBEX_BOT_TOKEN=your-webex-bot-token
|
|
WEBEX_BOT_NAME=AEO Call Provisioning
|
|
WEBEX_BOT_USERNAME=aeoCallProvisioning@webex.bot
|
|
WEBEX_BOT_ID=your-webex-bot-id
|
|
|
|
# --- Webex service account (integration used for admin API calls) ---
|
|
WEBEX_SVC_CLIENT_ID=your-webex-integration-client-id
|
|
WEBEX_SVC_CLIENT_SECRET=your-webex-integration-client-secret
|
|
|
|
# Path to the JSON file that persists the service-account access/refresh tokens.
|
|
# Created and rewritten automatically by the token-refresh cron.
|
|
WEBEX_TOKEN_STORE=./config/wbxTokens.json
|
|
|
|
# --- Twilio (phone number validation) ---
|
|
TWILIO_ACCOUNT_SID=your-twilio-account-sid
|
|
TWILIO_AUTH_TOKEN=your-twilio-auth-token
|
|
|
|
# --- Store Info Web (SIW) ---
|
|
# SIW requests are proxied through the on-prem remote agent (see WS_* below),
|
|
# so the base URL and credentials are forwarded to the agent per-request. This
|
|
# bot never talks to SIW directly.
|
|
SIW_BASE_URL=https://storeinfoweb-prod.ae.com
|
|
SIW_USERNAME=your-siw-user
|
|
SIW_PASSWORD=your-siw-password
|
|
|
|
# --- Remote agent WebSocket bridge ---
|
|
# This bot listens on WS_PORT; the on-prem agent (a second instance of the
|
|
# netanalyzer remoteAgent.js) dials in with WS_URL=wss://.../ and this token
|
|
# as its Bearer credential. Rotate WS_TOKEN with any high-entropy string.
|
|
WS_PORT=8080
|
|
WS_TOKEN=change-me-to-a-long-random-string
|
|
|
|
# --- Google ---
|
|
# Simple REST API key used by Address Validation + Time Zone endpoints.
|
|
# All Google calls are proxied through the on-prem remote agent (see WS_*
|
|
# above) so requests originate from the IP subnet the key allow-lists.
|
|
GOOGLE_API_KEY=your-google-api-key
|
|
|
|
# --- Runtime ---
|
|
NODE_ENV=production
|
|
LOG_LEVEL=info
|