{
    // onesignal email notification 
//'v1.0.0'
  type: 'onesignal_create_email_notification_onesignal_create_email_notification',
  module : 'onesignal_create_email_notification',
  action : 'onesignal_create_email_notification',
  groupTitle : 'Notification Modules',
  groupIcon : 'fas fa-solid fa-satellite-dish comp_general',
  title : 'Onesignal Email Push',
  icon : 'fas fa-solid fa-at comp_general',
 serverModel : ['node'],
dataPickObject: true,
dataScheme: [
 {name:'id', type: 'text'},
 {name:'external_id', type: 'text'},
  {name: 'status',type: 'number'} 
 ],
  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: 'osname', 
optionName: 'osname', 
title: 'Internal Name', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
 {name: 'email_subject', 
optionName: 'email_subject', 
title: 'Email Subject', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
 {name: 'email_body', 
optionName: 'email_body', 
title: 'Email Body', 
type: 'textarea', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
 {name: 'email_from_name', 
optionName: 'email_from_name', 
title: 'Email from name', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
 {name: 'email_from_address', 
optionName: 'email_from_address', 
title: 'Email from address', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
 {name: 'email_reply_to_address', 
optionName: 'email_reply_to_address', 
title: 'Email reply to address', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
 {name: 'email_preheader', 
optionName: 'email_preheader', 
title: 'Email Preheader', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
{ name: 'disable_email_click_tracking', 
optionName: 'disable_email_click_tracking', 
title: 'Disable eMail click tracking', 
type: 'boolean', 
defaultValue: false 
}, 
 {name: 'template_id', 
optionName: 'template_id', 
title: 'Optional Template_id', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
 {name: 'segment', 
optionName: 'segment', 
title: 'Segments', 
type: 'text', 
required: false, 
serverDataBindings: true,
defaultValue: 'Default "All Email Subscriptions"'
},
 {name: 'filter', 
optionName: 'filter', 
title: 'filter', 
type: 'textarea', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
 {name: 'include_aliases', 
optionName: 'include_aliases', 
title: 'Include Aliases', 
type: 'textarea', 
required: false, 
serverDataBindings: true,
defaultValue: ''
},
{ name: 'include_unsubscribed', 
optionName: 'include_unsubscribed', 
title: 'Include Unsubscribed', 
type: 'boolean', 
defaultValue: false 
}, 
 {name: 'include_email_tokens', 
optionName: 'include_email_tokens', 
title: 'include email tokens', 
type: 'textarea', 
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/email" style="color: #cc0000">Link to API reference for this module here (opens new browser windows)</a>',
}
  ]
}
  ]
}