26 lines
459 B
TypeScript
26 lines
459 B
TypeScript
export interface CallEventDto {
|
|
callSid: string;
|
|
direction: 'inbound' | 'outbound';
|
|
fromNumber: string;
|
|
toNumber: string;
|
|
status: string;
|
|
}
|
|
|
|
export interface DtmfEventDto {
|
|
callSid: string;
|
|
digit: string;
|
|
}
|
|
|
|
export interface TranscriptEventDto {
|
|
callSid: string;
|
|
transcript: string;
|
|
isFinal: boolean;
|
|
}
|
|
|
|
export interface AiSuggestionDto {
|
|
callSid: string;
|
|
suggestion: string;
|
|
type: 'response' | 'action' | 'insight';
|
|
data?: any;
|
|
}
|