UNPKG

@onereach/step-voice

Version:
31 lines (30 loc) 781 B
import VoiceStep, { SensitiveData, TODO, VoiceEvent } from './voice'; interface INPUT { textType: string; asr: TODO; tts: TODO; audio: TODO[]; prompts: TODO[]; usePromptsForUnrecognized?: boolean; sensitiveData: SensitiveData; noReplyDelay: number; interTimeout: number; endUserInputValidationOther: TODO; keypadBargeIn: boolean; endInput: TODO; terminationKey: string; expectedNumberOfDigits: number; regExToValidate: string; mfVersion: string; recognitionModel?: string; } interface EVENT extends VoiceEvent { exitId?: string; digits?: string; phrases?: TODO[]; tags?: string[]; } export default class KeypadInput extends VoiceStep<INPUT, {}, EVENT> { runStep(): Promise<void>; } export {};