n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
108 lines (107 loc) • 3.03 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.commonRapidsParams = void 0;
/**
* Common RAPIDS parameters used across most endpoints
*/
exports.commonRapidsParams = [
{
displayName: 'Return All',
name: 'returnAll',
type: 'boolean',
displayOptions: {
show: {
domain: ['rapids'],
},
},
default: true,
description: 'Whether to return all results or only up to a given limit',
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
displayOptions: {
show: {
domain: ['rapids'],
returnAll: [false],
},
},
typeOptions: {
minValue: 1,
maxValue: 1000,
},
default: 100,
description: 'Maximum number of results to return',
},
{
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
displayOptions: {
show: {
domain: ['rapids'],
},
},
default: {},
options: [
{
displayName: 'Group Names',
name: 'group',
type: 'string',
default: '',
description: 'List of group names (comma-separated)',
},
{
displayName: 'Label Names',
name: 'label',
type: 'string',
default: '',
description: 'List of label names (comma-separated)',
},
{
displayName: 'Site Names',
name: 'site',
type: 'string',
default: '',
description: 'List of site names (comma-separated)',
},
{
displayName: 'Swarm ID',
name: 'swarm_id',
type: 'string',
default: '',
description: 'Filter by Swarm ID',
},
],
},
{
displayName: 'Time Range',
name: 'timeRange',
type: 'collection',
placeholder: 'Add Time Range',
displayOptions: {
show: {
domain: ['rapids'],
},
},
default: {},
options: [
{
displayName: 'From Timestamp',
name: 'from_timestamp',
type: 'dateTime',
default: '',
description: 'Need information from this timestamp. Default is current UTC timestamp minus 3 hours',
},
{
displayName: 'To Timestamp',
name: 'to_timestamp',
type: 'dateTime',
default: '',
description: 'Need information to this timestamp. Default is current UTC timestamp',
},
],
},
];