UNPKG

n8n-nodes-arubacentral

Version:

n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities

72 lines (71 loc) 2.29 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getInfrastructureAttacksDescription = void 0; const rapids_commonParams_1 = require("../../shared/rapids.commonParams"); /** * UI parameters for the getInfrastructureAttacks operation */ exports.getInfrastructureAttacksDescription = [ ...rapids_commonParams_1.commonRapidsParams.map((param) => { var _a; return ({ ...param, displayOptions: { ...param.displayOptions, show: { ...(_a = param.displayOptions) === null || _a === void 0 ? void 0 : _a.show, resource: ['wids'], operation: ['getInfrastructureAttacks'], }, }, }); }), { displayName: 'Additional Fields', name: 'additionalFields', type: 'collection', placeholder: 'Add Field', displayOptions: { show: { domain: ['rapids'], resource: ['wids'], operation: ['getInfrastructureAttacks'], }, }, default: {}, options: [ { displayName: 'Calculate Total', name: 'calculate_total', type: 'boolean', default: false, description: 'Whether to calculate total infrastructure attacks', }, { displayName: 'Sort', name: 'sort', type: 'options', options: [ { name: 'Timestamp (Ascending)', value: '+ts', }, { name: 'Timestamp (Descending)', value: '-ts', }, { name: 'MAC Address (Ascending)', value: '+macaddr', }, { name: 'MAC Address (Descending)', value: '-macaddr', }, ], default: '-ts', description: 'Sort order for results', }, ], }, ];