UNPKG

n8n-nodes-arubacentralnextgen

Version:

n8n community node for Aruba Central NextGen API integration with modern monitoring and management capabilities

119 lines (118 loc) 3.63 kB
"use strict"; // descriptions/monitoring/sites.descriptions.ts Object.defineProperty(exports, "__esModule", { value: true }); exports.siteFields = exports.siteOperations = void 0; exports.siteOperations = { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { domain: ['monitoring'], resource: ['sites'], }, }, default: 'getAllSites', options: [ { name: 'Get All Sites Health', value: 'getAllSites', description: 'Get a list of all sites with health overview including devices, clients, and critical alerts', action: 'Get all sites health', }, // Add other site operations here ], }; // Fields for site operations exports.siteFields = [ // Return all option { displayName: 'Return All', name: 'returnAll', type: 'boolean', default: false, description: 'Whether to return all results or only up to a given limit', displayOptions: { show: { domain: ['monitoring'], resource: ['sites'], operation: ['getAllSites'], }, }, }, { displayName: 'Limit', name: 'limit', type: 'number', default: 20, description: 'Max number of results to return', typeOptions: { minValue: 1, maxValue: 100, }, displayOptions: { show: { domain: ['monitoring'], resource: ['sites'], operation: ['getAllSites'], returnAll: [false], }, }, }, { displayName: 'Additional Fields', name: 'additionalFields', type: 'collection', placeholder: 'Add Field', default: {}, displayOptions: { show: { domain: ['monitoring'], resource: ['sites'], operation: ['getAllSites'], }, }, options: [ { displayName: 'Filters', name: 'filters', type: 'fixedCollection', default: {}, description: 'Filters to apply to the request', typeOptions: { multipleValues: false, }, options: [ { name: 'values', displayName: 'Values', values: [ { displayName: 'Field', name: 'field', type: 'string', default: '', description: 'Field name to filter by', }, { displayName: 'Value', name: 'value', type: 'string', default: '', description: 'Value to filter by', }, ], }, ], }, { displayName: 'Sort Options', name: 'sortOptions', type: 'string', default: '', description: 'Sort options for the results (e.g., "name", "+name", "-name")', }, ], }, ];