n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
32 lines (31 loc) • 1.52 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.roguesOperations = void 0;
exports.hasRoguesOperation = hasRoguesOperation;
const logger_1 = require("../../../helpers/logger");
const getRogueApList_methods_1 = require("./operations/getRogueApList.methods");
const getInterferingApList_methods_1 = require("./operations/getInterferingApList.methods");
const getSuspectApList_methods_1 = require("./operations/getSuspectApList.methods");
const getNeighborApList_methods_1 = require("./operations/getNeighborApList.methods");
const getManuallyContainedApList_methods_1 = require("./operations/getManuallyContainedApList.methods");
/**
* All operations available for the rogues resource
*/
exports.roguesOperations = {
getRogueApList: getRogueApList_methods_1.getRogueApList,
getInterferingApList: getInterferingApList_methods_1.getInterferingApList,
getSuspectApList: getSuspectApList_methods_1.getSuspectApList,
getNeighborApList: getNeighborApList_methods_1.getNeighborApList,
getManuallyContainedApList: getManuallyContainedApList_methods_1.getManuallyContainedApList,
};
/**
* Check if a rogues operation exists
*
* @param operation Operation name to check
* @returns boolean indicating if the operation exists
*/
function hasRoguesOperation(operation) {
const exists = !!exports.roguesOperations[operation];
logger_1.logger.debug('rapids:rogues:check', `Operation "${operation}" ${exists ? 'exists' : 'does not exist'}`);
return exists;
}