UNPKG

@tuanltntu/n8n-nodes-bitrix24

Version:

Comprehensive n8n community node for Bitrix24 API integration with CRM, Tasks, Chat, Telephony, and more

43 lines (42 loc) 1.22 kB
import { IExecuteFunctions, INodeExecutionData } from "n8n-workflow"; import { ResourceHandlerBase } from "./ResourceHandlerBase"; import { IResourceHandlerOptions } from "./ResourceHandlerFactory"; /** * Handle Bitrix24 Automation rule operations */ export declare class AutomationResourceHandler extends ResourceHandlerBase { private readonly resourceEndpoints; constructor(executeFunctions: IExecuteFunctions, returnData: INodeExecutionData[], options?: IResourceHandlerOptions); /** * Process automation operations */ process(): Promise<INodeExecutionData[]>; /** * Get endpoint for the specified operation */ private getEndpoint; /** * Format properties from UI format to API format */ private formatProperties; /** * Handle creating an automation rule */ private handleCreateRule; /** * Handle updating an automation rule */ private handleUpdateRule; /** * Handle deleting an automation rule */ private handleDeleteRule; /** * Handle getting an automation rule */ private handleGetRule; /** * Handle getting all automation rules */ private handleGetAllRules; }