From 5dec3e142ab5ea215ac54e64d05534827590deb2 Mon Sep 17 00:00:00 2001 From: sbgap Date: Tue, 24 Nov 2026 09:52:59 +0100 Subject: [PATCH] feat: add SMSEagle notification channel type Add `sms_eagle` as a new notification channel type for sending SMS through an SMSEagle device. - Add `sms_eagle` to NotificationChannelType - Channel dialog: SMSEagle takes a host (with TLS verify / CA path) and an auth token; the sender and API SID fields are hidden for this type - Add `sms_eagle` to the notification channel filter type list - Add `AuthToken` translation key Co-Authored-By: Claude Opus 5.5 --- .../dialogs/add/NotificationChannelAdd.vue | 14 ++++++++------ .../dialogs/filters/NotificationChannelsFilter.vue | 3 ++- src/locales/en.ts | 1 + .../store/types/notificationChannel-types.ts | 1 + 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/components/dialogs/add/NotificationChannelAdd.vue b/src/components/dialogs/add/NotificationChannelAdd.vue index 7e7bde57..1be0fd4f 100644 --- a/src/components/dialogs/add/NotificationChannelAdd.vue +++ b/src/components/dialogs/add/NotificationChannelAdd.vue @@ -23,7 +23,7 @@ :label="t('Name')" /> - + - + - + ({ diff --git a/src/components/dialogs/filters/NotificationChannelsFilter.vue b/src/components/dialogs/filters/NotificationChannelsFilter.vue index 3883709d..58c0aa40 100644 --- a/src/components/dialogs/filters/NotificationChannelsFilter.vue +++ b/src/components/dialogs/filters/NotificationChannelsFilter.vue @@ -81,7 +81,8 @@ const types: NotificationChannelType[] = [ 'twilio_sms', 'twilio_call', 'link_mobility_xml', - 'my_link' + 'my_link', + 'sms_eagle' ] const filter = computed({ get: () => store.state.notificationChannels.filter, diff --git a/src/locales/en.ts b/src/locales/en.ts index 177770e6..ea20d6a2 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -236,6 +236,7 @@ export const en = { ShowError: 'Show Error', ApiToken: 'API Token', ApiSid: 'API SID', + AuthToken: 'Auth Token', AccountSID: 'Account SID', UseAPIKey: 'Use API key', ClientID: 'Client ID', diff --git a/src/plugins/store/types/notificationChannel-types.ts b/src/plugins/store/types/notificationChannel-types.ts index 6a244f8d..e7e16f26 100644 --- a/src/plugins/store/types/notificationChannel-types.ts +++ b/src/plugins/store/types/notificationChannel-types.ts @@ -8,6 +8,7 @@ export type NotificationChannelType = | 'twilio_call' | 'link_mobility_xml' | 'my_link' + | 'sms_eagle' export type NotificationChannel = { customer?: string | null