UNPKG

@tuanltntu/n8n-nodes-bitrix24

Version:

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

88 lines (87 loc) 2.26 kB
import { IExecuteFunctions, INodeExecutionData } from "n8n-workflow"; import { ResourceHandlerBase } from "./ResourceHandlerBase"; import { IResourceHandlerOptions } from "./ResourceHandlerFactory"; /** * Handles Entity operations in Bitrix24 * Based on: https://apidocs.bitrix24.com/api-reference/entity/index.html */ export declare class EntityResourceHandler extends ResourceHandlerBase { private readonly resourceEndpoints; constructor(executeFunctions: IExecuteFunctions, returnData: INodeExecutionData[], options?: IResourceHandlerOptions); /** * Process Entity operations */ process(): Promise<INodeExecutionData[]>; /** * Handle get entity operation */ private handleGet; /** * Handle add entity operation */ private handleAdd; /** * Handle update entity operation */ private handleUpdate; /** * Handle delete entity operation */ private handleDelete; /** * Handle get entity item operation */ private handleGetItem; /** * Handle add entity item operation */ private handleAddItem; /** * Handle update entity item operation */ private handleUpdateItem; /** * Handle delete entity item operation */ private handleDeleteItem; /** * Get all items with pagination */ private getAllItems; /** * Handle get entity rights operation */ private handleGetRights; /** * Handle get entity sections operation */ private handleGetSections; /** * Handle add entity section operation */ private handleAddSection; /** * Handle update entity section operation */ private handleUpdateSection; /** * Handle delete entity section operation */ private handleDeleteSection; /** * Handle get entity item properties operation */ private handleGetItemProperties; /** * Handle add entity item property operation */ private handleAddItemProperty; /** * Handle update entity item property operation */ private handleUpdateItemProperty; /** * Handle delete entity item property operation */ private handleDeleteItemProperty; }