UNPKG

n8n-nodes-arubacentralnextgen

Version:

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

146 lines (145 loc) 5.39 kB
"use strict"; // descriptions/configuration/namedObject.descriptions.ts // UI field definitions for Named Object Configuration operations Object.defineProperty(exports, "__esModule", { value: true }); exports.namedObjectFields = exports.namedObjectOperations = void 0; exports.namedObjectOperations = { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { domain: ['configuration'], resource: ['namedObject'], }, }, options: [ { name: 'Get All Aliases', value: 'getAllAliases', action: 'Get all network address aliases' }, { name: 'Get Alias', value: 'getAlias', action: 'Get a network address alias' }, { name: 'Create Alias', value: 'createAlias', action: 'Create a network address alias' }, { name: 'Update Alias', value: 'updateAlias', action: 'Update a network address alias' }, { name: 'Delete Alias', value: 'deleteAlias', action: 'Delete a network address alias' }, { name: 'Get All Net Services', value: 'getAllNetServices', action: 'Get all network service definitions' }, { name: 'Get Net Service', value: 'getNetService', action: 'Get a network service definition' }, { name: 'Create Net Service', value: 'createNetService', action: 'Create a network service definition' }, { name: 'Update Net Service', value: 'updateNetService', action: 'Update a network service definition' }, { name: 'Delete Net Service', value: 'deleteNetService', action: 'Delete a network service definition' }, ], default: 'getAllAliases', }; exports.namedObjectFields = [ // Name field (for Get/Create/Update/Delete operations) { displayName: 'Name', name: 'name', type: 'string', required: true, default: '', description: 'Name of the alias or net service', displayOptions: { show: { domain: ['configuration'], resource: ['namedObject'], operation: ['getAlias', 'createAlias', 'updateAlias', 'deleteAlias', 'getNetService', 'createNetService', 'updateNetService', 'deleteNetService'], }, }, }, // Body field (for Create/Update operations) { displayName: 'Configuration', name: 'body', type: 'json', required: true, default: '{}', description: 'Configuration as JSON', displayOptions: { show: { domain: ['configuration'], resource: ['namedObject'], operation: ['createAlias', 'updateAlias', 'createNetService', 'updateNetService'], }, }, }, // Additional Fields { displayName: 'Additional Fields', name: 'additionalFields', type: 'collection', default: {}, placeholder: 'Add Field', displayOptions: { show: { domain: ['configuration'], resource: ['namedObject'], }, }, options: [ { displayName: 'Limit', name: 'limit', type: 'number', default: 100, description: 'Maximum number of items to return (max 100)', }, { displayName: 'Offset', name: 'offset', type: 'number', default: 0, description: 'Number of items to skip', }, { displayName: 'View Type', name: 'viewType', type: 'options', default: 'LIBRARY', description: 'Type of view to return', options: [ { name: 'Library', value: 'LIBRARY' }, { name: 'Local', value: 'LOCAL' }, ], }, { displayName: 'Object Type', name: 'objectType', type: 'options', default: 'BOTH', description: 'Type of objects to return', options: [ { name: 'Local', value: 'LOCAL' }, { name: 'Shared', value: 'SHARED' }, { name: 'Both', value: 'BOTH' }, ], }, { displayName: 'Scope ID', name: 'scopeId', type: 'string', default: '', description: 'Scope ID for LOCAL objects (required when objectType is LOCAL)', }, { displayName: 'Persona', name: 'persona', type: 'string', default: '', description: 'Persona type for filtering', }, { displayName: 'Detailed', name: 'detailed', type: 'boolean', default: false, description: 'Include annotations in the response', }, { displayName: 'Effective', name: 'effective', type: 'boolean', default: false, description: 'Return effective/hierarchically merged configuration', }, ], }, ];