
{
  type: 'onesignal_getoutcomes_onesignal_getoutcomes',
  module : 'onesignal_getoutcomes',
  action : 'onesignal_getoutcomes',
  groupTitle : 'Notification Modules',
  groupIcon : 'fas fa-solid fa-satellite-dish comp_general',
  title : 'Onesignal Get Notification Outcomes',
  icon : 'fas fa-solid fa-chart-pie comp_general',
  serverModel : ['node'],
  dataPickObject: true,
  dataScheme: [
{name:'successful', type: 'text'},
{name:'failed', type: 'text'},
{name:'errored', type: 'text'},
{name:'converted', type: 'text'},
{name:'received', type: 'text'},
{name: 'status',type: 'number'} 
 ],

  properties : [
{
group: 'Get Notification and outcomes',
variables: [
{ name: 'actionName', 
optionName: 'name', 
title: 'Name', 
type: 'text', 
required: true, 
defaultValue: '',
baseName: "osg1"
},

 { name: 'appid', 
optionName: 'appid', 
title: 'App ID', 
type: 'text', 
required: true, 
serverDataBindings: true,
defaultValue: ''

},
{ name: 'outcome_names', 
optionName: 'outcome_names', 
title: 'Outcome Names', 
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/view-outcomes" style="color: #cc0000">Link to API reference for this module here (opens new browser windows)</a>',
}
]}]}
