DockerERTFF/extensions/server_connect/modules/n5_onesignal_delete_notific...

63 lines
1.5 KiB
Plaintext

{
type: 'onesignal_onesignal_delete_notification_onesignal_onesignal_delete_notification',
module : 'onesignal_delete_notification',
action : 'onesignal_delete_notification',
groupTitle : 'Notification Modules',
groupIcon : 'fas fa-solid fa-satellite-dish comp_general',
title : 'Onesignal Delete Notification',
icon : 'fas fa-solid fa-ban comp_general',
serverModel : ['node'],
dataPickObject: true,
dataScheme: [
{name:'success', type: 'text'},
{name: 'status', type: 'number'}
],
properties : [
{
group: 'Delete Notification',
variables: [
{ name: 'actionName',
optionName: 'name',
title: 'Name',
type: 'text',
required: true,
defaultValue: '',
baseName: "osc1"
},
{ name: 'appid',
optionName: 'appid',
title: 'App ID',
type: 'text',
serverDataBindings: true,
required: true,
defaultValue: ''
},
{ name: 'notificationid',
optionName: 'notificationid',
title: 'Notification ID',
type: 'text',
required: true,
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/delete-notification" style="color: #cc0000">Link to API reference for this module here (opens new browser windows)</a>',
}
]}]}