n8n
Version:
n8n Workflow Automation Tool
9 lines (8 loc) • 1.21 kB
TypeScript
import type { PushType } from '@n8n/api-types';
import type { IDataObject, IExecuteWorkflowInfo, INodeExecutionData, INodeParameters, IWorkflowBase, IWorkflowExecuteAdditionalData, IWorkflowSettings, ExecutionStatus, ExecuteWorkflowOptions, IWorkflowExecutionDataProcess, ExecuteWorkflowData, RelatedExecution } from 'n8n-workflow';
export declare function getRunData(workflowData: IWorkflowBase, inputData?: INodeExecutionData[], parentExecution?: RelatedExecution): Promise<IWorkflowExecutionDataProcess>;
export declare function getWorkflowData(workflowInfo: IExecuteWorkflowInfo, parentWorkflowId: string, parentWorkflowSettings?: IWorkflowSettings): Promise<IWorkflowBase>;
export declare function executeWorkflow(workflowInfo: IExecuteWorkflowInfo, additionalData: IWorkflowExecuteAdditionalData, options: ExecuteWorkflowOptions): Promise<ExecuteWorkflowData>;
export declare function setExecutionStatus(status: ExecutionStatus): void;
export declare function sendDataToUI(type: PushType, data: IDataObject | IDataObject[]): void;
export declare function getBase(userId?: string, currentNodeParameters?: INodeParameters, executionTimeoutTimestamp?: number): Promise<IWorkflowExecuteAdditionalData>;