DockerERTFF/extensions/server_connect/modules/p2_onesignal_getapp.hjson

90 lines
2.7 KiB
Plaintext

{
type: 'onesignal_getapp_onesignal_getapp',
module : 'onesignal_getapp',
action : 'onesignal_getapp',
groupTitle : 'Notification Modules',
groupIcon : 'fas fa-solid fa-satellite-dish comp_general',
title : 'Onesignal Get App Details',
icon : 'fas fa-solid fa-info comp-images',
serverModel : ['node'],
dataPickObject: true,
dataScheme: [
{"type": "text","name": "id"},
{"type": "text","name": "name"},
{"type": "text","name": "gcm_key"},
{"type": "text","name": "fcm_v1_service_account_json"},
{"type": "text","name": "fcm_sender_id"},
{"type": "text","name": "chrome_key"},
{"type": "text","name": "chrome_web_key"},
{"type": "text","name": "chrome_web_origin"},
{"type": "text","name": "chrome_web_gcm_sender_id"},
{"type": "text","name": "chrome_web_default_notification_icon"},
{"type": "text","name": "chrome_web_sub_domain"},
{"type": "text","name": "apns_env"},
{"type": "text","name": "apns_certificates"},
{"type": "text","name": "apns_p8"},
{"type": "text","name": "apns_team_id"},
{"type": "text","name": "apns_key_id"},
{"type": "text","name": "apns_bundle_id"},
{"type": "text","name": "safari_apns_certificate"},
{"type": "text","name": "safari_site_origin"},
{"type": "text","name": "safari_push_id"},
{"type": "text","name": "safari_icon_16_16"},
{"type": "text","name": "safari_icon_32_32"},
{"type": "text","name": "safari_icon_64_64"},
{"type": "text","name": "safari_icon_128_128"},
{"type": "text","name": "safari_icon_256_256"},
{"type": "text","name": "site_name"},
{"type": "text","name": "updated_at"},
{"type": "text","name": "created_at"},
{"type": "text","name": "players"},
{"type": "text","name": "messageable_players"},
{"type": "text","name": "basic_auth_key"},
{"type": "boolean","name": "additional_data_is_root_payload"},
{"type": "text","name": "organization_id"},
{"name": "status","type": "number"}
],
usedModules : {
node: {
}}
properties : [
{
group: 'App Settings',
variables: [
{ name: 'actionName',
optionName: 'name',
title: 'Name',
type: 'text',
required: true,
defaultValue: '',
baseName: "osg1"
},
{ name: 'appid',
optionName: 'appid',
title: 'App Id',
type: 'text',
required: true,
serverDataBindings: true,
defaultValue: '',
},
{
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-an-app" style="color: #cc0000">Link to API reference for this module here (opens new browser windows)</a>',
},
{ name: 'output',
optionName: 'output',
title: 'Output',
type: 'boolean',
defaultValue: false
}
]}]}