@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
23 lines • 855 B
TypeScript
import { RealtimeEventDirection } from './RealtimeEventDirection';
import { RealtimeEventType } from './RealtimeEventType';
import { RealtimeEventProtocol } from './RealtimeEventProtocol';
/** Events triggered by the line */
export interface Event {
/** Called referer, could be the msisdn or the label name */
calledIdentifier: string;
/** Calling referer, could be the msisdn or the label name */
callingIdentifier: string;
/** Datetime call establishment */
dateTime: string;
/** Incoming or outgoing call */
direction: RealtimeEventDirection;
/** Duration of the call */
duration: number;
/** Type of event */
eventType: RealtimeEventType;
/** Uniq identifier of the call */
id: string;
/** Protocol (mgcp or sip) */
protocol: RealtimeEventProtocol;
}
//# sourceMappingURL=Event.d.ts.map