88 lines
2.0 KiB
Plaintext
88 lines
2.0 KiB
Plaintext
{
|
|
type: 'onesignal_view_segments_onesignal_view_segments',
|
|
module : 'onesignal_view_segments',
|
|
action : 'onesignal_view_segments',
|
|
groupTitle : 'Notification Modules',
|
|
groupIcon: 'Onesignal View Segments',
|
|
title : 'Onesignal View Segments',
|
|
icon : 'far fa-solid fa-chart-pie comp-settings',
|
|
serverModel : ['node'],
|
|
dataPickObject: true,
|
|
dataScheme: [
|
|
{type: "number",name: "total_count"},
|
|
{type: "number",name: "offset"},
|
|
{type: "number",name: "limit"},
|
|
{type: "array",name: "segments","sub": [
|
|
{type: "text",name: "id" },
|
|
{type: "text",name: "name" },
|
|
{type: "text",name: "created_at" },
|
|
{type: "text",name: "updated_at" },
|
|
{type: "text",name: "app_id" },
|
|
{typ": "boolean",name: "read_only" },
|
|
{type: "boolean",name: "is_active" }
|
|
]
|
|
},
|
|
{name: 'status', type: 'number'}
|
|
],
|
|
usedModules : {}
|
|
properties : [
|
|
{
|
|
group: 'Settings',
|
|
variables: [
|
|
|
|
{ name: 'actionName',
|
|
optionName: 'name',
|
|
title: 'Name',
|
|
type: 'text',
|
|
required: true,
|
|
defaultValue: '',
|
|
baseName: "vt1"
|
|
},
|
|
{
|
|
name: 'appid',
|
|
optionName: 'appid',
|
|
title: 'Application ID',
|
|
type: 'text',
|
|
required: false,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'You App ID'
|
|
},
|
|
{
|
|
name: 'limit',
|
|
optionName: 'limit',
|
|
title: 'Limit (max 300)',
|
|
type: 'text',
|
|
required: false,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'Limit max and default 50'
|
|
},
|
|
{
|
|
name: 'offset',
|
|
optionName: 'offset',
|
|
title: 'Offset',
|
|
type: 'text',
|
|
required: false,
|
|
serverDataBindings: true,
|
|
defaultValue: '',
|
|
help: 'Offset'
|
|
},
|
|
|
|
{ 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/view-segments" style="color: #cc0000">Link to API reference for this module here (opens new browser windows)</a>'
|
|
}
|
|
]}]} |