@skriptfabrik/n8n-nodes-moco
Version:
MOCO community nodes for n8n
16 lines (15 loc) • 647 B
TypeScript
import { type IDataObject, type IHookFunctions, type INodeType, type INodeTypeDescription, type IWebhookFunctions, type IWebhookResponseData } from 'n8n-workflow';
export interface StaticData extends IDataObject {
hookId?: string;
}
export declare class MocoTrigger 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>;
}