@vonage/client-sdk 0.1.4-alpha.2 → 0.1.4-alpha.4
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/kotlin/Kermit-kermit-js-ir.js +35 -46
- package/dist/kotlin/Kermit-kermit-js-ir.js.map +1 -1
- package/dist/kotlin/clientsdk-clientcore.js +4924 -4562
- package/dist/kotlin/clientsdk-clientcore.js.map +1 -1
- package/dist/kotlin/clientsdk-clientcore_js.js +247 -247
- package/dist/kotlin/clientsdk-clientcore_js.js.map +1 -1
- package/dist/kotlin/kotlin-kotlin-stdlib-js-ir.js +353 -336
- package/dist/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +69 -69
- package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +71 -71
- package/package.json +1 -1
|
@@ -16,23 +16,23 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var THROW_ISE = kotlin_kotlin.$_$.
|
|
19
|
+
var THROW_ISE = kotlin_kotlin.$_$.a8;
|
|
20
20
|
var Unit_getInstance = kotlin_kotlin.$_$.p2;
|
|
21
21
|
var ClientConfigRegion_AP_getInstance = kotlin_com_vonage_clientcore.$_$.r;
|
|
22
22
|
var ClientConfigRegion_EU_getInstance = kotlin_com_vonage_clientcore.$_$.s;
|
|
23
23
|
var ClientConfigRegion_US_getInstance = kotlin_com_vonage_clientcore.$_$.t;
|
|
24
|
-
var Enum = kotlin_kotlin.$_$.
|
|
24
|
+
var Enum = kotlin_kotlin.$_$.t7;
|
|
25
25
|
var classMeta = kotlin_kotlin.$_$.j5;
|
|
26
26
|
var Companion_getInstance = kotlin_com_vonage_clientcore.$_$.u;
|
|
27
27
|
var ILoggingLevel = kotlin_com_vonage_clientcore.$_$.b;
|
|
28
28
|
var setDefaultLoggingLevel = kotlin_com_vonage_clientcore.$_$.e;
|
|
29
29
|
var newThrowable = kotlin_kotlin.$_$.g6;
|
|
30
30
|
var SessionListener = kotlin_com_vonage_clientcore.$_$.c;
|
|
31
|
-
var
|
|
31
|
+
var VoiceClientListener = kotlin_com_vonage_clientcore.$_$.d;
|
|
32
32
|
var Builder = kotlin_com_vonage_clientcore.$_$.j;
|
|
33
33
|
var SetConfig = kotlin_com_vonage_clientcore.$_$.i;
|
|
34
34
|
var emptyMap = kotlin_kotlin.$_$.v3;
|
|
35
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
35
|
+
var THROW_CCE = kotlin_kotlin.$_$.z7;
|
|
36
36
|
var getStringHashCode = kotlin_kotlin.$_$.o5;
|
|
37
37
|
var equals = kotlin_kotlin.$_$.k5;
|
|
38
38
|
var Exception_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
var SocketConnectionFailedReason_PingTimeout_getInstance = kotlin_com_vonage_clientcore.$_$.m;
|
|
49
49
|
var MediaClient = kotlin_com_vonage_clientcore.$_$.g;
|
|
50
50
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
51
|
-
var to = kotlin_kotlin.$_$.
|
|
51
|
+
var to = kotlin_kotlin.$_$.t8;
|
|
52
52
|
var toMap = kotlin_kotlin.$_$.u4;
|
|
53
53
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
54
54
|
var Map = kotlin_kotlin.$_$.b3;
|
|
55
55
|
var isInterface = kotlin_kotlin.$_$.y5;
|
|
56
|
-
var Exception = kotlin_kotlin.$_$.
|
|
57
|
-
var Pair = kotlin_kotlin.$_$.
|
|
56
|
+
var Exception = kotlin_kotlin.$_$.v7;
|
|
57
|
+
var Pair = kotlin_kotlin.$_$.y7;
|
|
58
58
|
var copyToArray = kotlin_kotlin.$_$.t3;
|
|
59
59
|
var json = kotlin_kotlin.$_$.e6;
|
|
60
60
|
//endregion
|
|
@@ -95,75 +95,75 @@
|
|
|
95
95
|
}
|
|
96
96
|
function CoreClientConfigRegionJS(name, ordinal, coreRegion) {
|
|
97
97
|
Enum.call(this, name, ordinal);
|
|
98
|
-
this.
|
|
98
|
+
this.r2e_1 = coreRegion;
|
|
99
99
|
}
|
|
100
|
-
CoreClientConfigRegionJS.prototype.
|
|
101
|
-
return this.
|
|
100
|
+
CoreClientConfigRegionJS.prototype.s2e = function () {
|
|
101
|
+
return this.r2e_1;
|
|
102
102
|
};
|
|
103
103
|
CoreClientConfigRegionJS.$metadata$ = classMeta('CoreClientConfigRegionJS', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
104
104
|
Object.defineProperty(CoreClientConfigRegionJS.prototype, 'coreRegion', {
|
|
105
105
|
configurable: true,
|
|
106
|
-
get: CoreClientConfigRegionJS.prototype.
|
|
106
|
+
get: CoreClientConfigRegionJS.prototype.s2e
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(CoreClientConfigRegionJS.prototype, 'name', {
|
|
109
109
|
configurable: true,
|
|
110
|
-
get: CoreClientConfigRegionJS.prototype.
|
|
110
|
+
get: CoreClientConfigRegionJS.prototype.u3
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(CoreClientConfigRegionJS.prototype, 'ordinal', {
|
|
113
113
|
configurable: true,
|
|
114
114
|
get: CoreClientConfigRegionJS.prototype.qe
|
|
115
115
|
});
|
|
116
116
|
function CoreClientConfigJS(region) {
|
|
117
|
-
this.
|
|
118
|
-
this.
|
|
119
|
-
this.
|
|
120
|
-
this.
|
|
121
|
-
this.
|
|
117
|
+
this.t2e_1 = Companion_getInstance().o1y(region.r2e_1);
|
|
118
|
+
this.u2e_1 = this.t2e_1.p1y_1;
|
|
119
|
+
this.v2e_1 = this.t2e_1.q1y_1;
|
|
120
|
+
this.w2e_1 = this.t2e_1.r1y_1;
|
|
121
|
+
this.x2e_1 = this.t2e_1.s1y_1;
|
|
122
122
|
}
|
|
123
|
-
CoreClientConfigJS.prototype.
|
|
124
|
-
this.
|
|
123
|
+
CoreClientConfigJS.prototype.y2e = function (_set____db54di) {
|
|
124
|
+
this.u2e_1 = _set____db54di;
|
|
125
125
|
};
|
|
126
|
-
CoreClientConfigJS.prototype.
|
|
127
|
-
return this.
|
|
126
|
+
CoreClientConfigJS.prototype.z2e = function () {
|
|
127
|
+
return this.u2e_1;
|
|
128
128
|
};
|
|
129
|
-
CoreClientConfigJS.prototype.
|
|
130
|
-
this.
|
|
129
|
+
CoreClientConfigJS.prototype.a2f = function (_set____db54di) {
|
|
130
|
+
this.v2e_1 = _set____db54di;
|
|
131
131
|
};
|
|
132
|
-
CoreClientConfigJS.prototype.
|
|
133
|
-
return this.
|
|
132
|
+
CoreClientConfigJS.prototype.b2f = function () {
|
|
133
|
+
return this.v2e_1;
|
|
134
134
|
};
|
|
135
|
-
CoreClientConfigJS.prototype.
|
|
136
|
-
this.
|
|
135
|
+
CoreClientConfigJS.prototype.c2f = function (_set____db54di) {
|
|
136
|
+
this.w2e_1 = _set____db54di;
|
|
137
137
|
};
|
|
138
|
-
CoreClientConfigJS.prototype.
|
|
139
|
-
return this.
|
|
138
|
+
CoreClientConfigJS.prototype.d2f = function () {
|
|
139
|
+
return this.w2e_1;
|
|
140
140
|
};
|
|
141
|
-
CoreClientConfigJS.prototype.
|
|
142
|
-
this.
|
|
141
|
+
CoreClientConfigJS.prototype.e2f = function (_set____db54di) {
|
|
142
|
+
this.x2e_1 = _set____db54di;
|
|
143
143
|
};
|
|
144
|
-
CoreClientConfigJS.prototype.
|
|
145
|
-
return this.
|
|
144
|
+
CoreClientConfigJS.prototype.f2f = function () {
|
|
145
|
+
return this.x2e_1;
|
|
146
146
|
};
|
|
147
147
|
CoreClientConfigJS.$metadata$ = classMeta('CoreClientConfigJS');
|
|
148
148
|
Object.defineProperty(CoreClientConfigJS.prototype, 'apiUrl', {
|
|
149
149
|
configurable: true,
|
|
150
|
-
get: CoreClientConfigJS.prototype.
|
|
151
|
-
set: CoreClientConfigJS.prototype.
|
|
150
|
+
get: CoreClientConfigJS.prototype.z2e,
|
|
151
|
+
set: CoreClientConfigJS.prototype.y2e
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(CoreClientConfigJS.prototype, 'websocketUrl', {
|
|
154
154
|
configurable: true,
|
|
155
|
-
get: CoreClientConfigJS.prototype.
|
|
156
|
-
set: CoreClientConfigJS.prototype.
|
|
155
|
+
get: CoreClientConfigJS.prototype.b2f,
|
|
156
|
+
set: CoreClientConfigJS.prototype.a2f
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(CoreClientConfigJS.prototype, 'websocketPath', {
|
|
159
159
|
configurable: true,
|
|
160
|
-
get: CoreClientConfigJS.prototype.
|
|
161
|
-
set: CoreClientConfigJS.prototype.
|
|
160
|
+
get: CoreClientConfigJS.prototype.d2f,
|
|
161
|
+
set: CoreClientConfigJS.prototype.c2f
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(CoreClientConfigJS.prototype, 'autoMediaReoffer', {
|
|
164
164
|
configurable: true,
|
|
165
|
-
get: CoreClientConfigJS.prototype.
|
|
166
|
-
set: CoreClientConfigJS.prototype.
|
|
165
|
+
get: CoreClientConfigJS.prototype.f2f,
|
|
166
|
+
set: CoreClientConfigJS.prototype.e2f
|
|
167
167
|
});
|
|
168
168
|
var LoggingLevelJS_Verbose_instance;
|
|
169
169
|
var LoggingLevelJS_Debug_instance;
|
|
@@ -208,15 +208,15 @@
|
|
|
208
208
|
}
|
|
209
209
|
function LoggingLevelJS(name, ordinal, sev) {
|
|
210
210
|
Enum.call(this, name, ordinal);
|
|
211
|
-
this.
|
|
211
|
+
this.i2f_1 = sev;
|
|
212
212
|
}
|
|
213
|
-
LoggingLevelJS.prototype.
|
|
214
|
-
return this.
|
|
213
|
+
LoggingLevelJS.prototype.d1y = function () {
|
|
214
|
+
return this.i2f_1;
|
|
215
215
|
};
|
|
216
216
|
LoggingLevelJS.$metadata$ = classMeta('LoggingLevelJS', [ILoggingLevel], undefined, undefined, undefined, Enum.prototype);
|
|
217
217
|
Object.defineProperty(LoggingLevelJS.prototype, 'name', {
|
|
218
218
|
configurable: true,
|
|
219
|
-
get: LoggingLevelJS.prototype.
|
|
219
|
+
get: LoggingLevelJS.prototype.u3
|
|
220
220
|
});
|
|
221
221
|
Object.defineProperty(LoggingLevelJS.prototype, 'ordinal', {
|
|
222
222
|
configurable: true,
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
}
|
|
239
239
|
function CoreClientJS$createSession$lambda(this$0, $token, $sessionId) {
|
|
240
240
|
return function (resolve, reject) {
|
|
241
|
-
this$0.
|
|
241
|
+
this$0.l2f_1.t1a($token, $sessionId, CoreClientJS$createSession$lambda$lambda(reject, resolve));
|
|
242
242
|
return Unit_getInstance();
|
|
243
243
|
};
|
|
244
244
|
}
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
}
|
|
254
254
|
function CoreClientJS$deleteSession$lambda(this$0) {
|
|
255
255
|
return function (resolve, reject) {
|
|
256
|
-
this$0.
|
|
256
|
+
this$0.l2f_1.u1a(CoreClientJS$deleteSession$lambda$lambda(reject, resolve));
|
|
257
257
|
return Unit_getInstance();
|
|
258
258
|
};
|
|
259
259
|
}
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
}
|
|
269
269
|
function CoreClientJS$refreshSession$lambda(this$0, $token) {
|
|
270
270
|
return function (resolve, reject) {
|
|
271
|
-
this$0.
|
|
271
|
+
this$0.l2f_1.v1a($token, CoreClientJS$refreshSession$lambda$lambda(reject, resolve));
|
|
272
272
|
return Unit_getInstance();
|
|
273
273
|
};
|
|
274
274
|
}
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
}
|
|
287
287
|
function CoreClientJS$serverCall$lambda(this$0, $typedContext) {
|
|
288
288
|
return function (resolve, reject) {
|
|
289
|
-
this$0.
|
|
289
|
+
this$0.l2f_1.y1a($typedContext, CoreClientJS$serverCall$lambda$lambda(resolve, reject));
|
|
290
290
|
return Unit_getInstance();
|
|
291
291
|
};
|
|
292
292
|
}
|
|
@@ -304,31 +304,31 @@
|
|
|
304
304
|
}
|
|
305
305
|
function CoreClientJS$reconnectCall$lambda(this$0, $legId) {
|
|
306
306
|
return function (resolve, reject) {
|
|
307
|
-
this$0.
|
|
307
|
+
this$0.l2f_1.z1a($legId, CoreClientJS$reconnectCall$lambda$lambda(resolve, reject));
|
|
308
308
|
return Unit_getInstance();
|
|
309
309
|
};
|
|
310
310
|
}
|
|
311
311
|
function CoreClientJS$1(this$0) {
|
|
312
|
-
this.
|
|
312
|
+
this.m2f_1 = this$0;
|
|
313
313
|
}
|
|
314
|
-
CoreClientJS$1.prototype.
|
|
315
|
-
var tmp0_safe_receiver = this.
|
|
314
|
+
CoreClientJS$1.prototype.i20 = function () {
|
|
315
|
+
var tmp0_safe_receiver = this.m2f_1.k2f_1;
|
|
316
316
|
if (tmp0_safe_receiver == null)
|
|
317
317
|
null;
|
|
318
318
|
else {
|
|
319
319
|
tmp0_safe_receiver.reconnecting();
|
|
320
320
|
}
|
|
321
321
|
};
|
|
322
|
-
CoreClientJS$1.prototype.
|
|
323
|
-
var tmp0_safe_receiver = this.
|
|
322
|
+
CoreClientJS$1.prototype.j20 = function () {
|
|
323
|
+
var tmp0_safe_receiver = this.m2f_1.k2f_1;
|
|
324
324
|
if (tmp0_safe_receiver == null)
|
|
325
325
|
null;
|
|
326
326
|
else {
|
|
327
327
|
tmp0_safe_receiver.reconnection();
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
|
-
CoreClientJS$1.prototype.
|
|
331
|
-
var tmp0_safe_receiver = this.
|
|
330
|
+
CoreClientJS$1.prototype.k20 = function (reason) {
|
|
331
|
+
var tmp0_safe_receiver = this.m2f_1.k2f_1;
|
|
332
332
|
if (tmp0_safe_receiver == null)
|
|
333
333
|
null;
|
|
334
334
|
else {
|
|
@@ -337,80 +337,80 @@
|
|
|
337
337
|
};
|
|
338
338
|
CoreClientJS$1.$metadata$ = classMeta(undefined, [SessionListener]);
|
|
339
339
|
function CoreClientJS$2(this$0) {
|
|
340
|
-
this.
|
|
340
|
+
this.n2f_1 = this$0;
|
|
341
341
|
}
|
|
342
|
-
CoreClientJS$2.prototype.
|
|
343
|
-
var tmp0_safe_receiver = this.
|
|
342
|
+
CoreClientJS$2.prototype.s21 = function (invite) {
|
|
343
|
+
var tmp0_safe_receiver = this.n2f_1.k2f_1;
|
|
344
344
|
if (tmp0_safe_receiver == null)
|
|
345
345
|
null;
|
|
346
346
|
else {
|
|
347
347
|
tmp0_safe_receiver.callInvite(VoiceInviteJS_init_$Create$(invite, null, 2, null));
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
|
-
CoreClientJS$2.prototype.
|
|
351
|
-
var tmp0_safe_receiver = this.
|
|
350
|
+
CoreClientJS$2.prototype.t21 = function (call, newConversation, prevConversation) {
|
|
351
|
+
var tmp0_safe_receiver = this.n2f_1.k2f_1;
|
|
352
352
|
if (tmp0_safe_receiver == null)
|
|
353
353
|
null;
|
|
354
354
|
else {
|
|
355
355
|
tmp0_safe_receiver.callTransfer(new VoiceCallJS(call), new ConversationJS(newConversation), new ConversationJS(prevConversation));
|
|
356
356
|
}
|
|
357
357
|
};
|
|
358
|
-
CoreClientJS$2.prototype.
|
|
359
|
-
var tmp0_safe_receiver = this.
|
|
358
|
+
CoreClientJS$2.prototype.u21 = function (call, legId, isMuted) {
|
|
359
|
+
var tmp0_safe_receiver = this.n2f_1.k2f_1;
|
|
360
360
|
if (tmp0_safe_receiver == null)
|
|
361
361
|
null;
|
|
362
362
|
else {
|
|
363
363
|
tmp0_safe_receiver.mute(new VoiceCallJS(call), legId, isMuted);
|
|
364
364
|
}
|
|
365
365
|
};
|
|
366
|
-
CoreClientJS$2.prototype.
|
|
367
|
-
var tmp0_safe_receiver = this.
|
|
366
|
+
CoreClientJS$2.prototype.v21 = function (call, legId, earmuffStatus) {
|
|
367
|
+
var tmp0_safe_receiver = this.n2f_1.k2f_1;
|
|
368
368
|
if (tmp0_safe_receiver == null)
|
|
369
369
|
null;
|
|
370
370
|
else {
|
|
371
371
|
tmp0_safe_receiver.earmuff(new VoiceCallJS(call), legId, earmuffStatus);
|
|
372
372
|
}
|
|
373
373
|
};
|
|
374
|
-
CoreClientJS$2.prototype.
|
|
375
|
-
var tmp0_safe_receiver = this.
|
|
374
|
+
CoreClientJS$2.prototype.w21 = function (call, legId, digits) {
|
|
375
|
+
var tmp0_safe_receiver = this.n2f_1.k2f_1;
|
|
376
376
|
if (tmp0_safe_receiver == null)
|
|
377
377
|
null;
|
|
378
378
|
else {
|
|
379
379
|
tmp0_safe_receiver.dtmf(new VoiceCallJS(call), legId, digits);
|
|
380
380
|
}
|
|
381
381
|
};
|
|
382
|
-
CoreClientJS$2.prototype.
|
|
383
|
-
var tmp0_safe_receiver = this.
|
|
382
|
+
CoreClientJS$2.prototype.x21 = function (call, legId, callQuality) {
|
|
383
|
+
var tmp0_safe_receiver = this.n2f_1.k2f_1;
|
|
384
384
|
if (tmp0_safe_receiver == null)
|
|
385
385
|
null;
|
|
386
386
|
else {
|
|
387
387
|
tmp0_safe_receiver.rtcHangup(new VoiceCallJS(call), legId, new RTCQualityJS(callQuality));
|
|
388
388
|
}
|
|
389
389
|
};
|
|
390
|
-
CoreClientJS$2.prototype.
|
|
391
|
-
var tmp0_safe_receiver = this.
|
|
390
|
+
CoreClientJS$2.prototype.y21 = function (call, legId, status) {
|
|
391
|
+
var tmp0_safe_receiver = this.n2f_1.k2f_1;
|
|
392
392
|
if (tmp0_safe_receiver == null)
|
|
393
393
|
null;
|
|
394
394
|
else {
|
|
395
395
|
tmp0_safe_receiver.legStatusUpdate(new VoiceCallJS(call), legId, status);
|
|
396
396
|
}
|
|
397
397
|
};
|
|
398
|
-
CoreClientJS$2.$metadata$ = classMeta(undefined, [
|
|
398
|
+
CoreClientJS$2.$metadata$ = classMeta(undefined, [VoiceClientListener]);
|
|
399
399
|
function CoreClientJS(http, socket, media) {
|
|
400
|
-
this.
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
400
|
+
this.j2f_1 = media;
|
|
401
|
+
this.k2f_1 = null;
|
|
402
|
+
this.l2f_1 = (new Builder()).h1b(HttpClientJSAdapter(http)).i1b(SocketClientJSAdapter(socket)).j1b(MediaClientJSAdapter(media));
|
|
403
|
+
this.l2f_1.w1a(new CoreClientJS$1(this));
|
|
404
|
+
this.l2f_1.x1a(new CoreClientJS$2(this));
|
|
405
405
|
}
|
|
406
|
-
CoreClientJS.prototype.
|
|
407
|
-
this.
|
|
406
|
+
CoreClientJS.prototype.o2f = function (_set____db54di) {
|
|
407
|
+
this.k2f_1 = _set____db54di;
|
|
408
408
|
};
|
|
409
|
-
CoreClientJS.prototype.
|
|
410
|
-
return this.
|
|
409
|
+
CoreClientJS.prototype.p2f = function () {
|
|
410
|
+
return this.k2f_1;
|
|
411
411
|
};
|
|
412
412
|
CoreClientJS.prototype.setConfig = function (config) {
|
|
413
|
-
this.
|
|
413
|
+
this.l2f_1.s1a(new SetConfig(config.v2e_1, config.w2e_1, config.u2e_1));
|
|
414
414
|
};
|
|
415
415
|
CoreClientJS.prototype.createSession = function (token, sessionId) {
|
|
416
416
|
return new Promise(CoreClientJS$createSession$lambda(this, token, sessionId));
|
|
@@ -422,7 +422,7 @@
|
|
|
422
422
|
return new Promise(CoreClientJS$refreshSession$lambda(this, token));
|
|
423
423
|
};
|
|
424
424
|
CoreClientJS.prototype.getPeerConnection = function (id) {
|
|
425
|
-
return this.
|
|
425
|
+
return this.j2f_1.getPeerConnection(id);
|
|
426
426
|
};
|
|
427
427
|
CoreClientJS.prototype.serverCall = function (context) {
|
|
428
428
|
var tmp0_safe_receiver = get_jsonNullable(context);
|
|
@@ -445,8 +445,8 @@
|
|
|
445
445
|
CoreClientJS.$metadata$ = classMeta('CoreClientJS');
|
|
446
446
|
Object.defineProperty(CoreClientJS.prototype, 'emitter', {
|
|
447
447
|
configurable: true,
|
|
448
|
-
get: CoreClientJS.prototype.
|
|
449
|
-
set: CoreClientJS.prototype.
|
|
448
|
+
get: CoreClientJS.prototype.p2f,
|
|
449
|
+
set: CoreClientJS.prototype.o2f
|
|
450
450
|
});
|
|
451
451
|
function VoiceCallJS$hangup$lambda$lambda($resolve, $reject) {
|
|
452
452
|
return function (it) {
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
}
|
|
463
463
|
function VoiceCallJS$hangup$lambda(this$0, $reasonText, $reasonCode) {
|
|
464
464
|
return function (resolve, reject) {
|
|
465
|
-
this$0.
|
|
465
|
+
this$0.q2f_1.b21($reasonText, $reasonCode, VoiceCallJS$hangup$lambda$lambda(resolve, reject));
|
|
466
466
|
return Unit_getInstance();
|
|
467
467
|
};
|
|
468
468
|
}
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
var tmp_3 = tmp3_elvis_lhs == null ? 'amy' : tmp3_elvis_lhs;
|
|
491
491
|
var tmp4_elvis_lhs = get_jsonNullable($params.ssml);
|
|
492
492
|
var tmp_4 = tmp4_elvis_lhs == null ? true : tmp4_elvis_lhs;
|
|
493
|
-
this$0.
|
|
493
|
+
this$0.q2f_1.r21(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, VoiceCallJS$say$lambda$lambda(reject, resolve));
|
|
494
494
|
return Unit_getInstance();
|
|
495
495
|
};
|
|
496
496
|
}
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
}
|
|
508
508
|
function VoiceCallJS$mute$lambda(this$0) {
|
|
509
509
|
return function (resolve, reject) {
|
|
510
|
-
this$0.
|
|
510
|
+
this$0.q2f_1.m21(VoiceCallJS$mute$lambda$lambda(reject, resolve));
|
|
511
511
|
return Unit_getInstance();
|
|
512
512
|
};
|
|
513
513
|
}
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
}
|
|
523
523
|
function VoiceCallJS$unmute$lambda(this$0) {
|
|
524
524
|
return function (resolve, reject) {
|
|
525
|
-
this$0.
|
|
525
|
+
this$0.q2f_1.n21(VoiceCallJS$unmute$lambda$lambda(reject, resolve));
|
|
526
526
|
return Unit_getInstance();
|
|
527
527
|
};
|
|
528
528
|
}
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
}
|
|
538
538
|
function VoiceCallJS$enableEarmuff$lambda(this$0) {
|
|
539
539
|
return function (resolve, reject) {
|
|
540
|
-
this$0.
|
|
540
|
+
this$0.q2f_1.o21(VoiceCallJS$enableEarmuff$lambda$lambda(reject, resolve));
|
|
541
541
|
return Unit_getInstance();
|
|
542
542
|
};
|
|
543
543
|
}
|
|
@@ -552,7 +552,7 @@
|
|
|
552
552
|
}
|
|
553
553
|
function VoiceCallJS$disableEarmuff$lambda(this$0) {
|
|
554
554
|
return function (resolve, reject) {
|
|
555
|
-
this$0.
|
|
555
|
+
this$0.q2f_1.p21(VoiceCallJS$disableEarmuff$lambda$lambda(reject, resolve));
|
|
556
556
|
return Unit_getInstance();
|
|
557
557
|
};
|
|
558
558
|
}
|
|
@@ -567,29 +567,29 @@
|
|
|
567
567
|
}
|
|
568
568
|
function VoiceCallJS$sendDTMF$lambda(this$0, $digits) {
|
|
569
569
|
return function (resolve, reject) {
|
|
570
|
-
this$0.
|
|
570
|
+
this$0.q2f_1.q21($digits, VoiceCallJS$sendDTMF$lambda$lambda(reject, resolve));
|
|
571
571
|
return Unit_getInstance();
|
|
572
572
|
};
|
|
573
573
|
}
|
|
574
574
|
function VoiceCallJS(call) {
|
|
575
|
-
this.
|
|
576
|
-
this.
|
|
575
|
+
this.q2f_1 = call;
|
|
576
|
+
this.r2f_1 = this.q2f_1.w20_1;
|
|
577
577
|
}
|
|
578
|
-
VoiceCallJS.prototype.
|
|
579
|
-
return this.
|
|
578
|
+
VoiceCallJS.prototype.a1n = function () {
|
|
579
|
+
return this.r2f_1;
|
|
580
580
|
};
|
|
581
581
|
VoiceCallJS.prototype.hangup = function (reasonText, reasonCode) {
|
|
582
|
-
return this.
|
|
582
|
+
return this.s2f(reasonText === void 1 ? null : reasonText, reasonCode === void 1 ? null : reasonCode);
|
|
583
583
|
};
|
|
584
|
-
VoiceCallJS.prototype.
|
|
584
|
+
VoiceCallJS.prototype.s2f = function (reasonText, reasonCode) {
|
|
585
585
|
return new Promise(VoiceCallJS$hangup$lambda(this, reasonText, reasonCode));
|
|
586
586
|
};
|
|
587
|
-
VoiceCallJS.prototype.
|
|
587
|
+
VoiceCallJS.prototype.t2f = function (reasonText, reasonCode, $mask0, $handler) {
|
|
588
588
|
if (!(($mask0 & 1) === 0))
|
|
589
589
|
reasonText = null;
|
|
590
590
|
if (!(($mask0 & 2) === 0))
|
|
591
591
|
reasonCode = null;
|
|
592
|
-
return this.
|
|
592
|
+
return this.s2f(reasonText, reasonCode);
|
|
593
593
|
};
|
|
594
594
|
VoiceCallJS.prototype.say = function (params) {
|
|
595
595
|
return new Promise(VoiceCallJS$say$lambda(this, params));
|
|
@@ -612,43 +612,43 @@
|
|
|
612
612
|
VoiceCallJS.$metadata$ = classMeta('VoiceCallJS');
|
|
613
613
|
Object.defineProperty(VoiceCallJS.prototype, 'id', {
|
|
614
614
|
configurable: true,
|
|
615
|
-
get: VoiceCallJS.prototype.
|
|
615
|
+
get: VoiceCallJS.prototype.a1n
|
|
616
616
|
});
|
|
617
617
|
function VoiceInviteFromInfoJS(id, type) {
|
|
618
|
-
this.
|
|
619
|
-
this.
|
|
618
|
+
this.u2f_1 = id;
|
|
619
|
+
this.v2f_1 = type;
|
|
620
620
|
}
|
|
621
|
-
VoiceInviteFromInfoJS.prototype.
|
|
622
|
-
return this.
|
|
621
|
+
VoiceInviteFromInfoJS.prototype.a1n = function () {
|
|
622
|
+
return this.u2f_1;
|
|
623
623
|
};
|
|
624
|
-
VoiceInviteFromInfoJS.prototype.
|
|
625
|
-
return this.
|
|
624
|
+
VoiceInviteFromInfoJS.prototype.w2f = function () {
|
|
625
|
+
return this.v2f_1;
|
|
626
626
|
};
|
|
627
627
|
VoiceInviteFromInfoJS.prototype.component1 = function () {
|
|
628
|
-
return this.
|
|
628
|
+
return this.u2f_1;
|
|
629
629
|
};
|
|
630
630
|
VoiceInviteFromInfoJS.prototype.component2 = function () {
|
|
631
|
-
return this.
|
|
631
|
+
return this.v2f_1;
|
|
632
632
|
};
|
|
633
633
|
VoiceInviteFromInfoJS.prototype.copy = function (id, type) {
|
|
634
|
-
return this.
|
|
634
|
+
return this.x2f(id === void 1 ? this.u2f_1 : id, type === void 1 ? this.v2f_1 : type);
|
|
635
635
|
};
|
|
636
|
-
VoiceInviteFromInfoJS.prototype.
|
|
636
|
+
VoiceInviteFromInfoJS.prototype.x2f = function (id, type) {
|
|
637
637
|
return new VoiceInviteFromInfoJS(id, type);
|
|
638
638
|
};
|
|
639
|
-
VoiceInviteFromInfoJS.prototype.
|
|
639
|
+
VoiceInviteFromInfoJS.prototype.y2f = function (id, type, $mask0, $handler) {
|
|
640
640
|
if (!(($mask0 & 1) === 0))
|
|
641
|
-
id = this.
|
|
641
|
+
id = this.u2f_1;
|
|
642
642
|
if (!(($mask0 & 2) === 0))
|
|
643
|
-
type = this.
|
|
644
|
-
return this.
|
|
643
|
+
type = this.v2f_1;
|
|
644
|
+
return this.x2f(id, type);
|
|
645
645
|
};
|
|
646
646
|
VoiceInviteFromInfoJS.prototype.toString = function () {
|
|
647
|
-
return 'VoiceInviteFromInfoJS(id=' + this.
|
|
647
|
+
return 'VoiceInviteFromInfoJS(id=' + this.u2f_1 + ', type=' + this.v2f_1 + ')';
|
|
648
648
|
};
|
|
649
649
|
VoiceInviteFromInfoJS.prototype.hashCode = function () {
|
|
650
|
-
var result = this.
|
|
651
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
650
|
+
var result = this.u2f_1 == null ? 0 : getStringHashCode(this.u2f_1);
|
|
651
|
+
result = imul(result, 31) + getStringHashCode(this.v2f_1) | 0;
|
|
652
652
|
return result;
|
|
653
653
|
};
|
|
654
654
|
VoiceInviteFromInfoJS.prototype.equals = function (other) {
|
|
@@ -657,24 +657,24 @@
|
|
|
657
657
|
if (!(other instanceof VoiceInviteFromInfoJS))
|
|
658
658
|
return false;
|
|
659
659
|
var tmp0_other_with_cast = other instanceof VoiceInviteFromInfoJS ? other : THROW_CCE();
|
|
660
|
-
if (!(this.
|
|
660
|
+
if (!(this.u2f_1 == tmp0_other_with_cast.u2f_1))
|
|
661
661
|
return false;
|
|
662
|
-
if (!(this.
|
|
662
|
+
if (!(this.v2f_1 === tmp0_other_with_cast.v2f_1))
|
|
663
663
|
return false;
|
|
664
664
|
return true;
|
|
665
665
|
};
|
|
666
666
|
VoiceInviteFromInfoJS.$metadata$ = classMeta('VoiceInviteFromInfoJS');
|
|
667
667
|
Object.defineProperty(VoiceInviteFromInfoJS.prototype, 'id', {
|
|
668
668
|
configurable: true,
|
|
669
|
-
get: VoiceInviteFromInfoJS.prototype.
|
|
669
|
+
get: VoiceInviteFromInfoJS.prototype.a1n
|
|
670
670
|
});
|
|
671
671
|
Object.defineProperty(VoiceInviteFromInfoJS.prototype, 'type', {
|
|
672
672
|
configurable: true,
|
|
673
|
-
get: VoiceInviteFromInfoJS.prototype.
|
|
673
|
+
get: VoiceInviteFromInfoJS.prototype.w2f
|
|
674
674
|
});
|
|
675
675
|
function VoiceInviteJS_init_$Init$(invite, from, $mask0, $marker, $this) {
|
|
676
676
|
if (!(($mask0 & 2) === 0))
|
|
677
|
-
from = new VoiceInviteFromInfoJS(invite.
|
|
677
|
+
from = new VoiceInviteFromInfoJS(invite.a22_1.q22_1, invite.a22_1.r22_1);
|
|
678
678
|
VoiceInviteJS.call($this, invite, from);
|
|
679
679
|
return $this;
|
|
680
680
|
}
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
}
|
|
697
697
|
function VoiceInviteJS$answerCall$lambda(this$0) {
|
|
698
698
|
return function (resolve, reject) {
|
|
699
|
-
this$0.
|
|
699
|
+
this$0.z2f_1.n22(VoiceInviteJS$answerCall$lambda$lambda(reject, resolve));
|
|
700
700
|
return Unit_getInstance();
|
|
701
701
|
};
|
|
702
702
|
}
|
|
@@ -713,16 +713,16 @@
|
|
|
713
713
|
}
|
|
714
714
|
function VoiceInviteJS$rejectCall$lambda(this$0) {
|
|
715
715
|
return function (resolve, reject) {
|
|
716
|
-
this$0.
|
|
716
|
+
this$0.z2f_1.o22(VoiceInviteJS$rejectCall$lambda$lambda(reject, resolve));
|
|
717
717
|
return Unit_getInstance();
|
|
718
718
|
};
|
|
719
719
|
}
|
|
720
720
|
function VoiceInviteJS(invite, from) {
|
|
721
|
-
this.
|
|
722
|
-
this.
|
|
721
|
+
this.z2f_1 = invite;
|
|
722
|
+
this.a2g_1 = from;
|
|
723
723
|
}
|
|
724
|
-
VoiceInviteJS.prototype.
|
|
725
|
-
return this.
|
|
724
|
+
VoiceInviteJS.prototype.p1h = function () {
|
|
725
|
+
return this.a2g_1;
|
|
726
726
|
};
|
|
727
727
|
VoiceInviteJS.prototype.answerCall = function () {
|
|
728
728
|
return new Promise(VoiceInviteJS$answerCall$lambda(this));
|
|
@@ -733,34 +733,34 @@
|
|
|
733
733
|
VoiceInviteJS.$metadata$ = classMeta('VoiceInviteJS');
|
|
734
734
|
Object.defineProperty(VoiceInviteJS.prototype, 'from', {
|
|
735
735
|
configurable: true,
|
|
736
|
-
get: VoiceInviteJS.prototype.
|
|
736
|
+
get: VoiceInviteJS.prototype.p1h
|
|
737
737
|
});
|
|
738
738
|
function ConversationJS(conversation) {
|
|
739
|
-
this.
|
|
740
|
-
this.
|
|
739
|
+
this.b2g_1 = conversation;
|
|
740
|
+
this.c2g_1 = this.b2g_1.u1y_1;
|
|
741
741
|
}
|
|
742
|
-
ConversationJS.prototype.
|
|
743
|
-
this.
|
|
742
|
+
ConversationJS.prototype.d2g = function (_set____db54di) {
|
|
743
|
+
this.c2g_1 = _set____db54di;
|
|
744
744
|
};
|
|
745
|
-
ConversationJS.prototype.
|
|
746
|
-
return this.
|
|
745
|
+
ConversationJS.prototype.a1n = function () {
|
|
746
|
+
return this.c2g_1;
|
|
747
747
|
};
|
|
748
748
|
ConversationJS.prototype.copy = function (conversation) {
|
|
749
|
-
return this.
|
|
749
|
+
return this.e2g(conversation === void 1 ? this.b2g_1 : conversation);
|
|
750
750
|
};
|
|
751
|
-
ConversationJS.prototype.
|
|
751
|
+
ConversationJS.prototype.e2g = function (conversation) {
|
|
752
752
|
return new ConversationJS(conversation);
|
|
753
753
|
};
|
|
754
|
-
ConversationJS.prototype.
|
|
754
|
+
ConversationJS.prototype.f2g = function (conversation, $mask0, $handler) {
|
|
755
755
|
if (!(($mask0 & 1) === 0))
|
|
756
|
-
conversation = this.
|
|
757
|
-
return this.
|
|
756
|
+
conversation = this.b2g_1;
|
|
757
|
+
return this.e2g(conversation);
|
|
758
758
|
};
|
|
759
759
|
ConversationJS.prototype.toString = function () {
|
|
760
|
-
return 'ConversationJS(conversation=' + this.
|
|
760
|
+
return 'ConversationJS(conversation=' + this.b2g_1 + ')';
|
|
761
761
|
};
|
|
762
762
|
ConversationJS.prototype.hashCode = function () {
|
|
763
|
-
return this.
|
|
763
|
+
return this.b2g_1.hashCode();
|
|
764
764
|
};
|
|
765
765
|
ConversationJS.prototype.equals = function (other) {
|
|
766
766
|
if (this === other)
|
|
@@ -768,15 +768,15 @@
|
|
|
768
768
|
if (!(other instanceof ConversationJS))
|
|
769
769
|
return false;
|
|
770
770
|
var tmp0_other_with_cast = other instanceof ConversationJS ? other : THROW_CCE();
|
|
771
|
-
if (!this.
|
|
771
|
+
if (!this.b2g_1.equals(tmp0_other_with_cast.b2g_1))
|
|
772
772
|
return false;
|
|
773
773
|
return true;
|
|
774
774
|
};
|
|
775
775
|
ConversationJS.$metadata$ = classMeta('ConversationJS');
|
|
776
776
|
Object.defineProperty(ConversationJS.prototype, 'id', {
|
|
777
777
|
configurable: true,
|
|
778
|
-
get: ConversationJS.prototype.
|
|
779
|
-
set: ConversationJS.prototype.
|
|
778
|
+
get: ConversationJS.prototype.a1n,
|
|
779
|
+
set: ConversationJS.prototype.d2g
|
|
780
780
|
});
|
|
781
781
|
function get_jsonNullable(_this__u8e3s4) {
|
|
782
782
|
var tmp0_subject = _this__u8e3s4;
|
|
@@ -847,60 +847,60 @@
|
|
|
847
847
|
}
|
|
848
848
|
var REASON_PING_TIMEOUT;
|
|
849
849
|
function RTCQualityJS(callQuality) {
|
|
850
|
-
this.
|
|
851
|
-
this.
|
|
852
|
-
this.
|
|
853
|
-
this.
|
|
854
|
-
this.
|
|
855
|
-
this.
|
|
856
|
-
this.
|
|
857
|
-
this.
|
|
858
|
-
this.
|
|
859
|
-
this.
|
|
860
|
-
}
|
|
861
|
-
RTCQualityJS.prototype.
|
|
862
|
-
return this.
|
|
863
|
-
};
|
|
864
|
-
RTCQualityJS.prototype.j2g = function () {
|
|
865
|
-
return this.a2g_1;
|
|
850
|
+
this.g2g_1 = callQuality;
|
|
851
|
+
this.h2g_1 = this.g2g_1.z25_1;
|
|
852
|
+
this.i2g_1 = this.g2g_1.a26_1;
|
|
853
|
+
this.j2g_1 = this.g2g_1.b26_1;
|
|
854
|
+
this.k2g_1 = this.g2g_1.c26_1;
|
|
855
|
+
this.l2g_1 = this.g2g_1.d26_1;
|
|
856
|
+
this.m2g_1 = this.g2g_1.e26_1;
|
|
857
|
+
this.n2g_1 = this.g2g_1.f26_1;
|
|
858
|
+
this.o2g_1 = this.g2g_1.g26_1;
|
|
859
|
+
this.p2g_1 = this.g2g_1.h26_1;
|
|
860
|
+
}
|
|
861
|
+
RTCQualityJS.prototype.q2g = function () {
|
|
862
|
+
return this.h2g_1;
|
|
866
863
|
};
|
|
867
|
-
RTCQualityJS.prototype.
|
|
868
|
-
return this.
|
|
864
|
+
RTCQualityJS.prototype.r2g = function () {
|
|
865
|
+
return this.i2g_1;
|
|
869
866
|
};
|
|
870
|
-
RTCQualityJS.prototype.
|
|
871
|
-
return this.
|
|
867
|
+
RTCQualityJS.prototype.s2g = function () {
|
|
868
|
+
return this.j2g_1;
|
|
872
869
|
};
|
|
873
|
-
RTCQualityJS.prototype.
|
|
874
|
-
return this.
|
|
870
|
+
RTCQualityJS.prototype.t2g = function () {
|
|
871
|
+
return this.k2g_1;
|
|
875
872
|
};
|
|
876
|
-
RTCQualityJS.prototype.
|
|
877
|
-
return this.
|
|
873
|
+
RTCQualityJS.prototype.u2g = function () {
|
|
874
|
+
return this.l2g_1;
|
|
878
875
|
};
|
|
879
|
-
RTCQualityJS.prototype.
|
|
880
|
-
return this.
|
|
876
|
+
RTCQualityJS.prototype.v2g = function () {
|
|
877
|
+
return this.m2g_1;
|
|
881
878
|
};
|
|
882
|
-
RTCQualityJS.prototype.
|
|
883
|
-
return this.
|
|
879
|
+
RTCQualityJS.prototype.w2g = function () {
|
|
880
|
+
return this.n2g_1;
|
|
884
881
|
};
|
|
885
|
-
RTCQualityJS.prototype.
|
|
886
|
-
return this.
|
|
882
|
+
RTCQualityJS.prototype.x2g = function () {
|
|
883
|
+
return this.o2g_1;
|
|
884
|
+
};
|
|
885
|
+
RTCQualityJS.prototype.y2g = function () {
|
|
886
|
+
return this.p2g_1;
|
|
887
887
|
};
|
|
888
888
|
RTCQualityJS.prototype.copy = function (callQuality) {
|
|
889
|
-
return this.
|
|
889
|
+
return this.z2g(callQuality === void 1 ? this.g2g_1 : callQuality);
|
|
890
890
|
};
|
|
891
|
-
RTCQualityJS.prototype.
|
|
891
|
+
RTCQualityJS.prototype.z2g = function (callQuality) {
|
|
892
892
|
return new RTCQualityJS(callQuality);
|
|
893
893
|
};
|
|
894
|
-
RTCQualityJS.prototype.
|
|
894
|
+
RTCQualityJS.prototype.a2h = function (callQuality, $mask0, $handler) {
|
|
895
895
|
if (!(($mask0 & 1) === 0))
|
|
896
|
-
callQuality = this.
|
|
897
|
-
return this.
|
|
896
|
+
callQuality = this.g2g_1;
|
|
897
|
+
return this.z2g(callQuality);
|
|
898
898
|
};
|
|
899
899
|
RTCQualityJS.prototype.toString = function () {
|
|
900
|
-
return 'RTCQualityJS(callQuality=' + this.
|
|
900
|
+
return 'RTCQualityJS(callQuality=' + this.g2g_1 + ')';
|
|
901
901
|
};
|
|
902
902
|
RTCQualityJS.prototype.hashCode = function () {
|
|
903
|
-
return this.
|
|
903
|
+
return this.g2g_1.hashCode();
|
|
904
904
|
};
|
|
905
905
|
RTCQualityJS.prototype.equals = function (other) {
|
|
906
906
|
if (this === other)
|
|
@@ -908,46 +908,46 @@
|
|
|
908
908
|
if (!(other instanceof RTCQualityJS))
|
|
909
909
|
return false;
|
|
910
910
|
var tmp0_other_with_cast = other instanceof RTCQualityJS ? other : THROW_CCE();
|
|
911
|
-
if (!this.
|
|
911
|
+
if (!this.g2g_1.equals(tmp0_other_with_cast.g2g_1))
|
|
912
912
|
return false;
|
|
913
913
|
return true;
|
|
914
914
|
};
|
|
915
915
|
RTCQualityJS.$metadata$ = classMeta('RTCQualityJS');
|
|
916
916
|
Object.defineProperty(RTCQualityJS.prototype, 'mos_score', {
|
|
917
917
|
configurable: true,
|
|
918
|
-
get: RTCQualityJS.prototype.
|
|
918
|
+
get: RTCQualityJS.prototype.q2g
|
|
919
919
|
});
|
|
920
920
|
Object.defineProperty(RTCQualityJS.prototype, 'quality_percentage', {
|
|
921
921
|
configurable: true,
|
|
922
|
-
get: RTCQualityJS.prototype.
|
|
922
|
+
get: RTCQualityJS.prototype.r2g
|
|
923
923
|
});
|
|
924
924
|
Object.defineProperty(RTCQualityJS.prototype, 'jitter_min_var', {
|
|
925
925
|
configurable: true,
|
|
926
|
-
get: RTCQualityJS.prototype.
|
|
926
|
+
get: RTCQualityJS.prototype.s2g
|
|
927
927
|
});
|
|
928
928
|
Object.defineProperty(RTCQualityJS.prototype, 'jitter_max_var', {
|
|
929
929
|
configurable: true,
|
|
930
|
-
get: RTCQualityJS.prototype.
|
|
930
|
+
get: RTCQualityJS.prototype.t2g
|
|
931
931
|
});
|
|
932
932
|
Object.defineProperty(RTCQualityJS.prototype, 'jitter_loss_rate', {
|
|
933
933
|
configurable: true,
|
|
934
|
-
get: RTCQualityJS.prototype.
|
|
934
|
+
get: RTCQualityJS.prototype.u2g
|
|
935
935
|
});
|
|
936
936
|
Object.defineProperty(RTCQualityJS.prototype, 'jitter_burst_rate', {
|
|
937
937
|
configurable: true,
|
|
938
|
-
get: RTCQualityJS.prototype.
|
|
938
|
+
get: RTCQualityJS.prototype.v2g
|
|
939
939
|
});
|
|
940
940
|
Object.defineProperty(RTCQualityJS.prototype, 'flaw_total', {
|
|
941
941
|
configurable: true,
|
|
942
|
-
get: RTCQualityJS.prototype.
|
|
942
|
+
get: RTCQualityJS.prototype.w2g
|
|
943
943
|
});
|
|
944
944
|
Object.defineProperty(RTCQualityJS.prototype, 'packet_cnt', {
|
|
945
945
|
configurable: true,
|
|
946
|
-
get: RTCQualityJS.prototype.
|
|
946
|
+
get: RTCQualityJS.prototype.x2g
|
|
947
947
|
});
|
|
948
948
|
Object.defineProperty(RTCQualityJS.prototype, 'packet_loss_perc', {
|
|
949
949
|
configurable: true,
|
|
950
|
-
get: RTCQualityJS.prototype.
|
|
950
|
+
get: RTCQualityJS.prototype.y2g
|
|
951
951
|
});
|
|
952
952
|
function HttpClientJSAdapter(js) {
|
|
953
953
|
return new HttpClientJSAdapter$1(js);
|
|
@@ -971,9 +971,9 @@
|
|
|
971
971
|
};
|
|
972
972
|
}
|
|
973
973
|
function HttpClientJSAdapter$1($js) {
|
|
974
|
-
this.
|
|
974
|
+
this.b2h_1 = $js;
|
|
975
975
|
}
|
|
976
|
-
HttpClientJSAdapter$1.prototype.
|
|
976
|
+
HttpClientJSAdapter$1.prototype.f27 = function (verb, url, headers, body, callback) {
|
|
977
977
|
var tmp = verb.toString();
|
|
978
978
|
var tmp$ret$1;
|
|
979
979
|
// Inline function 'kotlin.let' call
|
|
@@ -983,7 +983,7 @@
|
|
|
983
983
|
tmp$ret$0 = fromMap(JSON, headers);
|
|
984
984
|
tmp$ret$1 = tmp$ret$0;
|
|
985
985
|
var tmp_0 = tmp$ret$1;
|
|
986
|
-
this.
|
|
986
|
+
this.b2h_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
|
|
987
987
|
};
|
|
988
988
|
HttpClientJSAdapter$1.$metadata$ = classMeta(undefined, [HTTPClient]);
|
|
989
989
|
function SocketClientJSAdapter$o$emit$lambda($callback) {
|
|
@@ -1007,16 +1007,16 @@
|
|
|
1007
1007
|
};
|
|
1008
1008
|
}
|
|
1009
1009
|
function SocketClientJSAdapter$adapter$1($js) {
|
|
1010
|
-
this.
|
|
1011
|
-
this.
|
|
1010
|
+
this.d2h_1 = $js;
|
|
1011
|
+
this.c2h_1 = null;
|
|
1012
1012
|
}
|
|
1013
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
1014
|
-
this.
|
|
1013
|
+
SocketClientJSAdapter$adapter$1.prototype.i27 = function (_set____db54di) {
|
|
1014
|
+
this.c2h_1 = _set____db54di;
|
|
1015
1015
|
};
|
|
1016
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
1017
|
-
return this.
|
|
1016
|
+
SocketClientJSAdapter$adapter$1.prototype.e2h = function () {
|
|
1017
|
+
return this.c2h_1;
|
|
1018
1018
|
};
|
|
1019
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
1019
|
+
SocketClientJSAdapter$adapter$1.prototype.j27 = function (type, msg, callback) {
|
|
1020
1020
|
var tmp0_safe_receiver = msg;
|
|
1021
1021
|
var tmp;
|
|
1022
1022
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1032,30 +1032,30 @@
|
|
|
1032
1032
|
tmp = tmp$ret$1;
|
|
1033
1033
|
}
|
|
1034
1034
|
var tmp_0 = tmp;
|
|
1035
|
-
this.
|
|
1035
|
+
this.d2h_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
|
|
1036
1036
|
};
|
|
1037
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
1038
|
-
this.
|
|
1037
|
+
SocketClientJSAdapter$adapter$1.prototype.k27 = function (host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, session_id, query) {
|
|
1038
|
+
this.d2h_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, query);
|
|
1039
1039
|
};
|
|
1040
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
1041
|
-
this.
|
|
1040
|
+
SocketClientJSAdapter$adapter$1.prototype.l27 = function () {
|
|
1041
|
+
this.d2h_1.disconnect();
|
|
1042
1042
|
};
|
|
1043
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
1044
|
-
this.
|
|
1043
|
+
SocketClientJSAdapter$adapter$1.prototype.m27 = function (token) {
|
|
1044
|
+
this.d2h_1.setConnectParamsSocketConfig(token);
|
|
1045
1045
|
};
|
|
1046
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
1047
|
-
this.
|
|
1046
|
+
SocketClientJSAdapter$adapter$1.prototype.n27 = function (milliseconds, callback) {
|
|
1047
|
+
this.d2h_1.startVerifyResponseTimer(milliseconds, callback);
|
|
1048
1048
|
};
|
|
1049
1049
|
SocketClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [SocketClient]);
|
|
1050
1050
|
function SocketClientJSAdapter$1($adapter) {
|
|
1051
|
-
this.
|
|
1051
|
+
this.f2h_1 = $adapter;
|
|
1052
1052
|
}
|
|
1053
1053
|
SocketClientJSAdapter$1.prototype.didReceiveNewSocketEvent = function (type, body) {
|
|
1054
|
-
var tmp0_safe_receiver = this.
|
|
1054
|
+
var tmp0_safe_receiver = this.f2h_1.c2h_1;
|
|
1055
1055
|
if (tmp0_safe_receiver == null)
|
|
1056
1056
|
null;
|
|
1057
1057
|
else {
|
|
1058
|
-
tmp0_safe_receiver.
|
|
1058
|
+
tmp0_safe_receiver.m29(new UnknownSocketEvent(body, type));
|
|
1059
1059
|
}
|
|
1060
1060
|
};
|
|
1061
1061
|
SocketClientJSAdapter$1.prototype.didReceiveNewSocketConnectionStatusEvent = function (type, reason) {
|
|
@@ -1089,60 +1089,60 @@
|
|
|
1089
1089
|
var tmp;
|
|
1090
1090
|
switch (tmp0_subject_0) {
|
|
1091
1091
|
case 'NXMCORE_REASON_SERVER_DISCONNECTED':
|
|
1092
|
-
var tmp1_safe_receiver_0 = this.
|
|
1092
|
+
var tmp1_safe_receiver_0 = this.f2h_1.c2h_1;
|
|
1093
1093
|
var tmp_0;
|
|
1094
1094
|
if (tmp1_safe_receiver_0 == null) {
|
|
1095
1095
|
tmp_0 = null;
|
|
1096
1096
|
} else {
|
|
1097
|
-
tmp1_safe_receiver_0.
|
|
1097
|
+
tmp1_safe_receiver_0.n29(tmp1_safe_receiver, SocketConnectionFailedReason_ServerDisconnected_getInstance());
|
|
1098
1098
|
tmp_0 = Unit_getInstance();
|
|
1099
1099
|
}
|
|
1100
1100
|
|
|
1101
1101
|
tmp = tmp_0;
|
|
1102
1102
|
break;
|
|
1103
1103
|
case 'NXMCORE_REASON_CLIENT_DISCONNECTED':
|
|
1104
|
-
var tmp2_safe_receiver = this.
|
|
1104
|
+
var tmp2_safe_receiver = this.f2h_1.c2h_1;
|
|
1105
1105
|
var tmp_1;
|
|
1106
1106
|
if (tmp2_safe_receiver == null) {
|
|
1107
1107
|
tmp_1 = null;
|
|
1108
1108
|
} else {
|
|
1109
|
-
tmp2_safe_receiver.
|
|
1109
|
+
tmp2_safe_receiver.n29(tmp1_safe_receiver, SocketConnectionFailedReason_ClientDisconnected_getInstance());
|
|
1110
1110
|
tmp_1 = Unit_getInstance();
|
|
1111
1111
|
}
|
|
1112
1112
|
|
|
1113
1113
|
tmp = tmp_1;
|
|
1114
1114
|
break;
|
|
1115
1115
|
case 'NXMCORE_CLIENT_NETWORK_ERROR':
|
|
1116
|
-
var tmp3_safe_receiver = this.
|
|
1116
|
+
var tmp3_safe_receiver = this.f2h_1.c2h_1;
|
|
1117
1117
|
var tmp_2;
|
|
1118
1118
|
if (tmp3_safe_receiver == null) {
|
|
1119
1119
|
tmp_2 = null;
|
|
1120
1120
|
} else {
|
|
1121
|
-
tmp3_safe_receiver.
|
|
1121
|
+
tmp3_safe_receiver.n29(tmp1_safe_receiver, SocketConnectionFailedReason_ClientNetworkError_getInstance());
|
|
1122
1122
|
tmp_2 = Unit_getInstance();
|
|
1123
1123
|
}
|
|
1124
1124
|
|
|
1125
1125
|
tmp = tmp_2;
|
|
1126
1126
|
break;
|
|
1127
1127
|
case 'NXMCORE_REASON_PING_TIMEOUT':
|
|
1128
|
-
var tmp4_safe_receiver = this.
|
|
1128
|
+
var tmp4_safe_receiver = this.f2h_1.c2h_1;
|
|
1129
1129
|
var tmp_3;
|
|
1130
1130
|
if (tmp4_safe_receiver == null) {
|
|
1131
1131
|
tmp_3 = null;
|
|
1132
1132
|
} else {
|
|
1133
|
-
tmp4_safe_receiver.
|
|
1133
|
+
tmp4_safe_receiver.n29(tmp1_safe_receiver, SocketConnectionFailedReason_PingTimeout_getInstance());
|
|
1134
1134
|
tmp_3 = Unit_getInstance();
|
|
1135
1135
|
}
|
|
1136
1136
|
|
|
1137
1137
|
tmp = tmp_3;
|
|
1138
1138
|
break;
|
|
1139
1139
|
default:
|
|
1140
|
-
var tmp5_safe_receiver = this.
|
|
1140
|
+
var tmp5_safe_receiver = this.f2h_1.c2h_1;
|
|
1141
1141
|
var tmp_4;
|
|
1142
1142
|
if (tmp5_safe_receiver == null) {
|
|
1143
1143
|
tmp_4 = null;
|
|
1144
1144
|
} else {
|
|
1145
|
-
tmp5_safe_receiver.
|
|
1145
|
+
tmp5_safe_receiver.n29(tmp1_safe_receiver, null);
|
|
1146
1146
|
tmp_4 = Unit_getInstance();
|
|
1147
1147
|
}
|
|
1148
1148
|
|
|
@@ -1155,28 +1155,28 @@
|
|
|
1155
1155
|
};
|
|
1156
1156
|
SocketClientJSAdapter$1.$metadata$ = classMeta();
|
|
1157
1157
|
function MediaClientJSAdapter$adapter$1($js) {
|
|
1158
|
-
this.
|
|
1158
|
+
this.g2h_1 = $js;
|
|
1159
1159
|
}
|
|
1160
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1161
|
-
this.
|
|
1160
|
+
MediaClientJSAdapter$adapter$1.prototype.q27 = function (closure) {
|
|
1161
|
+
this.g2h_1.enableMediaOutbound(closure);
|
|
1162
1162
|
};
|
|
1163
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1164
|
-
this.
|
|
1163
|
+
MediaClientJSAdapter$adapter$1.prototype.h2h = function (closure, offerSDP, rtcId) {
|
|
1164
|
+
this.g2h_1.enableMediaInbound(closure, offerSDP, rtcId);
|
|
1165
1165
|
};
|
|
1166
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1167
|
-
return this.
|
|
1166
|
+
MediaClientJSAdapter$adapter$1.prototype.r27 = function (closure, offerSDP, rtcId) {
|
|
1167
|
+
return this.h2h(closure, offerSDP, rtcId);
|
|
1168
1168
|
};
|
|
1169
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1170
|
-
this.
|
|
1169
|
+
MediaClientJSAdapter$adapter$1.prototype.s27 = function (id, sdp) {
|
|
1170
|
+
this.g2h_1.processAnswer(id, sdp);
|
|
1171
1171
|
};
|
|
1172
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1173
|
-
this.
|
|
1172
|
+
MediaClientJSAdapter$adapter$1.prototype.t27 = function (id) {
|
|
1173
|
+
this.g2h_1.disableMedia(id);
|
|
1174
1174
|
};
|
|
1175
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1176
|
-
this.
|
|
1175
|
+
MediaClientJSAdapter$adapter$1.prototype.u27 = function (id) {
|
|
1176
|
+
this.g2h_1.mute(id);
|
|
1177
1177
|
};
|
|
1178
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1179
|
-
this.
|
|
1178
|
+
MediaClientJSAdapter$adapter$1.prototype.v27 = function (id) {
|
|
1179
|
+
this.g2h_1.unmute(id);
|
|
1180
1180
|
};
|
|
1181
1181
|
MediaClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [MediaClient]);
|
|
1182
1182
|
function entriesOf(jsObject) {
|
|
@@ -1229,11 +1229,11 @@
|
|
|
1229
1229
|
// Inline function 'vonage.utils.fromMap.<anonymous>.<anonymous>' call
|
|
1230
1230
|
var tmp$ret$2;
|
|
1231
1231
|
// Inline function 'kotlin.collections.component1' call
|
|
1232
|
-
tmp$ret$2 = element.
|
|
1232
|
+
tmp$ret$2 = element.p1();
|
|
1233
1233
|
var k = tmp$ret$2;
|
|
1234
1234
|
var tmp$ret$3;
|
|
1235
1235
|
// Inline function 'kotlin.collections.component2' call
|
|
1236
|
-
tmp$ret$3 = element.
|
|
1236
|
+
tmp$ret$3 = element.r1();
|
|
1237
1237
|
var v = tmp$ret$3;
|
|
1238
1238
|
var tmp0_subject = k;
|
|
1239
1239
|
if (!(tmp0_subject == null) ? typeof tmp0_subject === 'string' : false) {
|
|
@@ -1256,8 +1256,8 @@
|
|
|
1256
1256
|
var item = tmp0_iterator_0.i();
|
|
1257
1257
|
var tmp$ret$6;
|
|
1258
1258
|
// Inline function 'vonage.utils.fromMap.<anonymous>' call
|
|
1259
|
-
var tmp = item.
|
|
1260
|
-
var tmp0_subject_0 = item.
|
|
1259
|
+
var tmp = item.p1();
|
|
1260
|
+
var tmp0_subject_0 = item.r1();
|
|
1261
1261
|
var tmp_0;
|
|
1262
1262
|
var tmp_1;
|
|
1263
1263
|
var tmp_2;
|
|
@@ -1272,13 +1272,13 @@
|
|
|
1272
1272
|
tmp_1 = !(tmp0_subject_0 == null) ? typeof tmp0_subject_0 === 'number' : false;
|
|
1273
1273
|
}
|
|
1274
1274
|
if (tmp_1) {
|
|
1275
|
-
tmp_0 = item.
|
|
1275
|
+
tmp_0 = item.r1();
|
|
1276
1276
|
} else {
|
|
1277
1277
|
if (!(tmp0_subject_0 == null) ? isInterface(tmp0_subject_0, Map) : false) {
|
|
1278
1278
|
var tmp_3;
|
|
1279
1279
|
try {
|
|
1280
1280
|
var tmp_4 = JSON;
|
|
1281
|
-
var tmp_5 = item.
|
|
1281
|
+
var tmp_5 = item.r1();
|
|
1282
1282
|
tmp_3 = fromMap(tmp_4, (!(tmp_5 == null) ? isInterface(tmp_5, Map) : false) ? tmp_5 : THROW_CCE());
|
|
1283
1283
|
} catch ($p) {
|
|
1284
1284
|
var tmp_6;
|