n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
45 lines (44 loc) • 1.82 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.troubleshootingDescriptions = exports.troubleshootingOperations = void 0;
const actioncommand_methods_1 = require("./actioncommand/actioncommand.methods");
const troubleshooting_methods_1 = require("./troubleshooting/troubleshooting.methods");
// Export operations
exports.troubleshootingOperations = {
actioncommand: actioncommand_methods_1.actioncommandOperations,
troubleshooting: troubleshooting_methods_1.troubleshootingOperations,
};
// Resource selector for Troubleshooting domain
const resourceSelector = {
displayName: 'Resource',
name: 'resource',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
domain: ['troubleshooting'],
},
},
options: [
{
name: 'Action Command',
value: 'actioncommand',
description: 'Execute action commands for troubleshooting',
},
{
name: 'Troubleshooting',
value: 'troubleshooting',
description: 'General troubleshooting operations',
},
],
default: 'troubleshooting',
};
// Import all resource description files
const actioncommand_descriptions_1 = require("./actioncommand/actioncommand.descriptions");
const troubleshooting_descriptions_1 = require("./troubleshooting/troubleshooting.descriptions");
// Export descriptions with resource selector
exports.troubleshootingDescriptions = [
resourceSelector,
...(Array.isArray(actioncommand_descriptions_1.actioncommandDescriptions) ? actioncommand_descriptions_1.actioncommandDescriptions : []),
...(Array.isArray(troubleshooting_descriptions_1.troubleshootingDescriptions) ? troubleshooting_descriptions_1.troubleshootingDescriptions : []),
];