UNPKG

@tuanltntu/n8n-nodes-bitrix24

Version:

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

63 lines (62 loc) 1.82 kB
import { IExecuteFunctions, INodeExecutionData } from "n8n-workflow"; import { ResourceHandlerBase } from "./ResourceHandlerBase"; import { IResourceHandlerOptions } from "./ResourceHandlerFactory"; /** * Handles Entity operations in Bitrix24 */ export declare class EntityResourceHandler extends ResourceHandlerBase { private readonly resourceEndpoints; constructor(executeFunctions: IExecuteFunctions, returnData: INodeExecutionData[], options?: IResourceHandlerOptions); /** * Process Entity operations */ process(): Promise<INodeExecutionData[]>; /** * Handle 'get' operation - Get entities (list all entities) */ private handleGet; /** * Handle 'add' operation - Add a new entity */ private handleAdd; /** * Handle 'update' operation - Update an entity */ private handleUpdate; /** * Handle 'delete' operation - Delete an entity */ private handleDelete; /** * Handle 'addSection' operation - Add an entity section */ private handleAddSection; /** * Handle 'updateSection' operation - Update an entity section */ private handleUpdateSection; /** * Handle 'deleteSection' operation - Delete an entity section */ private handleDeleteSection; /** * Handle 'getSections' operation - Get entity sections */ private handleGetSections; /** * Handle 'addItem' operation - Add an entity item */ private handleAddItem; /** * Handle 'getItem' operation - Get an entity item */ private handleGetItem; /** * Handle 'updateItem' operation - Update an entity item */ private handleUpdateItem; /** * Handle 'deleteItem' operation - Delete an entity item */ private handleDeleteItem; }