n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
20 lines (19 loc) • 755 B
TypeScript
import { IExecuteFunctions, IDataObject } from 'n8n-workflow';
/**
* Find site ID from site name
* Based on the pycentral.ArubaCentralBase.find_site_id implementation
*
* @param this The n8n execution context
* @param siteName Name of the site to find
* @returns Site ID if found, null otherwise
*/
export declare function findSiteId(this: IExecuteFunctions, siteName: string): Promise<number | null>;
/**
* Filter sites by name from a list of sites
* Used for client-side filtering when API doesn't support server-side filtering
*
* @param sites Array of site objects
* @param siteName Name to filter by
* @returns Filtered array of sites
*/
export declare function filterSitesByName(sites: IDataObject[], siteName: string): IDataObject[];