@voiceflow/voiceflow-types
Version:
Voiceflow 'voiceflow' project types
14 lines • 719 B
TypeScript
import type { BaseNode, BaseRequest } from '@voiceflow/base-types';
import type { VoiceflowPrompt } from '../utils';
import type { ChatStep, ChatStepData } from './chat';
import type { VoiceStep, VoiceStepData } from './voice';
export * from './chat';
export * from './voice';
export type Step = ChatStep | VoiceStep;
export type StepPorts = BaseNode.Interaction.StepPorts;
export type StepData = ChatStepData | VoiceStepData;
export interface Node<Event = BaseNode.Utils.BaseEvent> extends BaseNode.Interaction.Node<Event>, BaseRequest.NodeButton {
noMatch?: BaseNode.Utils.NodeNoMatch<VoiceflowPrompt> | null;
noReply?: BaseNode.Utils.NodeNoReply<VoiceflowPrompt> | null;
}
//# sourceMappingURL=index.d.ts.map