ue-softphone-sdk 3.0.14 → 3.0.16
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/dist/lib/types/index.d.ts +5 -0
- package/dist/lib/ue-soft-phone.min.js +2 -2
- package/dist/types/index.d.ts +5 -0
- package/dist/ue-softphone-sdk.js +2 -2
- package/index.html/index.html +11 -1
- package/package.json +1 -1
- package/sdkdemo/img/wifi1.b7af5ed5.svg +10 -0
- package/sdkdemo/img/wifi2.1648a543.svg +4 -0
- package/sdkdemo/img/wifi3.ec030889.svg +4 -0
- package/sdkdemo/img/wifi4.101d572a.svg +4 -0
- package/sdkdemo/ue-load.min.js +119 -116
- package/sdkdemo/ue.lib.css +1 -1
- package/sdkdemo/ue.min.js +24 -16
- package/sdkdemo/webphone_ez.html +76 -0
- package/src/index.ts +173 -53
- package/dist.tar.gz +0 -0
|
@@ -22,6 +22,7 @@ interface InitOptions {
|
|
|
22
22
|
pushHangupStatistics?: boolean;
|
|
23
23
|
pushCallinRingStatistics?: boolean;
|
|
24
24
|
isOpenCallQueue?: boolean;
|
|
25
|
+
openNlsTranslation?: boolean;
|
|
25
26
|
}
|
|
26
27
|
interface OnCallEventParams {
|
|
27
28
|
success?: Function;
|
|
@@ -139,6 +140,7 @@ export default class ueSoftphone {
|
|
|
139
140
|
static Socketinstance: any;
|
|
140
141
|
static AudioTask: any;
|
|
141
142
|
static MonitorSocketinstance: any;
|
|
143
|
+
static UserConfig: any;
|
|
142
144
|
static noop(): void;
|
|
143
145
|
static debug: (msg: any) => void;
|
|
144
146
|
static log: (msg: any) => void;
|
|
@@ -149,6 +151,7 @@ export default class ueSoftphone {
|
|
|
149
151
|
static request: (server: string, proto: any) => any;
|
|
150
152
|
private attachEventCallbacks;
|
|
151
153
|
private attachMonitorEventCallbacks;
|
|
154
|
+
private attachNlsTranslationEventCallbacks;
|
|
152
155
|
constructor(options?: InitOptions);
|
|
153
156
|
private init;
|
|
154
157
|
private login;
|
|
@@ -161,7 +164,9 @@ export default class ueSoftphone {
|
|
|
161
164
|
private initAgentQueue;
|
|
162
165
|
private initQueue;
|
|
163
166
|
static createQueueMonitorEventHandle(callbacks?: any): void;
|
|
167
|
+
static createopenNlsTransEventHandle(callbacks?: any): void;
|
|
164
168
|
listenCallQueueEvent: (callbacks: any) => void;
|
|
169
|
+
listenTranslationEvent: (callbacks: any) => void;
|
|
165
170
|
static useDefaultDependencies(deps: any): {
|
|
166
171
|
newWebSocket(server: string, proto: any): any;
|
|
167
172
|
request(url: string, options: any): any;
|