
{
    // onesignal sms notification 
    // not all properties added yet
  type: 'onesignal_create_sms_notification_onesignal_create_sms_notification',
  module : 'onesignal_create_sms_notification',
  action : 'onesignal_create_sms_notification',
  groupTitle : 'Notification Modules',
  groupIcon : 'fas fa-solid fa-satellite-dish comp_general',
  title : 'Onesignal SMS Push',
  icon : 'fas fa-solid fa-sms comp_general',
 serverModel : ['node'],
dataPickObject: true,
dataScheme: [
 {name:'id', type: 'text'},
 {name:'external_id', type: 'text'},
    {name: 'status',type: 'number'} 
 ],
  usedModules : {}

  properties : [
{
group: 'Message Details',
variables: [

{ name: 'actionName', 
optionName: 'name', 
title: 'Name', 
type: 'text', 
required: true, 
defaultValue: '',
baseName: "osp1"
},
{
name: 'appid', 
optionName: 'appid', 
title: 'Application ID', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
{
name: "contents",
optionName: "contents",
key: "var",
keyValue: "value",
title: "SMS Push Messages",
type: "grid",
defaultValue: {},
serverDataBindings: true,
columns: [
{
field: "var",
caption: "Language",
size: "30%",
editable: {
  type: "static"
}
},
{
field: "value",
caption: "Text",
size: "70%",
editable: {
  type: "datapicker"
}}]
  },
 {name: 'sms_from', 
optionName: 'sms_from', 
title: 'SMS number from', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
 {name: 'osname', 
optionName: 'osname', 
title: 'Internal Name', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
{name: 'segment', 
optionName: 'segment', 
title: 'Segments', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
{name: 'filter', 
optionName: 'filter', 
title: 'filter', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
{name: 'include_phone_numbers', 
optionName: 'include_phone_numbers', 
title: 'Include phone numbers', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: ''
}, 

{ name: 'output', 
optionName: 'output', 
title: 'Output', 
type: 'boolean', 
defaultValue: false 
} , 
{
name: 'fcmlink', 
optionName: 'fcmlink', 
title: 'New App Name', 
type: 'static', 
required: false, 
serverDataBindings: true,
defaultValue: '',
 help: '<a target="_blank" href="https://documentation.onesignal.com/reference/sms" style="color: #cc0000">Link to API reference for this module here (opens new browser windows)</a>',
}
  ]
}
  ]
}