ue-softphone-sdk 3.0.15 → 3.0.17

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.
@@ -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;