77 lines
1.8 KiB
Plaintext
77 lines
1.8 KiB
Plaintext
{
|
|
type: 'onesignal_unsubscribe_email_onesignal_unsubscribe_email',
|
|
module : 'onesignal_unsubscribe_email',
|
|
action : 'onesignal_unsubscribe_email',
|
|
groupTitle : 'Notification Modules',
|
|
groupIcon : 'fas fa-solid fa-satellite-dish comp_general',
|
|
title : 'Onesignal Unsubscribe Email (with token)',
|
|
icon : 'far fa-solid fa-envelope-open comp_general',
|
|
serverModel : ['node'],
|
|
|
|
dataPickObject: true,
|
|
|
|
dataScheme: [
|
|
{name: 'status',type: 'number'}
|
|
],
|
|
usedModules : {
|
|
|
|
}
|
|
properties : [
|
|
{
|
|
group: 'Get Notification by ID',
|
|
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: 'token',
|
|
optionName: 'token',
|
|
title: 'Token',
|
|
type: 'text',
|
|
required: true,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'The unsubscribe token that is generated via liquid syntax in {{subscription.unsubscribe_token}} when personalizing an email.'
|
|
},
|
|
|
|
{ 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/unsubscribe-with-token" style="color: #cc0000">Link to API reference for this module here (opens new browser windows)</a>',
|
|
}
|
|
]}]} |