n8n-nodes-close-crm
Version:
N8N community node for Close CRM integration with comprehensive lead, opportunity, task, note, call management, and enhanced triggers for workflow automation
13 lines (12 loc) • 1.02 kB
TypeScript
import { IDataObject, IExecuteFunctions, IHookFunctions, IHttpRequestMethods, ILoadOptionsFunctions, IPollFunctions } from 'n8n-workflow';
export declare function closeApiRequest(this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IPollFunctions, method: IHttpRequestMethods, resource: string, body?: any, qs?: IDataObject, option?: IDataObject): Promise<any>;
export declare function closeApiRequestAllItems(this: IExecuteFunctions | ILoadOptionsFunctions | IPollFunctions, propertyName: string, method: IHttpRequestMethods, endpoint: string, body?: any, query?: IDataObject): Promise<any>;
/**
* Convert plain text with newlines to proper HTML format required by Close CRM
* Close CRM expects rich text fields to have proper HTML structure with <p> tags
*/
/**
* Convert plain text with newlines to proper HTML format required by Close CRM
* Close CRM expects rich text fields to have proper HTML structure with <p> tags
*/
export declare function convertPlainTextToHTML(text: string): string;