feat(signalwire): introduce dynamic incoming phone numbers

This commit is contained in:
Ali BARIN
2023-03-13 20:13:45 +00:00
parent 10b4066c82
commit bfb1e817ec
5 changed files with 85 additions and 2 deletions

View File

@@ -8,11 +8,21 @@ export default defineAction({
{
label: 'From Number',
key: 'fromNumber',
type: 'string' as const,
type: 'dropdown' as const,
required: true,
description:
'The number to send the SMS from. Include only country code. Example: 491234567890',
variables: true,
source: {
type: 'query',
name: 'getDynamicData',
arguments: [
{
name: 'key',
value: 'listIncomingPhoneNumbers',
},
],
},
},
{
label: 'To Number',