UNPKG

@onereach/step-voice

Version:
30 lines (29 loc) 808 B
import VoiceStep, { CallStartEvent, TODO } from './voice'; interface INPUT { callId?: string; sessionTimeout?: number | string; otherCallRef?: string; otherCallRefThread?: string; asr: TODO; tts: TODO; from: string; endUserNumber: string; sipHost?: string; sipUser?: string; sipPassword?: string; timeout?: number | string; headers?: Array<{ name: string; value: string; }>; enableSpoofCallerId?: boolean; spoofCallerId?: string; isAMD?: boolean; } export default class InitiateCall extends VoiceStep<INPUT, TODO, CallStartEvent> { get conversation(): string | import("@onereach/flow-sdk/dst/types").IMergeField; runStep(): Promise<void>; onAwake(): Promise<void>; waitForCall(): Promise<void>; } export {};