You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Pull each SMS client's actual credit balance from the provider panel instead of manual entry. sms.balance_api_url (dated setting, default 164.52.195.161/API/ BalAlert.aspx) returns pipe-delimited code|STATUS|payload; parseBalanceResponse reads the trailing number and flags ERROR lines, never guessing. Uses each subscription's already-imported username/password_enc — the automated path decrypts directly (no reveal-audit spam) and audits sms_balance ONLY when it changes; per-poll telemetry lands in the unaudited sms_balance_check table (SQLite schema + PG migration 010). Managerial 'Refresh from gateway' button (POST /reports/sms- balances/refresh) + per-client refresh; scheduler does one pass per day (maybeRefreshSmsDaily). Low-balance alert on the Dashboard + cockpit tile. Needs HQ_SECRET_KEY (import-time key) to decrypt — no-ops with a clear message otherwise, never stores plaintext. Parser unit-tested; full suite 408 green. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
3 days ago | |
|---|---|---|
| .. | ||
| superpowers | 3 days ago | |
| 06-DECISIONS.md | 3 days ago | |
| 07-DB-AND-CONFIG.md | 2 weeks ago | |
| 11-ADMIN-SUPPORT-CONSOLE.md | 5 days ago | |
| 14-SPEC-HQ-CONSOLE.md | 5 days ago | |
| 16-PROJECT-RULES.md | 2 weeks ago | |
| DEPLOY-HQ.md | 4 days ago | |