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

@@ -10,10 +10,20 @@ export default defineTrigger({
{
label: 'To Number',
key: 'toNumber',
type: 'string',
type: 'dropdown',
required: true,
description:
'The number to receive the SMS on. It should be a SignalWire number in your project.',
source: {
type: 'query',
name: 'getDynamicData',
arguments: [
{
name: 'key',
value: 'listIncomingPhoneNumbers',
},
],
},
},
],