n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
24 lines (23 loc) • 886 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.actioncommandOperations = void 0;
exports.hasActioncommandOperation = hasActioncommandOperation;
const logger_1 = require("../../../helpers/logger");
const postSwitch_methods_1 = require("./operations/postSwitch.methods");
/**
* All operations available for the actioncommand resource
*/
exports.actioncommandOperations = {
postSwitch: postSwitch_methods_1.postSwitch,
};
/**
* Check if a actioncommand operation exists
*
* @param operation Operation name to check
* @returns boolean indicating if the operation exists
*/
function hasActioncommandOperation(operation) {
const exists = !!exports.actioncommandOperations[operation];
logger_1.logger.debug('troubleshooting:actioncommand:check', `Operation "${operation}" ${exists ? 'exists' : 'does not exist'}`);
return exists;
}