DockerERTFF/extensions/server_connect/modules/n3_onesignal_getnotificatio...

537 lines
11 KiB
Plaintext

{
type: 'onesignal_getnotification_onesignal_getnotification',
module : 'onesignal_getnotification',
action : 'onesignal_getnotification',
groupTitle : 'Notification Modules',
groupIcon : 'fas fa-solid fa-satellite-dish comp_general',
title : 'Onesignal Get Notification by ID',
icon : 'far fa-solid fa-bell comp_general',
serverModel : ['node'],
dataPickObject: true,
dataScheme: [
{
"type": "text",
"name": "adm_big_picture"
},
{
"type": "text",
"name": "adm_group"
},
{
"type": "text",
"name": "adm_group_message"
},
{
"type": "text",
"name": "adm_large_icon"
},
{
"type": "text",
"name": "adm_small_icon"
},
{
"type": "text",
"name": "adm_sound"
},
{
"type": "text",
"name": "spoken_text"
},
{
"type": "text",
"name": "alexa_ssml"
},
{
"type": "text",
"name": "alexa_display_title"
},
{
"type": "text",
"name": "amazon_background_data"
},
{
"type": "text",
"name": "android_accent_color"
},
{
"type": "text",
"name": "android_group"
},
{
"type": "text",
"name": "android_group_message"
},
{
"type": "text",
"name": "android_led_color"
},
{
"type": "text",
"name": "android_sound"
},
{
"type": "text",
"name": "android_visibility"
},
{
"type": "text",
"name": "app_id"
},
{
"type": "text",
"name": "big_picture"
},
{
"type": "text",
"name": "buttons"
},
{
"type": "boolean",
"name": "canceled"
},
{
"type": "text",
"name": "chrome_big_picture"
},
{
"type": "text",
"name": "chrome_icon"
},
{
"type": "text",
"name": "chrome_web_icon"
},
{
"type": "text",
"name": "chrome_web_image"
},
{
"type": "text",
"name": "chrome_web_badge"
},
{
"type": "text",
"name": "content_available"
},
{
"type": "object",
"name": "contents",
"sub": [
{
"type": "text",
"name": "en"
}
]
},
{
"type": "number",
"name": "converted"
},
{
"type": "object",
"name": "data"
},
{
"type": "text",
"name": "delayed_option"
},
{
"type": "text",
"name": "delivery_time_of_day"
},
{
"type": "number",
"name": "errored"
},
{
"type": "array",
"name": "excluded_segments"
},
{
"type": "number",
"name": "failed"
},
{
"type": "text",
"name": "firefox_icon"
},
{
"type": "text",
"name": "global_image"
},
{
"type": "object",
"name": "headings",
"sub": [
{
"type": "text",
"name": "en"
}
]
},
{
"type": "text",
"name": "id"
},
{
"type": "text",
"name": "include_player_ids"
},
{
"type": "text",
"name": "include_external_user_ids"
},
{
"type": "text",
"name": "include_aliases"
},
{
"type": "array",
"name": "included_segments",
"sub": [
{
"type": "text",
"name": "$value"
}
]
},
{
"type": "text",
"name": "thread_id"
},
{
"type": "text",
"name": "ios_badgeCount"
},
{
"type": "text",
"name": "ios_badgeType"
},
{
"type": "text",
"name": "ios_category"
},
{
"type": "text",
"name": "ios_interruption_level"
},
{
"type": "text",
"name": "ios_relevance_score"
},
{
"type": "text",
"name": "ios_sound"
},
{
"type": "object",
"name": "apns_alert"
},
{
"type": "text",
"name": "target_content_identifier"
},
{
"type": "boolean",
"name": "isAdm"
},
{
"type": "boolean",
"name": "isAndroid"
},
{
"type": "boolean",
"name": "isChrome"
},
{
"type": "boolean",
"name": "isChromeWeb"
},
{
"type": "text",
"name": "isAlexa"
},
{
"type": "boolean",
"name": "isFirefox"
},
{
"type": "boolean",
"name": "isIos"
},
{
"type": "boolean",
"name": "isSafari"
},
{
"type": "boolean",
"name": "isWP"
},
{
"type": "boolean",
"name": "isWP_WNS"
},
{
"type": "boolean",
"name": "isEdge"
},
{
"type": "boolean",
"name": "isHuawei"
},
{
"type": "boolean",
"name": "isSMS"
},
{
"type": "text",
"name": "large_icon"
},
{
"type": "number",
"name": "priority"
},
{
"type": "number",
"name": "queued_at"
},
{
"type": "number",
"name": "remaining"
},
{
"type": "number",
"name": "send_after"
},
{
"type": "text",
"name": "completed_at"
},
{
"type": "text",
"name": "small_icon"
},
{
"type": "number",
"name": "successful"
},
{
"type": "text",
"name": "received"
},
{
"type": "text",
"name": "tags"
},
{
"type": "text",
"name": "filters"
},
{
"type": "text",
"name": "template_id"
},
{
"type": "number",
"name": "ttl"
},
{
"type": "text",
"name": "url"
},
{
"type": "text",
"name": "web_url"
},
{
"type": "text",
"name": "app_url"
},
{
"type": "text",
"name": "web_buttons"
},
{
"type": "text",
"name": "web_push_topic"
},
{
"type": "text",
"name": "wp_sound"
},
{
"type": "text",
"name": "wp_wns_sound"
},
{
"type": "object",
"name": "platform_delivery_stats"
},
{
"type": "text",
"name": "ios_attachments"
},
{
"type": "text",
"name": "huawei_sound"
},
{
"type": "text",
"name": "huawei_led_color"
},
{
"type": "text",
"name": "huawei_accent_color"
},
{
"type": "text",
"name": "huawei_visibility"
},
{
"type": "text",
"name": "huawei_group"
},
{
"type": "text",
"name": "huawei_group_message"
},
{
"type": "text",
"name": "huawei_channel_id"
},
{
"type": "text",
"name": "huawei_existing_channel_id"
},
{
"type": "text",
"name": "huawei_small_icon"
},
{
"type": "text",
"name": "huawei_large_icon"
},
{
"type": "text",
"name": "huawei_big_picture"
},
{
"type": "text",
"name": "huawei_msg_type"
},
{
"type": "text",
"name": "throttle_rate_per_minute"
},
{
"type": "text",
"name": "fcap_group_ids"
},
{
"type": "text",
"name": "fcap_status"
},
{
"type": "text",
"name": "sms_from"
},
{
"type": "text",
"name": "sms_media_urls"
},
{
"type": "text",
"name": "subtitle"
},
{
"type": "text",
"name": "name"
},
{
"type": "text",
"name": "email_click_tracking_disabled"
},
{
"type": "boolean",
"name": "isEmail"
},
{
"type": "text",
"name": "email_subject"
},
{
"type": "text",
"name": "email_from_name"
},
{
"type": "text",
"name": "email_from_address"
},
{
"type": "text",
"name": "email_preheader"
},
{
"type": "text",
"name": "email_reply_to_address"
},
{
"type": "boolean",
"name": "include_unsubscribed"
},
{
"type": "text",
"name": "huawei_category"
},
{
"type": "text",
"name": "huawei_bi_tag"
},
{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: 'output',
optionName: 'output',
title: 'Output',
type: 'boolean',
defaultValue: false
}
]}]}