@integromat/proto
Version:
Integromat Proto-Classes
17 lines • 584 B
TypeScript
import { IMTBase, ModuleType } from './base';
import { Bundle, DoneWithInfoCallback } from './types';
/**
* Base class for all Human-in-the-loop modules.
*/
export declare class IMTHITL extends IMTBase {
readonly type = ModuleType.HITL;
/**
* Executes the HITL flow.
*
* @param {Object} bundle Collection of data to process.
* @callback done Callback to call when operations are done.
* @param {Error} err Error on error, otherwise null.
*/
execute(bundle: Bundle, done: DoneWithInfoCallback): void;
}
//# sourceMappingURL=hitl.d.ts.map