ue-softphone-sdk-beta 4.0.33 → 4.0.35
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.
|
@@ -167,6 +167,11 @@ interface breakinParams {
|
|
|
167
167
|
success?: Function;
|
|
168
168
|
fail?: Function;
|
|
169
169
|
}
|
|
170
|
+
interface switchOutDevicesParams {
|
|
171
|
+
deviceId: String;
|
|
172
|
+
success?: Function;
|
|
173
|
+
fail?: Function;
|
|
174
|
+
}
|
|
170
175
|
export default class ueSoftphone {
|
|
171
176
|
static summaryUeTimer: any;
|
|
172
177
|
static agentUeTimer: any;
|
|
@@ -239,6 +244,7 @@ export default class ueSoftphone {
|
|
|
239
244
|
private static initWebrtcEvent;
|
|
240
245
|
private openMediaAudio;
|
|
241
246
|
listenCallEvent: (callbacks: OnCallEventParams) => void;
|
|
247
|
+
switchOutDevices: (params: switchOutDevicesParams) => Promise<void>;
|
|
242
248
|
get agent(): {
|
|
243
249
|
switchLoginType(params: UpdateLoginTypeParams): Promise<void>;
|
|
244
250
|
findPhoneBarList(params: GetAgentPhoneBarParams): void;
|