n8n-nodes-chat-data
Version:
Chatdata integration for n8n. Manage chatbots, send messages, and retrieve leads from your Chatdata account.
19 lines (18 loc) • 833 B
TypeScript
import { INodeType, INodeTypeDescription, IWebhookFunctions, IWebhookResponseData, IHookFunctions, ILoadOptionsFunctions, INodePropertyOptions, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
export declare class ChatDataTrigger implements INodeType {
description: INodeTypeDescription;
methods: {
loadOptions: {
getChatbots(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
};
};
webhookMethods: {
default: {
checkExists(this: IHookFunctions): Promise<boolean>;
create(this: IHookFunctions): Promise<boolean>;
delete(this: IHookFunctions): Promise<boolean>;
};
};
webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
}