UNPKG

@voiceflow/chat-types

Version:

Voiceflow chat project types

18 lines 745 B
import type { Intent } from '../models.js'; import type { BaseNode, Nullable } from '@voiceflow/base-types'; import type { NodeNoMatch, NodeNoReply, StepNoMatch, StepNoReply } from './utils.js'; export interface IntentCapture extends BaseNode.CaptureV2.IntentCapture { intent: Intent; } export interface StepData extends BaseNode.CaptureV2.StepData { capture: IntentCapture | BaseNode.CaptureV2.QueryCapture; noReply?: Nullable<StepNoReply>; noMatch?: Nullable<StepNoMatch>; } export interface Step<Data = StepData> extends BaseNode.CaptureV2.Step<Data> { } export interface Node extends BaseNode.CaptureV2.Node { noReply?: Nullable<NodeNoReply>; noMatch?: Nullable<NodeNoMatch>; } //# sourceMappingURL=captureV2.d.ts.map