UNPKG

n8n

Version:

n8n Workflow Automation Tool

13 lines (12 loc) 1.96 kB
import { IExecuteWorkflowInfo, INodeExecutionData, INodeParameters, IWorkflowExecuteAdditionalData, IWorkflowExecuteHooks, IWorkflowHooksOptionalParameters, WorkflowExecuteMode, WorkflowHooks } from 'n8n-workflow'; import { IWorkflowBase, IWorkflowExecuteProcess, IWorkflowExecutionDataProcess } from '.'; export declare function hookFunctionsPreExecute(parentProcessMode?: string): IWorkflowExecuteHooks; export declare function getRunData(workflowData: IWorkflowBase, inputData?: INodeExecutionData[]): Promise<IWorkflowExecutionDataProcess>; export declare function getWorkflowData(workflowInfo: IExecuteWorkflowInfo): Promise<IWorkflowBase>; export declare function executeWorkflow(workflowInfo: IExecuteWorkflowInfo, additionalData: IWorkflowExecuteAdditionalData, inputData?: INodeExecutionData[], parentExecutionId?: string, loadedWorkflowData?: IWorkflowBase, loadedRunData?: IWorkflowExecutionDataProcess): Promise<Array<INodeExecutionData[] | null> | IWorkflowExecuteProcess>; export declare function sendMessageToUI(source: string, messages: any[]): void; export declare function getBase(currentNodeParameters?: INodeParameters, executionTimeoutTimestamp?: number): Promise<IWorkflowExecuteAdditionalData>; export declare function getWorkflowHooksIntegrated(mode: WorkflowExecuteMode, executionId: string, workflowData: IWorkflowBase, optionalParameters?: IWorkflowHooksOptionalParameters): WorkflowHooks; export declare function getWorkflowHooksWorkerExecuter(mode: WorkflowExecuteMode, executionId: string, workflowData: IWorkflowBase, optionalParameters?: IWorkflowHooksOptionalParameters): WorkflowHooks; export declare function getWorkflowHooksWorkerMain(mode: WorkflowExecuteMode, executionId: string, workflowData: IWorkflowBase, optionalParameters?: IWorkflowHooksOptionalParameters): WorkflowHooks; export declare function getWorkflowHooksMain(data: IWorkflowExecutionDataProcess, executionId: string, isMainProcess?: boolean): WorkflowHooks;