@vonage/client-sdk 1.0.0-rc.3 → 1.0.0-rc.5
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/client/VonageClient.d.ts +1 -0
- package/dist/client/index.cjs +4768 -1216
- package/dist/client/index.mjs +4754 -1202
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +30 -5
- package/dist/vonageClientSDK.js +74139 -73979
- package/dist/vonageClientSDK.min.js +2 -2
- package/dist/vonageClientSDK.min.mjs +2 -2
- package/dist/vonageClientSDK.mjs +851 -691
- package/package.json +1 -1
- package/rollup.config.js +1 -1
package/dist/vonageClientSDK.mjs
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
/******************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
17
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
18
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
19
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
20
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
21
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
22
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
|
|
1
26
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
27
|
|
|
3
28
|
function getAugmentedNamespace(n) {
|
|
@@ -21428,6 +21453,8 @@ function requireClientsdkClientcore () {
|
|
|
21428
21453
|
SessionErrorReason.prototype.constructor = SessionErrorReason;
|
|
21429
21454
|
VoiceInviteCancelReason.prototype = Object.create(Enum.prototype);
|
|
21430
21455
|
VoiceInviteCancelReason.prototype.constructor = VoiceInviteCancelReason;
|
|
21456
|
+
HangupReason.prototype = Object.create(Enum.prototype);
|
|
21457
|
+
HangupReason.prototype.constructor = HangupReason;
|
|
21431
21458
|
LegStatus.prototype = Object.create(Enum.prototype);
|
|
21432
21459
|
LegStatus.prototype.constructor = LegStatus;
|
|
21433
21460
|
VoiceChannelType.prototype = Object.create(Enum.prototype);
|
|
@@ -46643,8 +46670,8 @@ function requireClientsdkClientcore () {
|
|
|
46643
46670
|
function VoiceClientListener() {
|
|
46644
46671
|
}
|
|
46645
46672
|
VoiceClientListener.$metadata$ = interfaceMeta('VoiceClientListener');
|
|
46646
|
-
var
|
|
46647
|
-
var
|
|
46673
|
+
var VoiceInviteCancelReason_AnsweredElsewhere_instance;
|
|
46674
|
+
var VoiceInviteCancelReason_RejectedElsewhere_instance;
|
|
46648
46675
|
var VoiceInviteCancelReason_RemoteCancel_instance;
|
|
46649
46676
|
var VoiceInviteCancelReason_RemoteTimeout_instance;
|
|
46650
46677
|
var VoiceInviteCancelReason_entriesInitialized;
|
|
@@ -46652,8 +46679,8 @@ function requireClientsdkClientcore () {
|
|
|
46652
46679
|
if (VoiceInviteCancelReason_entriesInitialized)
|
|
46653
46680
|
return Unit_getInstance();
|
|
46654
46681
|
VoiceInviteCancelReason_entriesInitialized = true;
|
|
46655
|
-
|
|
46656
|
-
|
|
46682
|
+
VoiceInviteCancelReason_AnsweredElsewhere_instance = new VoiceInviteCancelReason('AnsweredElsewhere', 0);
|
|
46683
|
+
VoiceInviteCancelReason_RejectedElsewhere_instance = new VoiceInviteCancelReason('RejectedElsewhere', 1);
|
|
46657
46684
|
VoiceInviteCancelReason_RemoteCancel_instance = new VoiceInviteCancelReason('RemoteCancel', 2);
|
|
46658
46685
|
VoiceInviteCancelReason_RemoteTimeout_instance = new VoiceInviteCancelReason('RemoteTimeout', 3);
|
|
46659
46686
|
}
|
|
@@ -46661,6 +46688,23 @@ function requireClientsdkClientcore () {
|
|
|
46661
46688
|
Enum.call(this, name, ordinal);
|
|
46662
46689
|
}
|
|
46663
46690
|
VoiceInviteCancelReason.$metadata$ = classMeta('VoiceInviteCancelReason', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
46691
|
+
var HangupReason_remoteReject_instance;
|
|
46692
|
+
var HangupReason_remoteHangup_instance;
|
|
46693
|
+
var HangupReason_localHangup_instance;
|
|
46694
|
+
var HangupReason_entriesInitialized;
|
|
46695
|
+
function HangupReason_initEntries() {
|
|
46696
|
+
if (HangupReason_entriesInitialized)
|
|
46697
|
+
return Unit_getInstance();
|
|
46698
|
+
HangupReason_entriesInitialized = true;
|
|
46699
|
+
HangupReason_remoteReject_instance = new HangupReason('remoteReject', 0);
|
|
46700
|
+
HangupReason_remoteHangup_instance = new HangupReason('remoteHangup', 1);
|
|
46701
|
+
HangupReason_localHangup_instance = new HangupReason('localHangup', 2);
|
|
46702
|
+
new HangupReason('mediaTimeout', 3);
|
|
46703
|
+
}
|
|
46704
|
+
function HangupReason(name, ordinal) {
|
|
46705
|
+
Enum.call(this, name, ordinal);
|
|
46706
|
+
}
|
|
46707
|
+
HangupReason.$metadata$ = classMeta('HangupReason', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
46664
46708
|
var LegStatus_ringing_instance;
|
|
46665
46709
|
var LegStatus_answered_instance;
|
|
46666
46710
|
var LegStatus_completed_instance;
|
|
@@ -46712,9 +46756,9 @@ function requireClientsdkClientcore () {
|
|
|
46712
46756
|
return Unit_getInstance();
|
|
46713
46757
|
};
|
|
46714
46758
|
}
|
|
46715
|
-
function VoiceAPIImpl$o$onRTCHangup$lambda($hangup, $
|
|
46759
|
+
function VoiceAPIImpl$o$onRTCHangup$lambda($hangup, $reason) {
|
|
46716
46760
|
return function (l, callId) {
|
|
46717
|
-
l.u2o(callId, $hangup.c1y_1, $
|
|
46761
|
+
l.u2o(callId, $hangup.c1y_1, $reason._v);
|
|
46718
46762
|
return Unit_getInstance();
|
|
46719
46763
|
};
|
|
46720
46764
|
}
|
|
@@ -46757,7 +46801,7 @@ function requireClientsdkClientcore () {
|
|
|
46757
46801
|
var callMemberShipState = call.a2p_1.s1();
|
|
46758
46802
|
var tmp_0;
|
|
46759
46803
|
if (callMemberShipState instanceof Joined) {
|
|
46760
|
-
action(callMemberShipState.
|
|
46804
|
+
action(callMemberShipState.e2p_1, callMemberShipState.f2p_1);
|
|
46761
46805
|
tmp_0 = null;
|
|
46762
46806
|
} else {
|
|
46763
46807
|
tmp_0 = Companion_getInstance_107().t2f(InternalError_InvalidCallAction_getInstance());
|
|
@@ -46765,12 +46809,12 @@ function requireClientsdkClientcore () {
|
|
|
46765
46809
|
return tmp_0;
|
|
46766
46810
|
}
|
|
46767
46811
|
function getCallStateByLeg($this, legId) {
|
|
46768
|
-
var state = ensureNotNull($this.
|
|
46769
|
-
return state.
|
|
46812
|
+
var state = ensureNotNull($this.h2p_1.z2f(getKClass(CallReducer)));
|
|
46813
|
+
return state.l2p_1.g2(legId);
|
|
46770
46814
|
}
|
|
46771
46815
|
function getCallStateByConversation($this, cid) {
|
|
46772
|
-
var state = ensureNotNull($this.
|
|
46773
|
-
var tmp0_safe_receiver = state.
|
|
46816
|
+
var state = ensureNotNull($this.h2p_1.z2f(getKClass(CallReducer)));
|
|
46817
|
+
var tmp0_safe_receiver = state.m2p_1.g2(cid);
|
|
46774
46818
|
var tmp;
|
|
46775
46819
|
if (tmp0_safe_receiver == null) {
|
|
46776
46820
|
tmp = null;
|
|
@@ -46787,16 +46831,16 @@ function requireClientsdkClientcore () {
|
|
|
46787
46831
|
return tmp;
|
|
46788
46832
|
}
|
|
46789
46833
|
function getLegIdByConversation($this, cid) {
|
|
46790
|
-
var state = ensureNotNull($this.
|
|
46791
|
-
return state.
|
|
46834
|
+
var state = ensureNotNull($this.h2p_1.z2f(getKClass(CallReducer)));
|
|
46835
|
+
return state.m2p_1.g2(cid);
|
|
46792
46836
|
}
|
|
46793
46837
|
function isFromMe($this, userId) {
|
|
46794
|
-
var state = ensureNotNull($this.
|
|
46838
|
+
var state = ensureNotNull($this.h2p_1.z2f(getKClass(SessionReducer)));
|
|
46795
46839
|
var tmp0_safe_receiver = state.a2g_1.s1().n1k();
|
|
46796
46840
|
return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f2g_1) === userId;
|
|
46797
46841
|
}
|
|
46798
46842
|
function invokeListener($this, conversationId, givenLegId, fn) {
|
|
46799
|
-
var tmp0_safe_receiver = $this.
|
|
46843
|
+
var tmp0_safe_receiver = $this.k2p_1;
|
|
46800
46844
|
if (tmp0_safe_receiver == null)
|
|
46801
46845
|
;
|
|
46802
46846
|
else {
|
|
@@ -46848,7 +46892,7 @@ function requireClientsdkClientcore () {
|
|
|
46848
46892
|
var legId = tmp_2;
|
|
46849
46893
|
var tmp4_subject = legId;
|
|
46850
46894
|
if (tmp4_subject == null) {
|
|
46851
|
-
$this.
|
|
46895
|
+
$this.j2p_1.m1a('Call Id for Conversation Id: ' + conversationId + ' was not found');
|
|
46852
46896
|
Unit_getInstance();
|
|
46853
46897
|
} else {
|
|
46854
46898
|
fn(tmp0_safe_receiver, legId);
|
|
@@ -46863,11 +46907,11 @@ function requireClientsdkClientcore () {
|
|
|
46863
46907
|
function onCallMediaChange($this, callState) {
|
|
46864
46908
|
var tmp = callState.b2p_1;
|
|
46865
46909
|
if (tmp instanceof Failed) {
|
|
46866
|
-
$this.
|
|
46910
|
+
$this.h2p_1.b1d(Action_init_$Create$(new MediaDisable(callState.z2o_1)));
|
|
46867
46911
|
} else {
|
|
46868
46912
|
var tmp_0 = callState.b2p_1.s1();
|
|
46869
46913
|
if (tmp_0 instanceof Completed) {
|
|
46870
|
-
$this.
|
|
46914
|
+
$this.h2p_1.b1d(Action_init_$Create$(new MediaDisable(callState.z2o_1)));
|
|
46871
46915
|
} else {
|
|
46872
46916
|
var tmp_1;
|
|
46873
46917
|
var tmp_2 = callState.b2p_1.s1();
|
|
@@ -46882,7 +46926,7 @@ function requireClientsdkClientcore () {
|
|
|
46882
46926
|
var tmp_4 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g2('to');
|
|
46883
46927
|
var tmp1_elvis_lhs = (!(tmp_4 == null) ? typeof tmp_4 === 'string' : false) ? tmp_4 : null;
|
|
46884
46928
|
var tmp_5 = new AppKnockingRequest(callState.x2o_1, new PhoneChannelEndpoint(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs), callState.b2p_1.s1().v1k(), callState.y2o_1);
|
|
46885
|
-
$this.
|
|
46929
|
+
$this.h2p_1.b1d(new Action(tmp_5, ActionMeta_init_$Create$(null, callState.z2o_1, VoiceAPIImpl$onCallMediaChange$lambda($this, callState), 1, null)));
|
|
46886
46930
|
}
|
|
46887
46931
|
}
|
|
46888
46932
|
}
|
|
@@ -46892,17 +46936,17 @@ function requireClientsdkClientcore () {
|
|
|
46892
46936
|
if (tmp0_subject instanceof Failed) {
|
|
46893
46937
|
var tmp1_subject = callState.a2p_1.s1();
|
|
46894
46938
|
if (tmp1_subject instanceof Knocking) {
|
|
46895
|
-
$this.
|
|
46939
|
+
$this.h2p_1.b1d(Action_init_$Create$(new MediaDisable(callState.z2o_1)));
|
|
46896
46940
|
} else {
|
|
46897
46941
|
if (tmp1_subject instanceof Left) {
|
|
46898
|
-
$this.
|
|
46942
|
+
$this.h2p_1.b1d(Action_init_$Create$(new MediaDisable(callState.z2o_1)));
|
|
46899
46943
|
}
|
|
46900
46944
|
}
|
|
46901
46945
|
}
|
|
46902
46946
|
}
|
|
46903
46947
|
function getCallDetailsAndDispatchCallReconnect($this, legId, callback) {
|
|
46904
46948
|
var tmp = new GetLegRequest(legId);
|
|
46905
|
-
$this.
|
|
46949
|
+
$this.h2p_1.b1d(new Action(tmp, ActionMeta_init_$Create$(null, legId, VoiceAPIImpl$getCallDetailsAndDispatchCallReconnect$lambda($this, callback, legId), 1, null)));
|
|
46906
46950
|
}
|
|
46907
46951
|
function VoiceAPIImpl$getLeg$lambda($callback) {
|
|
46908
46952
|
return function (response) {
|
|
@@ -46927,8 +46971,8 @@ function requireClientsdkClientcore () {
|
|
|
46927
46971
|
}
|
|
46928
46972
|
function VoiceAPIImpl$serverCall$lambda$lambda$lambda(this$0, $legId, $callback, $cancel) {
|
|
46929
46973
|
return function () {
|
|
46930
|
-
var state = ensureNotNull(this$0.
|
|
46931
|
-
var tmp0_safe_receiver = state.
|
|
46974
|
+
var state = ensureNotNull(this$0.h2p_1.z2f(getKClass(CallReducer)));
|
|
46975
|
+
var tmp0_safe_receiver = state.l2p_1.g2($legId);
|
|
46932
46976
|
if (tmp0_safe_receiver == null)
|
|
46933
46977
|
;
|
|
46934
46978
|
else {
|
|
@@ -46957,7 +47001,7 @@ function requireClientsdkClientcore () {
|
|
|
46957
47001
|
;
|
|
46958
47002
|
else
|
|
46959
47003
|
tmp0_safe_receiver_1();
|
|
46960
|
-
this$0.
|
|
47004
|
+
this$0.h2p_1.b1d(Action_init_$Create$(new CallCleanup($legId)));
|
|
46961
47005
|
Unit_getInstance();
|
|
46962
47006
|
} else {
|
|
46963
47007
|
Unit_getInstance();
|
|
@@ -46979,7 +47023,7 @@ function requireClientsdkClientcore () {
|
|
|
46979
47023
|
var legId = it;
|
|
46980
47024
|
var cancel = {_v: null};
|
|
46981
47025
|
var tmp_0 = getKClass(CallReducer);
|
|
46982
|
-
cancel._v = this$0.
|
|
47026
|
+
cancel._v = this$0.h2p_1.d2k(tmp_0, VoiceAPIImpl$serverCall$lambda$lambda(this$0, legId, $callback, cancel));
|
|
46983
47027
|
Unit_getInstance();
|
|
46984
47028
|
} else {
|
|
46985
47029
|
var tmp_1;
|
|
@@ -46999,10 +47043,10 @@ function requireClientsdkClientcore () {
|
|
|
46999
47043
|
}
|
|
47000
47044
|
function VoiceAPIImpl$reconnectCall$lambda$lambda(this$0, $callId, $once, $callback) {
|
|
47001
47045
|
return function () {
|
|
47002
|
-
var state = ensureNotNull(this$0.
|
|
47003
|
-
var tmp0_safe_receiver = state.
|
|
47046
|
+
var state = ensureNotNull(this$0.h2p_1.z2f(getKClass(CallReducer)));
|
|
47047
|
+
var tmp0_safe_receiver = state.l2p_1.g2($callId);
|
|
47004
47048
|
var legState = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b2p_1;
|
|
47005
|
-
var call = state.
|
|
47049
|
+
var call = state.l2p_1.g2($callId);
|
|
47006
47050
|
var tmp1_safe_receiver = legState;
|
|
47007
47051
|
var tmp2_subject = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.s1();
|
|
47008
47052
|
if (tmp2_subject instanceof Started) {
|
|
@@ -47057,8 +47101,8 @@ function requireClientsdkClientcore () {
|
|
|
47057
47101
|
if (tmp0_subject instanceof Exception) {
|
|
47058
47102
|
$callback(Companion_getInstance_107().t2f(it));
|
|
47059
47103
|
} else {
|
|
47060
|
-
var tmp_0 = new SetupInboundCall($callId, $invite.
|
|
47061
|
-
this$0.
|
|
47104
|
+
var tmp_0 = new SetupInboundCall($callId, $invite.s2p_1, $invite.r2p_1, $invite.p2p_1, ensureNotNull($invite.t2p_1), null);
|
|
47105
|
+
this$0.h2p_1.b1d(new Action(tmp_0, ActionMeta_init_$Create$(null, null, VoiceAPIImpl$answerCall$lambda$lambda($callback), 3, null)));
|
|
47062
47106
|
Unit_getInstance();
|
|
47063
47107
|
}
|
|
47064
47108
|
return Unit_getInstance();
|
|
@@ -47078,7 +47122,7 @@ function requireClientsdkClientcore () {
|
|
|
47078
47122
|
function VoiceAPIImpl$hangupCall$lambda(this$0, $reasonText, $reasonCode, $callId, $callback) {
|
|
47079
47123
|
return function (cid, mid) {
|
|
47080
47124
|
var tmp = new MemberKickRequest(cid, mid, $reasonText, $reasonCode);
|
|
47081
|
-
this$0.
|
|
47125
|
+
this$0.h2p_1.b1d(new Action(tmp, ActionMeta_init_$Create$(null, $callId, VoiceAPIImpl$hangupCall$lambda$lambda($callback), 1, null)));
|
|
47082
47126
|
return Unit_getInstance();
|
|
47083
47127
|
};
|
|
47084
47128
|
}
|
|
@@ -47095,9 +47139,9 @@ function requireClientsdkClientcore () {
|
|
|
47095
47139
|
}
|
|
47096
47140
|
function VoiceAPIImpl$mute$lambda(this$0, $callId, $callback) {
|
|
47097
47141
|
return function (cid, mid) {
|
|
47098
|
-
this$0.
|
|
47142
|
+
this$0.h2p_1.b1d(Action_init_$Create$(new Mute($callId)));
|
|
47099
47143
|
var tmp = new LegMuteRequest(cid, $callId, mid);
|
|
47100
|
-
this$0.
|
|
47144
|
+
this$0.h2p_1.b1d(new Action(tmp, ActionMeta_init_$Create$(null, $callId, VoiceAPIImpl$mute$lambda$lambda($callback), 1, null)));
|
|
47101
47145
|
return Unit_getInstance();
|
|
47102
47146
|
};
|
|
47103
47147
|
}
|
|
@@ -47114,9 +47158,9 @@ function requireClientsdkClientcore () {
|
|
|
47114
47158
|
}
|
|
47115
47159
|
function VoiceAPIImpl$unmute$lambda(this$0, $callId, $callback) {
|
|
47116
47160
|
return function (cid, mid) {
|
|
47117
|
-
this$0.
|
|
47161
|
+
this$0.h2p_1.b1d(Action_init_$Create$(new Unmute($callId)));
|
|
47118
47162
|
var tmp = new LegUnmuteRequest(cid, $callId, mid);
|
|
47119
|
-
this$0.
|
|
47163
|
+
this$0.h2p_1.b1d(new Action(tmp, ActionMeta_init_$Create$(null, $callId, VoiceAPIImpl$unmute$lambda$lambda($callback), 1, null)));
|
|
47120
47164
|
return Unit_getInstance();
|
|
47121
47165
|
};
|
|
47122
47166
|
}
|
|
@@ -47133,9 +47177,9 @@ function requireClientsdkClientcore () {
|
|
|
47133
47177
|
}
|
|
47134
47178
|
function VoiceAPIImpl$enableEarmuff$lambda(this$0, $callId, $callback) {
|
|
47135
47179
|
return function (cid, mid) {
|
|
47136
|
-
this$0.
|
|
47180
|
+
this$0.h2p_1.b1d(Action_init_$Create$(new EnableEarmuff($callId)));
|
|
47137
47181
|
var tmp = new LegEarmuffEnableRequest(cid, $callId, mid);
|
|
47138
|
-
this$0.
|
|
47182
|
+
this$0.h2p_1.b1d(new Action(tmp, ActionMeta_init_$Create$(null, $callId, VoiceAPIImpl$enableEarmuff$lambda$lambda($callback), 1, null)));
|
|
47139
47183
|
return Unit_getInstance();
|
|
47140
47184
|
};
|
|
47141
47185
|
}
|
|
@@ -47152,9 +47196,9 @@ function requireClientsdkClientcore () {
|
|
|
47152
47196
|
}
|
|
47153
47197
|
function VoiceAPIImpl$disableEarmuff$lambda(this$0, $callId, $callback) {
|
|
47154
47198
|
return function (cid, mid) {
|
|
47155
|
-
this$0.
|
|
47199
|
+
this$0.h2p_1.b1d(Action_init_$Create$(new DisableEarmuff($callId)));
|
|
47156
47200
|
var tmp = new LegEarmuffDisableRequest(cid, $callId, mid);
|
|
47157
|
-
this$0.
|
|
47201
|
+
this$0.h2p_1.b1d(new Action(tmp, ActionMeta_init_$Create$(null, $callId, VoiceAPIImpl$disableEarmuff$lambda$lambda($callback), 1, null)));
|
|
47158
47202
|
return Unit_getInstance();
|
|
47159
47203
|
};
|
|
47160
47204
|
}
|
|
@@ -47171,9 +47215,9 @@ function requireClientsdkClientcore () {
|
|
|
47171
47215
|
}
|
|
47172
47216
|
function VoiceAPIImpl$sendDTMF$lambda(this$0, $callId, $digits, $callback) {
|
|
47173
47217
|
return function (cid, mid) {
|
|
47174
|
-
this$0.
|
|
47218
|
+
this$0.h2p_1.b1d(Action_init_$Create$(new DisableEarmuff($callId)));
|
|
47175
47219
|
var tmp = new LegDTMFRequest(cid, $callId, mid, $digits);
|
|
47176
|
-
this$0.
|
|
47220
|
+
this$0.h2p_1.b1d(new Action(tmp, ActionMeta_init_$Create$(null, $callId, VoiceAPIImpl$sendDTMF$lambda$lambda($callback), 1, null)));
|
|
47177
47221
|
return Unit_getInstance();
|
|
47178
47222
|
};
|
|
47179
47223
|
}
|
|
@@ -47191,26 +47235,26 @@ function requireClientsdkClientcore () {
|
|
|
47191
47235
|
function VoiceAPIImpl$say$lambda(this$0, $text, $level, $loop, $queue, $voiceName, $ssml, $callId, $callback) {
|
|
47192
47236
|
return function (cid, mid) {
|
|
47193
47237
|
var tmp = new AudioSayRequest(cid, mid, $text, $level, $loop, $queue, $voiceName, $ssml);
|
|
47194
|
-
this$0.
|
|
47238
|
+
this$0.h2p_1.b1d(new Action(tmp, ActionMeta_init_$Create$(null, $callId, VoiceAPIImpl$say$lambda$lambda($callback), 1, null)));
|
|
47195
47239
|
return Unit_getInstance();
|
|
47196
47240
|
};
|
|
47197
47241
|
}
|
|
47198
47242
|
function VoiceAPIImpl$1(this$0) {
|
|
47199
|
-
this.
|
|
47243
|
+
this.y2p_1 = this$0;
|
|
47200
47244
|
}
|
|
47201
47245
|
VoiceAPIImpl$1.prototype.q2f = function (conversationId, legId, isMuted) {
|
|
47202
|
-
invokeListener$default(this.
|
|
47246
|
+
invokeListener$default(this.y2p_1, conversationId, null, VoiceAPIImpl$o$onAudioMuteUpdate$lambda(legId, isMuted), 4);
|
|
47203
47247
|
};
|
|
47204
47248
|
VoiceAPIImpl$1.prototype.r2f = function (conversationId, legId, earmuffStatus) {
|
|
47205
|
-
invokeListener$default(this.
|
|
47249
|
+
invokeListener$default(this.y2p_1, conversationId, null, VoiceAPIImpl$o$onAudioEarmuffUpdate$lambda(legId, earmuffStatus), 4);
|
|
47206
47250
|
};
|
|
47207
47251
|
VoiceAPIImpl$1.prototype.s2f = function (conversationId, legId, digits) {
|
|
47208
47252
|
var tmp0_elvis_lhs = legId;
|
|
47209
47253
|
var leg_id = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
47210
|
-
invokeListener$default(this.
|
|
47254
|
+
invokeListener$default(this.y2p_1, conversationId, null, VoiceAPIImpl$o$onAudioDTMFUpdate$lambda(leg_id, digits), 4);
|
|
47211
47255
|
};
|
|
47212
47256
|
VoiceAPIImpl$1.prototype.m2f = function (conversationId, legId, hangup) {
|
|
47213
|
-
var state = ensureNotNull(this.
|
|
47257
|
+
var state = ensureNotNull(this.y2p_1.h2p_1.z2f(getKClass(InviteReducer)));
|
|
47214
47258
|
var tmp0_safe_receiver = legId;
|
|
47215
47259
|
var tmp;
|
|
47216
47260
|
if (tmp0_safe_receiver == null) {
|
|
@@ -47221,28 +47265,35 @@ function requireClientsdkClientcore () {
|
|
|
47221
47265
|
// Inline function 'kotlin.contracts.contract' call
|
|
47222
47266
|
var tmp$ret$0;
|
|
47223
47267
|
// Inline function 'com.vonage.clientcore.core.api.<no name provided>.onRTCHangup.<anonymous>' call
|
|
47224
|
-
tmp$ret$0 = getCallStateByLeg(this.
|
|
47268
|
+
tmp$ret$0 = getCallStateByLeg(this.y2p_1, tmp0_safe_receiver);
|
|
47225
47269
|
tmp$ret$1 = tmp$ret$0;
|
|
47226
47270
|
tmp = tmp$ret$1;
|
|
47227
47271
|
}
|
|
47228
47272
|
var call = tmp;
|
|
47273
|
+
var reason = {_v: HangupReason_localHangup_getInstance()};
|
|
47229
47274
|
if (!(call == null)) {
|
|
47230
|
-
|
|
47231
|
-
|
|
47232
|
-
|
|
47233
|
-
|
|
47275
|
+
if (call.a2p_1.c2q() === null) {
|
|
47276
|
+
reason._v = HangupReason_remoteHangup_getInstance();
|
|
47277
|
+
}
|
|
47278
|
+
invokeListener$default(this.y2p_1, conversationId, null, VoiceAPIImpl$o$onRTCHangup$lambda(hangup, reason), 4);
|
|
47279
|
+
} else if (!(legId == null) ? getLegIdByConversation(this.y2p_1, conversationId) == legId : false) {
|
|
47280
|
+
var invite = state.z2p_1.g2(legId);
|
|
47281
|
+
var tmp1_safe_receiver = invite;
|
|
47282
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u2p_1;
|
|
47283
|
+
if ((tmp2_safe_receiver == null ? null : tmp2_safe_receiver.c2q()) == null) {
|
|
47284
|
+
reason._v = HangupReason_remoteReject_getInstance();
|
|
47285
|
+
}
|
|
47286
|
+
var tmp3_safe_receiver = this.y2p_1.k2p_1;
|
|
47234
47287
|
if (tmp3_safe_receiver == null)
|
|
47235
47288
|
;
|
|
47236
47289
|
else {
|
|
47237
|
-
|
|
47238
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.v2p_1;
|
|
47239
|
-
tmp3_safe_receiver.u2o(legId, hangup.c1y_1, (tmp2_safe_receiver == null ? null : tmp2_safe_receiver.e2p()) == null);
|
|
47290
|
+
tmp3_safe_receiver.u2o(legId, hangup.c1y_1, reason._v);
|
|
47240
47291
|
}
|
|
47241
47292
|
}
|
|
47242
47293
|
// Inline function 'kotlin.collections.forEach' call
|
|
47243
47294
|
var tmp$ret$5;
|
|
47244
47295
|
// Inline function 'kotlin.collections.filter' call
|
|
47245
|
-
var tmp0_filter = state.
|
|
47296
|
+
var tmp0_filter = state.z2p_1;
|
|
47246
47297
|
var tmp$ret$4;
|
|
47247
47298
|
// Inline function 'kotlin.collections.filterTo' call
|
|
47248
47299
|
var tmp0_filterTo = LinkedHashMap_init_$Create$();
|
|
@@ -47254,7 +47305,7 @@ function requireClientsdkClientcore () {
|
|
|
47254
47305
|
var element = tmp0_iterator.i();
|
|
47255
47306
|
var tmp$ret$3;
|
|
47256
47307
|
// Inline function 'com.vonage.clientcore.core.api.<no name provided>.onRTCHangup.<anonymous>' call
|
|
47257
|
-
tmp$ret$3 = !(element.s1().
|
|
47308
|
+
tmp$ret$3 = !(element.s1().q2p_1 === legId) ? element.s1().w2p_1 : false;
|
|
47258
47309
|
if (tmp$ret$3) {
|
|
47259
47310
|
tmp0_filterTo.l(element.q1(), element.s1());
|
|
47260
47311
|
}
|
|
@@ -47269,22 +47320,22 @@ function requireClientsdkClientcore () {
|
|
|
47269
47320
|
while (tmp0_iterator_0.h()) {
|
|
47270
47321
|
var element_0 = tmp0_iterator_0.i();
|
|
47271
47322
|
// Inline function 'com.vonage.clientcore.core.api.<no name provided>.onRTCHangup.<anonymous>' call
|
|
47272
|
-
this.
|
|
47323
|
+
this.y2p_1.h2p_1.b1d(Action_init_$Create$(new InviteCleanup(element_0.q1())));
|
|
47273
47324
|
}
|
|
47274
47325
|
};
|
|
47275
47326
|
VoiceAPIImpl$1.prototype.o2f = function (conversationId, legId, fromUserId, status) {
|
|
47276
|
-
if (!(conversationId == null) ? !isFromMe(this.
|
|
47277
|
-
invokeListener(this.
|
|
47327
|
+
if (!(conversationId == null) ? !isFromMe(this.y2p_1, fromUserId) : false) {
|
|
47328
|
+
invokeListener(this.y2p_1, conversationId, legId, VoiceAPIImpl$o$onLegStatusUpdate$lambda(legId, status));
|
|
47278
47329
|
}
|
|
47279
47330
|
};
|
|
47280
47331
|
VoiceAPIImpl$1.prototype.n2f = function (conversationId, legId) {
|
|
47281
|
-
invokeListener$default(this.
|
|
47332
|
+
invokeListener$default(this.y2p_1, conversationId, null, VoiceAPIImpl$o$onRTCTransfer$lambda(legId, conversationId), 4);
|
|
47282
47333
|
};
|
|
47283
47334
|
VoiceAPIImpl$1.$metadata$ = classMeta(undefined, [EventListener]);
|
|
47284
47335
|
function VoiceAPIImpl$lambda$lambda(this$0, $cache) {
|
|
47285
47336
|
return function () {
|
|
47286
|
-
var state = ensureNotNull(this$0.
|
|
47287
|
-
var tmp0_safe_receiver = state.
|
|
47337
|
+
var state = ensureNotNull(this$0.h2p_1.z2f(getKClass(InviteReducer)));
|
|
47338
|
+
var tmp0_safe_receiver = state.b2q_1;
|
|
47288
47339
|
var tmp;
|
|
47289
47340
|
if (tmp0_safe_receiver == null) {
|
|
47290
47341
|
tmp = null;
|
|
@@ -47296,41 +47347,41 @@ function requireClientsdkClientcore () {
|
|
|
47296
47347
|
// Inline function 'com.vonage.clientcore.core.api.VoiceAPIImpl.<anonymous>.<anonymous>.<anonymous>' call
|
|
47297
47348
|
var tmp$ret$0;
|
|
47298
47349
|
// Inline function 'kotlin.collections.get' call
|
|
47299
|
-
var tmp0_get = state.
|
|
47300
|
-
var tmp1_get = state.
|
|
47350
|
+
var tmp0_get = state.z2p_1;
|
|
47351
|
+
var tmp1_get = state.b2q_1;
|
|
47301
47352
|
tmp$ret$0 = (isInterface(tmp0_get, Map) ? tmp0_get : THROW_CCE()).g2(tmp1_get);
|
|
47302
47353
|
tmp$ret$1 = tmp$ret$0;
|
|
47303
47354
|
tmp$ret$2 = tmp$ret$1;
|
|
47304
47355
|
tmp = tmp$ret$2;
|
|
47305
47356
|
}
|
|
47306
47357
|
var updatedInvite = tmp;
|
|
47307
|
-
if (state.
|
|
47358
|
+
if (state.b2q_1 == null) {
|
|
47308
47359
|
Unit_getInstance();
|
|
47309
47360
|
} else {
|
|
47310
47361
|
var tmp_1;
|
|
47311
47362
|
if (!(updatedInvite == null)) {
|
|
47312
47363
|
var tmp$ret$3;
|
|
47313
47364
|
// Inline function 'kotlin.collections.get' call
|
|
47314
|
-
var tmp0_get_0 = state.
|
|
47365
|
+
var tmp0_get_0 = state.b2q_1;
|
|
47315
47366
|
tmp$ret$3 = (isInterface($cache, Map) ? $cache : THROW_CCE()).g2(tmp0_get_0);
|
|
47316
47367
|
tmp_1 = tmp$ret$3 == null;
|
|
47317
47368
|
} else {
|
|
47318
47369
|
tmp_1 = false;
|
|
47319
47370
|
}
|
|
47320
47371
|
if (tmp_1) {
|
|
47321
|
-
var tmp2_set = updatedInvite.
|
|
47372
|
+
var tmp2_set = updatedInvite.q2p_1;
|
|
47322
47373
|
var tmp$ret$4;
|
|
47323
47374
|
// Inline function 'kotlin.also' call
|
|
47324
47375
|
var tmp1_also = updatedInvite.h2q(null, null, null, null, null, null, false, false, 0, 511, null);
|
|
47325
47376
|
// Inline function 'kotlin.contracts.contract' call
|
|
47326
47377
|
// Inline function 'com.vonage.clientcore.core.api.VoiceAPIImpl.<anonymous>.<anonymous>.<anonymous>' call
|
|
47327
|
-
var config = ensureNotNull(this$0.
|
|
47328
|
-
if (config.n2q_1 ? tmp1_also.
|
|
47329
|
-
var tmp0_safe_receiver_0 = this$0.
|
|
47378
|
+
var config = ensureNotNull(this$0.h2p_1.z2f(getKClass(ConfigReducer)));
|
|
47379
|
+
if (config.n2q_1 ? tmp1_also.v2p_1 : false) {
|
|
47380
|
+
var tmp0_safe_receiver_0 = this$0.k2p_1;
|
|
47330
47381
|
if (tmp0_safe_receiver_0 == null)
|
|
47331
47382
|
;
|
|
47332
47383
|
else {
|
|
47333
|
-
tmp0_safe_receiver_0.o2o(updatedInvite.
|
|
47384
|
+
tmp0_safe_receiver_0.o2o(updatedInvite.q2p_1, from_1(tmp1_also.p2p_1), tmp1_also.p2p_1.i2q());
|
|
47334
47385
|
}
|
|
47335
47386
|
}
|
|
47336
47387
|
tmp$ret$4 = tmp1_also;
|
|
@@ -47342,33 +47393,33 @@ function requireClientsdkClientcore () {
|
|
|
47342
47393
|
var tmp_3;
|
|
47343
47394
|
var tmp_4;
|
|
47344
47395
|
if (!(updatedInvite == null)) {
|
|
47345
|
-
var tmp_5 = updatedInvite.
|
|
47396
|
+
var tmp_5 = updatedInvite.u2p_1.s1();
|
|
47346
47397
|
tmp_4 = tmp_5 instanceof Joined;
|
|
47347
47398
|
} else {
|
|
47348
47399
|
tmp_4 = false;
|
|
47349
47400
|
}
|
|
47350
47401
|
if (tmp_4) {
|
|
47351
|
-
tmp_3 = updatedInvite.
|
|
47402
|
+
tmp_3 = updatedInvite.u2p_1.c2q() == null;
|
|
47352
47403
|
} else {
|
|
47353
47404
|
tmp_3 = false;
|
|
47354
47405
|
}
|
|
47355
47406
|
if (tmp_3) {
|
|
47356
47407
|
var tmp$ret$5;
|
|
47357
47408
|
// Inline function 'kotlin.collections.get' call
|
|
47358
|
-
var tmp4_get = state.
|
|
47409
|
+
var tmp4_get = state.b2q_1;
|
|
47359
47410
|
tmp$ret$5 = (isInterface($cache, Map) ? $cache : THROW_CCE()).g2(tmp4_get);
|
|
47360
47411
|
var tmp1_safe_receiver = tmp$ret$5;
|
|
47361
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
47412
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u2p_1;
|
|
47362
47413
|
tmp_2 = equals(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.s1(), None_getInstance_2());
|
|
47363
47414
|
} else {
|
|
47364
47415
|
tmp_2 = false;
|
|
47365
47416
|
}
|
|
47366
47417
|
if (tmp_2) {
|
|
47367
|
-
var tmp3_safe_receiver = this$0.
|
|
47418
|
+
var tmp3_safe_receiver = this$0.k2p_1;
|
|
47368
47419
|
if (tmp3_safe_receiver == null)
|
|
47369
47420
|
;
|
|
47370
47421
|
else {
|
|
47371
|
-
tmp3_safe_receiver.p2o(updatedInvite.
|
|
47422
|
+
tmp3_safe_receiver.p2o(updatedInvite.q2p_1, VoiceInviteCancelReason_AnsweredElsewhere_getInstance());
|
|
47372
47423
|
}
|
|
47373
47424
|
Unit_getInstance();
|
|
47374
47425
|
} else {
|
|
@@ -47377,23 +47428,23 @@ function requireClientsdkClientcore () {
|
|
|
47377
47428
|
if (!(updatedInvite == null)) {
|
|
47378
47429
|
var tmp$ret$6;
|
|
47379
47430
|
// Inline function 'kotlin.collections.get' call
|
|
47380
|
-
var tmp5_get = state.
|
|
47431
|
+
var tmp5_get = state.b2q_1;
|
|
47381
47432
|
tmp$ret$6 = (isInterface($cache, Map) ? $cache : THROW_CCE()).g2(tmp5_get);
|
|
47382
47433
|
var tmp6_safe_receiver = tmp$ret$6;
|
|
47383
|
-
var tmp_8 = (tmp6_safe_receiver == null ? null : tmp6_safe_receiver.
|
|
47434
|
+
var tmp_8 = (tmp6_safe_receiver == null ? null : tmp6_safe_receiver.w2p_1) === false;
|
|
47384
47435
|
var tmp$ret$7;
|
|
47385
47436
|
// Inline function 'kotlin.collections.get' call
|
|
47386
|
-
var tmp6_get = state.
|
|
47437
|
+
var tmp6_get = state.b2q_1;
|
|
47387
47438
|
tmp$ret$7 = (isInterface($cache, Map) ? $cache : THROW_CCE()).g2(tmp6_get);
|
|
47388
47439
|
var tmp4_safe_receiver = tmp$ret$7;
|
|
47389
|
-
var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.
|
|
47440
|
+
var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.u2p_1;
|
|
47390
47441
|
tmp_7 = !!(tmp_8 ^ equals(tmp5_safe_receiver == null ? null : tmp5_safe_receiver.s1(), None_getInstance_2()));
|
|
47391
47442
|
} else {
|
|
47392
47443
|
tmp_7 = false;
|
|
47393
47444
|
}
|
|
47394
47445
|
if (tmp_7) {
|
|
47395
|
-
var tmp_9 = updatedInvite.
|
|
47396
|
-
var tmp_10 = updatedInvite.
|
|
47446
|
+
var tmp_9 = updatedInvite.w2p_1;
|
|
47447
|
+
var tmp_10 = updatedInvite.u2p_1.s1();
|
|
47397
47448
|
tmp_6 = !!(tmp_9 & tmp_10 instanceof Left);
|
|
47398
47449
|
} else {
|
|
47399
47450
|
tmp_6 = false;
|
|
@@ -47403,14 +47454,14 @@ function requireClientsdkClientcore () {
|
|
|
47403
47454
|
var tmp_12;
|
|
47404
47455
|
var tmp$ret$8;
|
|
47405
47456
|
// Inline function 'kotlin.collections.get' call
|
|
47406
|
-
var tmp7_get = state.
|
|
47457
|
+
var tmp7_get = state.b2q_1;
|
|
47407
47458
|
tmp$ret$8 = (isInterface($cache, Map) ? $cache : THROW_CCE()).g2(tmp7_get);
|
|
47408
47459
|
if (!(tmp$ret$8 == null)) {
|
|
47409
47460
|
var tmp$ret$9;
|
|
47410
47461
|
// Inline function 'kotlin.collections.get' call
|
|
47411
|
-
var tmp8_get = state.
|
|
47462
|
+
var tmp8_get = state.b2q_1;
|
|
47412
47463
|
tmp$ret$9 = (isInterface($cache, Map) ? $cache : THROW_CCE()).g2(tmp8_get);
|
|
47413
|
-
var tmp_13 = ensureNotNull(tmp$ret$9).
|
|
47464
|
+
var tmp_13 = ensureNotNull(tmp$ret$9).u2p_1.s1();
|
|
47414
47465
|
tmp_12 = tmp_13 instanceof Joined;
|
|
47415
47466
|
} else {
|
|
47416
47467
|
tmp_12 = false;
|
|
@@ -47418,14 +47469,14 @@ function requireClientsdkClientcore () {
|
|
|
47418
47469
|
if (tmp_12) {
|
|
47419
47470
|
tmp_11 = null;
|
|
47420
47471
|
} else {
|
|
47421
|
-
if (!(updatedInvite.
|
|
47472
|
+
if (!(updatedInvite.u2p_1.c2q() == null)) {
|
|
47422
47473
|
tmp_11 = null;
|
|
47423
47474
|
} else {
|
|
47424
|
-
var tmp_14 = updatedInvite.
|
|
47475
|
+
var tmp_14 = updatedInvite.u2p_1.s1();
|
|
47425
47476
|
if ((tmp_14 instanceof Left ? tmp_14 : THROW_CCE()).g2q_1 === 'REMOTE_REJECT') {
|
|
47426
|
-
tmp_11 =
|
|
47477
|
+
tmp_11 = VoiceInviteCancelReason_RejectedElsewhere_getInstance();
|
|
47427
47478
|
} else {
|
|
47428
|
-
if (updatedInvite.
|
|
47479
|
+
if (updatedInvite.x2p_1 === 487) {
|
|
47429
47480
|
tmp_11 = VoiceInviteCancelReason_RemoteTimeout_getInstance();
|
|
47430
47481
|
} else {
|
|
47431
47482
|
tmp_11 = VoiceInviteCancelReason_RemoteCancel_getInstance();
|
|
@@ -47439,9 +47490,9 @@ function requireClientsdkClientcore () {
|
|
|
47439
47490
|
;
|
|
47440
47491
|
else {
|
|
47441
47492
|
// Inline function 'com.vonage.clientcore.core.api.VoiceAPIImpl.<anonymous>.<anonymous>.<anonymous>' call
|
|
47442
|
-
var tmp0_safe_receiver_1 = this$0.
|
|
47493
|
+
var tmp0_safe_receiver_1 = this$0.k2p_1;
|
|
47443
47494
|
if (tmp0_safe_receiver_1 == null) ; else {
|
|
47444
|
-
tmp0_safe_receiver_1.p2o(updatedInvite.
|
|
47495
|
+
tmp0_safe_receiver_1.p2o(updatedInvite.q2p_1, tmp7_safe_receiver);
|
|
47445
47496
|
Unit_getInstance();
|
|
47446
47497
|
}
|
|
47447
47498
|
}
|
|
@@ -47451,7 +47502,7 @@ function requireClientsdkClientcore () {
|
|
|
47451
47502
|
if (updatedInvite == null) {
|
|
47452
47503
|
var tmp$ret$12;
|
|
47453
47504
|
// Inline function 'kotlin.collections.get' call
|
|
47454
|
-
var tmp9_get = state.
|
|
47505
|
+
var tmp9_get = state.b2q_1;
|
|
47455
47506
|
tmp$ret$12 = (isInterface($cache, Map) ? $cache : THROW_CCE()).g2(tmp9_get);
|
|
47456
47507
|
tmp_16 = !(tmp$ret$12 == null);
|
|
47457
47508
|
} else {
|
|
@@ -47459,7 +47510,7 @@ function requireClientsdkClientcore () {
|
|
|
47459
47510
|
}
|
|
47460
47511
|
if (tmp_16) {
|
|
47461
47512
|
// Inline function 'kotlin.collections.remove' call
|
|
47462
|
-
var tmp10_remove = state.
|
|
47513
|
+
var tmp10_remove = state.b2q_1;
|
|
47463
47514
|
(isInterface($cache, MutableMap) ? $cache : THROW_CCE()).g3(tmp10_remove);
|
|
47464
47515
|
Unit_getInstance();
|
|
47465
47516
|
} else {
|
|
@@ -47475,7 +47526,7 @@ function requireClientsdkClientcore () {
|
|
|
47475
47526
|
else {
|
|
47476
47527
|
// Inline function 'kotlin.let' call
|
|
47477
47528
|
// Inline function 'kotlin.contracts.contract' call
|
|
47478
|
-
var tmp0_set = tmp8_safe_receiver.
|
|
47529
|
+
var tmp0_set = tmp8_safe_receiver.q2p_1;
|
|
47479
47530
|
var tmp1_set = tmp8_safe_receiver.h2q(null, null, null, null, null, null, false, false, 0, 511, null);
|
|
47480
47531
|
$cache.l(tmp0_set, tmp1_set);
|
|
47481
47532
|
Unit_getInstance();
|
|
@@ -47494,8 +47545,8 @@ function requireClientsdkClientcore () {
|
|
|
47494
47545
|
}
|
|
47495
47546
|
function VoiceAPIImpl$lambda$lambda_0(this$0, $cache) {
|
|
47496
47547
|
return function () {
|
|
47497
|
-
var state = ensureNotNull(this$0.
|
|
47498
|
-
var tmp0_safe_receiver = state.
|
|
47548
|
+
var state = ensureNotNull(this$0.h2p_1.z2f(getKClass(CallReducer)));
|
|
47549
|
+
var tmp0_safe_receiver = state.o2p_1;
|
|
47499
47550
|
var tmp;
|
|
47500
47551
|
if (tmp0_safe_receiver == null) {
|
|
47501
47552
|
tmp = null;
|
|
@@ -47507,22 +47558,22 @@ function requireClientsdkClientcore () {
|
|
|
47507
47558
|
// Inline function 'com.vonage.clientcore.core.api.VoiceAPIImpl.<anonymous>.<anonymous>.<anonymous>' call
|
|
47508
47559
|
var tmp$ret$0;
|
|
47509
47560
|
// Inline function 'kotlin.collections.get' call
|
|
47510
|
-
var tmp0_get = state.
|
|
47511
|
-
var tmp1_get = state.
|
|
47561
|
+
var tmp0_get = state.l2p_1;
|
|
47562
|
+
var tmp1_get = state.o2p_1;
|
|
47512
47563
|
tmp$ret$0 = (isInterface(tmp0_get, Map) ? tmp0_get : THROW_CCE()).g2(tmp1_get);
|
|
47513
47564
|
tmp$ret$1 = tmp$ret$0;
|
|
47514
47565
|
tmp$ret$2 = tmp$ret$1;
|
|
47515
47566
|
tmp = tmp$ret$2;
|
|
47516
47567
|
}
|
|
47517
47568
|
var updatedCall = tmp;
|
|
47518
|
-
if (state.
|
|
47569
|
+
if (state.o2p_1 == null) {
|
|
47519
47570
|
Unit_getInstance();
|
|
47520
47571
|
} else {
|
|
47521
47572
|
var tmp_1;
|
|
47522
47573
|
if (!(updatedCall == null)) {
|
|
47523
47574
|
var tmp$ret$3;
|
|
47524
47575
|
// Inline function 'kotlin.collections.get' call
|
|
47525
|
-
var tmp0_get_0 = state.
|
|
47576
|
+
var tmp0_get_0 = state.o2p_1;
|
|
47526
47577
|
tmp$ret$3 = (isInterface($cache, Map) ? $cache : THROW_CCE()).g2(tmp0_get_0);
|
|
47527
47578
|
tmp_1 = tmp$ret$3 == null;
|
|
47528
47579
|
} else {
|
|
@@ -47538,7 +47589,7 @@ function requireClientsdkClientcore () {
|
|
|
47538
47589
|
if (!(updatedCall == null)) {
|
|
47539
47590
|
var tmp$ret$4;
|
|
47540
47591
|
// Inline function 'kotlin.collections.get' call
|
|
47541
|
-
var tmp3_get = state.
|
|
47592
|
+
var tmp3_get = state.o2p_1;
|
|
47542
47593
|
tmp$ret$4 = (isInterface($cache, Map) ? $cache : THROW_CCE()).g2(tmp3_get);
|
|
47543
47594
|
tmp_2 = !(tmp$ret$4 == null);
|
|
47544
47595
|
} else {
|
|
@@ -47547,7 +47598,7 @@ function requireClientsdkClientcore () {
|
|
|
47547
47598
|
if (tmp_2) {
|
|
47548
47599
|
var tmp$ret$5;
|
|
47549
47600
|
// Inline function 'kotlin.collections.get' call
|
|
47550
|
-
var tmp4_get = state.
|
|
47601
|
+
var tmp4_get = state.o2p_1;
|
|
47551
47602
|
tmp$ret$5 = (isInterface($cache, Map) ? $cache : THROW_CCE()).g2(tmp4_get);
|
|
47552
47603
|
var previousCall = ensureNotNull(tmp$ret$5);
|
|
47553
47604
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -47582,7 +47633,7 @@ function requireClientsdkClientcore () {
|
|
|
47582
47633
|
return function (it) {
|
|
47583
47634
|
var tmp0_subject = it;
|
|
47584
47635
|
if (tmp0_subject instanceof Exception) {
|
|
47585
|
-
this$0.
|
|
47636
|
+
this$0.h2p_1.b1d(Action_init_$Create$(new CallKnockingRequestFailure($callState.z2o_1, it)));
|
|
47586
47637
|
Unit_getInstance();
|
|
47587
47638
|
} else {
|
|
47588
47639
|
Unit_getInstance();
|
|
@@ -47597,14 +47648,14 @@ function requireClientsdkClientcore () {
|
|
|
47597
47648
|
var tmp1_subject = memberResponse.r1k_1;
|
|
47598
47649
|
var tmp0 = tmp1_subject.e4_1;
|
|
47599
47650
|
if (tmp0 === 1) {
|
|
47600
|
-
this$0.
|
|
47651
|
+
this$0.h2p_1.b1d(Action_init_$Create$(new CallReconnect($legId, memberResponse.q1k_1, $legResponse.w1e_1)));
|
|
47601
47652
|
Unit_getInstance();
|
|
47602
47653
|
} else {
|
|
47603
47654
|
$callback(Companion_getInstance_107().t2f(InternalError_MemberNotInConversation_getInstance()));
|
|
47604
47655
|
}
|
|
47605
47656
|
} else {
|
|
47606
47657
|
$callback(Companion_getInstance_107().t2f(InternalError_NoConversationFound_getInstance()));
|
|
47607
|
-
this$0.
|
|
47658
|
+
this$0.h2p_1.b1d(Action_init_$Create$(new CallCleanup($legId)));
|
|
47608
47659
|
Unit_getInstance();
|
|
47609
47660
|
}
|
|
47610
47661
|
return Unit_getInstance();
|
|
@@ -47615,32 +47666,32 @@ function requireClientsdkClientcore () {
|
|
|
47615
47666
|
var tmp0_subject = legResponse;
|
|
47616
47667
|
if (tmp0_subject instanceof GetLeg) {
|
|
47617
47668
|
var tmp_0 = new GetMyMemberRequest(legResponse.w1e_1);
|
|
47618
|
-
this$0.
|
|
47669
|
+
this$0.h2p_1.b1d(new Action(tmp_0, ActionMeta_init_$Create$(null, legResponse.v1e_1, VoiceAPIImpl$getCallDetailsAndDispatchCallReconnect$lambda$lambda(this$0, $legId, legResponse, $callback), 1, null)));
|
|
47619
47670
|
Unit_getInstance();
|
|
47620
47671
|
} else {
|
|
47621
47672
|
$callback(Companion_getInstance_107().t2f(InternalError_NoLegFound_getInstance()));
|
|
47622
|
-
this$0.
|
|
47673
|
+
this$0.h2p_1.b1d(Action_init_$Create$(new CallCleanup($legId)));
|
|
47623
47674
|
Unit_getInstance();
|
|
47624
47675
|
}
|
|
47625
47676
|
return Unit_getInstance();
|
|
47626
47677
|
};
|
|
47627
47678
|
}
|
|
47628
47679
|
function VoiceAPIImpl(store, events, logger) {
|
|
47629
|
-
this.
|
|
47630
|
-
this.
|
|
47631
|
-
this.
|
|
47632
|
-
this.
|
|
47633
|
-
this.
|
|
47680
|
+
this.h2p_1 = store;
|
|
47681
|
+
this.i2p_1 = events;
|
|
47682
|
+
this.j2p_1 = logger;
|
|
47683
|
+
this.k2p_1 = null;
|
|
47684
|
+
this.i2p_1.a1d(new VoiceAPIImpl$1(this));
|
|
47634
47685
|
var tmp = getKClass(InviteReducer);
|
|
47635
|
-
this.
|
|
47686
|
+
this.h2p_1.d2k(tmp, VoiceAPIImpl$lambda(this));
|
|
47636
47687
|
var tmp_0 = getKClass(CallReducer);
|
|
47637
|
-
this.
|
|
47688
|
+
this.h2p_1.d2k(tmp_0, VoiceAPIImpl$lambda_0(this));
|
|
47638
47689
|
}
|
|
47639
47690
|
VoiceAPIImpl.prototype.v1a = function (listener) {
|
|
47640
|
-
this.
|
|
47691
|
+
this.k2p_1 = listener;
|
|
47641
47692
|
};
|
|
47642
47693
|
VoiceAPIImpl.prototype.y1a = function (legId, callback) {
|
|
47643
|
-
var sessionState = ensureNotNull(this.
|
|
47694
|
+
var sessionState = ensureNotNull(this.h2p_1.z2f(getKClass(SessionReducer)));
|
|
47644
47695
|
var tmp0_subject = sessionState.a2g_1.s1();
|
|
47645
47696
|
var tmp;
|
|
47646
47697
|
if (tmp0_subject instanceof Active) {
|
|
@@ -47661,10 +47712,10 @@ function requireClientsdkClientcore () {
|
|
|
47661
47712
|
if (tmp1_elvis_lhs == null)
|
|
47662
47713
|
return Unit_getInstance();
|
|
47663
47714
|
var tmp_1 = new GetLegRequest(legId);
|
|
47664
|
-
this.
|
|
47715
|
+
this.h2p_1.b1d(new Action(tmp_1, ActionMeta_init_$Create$(null, null, VoiceAPIImpl$getLeg$lambda(callback), 3, null)));
|
|
47665
47716
|
};
|
|
47666
47717
|
VoiceAPIImpl.prototype.w1a = function (context, callback) {
|
|
47667
|
-
var sessionState = ensureNotNull(this.
|
|
47718
|
+
var sessionState = ensureNotNull(this.h2p_1.z2f(getKClass(SessionReducer)));
|
|
47668
47719
|
var s = sessionState.a2g_1.s1();
|
|
47669
47720
|
var tmp;
|
|
47670
47721
|
if (s instanceof Active) {
|
|
@@ -47690,19 +47741,19 @@ function requireClientsdkClientcore () {
|
|
|
47690
47741
|
}
|
|
47691
47742
|
var user = tmp_1;
|
|
47692
47743
|
var tmp_2 = new SetupOutboundCall(user, context);
|
|
47693
|
-
this.
|
|
47744
|
+
this.h2p_1.b1d(new Action(tmp_2, ActionMeta_init_$Create$(null, null, VoiceAPIImpl$serverCall$lambda(this, callback), 3, null)));
|
|
47694
47745
|
};
|
|
47695
47746
|
VoiceAPIImpl.prototype.x1a = function (callId, callback) {
|
|
47696
47747
|
var once = {_v: null};
|
|
47697
47748
|
var tmp = getKClass(CallReducer);
|
|
47698
|
-
once._v = this.
|
|
47699
|
-
var sessionState = this.
|
|
47749
|
+
once._v = this.h2p_1.d2k(tmp, VoiceAPIImpl$reconnectCall$lambda(this, callId, once, callback));
|
|
47750
|
+
var sessionState = this.h2p_1.z2f(getKClass(SessionReducer));
|
|
47700
47751
|
var tmp0_safe_receiver = sessionState;
|
|
47701
47752
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a2g_1;
|
|
47702
47753
|
var tmp2_subject = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.s1();
|
|
47703
47754
|
if (tmp2_subject instanceof Active) {
|
|
47704
|
-
var callState = ensureNotNull(this.
|
|
47705
|
-
var call = callState.
|
|
47755
|
+
var callState = ensureNotNull(this.h2p_1.z2f(getKClass(CallReducer)));
|
|
47756
|
+
var call = callState.l2p_1.g2(callId);
|
|
47706
47757
|
var tmp3_safe_receiver = call;
|
|
47707
47758
|
var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.a2p_1;
|
|
47708
47759
|
var tmp_0 = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.s1();
|
|
@@ -47710,7 +47761,7 @@ function requireClientsdkClientcore () {
|
|
|
47710
47761
|
if (call == null ? true : memberState == null) {
|
|
47711
47762
|
getCallDetailsAndDispatchCallReconnect(this, callId, callback);
|
|
47712
47763
|
} else {
|
|
47713
|
-
this.
|
|
47764
|
+
this.h2p_1.b1d(Action_init_$Create$(new CallReconnect(callId, memberState.f2p_1, memberState.e2p_1)));
|
|
47714
47765
|
}
|
|
47715
47766
|
} else {
|
|
47716
47767
|
var tmp_1 = Companion_getInstance_107();
|
|
@@ -47718,63 +47769,63 @@ function requireClientsdkClientcore () {
|
|
|
47718
47769
|
}
|
|
47719
47770
|
};
|
|
47720
47771
|
VoiceAPIImpl.prototype.z1a = function (callId, callback) {
|
|
47721
|
-
var invite = ensureNotNull(this.
|
|
47772
|
+
var invite = ensureNotNull(this.h2p_1.z2f(getKClass(InviteReducer))).z2p_1.g2(callId);
|
|
47722
47773
|
if (invite == null) {
|
|
47723
47774
|
callback(Companion_getInstance_107().t2f(InternalError_NoInviteFound_getInstance()));
|
|
47724
47775
|
return Unit_getInstance();
|
|
47725
47776
|
}
|
|
47726
47777
|
var tmp;
|
|
47727
47778
|
var tmp_0;
|
|
47728
|
-
var tmp_1 = invite.
|
|
47779
|
+
var tmp_1 = invite.u2p_1;
|
|
47729
47780
|
if (tmp_1 instanceof Pending) {
|
|
47730
47781
|
tmp_0 = true;
|
|
47731
47782
|
} else {
|
|
47732
|
-
var tmp_2 = invite.
|
|
47783
|
+
var tmp_2 = invite.u2p_1.s1();
|
|
47733
47784
|
tmp_0 = tmp_2 instanceof Joined;
|
|
47734
47785
|
}
|
|
47735
47786
|
if (tmp_0) {
|
|
47736
47787
|
tmp = true;
|
|
47737
47788
|
} else {
|
|
47738
|
-
var tmp_3 = invite.
|
|
47789
|
+
var tmp_3 = invite.u2p_1.s1();
|
|
47739
47790
|
tmp = tmp_3 instanceof Left;
|
|
47740
47791
|
}
|
|
47741
47792
|
if (tmp) {
|
|
47742
47793
|
callback(Companion_getInstance_107().t2f(InternalError_InvalidCallAction_getInstance()));
|
|
47743
47794
|
return Unit_getInstance();
|
|
47744
47795
|
}
|
|
47745
|
-
var tmp_4 = new MemberKickRequest(invite.
|
|
47746
|
-
this.
|
|
47796
|
+
var tmp_4 = new MemberKickRequest(invite.s2p_1, invite.r2p_1, 'call-rejected-by-callee', 'REMOTE_REJECT');
|
|
47797
|
+
this.h2p_1.b1d(new Action(tmp_4, ActionMeta_init_$Create$(null, callId, VoiceAPIImpl$rejectCall$lambda(callback), 1, null)));
|
|
47747
47798
|
};
|
|
47748
47799
|
VoiceAPIImpl.prototype.a1b = function (callId, callback) {
|
|
47749
|
-
var invite = ensureNotNull(this.
|
|
47800
|
+
var invite = ensureNotNull(this.h2p_1.z2f(getKClass(InviteReducer))).z2p_1.g2(callId);
|
|
47750
47801
|
if (invite == null) {
|
|
47751
47802
|
callback(Companion_getInstance_107().t2f(InternalError_NoInviteFound_getInstance()));
|
|
47752
47803
|
return Unit_getInstance();
|
|
47753
47804
|
}
|
|
47754
47805
|
var tmp;
|
|
47755
47806
|
var tmp_0;
|
|
47756
|
-
var tmp_1 = invite.
|
|
47807
|
+
var tmp_1 = invite.u2p_1;
|
|
47757
47808
|
if (tmp_1 instanceof Pending) {
|
|
47758
47809
|
tmp_0 = true;
|
|
47759
47810
|
} else {
|
|
47760
|
-
var tmp_2 = invite.
|
|
47811
|
+
var tmp_2 = invite.u2p_1.s1();
|
|
47761
47812
|
tmp_0 = tmp_2 instanceof Joined;
|
|
47762
47813
|
}
|
|
47763
47814
|
if (tmp_0) {
|
|
47764
47815
|
tmp = true;
|
|
47765
47816
|
} else {
|
|
47766
|
-
var tmp_3 = invite.
|
|
47817
|
+
var tmp_3 = invite.u2p_1.s1();
|
|
47767
47818
|
tmp = tmp_3 instanceof Left;
|
|
47768
47819
|
}
|
|
47769
47820
|
if (tmp) {
|
|
47770
47821
|
callback(Companion_getInstance_107().t2f(InternalError_InvalidCallAction_getInstance()));
|
|
47771
47822
|
return Unit_getInstance();
|
|
47772
47823
|
}
|
|
47773
|
-
var tmp_4 = new MemberJoinRequest(invite.
|
|
47774
|
-
this.
|
|
47824
|
+
var tmp_4 = new MemberJoinRequest(invite.s2p_1, invite.r2p_1);
|
|
47825
|
+
this.h2p_1.b1d(new Action(tmp_4, ActionMeta_init_$Create$(null, callId, VoiceAPIImpl$answerCall$lambda(callback, this, callId, invite), 1, null)));
|
|
47775
47826
|
};
|
|
47776
47827
|
VoiceAPIImpl.prototype.b1b = function (callId, reasonText, reasonCode, callback) {
|
|
47777
|
-
var call = ensureNotNull(this.
|
|
47828
|
+
var call = ensureNotNull(this.h2p_1.z2f(getKClass(CallReducer))).l2p_1.g2(callId);
|
|
47778
47829
|
if (call == null) {
|
|
47779
47830
|
callback(Companion_getInstance_107().t2f(InternalError_NoCallFound_getInstance()));
|
|
47780
47831
|
return Unit_getInstance();
|
|
@@ -48179,13 +48230,13 @@ function requireClientsdkClientcore () {
|
|
|
48179
48230
|
return true;
|
|
48180
48231
|
};
|
|
48181
48232
|
MemberJoinInfo.$metadata$ = classMeta('MemberJoinInfo');
|
|
48182
|
-
function
|
|
48233
|
+
function VoiceInviteCancelReason_AnsweredElsewhere_getInstance() {
|
|
48183
48234
|
VoiceInviteCancelReason_initEntries();
|
|
48184
|
-
return
|
|
48235
|
+
return VoiceInviteCancelReason_AnsweredElsewhere_instance;
|
|
48185
48236
|
}
|
|
48186
|
-
function
|
|
48237
|
+
function VoiceInviteCancelReason_RejectedElsewhere_getInstance() {
|
|
48187
48238
|
VoiceInviteCancelReason_initEntries();
|
|
48188
|
-
return
|
|
48239
|
+
return VoiceInviteCancelReason_RejectedElsewhere_instance;
|
|
48189
48240
|
}
|
|
48190
48241
|
function VoiceInviteCancelReason_RemoteCancel_getInstance() {
|
|
48191
48242
|
VoiceInviteCancelReason_initEntries();
|
|
@@ -48195,6 +48246,18 @@ function requireClientsdkClientcore () {
|
|
|
48195
48246
|
VoiceInviteCancelReason_initEntries();
|
|
48196
48247
|
return VoiceInviteCancelReason_RemoteTimeout_instance;
|
|
48197
48248
|
}
|
|
48249
|
+
function HangupReason_remoteReject_getInstance() {
|
|
48250
|
+
HangupReason_initEntries();
|
|
48251
|
+
return HangupReason_remoteReject_instance;
|
|
48252
|
+
}
|
|
48253
|
+
function HangupReason_remoteHangup_getInstance() {
|
|
48254
|
+
HangupReason_initEntries();
|
|
48255
|
+
return HangupReason_remoteHangup_instance;
|
|
48256
|
+
}
|
|
48257
|
+
function HangupReason_localHangup_getInstance() {
|
|
48258
|
+
HangupReason_initEntries();
|
|
48259
|
+
return HangupReason_localHangup_instance;
|
|
48260
|
+
}
|
|
48198
48261
|
function LegStatus_ringing_getInstance() {
|
|
48199
48262
|
LegStatus_initEntries();
|
|
48200
48263
|
return LegStatus_ringing_instance;
|
|
@@ -52820,7 +52883,7 @@ function requireClientsdkClientcore () {
|
|
|
52820
52883
|
}
|
|
52821
52884
|
mediaActionMiddleware$2$1.prototype.r2x = function (rtcStats) {
|
|
52822
52885
|
var callState = ensureNotNull(this.f2x_1.z2f(getKClass(CallReducer)));
|
|
52823
|
-
var tmp0_safe_receiver = callState.
|
|
52886
|
+
var tmp0_safe_receiver = callState.l2p_1.g2(rtcStats.p2x_1);
|
|
52824
52887
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a2p_1;
|
|
52825
52888
|
var member = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.s1();
|
|
52826
52889
|
var tmp;
|
|
@@ -54532,7 +54595,7 @@ function requireClientsdkClientcore () {
|
|
|
54532
54595
|
var tmp;
|
|
54533
54596
|
var tmp_0 = this.a2g_1;
|
|
54534
54597
|
if (tmp_0 instanceof Pending) {
|
|
54535
|
-
tmp = this.a2g_1.
|
|
54598
|
+
tmp = this.a2g_1.c2q() === action.g2f_1.p1d_1.l1d_1;
|
|
54536
54599
|
} else {
|
|
54537
54600
|
tmp = false;
|
|
54538
54601
|
}
|
|
@@ -55160,7 +55223,7 @@ function requireClientsdkClientcore () {
|
|
|
55160
55223
|
}
|
|
55161
55224
|
function CallState$update$lambda($action, this$0) {
|
|
55162
55225
|
return function ($this$modify) {
|
|
55163
|
-
if ($action.p1z_1.z1z_1.m2j_1 === this$0.
|
|
55226
|
+
if ($action.p1z_1.z1z_1.m2j_1 === this$0.n2p_1) {
|
|
55164
55227
|
var tmp_1;
|
|
55165
55228
|
var tmp_2 = $this$modify.a2p_1.s1();
|
|
55166
55229
|
if (isInterface(tmp_2, CoreMemberStateWithCid)) {
|
|
@@ -55215,7 +55278,7 @@ function requireClientsdkClientcore () {
|
|
|
55215
55278
|
var tmp_1 = tmp0_also;
|
|
55216
55279
|
var tmp_2 = tmp0_also.a2p_1;
|
|
55217
55280
|
tmp_1.a2p_1 = toResolved(tmp_2, Joined_init_$Create$(tmp1_safe_receiver.v2r_1, tmp1_safe_receiver.w2r_1, null, 4, null));
|
|
55218
|
-
var tmp0_set = $this$new.
|
|
55281
|
+
var tmp0_set = $this$new.m2p_1;
|
|
55219
55282
|
var tmp1_set = tmp1_safe_receiver.v2r_1;
|
|
55220
55283
|
tmp0_set.l(tmp1_set, $id);
|
|
55221
55284
|
Unit_getInstance();
|
|
@@ -55248,7 +55311,7 @@ function requireClientsdkClientcore () {
|
|
|
55248
55311
|
var tmp = $this$modify;
|
|
55249
55312
|
var tmp_0 = $this$modify.a2p_1;
|
|
55250
55313
|
tmp.a2p_1 = toPending(tmp_0, Joined_init_$Create$($action.s1f_1, $action.t1f_1, null, 4, null), $requestId);
|
|
55251
|
-
var tmp0_set = this$0.
|
|
55314
|
+
var tmp0_set = this$0.m2p_1;
|
|
55252
55315
|
var tmp1_set = $action.s1f_1;
|
|
55253
55316
|
tmp0_set.l(tmp1_set, $callId);
|
|
55254
55317
|
return Unit_getInstance();
|
|
@@ -55259,8 +55322,8 @@ function requireClientsdkClientcore () {
|
|
|
55259
55322
|
var tmp = $this$modify;
|
|
55260
55323
|
var tmp_0 = Joined_init_$Create$($event.f23_1, $tmp0_safe_receiver, null, 4, null);
|
|
55261
55324
|
tmp.a2p_1 = Resolved_init_$Create$(tmp_0, null, 2, null);
|
|
55262
|
-
this$0.
|
|
55263
|
-
var tmp0_set = this$0.
|
|
55325
|
+
this$0.m2p_1.g3($event.d23_1.l23_1);
|
|
55326
|
+
var tmp0_set = this$0.m2p_1;
|
|
55264
55327
|
var tmp1_set = $event.f23_1;
|
|
55265
55328
|
tmp0_set.l(tmp1_set, $callId);
|
|
55266
55329
|
return Unit_getInstance();
|
|
@@ -55386,37 +55449,37 @@ function requireClientsdkClientcore () {
|
|
|
55386
55449
|
};
|
|
55387
55450
|
}
|
|
55388
55451
|
function CallState(calls, conversationIdToCallId, currentUserId) {
|
|
55389
|
-
this.
|
|
55390
|
-
this.
|
|
55391
|
-
this.
|
|
55392
|
-
this.
|
|
55452
|
+
this.l2p_1 = calls;
|
|
55453
|
+
this.m2p_1 = conversationIdToCallId;
|
|
55454
|
+
this.n2p_1 = currentUserId;
|
|
55455
|
+
this.o2p_1 = null;
|
|
55393
55456
|
}
|
|
55394
55457
|
CallState.prototype.j32 = function () {
|
|
55395
|
-
return this.
|
|
55458
|
+
return this.l2p_1;
|
|
55396
55459
|
};
|
|
55397
55460
|
CallState.prototype.k32 = function () {
|
|
55398
|
-
return this.
|
|
55461
|
+
return this.m2p_1;
|
|
55399
55462
|
};
|
|
55400
55463
|
CallState.prototype.l32 = function (_set____db54di) {
|
|
55401
|
-
this.
|
|
55464
|
+
this.n2p_1 = _set____db54di;
|
|
55402
55465
|
};
|
|
55403
55466
|
CallState.prototype.m32 = function () {
|
|
55404
|
-
return this.
|
|
55467
|
+
return this.n2p_1;
|
|
55405
55468
|
};
|
|
55406
55469
|
CallState.prototype.v2z = function () {
|
|
55407
|
-
return this.
|
|
55470
|
+
return this.l2p_1;
|
|
55408
55471
|
};
|
|
55409
55472
|
CallState.prototype.m2z = function (_set____db54di) {
|
|
55410
|
-
this.
|
|
55473
|
+
this.o2p_1 = _set____db54di;
|
|
55411
55474
|
};
|
|
55412
55475
|
CallState.prototype.n32 = function () {
|
|
55413
|
-
return this.
|
|
55476
|
+
return this.o2p_1;
|
|
55414
55477
|
};
|
|
55415
55478
|
CallState.prototype.toString = function () {
|
|
55416
|
-
var tmp = 'CallState(currentUserId=' + this.
|
|
55479
|
+
var tmp = 'CallState(currentUserId=' + this.n2p_1 + ',lastModified=' + this.o2p_1 + ',conversationIdToCallId=' + this.m2p_1 + ',';
|
|
55417
55480
|
var tmp$ret$3;
|
|
55418
55481
|
// Inline function 'kotlin.collections.map' call
|
|
55419
|
-
var tmp0_map = this.
|
|
55482
|
+
var tmp0_map = this.l2p_1;
|
|
55420
55483
|
var tmp$ret$2;
|
|
55421
55484
|
// Inline function 'kotlin.collections.mapTo' call
|
|
55422
55485
|
var tmp0_mapTo = ArrayList_init_$Create$(tmp0_map.f());
|
|
@@ -55440,8 +55503,8 @@ function requireClientsdkClientcore () {
|
|
|
55440
55503
|
// Inline function 'kotlin.apply' call
|
|
55441
55504
|
// Inline function 'kotlin.contracts.contract' call
|
|
55442
55505
|
// Inline function 'com.vonage.clientcore.core.reducers.call.CallState.update.<anonymous>' call
|
|
55443
|
-
this.
|
|
55444
|
-
this.
|
|
55506
|
+
this.n2p_1 = event.x23_1.e25_1;
|
|
55507
|
+
this.o2p_1 = null;
|
|
55445
55508
|
tmp$ret$0 = this;
|
|
55446
55509
|
return tmp$ret$0;
|
|
55447
55510
|
};
|
|
@@ -55462,7 +55525,7 @@ function requireClientsdkClientcore () {
|
|
|
55462
55525
|
// Inline function 'kotlin.collections.forEach' call
|
|
55463
55526
|
var tmp$ret$2;
|
|
55464
55527
|
// Inline function 'kotlin.collections.filterValues' call
|
|
55465
|
-
var tmp0_filterValues = this.
|
|
55528
|
+
var tmp0_filterValues = this.m2p_1;
|
|
55466
55529
|
var result = LinkedHashMap_init_$Create$();
|
|
55467
55530
|
var tmp$ret$0;
|
|
55468
55531
|
// Inline function 'kotlin.collections.iterator' call
|
|
@@ -55487,9 +55550,9 @@ function requireClientsdkClientcore () {
|
|
|
55487
55550
|
while (tmp0_iterator_0.h()) {
|
|
55488
55551
|
var element = tmp0_iterator_0.i();
|
|
55489
55552
|
// Inline function 'com.vonage.clientcore.core.reducers.call.CallState.update.<anonymous>.<anonymous>' call
|
|
55490
|
-
this.
|
|
55553
|
+
this.m2p_1.g3(element.q1());
|
|
55491
55554
|
}
|
|
55492
|
-
this.
|
|
55555
|
+
this.l2p_1.g3(callId);
|
|
55493
55556
|
tmp$ret$4 = this;
|
|
55494
55557
|
return tmp$ret$4;
|
|
55495
55558
|
};
|
|
@@ -55539,9 +55602,9 @@ function requireClientsdkClientcore () {
|
|
|
55539
55602
|
// Inline function 'kotlin.apply' call
|
|
55540
55603
|
// Inline function 'kotlin.contracts.contract' call
|
|
55541
55604
|
// Inline function 'com.vonage.clientcore.core.reducers.call.CallState.update.<anonymous>' call
|
|
55542
|
-
if (event.g24_1 == this.
|
|
55605
|
+
if (event.g24_1 == this.n2p_1) {
|
|
55543
55606
|
// Inline function 'kotlin.collections.set' call
|
|
55544
|
-
var tmp0_set = this.
|
|
55607
|
+
var tmp0_set = this.m2p_1;
|
|
55545
55608
|
var tmp1_set = event.f24_1;
|
|
55546
55609
|
tmp0_set.l(tmp1_set, id);
|
|
55547
55610
|
}
|
|
@@ -55554,9 +55617,9 @@ function requireClientsdkClientcore () {
|
|
|
55554
55617
|
// Inline function 'kotlin.apply' call
|
|
55555
55618
|
// Inline function 'kotlin.contracts.contract' call
|
|
55556
55619
|
// Inline function 'com.vonage.clientcore.core.reducers.call.CallState.update.<anonymous>' call
|
|
55557
|
-
if (event.b1z_1.k1z_1.s2j_1 === this.
|
|
55620
|
+
if (event.b1z_1.k1z_1.s2j_1 === this.n2p_1) {
|
|
55558
55621
|
// Inline function 'kotlin.collections.set' call
|
|
55559
|
-
var tmp0_set = this.
|
|
55622
|
+
var tmp0_set = this.m2p_1;
|
|
55560
55623
|
var tmp1_set = event.d1z_1;
|
|
55561
55624
|
tmp0_set.l(tmp1_set, id);
|
|
55562
55625
|
}
|
|
@@ -55569,9 +55632,9 @@ function requireClientsdkClientcore () {
|
|
|
55569
55632
|
// Inline function 'kotlin.apply' call
|
|
55570
55633
|
// Inline function 'kotlin.contracts.contract' call
|
|
55571
55634
|
// Inline function 'com.vonage.clientcore.core.reducers.call.CallState.update.<anonymous>' call
|
|
55572
|
-
if (event.h1y_1.t1y_1.t2j_1 === this.
|
|
55635
|
+
if (event.h1y_1.t1y_1.t2j_1 === this.n2p_1) {
|
|
55573
55636
|
// Inline function 'kotlin.collections.set' call
|
|
55574
|
-
var tmp0_set = this.
|
|
55637
|
+
var tmp0_set = this.m2p_1;
|
|
55575
55638
|
var tmp1_set = event.j1y_1;
|
|
55576
55639
|
tmp0_set.l(tmp1_set, id);
|
|
55577
55640
|
}
|
|
@@ -55615,9 +55678,9 @@ function requireClientsdkClientcore () {
|
|
|
55615
55678
|
return modify(this, id, CallState$update$lambda_20(action));
|
|
55616
55679
|
};
|
|
55617
55680
|
CallState.prototype.hashCode = function () {
|
|
55618
|
-
var result = hashCode(this.
|
|
55619
|
-
result = imul(result, 31) + hashCode(this.
|
|
55620
|
-
result = imul(result, 31) + (this.
|
|
55681
|
+
var result = hashCode(this.l2p_1);
|
|
55682
|
+
result = imul(result, 31) + hashCode(this.m2p_1) | 0;
|
|
55683
|
+
result = imul(result, 31) + (this.n2p_1 == null ? 0 : getStringHashCode(this.n2p_1)) | 0;
|
|
55621
55684
|
return result;
|
|
55622
55685
|
};
|
|
55623
55686
|
CallState.prototype.equals = function (other) {
|
|
@@ -55626,11 +55689,11 @@ function requireClientsdkClientcore () {
|
|
|
55626
55689
|
if (!(other instanceof CallState))
|
|
55627
55690
|
return false;
|
|
55628
55691
|
var tmp0_other_with_cast = other instanceof CallState ? other : THROW_CCE();
|
|
55629
|
-
if (!equals(this.
|
|
55692
|
+
if (!equals(this.l2p_1, tmp0_other_with_cast.l2p_1))
|
|
55630
55693
|
return false;
|
|
55631
|
-
if (!equals(this.
|
|
55694
|
+
if (!equals(this.m2p_1, tmp0_other_with_cast.m2p_1))
|
|
55632
55695
|
return false;
|
|
55633
|
-
if (!(this.
|
|
55696
|
+
if (!(this.n2p_1 == tmp0_other_with_cast.n2p_1))
|
|
55634
55697
|
return false;
|
|
55635
55698
|
return true;
|
|
55636
55699
|
};
|
|
@@ -55689,26 +55752,26 @@ function requireClientsdkClientcore () {
|
|
|
55689
55752
|
}
|
|
55690
55753
|
Invited.$metadata$ = classMeta('Invited', [CoreMemberStateWithCid]);
|
|
55691
55754
|
function Joined(cid, mid, conversationName) {
|
|
55692
|
-
this.
|
|
55693
|
-
this.
|
|
55694
|
-
this.
|
|
55755
|
+
this.e2p_1 = cid;
|
|
55756
|
+
this.f2p_1 = mid;
|
|
55757
|
+
this.g2p_1 = conversationName;
|
|
55695
55758
|
}
|
|
55696
55759
|
Joined.prototype.w1f = function () {
|
|
55697
|
-
return this.
|
|
55760
|
+
return this.e2p_1;
|
|
55698
55761
|
};
|
|
55699
55762
|
Joined.prototype.i32 = function (_set____db54di) {
|
|
55700
|
-
this.
|
|
55763
|
+
this.g2p_1 = _set____db54di;
|
|
55701
55764
|
};
|
|
55702
55765
|
Joined.prototype.s2x = function () {
|
|
55703
|
-
return this.
|
|
55766
|
+
return this.g2p_1;
|
|
55704
55767
|
};
|
|
55705
55768
|
Joined.prototype.toString = function () {
|
|
55706
|
-
return 'Joined(cid=' + this.
|
|
55769
|
+
return 'Joined(cid=' + this.e2p_1 + ', mid=' + this.f2p_1 + ', conversationName=' + this.g2p_1 + ')';
|
|
55707
55770
|
};
|
|
55708
55771
|
Joined.prototype.hashCode = function () {
|
|
55709
|
-
var result = getStringHashCode(this.
|
|
55710
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
55711
|
-
result = imul(result, 31) + (this.
|
|
55772
|
+
var result = getStringHashCode(this.e2p_1);
|
|
55773
|
+
result = imul(result, 31) + getStringHashCode(this.f2p_1) | 0;
|
|
55774
|
+
result = imul(result, 31) + (this.g2p_1 == null ? 0 : getStringHashCode(this.g2p_1)) | 0;
|
|
55712
55775
|
return result;
|
|
55713
55776
|
};
|
|
55714
55777
|
Joined.prototype.equals = function (other) {
|
|
@@ -55717,11 +55780,11 @@ function requireClientsdkClientcore () {
|
|
|
55717
55780
|
if (!(other instanceof Joined))
|
|
55718
55781
|
return false;
|
|
55719
55782
|
var tmp0_other_with_cast = other instanceof Joined ? other : THROW_CCE();
|
|
55720
|
-
if (!(this.
|
|
55783
|
+
if (!(this.e2p_1 === tmp0_other_with_cast.e2p_1))
|
|
55721
55784
|
return false;
|
|
55722
|
-
if (!(this.
|
|
55785
|
+
if (!(this.f2p_1 === tmp0_other_with_cast.f2p_1))
|
|
55723
55786
|
return false;
|
|
55724
|
-
if (!(this.
|
|
55787
|
+
if (!(this.g2p_1 == tmp0_other_with_cast.g2p_1))
|
|
55725
55788
|
return false;
|
|
55726
55789
|
return true;
|
|
55727
55790
|
};
|
|
@@ -55790,65 +55853,65 @@ function requireClientsdkClientcore () {
|
|
|
55790
55853
|
return Invite_init_$Init$(from, rtcId, memberId, conversationId, offer, memberState, isSocketInvite, hangupReceived, FS_SIP_Code, $mask0, $marker, Object.create(Invite.prototype));
|
|
55791
55854
|
}
|
|
55792
55855
|
function Invite(from, rtcId, memberId, conversationId, offer, memberState, isSocketInvite, hangupReceived, FS_SIP_Code) {
|
|
55793
|
-
this.
|
|
55794
|
-
this.
|
|
55795
|
-
this.
|
|
55796
|
-
this.
|
|
55797
|
-
this.
|
|
55798
|
-
this.
|
|
55799
|
-
this.
|
|
55800
|
-
this.
|
|
55801
|
-
this.
|
|
55856
|
+
this.p2p_1 = from;
|
|
55857
|
+
this.q2p_1 = rtcId;
|
|
55858
|
+
this.r2p_1 = memberId;
|
|
55859
|
+
this.s2p_1 = conversationId;
|
|
55860
|
+
this.t2p_1 = offer;
|
|
55861
|
+
this.u2p_1 = memberState;
|
|
55862
|
+
this.v2p_1 = isSocketInvite;
|
|
55863
|
+
this.w2p_1 = hangupReceived;
|
|
55864
|
+
this.x2p_1 = FS_SIP_Code;
|
|
55802
55865
|
}
|
|
55803
55866
|
Invite.prototype.e1k = function () {
|
|
55804
|
-
return this.
|
|
55867
|
+
return this.p2p_1;
|
|
55805
55868
|
};
|
|
55806
55869
|
Invite.prototype.g2r = function () {
|
|
55807
|
-
return this.
|
|
55870
|
+
return this.q2p_1;
|
|
55808
55871
|
};
|
|
55809
55872
|
Invite.prototype.p32 = function () {
|
|
55810
|
-
return this.
|
|
55873
|
+
return this.v2p_1;
|
|
55811
55874
|
};
|
|
55812
55875
|
Invite.prototype.q32 = function () {
|
|
55813
|
-
return this.
|
|
55876
|
+
return this.w2p_1;
|
|
55814
55877
|
};
|
|
55815
55878
|
Invite.prototype.r32 = function (from, rtcId, memberId, conversationId, offer, memberState, isSocketInvite, hangupReceived, FS_SIP_Code) {
|
|
55816
55879
|
return new Invite(from, rtcId, memberId, conversationId, offer, memberState, isSocketInvite, hangupReceived, FS_SIP_Code);
|
|
55817
55880
|
};
|
|
55818
55881
|
Invite.prototype.h2q = function (from, rtcId, memberId, conversationId, offer, memberState, isSocketInvite, hangupReceived, FS_SIP_Code, $mask0, $handler) {
|
|
55819
55882
|
if (!(($mask0 & 1) === 0))
|
|
55820
|
-
from = this.
|
|
55883
|
+
from = this.p2p_1;
|
|
55821
55884
|
if (!(($mask0 & 2) === 0))
|
|
55822
|
-
rtcId = this.
|
|
55885
|
+
rtcId = this.q2p_1;
|
|
55823
55886
|
if (!(($mask0 & 4) === 0))
|
|
55824
|
-
memberId = this.
|
|
55887
|
+
memberId = this.r2p_1;
|
|
55825
55888
|
if (!(($mask0 & 8) === 0))
|
|
55826
|
-
conversationId = this.
|
|
55889
|
+
conversationId = this.s2p_1;
|
|
55827
55890
|
if (!(($mask0 & 16) === 0))
|
|
55828
|
-
offer = this.
|
|
55891
|
+
offer = this.t2p_1;
|
|
55829
55892
|
if (!(($mask0 & 32) === 0))
|
|
55830
|
-
memberState = this.
|
|
55893
|
+
memberState = this.u2p_1;
|
|
55831
55894
|
if (!(($mask0 & 64) === 0))
|
|
55832
|
-
isSocketInvite = this.
|
|
55895
|
+
isSocketInvite = this.v2p_1;
|
|
55833
55896
|
if (!(($mask0 & 128) === 0))
|
|
55834
|
-
hangupReceived = this.
|
|
55897
|
+
hangupReceived = this.w2p_1;
|
|
55835
55898
|
if (!(($mask0 & 256) === 0))
|
|
55836
|
-
FS_SIP_Code = this.
|
|
55899
|
+
FS_SIP_Code = this.x2p_1;
|
|
55837
55900
|
return this.r32(from, rtcId, memberId, conversationId, offer, memberState, isSocketInvite, hangupReceived, FS_SIP_Code);
|
|
55838
55901
|
};
|
|
55839
55902
|
Invite.prototype.toString = function () {
|
|
55840
|
-
return 'Invite(from=' + this.
|
|
55903
|
+
return 'Invite(from=' + this.p2p_1 + ', rtcId=' + this.q2p_1 + ', memberId=' + this.r2p_1 + ', conversationId=' + this.s2p_1 + ', offer=' + this.t2p_1 + ', memberState=' + this.u2p_1 + ', isSocketInvite=' + this.v2p_1 + ', hangupReceived=' + this.w2p_1 + ', FS_SIP_Code=' + this.x2p_1 + ')';
|
|
55841
55904
|
};
|
|
55842
55905
|
Invite.prototype.hashCode = function () {
|
|
55843
|
-
var result = hashCode(this.
|
|
55906
|
+
var result = hashCode(this.p2p_1);
|
|
55907
|
+
result = imul(result, 31) + getStringHashCode(this.q2p_1) | 0;
|
|
55844
55908
|
result = imul(result, 31) + getStringHashCode(this.r2p_1) | 0;
|
|
55845
55909
|
result = imul(result, 31) + getStringHashCode(this.s2p_1) | 0;
|
|
55846
|
-
result = imul(result, 31) + getStringHashCode(this.t2p_1) | 0;
|
|
55847
|
-
result = imul(result, 31) + (this.u2p_1
|
|
55848
|
-
result = imul(result, 31) +
|
|
55910
|
+
result = imul(result, 31) + (this.t2p_1 == null ? 0 : getStringHashCode(this.t2p_1)) | 0;
|
|
55911
|
+
result = imul(result, 31) + hashCode(this.u2p_1) | 0;
|
|
55912
|
+
result = imul(result, 31) + (this.v2p_1 | 0) | 0;
|
|
55849
55913
|
result = imul(result, 31) + (this.w2p_1 | 0) | 0;
|
|
55850
|
-
result = imul(result, 31) +
|
|
55851
|
-
result = imul(result, 31) + this.y2p_1 | 0;
|
|
55914
|
+
result = imul(result, 31) + this.x2p_1 | 0;
|
|
55852
55915
|
return result;
|
|
55853
55916
|
};
|
|
55854
55917
|
Invite.prototype.equals = function (other) {
|
|
@@ -55857,24 +55920,24 @@ function requireClientsdkClientcore () {
|
|
|
55857
55920
|
if (!(other instanceof Invite))
|
|
55858
55921
|
return false;
|
|
55859
55922
|
var tmp0_other_with_cast = other instanceof Invite ? other : THROW_CCE();
|
|
55860
|
-
if (!equals(this.
|
|
55923
|
+
if (!equals(this.p2p_1, tmp0_other_with_cast.p2p_1))
|
|
55924
|
+
return false;
|
|
55925
|
+
if (!(this.q2p_1 === tmp0_other_with_cast.q2p_1))
|
|
55861
55926
|
return false;
|
|
55862
55927
|
if (!(this.r2p_1 === tmp0_other_with_cast.r2p_1))
|
|
55863
55928
|
return false;
|
|
55864
55929
|
if (!(this.s2p_1 === tmp0_other_with_cast.s2p_1))
|
|
55865
55930
|
return false;
|
|
55866
|
-
if (!(this.t2p_1
|
|
55931
|
+
if (!(this.t2p_1 == tmp0_other_with_cast.t2p_1))
|
|
55867
55932
|
return false;
|
|
55868
|
-
if (!(this.u2p_1
|
|
55933
|
+
if (!equals(this.u2p_1, tmp0_other_with_cast.u2p_1))
|
|
55869
55934
|
return false;
|
|
55870
|
-
if (!
|
|
55935
|
+
if (!(this.v2p_1 === tmp0_other_with_cast.v2p_1))
|
|
55871
55936
|
return false;
|
|
55872
55937
|
if (!(this.w2p_1 === tmp0_other_with_cast.w2p_1))
|
|
55873
55938
|
return false;
|
|
55874
55939
|
if (!(this.x2p_1 === tmp0_other_with_cast.x2p_1))
|
|
55875
55940
|
return false;
|
|
55876
|
-
if (!(this.y2p_1 === tmp0_other_with_cast.y2p_1))
|
|
55877
|
-
return false;
|
|
55878
55941
|
return true;
|
|
55879
55942
|
};
|
|
55880
55943
|
Invite.$metadata$ = classMeta('Invite');
|
|
@@ -56038,7 +56101,7 @@ function requireClientsdkClientcore () {
|
|
|
56038
56101
|
var tmp_0;
|
|
56039
56102
|
var tmp0_safe_receiver = $event.h1y_1.u1y_1.m2t_1;
|
|
56040
56103
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h2t_1) === true) {
|
|
56041
|
-
tmp_0 = $event.h1y_1.t1y_1.t2j_1 === $this$new.
|
|
56104
|
+
tmp_0 = $event.h1y_1.t1y_1.t2j_1 === $this$new.a2q_1;
|
|
56042
56105
|
} else {
|
|
56043
56106
|
tmp_0 = false;
|
|
56044
56107
|
}
|
|
@@ -56059,8 +56122,8 @@ function requireClientsdkClientcore () {
|
|
|
56059
56122
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h2t_1) === true) {
|
|
56060
56123
|
var remoteDescription = new Offer(ensureNotNull($event.q23_1.x1y_1));
|
|
56061
56124
|
var tmp_0 = ensureNotNull($event.q23_1.v1y_1.i2j_1);
|
|
56062
|
-
var tmp1_safe_receiver = $this$new.
|
|
56063
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
56125
|
+
var tmp1_safe_receiver = $this$new.z2p_1.g2($event.q23_1.v1y_1.e2j_1);
|
|
56126
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.v2p_1;
|
|
56064
56127
|
var tmp_1 = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
|
|
56065
56128
|
tmp = Invite_init_$Create$(tmp_0, $event.q23_1.v1y_1.e2j_1, $event.q23_1.s1y_1, $event.u23_1, remoteDescription.b2t_1, null, tmp_1, false, 0, 416, null);
|
|
56066
56129
|
} else {
|
|
@@ -56071,10 +56134,10 @@ function requireClientsdkClientcore () {
|
|
|
56071
56134
|
}
|
|
56072
56135
|
function InviteState$update$lambda_1($event, this$0) {
|
|
56073
56136
|
return function ($this$modify) {
|
|
56074
|
-
if ($event.b1z_1.k1z_1.s2j_1 === this$0.
|
|
56137
|
+
if ($event.b1z_1.k1z_1.s2j_1 === this$0.a2q_1) {
|
|
56075
56138
|
var tmp_0 = $this$modify;
|
|
56076
|
-
var tmp_1 = $this$modify.
|
|
56077
|
-
tmp_0.
|
|
56139
|
+
var tmp_1 = $this$modify.u2p_1;
|
|
56140
|
+
tmp_0.u2p_1 = toResolved(tmp_1, Joined_init_$Create$($event.d1z_1, $event.e1z_1, null, 4, null));
|
|
56078
56141
|
Unit_getInstance();
|
|
56079
56142
|
}
|
|
56080
56143
|
return Unit_getInstance();
|
|
@@ -56083,18 +56146,18 @@ function requireClientsdkClientcore () {
|
|
|
56083
56146
|
function InviteState$update$lambda_2($action, $requestId) {
|
|
56084
56147
|
return function ($this$modify) {
|
|
56085
56148
|
var tmp = $this$modify;
|
|
56086
|
-
var tmp_0 = $this$modify.
|
|
56087
|
-
tmp.
|
|
56149
|
+
var tmp_0 = $this$modify.u2p_1;
|
|
56150
|
+
tmp.u2p_1 = toPending(tmp_0, Joined_init_$Create$($action.s1f_1, $action.t1f_1, null, 4, null), $requestId);
|
|
56088
56151
|
return Unit_getInstance();
|
|
56089
56152
|
};
|
|
56090
56153
|
}
|
|
56091
56154
|
function InviteState$update$lambda_3($event, this$0) {
|
|
56092
56155
|
return function ($this$modify) {
|
|
56093
|
-
if ($event.p1z_1.z1z_1.m2j_1 === this$0.
|
|
56156
|
+
if ($event.p1z_1.z1z_1.m2j_1 === this$0.a2q_1 ? equals($this$modify.u2p_1.s1(), None_getInstance_2()) : false) {
|
|
56094
56157
|
var tmp_0 = $this$modify;
|
|
56095
|
-
var tmp_1 = $this$modify.
|
|
56158
|
+
var tmp_1 = $this$modify.u2p_1;
|
|
56096
56159
|
var tmp0_safe_receiver = $event.p1z_1.b20_1;
|
|
56097
|
-
tmp_0.
|
|
56160
|
+
tmp_0.u2p_1 = toResolved(tmp_1, Left_init_$Create$($event.r1z_1, $event.p1z_1.y1z_1, null, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l25_1, 4, null));
|
|
56098
56161
|
Unit_getInstance();
|
|
56099
56162
|
}
|
|
56100
56163
|
return Unit_getInstance();
|
|
@@ -56102,46 +56165,46 @@ function requireClientsdkClientcore () {
|
|
|
56102
56165
|
}
|
|
56103
56166
|
function InviteState$update$lambda_4($event) {
|
|
56104
56167
|
return function ($this$modify) {
|
|
56105
|
-
$this$modify.
|
|
56106
|
-
$this$modify.
|
|
56168
|
+
$this$modify.w2p_1 = true;
|
|
56169
|
+
$this$modify.x2p_1 = $event.x22_1.b1y_1.c2u_1;
|
|
56107
56170
|
return Unit_getInstance();
|
|
56108
56171
|
};
|
|
56109
56172
|
}
|
|
56110
56173
|
function InviteState$update$lambda_5($action, $requestId) {
|
|
56111
56174
|
return function ($this$modify) {
|
|
56112
56175
|
var tmp = $this$modify;
|
|
56113
|
-
var tmp_0 = $this$modify.
|
|
56114
|
-
tmp.
|
|
56176
|
+
var tmp_0 = $this$modify.u2p_1;
|
|
56177
|
+
tmp.u2p_1 = toPending(tmp_0, Left_init_$Create$($action.e1f_1, $action.f1f_1, null, null, 12, null), $requestId);
|
|
56115
56178
|
return Unit_getInstance();
|
|
56116
56179
|
};
|
|
56117
56180
|
}
|
|
56118
56181
|
function InviteState(invites, currentUserId) {
|
|
56119
|
-
this.
|
|
56120
|
-
this.
|
|
56121
|
-
this.
|
|
56182
|
+
this.z2p_1 = invites;
|
|
56183
|
+
this.a2q_1 = currentUserId;
|
|
56184
|
+
this.b2q_1 = null;
|
|
56122
56185
|
}
|
|
56123
56186
|
InviteState.prototype.a33 = function () {
|
|
56124
|
-
return this.
|
|
56187
|
+
return this.z2p_1;
|
|
56125
56188
|
};
|
|
56126
56189
|
InviteState.prototype.l32 = function (_set____db54di) {
|
|
56127
|
-
this.
|
|
56190
|
+
this.a2q_1 = _set____db54di;
|
|
56128
56191
|
};
|
|
56129
56192
|
InviteState.prototype.v2z = function () {
|
|
56130
|
-
return this.
|
|
56193
|
+
return this.z2p_1;
|
|
56131
56194
|
};
|
|
56132
56195
|
InviteState.prototype.m2z = function (_set____db54di) {
|
|
56133
|
-
this.
|
|
56196
|
+
this.b2q_1 = _set____db54di;
|
|
56134
56197
|
};
|
|
56135
56198
|
InviteState.prototype.n32 = function () {
|
|
56136
|
-
return this.
|
|
56199
|
+
return this.b2q_1;
|
|
56137
56200
|
};
|
|
56138
56201
|
InviteState.prototype.m30 = function (event) {
|
|
56139
56202
|
var tmp$ret$0;
|
|
56140
56203
|
// Inline function 'kotlin.apply' call
|
|
56141
56204
|
// Inline function 'kotlin.contracts.contract' call
|
|
56142
56205
|
// Inline function 'com.vonage.clientcore.core.reducers.call.InviteState.update.<anonymous>' call
|
|
56143
|
-
this.
|
|
56144
|
-
this.
|
|
56206
|
+
this.a2q_1 = event.x23_1.e25_1;
|
|
56207
|
+
this.b2q_1 = null;
|
|
56145
56208
|
tmp$ret$0 = this;
|
|
56146
56209
|
return tmp$ret$0;
|
|
56147
56210
|
};
|
|
@@ -56174,7 +56237,7 @@ function requireClientsdkClientcore () {
|
|
|
56174
56237
|
// Inline function 'kotlin.apply' call
|
|
56175
56238
|
// Inline function 'kotlin.contracts.contract' call
|
|
56176
56239
|
// Inline function 'com.vonage.clientcore.core.reducers.call.InviteState.update.<anonymous>' call
|
|
56177
|
-
this.
|
|
56240
|
+
this.z2p_1.g3(id);
|
|
56178
56241
|
tmp$ret$0 = this;
|
|
56179
56242
|
return tmp$ret$0;
|
|
56180
56243
|
};
|
|
@@ -56183,17 +56246,17 @@ function requireClientsdkClientcore () {
|
|
|
56183
56246
|
};
|
|
56184
56247
|
InviteState.prototype.w32 = function (invites, currentUserId, $mask0, $handler) {
|
|
56185
56248
|
if (!(($mask0 & 1) === 0))
|
|
56186
|
-
invites = this.
|
|
56249
|
+
invites = this.z2p_1;
|
|
56187
56250
|
if (!(($mask0 & 2) === 0))
|
|
56188
|
-
currentUserId = this.
|
|
56251
|
+
currentUserId = this.a2q_1;
|
|
56189
56252
|
return this.b33(invites, currentUserId);
|
|
56190
56253
|
};
|
|
56191
56254
|
InviteState.prototype.toString = function () {
|
|
56192
|
-
return 'InviteState(invites=' + this.
|
|
56255
|
+
return 'InviteState(invites=' + this.z2p_1 + ', currentUserId=' + this.a2q_1 + ')';
|
|
56193
56256
|
};
|
|
56194
56257
|
InviteState.prototype.hashCode = function () {
|
|
56195
|
-
var result = hashCode(this.
|
|
56196
|
-
result = imul(result, 31) + (this.
|
|
56258
|
+
var result = hashCode(this.z2p_1);
|
|
56259
|
+
result = imul(result, 31) + (this.a2q_1 == null ? 0 : getStringHashCode(this.a2q_1)) | 0;
|
|
56197
56260
|
return result;
|
|
56198
56261
|
};
|
|
56199
56262
|
InviteState.prototype.equals = function (other) {
|
|
@@ -56202,9 +56265,9 @@ function requireClientsdkClientcore () {
|
|
|
56202
56265
|
if (!(other instanceof InviteState))
|
|
56203
56266
|
return false;
|
|
56204
56267
|
var tmp0_other_with_cast = other instanceof InviteState ? other : THROW_CCE();
|
|
56205
|
-
if (!equals(this.
|
|
56268
|
+
if (!equals(this.z2p_1, tmp0_other_with_cast.z2p_1))
|
|
56206
56269
|
return false;
|
|
56207
|
-
if (!(this.
|
|
56270
|
+
if (!(this.a2q_1 == tmp0_other_with_cast.a2q_1))
|
|
56208
56271
|
return false;
|
|
56209
56272
|
return true;
|
|
56210
56273
|
};
|
|
@@ -56725,7 +56788,7 @@ function requireClientsdkClientcore () {
|
|
|
56725
56788
|
Pending.prototype.s1 = function () {
|
|
56726
56789
|
return this.h33_1;
|
|
56727
56790
|
};
|
|
56728
|
-
Pending.prototype.
|
|
56791
|
+
Pending.prototype.c2q = function () {
|
|
56729
56792
|
return this.j33_1;
|
|
56730
56793
|
};
|
|
56731
56794
|
Pending.prototype.toString = function () {
|
|
@@ -56760,7 +56823,7 @@ function requireClientsdkClientcore () {
|
|
|
56760
56823
|
Resolved.prototype.s1 = function () {
|
|
56761
56824
|
return this.k33_1;
|
|
56762
56825
|
};
|
|
56763
|
-
Resolved.prototype.
|
|
56826
|
+
Resolved.prototype.c2q = function () {
|
|
56764
56827
|
return this.l33_1;
|
|
56765
56828
|
};
|
|
56766
56829
|
Resolved.prototype.toString = function () {
|
|
@@ -56793,7 +56856,7 @@ function requireClientsdkClientcore () {
|
|
|
56793
56856
|
Failed.prototype.s1 = function () {
|
|
56794
56857
|
return this.m2o_1;
|
|
56795
56858
|
};
|
|
56796
|
-
Failed.prototype.
|
|
56859
|
+
Failed.prototype.c2q = function () {
|
|
56797
56860
|
return this.n2o_1;
|
|
56798
56861
|
};
|
|
56799
56862
|
Failed.prototype.toString = function () {
|
|
@@ -56821,7 +56884,7 @@ function requireClientsdkClientcore () {
|
|
|
56821
56884
|
}
|
|
56822
56885
|
StateTransition.$metadata$ = classMeta('StateTransition');
|
|
56823
56886
|
function toResolved(_this__u8e3s4, value) {
|
|
56824
|
-
return new Resolved(value, _this__u8e3s4.
|
|
56887
|
+
return new Resolved(value, _this__u8e3s4.c2q());
|
|
56825
56888
|
}
|
|
56826
56889
|
function toPending(_this__u8e3s4, future, requestId) {
|
|
56827
56890
|
return new Pending(_this__u8e3s4.s1(), future, requestId);
|
|
@@ -57190,7 +57253,7 @@ function requireClientsdkClientcore () {
|
|
|
57190
57253
|
//endregion
|
|
57191
57254
|
//region block: pre-declaration
|
|
57192
57255
|
function setConfig(config) {
|
|
57193
|
-
this.core.s1b(new SetConfig(config.
|
|
57256
|
+
this.core.s1b(new SetConfig(config.q3b_1, config.r3b_1, config.p3b_1, config.t3b_1));
|
|
57194
57257
|
}
|
|
57195
57258
|
function createSession(token, sessionId) {
|
|
57196
57259
|
return new Promise(ICoreClientJS$createSession$lambda(this, token, sessionId));
|
|
@@ -57267,16 +57330,9 @@ function requireClientsdkClientcore () {
|
|
|
57267
57330
|
function rejectCall(callId) {
|
|
57268
57331
|
return new Promise(IVoiceClientJS$rejectCall$lambda(this, callId));
|
|
57269
57332
|
}
|
|
57270
|
-
function
|
|
57333
|
+
function hangupWithReason(callId, reasonText, reasonCode) {
|
|
57271
57334
|
return new Promise(IVoiceClientJS$hangup$lambda(this, callId, reasonText, reasonCode));
|
|
57272
57335
|
}
|
|
57273
|
-
function hangup$default(callId, reasonText, reasonCode, $mask0, $handler) {
|
|
57274
|
-
if (!(($mask0 & 2) === 0))
|
|
57275
|
-
reasonText = null;
|
|
57276
|
-
if (!(($mask0 & 4) === 0))
|
|
57277
|
-
reasonCode = null;
|
|
57278
|
-
return $handler == null ? this.w33(callId, reasonText, reasonCode) : $handler(callId, reasonText, reasonCode);
|
|
57279
|
-
}
|
|
57280
57336
|
function say(callId, params) {
|
|
57281
57337
|
return new Promise(IVoiceClientJS$say$lambda(this, callId, params));
|
|
57282
57338
|
}
|
|
@@ -57315,6 +57371,8 @@ function requireClientsdkClientcore () {
|
|
|
57315
57371
|
SessionErrorReasonJS.prototype.constructor = SessionErrorReasonJS;
|
|
57316
57372
|
LegStatusJS.prototype = Object.create(Enum.prototype);
|
|
57317
57373
|
LegStatusJS.prototype.constructor = LegStatusJS;
|
|
57374
|
+
HangupReasonJS.prototype = Object.create(Enum.prototype);
|
|
57375
|
+
HangupReasonJS.prototype.constructor = HangupReasonJS;
|
|
57318
57376
|
HttpClientErrorJS.prototype = Object.create(Error.prototype);
|
|
57319
57377
|
HttpClientErrorJS.prototype.constructor = HttpClientErrorJS;
|
|
57320
57378
|
CancelReasonJS.prototype = Object.create(Enum.prototype);
|
|
@@ -57404,12 +57462,12 @@ function requireClientsdkClientcore () {
|
|
|
57404
57462
|
tmp0_safe_receiver.dtmf(callId, legId, digits);
|
|
57405
57463
|
}
|
|
57406
57464
|
};
|
|
57407
|
-
CombinedClientJS$2.prototype.u2o = function (callId, callQuality,
|
|
57465
|
+
CombinedClientJS$2.prototype.u2o = function (callId, callQuality, reason) {
|
|
57408
57466
|
var tmp0_safe_receiver = this.q33_1.p33_1;
|
|
57409
57467
|
if (tmp0_safe_receiver == null)
|
|
57410
57468
|
;
|
|
57411
57469
|
else {
|
|
57412
|
-
tmp0_safe_receiver.callHangup(callId, new RTCQualityJS(callQuality),
|
|
57470
|
+
tmp0_safe_receiver.callHangup(callId, new RTCQualityJS(callQuality), Companion_getInstance_2().getReason(reason));
|
|
57413
57471
|
}
|
|
57414
57472
|
};
|
|
57415
57473
|
CombinedClientJS$2.prototype.v2o = function (callId, legId, status) {
|
|
@@ -57493,75 +57551,75 @@ function requireClientsdkClientcore () {
|
|
|
57493
57551
|
tmp$ret$2 = tmp$ret$1;
|
|
57494
57552
|
var tmp1_toTypedArray = tmp$ret$2;
|
|
57495
57553
|
tmp$ret$3 = copyToArray(tmp1_toTypedArray);
|
|
57496
|
-
tmp.
|
|
57497
|
-
this.
|
|
57498
|
-
this.
|
|
57554
|
+
tmp.w33_1 = tmp$ret$3;
|
|
57555
|
+
this.x33_1 = eventsPage.p2l_1;
|
|
57556
|
+
this.y33_1 = eventsPage.q2l_1;
|
|
57499
57557
|
}
|
|
57500
|
-
EventsPageJS.prototype.
|
|
57501
|
-
return this.
|
|
57558
|
+
EventsPageJS.prototype.z33 = function () {
|
|
57559
|
+
return this.w33_1;
|
|
57502
57560
|
};
|
|
57503
|
-
EventsPageJS.prototype.
|
|
57504
|
-
return this.
|
|
57561
|
+
EventsPageJS.prototype.a34 = function () {
|
|
57562
|
+
return this.x33_1;
|
|
57505
57563
|
};
|
|
57506
|
-
EventsPageJS.prototype.
|
|
57507
|
-
return this.
|
|
57564
|
+
EventsPageJS.prototype.b34 = function () {
|
|
57565
|
+
return this.y33_1;
|
|
57508
57566
|
};
|
|
57509
57567
|
EventsPageJS.$metadata$ = classMeta('EventsPageJS');
|
|
57510
57568
|
Object.defineProperty(EventsPageJS.prototype, 'events', {
|
|
57511
57569
|
configurable: true,
|
|
57512
|
-
get: EventsPageJS.prototype.
|
|
57570
|
+
get: EventsPageJS.prototype.z33
|
|
57513
57571
|
});
|
|
57514
57572
|
Object.defineProperty(EventsPageJS.prototype, 'previousCursor', {
|
|
57515
57573
|
configurable: true,
|
|
57516
|
-
get: EventsPageJS.prototype.
|
|
57574
|
+
get: EventsPageJS.prototype.a34
|
|
57517
57575
|
});
|
|
57518
57576
|
Object.defineProperty(EventsPageJS.prototype, 'nextCursor', {
|
|
57519
57577
|
configurable: true,
|
|
57520
|
-
get: EventsPageJS.prototype.
|
|
57578
|
+
get: EventsPageJS.prototype.b34
|
|
57521
57579
|
});
|
|
57522
57580
|
function ConversationEventJS() {
|
|
57523
57581
|
}
|
|
57524
57582
|
ConversationEventJS.$metadata$ = interfaceMeta('ConversationEventJS');
|
|
57525
57583
|
function Body(body) {
|
|
57526
|
-
this.
|
|
57527
|
-
this.
|
|
57584
|
+
this.c34_1 = body.r2l_1;
|
|
57585
|
+
this.d34_1 = body.s2l_1;
|
|
57528
57586
|
}
|
|
57529
|
-
Body.prototype.
|
|
57530
|
-
return this.
|
|
57587
|
+
Body.prototype.e34 = function () {
|
|
57588
|
+
return this.c34_1;
|
|
57531
57589
|
};
|
|
57532
|
-
Body.prototype.
|
|
57533
|
-
return this.
|
|
57590
|
+
Body.prototype.f34 = function () {
|
|
57591
|
+
return this.d34_1;
|
|
57534
57592
|
};
|
|
57535
57593
|
Body.$metadata$ = classMeta('Body');
|
|
57536
57594
|
Object.defineProperty(Body.prototype, 'invitee', {
|
|
57537
57595
|
configurable: true,
|
|
57538
|
-
get: Body.prototype.
|
|
57596
|
+
get: Body.prototype.e34
|
|
57539
57597
|
});
|
|
57540
57598
|
Object.defineProperty(Body.prototype, 'invitedBy', {
|
|
57541
57599
|
configurable: true,
|
|
57542
|
-
get: Body.prototype.
|
|
57600
|
+
get: Body.prototype.f34
|
|
57543
57601
|
});
|
|
57544
57602
|
function MemberInvitedEventJS(event) {
|
|
57545
|
-
this.
|
|
57546
|
-
this.
|
|
57547
|
-
this.
|
|
57548
|
-
this.
|
|
57549
|
-
this.
|
|
57603
|
+
this.g34_1 = event.t2l_1;
|
|
57604
|
+
this.h34_1 = event.u2l_1;
|
|
57605
|
+
this.i34_1 = event.v2l_1;
|
|
57606
|
+
this.j34_1 = event.w2l_1;
|
|
57607
|
+
this.k34_1 = new Body(event.x2l_1);
|
|
57550
57608
|
}
|
|
57551
57609
|
MemberInvitedEventJS.prototype.v1k = function () {
|
|
57552
|
-
return this.
|
|
57610
|
+
return this.g34_1;
|
|
57553
57611
|
};
|
|
57554
57612
|
MemberInvitedEventJS.prototype.k1o = function () {
|
|
57555
|
-
return this.
|
|
57613
|
+
return this.h34_1;
|
|
57556
57614
|
};
|
|
57557
57615
|
MemberInvitedEventJS.prototype.z2q = function () {
|
|
57558
|
-
return this.
|
|
57616
|
+
return this.i34_1;
|
|
57559
57617
|
};
|
|
57560
57618
|
MemberInvitedEventJS.prototype.e1k = function () {
|
|
57561
|
-
return this.
|
|
57619
|
+
return this.j34_1;
|
|
57562
57620
|
};
|
|
57563
57621
|
MemberInvitedEventJS.prototype.n1y = function () {
|
|
57564
|
-
return this.
|
|
57622
|
+
return this.k34_1;
|
|
57565
57623
|
};
|
|
57566
57624
|
MemberInvitedEventJS.$metadata$ = classMeta('MemberInvitedEventJS', [ConversationEventJS]);
|
|
57567
57625
|
Object.defineProperty(MemberInvitedEventJS.prototype, 'id', {
|
|
@@ -57591,10 +57649,10 @@ function requireClientsdkClientcore () {
|
|
|
57591
57649
|
get: MemberInvitedEventJS.prototype.n1y
|
|
57592
57650
|
});
|
|
57593
57651
|
function Body_0(body) {
|
|
57594
|
-
this.
|
|
57652
|
+
this.l34_1 = body.y2l_1;
|
|
57595
57653
|
}
|
|
57596
57654
|
Body_0.prototype.i2s = function () {
|
|
57597
|
-
return this.
|
|
57655
|
+
return this.l34_1;
|
|
57598
57656
|
};
|
|
57599
57657
|
Body_0.$metadata$ = classMeta('Body');
|
|
57600
57658
|
Object.defineProperty(Body_0.prototype, 'username', {
|
|
@@ -57602,26 +57660,26 @@ function requireClientsdkClientcore () {
|
|
|
57602
57660
|
get: Body_0.prototype.i2s
|
|
57603
57661
|
});
|
|
57604
57662
|
function MemberJoinedEventJS(event) {
|
|
57605
|
-
this.
|
|
57606
|
-
this.
|
|
57607
|
-
this.
|
|
57608
|
-
this.
|
|
57609
|
-
this.
|
|
57663
|
+
this.m34_1 = event.z2l_1;
|
|
57664
|
+
this.n34_1 = event.a2m_1;
|
|
57665
|
+
this.o34_1 = event.b2m_1;
|
|
57666
|
+
this.p34_1 = event.c2m_1;
|
|
57667
|
+
this.q34_1 = new Body_0(event.d2m_1);
|
|
57610
57668
|
}
|
|
57611
57669
|
MemberJoinedEventJS.prototype.v1k = function () {
|
|
57612
|
-
return this.
|
|
57670
|
+
return this.m34_1;
|
|
57613
57671
|
};
|
|
57614
57672
|
MemberJoinedEventJS.prototype.k1o = function () {
|
|
57615
|
-
return this.
|
|
57673
|
+
return this.n34_1;
|
|
57616
57674
|
};
|
|
57617
57675
|
MemberJoinedEventJS.prototype.z2q = function () {
|
|
57618
|
-
return this.
|
|
57676
|
+
return this.o34_1;
|
|
57619
57677
|
};
|
|
57620
57678
|
MemberJoinedEventJS.prototype.e1k = function () {
|
|
57621
|
-
return this.
|
|
57679
|
+
return this.p34_1;
|
|
57622
57680
|
};
|
|
57623
57681
|
MemberJoinedEventJS.prototype.n1y = function () {
|
|
57624
|
-
return this.
|
|
57682
|
+
return this.q34_1;
|
|
57625
57683
|
};
|
|
57626
57684
|
MemberJoinedEventJS.$metadata$ = classMeta('MemberJoinedEventJS', [ConversationEventJS]);
|
|
57627
57685
|
Object.defineProperty(MemberJoinedEventJS.prototype, 'id', {
|
|
@@ -57651,10 +57709,10 @@ function requireClientsdkClientcore () {
|
|
|
57651
57709
|
get: MemberJoinedEventJS.prototype.n1y
|
|
57652
57710
|
});
|
|
57653
57711
|
function Body_1(body) {
|
|
57654
|
-
this.
|
|
57712
|
+
this.r34_1 = body.e2m_1;
|
|
57655
57713
|
}
|
|
57656
57714
|
Body_1.prototype.i2s = function () {
|
|
57657
|
-
return this.
|
|
57715
|
+
return this.r34_1;
|
|
57658
57716
|
};
|
|
57659
57717
|
Body_1.$metadata$ = classMeta('Body');
|
|
57660
57718
|
Object.defineProperty(Body_1.prototype, 'username', {
|
|
@@ -57662,26 +57720,26 @@ function requireClientsdkClientcore () {
|
|
|
57662
57720
|
get: Body_1.prototype.i2s
|
|
57663
57721
|
});
|
|
57664
57722
|
function MemberLeftEventJS(event) {
|
|
57665
|
-
this.
|
|
57666
|
-
this.
|
|
57667
|
-
this.
|
|
57668
|
-
this.
|
|
57669
|
-
this.
|
|
57723
|
+
this.s34_1 = event.f2m_1;
|
|
57724
|
+
this.t34_1 = event.g2m_1;
|
|
57725
|
+
this.u34_1 = event.h2m_1;
|
|
57726
|
+
this.v34_1 = event.i2m_1;
|
|
57727
|
+
this.w34_1 = new Body_1(event.j2m_1);
|
|
57670
57728
|
}
|
|
57671
57729
|
MemberLeftEventJS.prototype.v1k = function () {
|
|
57672
|
-
return this.
|
|
57730
|
+
return this.s34_1;
|
|
57673
57731
|
};
|
|
57674
57732
|
MemberLeftEventJS.prototype.k1o = function () {
|
|
57675
|
-
return this.
|
|
57733
|
+
return this.t34_1;
|
|
57676
57734
|
};
|
|
57677
57735
|
MemberLeftEventJS.prototype.z2q = function () {
|
|
57678
|
-
return this.
|
|
57736
|
+
return this.u34_1;
|
|
57679
57737
|
};
|
|
57680
57738
|
MemberLeftEventJS.prototype.e1k = function () {
|
|
57681
|
-
return this.
|
|
57739
|
+
return this.v34_1;
|
|
57682
57740
|
};
|
|
57683
57741
|
MemberLeftEventJS.prototype.n1y = function () {
|
|
57684
|
-
return this.
|
|
57742
|
+
return this.w34_1;
|
|
57685
57743
|
};
|
|
57686
57744
|
MemberLeftEventJS.$metadata$ = classMeta('MemberLeftEventJS', [ConversationEventJS]);
|
|
57687
57745
|
Object.defineProperty(MemberLeftEventJS.prototype, 'id', {
|
|
@@ -57711,26 +57769,26 @@ function requireClientsdkClientcore () {
|
|
|
57711
57769
|
get: MemberLeftEventJS.prototype.n1y
|
|
57712
57770
|
});
|
|
57713
57771
|
function UnknownEventJS(event) {
|
|
57714
|
-
this.
|
|
57715
|
-
this.
|
|
57716
|
-
this.
|
|
57717
|
-
this.
|
|
57718
|
-
this.
|
|
57772
|
+
this.x34_1 = event.k2m_1;
|
|
57773
|
+
this.y34_1 = event.l2m_1;
|
|
57774
|
+
this.z34_1 = event.m2m_1;
|
|
57775
|
+
this.a35_1 = event.n2m_1;
|
|
57776
|
+
this.b35_1 = event.o2m_1;
|
|
57719
57777
|
}
|
|
57720
57778
|
UnknownEventJS.prototype.i2q = function () {
|
|
57721
|
-
return this.
|
|
57779
|
+
return this.x34_1;
|
|
57722
57780
|
};
|
|
57723
57781
|
UnknownEventJS.prototype.v1k = function () {
|
|
57724
|
-
return this.
|
|
57782
|
+
return this.y34_1;
|
|
57725
57783
|
};
|
|
57726
57784
|
UnknownEventJS.prototype.k1o = function () {
|
|
57727
|
-
return this.
|
|
57785
|
+
return this.z34_1;
|
|
57728
57786
|
};
|
|
57729
57787
|
UnknownEventJS.prototype.z2q = function () {
|
|
57730
|
-
return this.
|
|
57788
|
+
return this.a35_1;
|
|
57731
57789
|
};
|
|
57732
57790
|
UnknownEventJS.prototype.e1k = function () {
|
|
57733
|
-
return this.
|
|
57791
|
+
return this.b35_1;
|
|
57734
57792
|
};
|
|
57735
57793
|
UnknownEventJS.$metadata$ = classMeta('UnknownEventJS', [ConversationEventJS]);
|
|
57736
57794
|
Object.defineProperty(UnknownEventJS.prototype, 'type', {
|
|
@@ -57792,47 +57850,47 @@ function requireClientsdkClientcore () {
|
|
|
57792
57850
|
}
|
|
57793
57851
|
MessageEventBodyJS.$metadata$ = interfaceMeta('MessageEventBodyJS');
|
|
57794
57852
|
function Body_2(body) {
|
|
57795
|
-
this.
|
|
57796
|
-
this.
|
|
57853
|
+
this.d35_1 = body.l2n_1;
|
|
57854
|
+
this.e35_1 = body.m2n_1;
|
|
57797
57855
|
}
|
|
57798
|
-
Body_2.prototype.
|
|
57799
|
-
return this.
|
|
57856
|
+
Body_2.prototype.c35 = function () {
|
|
57857
|
+
return this.d35_1;
|
|
57800
57858
|
};
|
|
57801
|
-
Body_2.prototype.
|
|
57802
|
-
return this.
|
|
57859
|
+
Body_2.prototype.f35 = function () {
|
|
57860
|
+
return this.e35_1;
|
|
57803
57861
|
};
|
|
57804
57862
|
Body_2.$metadata$ = classMeta('Body', [MessageEventBodyJS]);
|
|
57805
57863
|
Object.defineProperty(Body_2.prototype, 'sender', {
|
|
57806
57864
|
configurable: true,
|
|
57807
57865
|
get: function () {
|
|
57808
|
-
return this.
|
|
57866
|
+
return this.c35();
|
|
57809
57867
|
}
|
|
57810
57868
|
});
|
|
57811
57869
|
Object.defineProperty(Body_2.prototype, 'text', {
|
|
57812
57870
|
configurable: true,
|
|
57813
|
-
get: Body_2.prototype.
|
|
57871
|
+
get: Body_2.prototype.f35
|
|
57814
57872
|
});
|
|
57815
57873
|
function TextMessageEventJS(event) {
|
|
57816
|
-
this.
|
|
57817
|
-
this.
|
|
57818
|
-
this.
|
|
57819
|
-
this.
|
|
57820
|
-
this.
|
|
57874
|
+
this.g35_1 = event.q2n_1;
|
|
57875
|
+
this.h35_1 = event.n2n_1;
|
|
57876
|
+
this.i35_1 = event.o2n_1;
|
|
57877
|
+
this.j35_1 = event.p2n_1;
|
|
57878
|
+
this.k35_1 = new Body_2(event.r2n_1);
|
|
57821
57879
|
}
|
|
57822
57880
|
TextMessageEventJS.prototype.v1k = function () {
|
|
57823
|
-
return this.
|
|
57881
|
+
return this.g35_1;
|
|
57824
57882
|
};
|
|
57825
57883
|
TextMessageEventJS.prototype.k1o = function () {
|
|
57826
|
-
return this.
|
|
57884
|
+
return this.h35_1;
|
|
57827
57885
|
};
|
|
57828
57886
|
TextMessageEventJS.prototype.z2q = function () {
|
|
57829
|
-
return this.
|
|
57887
|
+
return this.i35_1;
|
|
57830
57888
|
};
|
|
57831
57889
|
TextMessageEventJS.prototype.e1k = function () {
|
|
57832
|
-
return this.
|
|
57890
|
+
return this.j35_1;
|
|
57833
57891
|
};
|
|
57834
57892
|
TextMessageEventJS.prototype.n1y = function () {
|
|
57835
|
-
return this.
|
|
57893
|
+
return this.k35_1;
|
|
57836
57894
|
};
|
|
57837
57895
|
TextMessageEventJS.$metadata$ = classMeta('TextMessageEventJS', [MessageEventJS]);
|
|
57838
57896
|
Object.defineProperty(TextMessageEventJS.prototype, 'id', {
|
|
@@ -57892,15 +57950,15 @@ function requireClientsdkClientcore () {
|
|
|
57892
57950
|
}
|
|
57893
57951
|
function PresentingOrderJS(name, ordinal, corePresentingOrder) {
|
|
57894
57952
|
Enum.call(this, name, ordinal);
|
|
57895
|
-
this.
|
|
57953
|
+
this.n35_1 = corePresentingOrder;
|
|
57896
57954
|
}
|
|
57897
|
-
PresentingOrderJS.prototype.
|
|
57898
|
-
return this.
|
|
57955
|
+
PresentingOrderJS.prototype.o35 = function () {
|
|
57956
|
+
return this.n35_1;
|
|
57899
57957
|
};
|
|
57900
57958
|
PresentingOrderJS.$metadata$ = classMeta('PresentingOrderJS', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
57901
57959
|
Object.defineProperty(PresentingOrderJS.prototype, 'corePresentingOrder', {
|
|
57902
57960
|
configurable: true,
|
|
57903
|
-
get: PresentingOrderJS.prototype.
|
|
57961
|
+
get: PresentingOrderJS.prototype.o35
|
|
57904
57962
|
});
|
|
57905
57963
|
Object.defineProperty(PresentingOrderJS.prototype, 'name', {
|
|
57906
57964
|
configurable: true,
|
|
@@ -57911,10 +57969,10 @@ function requireClientsdkClientcore () {
|
|
|
57911
57969
|
get: PresentingOrderJS.prototype.pe
|
|
57912
57970
|
});
|
|
57913
57971
|
function ConversationJS(conversation) {
|
|
57914
|
-
this.
|
|
57915
|
-
this.
|
|
57916
|
-
this.
|
|
57917
|
-
this.
|
|
57972
|
+
this.p35_1 = conversation.x2k_1;
|
|
57973
|
+
this.q35_1 = conversation.y2k_1;
|
|
57974
|
+
this.r35_1 = new ConversationTimestampJS(conversation.z2k_1);
|
|
57975
|
+
this.s35_1 = conversation.a2l_1;
|
|
57918
57976
|
var tmp = this;
|
|
57919
57977
|
var tmp0_safe_receiver = conversation.b2l_1;
|
|
57920
57978
|
var tmp_0;
|
|
@@ -57930,9 +57988,9 @@ function requireClientsdkClientcore () {
|
|
|
57930
57988
|
tmp$ret$1 = tmp$ret$0;
|
|
57931
57989
|
tmp_0 = tmp$ret$1;
|
|
57932
57990
|
}
|
|
57933
|
-
tmp.
|
|
57934
|
-
this.
|
|
57935
|
-
this.
|
|
57991
|
+
tmp.t35_1 = tmp_0;
|
|
57992
|
+
this.u35_1 = conversation.c2l_1;
|
|
57993
|
+
this.v35_1 = conversation.d2l_1;
|
|
57936
57994
|
var tmp_1 = this;
|
|
57937
57995
|
var tmp0_safe_receiver_0 = conversation.e2l_1;
|
|
57938
57996
|
var tmp_2;
|
|
@@ -57948,35 +58006,35 @@ function requireClientsdkClientcore () {
|
|
|
57948
58006
|
tmp$ret$3 = tmp$ret$2;
|
|
57949
58007
|
tmp_2 = tmp$ret$3;
|
|
57950
58008
|
}
|
|
57951
|
-
tmp_1.
|
|
57952
|
-
this.
|
|
58009
|
+
tmp_1.w35_1 = tmp_2;
|
|
58010
|
+
this.x35_1 = conversation.f2l_1;
|
|
57953
58011
|
}
|
|
57954
58012
|
ConversationJS.prototype.v1k = function () {
|
|
57955
|
-
return this.
|
|
58013
|
+
return this.p35_1;
|
|
57956
58014
|
};
|
|
57957
58015
|
ConversationJS.prototype.f4 = function () {
|
|
57958
|
-
return this.
|
|
58016
|
+
return this.q35_1;
|
|
57959
58017
|
};
|
|
57960
58018
|
ConversationJS.prototype.k1o = function () {
|
|
57961
|
-
return this.
|
|
58019
|
+
return this.r35_1;
|
|
57962
58020
|
};
|
|
57963
58021
|
ConversationJS.prototype.h2r = function () {
|
|
57964
|
-
return this.
|
|
58022
|
+
return this.s35_1;
|
|
57965
58023
|
};
|
|
57966
58024
|
ConversationJS.prototype.z30 = function () {
|
|
57967
|
-
return this.
|
|
58025
|
+
return this.t35_1;
|
|
57968
58026
|
};
|
|
57969
|
-
ConversationJS.prototype.
|
|
57970
|
-
return this.
|
|
58027
|
+
ConversationJS.prototype.y35 = function () {
|
|
58028
|
+
return this.u35_1;
|
|
57971
58029
|
};
|
|
57972
|
-
ConversationJS.prototype.
|
|
57973
|
-
return this.
|
|
58030
|
+
ConversationJS.prototype.z35 = function () {
|
|
58031
|
+
return this.v35_1;
|
|
57974
58032
|
};
|
|
57975
58033
|
ConversationJS.prototype.m1c = function () {
|
|
57976
|
-
return this.
|
|
58034
|
+
return this.w35_1;
|
|
57977
58035
|
};
|
|
57978
|
-
ConversationJS.prototype.
|
|
57979
|
-
return this.
|
|
58036
|
+
ConversationJS.prototype.a36 = function () {
|
|
58037
|
+
return this.x35_1;
|
|
57980
58038
|
};
|
|
57981
58039
|
ConversationJS.$metadata$ = classMeta('ConversationJS');
|
|
57982
58040
|
Object.defineProperty(ConversationJS.prototype, 'id', {
|
|
@@ -58001,11 +58059,11 @@ function requireClientsdkClientcore () {
|
|
|
58001
58059
|
});
|
|
58002
58060
|
Object.defineProperty(ConversationJS.prototype, 'displayName', {
|
|
58003
58061
|
configurable: true,
|
|
58004
|
-
get: ConversationJS.prototype.
|
|
58062
|
+
get: ConversationJS.prototype.y35
|
|
58005
58063
|
});
|
|
58006
58064
|
Object.defineProperty(ConversationJS.prototype, 'imageUrl', {
|
|
58007
58065
|
configurable: true,
|
|
58008
|
-
get: ConversationJS.prototype.
|
|
58066
|
+
get: ConversationJS.prototype.z35
|
|
58009
58067
|
});
|
|
58010
58068
|
Object.defineProperty(ConversationJS.prototype, 'state', {
|
|
58011
58069
|
configurable: true,
|
|
@@ -58013,7 +58071,7 @@ function requireClientsdkClientcore () {
|
|
|
58013
58071
|
});
|
|
58014
58072
|
Object.defineProperty(ConversationJS.prototype, 'customData', {
|
|
58015
58073
|
configurable: true,
|
|
58016
|
-
get: ConversationJS.prototype.
|
|
58074
|
+
get: ConversationJS.prototype.a36
|
|
58017
58075
|
});
|
|
58018
58076
|
var ConversationStateJS_ACTIVE_instance;
|
|
58019
58077
|
var ConversationStateJS_INACTIVE_instance;
|
|
@@ -58057,31 +58115,31 @@ function requireClientsdkClientcore () {
|
|
|
58057
58115
|
get: ConversationStateJS.prototype.pe
|
|
58058
58116
|
});
|
|
58059
58117
|
function ConversationTimestampJS(conversationTimestamp) {
|
|
58060
|
-
this.
|
|
58061
|
-
this.
|
|
58062
|
-
this.
|
|
58118
|
+
this.d36_1 = conversationTimestamp.i2l_1;
|
|
58119
|
+
this.e36_1 = conversationTimestamp.j2l_1;
|
|
58120
|
+
this.f36_1 = conversationTimestamp.k2l_1;
|
|
58063
58121
|
}
|
|
58064
|
-
ConversationTimestampJS.prototype.
|
|
58065
|
-
return this.
|
|
58122
|
+
ConversationTimestampJS.prototype.g36 = function () {
|
|
58123
|
+
return this.d36_1;
|
|
58066
58124
|
};
|
|
58067
|
-
ConversationTimestampJS.prototype.
|
|
58068
|
-
return this.
|
|
58125
|
+
ConversationTimestampJS.prototype.h36 = function () {
|
|
58126
|
+
return this.e36_1;
|
|
58069
58127
|
};
|
|
58070
|
-
ConversationTimestampJS.prototype.
|
|
58071
|
-
return this.
|
|
58128
|
+
ConversationTimestampJS.prototype.i36 = function () {
|
|
58129
|
+
return this.f36_1;
|
|
58072
58130
|
};
|
|
58073
58131
|
ConversationTimestampJS.$metadata$ = classMeta('ConversationTimestampJS');
|
|
58074
58132
|
Object.defineProperty(ConversationTimestampJS.prototype, 'created', {
|
|
58075
58133
|
configurable: true,
|
|
58076
|
-
get: ConversationTimestampJS.prototype.
|
|
58134
|
+
get: ConversationTimestampJS.prototype.g36
|
|
58077
58135
|
});
|
|
58078
58136
|
Object.defineProperty(ConversationTimestampJS.prototype, 'updated', {
|
|
58079
58137
|
configurable: true,
|
|
58080
|
-
get: ConversationTimestampJS.prototype.
|
|
58138
|
+
get: ConversationTimestampJS.prototype.h36
|
|
58081
58139
|
});
|
|
58082
58140
|
Object.defineProperty(ConversationTimestampJS.prototype, 'destroyed', {
|
|
58083
58141
|
configurable: true,
|
|
58084
|
-
get: ConversationTimestampJS.prototype.
|
|
58142
|
+
get: ConversationTimestampJS.prototype.i36
|
|
58085
58143
|
});
|
|
58086
58144
|
function ConversationsPageJS(conversationsPage) {
|
|
58087
58145
|
var tmp = this;
|
|
@@ -58105,35 +58163,35 @@ function requireClientsdkClientcore () {
|
|
|
58105
58163
|
tmp$ret$2 = tmp$ret$1;
|
|
58106
58164
|
var tmp1_toTypedArray = tmp$ret$2;
|
|
58107
58165
|
tmp$ret$3 = copyToArray(tmp1_toTypedArray);
|
|
58108
|
-
tmp.
|
|
58109
|
-
this.
|
|
58110
|
-
this.
|
|
58166
|
+
tmp.j36_1 = tmp$ret$3;
|
|
58167
|
+
this.k36_1 = conversationsPage.m2l_1;
|
|
58168
|
+
this.l36_1 = conversationsPage.n2l_1;
|
|
58111
58169
|
}
|
|
58112
|
-
ConversationsPageJS.prototype.
|
|
58113
|
-
return this.
|
|
58170
|
+
ConversationsPageJS.prototype.m36 = function () {
|
|
58171
|
+
return this.j36_1;
|
|
58114
58172
|
};
|
|
58115
|
-
ConversationsPageJS.prototype.
|
|
58116
|
-
return this.
|
|
58173
|
+
ConversationsPageJS.prototype.a34 = function () {
|
|
58174
|
+
return this.k36_1;
|
|
58117
58175
|
};
|
|
58118
|
-
ConversationsPageJS.prototype.
|
|
58119
|
-
return this.
|
|
58176
|
+
ConversationsPageJS.prototype.b34 = function () {
|
|
58177
|
+
return this.l36_1;
|
|
58120
58178
|
};
|
|
58121
58179
|
ConversationsPageJS.$metadata$ = classMeta('ConversationsPageJS');
|
|
58122
58180
|
Object.defineProperty(ConversationsPageJS.prototype, 'conversations', {
|
|
58123
58181
|
configurable: true,
|
|
58124
|
-
get: ConversationsPageJS.prototype.
|
|
58182
|
+
get: ConversationsPageJS.prototype.m36
|
|
58125
58183
|
});
|
|
58126
58184
|
Object.defineProperty(ConversationsPageJS.prototype, 'previousCursor', {
|
|
58127
58185
|
configurable: true,
|
|
58128
|
-
get: ConversationsPageJS.prototype.
|
|
58186
|
+
get: ConversationsPageJS.prototype.a34
|
|
58129
58187
|
});
|
|
58130
58188
|
Object.defineProperty(ConversationsPageJS.prototype, 'nextCursor', {
|
|
58131
58189
|
configurable: true,
|
|
58132
|
-
get: ConversationsPageJS.prototype.
|
|
58190
|
+
get: ConversationsPageJS.prototype.b34
|
|
58133
58191
|
});
|
|
58134
58192
|
function MemberJS(member) {
|
|
58135
|
-
this.
|
|
58136
|
-
this.
|
|
58193
|
+
this.n36_1 = member.y2m_1;
|
|
58194
|
+
this.o36_1 = valueOf_1(member.z2m_1.d4_1);
|
|
58137
58195
|
var tmp = this;
|
|
58138
58196
|
var tmp0_safe_receiver = member.a2n_1;
|
|
58139
58197
|
var tmp_0;
|
|
@@ -58149,7 +58207,7 @@ function requireClientsdkClientcore () {
|
|
|
58149
58207
|
tmp$ret$1 = tmp$ret$0;
|
|
58150
58208
|
tmp_0 = tmp$ret$1;
|
|
58151
58209
|
}
|
|
58152
|
-
tmp.
|
|
58210
|
+
tmp.p36_1 = tmp_0;
|
|
58153
58211
|
var tmp_1 = this;
|
|
58154
58212
|
var tmp0_safe_receiver_0 = member.b2n_1;
|
|
58155
58213
|
var tmp_2;
|
|
@@ -58165,7 +58223,7 @@ function requireClientsdkClientcore () {
|
|
|
58165
58223
|
tmp$ret$3 = tmp$ret$2;
|
|
58166
58224
|
tmp_2 = tmp$ret$3;
|
|
58167
58225
|
}
|
|
58168
|
-
tmp_1.
|
|
58226
|
+
tmp_1.q36_1 = tmp_2;
|
|
58169
58227
|
var tmp_3 = this;
|
|
58170
58228
|
var tmp0_safe_receiver_1 = member.c2n_1;
|
|
58171
58229
|
var tmp_4;
|
|
@@ -58181,22 +58239,22 @@ function requireClientsdkClientcore () {
|
|
|
58181
58239
|
tmp$ret$5 = tmp$ret$4;
|
|
58182
58240
|
tmp_4 = tmp$ret$5;
|
|
58183
58241
|
}
|
|
58184
|
-
tmp_3.
|
|
58242
|
+
tmp_3.r36_1 = tmp_4;
|
|
58185
58243
|
}
|
|
58186
58244
|
MemberJS.prototype.v1k = function () {
|
|
58187
|
-
return this.
|
|
58245
|
+
return this.n36_1;
|
|
58188
58246
|
};
|
|
58189
58247
|
MemberJS.prototype.m1c = function () {
|
|
58190
|
-
return this.
|
|
58248
|
+
return this.o36_1;
|
|
58191
58249
|
};
|
|
58192
58250
|
MemberJS.prototype.n1k = function () {
|
|
58193
|
-
return this.
|
|
58251
|
+
return this.p36_1;
|
|
58194
58252
|
};
|
|
58195
58253
|
MemberJS.prototype.e1y = function () {
|
|
58196
|
-
return this.
|
|
58254
|
+
return this.q36_1;
|
|
58197
58255
|
};
|
|
58198
58256
|
MemberJS.prototype.k1o = function () {
|
|
58199
|
-
return this.
|
|
58257
|
+
return this.r36_1;
|
|
58200
58258
|
};
|
|
58201
58259
|
MemberJS.$metadata$ = classMeta('MemberJS');
|
|
58202
58260
|
Object.defineProperty(MemberJS.prototype, 'id', {
|
|
@@ -58265,31 +58323,31 @@ function requireClientsdkClientcore () {
|
|
|
58265
58323
|
get: MemberStateJS.prototype.pe
|
|
58266
58324
|
});
|
|
58267
58325
|
function MemberTimestampJS(memberTimestamp) {
|
|
58268
|
-
this.
|
|
58269
|
-
this.
|
|
58270
|
-
this.
|
|
58326
|
+
this.u36_1 = memberTimestamp.f2n_1;
|
|
58327
|
+
this.v36_1 = memberTimestamp.g2n_1;
|
|
58328
|
+
this.w36_1 = memberTimestamp.h2n_1;
|
|
58271
58329
|
}
|
|
58272
|
-
MemberTimestampJS.prototype.
|
|
58273
|
-
return this.
|
|
58330
|
+
MemberTimestampJS.prototype.x36 = function () {
|
|
58331
|
+
return this.u36_1;
|
|
58274
58332
|
};
|
|
58275
|
-
MemberTimestampJS.prototype.
|
|
58276
|
-
return this.
|
|
58333
|
+
MemberTimestampJS.prototype.y36 = function () {
|
|
58334
|
+
return this.v36_1;
|
|
58277
58335
|
};
|
|
58278
|
-
MemberTimestampJS.prototype.
|
|
58279
|
-
return this.
|
|
58336
|
+
MemberTimestampJS.prototype.z36 = function () {
|
|
58337
|
+
return this.w36_1;
|
|
58280
58338
|
};
|
|
58281
58339
|
MemberTimestampJS.$metadata$ = classMeta('MemberTimestampJS');
|
|
58282
58340
|
Object.defineProperty(MemberTimestampJS.prototype, 'invited', {
|
|
58283
58341
|
configurable: true,
|
|
58284
|
-
get: MemberTimestampJS.prototype.
|
|
58342
|
+
get: MemberTimestampJS.prototype.x36
|
|
58285
58343
|
});
|
|
58286
58344
|
Object.defineProperty(MemberTimestampJS.prototype, 'joined', {
|
|
58287
58345
|
configurable: true,
|
|
58288
|
-
get: MemberTimestampJS.prototype.
|
|
58346
|
+
get: MemberTimestampJS.prototype.y36
|
|
58289
58347
|
});
|
|
58290
58348
|
Object.defineProperty(MemberTimestampJS.prototype, 'left', {
|
|
58291
58349
|
configurable: true,
|
|
58292
|
-
get: MemberTimestampJS.prototype.
|
|
58350
|
+
get: MemberTimestampJS.prototype.z36
|
|
58293
58351
|
});
|
|
58294
58352
|
function MembersPageJS(membersPage) {
|
|
58295
58353
|
var tmp = this;
|
|
@@ -58313,36 +58371,36 @@ function requireClientsdkClientcore () {
|
|
|
58313
58371
|
tmp$ret$2 = tmp$ret$1;
|
|
58314
58372
|
var tmp1_toTypedArray = tmp$ret$2;
|
|
58315
58373
|
tmp$ret$3 = copyToArray(tmp1_toTypedArray);
|
|
58316
|
-
tmp.
|
|
58317
|
-
this.
|
|
58318
|
-
this.
|
|
58374
|
+
tmp.a37_1 = tmp$ret$3;
|
|
58375
|
+
this.b37_1 = membersPage.j2n_1;
|
|
58376
|
+
this.c37_1 = membersPage.k2n_1;
|
|
58319
58377
|
}
|
|
58320
|
-
MembersPageJS.prototype.
|
|
58321
|
-
return this.
|
|
58378
|
+
MembersPageJS.prototype.d37 = function () {
|
|
58379
|
+
return this.a37_1;
|
|
58322
58380
|
};
|
|
58323
|
-
MembersPageJS.prototype.
|
|
58324
|
-
return this.
|
|
58381
|
+
MembersPageJS.prototype.a34 = function () {
|
|
58382
|
+
return this.b37_1;
|
|
58325
58383
|
};
|
|
58326
|
-
MembersPageJS.prototype.
|
|
58327
|
-
return this.
|
|
58384
|
+
MembersPageJS.prototype.b34 = function () {
|
|
58385
|
+
return this.c37_1;
|
|
58328
58386
|
};
|
|
58329
58387
|
MembersPageJS.$metadata$ = classMeta('MembersPageJS');
|
|
58330
58388
|
Object.defineProperty(MembersPageJS.prototype, 'members', {
|
|
58331
58389
|
configurable: true,
|
|
58332
|
-
get: MembersPageJS.prototype.
|
|
58390
|
+
get: MembersPageJS.prototype.d37
|
|
58333
58391
|
});
|
|
58334
58392
|
Object.defineProperty(MembersPageJS.prototype, 'previousCursor', {
|
|
58335
58393
|
configurable: true,
|
|
58336
|
-
get: MembersPageJS.prototype.
|
|
58394
|
+
get: MembersPageJS.prototype.a34
|
|
58337
58395
|
});
|
|
58338
58396
|
Object.defineProperty(MembersPageJS.prototype, 'nextCursor', {
|
|
58339
58397
|
configurable: true,
|
|
58340
|
-
get: MembersPageJS.prototype.
|
|
58398
|
+
get: MembersPageJS.prototype.b34
|
|
58341
58399
|
});
|
|
58342
58400
|
function UserJS(user) {
|
|
58343
|
-
this.
|
|
58344
|
-
this.
|
|
58345
|
-
this.
|
|
58401
|
+
this.e37_1 = user.s2n_1;
|
|
58402
|
+
this.f37_1 = user.t2n_1;
|
|
58403
|
+
this.g37_1 = user.u2n_1;
|
|
58346
58404
|
var tmp = this;
|
|
58347
58405
|
var tmp0_safe_receiver = user.v2n_1;
|
|
58348
58406
|
var tmp_0;
|
|
@@ -58358,7 +58416,7 @@ function requireClientsdkClientcore () {
|
|
|
58358
58416
|
tmp$ret$1 = tmp$ret$0;
|
|
58359
58417
|
tmp_0 = tmp$ret$1;
|
|
58360
58418
|
}
|
|
58361
|
-
tmp.
|
|
58419
|
+
tmp.h37_1 = tmp_0;
|
|
58362
58420
|
var tmp_1 = this;
|
|
58363
58421
|
var tmp0_safe_receiver_0 = user.w2n_1;
|
|
58364
58422
|
var tmp_2;
|
|
@@ -58374,31 +58432,31 @@ function requireClientsdkClientcore () {
|
|
|
58374
58432
|
tmp$ret$3 = tmp$ret$2;
|
|
58375
58433
|
tmp_2 = tmp$ret$3;
|
|
58376
58434
|
}
|
|
58377
|
-
tmp_1.
|
|
58378
|
-
this.
|
|
58379
|
-
this.
|
|
58435
|
+
tmp_1.i37_1 = tmp_2;
|
|
58436
|
+
this.j37_1 = user.x2n_1;
|
|
58437
|
+
this.k37_1 = user.y2n_1;
|
|
58380
58438
|
}
|
|
58381
58439
|
UserJS.prototype.v1k = function () {
|
|
58382
|
-
return this.
|
|
58440
|
+
return this.e37_1;
|
|
58383
58441
|
};
|
|
58384
58442
|
UserJS.prototype.f4 = function () {
|
|
58443
|
+
return this.f37_1;
|
|
58444
|
+
};
|
|
58445
|
+
UserJS.prototype.y35 = function () {
|
|
58446
|
+
return this.g37_1;
|
|
58447
|
+
};
|
|
58448
|
+
UserJS.prototype.l37 = function () {
|
|
58385
58449
|
return this.h37_1;
|
|
58386
58450
|
};
|
|
58387
|
-
UserJS.prototype.
|
|
58451
|
+
UserJS.prototype.k1o = function () {
|
|
58388
58452
|
return this.i37_1;
|
|
58389
58453
|
};
|
|
58390
|
-
UserJS.prototype.
|
|
58454
|
+
UserJS.prototype.z35 = function () {
|
|
58391
58455
|
return this.j37_1;
|
|
58392
58456
|
};
|
|
58393
|
-
UserJS.prototype.
|
|
58457
|
+
UserJS.prototype.a36 = function () {
|
|
58394
58458
|
return this.k37_1;
|
|
58395
58459
|
};
|
|
58396
|
-
UserJS.prototype.b36 = function () {
|
|
58397
|
-
return this.l37_1;
|
|
58398
|
-
};
|
|
58399
|
-
UserJS.prototype.c36 = function () {
|
|
58400
|
-
return this.m37_1;
|
|
58401
|
-
};
|
|
58402
58460
|
UserJS.$metadata$ = classMeta('UserJS');
|
|
58403
58461
|
Object.defineProperty(UserJS.prototype, 'id', {
|
|
58404
58462
|
configurable: true,
|
|
@@ -58410,11 +58468,11 @@ function requireClientsdkClientcore () {
|
|
|
58410
58468
|
});
|
|
58411
58469
|
Object.defineProperty(UserJS.prototype, 'displayName', {
|
|
58412
58470
|
configurable: true,
|
|
58413
|
-
get: UserJS.prototype.
|
|
58471
|
+
get: UserJS.prototype.y35
|
|
58414
58472
|
});
|
|
58415
58473
|
Object.defineProperty(UserJS.prototype, 'channels', {
|
|
58416
58474
|
configurable: true,
|
|
58417
|
-
get: UserJS.prototype.
|
|
58475
|
+
get: UserJS.prototype.l37
|
|
58418
58476
|
});
|
|
58419
58477
|
Object.defineProperty(UserJS.prototype, 'timestamp', {
|
|
58420
58478
|
configurable: true,
|
|
@@ -58422,38 +58480,38 @@ function requireClientsdkClientcore () {
|
|
|
58422
58480
|
});
|
|
58423
58481
|
Object.defineProperty(UserJS.prototype, 'imageUrl', {
|
|
58424
58482
|
configurable: true,
|
|
58425
|
-
get: UserJS.prototype.
|
|
58483
|
+
get: UserJS.prototype.z35
|
|
58426
58484
|
});
|
|
58427
58485
|
Object.defineProperty(UserJS.prototype, 'customData', {
|
|
58428
58486
|
configurable: true,
|
|
58429
|
-
get: UserJS.prototype.
|
|
58487
|
+
get: UserJS.prototype.a36
|
|
58430
58488
|
});
|
|
58431
58489
|
function UserTimestampJS(userTimestamp) {
|
|
58432
|
-
this.
|
|
58433
|
-
this.
|
|
58434
|
-
this.
|
|
58490
|
+
this.m37_1 = userTimestamp.b2o_1;
|
|
58491
|
+
this.n37_1 = userTimestamp.c2o_1;
|
|
58492
|
+
this.o37_1 = userTimestamp.d2o_1;
|
|
58435
58493
|
}
|
|
58436
|
-
UserTimestampJS.prototype.
|
|
58437
|
-
return this.
|
|
58494
|
+
UserTimestampJS.prototype.g36 = function () {
|
|
58495
|
+
return this.m37_1;
|
|
58438
58496
|
};
|
|
58439
|
-
UserTimestampJS.prototype.
|
|
58440
|
-
return this.
|
|
58497
|
+
UserTimestampJS.prototype.h36 = function () {
|
|
58498
|
+
return this.n37_1;
|
|
58441
58499
|
};
|
|
58442
|
-
UserTimestampJS.prototype.
|
|
58443
|
-
return this.
|
|
58500
|
+
UserTimestampJS.prototype.i36 = function () {
|
|
58501
|
+
return this.o37_1;
|
|
58444
58502
|
};
|
|
58445
58503
|
UserTimestampJS.$metadata$ = classMeta('UserTimestampJS');
|
|
58446
58504
|
Object.defineProperty(UserTimestampJS.prototype, 'created', {
|
|
58447
58505
|
configurable: true,
|
|
58448
|
-
get: UserTimestampJS.prototype.
|
|
58506
|
+
get: UserTimestampJS.prototype.g36
|
|
58449
58507
|
});
|
|
58450
58508
|
Object.defineProperty(UserTimestampJS.prototype, 'updated', {
|
|
58451
58509
|
configurable: true,
|
|
58452
|
-
get: UserTimestampJS.prototype.
|
|
58510
|
+
get: UserTimestampJS.prototype.h36
|
|
58453
58511
|
});
|
|
58454
58512
|
Object.defineProperty(UserTimestampJS.prototype, 'destroyed', {
|
|
58455
58513
|
configurable: true,
|
|
58456
|
-
get: UserTimestampJS.prototype.
|
|
58514
|
+
get: UserTimestampJS.prototype.i36
|
|
58457
58515
|
});
|
|
58458
58516
|
function UserChannelsJS(userChannels) {
|
|
58459
58517
|
var tmp = this;
|
|
@@ -58489,7 +58547,7 @@ function requireClientsdkClientcore () {
|
|
|
58489
58547
|
tmp$ret$3 = copyToArray(tmp1_safe_receiver);
|
|
58490
58548
|
tmp_1 = tmp$ret$3;
|
|
58491
58549
|
}
|
|
58492
|
-
tmp.
|
|
58550
|
+
tmp.p37_1 = tmp_1;
|
|
58493
58551
|
var tmp_2 = this;
|
|
58494
58552
|
var tmp0_safe_receiver_0 = userChannels.c2h_1;
|
|
58495
58553
|
var tmp_3;
|
|
@@ -58523,7 +58581,7 @@ function requireClientsdkClientcore () {
|
|
|
58523
58581
|
tmp$ret$7 = copyToArray(tmp1_safe_receiver_0);
|
|
58524
58582
|
tmp_4 = tmp$ret$7;
|
|
58525
58583
|
}
|
|
58526
|
-
tmp_2.
|
|
58584
|
+
tmp_2.q37_1 = tmp_4;
|
|
58527
58585
|
var tmp_5 = this;
|
|
58528
58586
|
var tmp0_safe_receiver_1 = userChannels.d2h_1;
|
|
58529
58587
|
var tmp_6;
|
|
@@ -58557,7 +58615,7 @@ function requireClientsdkClientcore () {
|
|
|
58557
58615
|
tmp$ret$11 = copyToArray(tmp1_safe_receiver_1);
|
|
58558
58616
|
tmp_7 = tmp$ret$11;
|
|
58559
58617
|
}
|
|
58560
|
-
tmp_5.
|
|
58618
|
+
tmp_5.r37_1 = tmp_7;
|
|
58561
58619
|
var tmp_8 = this;
|
|
58562
58620
|
var tmp0_safe_receiver_2 = userChannels.e2h_1;
|
|
58563
58621
|
var tmp_9;
|
|
@@ -58591,7 +58649,7 @@ function requireClientsdkClientcore () {
|
|
|
58591
58649
|
tmp$ret$15 = copyToArray(tmp1_safe_receiver_2);
|
|
58592
58650
|
tmp_10 = tmp$ret$15;
|
|
58593
58651
|
}
|
|
58594
|
-
tmp_8.
|
|
58652
|
+
tmp_8.s37_1 = tmp_10;
|
|
58595
58653
|
var tmp_11 = this;
|
|
58596
58654
|
var tmp0_safe_receiver_3 = userChannels.f2h_1;
|
|
58597
58655
|
var tmp_12;
|
|
@@ -58625,7 +58683,7 @@ function requireClientsdkClientcore () {
|
|
|
58625
58683
|
tmp$ret$19 = copyToArray(tmp1_safe_receiver_3);
|
|
58626
58684
|
tmp_13 = tmp$ret$19;
|
|
58627
58685
|
}
|
|
58628
|
-
tmp_11.
|
|
58686
|
+
tmp_11.t37_1 = tmp_13;
|
|
58629
58687
|
var tmp_14 = this;
|
|
58630
58688
|
var tmp0_safe_receiver_4 = userChannels.g2h_1;
|
|
58631
58689
|
var tmp_15;
|
|
@@ -58659,7 +58717,7 @@ function requireClientsdkClientcore () {
|
|
|
58659
58717
|
tmp$ret$23 = copyToArray(tmp1_safe_receiver_4);
|
|
58660
58718
|
tmp_16 = tmp$ret$23;
|
|
58661
58719
|
}
|
|
58662
|
-
tmp_14.
|
|
58720
|
+
tmp_14.u37_1 = tmp_16;
|
|
58663
58721
|
var tmp_17 = this;
|
|
58664
58722
|
var tmp0_safe_receiver_5 = userChannels.h2h_1;
|
|
58665
58723
|
var tmp_18;
|
|
@@ -58693,7 +58751,7 @@ function requireClientsdkClientcore () {
|
|
|
58693
58751
|
tmp$ret$27 = copyToArray(tmp1_safe_receiver_5);
|
|
58694
58752
|
tmp_19 = tmp$ret$27;
|
|
58695
58753
|
}
|
|
58696
|
-
tmp_17.
|
|
58754
|
+
tmp_17.v37_1 = tmp_19;
|
|
58697
58755
|
var tmp_20 = this;
|
|
58698
58756
|
var tmp0_safe_receiver_6 = userChannels.i2h_1;
|
|
58699
58757
|
var tmp_21;
|
|
@@ -58727,7 +58785,7 @@ function requireClientsdkClientcore () {
|
|
|
58727
58785
|
tmp$ret$31 = copyToArray(tmp1_safe_receiver_6);
|
|
58728
58786
|
tmp_22 = tmp$ret$31;
|
|
58729
58787
|
}
|
|
58730
|
-
tmp_20.
|
|
58788
|
+
tmp_20.w37_1 = tmp_22;
|
|
58731
58789
|
var tmp_23 = this;
|
|
58732
58790
|
var tmp0_safe_receiver_7 = userChannels.j2h_1;
|
|
58733
58791
|
var tmp_24;
|
|
@@ -58761,7 +58819,7 @@ function requireClientsdkClientcore () {
|
|
|
58761
58819
|
tmp$ret$35 = copyToArray(tmp1_safe_receiver_7);
|
|
58762
58820
|
tmp_25 = tmp$ret$35;
|
|
58763
58821
|
}
|
|
58764
|
-
tmp_23.
|
|
58822
|
+
tmp_23.x37_1 = tmp_25;
|
|
58765
58823
|
var tmp_26 = this;
|
|
58766
58824
|
var tmp0_safe_receiver_8 = userChannels.k2h_1;
|
|
58767
58825
|
var tmp_27;
|
|
@@ -58795,7 +58853,7 @@ function requireClientsdkClientcore () {
|
|
|
58795
58853
|
tmp$ret$39 = copyToArray(tmp1_safe_receiver_8);
|
|
58796
58854
|
tmp_28 = tmp$ret$39;
|
|
58797
58855
|
}
|
|
58798
|
-
tmp_26.
|
|
58856
|
+
tmp_26.y37_1 = tmp_28;
|
|
58799
58857
|
var tmp_29 = this;
|
|
58800
58858
|
var tmp0_safe_receiver_9 = userChannels.l2h_1;
|
|
58801
58859
|
var tmp_30;
|
|
@@ -58829,8 +58887,14 @@ function requireClientsdkClientcore () {
|
|
|
58829
58887
|
tmp$ret$43 = copyToArray(tmp1_safe_receiver_9);
|
|
58830
58888
|
tmp_31 = tmp$ret$43;
|
|
58831
58889
|
}
|
|
58832
|
-
tmp_29.
|
|
58890
|
+
tmp_29.z37_1 = tmp_31;
|
|
58833
58891
|
}
|
|
58892
|
+
UserChannelsJS.prototype.a38 = function () {
|
|
58893
|
+
return this.p37_1;
|
|
58894
|
+
};
|
|
58895
|
+
UserChannelsJS.prototype.b38 = function () {
|
|
58896
|
+
return this.q37_1;
|
|
58897
|
+
};
|
|
58834
58898
|
UserChannelsJS.prototype.c38 = function () {
|
|
58835
58899
|
return this.r37_1;
|
|
58836
58900
|
};
|
|
@@ -58858,59 +58922,53 @@ function requireClientsdkClientcore () {
|
|
|
58858
58922
|
UserChannelsJS.prototype.k38 = function () {
|
|
58859
58923
|
return this.z37_1;
|
|
58860
58924
|
};
|
|
58861
|
-
UserChannelsJS.prototype.l38 = function () {
|
|
58862
|
-
return this.a38_1;
|
|
58863
|
-
};
|
|
58864
|
-
UserChannelsJS.prototype.m38 = function () {
|
|
58865
|
-
return this.b38_1;
|
|
58866
|
-
};
|
|
58867
58925
|
UserChannelsJS.$metadata$ = classMeta('UserChannelsJS');
|
|
58868
58926
|
Object.defineProperty(UserChannelsJS.prototype, 'app', {
|
|
58869
58927
|
configurable: true,
|
|
58870
|
-
get: UserChannelsJS.prototype.
|
|
58928
|
+
get: UserChannelsJS.prototype.a38
|
|
58871
58929
|
});
|
|
58872
58930
|
Object.defineProperty(UserChannelsJS.prototype, 'phone', {
|
|
58873
58931
|
configurable: true,
|
|
58874
|
-
get: UserChannelsJS.prototype.
|
|
58932
|
+
get: UserChannelsJS.prototype.b38
|
|
58875
58933
|
});
|
|
58876
58934
|
Object.defineProperty(UserChannelsJS.prototype, 'pstn', {
|
|
58877
58935
|
configurable: true,
|
|
58878
|
-
get: UserChannelsJS.prototype.
|
|
58936
|
+
get: UserChannelsJS.prototype.c38
|
|
58879
58937
|
});
|
|
58880
58938
|
Object.defineProperty(UserChannelsJS.prototype, 'sip', {
|
|
58881
58939
|
configurable: true,
|
|
58882
|
-
get: UserChannelsJS.prototype.
|
|
58940
|
+
get: UserChannelsJS.prototype.d38
|
|
58883
58941
|
});
|
|
58884
58942
|
Object.defineProperty(UserChannelsJS.prototype, 'vbc', {
|
|
58885
58943
|
configurable: true,
|
|
58886
|
-
get: UserChannelsJS.prototype.
|
|
58944
|
+
get: UserChannelsJS.prototype.e38
|
|
58887
58945
|
});
|
|
58888
58946
|
Object.defineProperty(UserChannelsJS.prototype, 'websocket', {
|
|
58889
58947
|
configurable: true,
|
|
58890
|
-
get: UserChannelsJS.prototype.
|
|
58948
|
+
get: UserChannelsJS.prototype.f38
|
|
58891
58949
|
});
|
|
58892
58950
|
Object.defineProperty(UserChannelsJS.prototype, 'sms', {
|
|
58893
58951
|
configurable: true,
|
|
58894
|
-
get: UserChannelsJS.prototype.
|
|
58952
|
+
get: UserChannelsJS.prototype.g38
|
|
58895
58953
|
});
|
|
58896
58954
|
Object.defineProperty(UserChannelsJS.prototype, 'mms', {
|
|
58897
58955
|
configurable: true,
|
|
58898
|
-
get: UserChannelsJS.prototype.
|
|
58956
|
+
get: UserChannelsJS.prototype.h38
|
|
58899
58957
|
});
|
|
58900
58958
|
Object.defineProperty(UserChannelsJS.prototype, 'whatsapp', {
|
|
58901
58959
|
configurable: true,
|
|
58902
|
-
get: UserChannelsJS.prototype.
|
|
58960
|
+
get: UserChannelsJS.prototype.i38
|
|
58903
58961
|
});
|
|
58904
58962
|
Object.defineProperty(UserChannelsJS.prototype, 'viber', {
|
|
58905
58963
|
configurable: true,
|
|
58906
|
-
get: UserChannelsJS.prototype.
|
|
58964
|
+
get: UserChannelsJS.prototype.j38
|
|
58907
58965
|
});
|
|
58908
58966
|
Object.defineProperty(UserChannelsJS.prototype, 'messenger', {
|
|
58909
58967
|
configurable: true,
|
|
58910
|
-
get: UserChannelsJS.prototype.
|
|
58968
|
+
get: UserChannelsJS.prototype.k38
|
|
58911
58969
|
});
|
|
58912
58970
|
function MemberChannelJS(memberChannel) {
|
|
58913
|
-
this.
|
|
58971
|
+
this.l38_1 = valueOf_2(memberChannel.g2k_1.d4_1);
|
|
58914
58972
|
var tmp = this;
|
|
58915
58973
|
var tmp0_safe_receiver = memberChannel.h2k_1;
|
|
58916
58974
|
var tmp_0;
|
|
@@ -58926,7 +58984,7 @@ function requireClientsdkClientcore () {
|
|
|
58926
58984
|
tmp$ret$1 = tmp$ret$0;
|
|
58927
58985
|
tmp_0 = tmp$ret$1;
|
|
58928
58986
|
}
|
|
58929
|
-
tmp.
|
|
58987
|
+
tmp.m38_1 = tmp_0;
|
|
58930
58988
|
var tmp_1 = this;
|
|
58931
58989
|
var tmp0_safe_receiver_0 = memberChannel.i2k_1;
|
|
58932
58990
|
var tmp_2;
|
|
@@ -58942,16 +59000,16 @@ function requireClientsdkClientcore () {
|
|
|
58942
59000
|
tmp$ret$3 = tmp$ret$2;
|
|
58943
59001
|
tmp_2 = tmp$ret$3;
|
|
58944
59002
|
}
|
|
58945
|
-
tmp_1.
|
|
59003
|
+
tmp_1.n38_1 = tmp_2;
|
|
58946
59004
|
}
|
|
58947
59005
|
MemberChannelJS.prototype.i2q = function () {
|
|
58948
|
-
return this.
|
|
59006
|
+
return this.l38_1;
|
|
58949
59007
|
};
|
|
58950
59008
|
MemberChannelJS.prototype.e1k = function () {
|
|
58951
|
-
return this.
|
|
59009
|
+
return this.m38_1;
|
|
58952
59010
|
};
|
|
58953
59011
|
MemberChannelJS.prototype.f1k = function () {
|
|
58954
|
-
return this.
|
|
59012
|
+
return this.n38_1;
|
|
58955
59013
|
};
|
|
58956
59014
|
MemberChannelJS.$metadata$ = classMeta('MemberChannelJS');
|
|
58957
59015
|
Object.defineProperty(MemberChannelJS.prototype, 'type', {
|
|
@@ -58967,14 +59025,14 @@ function requireClientsdkClientcore () {
|
|
|
58967
59025
|
get: MemberChannelJS.prototype.f1k
|
|
58968
59026
|
});
|
|
58969
59027
|
function ChannelJS(channel) {
|
|
58970
|
-
this.
|
|
58971
|
-
this.
|
|
59028
|
+
this.o38_1 = channel.n2k_1;
|
|
59029
|
+
this.p38_1 = channel.o2k_1;
|
|
58972
59030
|
}
|
|
58973
59031
|
ChannelJS.prototype.v1k = function () {
|
|
58974
|
-
return this.
|
|
59032
|
+
return this.o38_1;
|
|
58975
59033
|
};
|
|
58976
59034
|
ChannelJS.prototype.a2s = function () {
|
|
58977
|
-
return this.
|
|
59035
|
+
return this.p38_1;
|
|
58978
59036
|
};
|
|
58979
59037
|
ChannelJS.$metadata$ = classMeta('ChannelJS');
|
|
58980
59038
|
Object.defineProperty(ChannelJS.prototype, 'id', {
|
|
@@ -58986,18 +59044,18 @@ function requireClientsdkClientcore () {
|
|
|
58986
59044
|
get: ChannelJS.prototype.a2s
|
|
58987
59045
|
});
|
|
58988
59046
|
function LegChannelJS(channel) {
|
|
58989
|
-
this.
|
|
58990
|
-
this.
|
|
58991
|
-
this.
|
|
59047
|
+
this.q38_1 = channel.u2k_1;
|
|
59048
|
+
this.r38_1 = channel.w2k_1;
|
|
59049
|
+
this.s38_1 = channel.v2k_1;
|
|
58992
59050
|
}
|
|
58993
59051
|
LegChannelJS.prototype.i2q = function () {
|
|
58994
|
-
return this.
|
|
59052
|
+
return this.q38_1;
|
|
58995
59053
|
};
|
|
58996
59054
|
LegChannelJS.prototype.n1k = function () {
|
|
58997
|
-
return this.
|
|
59055
|
+
return this.r38_1;
|
|
58998
59056
|
};
|
|
58999
59057
|
LegChannelJS.prototype.a2s = function () {
|
|
59000
|
-
return this.
|
|
59058
|
+
return this.s38_1;
|
|
59001
59059
|
};
|
|
59002
59060
|
LegChannelJS.$metadata$ = classMeta('LegChannelJS');
|
|
59003
59061
|
Object.defineProperty(LegChannelJS.prototype, 'type', {
|
|
@@ -59013,42 +59071,42 @@ function requireClientsdkClientcore () {
|
|
|
59013
59071
|
get: LegChannelJS.prototype.a2s
|
|
59014
59072
|
});
|
|
59015
59073
|
function LegJS(leg) {
|
|
59016
|
-
this.
|
|
59017
|
-
this.
|
|
59018
|
-
this.
|
|
59019
|
-
this.
|
|
59020
|
-
this.
|
|
59021
|
-
this.
|
|
59022
|
-
this.
|
|
59023
|
-
this.
|
|
59024
|
-
this.
|
|
59074
|
+
this.t38_1 = leg.p2m_1;
|
|
59075
|
+
this.u38_1 = leg.q2m_1;
|
|
59076
|
+
this.v38_1 = leg.r2m_1;
|
|
59077
|
+
this.w38_1 = leg.s2m_1;
|
|
59078
|
+
this.x38_1 = leg.t2m_1;
|
|
59079
|
+
this.y38_1 = leg.u2m_1;
|
|
59080
|
+
this.z38_1 = leg.v2m_1;
|
|
59081
|
+
this.a39_1 = new LegChannelJS(leg.w2m_1);
|
|
59082
|
+
this.b39_1 = new LegChannelJS(leg.x2m_1);
|
|
59025
59083
|
}
|
|
59026
59084
|
LegJS.prototype.v1k = function () {
|
|
59027
|
-
return this.
|
|
59085
|
+
return this.t38_1;
|
|
59028
59086
|
};
|
|
59029
59087
|
LegJS.prototype.i2q = function () {
|
|
59030
|
-
return this.
|
|
59088
|
+
return this.u38_1;
|
|
59031
59089
|
};
|
|
59032
59090
|
LegJS.prototype.s2r = function () {
|
|
59033
|
-
return this.
|
|
59091
|
+
return this.v38_1;
|
|
59034
59092
|
};
|
|
59035
59093
|
LegJS.prototype.z2q = function () {
|
|
59036
|
-
return this.
|
|
59094
|
+
return this.w38_1;
|
|
59037
59095
|
};
|
|
59038
59096
|
LegJS.prototype.f2f = function () {
|
|
59039
|
-
return this.
|
|
59097
|
+
return this.x38_1;
|
|
59040
59098
|
};
|
|
59041
|
-
LegJS.prototype.
|
|
59042
|
-
return this.
|
|
59099
|
+
LegJS.prototype.c39 = function () {
|
|
59100
|
+
return this.y38_1;
|
|
59043
59101
|
};
|
|
59044
|
-
LegJS.prototype.
|
|
59045
|
-
return this.
|
|
59102
|
+
LegJS.prototype.d39 = function () {
|
|
59103
|
+
return this.z38_1;
|
|
59046
59104
|
};
|
|
59047
59105
|
LegJS.prototype.e1k = function () {
|
|
59048
|
-
return this.
|
|
59106
|
+
return this.a39_1;
|
|
59049
59107
|
};
|
|
59050
59108
|
LegJS.prototype.f1k = function () {
|
|
59051
|
-
return this.
|
|
59109
|
+
return this.b39_1;
|
|
59052
59110
|
};
|
|
59053
59111
|
LegJS.$metadata$ = classMeta('LegJS');
|
|
59054
59112
|
Object.defineProperty(LegJS.prototype, 'id', {
|
|
@@ -59073,11 +59131,11 @@ function requireClientsdkClientcore () {
|
|
|
59073
59131
|
});
|
|
59074
59132
|
Object.defineProperty(LegJS.prototype, 'startTime', {
|
|
59075
59133
|
configurable: true,
|
|
59076
|
-
get: LegJS.prototype.
|
|
59134
|
+
get: LegJS.prototype.c39
|
|
59077
59135
|
});
|
|
59078
59136
|
Object.defineProperty(LegJS.prototype, 'endTime', {
|
|
59079
59137
|
configurable: true,
|
|
59080
|
-
get: LegJS.prototype.
|
|
59138
|
+
get: LegJS.prototype.d39
|
|
59081
59139
|
});
|
|
59082
59140
|
Object.defineProperty(LegJS.prototype, 'from', {
|
|
59083
59141
|
configurable: true,
|
|
@@ -59242,16 +59300,22 @@ function requireClientsdkClientcore () {
|
|
|
59242
59300
|
}
|
|
59243
59301
|
function CSErrorCodesJS() {
|
|
59244
59302
|
CSErrorCodesJS_instance = this;
|
|
59245
|
-
this.
|
|
59246
|
-
this.
|
|
59247
|
-
this.
|
|
59248
|
-
this.
|
|
59249
|
-
this.
|
|
59250
|
-
this.
|
|
59251
|
-
this.
|
|
59252
|
-
this.
|
|
59253
|
-
this.
|
|
59303
|
+
this.g39_1 = 'conversation:error:duplicate-name';
|
|
59304
|
+
this.h39_1 = 'conversation:error:member-already-joined';
|
|
59305
|
+
this.i39_1 = 'conversation:error:member-already-invited';
|
|
59306
|
+
this.j39_1 = 'conversation:error:not-found';
|
|
59307
|
+
this.k39_1 = 'conversation:error:member-not-found';
|
|
59308
|
+
this.l39_1 = 'user:error:not-found';
|
|
59309
|
+
this.m39_1 = 'paginator-builder:error:invalid-cursor';
|
|
59310
|
+
this.n39_1 = 'http:error:validation-fail';
|
|
59311
|
+
this.o39_1 = 'conversation:error:maximum-number-of-members';
|
|
59254
59312
|
}
|
|
59313
|
+
CSErrorCodesJS.prototype.p39 = function () {
|
|
59314
|
+
return this.g39_1;
|
|
59315
|
+
};
|
|
59316
|
+
CSErrorCodesJS.prototype.q39 = function () {
|
|
59317
|
+
return this.h39_1;
|
|
59318
|
+
};
|
|
59255
59319
|
CSErrorCodesJS.prototype.r39 = function () {
|
|
59256
59320
|
return this.i39_1;
|
|
59257
59321
|
};
|
|
@@ -59273,48 +59337,42 @@ function requireClientsdkClientcore () {
|
|
|
59273
59337
|
CSErrorCodesJS.prototype.x39 = function () {
|
|
59274
59338
|
return this.o39_1;
|
|
59275
59339
|
};
|
|
59276
|
-
CSErrorCodesJS.prototype.y39 = function () {
|
|
59277
|
-
return this.p39_1;
|
|
59278
|
-
};
|
|
59279
|
-
CSErrorCodesJS.prototype.z39 = function () {
|
|
59280
|
-
return this.q39_1;
|
|
59281
|
-
};
|
|
59282
59340
|
CSErrorCodesJS.$metadata$ = objectMeta('CSErrorCodesJS');
|
|
59283
59341
|
Object.defineProperty(CSErrorCodesJS.prototype, 'CONVERSATION_DUPLICATE_NAME', {
|
|
59284
59342
|
configurable: true,
|
|
59285
|
-
get: CSErrorCodesJS.prototype.
|
|
59343
|
+
get: CSErrorCodesJS.prototype.p39
|
|
59286
59344
|
});
|
|
59287
59345
|
Object.defineProperty(CSErrorCodesJS.prototype, 'MEMBER_ALREADY_JOINED', {
|
|
59288
59346
|
configurable: true,
|
|
59289
|
-
get: CSErrorCodesJS.prototype.
|
|
59347
|
+
get: CSErrorCodesJS.prototype.q39
|
|
59290
59348
|
});
|
|
59291
59349
|
Object.defineProperty(CSErrorCodesJS.prototype, 'MEMBER_ALREADY_INVITED', {
|
|
59292
59350
|
configurable: true,
|
|
59293
|
-
get: CSErrorCodesJS.prototype.
|
|
59351
|
+
get: CSErrorCodesJS.prototype.r39
|
|
59294
59352
|
});
|
|
59295
59353
|
Object.defineProperty(CSErrorCodesJS.prototype, 'CONVERSATION_NOT_FOUND', {
|
|
59296
59354
|
configurable: true,
|
|
59297
|
-
get: CSErrorCodesJS.prototype.
|
|
59355
|
+
get: CSErrorCodesJS.prototype.s39
|
|
59298
59356
|
});
|
|
59299
59357
|
Object.defineProperty(CSErrorCodesJS.prototype, 'MEMBER_NOT_FOUND', {
|
|
59300
59358
|
configurable: true,
|
|
59301
|
-
get: CSErrorCodesJS.prototype.
|
|
59359
|
+
get: CSErrorCodesJS.prototype.t39
|
|
59302
59360
|
});
|
|
59303
59361
|
Object.defineProperty(CSErrorCodesJS.prototype, 'USER_NOT_FOUND', {
|
|
59304
59362
|
configurable: true,
|
|
59305
|
-
get: CSErrorCodesJS.prototype.
|
|
59363
|
+
get: CSErrorCodesJS.prototype.u39
|
|
59306
59364
|
});
|
|
59307
59365
|
Object.defineProperty(CSErrorCodesJS.prototype, 'INVALID_CURSOR', {
|
|
59308
59366
|
configurable: true,
|
|
59309
|
-
get: CSErrorCodesJS.prototype.
|
|
59367
|
+
get: CSErrorCodesJS.prototype.v39
|
|
59310
59368
|
});
|
|
59311
59369
|
Object.defineProperty(CSErrorCodesJS.prototype, 'VALIDATION_FAIL', {
|
|
59312
59370
|
configurable: true,
|
|
59313
|
-
get: CSErrorCodesJS.prototype.
|
|
59371
|
+
get: CSErrorCodesJS.prototype.w39
|
|
59314
59372
|
});
|
|
59315
59373
|
Object.defineProperty(CSErrorCodesJS.prototype, 'CONVERSATION_MAX_NUMBER_OF_MEMBERS', {
|
|
59316
59374
|
configurable: true,
|
|
59317
|
-
get: CSErrorCodesJS.prototype.
|
|
59375
|
+
get: CSErrorCodesJS.prototype.x39
|
|
59318
59376
|
});
|
|
59319
59377
|
var CSErrorCodesJS_instance;
|
|
59320
59378
|
function CSErrorCodesJS_getInstance() {
|
|
@@ -59324,23 +59382,29 @@ function requireClientsdkClientcore () {
|
|
|
59324
59382
|
}
|
|
59325
59383
|
function SessionErrorCodesJS() {
|
|
59326
59384
|
SessionErrorCodesJS_instance = this;
|
|
59327
|
-
this.
|
|
59328
|
-
this.
|
|
59329
|
-
this.
|
|
59330
|
-
this.
|
|
59331
|
-
this.
|
|
59332
|
-
this.
|
|
59333
|
-
this.
|
|
59334
|
-
this.
|
|
59335
|
-
this.
|
|
59336
|
-
this.
|
|
59337
|
-
this.
|
|
59338
|
-
this.
|
|
59339
|
-
this.
|
|
59340
|
-
this.
|
|
59341
|
-
this.
|
|
59342
|
-
this.
|
|
59385
|
+
this.y39_1 = 'session:error:empty-token';
|
|
59386
|
+
this.z39_1 = 'session:error:server-forced-disconnect';
|
|
59387
|
+
this.a3a_1 = 'session:error:timeout';
|
|
59388
|
+
this.b3a_1 = 'session:error:internal-failure';
|
|
59389
|
+
this.c3a_1 = 'session:error:no-active-session';
|
|
59390
|
+
this.d3a_1 = 'session:error:already-active-session';
|
|
59391
|
+
this.e3a_1 = 'session:error:invalid-token';
|
|
59392
|
+
this.f3a_1 = 'session:error:expired-token';
|
|
59393
|
+
this.g3a_1 = 'user:error:invalid-user';
|
|
59394
|
+
this.h3a_1 = 'system:error:permission';
|
|
59395
|
+
this.i3a_1 = 'session:error:invalid-session';
|
|
59396
|
+
this.j3a_1 = 'session:error:max-open-sessions-permitted';
|
|
59397
|
+
this.k3a_1 = 'session:error:websocket-transport-invalid';
|
|
59398
|
+
this.l3a_1 = 'session:disconnect:client-disconnect';
|
|
59399
|
+
this.m3a_1 = 'session:disconnect:ping-timeout';
|
|
59400
|
+
this.n3a_1 = 'session:disconnect:websocket-transport-closed';
|
|
59343
59401
|
}
|
|
59402
|
+
SessionErrorCodesJS.prototype.o3a = function () {
|
|
59403
|
+
return this.y39_1;
|
|
59404
|
+
};
|
|
59405
|
+
SessionErrorCodesJS.prototype.p3a = function () {
|
|
59406
|
+
return this.z39_1;
|
|
59407
|
+
};
|
|
59344
59408
|
SessionErrorCodesJS.prototype.q3a = function () {
|
|
59345
59409
|
return this.a3a_1;
|
|
59346
59410
|
};
|
|
@@ -59383,76 +59447,70 @@ function requireClientsdkClientcore () {
|
|
|
59383
59447
|
SessionErrorCodesJS.prototype.d3b = function () {
|
|
59384
59448
|
return this.n3a_1;
|
|
59385
59449
|
};
|
|
59386
|
-
SessionErrorCodesJS.prototype.e3b = function () {
|
|
59387
|
-
return this.o3a_1;
|
|
59388
|
-
};
|
|
59389
|
-
SessionErrorCodesJS.prototype.f3b = function () {
|
|
59390
|
-
return this.p3a_1;
|
|
59391
|
-
};
|
|
59392
59450
|
SessionErrorCodesJS.$metadata$ = objectMeta('SessionErrorCodesJS');
|
|
59393
59451
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'EMPTY_TOKEN', {
|
|
59394
59452
|
configurable: true,
|
|
59395
|
-
get: SessionErrorCodesJS.prototype.
|
|
59453
|
+
get: SessionErrorCodesJS.prototype.o3a
|
|
59396
59454
|
});
|
|
59397
59455
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'FORCED_DISCONNECT', {
|
|
59398
59456
|
configurable: true,
|
|
59399
|
-
get: SessionErrorCodesJS.prototype.
|
|
59457
|
+
get: SessionErrorCodesJS.prototype.p3a
|
|
59400
59458
|
});
|
|
59401
59459
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'TIMEOUT', {
|
|
59402
59460
|
configurable: true,
|
|
59403
|
-
get: SessionErrorCodesJS.prototype.
|
|
59461
|
+
get: SessionErrorCodesJS.prototype.q3a
|
|
59404
59462
|
});
|
|
59405
59463
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'INTERNAL_FAILURE', {
|
|
59406
59464
|
configurable: true,
|
|
59407
|
-
get: SessionErrorCodesJS.prototype.
|
|
59465
|
+
get: SessionErrorCodesJS.prototype.r3a
|
|
59408
59466
|
});
|
|
59409
59467
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'NO_ACTIVE_SESSION', {
|
|
59410
59468
|
configurable: true,
|
|
59411
|
-
get: SessionErrorCodesJS.prototype.
|
|
59469
|
+
get: SessionErrorCodesJS.prototype.s3a
|
|
59412
59470
|
});
|
|
59413
59471
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'ALREADY_ACTIVE_SESSION', {
|
|
59414
59472
|
configurable: true,
|
|
59415
|
-
get: SessionErrorCodesJS.prototype.
|
|
59473
|
+
get: SessionErrorCodesJS.prototype.t3a
|
|
59416
59474
|
});
|
|
59417
59475
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'INVALID_TOKEN', {
|
|
59418
59476
|
configurable: true,
|
|
59419
|
-
get: SessionErrorCodesJS.prototype.
|
|
59477
|
+
get: SessionErrorCodesJS.prototype.u3a
|
|
59420
59478
|
});
|
|
59421
59479
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'EXPIRED_TOKEN', {
|
|
59422
59480
|
configurable: true,
|
|
59423
|
-
get: SessionErrorCodesJS.prototype.
|
|
59481
|
+
get: SessionErrorCodesJS.prototype.v3a
|
|
59424
59482
|
});
|
|
59425
59483
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'INVALID_USER', {
|
|
59426
59484
|
configurable: true,
|
|
59427
|
-
get: SessionErrorCodesJS.prototype.
|
|
59485
|
+
get: SessionErrorCodesJS.prototype.w3a
|
|
59428
59486
|
});
|
|
59429
59487
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'AUTHORIZATION_ERROR', {
|
|
59430
59488
|
configurable: true,
|
|
59431
|
-
get: SessionErrorCodesJS.prototype.
|
|
59489
|
+
get: SessionErrorCodesJS.prototype.x3a
|
|
59432
59490
|
});
|
|
59433
59491
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'INVALID_SESSION', {
|
|
59434
59492
|
configurable: true,
|
|
59435
|
-
get: SessionErrorCodesJS.prototype.
|
|
59493
|
+
get: SessionErrorCodesJS.prototype.y3a
|
|
59436
59494
|
});
|
|
59437
59495
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'MAX_OPEN_SESSIONS', {
|
|
59438
59496
|
configurable: true,
|
|
59439
|
-
get: SessionErrorCodesJS.prototype.
|
|
59497
|
+
get: SessionErrorCodesJS.prototype.z3a
|
|
59440
59498
|
});
|
|
59441
59499
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'INVALID_SOCKET_TRANSPORT', {
|
|
59442
59500
|
configurable: true,
|
|
59443
|
-
get: SessionErrorCodesJS.prototype.
|
|
59501
|
+
get: SessionErrorCodesJS.prototype.a3b
|
|
59444
59502
|
});
|
|
59445
59503
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'CLIENT_DISCONNECT', {
|
|
59446
59504
|
configurable: true,
|
|
59447
|
-
get: SessionErrorCodesJS.prototype.
|
|
59505
|
+
get: SessionErrorCodesJS.prototype.b3b
|
|
59448
59506
|
});
|
|
59449
59507
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'PING_TIMEOUT_DISCONNECT', {
|
|
59450
59508
|
configurable: true,
|
|
59451
|
-
get: SessionErrorCodesJS.prototype.
|
|
59509
|
+
get: SessionErrorCodesJS.prototype.c3b
|
|
59452
59510
|
});
|
|
59453
59511
|
Object.defineProperty(SessionErrorCodesJS.prototype, 'TRANSPORT_CLOSED_DISCONNECT', {
|
|
59454
59512
|
configurable: true,
|
|
59455
|
-
get: SessionErrorCodesJS.prototype.
|
|
59513
|
+
get: SessionErrorCodesJS.prototype.d3b
|
|
59456
59514
|
});
|
|
59457
59515
|
var SessionErrorCodesJS_instance;
|
|
59458
59516
|
function SessionErrorCodesJS_getInstance() {
|
|
@@ -59462,23 +59520,23 @@ function requireClientsdkClientcore () {
|
|
|
59462
59520
|
}
|
|
59463
59521
|
function VonageErrorJS(vonageError) {
|
|
59464
59522
|
extendThrowable(this, vonageError.c2j_1, vonageError.d2j_1);
|
|
59465
|
-
this.
|
|
59466
|
-
this.
|
|
59467
|
-
this.
|
|
59468
|
-
this.
|
|
59523
|
+
this.e3b_1 = valueOf_3(vonageError.a2j_1.d4_1);
|
|
59524
|
+
this.f3b_1 = vonageError.b2j_1;
|
|
59525
|
+
this.g3b_1 = vonageError.c2j_1;
|
|
59526
|
+
this.h3b_1 = vonageError.d2j_1;
|
|
59469
59527
|
captureStack(this, VonageErrorJS);
|
|
59470
59528
|
}
|
|
59471
59529
|
VonageErrorJS.prototype.i2q = function () {
|
|
59472
|
-
return this.
|
|
59530
|
+
return this.e3b_1;
|
|
59473
59531
|
};
|
|
59474
59532
|
VonageErrorJS.prototype.e1e = function () {
|
|
59475
|
-
return this.
|
|
59533
|
+
return this.f3b_1;
|
|
59476
59534
|
};
|
|
59477
59535
|
VonageErrorJS.prototype.g1 = function () {
|
|
59478
|
-
return this.
|
|
59536
|
+
return this.g3b_1;
|
|
59479
59537
|
};
|
|
59480
59538
|
VonageErrorJS.prototype.h1 = function () {
|
|
59481
|
-
return this.
|
|
59539
|
+
return this.h3b_1;
|
|
59482
59540
|
};
|
|
59483
59541
|
VonageErrorJS.$metadata$ = classMeta('VonageErrorJS', undefined, undefined, undefined, undefined, Error.prototype);
|
|
59484
59542
|
Object.defineProperty(VonageErrorJS.prototype, 'type', {
|
|
@@ -59841,7 +59899,7 @@ function requireClientsdkClientcore () {
|
|
|
59841
59899
|
return function (resolve, reject) {
|
|
59842
59900
|
var tmp = this$0.core;
|
|
59843
59901
|
var tmp0_safe_receiver = $order;
|
|
59844
|
-
var tmp_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
59902
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n35_1;
|
|
59845
59903
|
tmp.d1c(tmp_0, $pageSize, $cursor, IChatClientJS$getConversations$lambda$lambda(resolve, reject));
|
|
59846
59904
|
return Unit_getInstance();
|
|
59847
59905
|
};
|
|
@@ -59889,7 +59947,7 @@ function requireClientsdkClientcore () {
|
|
|
59889
59947
|
return function (resolve, reject) {
|
|
59890
59948
|
var tmp = this$0.core;
|
|
59891
59949
|
var tmp0_safe_receiver = $order;
|
|
59892
|
-
var tmp_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
59950
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n35_1;
|
|
59893
59951
|
tmp.e1c($cid, tmp_0, $pageSize, $cursor, IChatClientJS$getConversationMembers$lambda$lambda(resolve, reject));
|
|
59894
59952
|
return Unit_getInstance();
|
|
59895
59953
|
};
|
|
@@ -59937,7 +59995,7 @@ function requireClientsdkClientcore () {
|
|
|
59937
59995
|
return function (resolve, reject) {
|
|
59938
59996
|
var tmp = this$0.core;
|
|
59939
59997
|
var tmp0_safe_receiver = $order;
|
|
59940
|
-
var tmp_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
59998
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n35_1;
|
|
59941
59999
|
tmp.f1c($cid, tmp_0, $pageSize, $cursor, IChatClientJS$getConversationEvents$lambda$lambda(resolve, reject));
|
|
59942
60000
|
return Unit_getInstance();
|
|
59943
60001
|
};
|
|
@@ -60068,15 +60126,15 @@ function requireClientsdkClientcore () {
|
|
|
60068
60126
|
}
|
|
60069
60127
|
function CoreClientConfigRegionJS(name, ordinal, coreRegion) {
|
|
60070
60128
|
Enum.call(this, name, ordinal);
|
|
60071
|
-
this.
|
|
60129
|
+
this.m3b_1 = coreRegion;
|
|
60072
60130
|
}
|
|
60073
|
-
CoreClientConfigRegionJS.prototype.
|
|
60074
|
-
return this.
|
|
60131
|
+
CoreClientConfigRegionJS.prototype.n3b = function () {
|
|
60132
|
+
return this.m3b_1;
|
|
60075
60133
|
};
|
|
60076
60134
|
CoreClientConfigRegionJS.$metadata$ = classMeta('CoreClientConfigRegionJS', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
60077
60135
|
Object.defineProperty(CoreClientConfigRegionJS.prototype, 'coreRegion', {
|
|
60078
60136
|
configurable: true,
|
|
60079
|
-
get: CoreClientConfigRegionJS.prototype.
|
|
60137
|
+
get: CoreClientConfigRegionJS.prototype.n3b
|
|
60080
60138
|
});
|
|
60081
60139
|
Object.defineProperty(CoreClientConfigRegionJS.prototype, 'name', {
|
|
60082
60140
|
configurable: true,
|
|
@@ -60087,69 +60145,69 @@ function requireClientsdkClientcore () {
|
|
|
60087
60145
|
get: CoreClientConfigRegionJS.prototype.pe
|
|
60088
60146
|
});
|
|
60089
60147
|
function CoreClientConfigJS(region) {
|
|
60090
|
-
this.
|
|
60091
|
-
this.
|
|
60092
|
-
this.
|
|
60093
|
-
this.
|
|
60094
|
-
this.
|
|
60095
|
-
this.
|
|
60148
|
+
this.o3b_1 = Companion_getInstance().s2g(region.m3b_1, true);
|
|
60149
|
+
this.p3b_1 = this.o3b_1.t2g_1;
|
|
60150
|
+
this.q3b_1 = this.o3b_1.u2g_1;
|
|
60151
|
+
this.r3b_1 = this.o3b_1.v2g_1;
|
|
60152
|
+
this.s3b_1 = this.o3b_1.w2g_1;
|
|
60153
|
+
this.t3b_1 = this.o3b_1.y2g_1;
|
|
60096
60154
|
}
|
|
60155
|
+
CoreClientConfigJS.prototype.u3b = function (_set____db54di) {
|
|
60156
|
+
this.p3b_1 = _set____db54di;
|
|
60157
|
+
};
|
|
60158
|
+
CoreClientConfigJS.prototype.v3b = function () {
|
|
60159
|
+
return this.p3b_1;
|
|
60160
|
+
};
|
|
60097
60161
|
CoreClientConfigJS.prototype.w3b = function (_set____db54di) {
|
|
60098
|
-
this.
|
|
60162
|
+
this.q3b_1 = _set____db54di;
|
|
60099
60163
|
};
|
|
60100
60164
|
CoreClientConfigJS.prototype.x3b = function () {
|
|
60101
|
-
return this.
|
|
60165
|
+
return this.q3b_1;
|
|
60102
60166
|
};
|
|
60103
60167
|
CoreClientConfigJS.prototype.y3b = function (_set____db54di) {
|
|
60104
|
-
this.
|
|
60168
|
+
this.r3b_1 = _set____db54di;
|
|
60105
60169
|
};
|
|
60106
60170
|
CoreClientConfigJS.prototype.z3b = function () {
|
|
60107
|
-
return this.
|
|
60171
|
+
return this.r3b_1;
|
|
60108
60172
|
};
|
|
60109
60173
|
CoreClientConfigJS.prototype.a3c = function (_set____db54di) {
|
|
60110
|
-
this.
|
|
60174
|
+
this.s3b_1 = _set____db54di;
|
|
60111
60175
|
};
|
|
60112
60176
|
CoreClientConfigJS.prototype.b3c = function () {
|
|
60113
|
-
return this.
|
|
60177
|
+
return this.s3b_1;
|
|
60114
60178
|
};
|
|
60115
60179
|
CoreClientConfigJS.prototype.c3c = function (_set____db54di) {
|
|
60116
|
-
this.
|
|
60180
|
+
this.t3b_1 = _set____db54di;
|
|
60117
60181
|
};
|
|
60118
60182
|
CoreClientConfigJS.prototype.d3c = function () {
|
|
60119
|
-
return this.
|
|
60120
|
-
};
|
|
60121
|
-
CoreClientConfigJS.prototype.e3c = function (_set____db54di) {
|
|
60122
|
-
this.v3b_1 = _set____db54di;
|
|
60123
|
-
};
|
|
60124
|
-
CoreClientConfigJS.prototype.f3c = function () {
|
|
60125
|
-
return this.v3b_1;
|
|
60183
|
+
return this.t3b_1;
|
|
60126
60184
|
};
|
|
60127
60185
|
CoreClientConfigJS.$metadata$ = classMeta('CoreClientConfigJS');
|
|
60128
60186
|
Object.defineProperty(CoreClientConfigJS.prototype, 'apiUrl', {
|
|
60187
|
+
configurable: true,
|
|
60188
|
+
get: CoreClientConfigJS.prototype.v3b,
|
|
60189
|
+
set: CoreClientConfigJS.prototype.u3b
|
|
60190
|
+
});
|
|
60191
|
+
Object.defineProperty(CoreClientConfigJS.prototype, 'websocketUrl', {
|
|
60129
60192
|
configurable: true,
|
|
60130
60193
|
get: CoreClientConfigJS.prototype.x3b,
|
|
60131
60194
|
set: CoreClientConfigJS.prototype.w3b
|
|
60132
60195
|
});
|
|
60133
|
-
Object.defineProperty(CoreClientConfigJS.prototype, '
|
|
60196
|
+
Object.defineProperty(CoreClientConfigJS.prototype, 'websocketPath', {
|
|
60134
60197
|
configurable: true,
|
|
60135
60198
|
get: CoreClientConfigJS.prototype.z3b,
|
|
60136
60199
|
set: CoreClientConfigJS.prototype.y3b
|
|
60137
60200
|
});
|
|
60138
|
-
Object.defineProperty(CoreClientConfigJS.prototype, '
|
|
60201
|
+
Object.defineProperty(CoreClientConfigJS.prototype, 'autoMediaReoffer', {
|
|
60139
60202
|
configurable: true,
|
|
60140
60203
|
get: CoreClientConfigJS.prototype.b3c,
|
|
60141
60204
|
set: CoreClientConfigJS.prototype.a3c
|
|
60142
60205
|
});
|
|
60143
|
-
Object.defineProperty(CoreClientConfigJS.prototype, '
|
|
60206
|
+
Object.defineProperty(CoreClientConfigJS.prototype, 'enableWebsocketInvites', {
|
|
60144
60207
|
configurable: true,
|
|
60145
60208
|
get: CoreClientConfigJS.prototype.d3c,
|
|
60146
60209
|
set: CoreClientConfigJS.prototype.c3c
|
|
60147
60210
|
});
|
|
60148
|
-
Object.defineProperty(CoreClientConfigJS.prototype, 'enableWebsocketInvites', {
|
|
60149
|
-
configurable: true,
|
|
60150
|
-
get: CoreClientConfigJS.prototype.f3c,
|
|
60151
|
-
set: CoreClientConfigJS.prototype.e3c
|
|
60152
|
-
});
|
|
60153
60211
|
var LoggingLevelJS_Verbose_instance;
|
|
60154
60212
|
var LoggingLevelJS_Debug_instance;
|
|
60155
60213
|
var LoggingLevelJS_Info_instance;
|
|
@@ -60193,10 +60251,10 @@ function requireClientsdkClientcore () {
|
|
|
60193
60251
|
}
|
|
60194
60252
|
function LoggingLevelJS(name, ordinal, sev) {
|
|
60195
60253
|
Enum.call(this, name, ordinal);
|
|
60196
|
-
this.
|
|
60254
|
+
this.g3c_1 = sev;
|
|
60197
60255
|
}
|
|
60198
60256
|
LoggingLevelJS.prototype.h2g = function () {
|
|
60199
|
-
return this.
|
|
60257
|
+
return this.g3c_1;
|
|
60200
60258
|
};
|
|
60201
60259
|
LoggingLevelJS.$metadata$ = classMeta('LoggingLevelJS', [ILoggingLevel], undefined, undefined, undefined, Enum.prototype);
|
|
60202
60260
|
Object.defineProperty(LoggingLevelJS.prototype, 'name', {
|
|
@@ -60228,7 +60286,7 @@ function requireClientsdkClientcore () {
|
|
|
60228
60286
|
inductionVariable = inductionVariable + 1 | 0;
|
|
60229
60287
|
var tmp$ret$0;
|
|
60230
60288
|
// Inline function 'vonage.Companion.getSessionErrorReason.<anonymous>' call
|
|
60231
|
-
tmp$ret$0 = element.
|
|
60289
|
+
tmp$ret$0 = element.j3c_1.equals(reason);
|
|
60232
60290
|
if (tmp$ret$0) {
|
|
60233
60291
|
tmp$ret$1 = element;
|
|
60234
60292
|
break $l$block;
|
|
@@ -60276,10 +60334,10 @@ function requireClientsdkClientcore () {
|
|
|
60276
60334
|
}
|
|
60277
60335
|
function SessionErrorReasonJS(name, ordinal, reason) {
|
|
60278
60336
|
Enum.call(this, name, ordinal);
|
|
60279
|
-
this.
|
|
60337
|
+
this.j3c_1 = reason;
|
|
60280
60338
|
}
|
|
60281
60339
|
SessionErrorReasonJS.prototype.z29 = function () {
|
|
60282
|
-
return this.
|
|
60340
|
+
return this.j3c_1;
|
|
60283
60341
|
};
|
|
60284
60342
|
SessionErrorReasonJS.$metadata$ = classMeta('SessionErrorReasonJS', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
60285
60343
|
Object.defineProperty(SessionErrorReasonJS.prototype, 'reason', {
|
|
@@ -60533,6 +60591,86 @@ function requireClientsdkClientcore () {
|
|
|
60533
60591
|
configurable: true,
|
|
60534
60592
|
get: LegStatusJS.prototype.pe
|
|
60535
60593
|
});
|
|
60594
|
+
var HangupReasonJS_REMOTE_HANGUP_instance;
|
|
60595
|
+
var HangupReasonJS_REMOTE_REJECT_instance;
|
|
60596
|
+
var HangupReasonJS_LOCAL_HANGUP_instance;
|
|
60597
|
+
var HangupReasonJS_MEDIA_TIMEOUT_instance;
|
|
60598
|
+
function Companion_1() {
|
|
60599
|
+
Companion_instance_1 = this;
|
|
60600
|
+
}
|
|
60601
|
+
Companion_1.prototype.getReason = function (reason) {
|
|
60602
|
+
var tmp0_subject = reason;
|
|
60603
|
+
var tmp0 = tmp0_subject.e4_1;
|
|
60604
|
+
var tmp;
|
|
60605
|
+
switch (tmp0) {
|
|
60606
|
+
case 1:
|
|
60607
|
+
tmp = HangupReasonJS_REMOTE_HANGUP_getInstance();
|
|
60608
|
+
break;
|
|
60609
|
+
case 0:
|
|
60610
|
+
tmp = HangupReasonJS_REMOTE_REJECT_getInstance();
|
|
60611
|
+
break;
|
|
60612
|
+
case 2:
|
|
60613
|
+
tmp = HangupReasonJS_LOCAL_HANGUP_getInstance();
|
|
60614
|
+
break;
|
|
60615
|
+
case 3:
|
|
60616
|
+
tmp = HangupReasonJS_MEDIA_TIMEOUT_getInstance();
|
|
60617
|
+
break;
|
|
60618
|
+
default:
|
|
60619
|
+
noWhenBranchMatchedException();
|
|
60620
|
+
break;
|
|
60621
|
+
}
|
|
60622
|
+
return tmp;
|
|
60623
|
+
};
|
|
60624
|
+
Companion_1.$metadata$ = objectMeta('Companion');
|
|
60625
|
+
var Companion_instance_1;
|
|
60626
|
+
function Companion_getInstance_2() {
|
|
60627
|
+
HangupReasonJS_initEntries();
|
|
60628
|
+
if (Companion_instance_1 == null)
|
|
60629
|
+
new Companion_1();
|
|
60630
|
+
return Companion_instance_1;
|
|
60631
|
+
}
|
|
60632
|
+
function values_8() {
|
|
60633
|
+
return [HangupReasonJS_REMOTE_HANGUP_getInstance(), HangupReasonJS_REMOTE_REJECT_getInstance(), HangupReasonJS_LOCAL_HANGUP_getInstance(), HangupReasonJS_MEDIA_TIMEOUT_getInstance()];
|
|
60634
|
+
}
|
|
60635
|
+
function valueOf_8(value) {
|
|
60636
|
+
switch (value) {
|
|
60637
|
+
case 'REMOTE_HANGUP':
|
|
60638
|
+
return HangupReasonJS_REMOTE_HANGUP_getInstance();
|
|
60639
|
+
case 'REMOTE_REJECT':
|
|
60640
|
+
return HangupReasonJS_REMOTE_REJECT_getInstance();
|
|
60641
|
+
case 'LOCAL_HANGUP':
|
|
60642
|
+
return HangupReasonJS_LOCAL_HANGUP_getInstance();
|
|
60643
|
+
case 'MEDIA_TIMEOUT':
|
|
60644
|
+
return HangupReasonJS_MEDIA_TIMEOUT_getInstance();
|
|
60645
|
+
default:
|
|
60646
|
+
HangupReasonJS_initEntries();
|
|
60647
|
+
THROW_ISE();
|
|
60648
|
+
break;
|
|
60649
|
+
}
|
|
60650
|
+
}
|
|
60651
|
+
var HangupReasonJS_entriesInitialized;
|
|
60652
|
+
function HangupReasonJS_initEntries() {
|
|
60653
|
+
if (HangupReasonJS_entriesInitialized)
|
|
60654
|
+
return Unit_getInstance();
|
|
60655
|
+
HangupReasonJS_entriesInitialized = true;
|
|
60656
|
+
HangupReasonJS_REMOTE_HANGUP_instance = new HangupReasonJS('REMOTE_HANGUP', 0);
|
|
60657
|
+
HangupReasonJS_REMOTE_REJECT_instance = new HangupReasonJS('REMOTE_REJECT', 1);
|
|
60658
|
+
HangupReasonJS_LOCAL_HANGUP_instance = new HangupReasonJS('LOCAL_HANGUP', 2);
|
|
60659
|
+
HangupReasonJS_MEDIA_TIMEOUT_instance = new HangupReasonJS('MEDIA_TIMEOUT', 3);
|
|
60660
|
+
Companion_getInstance_2();
|
|
60661
|
+
}
|
|
60662
|
+
function HangupReasonJS(name, ordinal) {
|
|
60663
|
+
Enum.call(this, name, ordinal);
|
|
60664
|
+
}
|
|
60665
|
+
HangupReasonJS.$metadata$ = classMeta('HangupReasonJS', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
60666
|
+
Object.defineProperty(HangupReasonJS.prototype, 'name', {
|
|
60667
|
+
configurable: true,
|
|
60668
|
+
get: HangupReasonJS.prototype.f4
|
|
60669
|
+
});
|
|
60670
|
+
Object.defineProperty(HangupReasonJS.prototype, 'ordinal', {
|
|
60671
|
+
configurable: true,
|
|
60672
|
+
get: HangupReasonJS.prototype.pe
|
|
60673
|
+
});
|
|
60536
60674
|
function IVoiceClientJS$serverCall$lambda$lambda($resolve, $reject) {
|
|
60537
60675
|
return function (err, callId) {
|
|
60538
60676
|
if (!(callId == null)) {
|
|
@@ -60820,6 +60958,22 @@ function requireClientsdkClientcore () {
|
|
|
60820
60958
|
LegStatusJS_initEntries();
|
|
60821
60959
|
return LegStatusJS_COMPLETED_instance;
|
|
60822
60960
|
}
|
|
60961
|
+
function HangupReasonJS_REMOTE_HANGUP_getInstance() {
|
|
60962
|
+
HangupReasonJS_initEntries();
|
|
60963
|
+
return HangupReasonJS_REMOTE_HANGUP_instance;
|
|
60964
|
+
}
|
|
60965
|
+
function HangupReasonJS_REMOTE_REJECT_getInstance() {
|
|
60966
|
+
HangupReasonJS_initEntries();
|
|
60967
|
+
return HangupReasonJS_REMOTE_REJECT_instance;
|
|
60968
|
+
}
|
|
60969
|
+
function HangupReasonJS_LOCAL_HANGUP_getInstance() {
|
|
60970
|
+
HangupReasonJS_initEntries();
|
|
60971
|
+
return HangupReasonJS_LOCAL_HANGUP_instance;
|
|
60972
|
+
}
|
|
60973
|
+
function HangupReasonJS_MEDIA_TIMEOUT_getInstance() {
|
|
60974
|
+
HangupReasonJS_initEntries();
|
|
60975
|
+
return HangupReasonJS_MEDIA_TIMEOUT_instance;
|
|
60976
|
+
}
|
|
60823
60977
|
function HttpClientErrorJS(message, responseCode, responseBody, cause) {
|
|
60824
60978
|
var message_0 = message === void 1 ? null : message;
|
|
60825
60979
|
var responseCode_0 = responseCode === void 1 ? null : responseCode;
|
|
@@ -60959,10 +61113,10 @@ function requireClientsdkClientcore () {
|
|
|
60959
61113
|
var CancelReasonJS_RemoteAnswer_instance;
|
|
60960
61114
|
var CancelReasonJS_RemoteReject_instance;
|
|
60961
61115
|
var CancelReasonJS_RemoteTimeout_instance;
|
|
60962
|
-
function
|
|
61116
|
+
function values_9() {
|
|
60963
61117
|
return [CancelReasonJS_RemoteCancel_getInstance(), CancelReasonJS_RemoteAnswer_getInstance(), CancelReasonJS_RemoteReject_getInstance(), CancelReasonJS_RemoteTimeout_getInstance()];
|
|
60964
61118
|
}
|
|
60965
|
-
function
|
|
61119
|
+
function valueOf_9(value) {
|
|
60966
61120
|
switch (value) {
|
|
60967
61121
|
case 'RemoteCancel':
|
|
60968
61122
|
return CancelReasonJS_RemoteCancel_getInstance();
|
|
@@ -60984,8 +61138,8 @@ function requireClientsdkClientcore () {
|
|
|
60984
61138
|
return Unit_getInstance();
|
|
60985
61139
|
CancelReasonJS_entriesInitialized = true;
|
|
60986
61140
|
CancelReasonJS_RemoteCancel_instance = new CancelReasonJS('RemoteCancel', 0, 'RemoteCancel');
|
|
60987
|
-
CancelReasonJS_RemoteAnswer_instance = new CancelReasonJS('RemoteAnswer', 1, '
|
|
60988
|
-
CancelReasonJS_RemoteReject_instance = new CancelReasonJS('RemoteReject', 2, '
|
|
61141
|
+
CancelReasonJS_RemoteAnswer_instance = new CancelReasonJS('RemoteAnswer', 1, 'AnsweredElsewhere');
|
|
61142
|
+
CancelReasonJS_RemoteReject_instance = new CancelReasonJS('RemoteReject', 2, 'RejectedElsewhere');
|
|
60989
61143
|
CancelReasonJS_RemoteTimeout_instance = new CancelReasonJS('RemoteTimeout', 3, 'RemoteTimeout');
|
|
60990
61144
|
}
|
|
60991
61145
|
function CancelReasonJS(name, ordinal, reason) {
|
|
@@ -61301,9 +61455,9 @@ function requireClientsdkClientcore () {
|
|
|
61301
61455
|
return new HttpClientJSAdapter$1(js);
|
|
61302
61456
|
}
|
|
61303
61457
|
function getCancelReason(reason) {
|
|
61304
|
-
if (reason === '
|
|
61458
|
+
if (reason === 'RejectedElsewhere')
|
|
61305
61459
|
return CancelReasonJS_RemoteReject_getInstance();
|
|
61306
|
-
if (reason === '
|
|
61460
|
+
if (reason === 'AnsweredElsewhere')
|
|
61307
61461
|
return CancelReasonJS_RemoteAnswer_getInstance();
|
|
61308
61462
|
if (reason === 'RemoteTimeout')
|
|
61309
61463
|
return CancelReasonJS_RemoteTimeout_getInstance();
|
|
@@ -61687,8 +61841,7 @@ function requireClientsdkClientcore () {
|
|
|
61687
61841
|
CombinedClientJS.prototype.getLeg = getLeg;
|
|
61688
61842
|
CombinedClientJS.prototype.answerCall = answerCall;
|
|
61689
61843
|
CombinedClientJS.prototype.rejectCall = rejectCall;
|
|
61690
|
-
CombinedClientJS.prototype.
|
|
61691
|
-
CombinedClientJS.prototype.x33 = hangup$default;
|
|
61844
|
+
CombinedClientJS.prototype.hangupWithReason = hangupWithReason;
|
|
61692
61845
|
CombinedClientJS.prototype.say = say;
|
|
61693
61846
|
CombinedClientJS.prototype.mute = mute;
|
|
61694
61847
|
CombinedClientJS.prototype.unmute = unmute;
|
|
@@ -61946,6 +62099,29 @@ function requireClientsdkClientcore () {
|
|
|
61946
62099
|
configurable: true,
|
|
61947
62100
|
get: Companion_getInstance_1
|
|
61948
62101
|
});
|
|
62102
|
+
$vonage.HangupReasonJS = HangupReasonJS;
|
|
62103
|
+
$vonage.HangupReasonJS.values = values_8;
|
|
62104
|
+
$vonage.HangupReasonJS.valueOf = valueOf_8;
|
|
62105
|
+
Object.defineProperty($vonage.HangupReasonJS, 'REMOTE_HANGUP', {
|
|
62106
|
+
configurable: true,
|
|
62107
|
+
get: HangupReasonJS_REMOTE_HANGUP_getInstance
|
|
62108
|
+
});
|
|
62109
|
+
Object.defineProperty($vonage.HangupReasonJS, 'REMOTE_REJECT', {
|
|
62110
|
+
configurable: true,
|
|
62111
|
+
get: HangupReasonJS_REMOTE_REJECT_getInstance
|
|
62112
|
+
});
|
|
62113
|
+
Object.defineProperty($vonage.HangupReasonJS, 'LOCAL_HANGUP', {
|
|
62114
|
+
configurable: true,
|
|
62115
|
+
get: HangupReasonJS_LOCAL_HANGUP_getInstance
|
|
62116
|
+
});
|
|
62117
|
+
Object.defineProperty($vonage.HangupReasonJS, 'MEDIA_TIMEOUT', {
|
|
62118
|
+
configurable: true,
|
|
62119
|
+
get: HangupReasonJS_MEDIA_TIMEOUT_getInstance
|
|
62120
|
+
});
|
|
62121
|
+
Object.defineProperty($vonage.HangupReasonJS, 'Companion', {
|
|
62122
|
+
configurable: true,
|
|
62123
|
+
get: Companion_getInstance_2
|
|
62124
|
+
});
|
|
61949
62125
|
$vonage.VoiceInviteFromInfoJS = VoiceInviteFromInfoJS;
|
|
61950
62126
|
var $vonage = _.vonage || (_.vonage = {});
|
|
61951
62127
|
$vonage.HttpClientErrorJS = HttpClientErrorJS;
|
|
@@ -61978,8 +62154,8 @@ function requireClientsdkClientcore () {
|
|
|
61978
62154
|
get: get_REASON_PING_TIMEOUT
|
|
61979
62155
|
});
|
|
61980
62156
|
$vonage.CancelReasonJS = CancelReasonJS;
|
|
61981
|
-
$vonage.CancelReasonJS.values =
|
|
61982
|
-
$vonage.CancelReasonJS.valueOf =
|
|
62157
|
+
$vonage.CancelReasonJS.values = values_9;
|
|
62158
|
+
$vonage.CancelReasonJS.valueOf = valueOf_9;
|
|
61983
62159
|
Object.defineProperty($vonage.CancelReasonJS, 'RemoteCancel', {
|
|
61984
62160
|
configurable: true,
|
|
61985
62161
|
get: CancelReasonJS_RemoteCancel_getInstance
|
|
@@ -62007,31 +62183,6 @@ function requireClientsdkClientcore () {
|
|
|
62007
62183
|
|
|
62008
62184
|
} (clientsdkClientcore_js));
|
|
62009
62185
|
|
|
62010
|
-
/******************************************************************************
|
|
62011
|
-
Copyright (c) Microsoft Corporation.
|
|
62012
|
-
|
|
62013
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
62014
|
-
purpose with or without fee is hereby granted.
|
|
62015
|
-
|
|
62016
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
62017
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
62018
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
62019
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
62020
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
62021
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
62022
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
62023
|
-
***************************************************************************** */
|
|
62024
|
-
|
|
62025
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
62026
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
62027
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
62028
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
62029
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
62030
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
62031
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
62032
|
-
});
|
|
62033
|
-
}
|
|
62034
|
-
|
|
62035
62186
|
function bind$1(fn, thisArg) {
|
|
62036
62187
|
return function wrap() {
|
|
62037
62188
|
return fn.apply(thisArg, arguments);
|
|
@@ -71493,8 +71644,8 @@ JSONPPolling.prototype.doWrite = function (data, fn) {
|
|
|
71493
71644
|
var _nodeResolve_empty = {};
|
|
71494
71645
|
|
|
71495
71646
|
var _nodeResolve_empty$1 = /*#__PURE__*/Object.freeze({
|
|
71496
|
-
|
|
71497
|
-
|
|
71647
|
+
__proto__: null,
|
|
71648
|
+
default: _nodeResolve_empty
|
|
71498
71649
|
});
|
|
71499
71650
|
|
|
71500
71651
|
var require$$6 = /*@__PURE__*/getAugmentedNamespace(_nodeResolve_empty$1);
|
|
@@ -74030,6 +74181,15 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
74030
74181
|
on(event, callback) {
|
|
74031
74182
|
this.callbacks.set(event, callback);
|
|
74032
74183
|
}
|
|
74184
|
+
// overrides to make the JS api more JS-like
|
|
74185
|
+
hangup(callId, reasonText, reasonCode) {
|
|
74186
|
+
const _super = Object.create(null, {
|
|
74187
|
+
hangupWithReason: { get: () => super.hangupWithReason }
|
|
74188
|
+
});
|
|
74189
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74190
|
+
return _super.hangupWithReason.call(this, callId, reasonText || null, reasonCode || null);
|
|
74191
|
+
});
|
|
74192
|
+
}
|
|
74033
74193
|
}
|
|
74034
74194
|
|
|
74035
74195
|
export { CSErrorCodes, CancelReason, ChannelType, ClientConfig, ConfigRegion, ConversationState, LegStatus, LoggingLevel, MemberInvitedEvent, MemberJoinedEvent, MemberLeftEvent, MemberState, PresentingOrder, SessionErrorCodes, SessionErrorReason, TextMessageEvent, UnknownEvent, VonageClient, VonageError, VonageErrorType, VonageClient as default, setVonageClientLoggingLevel };
|