n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
115 lines (114 loc) • 3.09 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getVersionsDescription = void 0;
/**
* Parameters for the getVersions operation
*/
exports.getVersionsDescription = [
{
displayName: 'Return All',
name: 'returnAll',
type: 'boolean',
default: false,
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
operation: ['getVersions'],
resource: ['version'],
domain: ['firmware'],
},
},
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
default: 50,
description: 'Max number of results to return',
typeOptions: {
minValue: 1,
},
displayOptions: {
show: {
operation: ['getVersions'],
resource: ['version'],
domain: ['firmware'],
returnAll: [false],
},
},
},
{
displayName: 'Device Type',
name: 'deviceType',
type: 'options',
required: true,
default: 'IAP',
description: 'Type of device to get firmware versions for',
options: [
{
name: 'Access Points (IAP)',
value: 'IAP',
},
{
name: 'MAS Switches',
value: 'MAS',
},
{
name: 'Aruba Switches',
value: 'HP',
},
{
name: 'CX Switches',
value: 'CX',
},
{
name: 'Controllers',
value: 'CONTROLLER',
},
],
displayOptions: {
show: {
operation: ['getVersions'],
resource: ['version'],
domain: ['firmware'],
},
},
},
{
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
default: {},
displayOptions: {
show: {
operation: ['getVersions'],
resource: ['version'],
domain: ['firmware'],
},
},
options: [
{
displayName: 'Swarm ID',
name: 'swarm_id',
type: 'string',
default: '',
description: 'Get firmware versions for a specific swarm',
},
{
displayName: 'Serial Number',
name: 'serial',
type: 'string',
default: '',
description: 'Get firmware versions for a specific device',
},
{
displayName: 'Group',
name: 'group',
type: 'string',
default: '',
description: 'Filter by group name',
},
],
},
];