UNPKG

n8n-nodes-chatwoot

Version:

This is an n8n community node. It lets you use ChatWoot in your n8n workflows.

10 lines (9 loc) 638 B
import { OptionsWithUri } from 'request'; import { IDataObject, IExecuteFunctions, IHttpRequestMethods } from 'n8n-workflow'; import type { CWModels } from './models'; import { Response } from 'express'; export declare function apiRequest(this: IExecuteFunctions, method: IHttpRequestMethods, endpoint: string, body?: any, qs?: IDataObject, headers?: IDataObject): Promise<any>; export declare function authorizationError(resp: Response, realm: string, responseCode: number, message?: string): { noWebhookResponse: boolean; }; export declare function requestAccountOptions(credentials: CWModels.Credentials): OptionsWithUri;