UNPKG

@gotohuman/n8n-nodes-gotohuman

Version:

n8n node to request human reviews in AI workflows with gotoHuman

37 lines (36 loc) 1.43 kB
import { INodeType, INodeTypeDescription, ILoadOptionsFunctions, INodeListSearchResult, ResourceMapperFields, IWebhookFunctions, IWebhookResponseData, IExecuteFunctions } from 'n8n-workflow'; export declare class GotoHuman implements INodeType { description: INodeTypeDescription; methods: { listSearch: { searchAgents(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>; searchReviewTemplates(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>; }; resourceMapping: { getMappingFields(this: ILoadOptionsFunctions): Promise<ResourceMapperFields>; }; }; execute(this: IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][] | ({ json: any; pairedItem: { item: number; }; error?: undefined; } | { json: { error: string; }; error: any; pairedItem: { item: number; }; })[][]>; 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>; }