# Prisma datasource: production uses PostgreSQL in this project.
DATABASE_URL="postgresql://whatsapp_inbox:YOUR_DB_PASSWORD@127.0.0.1:5432/whatsapp_inbox?schema=public"
AUTH_SECRET="change-me"
WHATSAPP_API_TOKEN="your-meta-token"
WHATSAPP_API_VERSION="v22.0"
WHATSAPP_WEBHOOK_VERIFY_TOKEN="your-webhook-verify-token"
WHATSAPP_WEBHOOK_SECRET="your-webhook-secret"
WHATSAPP_ALLOW_SIMULATED_SEND="true"
APP_URL="http://localhost:3000"
CAMPAIGN_RETRY_JOB_TOKEN="change-me-for-production"
CAMPAIGN_RETRY_BATCH_SIZE="100"
CAMPAIGN_RETRY_MAX_CAMPAIGNS="20"
CAMPAIGN_RETRY_JOB_LOCK_TTL_SECONDS="300"
CAMPAIGN_RETRY_ALERT_WEBHOOK_URL=""
CAMPAIGN_RETRY_ALERT_ON_FAILURE="true"
HEALTHCHECK_TOKEN=""
OPS_BASE_URL=""
WEBHOOK_FAILURE_RATE_THRESHOLD_PER_HOUR="20"
RETRY_WORKER_STALE_MINUTES="30"
CAMPAIGN_RETRY_DAEMON_INTERVAL_SECONDS="300"
CAMPAIGN_RETRY_DAEMON_TIMEOUT_MS="30000"
LOGIN_RATE_LIMIT_ATTEMPTS="10"
LOGIN_RATE_LIMIT_WINDOW_MS="900000"
CAMPAIGN_RETRY_JOB_RATE_LIMIT_GET="60"
CAMPAIGN_RETRY_JOB_RATE_LIMIT_POST="20"
CAMPAIGN_RETRY_JOB_RATE_LIMIT_WINDOW_MS="60000"
WHATSAPP_WEBHOOK_RATE_LIMIT_GET="60"
WHATSAPP_WEBHOOK_RATE_LIMIT_POST="120"
WHATSAPP_WEBHOOK_RATE_LIMIT_WINDOW_MS="60000"
AUTH_TOKEN_CONSUMED_RETENTION_HOURS="24"
CAMPAIGN_RETRY_STALE_LOCK_MINUTES="120"
WEBHOOK_EVENT_RETENTION_DAYS="30"
AUDIT_LOG_RETENTION_DAYS="365"

# Background job (campaign retry)
CAMPAIGN_RETRY_JOB_URL="http://localhost:3000"
CAMPAIGN_RETRY_TENANT_ID=""
CAMPAIGN_RETRY_CAMPAIGN_ID=""
