n8n-nodes-instantly-dev
Version:
n8n community node for Instantly API v2
28 lines • 875 B
TypeScript
import { IExecuteFunctions } from 'n8n-workflow';
import { ResourceType, OperationType } from '../types/common';
/**
* Main operation router that delegates to specific resource handlers
*/
export declare class OperationRouter {
/**
* Route operation to appropriate handler based on resource and operation type
*/
static execute(context: IExecuteFunctions, itemIndex: number, resource: ResourceType, operation: OperationType): Promise<any>;
/**
* Handle account operations
*/
private static handleAccountOperation;
/**
* Handle campaign operations
*/
private static handleCampaignOperation;
/**
* Handle lead operations
*/
private static handleLeadOperation;
/**
* Handle analytics operations
*/
private static handleAnalyticsOperation;
}
//# sourceMappingURL=OperationRouter.d.ts.map