UNPKG

aivideocall

Version:

Using this package, you can integrate the callyourai video-call component into your react application.

26 lines (24 loc) 734 B
import { CallSession } from './AIVideoCall'; import { v4 as uuidv4 } from 'uuid'; type UUID = ReturnType<typeof uuidv4>; export declare class Event { type: string; timestamp: number; call_session: CallSession; uuid: UUID; confidence?: number; language?: string; transcript?: string; constructor(type: string, call_session: CallSession, uuid: UUID); constructor(type: string, call_session: CallSession, uuid: UUID, confidence: number, language: string, transcript: string); toJSON(): { type: string; call_session: CallSession; uuid: string; timestamp: number; confidence: number; language: string; transcript: string; }; } export {};