n8n-nodes-base
Version:
Base nodes of n8n
22 lines • 827 B
TypeScript
import { type IHookFunctions, type INodeType, type INodeTypeDescription, type IWebhookFunctions, type IWebhookResponseData } from 'n8n-workflow';
export declare const filterStatuses: (events: Array<{
statuses?: Array<{
status: string;
}>;
}>, allowedStatuses: string[] | undefined) => {
statuses?: Array<{
status: string;
}>;
}[];
export declare class WhatsAppTrigger implements INodeType {
description: INodeTypeDescription;
webhookMethods: {
default: {
checkExists(this: IHookFunctions): Promise<boolean>;
create(this: IHookFunctions): Promise<boolean>;
delete(this: IHookFunctions): Promise<boolean>;
};
};
webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
}
//# sourceMappingURL=WhatsAppTrigger.node.d.ts.map