@vonage/voice
Version:
The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.
26 lines (23 loc) • 705 B
TypeScript
import { CallStatus } from '../enums/CallStatus.js';
/**
* Represents the result of a call, including the UUID, status, direction (inbound or outbound), and conversation UUID.
*/
type CallResult = {
/**
* The universally unique identifier (UUID) associated with the call.
*/
uuid: string;
/**
* The status of the call, indicating its current state or outcome.
*/
status: CallStatus;
/**
* The direction of the call, specifying whether it is inbound or outbound.
*/
direction: 'inbound' | 'outbound';
/**
* The UUID associated with the conversation related to the call.
*/
conversationUUID: string;
};
export type { CallResult };