80 lines
1.9 KiB
Plaintext
80 lines
1.9 KiB
Plaintext
|
|
{
|
|
type: 'onesignal_create_alias_by_subscription_onesignal_create_alias_by_subscription',
|
|
module : 'onesignal_create_alias_by_subscription',
|
|
action : 'onesignal_create_alias_by_subscription',
|
|
groupTitle : 'Notification Modules',
|
|
groupIcon : 'fas fa-solid fa-satellite-dish comp-general',
|
|
title : 'Onesignal create alias by subscription',
|
|
icon : 'fas fa-solid fa-id-card comp-flows',
|
|
serverModel : ['node'],
|
|
dataPickObject: true,
|
|
dataScheme: [ {name: 'status',type: 'number'} ],
|
|
properties : [
|
|
{
|
|
group: 'Onesignal Settings',
|
|
variables: [
|
|
{ name: 'actionName',
|
|
optionName: 'name',
|
|
title: 'Name',
|
|
type: 'text',
|
|
required: true,
|
|
defaultValue: '',
|
|
baseName: "osc1"
|
|
},
|
|
{ name: 'appid',
|
|
optionName: 'appid',
|
|
title: 'App ID',
|
|
type: 'text',
|
|
required: true,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'You App ID'
|
|
},
|
|
|
|
{ name: 'subscription_id',
|
|
optionName: 'subscription_id',
|
|
title: 'Subscription ID',
|
|
type: 'text',
|
|
required: true,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'Subscription ID'
|
|
},
|
|
{ name: 'alias_label',
|
|
optionName: 'alias_label',
|
|
title: 'Alias Label',
|
|
type: 'text',
|
|
required: true,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'Alias Label'
|
|
},
|
|
{ name: 'alias_id',
|
|
optionName: 'alias_id',
|
|
title: 'Alias ID',
|
|
type: 'text',
|
|
required: true,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'Alias ID'
|
|
},
|
|
|
|
{ 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/create-alias-by-subscription" style="color: #cc0000">Link to API reference for this module here (opens new browser windows)</a>',
|
|
}
|
|
]}]}
|