UNPKG

@voiceflow/base-types

Version:

Voiceflow base project types

19 lines 934 B
import type { BaseStepPorts } from '../models/index.js'; import type { AIModelParams } from '../utils/ai.js'; import type { NodeType } from './constants.js'; import type { BaseNode, BaseNoReplyNodeData, BaseNoReplyStepData, BaseStep, BuiltInFailPort, BuiltInNextPort, BuiltInNoReplyPort, NodeElseID, NodeIntentScope, NodeNextID, StepIntentScope } from './utils/index.js'; export interface Data extends AIModelParams { rules: string[]; entities: string[]; exitPath: boolean; exitScenerios: string[]; } export interface StepData extends Data, BaseNoReplyStepData, StepIntentScope { } export interface Step extends BaseStep<StepData, BaseStepPorts<BuiltInNextPort & BuiltInFailPort & BuiltInNoReplyPort>> { type: NodeType.AI_CAPTURE; } export interface Node extends BaseNode, Data, NodeNextID, NodeElseID, NodeIntentScope, BaseNoReplyNodeData { type: NodeType.AI_CAPTURE; } //# sourceMappingURL=aiCapture.d.ts.map