@cometchat/calls-sdk-react-native 4.0.6-beta1 → 4.0.7-t2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/src/main/java/com/CometChatCalls/CallNotificationService.java +93 -0
- package/android/src/main/java/com/CometChatCalls/CallNotificationServiceModule.java +48 -0
- package/android/src/main/java/com/CometChatCalls/CometChatCallsPackage.java +13 -3
- package/android/src/main/java/com/CometChatCalls/PictureInPictureModule.java +138 -0
- package/android/src/main/res/drawable-mdpi/callingcomponent_icons_headphones_pluged.png +0 -0
- package/dist/CometChatErrorConstants.d.ts +124 -124
- package/dist/Constants.d.ts +724 -721
- package/dist/Helper copy.d.ts +1 -1
- package/dist/Helper.d.ts +7 -7
- package/dist/api/APIHandler.d.ts +42 -42
- package/dist/api/endpoints.d.ts +7 -7
- package/dist/api/helper.d.ts +69 -69
- package/dist/api/index.d.ts +2 -2
- package/dist/constants/CallConstants.d.ts +136 -136
- package/dist/constants/index.d.ts +1 -1
- package/dist/defaultCallsettings.d.ts +2 -2
- package/dist/index.d.ts +9 -9
- package/dist/index.js +81 -81
- package/dist/models/CallAppSettings.d.ts +42 -42
- package/dist/models/CallGroup.d.ts +14 -14
- package/dist/models/CallLog.d.ts +276 -276
- package/dist/models/CallLogFilterParams.d.ts +97 -97
- package/dist/models/CallSettings.d.ts +316 -316
- package/dist/models/CallUser.d.ts +14 -14
- package/dist/models/CometChatCallLogs.d.ts +193 -193
- package/dist/models/CometChatCalls.d.ts +110 -110
- package/dist/models/CometChatCallsComponent.d.ts +13 -13
- package/dist/models/CometChatCallsComponentCore.d.ts +18 -18
- package/dist/models/CometChatCallsException.d.ts +7 -7
- package/dist/models/CometChatPresenterComponent.d.ts +13 -13
- package/dist/models/ErrorModel.d.ts +11 -11
- package/dist/models/Listner.d.ts +64 -64
- package/dist/models/ListnerHandler.d.ts +10 -10
- package/dist/models/MessageComponent.d.ts +7 -7
- package/dist/models/Participant.d.ts +184 -184
- package/dist/models/PresenterSettings.d.ts +194 -194
- package/dist/models/RTCUser.d.ts +18 -18
- package/dist/models/Recording.d.ts +86 -86
- package/dist/models/index.d.ts +9 -9
- package/dist/types/ICallAppSettings.d.ts +6 -6
- package/dist/types/ICallSettings.d.ts +60 -60
- package/dist/types/RTCUser.d.ts +6 -6
- package/dist/types/callEvents.d.ts +53 -53
- package/dist/types/common.d.ts +18 -17
- package/dist/types/index.d.ts +2 -2
- package/ios/AudioMode.m +15 -0
- package/package.json +2 -2
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { Host, Region } from '../types/common';
|
|
2
|
-
export declare class CallAppSettings {
|
|
3
|
-
private appId;
|
|
4
|
-
private region;
|
|
5
|
-
private host?;
|
|
6
|
-
constructor(builder?: CallAppSettingsBuilder);
|
|
7
|
-
setAppId(appId: string): this;
|
|
8
|
-
setRegion(region: Region): this;
|
|
9
|
-
setHost(host: Host): this;
|
|
10
|
-
getAppId(): string;
|
|
11
|
-
getRegion(): Region;
|
|
12
|
-
getHost(): Host;
|
|
13
|
-
}
|
|
14
|
-
export declare class CallAppSettingsBuilder {
|
|
15
|
-
appId: string;
|
|
16
|
-
region: Region;
|
|
17
|
-
host?: Host;
|
|
18
|
-
/**
|
|
19
|
-
* Method to set appId of the app.
|
|
20
|
-
* @param {string} appId appId of the app
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
setAppId(appId: string): this;
|
|
24
|
-
/**
|
|
25
|
-
* Method to set region of the app.
|
|
26
|
-
* @param {Region} region region of the app.
|
|
27
|
-
* @returns {void}
|
|
28
|
-
*/
|
|
29
|
-
setRegion(region: Region): this;
|
|
30
|
-
/**
|
|
31
|
-
* Method to set host/domain of the app.
|
|
32
|
-
* @param {string} host host/domain of the app.
|
|
33
|
-
* @returns {void}
|
|
34
|
-
*/
|
|
35
|
-
setHost(host: Host): this;
|
|
36
|
-
/**
|
|
37
|
-
* This method will return an object of the CallsAppSettings class.
|
|
38
|
-
* @returns {CallAppSettings} Returns the CallsAppSettings instance
|
|
39
|
-
*/
|
|
40
|
-
build(): CallAppSettings;
|
|
41
|
-
}
|
|
42
|
-
export declare function validateCallAppSettings(appSettings: CallAppSettings): Promise<true>;
|
|
1
|
+
import { Host, Region } from '../types/common';
|
|
2
|
+
export declare class CallAppSettings {
|
|
3
|
+
private appId;
|
|
4
|
+
private region;
|
|
5
|
+
private host?;
|
|
6
|
+
constructor(builder?: CallAppSettingsBuilder);
|
|
7
|
+
setAppId(appId: string): this;
|
|
8
|
+
setRegion(region: Region): this;
|
|
9
|
+
setHost(host: Host): this;
|
|
10
|
+
getAppId(): string;
|
|
11
|
+
getRegion(): Region;
|
|
12
|
+
getHost(): Host;
|
|
13
|
+
}
|
|
14
|
+
export declare class CallAppSettingsBuilder {
|
|
15
|
+
appId: string;
|
|
16
|
+
region: Region;
|
|
17
|
+
host?: Host;
|
|
18
|
+
/**
|
|
19
|
+
* Method to set appId of the app.
|
|
20
|
+
* @param {string} appId appId of the app
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
setAppId(appId: string): this;
|
|
24
|
+
/**
|
|
25
|
+
* Method to set region of the app.
|
|
26
|
+
* @param {Region} region region of the app.
|
|
27
|
+
* @returns {void}
|
|
28
|
+
*/
|
|
29
|
+
setRegion(region: Region): this;
|
|
30
|
+
/**
|
|
31
|
+
* Method to set host/domain of the app.
|
|
32
|
+
* @param {string} host host/domain of the app.
|
|
33
|
+
* @returns {void}
|
|
34
|
+
*/
|
|
35
|
+
setHost(host: Host): this;
|
|
36
|
+
/**
|
|
37
|
+
* This method will return an object of the CallsAppSettings class.
|
|
38
|
+
* @returns {CallAppSettings} Returns the CallsAppSettings instance
|
|
39
|
+
*/
|
|
40
|
+
build(): CallAppSettings;
|
|
41
|
+
}
|
|
42
|
+
export declare function validateCallAppSettings(appSettings: CallAppSettings): Promise<true>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare class CallGroup {
|
|
2
|
-
protected guid: string;
|
|
3
|
-
protected name: string;
|
|
4
|
-
protected icon: string;
|
|
5
|
-
constructor(object: any);
|
|
6
|
-
getGuid(): string;
|
|
7
|
-
setGuid(guid: string): void;
|
|
8
|
-
getName(): string;
|
|
9
|
-
setName(name: string): void;
|
|
10
|
-
getIcon(): string;
|
|
11
|
-
setIcon(icon: string): void;
|
|
12
|
-
toString(): string;
|
|
13
|
-
static getGroupFromJson(object: any): CallGroup;
|
|
14
|
-
}
|
|
1
|
+
export declare class CallGroup {
|
|
2
|
+
protected guid: string;
|
|
3
|
+
protected name: string;
|
|
4
|
+
protected icon: string;
|
|
5
|
+
constructor(object: any);
|
|
6
|
+
getGuid(): string;
|
|
7
|
+
setGuid(guid: string): void;
|
|
8
|
+
getName(): string;
|
|
9
|
+
setName(name: string): void;
|
|
10
|
+
getIcon(): string;
|
|
11
|
+
setIcon(icon: string): void;
|
|
12
|
+
toString(): string;
|
|
13
|
+
static getGroupFromJson(object: any): CallGroup;
|
|
14
|
+
}
|
package/dist/models/CallLog.d.ts
CHANGED
|
@@ -1,276 +1,276 @@
|
|
|
1
|
-
import { CallGroup } from "./CallGroup";
|
|
2
|
-
import { CallUser } from "./CallUser";
|
|
3
|
-
import { Participant } from "./Participant";
|
|
4
|
-
import { Recording } from "./Recording";
|
|
5
|
-
/**
|
|
6
|
-
* Represents a call log.
|
|
7
|
-
*/
|
|
8
|
-
export declare class CallLog {
|
|
9
|
-
/**
|
|
10
|
-
* The session ID of the call log.
|
|
11
|
-
*/
|
|
12
|
-
private sessionId;
|
|
13
|
-
/**
|
|
14
|
-
* The total audio minutes of the call log.
|
|
15
|
-
*/
|
|
16
|
-
private totalAudioMinutes;
|
|
17
|
-
/**
|
|
18
|
-
* The total video minutes of the call log.
|
|
19
|
-
*/
|
|
20
|
-
private totalVideoMinutes;
|
|
21
|
-
/**
|
|
22
|
-
* The total duration of the call log.
|
|
23
|
-
*/
|
|
24
|
-
private totalDuration;
|
|
25
|
-
/**
|
|
26
|
-
* Whether the call log has a recording.
|
|
27
|
-
*/
|
|
28
|
-
private hasRecording;
|
|
29
|
-
/**
|
|
30
|
-
* The time the call was initiated at.
|
|
31
|
-
*/
|
|
32
|
-
private initiatedAt;
|
|
33
|
-
/**
|
|
34
|
-
* The call category of the call log.
|
|
35
|
-
*/
|
|
36
|
-
private callCategory;
|
|
37
|
-
/**
|
|
38
|
-
* @type {CallUser}
|
|
39
|
-
* The initiator of the call log.
|
|
40
|
-
*/
|
|
41
|
-
private initiator;
|
|
42
|
-
/**
|
|
43
|
-
* @type {CallUser | CallGroup}
|
|
44
|
-
* The receiver of the call log.
|
|
45
|
-
*/
|
|
46
|
-
private receiver;
|
|
47
|
-
/**
|
|
48
|
-
* The receiver type of the call log.
|
|
49
|
-
*/
|
|
50
|
-
private receiverType;
|
|
51
|
-
/**
|
|
52
|
-
* The status of the call log.
|
|
53
|
-
*/
|
|
54
|
-
private status;
|
|
55
|
-
/**
|
|
56
|
-
* The total duration in minutes of the call log.
|
|
57
|
-
*/
|
|
58
|
-
private totalDurationInMinutes;
|
|
59
|
-
/**
|
|
60
|
-
* The total number of participants in the call log.
|
|
61
|
-
*/
|
|
62
|
-
private totalParticipants;
|
|
63
|
-
/**
|
|
64
|
-
* The type of the call log.
|
|
65
|
-
*/
|
|
66
|
-
private type;
|
|
67
|
-
/**
|
|
68
|
-
* The message ID of the call log.
|
|
69
|
-
*/
|
|
70
|
-
private mid;
|
|
71
|
-
/**
|
|
72
|
-
* The time the call ended at.
|
|
73
|
-
*/
|
|
74
|
-
private endedAt;
|
|
75
|
-
/**
|
|
76
|
-
* @type {Participant[]}
|
|
77
|
-
* The participants of the call log.
|
|
78
|
-
*/
|
|
79
|
-
private participants;
|
|
80
|
-
/**
|
|
81
|
-
* @type {Recording[]}
|
|
82
|
-
* The recordings of the call log.
|
|
83
|
-
*/
|
|
84
|
-
private recordings;
|
|
85
|
-
/**
|
|
86
|
-
* Creates a new instance of CallLog.
|
|
87
|
-
* @param data - The data to initialize the call log with.
|
|
88
|
-
*/
|
|
89
|
-
constructor(data: any);
|
|
90
|
-
/**
|
|
91
|
-
* Gets the session ID of the call log.
|
|
92
|
-
* @returns The session ID of the call log.
|
|
93
|
-
*/
|
|
94
|
-
getSessionID(): string;
|
|
95
|
-
/**
|
|
96
|
-
* Sets the session ID of the call log.
|
|
97
|
-
* @param value - The session ID to set.
|
|
98
|
-
*/
|
|
99
|
-
setSessionID(value: string): void;
|
|
100
|
-
/**
|
|
101
|
-
* Gets the total audio minutes of the call log.
|
|
102
|
-
* @returns The total audio minutes of the call log.
|
|
103
|
-
*/
|
|
104
|
-
getTotalAudioMinutes(): number;
|
|
105
|
-
/**
|
|
106
|
-
* Sets the total audio minutes of the call log.
|
|
107
|
-
* @param value - The total audio minutes to set.
|
|
108
|
-
*/
|
|
109
|
-
setTotalAudioMinutes(value: number): void;
|
|
110
|
-
/**
|
|
111
|
-
* Gets the total video minutes of the call log.
|
|
112
|
-
* @returns The total video minutes of the call log.
|
|
113
|
-
*/
|
|
114
|
-
getTotalVideoMinutes(): number;
|
|
115
|
-
/**
|
|
116
|
-
* Sets the total video minutes of the call log.
|
|
117
|
-
* @param value - The total video minutes to set.
|
|
118
|
-
*/
|
|
119
|
-
setTotalVideoMinutes(value: number): void;
|
|
120
|
-
/**
|
|
121
|
-
* Gets the total duration of the call log.
|
|
122
|
-
* @returns The total duration of the call log.
|
|
123
|
-
*/
|
|
124
|
-
getTotalDuration(): string;
|
|
125
|
-
/**
|
|
126
|
-
* Sets the total duration of the call log.
|
|
127
|
-
* @param value - The total duration to set.
|
|
128
|
-
*/
|
|
129
|
-
setTotalDuration(value: string): void;
|
|
130
|
-
/**
|
|
131
|
-
* Gets whether the call log has a recording.
|
|
132
|
-
* @returns Whether the call log has a recording.
|
|
133
|
-
*/
|
|
134
|
-
getHasRecording(): boolean;
|
|
135
|
-
/**
|
|
136
|
-
* Sets whether the call log has a recording.
|
|
137
|
-
* @param value - Whether the call log has a recording.
|
|
138
|
-
*/
|
|
139
|
-
setHasRecording(value: boolean): void;
|
|
140
|
-
/**
|
|
141
|
-
* Gets the time the call was initiated at.
|
|
142
|
-
* @returns The time the call was initiated at.
|
|
143
|
-
*/
|
|
144
|
-
getInitiatedAt(): number;
|
|
145
|
-
/**
|
|
146
|
-
* Sets the time the call was initiated at.
|
|
147
|
-
* @param value - The time the call was initiated at.
|
|
148
|
-
*/
|
|
149
|
-
setInitiatedAt(value: number): void;
|
|
150
|
-
/**
|
|
151
|
-
* Gets the call category of the call log.
|
|
152
|
-
* @returns The call category of the call log.
|
|
153
|
-
*/
|
|
154
|
-
getCallCategory(): string;
|
|
155
|
-
/**
|
|
156
|
-
* Sets the call category of the call log.
|
|
157
|
-
* @param value - The call category to set.
|
|
158
|
-
*/
|
|
159
|
-
setCallCategory(value: string): void;
|
|
160
|
-
/**
|
|
161
|
-
* Gets the initiator of the call log.
|
|
162
|
-
* @returns The initiator of the call log.
|
|
163
|
-
*/
|
|
164
|
-
getInitiator(): CallUser;
|
|
165
|
-
/**
|
|
166
|
-
* Sets the initiator of the call log.
|
|
167
|
-
* @param value - The initiator to set.
|
|
168
|
-
*/
|
|
169
|
-
setInitiator(value: CallUser): void;
|
|
170
|
-
/**
|
|
171
|
-
* Gets the receiver of the call log.
|
|
172
|
-
* @returns The receiver of the call log.
|
|
173
|
-
*/
|
|
174
|
-
getReceiver(): CallUser | CallGroup;
|
|
175
|
-
/**
|
|
176
|
-
* Sets the receiver of the call log.
|
|
177
|
-
* @param value - The receiver to set.
|
|
178
|
-
*/
|
|
179
|
-
setReceiver(value: CallUser | CallGroup): void;
|
|
180
|
-
/**
|
|
181
|
-
* Gets the receiver type of the call log.
|
|
182
|
-
* @returns The receiver type of the call log.
|
|
183
|
-
*/
|
|
184
|
-
getReceiverType(): string;
|
|
185
|
-
/**
|
|
186
|
-
* Sets the receiver type of the call log.
|
|
187
|
-
* @param value - The receiver type to set.
|
|
188
|
-
*/
|
|
189
|
-
setReceiverType(value: string): void;
|
|
190
|
-
/**
|
|
191
|
-
* Gets the status of the call log.
|
|
192
|
-
* @returns The status of the call log.
|
|
193
|
-
*/
|
|
194
|
-
getStatus(): string;
|
|
195
|
-
/**
|
|
196
|
-
* Sets the status of the call log.
|
|
197
|
-
* @param value - The status to set.
|
|
198
|
-
*/
|
|
199
|
-
setStatus(value: string): void;
|
|
200
|
-
/**
|
|
201
|
-
* Gets the total duration in minutes of the call log.
|
|
202
|
-
* @returns The total duration in minutes of the call log.
|
|
203
|
-
*/
|
|
204
|
-
getTotalDurationInMinutes(): number;
|
|
205
|
-
/**
|
|
206
|
-
* Sets the total duration in minutes of the call log.
|
|
207
|
-
* @param value - The total duration in minutes to set.
|
|
208
|
-
*/
|
|
209
|
-
setTotalDurationInMinutes(value: number): void;
|
|
210
|
-
/**
|
|
211
|
-
* Gets the total number of participants in the call log.
|
|
212
|
-
* @returns The total number of participants in the call log.
|
|
213
|
-
*/
|
|
214
|
-
getTotalParticipants(): number;
|
|
215
|
-
/**
|
|
216
|
-
* Sets the total number of participants in the call log.
|
|
217
|
-
* @param value - The total number of participants to set.
|
|
218
|
-
*/
|
|
219
|
-
setTotalParticipants(value: number): void;
|
|
220
|
-
/**
|
|
221
|
-
* Gets the type of the call log.
|
|
222
|
-
* @returns The type of the call log.
|
|
223
|
-
*/
|
|
224
|
-
getType(): string;
|
|
225
|
-
/**
|
|
226
|
-
* Sets the type of the call log.
|
|
227
|
-
* @param value - The type to set.
|
|
228
|
-
*/
|
|
229
|
-
setType(value: string): void;
|
|
230
|
-
/**
|
|
231
|
-
* Gets the message ID of the call log.
|
|
232
|
-
* @returns The message ID of the call log.
|
|
233
|
-
*/
|
|
234
|
-
getMid(): string;
|
|
235
|
-
/**
|
|
236
|
-
* Sets the message ID of the call log.
|
|
237
|
-
* @param value - The message ID to set.
|
|
238
|
-
*/
|
|
239
|
-
setMid(value: string): void;
|
|
240
|
-
/**
|
|
241
|
-
* Gets the time the call ended at.
|
|
242
|
-
* @returns The time the call ended at.
|
|
243
|
-
*/
|
|
244
|
-
getEndedAt(): number;
|
|
245
|
-
/**
|
|
246
|
-
* Sets the time the call ended at.
|
|
247
|
-
* @param value - The time the call ended at.
|
|
248
|
-
*/
|
|
249
|
-
setEndedAt(value: number): void;
|
|
250
|
-
/**
|
|
251
|
-
* Gets the participants of the call log.
|
|
252
|
-
* @returns The participants of the call log.
|
|
253
|
-
*/
|
|
254
|
-
getParticipants(): Participant[];
|
|
255
|
-
/**
|
|
256
|
-
* Sets the participants of the call log.
|
|
257
|
-
* @param value - The participants to set.
|
|
258
|
-
*/
|
|
259
|
-
setParticipants(value: Participant[]): void;
|
|
260
|
-
/**
|
|
261
|
-
* Gets the recordings of the call log.
|
|
262
|
-
* @returns The recordings of the call log.
|
|
263
|
-
*/
|
|
264
|
-
getRecordings(): Recording[];
|
|
265
|
-
/**
|
|
266
|
-
* Sets the recordings of the call log.
|
|
267
|
-
* @param value - The recordings to set.
|
|
268
|
-
*/
|
|
269
|
-
setRecordings(value: Recording[]): void;
|
|
270
|
-
/**
|
|
271
|
-
* Creates a new instance of CallLog from JSON data.
|
|
272
|
-
* @param data - The JSON data to create the call log from.
|
|
273
|
-
* @returns A new instance of CallLog created from the JSON data.
|
|
274
|
-
*/
|
|
275
|
-
static callLogFromJson(data: any): CallLog;
|
|
276
|
-
}
|
|
1
|
+
import { CallGroup } from "./CallGroup";
|
|
2
|
+
import { CallUser } from "./CallUser";
|
|
3
|
+
import { Participant } from "./Participant";
|
|
4
|
+
import { Recording } from "./Recording";
|
|
5
|
+
/**
|
|
6
|
+
* Represents a call log.
|
|
7
|
+
*/
|
|
8
|
+
export declare class CallLog {
|
|
9
|
+
/**
|
|
10
|
+
* The session ID of the call log.
|
|
11
|
+
*/
|
|
12
|
+
private sessionId;
|
|
13
|
+
/**
|
|
14
|
+
* The total audio minutes of the call log.
|
|
15
|
+
*/
|
|
16
|
+
private totalAudioMinutes;
|
|
17
|
+
/**
|
|
18
|
+
* The total video minutes of the call log.
|
|
19
|
+
*/
|
|
20
|
+
private totalVideoMinutes;
|
|
21
|
+
/**
|
|
22
|
+
* The total duration of the call log.
|
|
23
|
+
*/
|
|
24
|
+
private totalDuration;
|
|
25
|
+
/**
|
|
26
|
+
* Whether the call log has a recording.
|
|
27
|
+
*/
|
|
28
|
+
private hasRecording;
|
|
29
|
+
/**
|
|
30
|
+
* The time the call was initiated at.
|
|
31
|
+
*/
|
|
32
|
+
private initiatedAt;
|
|
33
|
+
/**
|
|
34
|
+
* The call category of the call log.
|
|
35
|
+
*/
|
|
36
|
+
private callCategory;
|
|
37
|
+
/**
|
|
38
|
+
* @type {CallUser}
|
|
39
|
+
* The initiator of the call log.
|
|
40
|
+
*/
|
|
41
|
+
private initiator;
|
|
42
|
+
/**
|
|
43
|
+
* @type {CallUser | CallGroup}
|
|
44
|
+
* The receiver of the call log.
|
|
45
|
+
*/
|
|
46
|
+
private receiver;
|
|
47
|
+
/**
|
|
48
|
+
* The receiver type of the call log.
|
|
49
|
+
*/
|
|
50
|
+
private receiverType;
|
|
51
|
+
/**
|
|
52
|
+
* The status of the call log.
|
|
53
|
+
*/
|
|
54
|
+
private status;
|
|
55
|
+
/**
|
|
56
|
+
* The total duration in minutes of the call log.
|
|
57
|
+
*/
|
|
58
|
+
private totalDurationInMinutes;
|
|
59
|
+
/**
|
|
60
|
+
* The total number of participants in the call log.
|
|
61
|
+
*/
|
|
62
|
+
private totalParticipants;
|
|
63
|
+
/**
|
|
64
|
+
* The type of the call log.
|
|
65
|
+
*/
|
|
66
|
+
private type;
|
|
67
|
+
/**
|
|
68
|
+
* The message ID of the call log.
|
|
69
|
+
*/
|
|
70
|
+
private mid;
|
|
71
|
+
/**
|
|
72
|
+
* The time the call ended at.
|
|
73
|
+
*/
|
|
74
|
+
private endedAt;
|
|
75
|
+
/**
|
|
76
|
+
* @type {Participant[]}
|
|
77
|
+
* The participants of the call log.
|
|
78
|
+
*/
|
|
79
|
+
private participants;
|
|
80
|
+
/**
|
|
81
|
+
* @type {Recording[]}
|
|
82
|
+
* The recordings of the call log.
|
|
83
|
+
*/
|
|
84
|
+
private recordings;
|
|
85
|
+
/**
|
|
86
|
+
* Creates a new instance of CallLog.
|
|
87
|
+
* @param data - The data to initialize the call log with.
|
|
88
|
+
*/
|
|
89
|
+
constructor(data: any);
|
|
90
|
+
/**
|
|
91
|
+
* Gets the session ID of the call log.
|
|
92
|
+
* @returns The session ID of the call log.
|
|
93
|
+
*/
|
|
94
|
+
getSessionID(): string;
|
|
95
|
+
/**
|
|
96
|
+
* Sets the session ID of the call log.
|
|
97
|
+
* @param value - The session ID to set.
|
|
98
|
+
*/
|
|
99
|
+
setSessionID(value: string): void;
|
|
100
|
+
/**
|
|
101
|
+
* Gets the total audio minutes of the call log.
|
|
102
|
+
* @returns The total audio minutes of the call log.
|
|
103
|
+
*/
|
|
104
|
+
getTotalAudioMinutes(): number;
|
|
105
|
+
/**
|
|
106
|
+
* Sets the total audio minutes of the call log.
|
|
107
|
+
* @param value - The total audio minutes to set.
|
|
108
|
+
*/
|
|
109
|
+
setTotalAudioMinutes(value: number): void;
|
|
110
|
+
/**
|
|
111
|
+
* Gets the total video minutes of the call log.
|
|
112
|
+
* @returns The total video minutes of the call log.
|
|
113
|
+
*/
|
|
114
|
+
getTotalVideoMinutes(): number;
|
|
115
|
+
/**
|
|
116
|
+
* Sets the total video minutes of the call log.
|
|
117
|
+
* @param value - The total video minutes to set.
|
|
118
|
+
*/
|
|
119
|
+
setTotalVideoMinutes(value: number): void;
|
|
120
|
+
/**
|
|
121
|
+
* Gets the total duration of the call log.
|
|
122
|
+
* @returns The total duration of the call log.
|
|
123
|
+
*/
|
|
124
|
+
getTotalDuration(): string;
|
|
125
|
+
/**
|
|
126
|
+
* Sets the total duration of the call log.
|
|
127
|
+
* @param value - The total duration to set.
|
|
128
|
+
*/
|
|
129
|
+
setTotalDuration(value: string): void;
|
|
130
|
+
/**
|
|
131
|
+
* Gets whether the call log has a recording.
|
|
132
|
+
* @returns Whether the call log has a recording.
|
|
133
|
+
*/
|
|
134
|
+
getHasRecording(): boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Sets whether the call log has a recording.
|
|
137
|
+
* @param value - Whether the call log has a recording.
|
|
138
|
+
*/
|
|
139
|
+
setHasRecording(value: boolean): void;
|
|
140
|
+
/**
|
|
141
|
+
* Gets the time the call was initiated at.
|
|
142
|
+
* @returns The time the call was initiated at.
|
|
143
|
+
*/
|
|
144
|
+
getInitiatedAt(): number;
|
|
145
|
+
/**
|
|
146
|
+
* Sets the time the call was initiated at.
|
|
147
|
+
* @param value - The time the call was initiated at.
|
|
148
|
+
*/
|
|
149
|
+
setInitiatedAt(value: number): void;
|
|
150
|
+
/**
|
|
151
|
+
* Gets the call category of the call log.
|
|
152
|
+
* @returns The call category of the call log.
|
|
153
|
+
*/
|
|
154
|
+
getCallCategory(): string;
|
|
155
|
+
/**
|
|
156
|
+
* Sets the call category of the call log.
|
|
157
|
+
* @param value - The call category to set.
|
|
158
|
+
*/
|
|
159
|
+
setCallCategory(value: string): void;
|
|
160
|
+
/**
|
|
161
|
+
* Gets the initiator of the call log.
|
|
162
|
+
* @returns The initiator of the call log.
|
|
163
|
+
*/
|
|
164
|
+
getInitiator(): CallUser;
|
|
165
|
+
/**
|
|
166
|
+
* Sets the initiator of the call log.
|
|
167
|
+
* @param value - The initiator to set.
|
|
168
|
+
*/
|
|
169
|
+
setInitiator(value: CallUser): void;
|
|
170
|
+
/**
|
|
171
|
+
* Gets the receiver of the call log.
|
|
172
|
+
* @returns The receiver of the call log.
|
|
173
|
+
*/
|
|
174
|
+
getReceiver(): CallUser | CallGroup;
|
|
175
|
+
/**
|
|
176
|
+
* Sets the receiver of the call log.
|
|
177
|
+
* @param value - The receiver to set.
|
|
178
|
+
*/
|
|
179
|
+
setReceiver(value: CallUser | CallGroup): void;
|
|
180
|
+
/**
|
|
181
|
+
* Gets the receiver type of the call log.
|
|
182
|
+
* @returns The receiver type of the call log.
|
|
183
|
+
*/
|
|
184
|
+
getReceiverType(): string;
|
|
185
|
+
/**
|
|
186
|
+
* Sets the receiver type of the call log.
|
|
187
|
+
* @param value - The receiver type to set.
|
|
188
|
+
*/
|
|
189
|
+
setReceiverType(value: string): void;
|
|
190
|
+
/**
|
|
191
|
+
* Gets the status of the call log.
|
|
192
|
+
* @returns The status of the call log.
|
|
193
|
+
*/
|
|
194
|
+
getStatus(): string;
|
|
195
|
+
/**
|
|
196
|
+
* Sets the status of the call log.
|
|
197
|
+
* @param value - The status to set.
|
|
198
|
+
*/
|
|
199
|
+
setStatus(value: string): void;
|
|
200
|
+
/**
|
|
201
|
+
* Gets the total duration in minutes of the call log.
|
|
202
|
+
* @returns The total duration in minutes of the call log.
|
|
203
|
+
*/
|
|
204
|
+
getTotalDurationInMinutes(): number;
|
|
205
|
+
/**
|
|
206
|
+
* Sets the total duration in minutes of the call log.
|
|
207
|
+
* @param value - The total duration in minutes to set.
|
|
208
|
+
*/
|
|
209
|
+
setTotalDurationInMinutes(value: number): void;
|
|
210
|
+
/**
|
|
211
|
+
* Gets the total number of participants in the call log.
|
|
212
|
+
* @returns The total number of participants in the call log.
|
|
213
|
+
*/
|
|
214
|
+
getTotalParticipants(): number;
|
|
215
|
+
/**
|
|
216
|
+
* Sets the total number of participants in the call log.
|
|
217
|
+
* @param value - The total number of participants to set.
|
|
218
|
+
*/
|
|
219
|
+
setTotalParticipants(value: number): void;
|
|
220
|
+
/**
|
|
221
|
+
* Gets the type of the call log.
|
|
222
|
+
* @returns The type of the call log.
|
|
223
|
+
*/
|
|
224
|
+
getType(): string;
|
|
225
|
+
/**
|
|
226
|
+
* Sets the type of the call log.
|
|
227
|
+
* @param value - The type to set.
|
|
228
|
+
*/
|
|
229
|
+
setType(value: string): void;
|
|
230
|
+
/**
|
|
231
|
+
* Gets the message ID of the call log.
|
|
232
|
+
* @returns The message ID of the call log.
|
|
233
|
+
*/
|
|
234
|
+
getMid(): string;
|
|
235
|
+
/**
|
|
236
|
+
* Sets the message ID of the call log.
|
|
237
|
+
* @param value - The message ID to set.
|
|
238
|
+
*/
|
|
239
|
+
setMid(value: string): void;
|
|
240
|
+
/**
|
|
241
|
+
* Gets the time the call ended at.
|
|
242
|
+
* @returns The time the call ended at.
|
|
243
|
+
*/
|
|
244
|
+
getEndedAt(): number;
|
|
245
|
+
/**
|
|
246
|
+
* Sets the time the call ended at.
|
|
247
|
+
* @param value - The time the call ended at.
|
|
248
|
+
*/
|
|
249
|
+
setEndedAt(value: number): void;
|
|
250
|
+
/**
|
|
251
|
+
* Gets the participants of the call log.
|
|
252
|
+
* @returns The participants of the call log.
|
|
253
|
+
*/
|
|
254
|
+
getParticipants(): Participant[];
|
|
255
|
+
/**
|
|
256
|
+
* Sets the participants of the call log.
|
|
257
|
+
* @param value - The participants to set.
|
|
258
|
+
*/
|
|
259
|
+
setParticipants(value: Participant[]): void;
|
|
260
|
+
/**
|
|
261
|
+
* Gets the recordings of the call log.
|
|
262
|
+
* @returns The recordings of the call log.
|
|
263
|
+
*/
|
|
264
|
+
getRecordings(): Recording[];
|
|
265
|
+
/**
|
|
266
|
+
* Sets the recordings of the call log.
|
|
267
|
+
* @param value - The recordings to set.
|
|
268
|
+
*/
|
|
269
|
+
setRecordings(value: Recording[]): void;
|
|
270
|
+
/**
|
|
271
|
+
* Creates a new instance of CallLog from JSON data.
|
|
272
|
+
* @param data - The JSON data to create the call log from.
|
|
273
|
+
* @returns A new instance of CallLog created from the JSON data.
|
|
274
|
+
*/
|
|
275
|
+
static callLogFromJson(data: any): CallLog;
|
|
276
|
+
}
|