-
Notifications
You must be signed in to change notification settings - Fork 180
/
CallDetail.ts
39 lines (33 loc) · 917 Bytes
/
CallDetail.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { BasicCallDetail } from './BasicCallDetail';
import { CommonCallFields } from './CommonCallFields';
import { CallDirection } from '../enums';
/**
* Represents detailed information about a call, including common call fields, call direction, rate, price, start time,
* end time, and network information.
*/
export type CallDetail = CommonCallFields & BasicCallDetail & {
/**
* The direction of the call, indicating whether it is inbound or outbound.
*/
direction: CallDirection;
/**
* The rate associated with the call in a string format.
*/
rate: string;
/**
* The price of the call in a string format.
*/
price: string;
/**
* The start time of the call in a string format.
*/
startTime: string;
/**
* The end time of the call in a string format.
*/
endTime: string;
/**
* The network information related to the call.
*/
network: string;
};