UNPKG

@voiceflow/voice-types

Version:

Voiceflow voice project types

17 lines 817 B
import type { BaseNode, Nullable } from '@voiceflow/base-types'; import type { DeprecatedNodeNoMatch, NodeNoMatch, NodeNoReply, NodeReprompt, StepNoMatch, StepNoReply, StepReprompt } from './utils.js'; export interface StepData<Voice> extends BaseNode.Interaction.StepData, StepReprompt<Voice> { noReply?: Nullable<StepNoReply<Voice>>; noMatch?: Nullable<StepNoMatch<Voice>>; /** * @deprecated use noMatch instead */ else?: StepNoMatch<Voice>; } export interface Step<Data = StepData<unknown>> extends BaseNode.Interaction.Step<Data> { } export interface Node<Event = BaseNode.Utils.BaseEvent> extends BaseNode.Interaction.Node<Event>, DeprecatedNodeNoMatch, NodeReprompt { noMatch?: Nullable<NodeNoMatch>; noReply?: Nullable<NodeNoReply>; } //# sourceMappingURL=interaction.d.ts.map