Add Khanegi SMS sync inventory, batch import, and rollout helpers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-08 15:30:43 +03:30
co-authored by Cursor
parent b9a33505e4
commit 448dc444c9
11 changed files with 693 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Convenience: inventory + write JSON on SuperAdmin host.
set -euo pipefail
cd /var/www/superadmin/api
npm run prisma:inventory-khanegi-sms
SMS_INVENTORY_FORMAT=json SMS_INVENTORY_OUT=/tmp/khanegi-sms-inventory.json \
npm run prisma:inventory-khanegi-sms
echo "JSON: /tmp/khanegi-sms-inventory.json"