74 lines
1.8 KiB
Plaintext
74 lines
1.8 KiB
Plaintext
{
|
|
type: 'onesignal_notification_history_sent_onesignal_notification_history_sent',
|
|
module : 'onesignal_notification_history_sent',
|
|
action : 'onesignal_notification_history_sent',
|
|
groupTitle : 'Notification Modules',
|
|
groupIcon : 'fas fa-solid fa-satellite-dish comp_general',
|
|
title : 'Onesignal Notification History (sent) (UNTESTED)',
|
|
icon : 'fas fa-solid fa-history comp_general',
|
|
serverModel : ['node'],
|
|
|
|
dataPickObject: true,
|
|
|
|
dataScheme: [
|
|
{name: 'status', type: 'number'}
|
|
],
|
|
properties : [
|
|
{
|
|
group: 'Onesignal Options',
|
|
variables: [
|
|
{ name: 'actionName',
|
|
optionName: 'name',
|
|
title: 'Name',
|
|
type: 'text',
|
|
required: true,
|
|
defaultValue: '',
|
|
baseName: "osn1"
|
|
},
|
|
|
|
{ name: 'appid',
|
|
optionName: 'appid',
|
|
title: 'App Id',
|
|
type: 'text',
|
|
required: false,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'App ID, if left blank default from ENV will be used'
|
|
},
|
|
|
|
{ name: 'notification_id',
|
|
optionName: 'notification_id',
|
|
title: 'Notification ID',
|
|
type: 'text',
|
|
required: true,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'Notification ID'
|
|
},
|
|
{ name: 'email',
|
|
optionName: 'email',
|
|
title: 'Email to receive report',
|
|
type: 'text',
|
|
required: true,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'Email to receive report'
|
|
},
|
|
|
|
{ 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/notification-history" style="color: #cc0000">Link to API reference for this module here (opens new browser windows)</a>'
|
|
}
|
|
]}]} |