@gotohuman/n8n-nodes-gotohuman
Version:
n8n node to request human reviews in AI workflows with gotoHuman
20 lines (19 loc) • 1.02 kB
TypeScript
import { IWebhookFunctions, ILoadOptionsFunctions, INodeListSearchResult, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow';
export declare class GotoHumanTrigger implements INodeType {
description: INodeTypeDescription;
methods: {
listSearch: {
searchReviewTemplates(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
searchTriggerForms(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
searchAgents(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
};
};
webhookMethods: {
default: {
checkExists(this: import("n8n-workflow").IHookFunctions): Promise<boolean>;
create(this: import("n8n-workflow").IHookFunctions): Promise<boolean>;
delete(this: import("n8n-workflow").IHookFunctions): Promise<boolean>;
};
};
webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
}