n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
74 lines (73 loc) • 3.83 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.insightDetailsDescriptions = exports.insightDetailsOperationSelector = void 0;
const deduplicate_1 = require("../../../helpers/deduplicate");
const getInsightDetailsNetwork_descriptions_1 = require("./operations/getInsightDetailsNetwork.descriptions");
const getInsightDetailsSite_descriptions_1 = require("./operations/getInsightDetailsSite.descriptions");
const getInsightDetailsAp_descriptions_1 = require("./operations/getInsightDetailsAp.descriptions");
const getInsightDetailsClient_descriptions_1 = require("./operations/getInsightDetailsClient.descriptions");
const getInsightDetailsGateway_descriptions_1 = require("./operations/getInsightDetailsGateway.descriptions");
const getInsightDetailsSwitch_descriptions_1 = require("./operations/getInsightDetailsSwitch.descriptions");
/**
* Operation selector for the insightDetails resource
*/
exports.insightDetailsOperationSelector = {
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['insightDetails'],
domain: ['aiops'],
},
},
options: [
{
name: 'AI Insight Details for a Network',
value: 'getInsightDetailsNetwork',
description: 'Get details of single insight for a network',
action: 'Get AI insight details for a network',
},
{
name: 'AI Insight Details for a Site',
value: 'getInsightDetailsSite',
description: 'Get details of single insight for a site',
action: 'Get AI insight details for a site',
},
{
name: 'AI Insight Details for an AP',
value: 'getInsightDetailsAp',
description: 'Get details of single insight for an access point',
action: 'Get AI insight details for an AP',
},
{
name: 'AI Insight Details for a Client',
value: 'getInsightDetailsClient',
description: 'Get details of single insight for a client',
action: 'Get AI insight details for a client',
},
{
name: 'AI Insight Details for a Gateway',
value: 'getInsightDetailsGateway',
description: 'Get details of single insight for a gateway',
action: 'Get AI insight details for a gateway',
},
{
name: 'AI Insight Details for a Switch',
value: 'getInsightDetailsSwitch',
description: 'Get details of single insight for a switch',
action: 'Get AI insight details for a switch',
},
],
default: 'getInsightDetailsNetwork',
};
// Combined descriptions for all operations in this resource
exports.insightDetailsDescriptions = [exports.insightDetailsOperationSelector];
// Add each operation's descriptions
(0, deduplicate_1.addDescriptions)(exports.insightDetailsDescriptions, getInsightDetailsNetwork_descriptions_1.getInsightDetailsNetworkDescription);
(0, deduplicate_1.addDescriptions)(exports.insightDetailsDescriptions, getInsightDetailsSite_descriptions_1.getInsightDetailsSiteDescription);
(0, deduplicate_1.addDescriptions)(exports.insightDetailsDescriptions, getInsightDetailsAp_descriptions_1.getInsightDetailsApDescription);
(0, deduplicate_1.addDescriptions)(exports.insightDetailsDescriptions, getInsightDetailsClient_descriptions_1.getInsightDetailsClientDescription);
(0, deduplicate_1.addDescriptions)(exports.insightDetailsDescriptions, getInsightDetailsGateway_descriptions_1.getInsightDetailsGatewayDescription);
(0, deduplicate_1.addDescriptions)(exports.insightDetailsDescriptions, getInsightDetailsSwitch_descriptions_1.getInsightDetailsSwitchDescription);