revert: revert SMS (Telnyx) platform adapter for review

This reverts commit ef67037f8e.
This commit is contained in:
Teknium 2026-03-17 02:53:30 -07:00 committed by GitHub
parent ef67037f8e
commit fd61ae13e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 4 additions and 645 deletions

View file

@ -1013,30 +1013,6 @@ _PLATFORMS = [
"emoji": "📡",
"token_var": "SIGNAL_HTTP_URL",
},
{
"key": "sms",
"label": "SMS (Telnyx)",
"emoji": "📱",
"token_var": "TELNYX_API_KEY",
"setup_instructions": [
"1. Create a Telnyx account at https://portal.telnyx.com/",
"2. Buy a phone number with SMS capability",
"3. Create an API key: API Keys → Create API Key",
"4. Set up a Messaging Profile and assign your number to it",
"5. Configure the webhook URL: https://your-server/webhooks/telnyx",
],
"vars": [
{"name": "TELNYX_API_KEY", "prompt": "Telnyx API key", "password": True,
"help": "Paste the API key from step 3 above."},
{"name": "TELNYX_FROM_NUMBERS", "prompt": "From numbers (comma-separated E.164, e.g. +15551234567)", "password": False,
"help": "The Telnyx phone number(s) Hermes will send SMS from."},
{"name": "SMS_ALLOWED_USERS", "prompt": "Allowed phone numbers (comma-separated E.164)", "password": False,
"is_allowlist": True,
"help": "Only messages from these phone numbers will be processed."},
{"name": "SMS_HOME_CHANNEL", "prompt": "Home channel phone (for cron/notification delivery, or empty)", "password": False,
"help": "A phone number where cron job outputs are delivered."},
],
},
{
"key": "email",
"label": "Email",