80 lines
1.8 KiB
Plaintext
80 lines
1.8 KiB
Plaintext
{
|
|
type: 'onesignal_create_segment_onesignal_create_segment',
|
|
module : 'onesignal_create_segment',
|
|
action : 'onesignal_create_segment',
|
|
groupTitle : 'Notification Modules',
|
|
groupIcon : 'fas fa-solid fa-satellite-dish comp_general',
|
|
title : 'Onesignal Create Segment (BROKEN)',
|
|
icon : 'fas fa-solid fa-pizza-slice comp-settings',
|
|
serverModel : ['node'],
|
|
dataPickObject: true,
|
|
dataScheme: [
|
|
{name: 'status',type: 'number'}
|
|
],
|
|
|
|
properties : [
|
|
{
|
|
group: 'App Settings',
|
|
variables: [
|
|
{ name: 'actionName',
|
|
optionName: 'name',
|
|
title: 'Name',
|
|
type: 'text',
|
|
required: true,
|
|
defaultValue: '',
|
|
baseName: "csg1"
|
|
},
|
|
{ name: 'appid',
|
|
optionName: 'appid',
|
|
title: 'App Id',
|
|
type: 'text',
|
|
required: false,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'App ID'
|
|
},
|
|
{ name: 'segname',
|
|
optionName: 'segname',
|
|
title: 'Segment Name',
|
|
type: 'text',
|
|
required: true,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'Segment Name'
|
|
},
|
|
{ name: 'seguuid',
|
|
optionName: 'seguuid',
|
|
title: 'Optional UUID',
|
|
type: 'text',
|
|
required: false,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'Optional UUID'
|
|
},
|
|
{ name: 'filter',
|
|
optionName: 'filter',
|
|
title: 'Filters',
|
|
type: 'text',
|
|
required: false,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'Filters'
|
|
},
|
|
|
|
{ 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-subscription" style="color: #cc0000">Link to API reference for this module here (opens new browser windows)</a>',
|
|
}
|
|
]}]} |