UNPKG

@tuanltntu/n8n-nodes-bitrix24

Version:

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

32 lines (31 loc) 1.15 kB
import { IExecuteFunctions, INodeExecutionData } from "n8n-workflow"; import { ResourceHandlerBase } from "./ResourceHandlerBase"; import { IResourceHandlerOptions } from "./ResourceHandlerFactory"; /** * Upload Resource Handler - Handles file upload operations * Based on Bitrix24 Files API: https://apidocs.bitrix24.com/api-reference/files/how-to-upload-files.html */ export declare class UploadResourceHandler extends ResourceHandlerBase { constructor(executeFunctions: IExecuteFunctions, returnData: INodeExecutionData[], options?: IResourceHandlerOptions); process(): Promise<INodeExecutionData[]>; /** * Upload file to a specific folder (disk.folder.uploadfile) */ private handleUploadToFolder; /** * Basic file upload (disk.file.upload) */ private handleUploadFile; /** * Upload new version of existing file (disk.file.uploadversion) */ private handleUploadVersion; /** * Upload file to storage (disk.storage.uploadfile) */ private handleUploadToStorage; /** * Upload file to CRM entity (crm.*.file.upload) */ private handleUploadToCrm; }