DockerERTFF/extensions/server_connect/modules/p3_onesignal_getapps.hjson

85 lines
2.6 KiB
Plaintext

{
type: 'onesignal_getapps_onesignal_getapps',
module : 'onesignal_getapps',
action : 'onesignal_getapps',
groupTitle : 'Notification Modules',
groupIcon : 'fas fa-solid fa-satellite-dish comp_general',
title : 'Onesignal Get All Apps',
icon : 'fas fa-solid fa-list-ol 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: 'Get all Apps',
variables: [
{ name: 'actionName',
optionName: 'name',
title: 'Name',
type: 'text',
required: true,
defaultValue: '',
baseName: "osga1"
},
{
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-apps-apps" 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
}
]}]}