@vonage/client-sdk 1.5.1 → 1.5.2-beta.1
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/README.md +17 -14
- package/api_docs/ts/assets/navigation.js +1 -1
- package/api_docs/ts/assets/search.js +1 -1
- package/api_docs/ts/classes/ClientConfig.html +1 -1
- package/api_docs/ts/classes/ClientInitConfig.html +1 -1
- package/api_docs/ts/classes/VonageClient.html +9 -9
- package/api_docs/ts/enums/CallDisconnectReason.html +3 -0
- package/api_docs/ts/{interfaces/VonageEvent.html → enums/CancelReason.html} +6 -2
- package/api_docs/ts/enums/ChannelType.html +13 -0
- package/api_docs/ts/enums/HangupReason.html +7 -0
- package/api_docs/ts/enums/LegStatus.html +5 -0
- package/api_docs/ts/enums/LoggingLevel.html +10 -0
- package/api_docs/ts/enums/OrderBy.html +1 -1
- package/api_docs/ts/enums/PresentingOrder.html +1 -1
- package/api_docs/ts/enums/VoiceChannelType.html +6 -0
- package/api_docs/ts/functions/none.html +1 -1
- package/api_docs/ts/functions/setDefaultLoggingLevel.html +3 -3
- package/api_docs/ts/functions/setVonageClientLoggingLevel.html +3 -3
- package/api_docs/ts/functions/some.html +1 -1
- package/api_docs/ts/index.html +1 -1
- package/api_docs/ts/interfaces/CallSayParams.html +1 -1
- package/api_docs/ts/interfaces/Channel.html +1 -1
- package/api_docs/ts/interfaces/Conversation.html +1 -1
- package/api_docs/ts/interfaces/ConversationProperties.html +1 -1
- package/api_docs/ts/interfaces/ConversationTimestamp.html +1 -1
- package/api_docs/ts/interfaces/ConversationsPage.html +1 -1
- package/api_docs/ts/interfaces/CreateConversationParameters.html +1 -1
- package/api_docs/ts/interfaces/EphemeralConversationEvent.html +3 -3
- package/api_docs/ts/interfaces/EventsPage.html +1 -1
- package/api_docs/ts/interfaces/GetCallLegsParameters.html +1 -1
- package/api_docs/ts/interfaces/GetConversationEventsParameters.html +1 -1
- package/api_docs/ts/interfaces/GetConversationMembersParameters.html +1 -1
- package/api_docs/ts/interfaces/GetConversationsParameters.html +1 -1
- package/api_docs/ts/interfaces/Leg.html +1 -1
- package/api_docs/ts/interfaces/LegChannel.html +1 -1
- package/api_docs/ts/interfaces/LegsPage.html +1 -1
- package/api_docs/ts/interfaces/Location.html +1 -1
- package/api_docs/ts/interfaces/Member.html +11 -11
- package/api_docs/ts/interfaces/MemberChannel.html +7 -7
- package/api_docs/ts/interfaces/MemberEventBody.html +2 -2
- package/api_docs/ts/interfaces/MemberTimestamp.html +1 -1
- package/api_docs/ts/interfaces/MembersPage.html +1 -1
- package/api_docs/ts/interfaces/MessageAudioEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageCustomEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageFileEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageImageEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageLocationEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageTemplateEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageTextEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageVCardEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageVideoEventBody.html +2 -2
- package/api_docs/ts/interfaces/RTCQuality.html +1 -1
- package/api_docs/ts/interfaces/RtcStats.html +1 -1
- package/api_docs/ts/interfaces/Template.html +1 -1
- package/api_docs/ts/interfaces/UpdateConversationParameters.html +1 -1
- package/api_docs/ts/interfaces/User.html +1 -1
- package/api_docs/ts/interfaces/UserChannels.html +1 -1
- package/api_docs/ts/interfaces/UserTimestamp.html +1 -1
- package/api_docs/ts/interfaces/Whatsapp.html +1 -1
- package/api_docs/ts/modules.html +13 -33
- package/api_docs/ts/types/ClientConfigObject.html +6 -0
- package/api_docs/ts/types/ClientInitConfigObject.html +6 -0
- package/api_docs/ts/types/ConfigRegion.html +2 -2
- package/api_docs/ts/types/ConversationEvent.html +2 -2
- package/api_docs/ts/types/CustomData.html +1 -1
- package/api_docs/ts/types/Json.html +1 -1
- package/api_docs/ts/types/JsonValue.html +1 -1
- package/api_docs/ts/types/MemberStatus.html +1 -1
- package/api_docs/ts/types/Option.html +1 -1
- package/api_docs/ts/types/PersistentConversationEvent.html +2 -2
- package/api_docs/ts/types/Topics.html +2 -2
- package/api_docs/ts/types/VonageEvent.html +2 -0
- package/api_docs/ts/types/VonageLogger.html +4 -0
- package/api_docs/ts/variables/Topics-1.html +2 -2
- package/dist/client/VonageClient.d.ts +14 -24
- package/dist/client/index.cjs +886 -862
- package/dist/client/index.mjs +886 -863
- package/dist/coreExtend.d.ts +14 -0
- package/dist/kotlin/JsUnions.d.ts +24 -0
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +67 -141
- package/dist/utils/ClientConfig.d.ts +0 -2
- package/dist/utils/ConversationModels.d.ts +22 -5
- package/dist/utils/Enums.d.ts +53 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/logging.d.ts +10 -2
- package/dist/vonageClientSDK.js +886 -862
- package/dist/vonageClientSDK.min.js +20 -20
- package/dist/vonageClientSDK.min.mjs +18 -18
- package/dist/vonageClientSDK.mjs +886 -863
- package/package.json +1 -1
- package/api_docs/ts/interfaces/ClientConfigObject.html +0 -18
- package/api_docs/ts/interfaces/ClientInitConfigObject.html +0 -24
- package/api_docs/ts/interfaces/CustomConversationEvent.html +0 -16
- package/api_docs/ts/interfaces/EmbeddedInfo.html +0 -8
- package/api_docs/ts/interfaces/EventDeleteConversationEvent.html +0 -14
- package/api_docs/ts/interfaces/MemberInvitedEvent.html +0 -14
- package/api_docs/ts/interfaces/MemberJoinedEvent.html +0 -14
- package/api_docs/ts/interfaces/MemberLeftEvent.html +0 -14
- package/api_docs/ts/interfaces/MessageAudioEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageCustomEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageDeliveredEvent.html +0 -14
- package/api_docs/ts/interfaces/MessageFileEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageImageEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageLocationEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageRejectedEvent.html +0 -14
- package/api_docs/ts/interfaces/MessageSeenEvent.html +0 -14
- package/api_docs/ts/interfaces/MessageSubmittedEvent.html +0 -14
- package/api_docs/ts/interfaces/MessageTemplateEvent.html +0 -17
- package/api_docs/ts/interfaces/MessageTextEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageUndeliverableEvent.html +0 -14
- package/api_docs/ts/interfaces/MessageVCardEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageVideoEvent.html +0 -16
- package/api_docs/ts/interfaces/System.html +0 -4
- package/api_docs/ts/interfaces/VonageLogger.html +0 -10
- package/api_docs/ts/types/ChannelType.html +0 -2
- package/api_docs/ts/types/ConversationState.html +0 -2
- package/api_docs/ts/types/From.html +0 -2
- package/api_docs/ts/types/LoggingLevel.html +0 -4
- package/api_docs/ts/types/MemberState.html +0 -2
- package/api_docs/ts/types/NonPersistentConversationEvent.html +0 -2
package/dist/client/index.mjs
CHANGED
|
@@ -33679,6 +33679,15 @@ function requireClientsdkClientcore () {
|
|
|
33679
33679
|
setMetadataFor(Companion_133, 'Companion', objectMeta);
|
|
33680
33680
|
setMetadataFor($serializer_153, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
33681
33681
|
setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_153});
|
|
33682
|
+
function onAudioSay() {
|
|
33683
|
+
}
|
|
33684
|
+
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
33685
|
+
}
|
|
33686
|
+
function onAudioEarmuffUpdate(conversationId, legId, earmuffStatus) {
|
|
33687
|
+
}
|
|
33688
|
+
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33689
|
+
}
|
|
33690
|
+
setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
|
|
33682
33691
|
function onRTCHangup(conversationId, legId, hangup) {
|
|
33683
33692
|
}
|
|
33684
33693
|
function onRTCTransfer(conversationId, legId) {
|
|
@@ -33689,16 +33698,7 @@ function requireClientsdkClientcore () {
|
|
|
33689
33698
|
function onConversationEvent(event) {
|
|
33690
33699
|
}
|
|
33691
33700
|
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
33692
|
-
|
|
33693
|
-
}
|
|
33694
|
-
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
33695
|
-
}
|
|
33696
|
-
function onAudioEarmuffUpdate(conversationId, legId, earmuffStatus) {
|
|
33697
|
-
}
|
|
33698
|
-
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33699
|
-
}
|
|
33700
|
-
setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
|
|
33701
|
-
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [RTCEventListener, ConversationEventListener, AudioEventListener]);
|
|
33701
|
+
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
|
|
33702
33702
|
setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
|
|
33703
33703
|
setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
|
|
33704
33704
|
setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
|
|
@@ -33853,7 +33853,7 @@ function requireClientsdkClientcore () {
|
|
|
33853
33853
|
setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
|
|
33854
33854
|
setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
|
|
33855
33855
|
setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
|
|
33856
|
-
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [RTCEventListener, ConversationEventListener
|
|
33856
|
+
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
|
|
33857
33857
|
setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
|
|
33858
33858
|
setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
|
|
33859
33859
|
setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
|
|
@@ -34069,7 +34069,7 @@ function requireClientsdkClientcore () {
|
|
|
34069
34069
|
setMetadataFor(Failed, 'Failed', classMeta, StateTransition);
|
|
34070
34070
|
//endregion
|
|
34071
34071
|
function BuildKonfig() {
|
|
34072
|
-
this.g1d_1 = '1.5.1';
|
|
34072
|
+
this.g1d_1 = '1.5.2-beta.1';
|
|
34073
34073
|
}
|
|
34074
34074
|
var BuildKonfig_instance;
|
|
34075
34075
|
function BuildKonfig_getInstance() {
|
|
@@ -75353,24 +75353,24 @@ function requireClientsdkClientcore () {
|
|
|
75353
75353
|
'use strict';
|
|
75354
75354
|
//region block: imports
|
|
75355
75355
|
var imul = Math.imul;
|
|
75356
|
-
var Unit_instance = kotlin_kotlin.$_$.v3;
|
|
75357
75356
|
var protoOf = kotlin_kotlin.$_$.w7;
|
|
75358
|
-
var
|
|
75357
|
+
var THROW_CCE = kotlin_kotlin.$_$.v9;
|
|
75358
|
+
var objectMeta = kotlin_kotlin.$_$.v7;
|
|
75359
75359
|
var setMetadataFor = kotlin_kotlin.$_$.x7;
|
|
75360
|
+
var Unit_instance = kotlin_kotlin.$_$.v3;
|
|
75361
|
+
var classMeta = kotlin_kotlin.$_$.p6;
|
|
75360
75362
|
var VOID = kotlin_kotlin.$_$.f;
|
|
75361
75363
|
var VoiceClientListener = kotlin_com_vonage_rtc_clientcore.$_$.n1;
|
|
75362
75364
|
var Builder = kotlin_com_vonage_rtc_clientcore.$_$.u1;
|
|
75363
75365
|
var LoggerAdapter = kotlin_com_vonage_rtc_clientcore.$_$.o1;
|
|
75364
75366
|
var defineProp = kotlin_kotlin.$_$.q6;
|
|
75367
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.qa;
|
|
75365
75368
|
var THROW_IAE = kotlin_kotlin.$_$.w9;
|
|
75366
75369
|
var Enum = kotlin_kotlin.$_$.o9;
|
|
75367
75370
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.l4;
|
|
75368
75371
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
|
|
75369
75372
|
var copyToArray = kotlin_kotlin.$_$.y4;
|
|
75370
75373
|
var interfaceMeta = kotlin_kotlin.$_$.z6;
|
|
75371
|
-
var THROW_CCE = kotlin_kotlin.$_$.v9;
|
|
75372
|
-
var objectMeta = kotlin_kotlin.$_$.v7;
|
|
75373
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.qa;
|
|
75374
75374
|
var System_instance = kotlin_com_vonage_rtc_clientcore.$_$.v2;
|
|
75375
75375
|
var equals = kotlin_kotlin.$_$.r6;
|
|
75376
75376
|
var EmbeddedInfo = kotlin_com_vonage_rtc_clientcore.$_$.j;
|
|
@@ -75475,6 +75475,7 @@ function requireClientsdkClientcore () {
|
|
|
75475
75475
|
var json = kotlin_kotlin.$_$.m7;
|
|
75476
75476
|
//endregion
|
|
75477
75477
|
//region block: pre-declaration
|
|
75478
|
+
setMetadataFor(VoiceChannelTypeObject, 'VoiceChannelTypeObject', objectMeta);
|
|
75478
75479
|
setMetadataFor(CombinedClientJS$1, VOID, classMeta);
|
|
75479
75480
|
setMetadataFor(CombinedClientJS$2, VOID, classMeta, VOID, [VoiceClientListener]);
|
|
75480
75481
|
setMetadataFor(CombinedClientJS$3, VOID, classMeta);
|
|
@@ -75688,7 +75689,7 @@ function requireClientsdkClientcore () {
|
|
|
75688
75689
|
setMetadataFor(MediaStateJS, 'MediaStateJS', classMeta);
|
|
75689
75690
|
setMetadataFor(LegJS, 'LegJS', classMeta);
|
|
75690
75691
|
setMetadataFor(LegsPageJS, 'LegsPageJS', classMeta);
|
|
75691
|
-
setMetadataFor(
|
|
75692
|
+
setMetadataFor(ChannelTypeObj, 'ChannelTypeObj', objectMeta);
|
|
75692
75693
|
setMetadataFor(CSErrorCodesJS, 'CSErrorCodesJS', objectMeta);
|
|
75693
75694
|
setMetadataFor(SessionErrorCodesJS, 'SessionErrorCodesJS', objectMeta);
|
|
75694
75695
|
setMetadataFor(VonageErrorJS, 'VonageErrorJS', classMeta, Error);
|
|
@@ -75706,13 +75707,13 @@ function requireClientsdkClientcore () {
|
|
|
75706
75707
|
setMetadataFor(LoggingLevelJS, 'LoggingLevelJS', classMeta, Enum);
|
|
75707
75708
|
setMetadataFor(SessionErrorReasonJS, 'SessionErrorReasonJS', classMeta, Enum);
|
|
75708
75709
|
setMetadataFor(createVonageLoggerJS$1, VOID, classMeta);
|
|
75709
|
-
setMetadataFor(
|
|
75710
|
-
setMetadataFor(
|
|
75711
|
-
setMetadataFor(
|
|
75710
|
+
setMetadataFor(LegStatusJSObject, 'LegStatusJSObject', objectMeta);
|
|
75711
|
+
setMetadataFor(CallDisconnectReasonJSObject, 'CallDisconnectReasonJSObject', objectMeta);
|
|
75712
|
+
setMetadataFor(HangupReasonJSObject, 'HangupReasonJSObject', objectMeta);
|
|
75712
75713
|
setMetadataFor(VoiceInviteFromInfoJS, 'VoiceInviteFromInfoJS', classMeta);
|
|
75713
75714
|
setMetadataFor(HttpClientErrorJS, 'HttpClientErrorJS', classMeta, Error, VOID, HttpClientErrorJS);
|
|
75714
75715
|
setMetadataFor(HttpClientResponseJS, 'HttpClientResponseJS', classMeta);
|
|
75715
|
-
setMetadataFor(
|
|
75716
|
+
setMetadataFor(CancelReasonJSObject, 'CancelReasonJSObject', objectMeta);
|
|
75716
75717
|
setMetadataFor(RTCQualityJS, 'RTCQualityJS', classMeta);
|
|
75717
75718
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
75718
75719
|
setMetadataFor(RTCStatsJS, 'RTCStatsJS', classMeta);
|
|
@@ -75726,11 +75727,47 @@ function requireClientsdkClientcore () {
|
|
|
75726
75727
|
setMetadataFor(Some, 'Some', classMeta, OptionJS);
|
|
75727
75728
|
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
75728
75729
|
//endregion
|
|
75730
|
+
function VoiceChannelTypeObject() {
|
|
75731
|
+
this.app = 'app';
|
|
75732
|
+
this.phone = 'phone';
|
|
75733
|
+
this.sip = 'sip';
|
|
75734
|
+
this.websocket = 'websocket';
|
|
75735
|
+
}
|
|
75736
|
+
protoOf(VoiceChannelTypeObject).q3q = function () {
|
|
75737
|
+
return this.app;
|
|
75738
|
+
};
|
|
75739
|
+
protoOf(VoiceChannelTypeObject).r3q = function () {
|
|
75740
|
+
return this.phone;
|
|
75741
|
+
};
|
|
75742
|
+
protoOf(VoiceChannelTypeObject).s3q = function () {
|
|
75743
|
+
return this.sip;
|
|
75744
|
+
};
|
|
75745
|
+
protoOf(VoiceChannelTypeObject).t3q = function () {
|
|
75746
|
+
return this.websocket;
|
|
75747
|
+
};
|
|
75748
|
+
protoOf(VoiceChannelTypeObject).toString = function () {
|
|
75749
|
+
return 'VoiceChannelTypeObject';
|
|
75750
|
+
};
|
|
75751
|
+
protoOf(VoiceChannelTypeObject).hashCode = function () {
|
|
75752
|
+
return -1025446930;
|
|
75753
|
+
};
|
|
75754
|
+
protoOf(VoiceChannelTypeObject).equals = function (other) {
|
|
75755
|
+
if (this === other)
|
|
75756
|
+
return true;
|
|
75757
|
+
if (!(other instanceof VoiceChannelTypeObject))
|
|
75758
|
+
return false;
|
|
75759
|
+
other instanceof VoiceChannelTypeObject || THROW_CCE();
|
|
75760
|
+
return true;
|
|
75761
|
+
};
|
|
75762
|
+
var VoiceChannelTypeObject_instance;
|
|
75763
|
+
function VoiceChannelTypeObject_getInstance() {
|
|
75764
|
+
return VoiceChannelTypeObject_instance;
|
|
75765
|
+
}
|
|
75729
75766
|
function CombinedClientJS$1(this$0) {
|
|
75730
|
-
this.
|
|
75767
|
+
this.u3q_1 = this$0;
|
|
75731
75768
|
}
|
|
75732
75769
|
protoOf(CombinedClientJS$1).c38 = function () {
|
|
75733
|
-
var tmp0_safe_receiver = this.
|
|
75770
|
+
var tmp0_safe_receiver = this.u3q_1.emitter;
|
|
75734
75771
|
if (tmp0_safe_receiver == null)
|
|
75735
75772
|
null;
|
|
75736
75773
|
else {
|
|
@@ -75738,7 +75775,7 @@ function requireClientsdkClientcore () {
|
|
|
75738
75775
|
}
|
|
75739
75776
|
};
|
|
75740
75777
|
protoOf(CombinedClientJS$1).d38 = function () {
|
|
75741
|
-
var tmp0_safe_receiver = this.
|
|
75778
|
+
var tmp0_safe_receiver = this.u3q_1.emitter;
|
|
75742
75779
|
if (tmp0_safe_receiver == null)
|
|
75743
75780
|
null;
|
|
75744
75781
|
else {
|
|
@@ -75746,34 +75783,34 @@ function requireClientsdkClientcore () {
|
|
|
75746
75783
|
}
|
|
75747
75784
|
};
|
|
75748
75785
|
protoOf(CombinedClientJS$1).e38 = function (reason) {
|
|
75749
|
-
var tmp0_safe_receiver = this.
|
|
75786
|
+
var tmp0_safe_receiver = this.u3q_1.emitter;
|
|
75750
75787
|
if (tmp0_safe_receiver == null)
|
|
75751
75788
|
null;
|
|
75752
75789
|
else {
|
|
75753
|
-
tmp0_safe_receiver.sessionError(
|
|
75790
|
+
tmp0_safe_receiver.sessionError(map_10(reason));
|
|
75754
75791
|
}
|
|
75755
75792
|
};
|
|
75756
75793
|
function CombinedClientJS$2(this$0) {
|
|
75757
|
-
this.
|
|
75794
|
+
this.x3q_1 = this$0;
|
|
75758
75795
|
}
|
|
75759
75796
|
protoOf(CombinedClientJS$2).i38 = function (callId, from, channelType) {
|
|
75760
|
-
var tmp0_safe_receiver = this.
|
|
75797
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75761
75798
|
if (tmp0_safe_receiver == null)
|
|
75762
75799
|
null;
|
|
75763
75800
|
else {
|
|
75764
|
-
tmp0_safe_receiver.callInvite(callId, from, channelType
|
|
75801
|
+
tmp0_safe_receiver.callInvite(callId, from, map(channelType));
|
|
75765
75802
|
}
|
|
75766
75803
|
};
|
|
75767
75804
|
protoOf(CombinedClientJS$2).j38 = function (callId, reason) {
|
|
75768
|
-
var tmp0_safe_receiver = this.
|
|
75805
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75769
75806
|
if (tmp0_safe_receiver == null)
|
|
75770
75807
|
null;
|
|
75771
75808
|
else {
|
|
75772
|
-
tmp0_safe_receiver.callInviteCancel(callId,
|
|
75809
|
+
tmp0_safe_receiver.callInviteCancel(callId, map_14(reason));
|
|
75773
75810
|
}
|
|
75774
75811
|
};
|
|
75775
75812
|
protoOf(CombinedClientJS$2).k38 = function (callId, conversationId) {
|
|
75776
|
-
var tmp0_safe_receiver = this.
|
|
75813
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75777
75814
|
if (tmp0_safe_receiver == null)
|
|
75778
75815
|
null;
|
|
75779
75816
|
else {
|
|
@@ -75781,7 +75818,7 @@ function requireClientsdkClientcore () {
|
|
|
75781
75818
|
}
|
|
75782
75819
|
};
|
|
75783
75820
|
protoOf(CombinedClientJS$2).l38 = function (callId, legId, isMuted) {
|
|
75784
|
-
var tmp0_safe_receiver = this.
|
|
75821
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75785
75822
|
if (tmp0_safe_receiver == null)
|
|
75786
75823
|
null;
|
|
75787
75824
|
else {
|
|
@@ -75789,7 +75826,7 @@ function requireClientsdkClientcore () {
|
|
|
75789
75826
|
}
|
|
75790
75827
|
};
|
|
75791
75828
|
protoOf(CombinedClientJS$2).m38 = function (callId, legId, earmuffStatus) {
|
|
75792
|
-
var tmp0_safe_receiver = this.
|
|
75829
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75793
75830
|
if (tmp0_safe_receiver == null)
|
|
75794
75831
|
null;
|
|
75795
75832
|
else {
|
|
@@ -75797,7 +75834,7 @@ function requireClientsdkClientcore () {
|
|
|
75797
75834
|
}
|
|
75798
75835
|
};
|
|
75799
75836
|
protoOf(CombinedClientJS$2).n38 = function (callId, legId, digits) {
|
|
75800
|
-
var tmp0_safe_receiver = this.
|
|
75837
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75801
75838
|
if (tmp0_safe_receiver == null)
|
|
75802
75839
|
null;
|
|
75803
75840
|
else {
|
|
@@ -75805,23 +75842,23 @@ function requireClientsdkClientcore () {
|
|
|
75805
75842
|
}
|
|
75806
75843
|
};
|
|
75807
75844
|
protoOf(CombinedClientJS$2).o38 = function (callId, callQuality, reason) {
|
|
75808
|
-
var tmp0_safe_receiver = this.
|
|
75845
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75809
75846
|
if (tmp0_safe_receiver == null)
|
|
75810
75847
|
null;
|
|
75811
75848
|
else {
|
|
75812
|
-
tmp0_safe_receiver.callHangup(callId,
|
|
75849
|
+
tmp0_safe_receiver.callHangup(callId, map_15(callQuality), map_13(reason));
|
|
75813
75850
|
}
|
|
75814
75851
|
};
|
|
75815
75852
|
protoOf(CombinedClientJS$2).p38 = function (callId, legId, status) {
|
|
75816
|
-
var tmp0_safe_receiver = this.
|
|
75853
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75817
75854
|
if (tmp0_safe_receiver == null)
|
|
75818
75855
|
null;
|
|
75819
75856
|
else {
|
|
75820
|
-
tmp0_safe_receiver.legStatusUpdate(callId, legId,
|
|
75857
|
+
tmp0_safe_receiver.legStatusUpdate(callId, legId, map_11(status));
|
|
75821
75858
|
}
|
|
75822
75859
|
};
|
|
75823
75860
|
protoOf(CombinedClientJS$2).q38 = function (callId) {
|
|
75824
|
-
var tmp0_safe_receiver = this.
|
|
75861
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75825
75862
|
if (tmp0_safe_receiver == null)
|
|
75826
75863
|
null;
|
|
75827
75864
|
else {
|
|
@@ -75829,7 +75866,7 @@ function requireClientsdkClientcore () {
|
|
|
75829
75866
|
}
|
|
75830
75867
|
};
|
|
75831
75868
|
protoOf(CombinedClientJS$2).r38 = function (callId) {
|
|
75832
|
-
var tmp0_safe_receiver = this.
|
|
75869
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75833
75870
|
if (tmp0_safe_receiver == null)
|
|
75834
75871
|
null;
|
|
75835
75872
|
else {
|
|
@@ -75837,23 +75874,23 @@ function requireClientsdkClientcore () {
|
|
|
75837
75874
|
}
|
|
75838
75875
|
};
|
|
75839
75876
|
protoOf(CombinedClientJS$2).s38 = function (callId, reason) {
|
|
75840
|
-
var tmp0_safe_receiver = this.
|
|
75877
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75841
75878
|
if (tmp0_safe_receiver == null)
|
|
75842
75879
|
null;
|
|
75843
75880
|
else {
|
|
75844
|
-
tmp0_safe_receiver.callMediaDisconnect(callId,
|
|
75881
|
+
tmp0_safe_receiver.callMediaDisconnect(callId, map_12(reason));
|
|
75845
75882
|
}
|
|
75846
75883
|
};
|
|
75847
75884
|
protoOf(CombinedClientJS$2).t38 = function (rtcStats, legId) {
|
|
75848
|
-
var tmp0_safe_receiver = this.
|
|
75885
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75849
75886
|
if (tmp0_safe_receiver == null)
|
|
75850
75887
|
null;
|
|
75851
75888
|
else {
|
|
75852
|
-
tmp0_safe_receiver.rtcStatsUpdate(Companion_instance_0.
|
|
75889
|
+
tmp0_safe_receiver.rtcStatsUpdate(Companion_instance_0.y3q(rtcStats), legId);
|
|
75853
75890
|
}
|
|
75854
75891
|
};
|
|
75855
75892
|
protoOf(CombinedClientJS$2).u38 = function (callId, error) {
|
|
75856
|
-
var tmp0_safe_receiver = this.
|
|
75893
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75857
75894
|
if (tmp0_safe_receiver == null)
|
|
75858
75895
|
null;
|
|
75859
75896
|
else {
|
|
@@ -75861,43 +75898,64 @@ function requireClientsdkClientcore () {
|
|
|
75861
75898
|
}
|
|
75862
75899
|
};
|
|
75863
75900
|
function CombinedClientJS$3(this$0) {
|
|
75864
|
-
this.
|
|
75901
|
+
this.z3q_1 = this$0;
|
|
75865
75902
|
}
|
|
75866
75903
|
protoOf(CombinedClientJS$3).v2s = function (event) {
|
|
75867
|
-
var tmp0_safe_receiver = this.
|
|
75904
|
+
var tmp0_safe_receiver = this.z3q_1.emitter;
|
|
75868
75905
|
if (tmp0_safe_receiver == null)
|
|
75869
75906
|
null;
|
|
75870
75907
|
else {
|
|
75871
|
-
tmp0_safe_receiver.conversationEvent(
|
|
75908
|
+
tmp0_safe_receiver.conversationEvent(map_1(event));
|
|
75872
75909
|
}
|
|
75873
75910
|
};
|
|
75874
75911
|
function CombinedClientJS(config, http, socket, media) {
|
|
75875
|
-
this.
|
|
75912
|
+
this.v3q_1 = media;
|
|
75876
75913
|
var tmp = this;
|
|
75877
75914
|
var tmp_0 = new Builder();
|
|
75878
75915
|
var tmp0_safe_receiver = config.loggingLevel;
|
|
75879
75916
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getLoggingLevel(tmp0_safe_receiver);
|
|
75880
75917
|
var tmp_1 = tmp1_elvis_lhs == null ? getLoggingLevel(get_DEFAULT_LOGGING_LEVEL()) : tmp1_elvis_lhs;
|
|
75881
|
-
var tmp_2 =
|
|
75918
|
+
var tmp_2 = map_9(config.customLoggers);
|
|
75882
75919
|
var tmp2_elvis_lhs = config.disableInternalLogger;
|
|
75883
|
-
tmp.
|
|
75920
|
+
tmp.w3q_1 = tmp_0.e1e(new LoggerAdapter(tmp_1, tmp_2, tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs)).f1e(HttpClientJSAdapter(http)).g1e(SocketClientJSAdapter(socket)).h1e(MediaClientJSAdapter(this.v3q_1));
|
|
75884
75921
|
this.emitter = null;
|
|
75885
|
-
this.
|
|
75886
|
-
this.
|
|
75887
|
-
this.
|
|
75922
|
+
this.w3q_1.h1d(new CombinedClientJS$1(this));
|
|
75923
|
+
this.w3q_1.l1d(new CombinedClientJS$2(this));
|
|
75924
|
+
this.w3q_1.i1d(new CombinedClientJS$3(this));
|
|
75888
75925
|
}
|
|
75889
|
-
protoOf(CombinedClientJS).
|
|
75890
|
-
return this.
|
|
75926
|
+
protoOf(CombinedClientJS).a3r = function () {
|
|
75927
|
+
return this.v3q_1;
|
|
75891
75928
|
};
|
|
75892
|
-
protoOf(CombinedClientJS).
|
|
75893
|
-
return this.
|
|
75929
|
+
protoOf(CombinedClientJS).b3r = function () {
|
|
75930
|
+
return this.w3q_1;
|
|
75894
75931
|
};
|
|
75895
|
-
protoOf(CombinedClientJS).
|
|
75932
|
+
protoOf(CombinedClientJS).c3r = function (_set____db54di) {
|
|
75896
75933
|
this.emitter = _set____db54di;
|
|
75897
75934
|
};
|
|
75898
|
-
protoOf(CombinedClientJS).
|
|
75935
|
+
protoOf(CombinedClientJS).d3r = function () {
|
|
75899
75936
|
return this.emitter;
|
|
75900
75937
|
};
|
|
75938
|
+
function map(_this__u8e3s4) {
|
|
75939
|
+
var tmp;
|
|
75940
|
+
switch (_this__u8e3s4.z7_1) {
|
|
75941
|
+
case 0:
|
|
75942
|
+
tmp = VoiceChannelTypeObject_instance.app;
|
|
75943
|
+
break;
|
|
75944
|
+
case 1:
|
|
75945
|
+
tmp = VoiceChannelTypeObject_instance.phone;
|
|
75946
|
+
break;
|
|
75947
|
+
case 2:
|
|
75948
|
+
tmp = VoiceChannelTypeObject_instance.sip;
|
|
75949
|
+
break;
|
|
75950
|
+
case 3:
|
|
75951
|
+
tmp = VoiceChannelTypeObject_instance.websocket;
|
|
75952
|
+
break;
|
|
75953
|
+
default:
|
|
75954
|
+
noWhenBranchMatchedException();
|
|
75955
|
+
break;
|
|
75956
|
+
}
|
|
75957
|
+
return tmp;
|
|
75958
|
+
}
|
|
75901
75959
|
var EventStateTypeJS_SEEN_instance;
|
|
75902
75960
|
var EventStateTypeJS_DELIVERED_instance;
|
|
75903
75961
|
var EventStateTypeJS_SUBMITTED_instance;
|
|
@@ -75967,22 +76025,22 @@ function requireClientsdkClientcore () {
|
|
|
75967
76025
|
var tmp3_elvis_lhs = tmp_5;
|
|
75968
76026
|
tmp_4.current = tmp3_elvis_lhs == null ? 'none' : tmp3_elvis_lhs;
|
|
75969
76027
|
}
|
|
75970
|
-
protoOf(EventStateJS).
|
|
76028
|
+
protoOf(EventStateJS).g3r = function () {
|
|
75971
76029
|
return this.seen;
|
|
75972
76030
|
};
|
|
75973
|
-
protoOf(EventStateJS).
|
|
76031
|
+
protoOf(EventStateJS).h3r = function () {
|
|
75974
76032
|
return this.delivered;
|
|
75975
76033
|
};
|
|
75976
|
-
protoOf(EventStateJS).
|
|
76034
|
+
protoOf(EventStateJS).i3r = function () {
|
|
75977
76035
|
return this.submitted;
|
|
75978
76036
|
};
|
|
75979
|
-
protoOf(EventStateJS).
|
|
76037
|
+
protoOf(EventStateJS).j3r = function () {
|
|
75980
76038
|
return this.rejected;
|
|
75981
76039
|
};
|
|
75982
|
-
protoOf(EventStateJS).
|
|
76040
|
+
protoOf(EventStateJS).k3r = function () {
|
|
75983
76041
|
return this.undeliverable;
|
|
75984
76042
|
};
|
|
75985
|
-
protoOf(EventStateJS).
|
|
76043
|
+
protoOf(EventStateJS).l3r = function () {
|
|
75986
76044
|
return this.current;
|
|
75987
76045
|
};
|
|
75988
76046
|
function EventsPageJS(eventsPage) {
|
|
@@ -75996,20 +76054,20 @@ function requireClientsdkClientcore () {
|
|
|
75996
76054
|
while (tmp0_iterator.q()) {
|
|
75997
76055
|
var item = tmp0_iterator.s();
|
|
75998
76056
|
// Inline function 'vonage.EventsPageJS.events.<anonymous>' call
|
|
75999
|
-
var tmp$ret$0 =
|
|
76057
|
+
var tmp$ret$0 = map_2(item);
|
|
76000
76058
|
destination.m(tmp$ret$0);
|
|
76001
76059
|
}
|
|
76002
76060
|
tmp.events = copyToArray(destination);
|
|
76003
76061
|
this.previousCursor = eventsPage.h30_1;
|
|
76004
76062
|
this.nextCursor = eventsPage.i30_1;
|
|
76005
76063
|
}
|
|
76006
|
-
protoOf(EventsPageJS).
|
|
76064
|
+
protoOf(EventsPageJS).m3r = function () {
|
|
76007
76065
|
return this.events;
|
|
76008
76066
|
};
|
|
76009
|
-
protoOf(EventsPageJS).
|
|
76067
|
+
protoOf(EventsPageJS).n3r = function () {
|
|
76010
76068
|
return this.previousCursor;
|
|
76011
76069
|
};
|
|
76012
|
-
protoOf(EventsPageJS).
|
|
76070
|
+
protoOf(EventsPageJS).o3r = function () {
|
|
76013
76071
|
return this.nextCursor;
|
|
76014
76072
|
};
|
|
76015
76073
|
function FromJS() {
|
|
@@ -76022,7 +76080,7 @@ function requireClientsdkClientcore () {
|
|
|
76022
76080
|
protoOf(EmbeddedInfoJS).ch = function () {
|
|
76023
76081
|
return this.kind;
|
|
76024
76082
|
};
|
|
76025
|
-
protoOf(EmbeddedInfoJS).
|
|
76083
|
+
protoOf(EmbeddedInfoJS).p3r = function () {
|
|
76026
76084
|
return this.memberId;
|
|
76027
76085
|
};
|
|
76028
76086
|
protoOf(EmbeddedInfoJS).q2m = function () {
|
|
@@ -76064,7 +76122,7 @@ function requireClientsdkClientcore () {
|
|
|
76064
76122
|
this.memberId = body.m30_1;
|
|
76065
76123
|
this.user = new UserJS(body.l30_1);
|
|
76066
76124
|
}
|
|
76067
|
-
protoOf(MemberEventBodyJS).
|
|
76125
|
+
protoOf(MemberEventBodyJS).p3r = function () {
|
|
76068
76126
|
return this.memberId;
|
|
76069
76127
|
};
|
|
76070
76128
|
protoOf(MemberEventBodyJS).q2m = function () {
|
|
@@ -76075,7 +76133,7 @@ function requireClientsdkClientcore () {
|
|
|
76075
76133
|
this.id = event.n30_1;
|
|
76076
76134
|
this.timestamp = event.o30_1;
|
|
76077
76135
|
this.conversationId = event.p30_1;
|
|
76078
|
-
this.from =
|
|
76136
|
+
this.from = map_0(event.q30_1);
|
|
76079
76137
|
this.body = new MemberEventBodyJS(event.r30_1);
|
|
76080
76138
|
}
|
|
76081
76139
|
protoOf(MemberInvitedEventJS).ch = function () {
|
|
@@ -76090,10 +76148,10 @@ function requireClientsdkClientcore () {
|
|
|
76090
76148
|
protoOf(MemberInvitedEventJS).t2s = function () {
|
|
76091
76149
|
return this.conversationId;
|
|
76092
76150
|
};
|
|
76093
|
-
protoOf(MemberInvitedEventJS).
|
|
76151
|
+
protoOf(MemberInvitedEventJS).q3r = function () {
|
|
76094
76152
|
return this.from;
|
|
76095
76153
|
};
|
|
76096
|
-
protoOf(MemberInvitedEventJS).
|
|
76154
|
+
protoOf(MemberInvitedEventJS).r3r = function () {
|
|
76097
76155
|
return this.body;
|
|
76098
76156
|
};
|
|
76099
76157
|
function MemberJoinedEventJS(event) {
|
|
@@ -76101,7 +76159,7 @@ function requireClientsdkClientcore () {
|
|
|
76101
76159
|
this.id = event.s30_1;
|
|
76102
76160
|
this.timestamp = event.t30_1;
|
|
76103
76161
|
this.conversationId = event.u30_1;
|
|
76104
|
-
this.from =
|
|
76162
|
+
this.from = map_0(event.v30_1);
|
|
76105
76163
|
this.body = new MemberEventBodyJS(event.w30_1);
|
|
76106
76164
|
}
|
|
76107
76165
|
protoOf(MemberJoinedEventJS).ch = function () {
|
|
@@ -76116,10 +76174,10 @@ function requireClientsdkClientcore () {
|
|
|
76116
76174
|
protoOf(MemberJoinedEventJS).t2s = function () {
|
|
76117
76175
|
return this.conversationId;
|
|
76118
76176
|
};
|
|
76119
|
-
protoOf(MemberJoinedEventJS).
|
|
76177
|
+
protoOf(MemberJoinedEventJS).q3r = function () {
|
|
76120
76178
|
return this.from;
|
|
76121
76179
|
};
|
|
76122
|
-
protoOf(MemberJoinedEventJS).
|
|
76180
|
+
protoOf(MemberJoinedEventJS).r3r = function () {
|
|
76123
76181
|
return this.body;
|
|
76124
76182
|
};
|
|
76125
76183
|
function MemberLeftEventJS(event) {
|
|
@@ -76127,7 +76185,7 @@ function requireClientsdkClientcore () {
|
|
|
76127
76185
|
this.id = event.x30_1;
|
|
76128
76186
|
this.timestamp = event.y30_1;
|
|
76129
76187
|
this.conversationId = event.z30_1;
|
|
76130
|
-
this.from =
|
|
76188
|
+
this.from = map_0(event.a31_1);
|
|
76131
76189
|
this.body = new MemberEventBodyJS(event.b31_1);
|
|
76132
76190
|
}
|
|
76133
76191
|
protoOf(MemberLeftEventJS).ch = function () {
|
|
@@ -76142,10 +76200,10 @@ function requireClientsdkClientcore () {
|
|
|
76142
76200
|
protoOf(MemberLeftEventJS).t2s = function () {
|
|
76143
76201
|
return this.conversationId;
|
|
76144
76202
|
};
|
|
76145
|
-
protoOf(MemberLeftEventJS).
|
|
76203
|
+
protoOf(MemberLeftEventJS).q3r = function () {
|
|
76146
76204
|
return this.from;
|
|
76147
76205
|
};
|
|
76148
|
-
protoOf(MemberLeftEventJS).
|
|
76206
|
+
protoOf(MemberLeftEventJS).r3r = function () {
|
|
76149
76207
|
return this.body;
|
|
76150
76208
|
};
|
|
76151
76209
|
function JSONBodyEventJS() {
|
|
@@ -76155,7 +76213,7 @@ function requireClientsdkClientcore () {
|
|
|
76155
76213
|
this.id = event.c31_1;
|
|
76156
76214
|
this.timestamp = event.d31_1;
|
|
76157
76215
|
this.conversationId = event.e31_1;
|
|
76158
|
-
this.from =
|
|
76216
|
+
this.from = map_0(event.f31_1);
|
|
76159
76217
|
this.eventType = event.h31_1;
|
|
76160
76218
|
this.body = parseCustomJson(event.g31_1);
|
|
76161
76219
|
}
|
|
@@ -76171,20 +76229,20 @@ function requireClientsdkClientcore () {
|
|
|
76171
76229
|
protoOf(CustomConversationEventJS).t2s = function () {
|
|
76172
76230
|
return this.conversationId;
|
|
76173
76231
|
};
|
|
76174
|
-
protoOf(CustomConversationEventJS).
|
|
76232
|
+
protoOf(CustomConversationEventJS).q3r = function () {
|
|
76175
76233
|
return this.from;
|
|
76176
76234
|
};
|
|
76177
|
-
protoOf(CustomConversationEventJS).
|
|
76235
|
+
protoOf(CustomConversationEventJS).s3r = function () {
|
|
76178
76236
|
return this.eventType;
|
|
76179
76237
|
};
|
|
76180
|
-
protoOf(CustomConversationEventJS).
|
|
76238
|
+
protoOf(CustomConversationEventJS).r3r = function () {
|
|
76181
76239
|
return this.body;
|
|
76182
76240
|
};
|
|
76183
76241
|
function EphemeralConversationEventJS(event) {
|
|
76184
76242
|
this.kind = 'ephemeral';
|
|
76185
76243
|
this.timestamp = event.i31_1;
|
|
76186
76244
|
this.conversationId = event.j31_1;
|
|
76187
|
-
this.from =
|
|
76245
|
+
this.from = map_0(event.k31_1);
|
|
76188
76246
|
this.body = parseCustomJson(event.l31_1);
|
|
76189
76247
|
}
|
|
76190
76248
|
protoOf(EphemeralConversationEventJS).ch = function () {
|
|
@@ -76196,16 +76254,16 @@ function requireClientsdkClientcore () {
|
|
|
76196
76254
|
protoOf(EphemeralConversationEventJS).t2s = function () {
|
|
76197
76255
|
return this.conversationId;
|
|
76198
76256
|
};
|
|
76199
|
-
protoOf(EphemeralConversationEventJS).
|
|
76257
|
+
protoOf(EphemeralConversationEventJS).q3r = function () {
|
|
76200
76258
|
return this.from;
|
|
76201
76259
|
};
|
|
76202
|
-
protoOf(EphemeralConversationEventJS).
|
|
76260
|
+
protoOf(EphemeralConversationEventJS).r3r = function () {
|
|
76203
76261
|
return this.body;
|
|
76204
76262
|
};
|
|
76205
76263
|
function EventStateBodyJS(stateBody) {
|
|
76206
76264
|
this.eventId = stateBody.m31_1;
|
|
76207
76265
|
}
|
|
76208
|
-
protoOf(EventStateBodyJS).
|
|
76266
|
+
protoOf(EventStateBodyJS).t3r = function () {
|
|
76209
76267
|
return this.eventId;
|
|
76210
76268
|
};
|
|
76211
76269
|
function EventDeleteConversationEventJS(event) {
|
|
@@ -76213,7 +76271,7 @@ function requireClientsdkClientcore () {
|
|
|
76213
76271
|
this.id = event.n31_1;
|
|
76214
76272
|
this.timestamp = event.o31_1;
|
|
76215
76273
|
this.conversationId = event.p31_1;
|
|
76216
|
-
this.from =
|
|
76274
|
+
this.from = map_0(event.q31_1);
|
|
76217
76275
|
this.body = new EventStateBodyJS(event.r31_1);
|
|
76218
76276
|
}
|
|
76219
76277
|
protoOf(EventDeleteConversationEventJS).ch = function () {
|
|
@@ -76228,10 +76286,10 @@ function requireClientsdkClientcore () {
|
|
|
76228
76286
|
protoOf(EventDeleteConversationEventJS).t2s = function () {
|
|
76229
76287
|
return this.conversationId;
|
|
76230
76288
|
};
|
|
76231
|
-
protoOf(EventDeleteConversationEventJS).
|
|
76289
|
+
protoOf(EventDeleteConversationEventJS).q3r = function () {
|
|
76232
76290
|
return this.from;
|
|
76233
76291
|
};
|
|
76234
|
-
protoOf(EventDeleteConversationEventJS).
|
|
76292
|
+
protoOf(EventDeleteConversationEventJS).r3r = function () {
|
|
76235
76293
|
return this.body;
|
|
76236
76294
|
};
|
|
76237
76295
|
function MessageDeliveredEventJS(event) {
|
|
@@ -76239,7 +76297,7 @@ function requireClientsdkClientcore () {
|
|
|
76239
76297
|
this.id = event.s31_1;
|
|
76240
76298
|
this.timestamp = event.t31_1;
|
|
76241
76299
|
this.conversationId = event.u31_1;
|
|
76242
|
-
this.from =
|
|
76300
|
+
this.from = map_0(event.v31_1);
|
|
76243
76301
|
this.body = new EventStateBodyJS(event.w31_1);
|
|
76244
76302
|
}
|
|
76245
76303
|
protoOf(MessageDeliveredEventJS).ch = function () {
|
|
@@ -76254,10 +76312,10 @@ function requireClientsdkClientcore () {
|
|
|
76254
76312
|
protoOf(MessageDeliveredEventJS).t2s = function () {
|
|
76255
76313
|
return this.conversationId;
|
|
76256
76314
|
};
|
|
76257
|
-
protoOf(MessageDeliveredEventJS).
|
|
76315
|
+
protoOf(MessageDeliveredEventJS).q3r = function () {
|
|
76258
76316
|
return this.from;
|
|
76259
76317
|
};
|
|
76260
|
-
protoOf(MessageDeliveredEventJS).
|
|
76318
|
+
protoOf(MessageDeliveredEventJS).r3r = function () {
|
|
76261
76319
|
return this.body;
|
|
76262
76320
|
};
|
|
76263
76321
|
function MessageRejectedEventJS(event) {
|
|
@@ -76265,7 +76323,7 @@ function requireClientsdkClientcore () {
|
|
|
76265
76323
|
this.id = event.x31_1;
|
|
76266
76324
|
this.timestamp = event.y31_1;
|
|
76267
76325
|
this.conversationId = event.z31_1;
|
|
76268
|
-
this.from =
|
|
76326
|
+
this.from = map_0(event.a32_1);
|
|
76269
76327
|
this.body = new EventStateBodyJS(event.b32_1);
|
|
76270
76328
|
}
|
|
76271
76329
|
protoOf(MessageRejectedEventJS).ch = function () {
|
|
@@ -76280,10 +76338,10 @@ function requireClientsdkClientcore () {
|
|
|
76280
76338
|
protoOf(MessageRejectedEventJS).t2s = function () {
|
|
76281
76339
|
return this.conversationId;
|
|
76282
76340
|
};
|
|
76283
|
-
protoOf(MessageRejectedEventJS).
|
|
76341
|
+
protoOf(MessageRejectedEventJS).q3r = function () {
|
|
76284
76342
|
return this.from;
|
|
76285
76343
|
};
|
|
76286
|
-
protoOf(MessageRejectedEventJS).
|
|
76344
|
+
protoOf(MessageRejectedEventJS).r3r = function () {
|
|
76287
76345
|
return this.body;
|
|
76288
76346
|
};
|
|
76289
76347
|
function MessageUndeliverableEventJS(event) {
|
|
@@ -76291,7 +76349,7 @@ function requireClientsdkClientcore () {
|
|
|
76291
76349
|
this.id = event.c32_1;
|
|
76292
76350
|
this.timestamp = event.d32_1;
|
|
76293
76351
|
this.conversationId = event.e32_1;
|
|
76294
|
-
this.from =
|
|
76352
|
+
this.from = map_0(event.f32_1);
|
|
76295
76353
|
this.body = new EventStateBodyJS(event.g32_1);
|
|
76296
76354
|
}
|
|
76297
76355
|
protoOf(MessageUndeliverableEventJS).ch = function () {
|
|
@@ -76306,10 +76364,10 @@ function requireClientsdkClientcore () {
|
|
|
76306
76364
|
protoOf(MessageUndeliverableEventJS).t2s = function () {
|
|
76307
76365
|
return this.conversationId;
|
|
76308
76366
|
};
|
|
76309
|
-
protoOf(MessageUndeliverableEventJS).
|
|
76367
|
+
protoOf(MessageUndeliverableEventJS).q3r = function () {
|
|
76310
76368
|
return this.from;
|
|
76311
76369
|
};
|
|
76312
|
-
protoOf(MessageUndeliverableEventJS).
|
|
76370
|
+
protoOf(MessageUndeliverableEventJS).r3r = function () {
|
|
76313
76371
|
return this.body;
|
|
76314
76372
|
};
|
|
76315
76373
|
function MessageSubmittedEventJS(event) {
|
|
@@ -76317,7 +76375,7 @@ function requireClientsdkClientcore () {
|
|
|
76317
76375
|
this.id = event.h32_1;
|
|
76318
76376
|
this.timestamp = event.i32_1;
|
|
76319
76377
|
this.conversationId = event.j32_1;
|
|
76320
|
-
this.from =
|
|
76378
|
+
this.from = map_0(event.k32_1);
|
|
76321
76379
|
this.body = new EventStateBodyJS(event.l32_1);
|
|
76322
76380
|
}
|
|
76323
76381
|
protoOf(MessageSubmittedEventJS).ch = function () {
|
|
@@ -76332,10 +76390,10 @@ function requireClientsdkClientcore () {
|
|
|
76332
76390
|
protoOf(MessageSubmittedEventJS).t2s = function () {
|
|
76333
76391
|
return this.conversationId;
|
|
76334
76392
|
};
|
|
76335
|
-
protoOf(MessageSubmittedEventJS).
|
|
76393
|
+
protoOf(MessageSubmittedEventJS).q3r = function () {
|
|
76336
76394
|
return this.from;
|
|
76337
76395
|
};
|
|
76338
|
-
protoOf(MessageSubmittedEventJS).
|
|
76396
|
+
protoOf(MessageSubmittedEventJS).r3r = function () {
|
|
76339
76397
|
return this.body;
|
|
76340
76398
|
};
|
|
76341
76399
|
function MessageSeenEventJS(event) {
|
|
@@ -76343,7 +76401,7 @@ function requireClientsdkClientcore () {
|
|
|
76343
76401
|
this.id = event.m32_1;
|
|
76344
76402
|
this.timestamp = event.n32_1;
|
|
76345
76403
|
this.conversationId = event.o32_1;
|
|
76346
|
-
this.from =
|
|
76404
|
+
this.from = map_0(event.p32_1);
|
|
76347
76405
|
this.body = new EventStateBodyJS(event.q32_1);
|
|
76348
76406
|
}
|
|
76349
76407
|
protoOf(MessageSeenEventJS).ch = function () {
|
|
@@ -76358,13 +76416,13 @@ function requireClientsdkClientcore () {
|
|
|
76358
76416
|
protoOf(MessageSeenEventJS).t2s = function () {
|
|
76359
76417
|
return this.conversationId;
|
|
76360
76418
|
};
|
|
76361
|
-
protoOf(MessageSeenEventJS).
|
|
76419
|
+
protoOf(MessageSeenEventJS).q3r = function () {
|
|
76362
76420
|
return this.from;
|
|
76363
76421
|
};
|
|
76364
|
-
protoOf(MessageSeenEventJS).
|
|
76422
|
+
protoOf(MessageSeenEventJS).r3r = function () {
|
|
76365
76423
|
return this.body;
|
|
76366
76424
|
};
|
|
76367
|
-
function
|
|
76425
|
+
function map_0(_this__u8e3s4) {
|
|
76368
76426
|
var tmp;
|
|
76369
76427
|
if (_this__u8e3s4 instanceof EmbeddedInfo) {
|
|
76370
76428
|
tmp = new EmbeddedInfoJS(_this__u8e3s4);
|
|
@@ -76377,10 +76435,10 @@ function requireClientsdkClientcore () {
|
|
|
76377
76435
|
}
|
|
76378
76436
|
return tmp;
|
|
76379
76437
|
}
|
|
76380
|
-
function
|
|
76438
|
+
function map_1(_this__u8e3s4) {
|
|
76381
76439
|
var tmp;
|
|
76382
76440
|
if (isInterface(_this__u8e3s4, PersistentConversationEvent)) {
|
|
76383
|
-
tmp =
|
|
76441
|
+
tmp = map_2(_this__u8e3s4);
|
|
76384
76442
|
} else {
|
|
76385
76443
|
if (_this__u8e3s4 instanceof EphemeralConversationEvent) {
|
|
76386
76444
|
tmp = new EphemeralConversationEventJS(_this__u8e3s4);
|
|
@@ -76390,7 +76448,7 @@ function requireClientsdkClientcore () {
|
|
|
76390
76448
|
}
|
|
76391
76449
|
return tmp;
|
|
76392
76450
|
}
|
|
76393
|
-
function
|
|
76451
|
+
function map_2(_this__u8e3s4) {
|
|
76394
76452
|
var tmp;
|
|
76395
76453
|
if (_this__u8e3s4 instanceof MemberInvitedConversationEvent) {
|
|
76396
76454
|
tmp = new MemberInvitedEventJS(_this__u8e3s4);
|
|
@@ -76503,10 +76561,10 @@ function requireClientsdkClientcore () {
|
|
|
76503
76561
|
this.text = body.a34_1;
|
|
76504
76562
|
this.deleted = body.b34_1;
|
|
76505
76563
|
}
|
|
76506
|
-
protoOf(MessageTextEventBody).
|
|
76564
|
+
protoOf(MessageTextEventBody).u3r = function () {
|
|
76507
76565
|
return this.text;
|
|
76508
76566
|
};
|
|
76509
|
-
protoOf(MessageTextEventBody).
|
|
76567
|
+
protoOf(MessageTextEventBody).v3r = function () {
|
|
76510
76568
|
return this.deleted;
|
|
76511
76569
|
};
|
|
76512
76570
|
function MessageTextEventJS(event) {
|
|
@@ -76514,7 +76572,7 @@ function requireClientsdkClientcore () {
|
|
|
76514
76572
|
this.id = event.e34_1;
|
|
76515
76573
|
this.timestamp = event.c34_1;
|
|
76516
76574
|
this.conversationId = event.d34_1;
|
|
76517
|
-
this.from =
|
|
76575
|
+
this.from = map_0(event.f34_1);
|
|
76518
76576
|
this.body = new MessageTextEventBody(event.g34_1);
|
|
76519
76577
|
var tmp = this;
|
|
76520
76578
|
var tmp0_safe_receiver = event.h34_1;
|
|
@@ -76552,23 +76610,23 @@ function requireClientsdkClientcore () {
|
|
|
76552
76610
|
protoOf(MessageTextEventJS).t2s = function () {
|
|
76553
76611
|
return this.conversationId;
|
|
76554
76612
|
};
|
|
76555
|
-
protoOf(MessageTextEventJS).
|
|
76613
|
+
protoOf(MessageTextEventJS).q3r = function () {
|
|
76556
76614
|
return this.from;
|
|
76557
76615
|
};
|
|
76558
|
-
protoOf(MessageTextEventJS).
|
|
76616
|
+
protoOf(MessageTextEventJS).r3r = function () {
|
|
76559
76617
|
return this.body;
|
|
76560
76618
|
};
|
|
76561
|
-
protoOf(MessageTextEventJS).
|
|
76619
|
+
protoOf(MessageTextEventJS).w3r = function () {
|
|
76562
76620
|
return this.memberStatuses;
|
|
76563
76621
|
};
|
|
76564
76622
|
function MessageCustomEventBody(body) {
|
|
76565
76623
|
this.customData = parseCustomJson(body.i34_1);
|
|
76566
76624
|
this.deleted = body.j34_1;
|
|
76567
76625
|
}
|
|
76568
|
-
protoOf(MessageCustomEventBody).
|
|
76626
|
+
protoOf(MessageCustomEventBody).x3r = function () {
|
|
76569
76627
|
return this.customData;
|
|
76570
76628
|
};
|
|
76571
|
-
protoOf(MessageCustomEventBody).
|
|
76629
|
+
protoOf(MessageCustomEventBody).v3r = function () {
|
|
76572
76630
|
return this.deleted;
|
|
76573
76631
|
};
|
|
76574
76632
|
function MessageCustomEventJS(event) {
|
|
@@ -76576,7 +76634,7 @@ function requireClientsdkClientcore () {
|
|
|
76576
76634
|
this.id = event.m34_1;
|
|
76577
76635
|
this.timestamp = event.k34_1;
|
|
76578
76636
|
this.conversationId = event.l34_1;
|
|
76579
|
-
this.from =
|
|
76637
|
+
this.from = map_0(event.n34_1);
|
|
76580
76638
|
this.body = new MessageCustomEventBody(event.o34_1);
|
|
76581
76639
|
var tmp = this;
|
|
76582
76640
|
var tmp0_safe_receiver = event.p34_1;
|
|
@@ -76614,23 +76672,23 @@ function requireClientsdkClientcore () {
|
|
|
76614
76672
|
protoOf(MessageCustomEventJS).t2s = function () {
|
|
76615
76673
|
return this.conversationId;
|
|
76616
76674
|
};
|
|
76617
|
-
protoOf(MessageCustomEventJS).
|
|
76675
|
+
protoOf(MessageCustomEventJS).q3r = function () {
|
|
76618
76676
|
return this.from;
|
|
76619
76677
|
};
|
|
76620
|
-
protoOf(MessageCustomEventJS).
|
|
76678
|
+
protoOf(MessageCustomEventJS).r3r = function () {
|
|
76621
76679
|
return this.body;
|
|
76622
76680
|
};
|
|
76623
|
-
protoOf(MessageCustomEventJS).
|
|
76681
|
+
protoOf(MessageCustomEventJS).w3r = function () {
|
|
76624
76682
|
return this.memberStatuses;
|
|
76625
76683
|
};
|
|
76626
76684
|
function MessageAudioEventBody(body) {
|
|
76627
76685
|
this.audioUrl = body.g35_1;
|
|
76628
76686
|
this.deleted = body.h35_1;
|
|
76629
76687
|
}
|
|
76630
|
-
protoOf(MessageAudioEventBody).
|
|
76688
|
+
protoOf(MessageAudioEventBody).y3r = function () {
|
|
76631
76689
|
return this.audioUrl;
|
|
76632
76690
|
};
|
|
76633
|
-
protoOf(MessageAudioEventBody).
|
|
76691
|
+
protoOf(MessageAudioEventBody).v3r = function () {
|
|
76634
76692
|
return this.deleted;
|
|
76635
76693
|
};
|
|
76636
76694
|
function MessageAudioEventJS(event) {
|
|
@@ -76638,7 +76696,7 @@ function requireClientsdkClientcore () {
|
|
|
76638
76696
|
this.id = event.k35_1;
|
|
76639
76697
|
this.timestamp = event.i35_1;
|
|
76640
76698
|
this.conversationId = event.j35_1;
|
|
76641
|
-
this.from =
|
|
76699
|
+
this.from = map_0(event.l35_1);
|
|
76642
76700
|
this.body = new MessageAudioEventBody(event.m35_1);
|
|
76643
76701
|
var tmp = this;
|
|
76644
76702
|
var tmp0_safe_receiver = event.n35_1;
|
|
@@ -76676,23 +76734,23 @@ function requireClientsdkClientcore () {
|
|
|
76676
76734
|
protoOf(MessageAudioEventJS).t2s = function () {
|
|
76677
76735
|
return this.conversationId;
|
|
76678
76736
|
};
|
|
76679
|
-
protoOf(MessageAudioEventJS).
|
|
76737
|
+
protoOf(MessageAudioEventJS).q3r = function () {
|
|
76680
76738
|
return this.from;
|
|
76681
76739
|
};
|
|
76682
|
-
protoOf(MessageAudioEventJS).
|
|
76740
|
+
protoOf(MessageAudioEventJS).r3r = function () {
|
|
76683
76741
|
return this.body;
|
|
76684
76742
|
};
|
|
76685
|
-
protoOf(MessageAudioEventJS).
|
|
76743
|
+
protoOf(MessageAudioEventJS).w3r = function () {
|
|
76686
76744
|
return this.memberStatuses;
|
|
76687
76745
|
};
|
|
76688
76746
|
function MessageVideoEventBody(body) {
|
|
76689
76747
|
this.videoUrl = body.y34_1;
|
|
76690
76748
|
this.deleted = body.z34_1;
|
|
76691
76749
|
}
|
|
76692
|
-
protoOf(MessageVideoEventBody).
|
|
76750
|
+
protoOf(MessageVideoEventBody).z3r = function () {
|
|
76693
76751
|
return this.videoUrl;
|
|
76694
76752
|
};
|
|
76695
|
-
protoOf(MessageVideoEventBody).
|
|
76753
|
+
protoOf(MessageVideoEventBody).v3r = function () {
|
|
76696
76754
|
return this.deleted;
|
|
76697
76755
|
};
|
|
76698
76756
|
function MessageVideoEventJS(event) {
|
|
@@ -76700,7 +76758,7 @@ function requireClientsdkClientcore () {
|
|
|
76700
76758
|
this.id = event.c35_1;
|
|
76701
76759
|
this.timestamp = event.a35_1;
|
|
76702
76760
|
this.conversationId = event.b35_1;
|
|
76703
|
-
this.from =
|
|
76761
|
+
this.from = map_0(event.d35_1);
|
|
76704
76762
|
this.body = new MessageVideoEventBody(event.e35_1);
|
|
76705
76763
|
var tmp = this;
|
|
76706
76764
|
var tmp0_safe_receiver = event.f35_1;
|
|
@@ -76738,23 +76796,23 @@ function requireClientsdkClientcore () {
|
|
|
76738
76796
|
protoOf(MessageVideoEventJS).t2s = function () {
|
|
76739
76797
|
return this.conversationId;
|
|
76740
76798
|
};
|
|
76741
|
-
protoOf(MessageVideoEventJS).
|
|
76799
|
+
protoOf(MessageVideoEventJS).q3r = function () {
|
|
76742
76800
|
return this.from;
|
|
76743
76801
|
};
|
|
76744
|
-
protoOf(MessageVideoEventJS).
|
|
76802
|
+
protoOf(MessageVideoEventJS).r3r = function () {
|
|
76745
76803
|
return this.body;
|
|
76746
76804
|
};
|
|
76747
|
-
protoOf(MessageVideoEventJS).
|
|
76805
|
+
protoOf(MessageVideoEventJS).w3r = function () {
|
|
76748
76806
|
return this.memberStatuses;
|
|
76749
76807
|
};
|
|
76750
76808
|
function MessageImageEventBody(body) {
|
|
76751
76809
|
this.imageUrl = body.q34_1;
|
|
76752
76810
|
this.deleted = body.r34_1;
|
|
76753
76811
|
}
|
|
76754
|
-
protoOf(MessageImageEventBody).
|
|
76812
|
+
protoOf(MessageImageEventBody).a3s = function () {
|
|
76755
76813
|
return this.imageUrl;
|
|
76756
76814
|
};
|
|
76757
|
-
protoOf(MessageImageEventBody).
|
|
76815
|
+
protoOf(MessageImageEventBody).v3r = function () {
|
|
76758
76816
|
return this.deleted;
|
|
76759
76817
|
};
|
|
76760
76818
|
function MessageImageEventJS(event) {
|
|
@@ -76762,7 +76820,7 @@ function requireClientsdkClientcore () {
|
|
|
76762
76820
|
this.id = event.u34_1;
|
|
76763
76821
|
this.timestamp = event.s34_1;
|
|
76764
76822
|
this.conversationId = event.t34_1;
|
|
76765
|
-
this.from =
|
|
76823
|
+
this.from = map_0(event.v34_1);
|
|
76766
76824
|
this.body = new MessageImageEventBody(event.w34_1);
|
|
76767
76825
|
var tmp = this;
|
|
76768
76826
|
var tmp0_safe_receiver = event.x34_1;
|
|
@@ -76800,23 +76858,23 @@ function requireClientsdkClientcore () {
|
|
|
76800
76858
|
protoOf(MessageImageEventJS).t2s = function () {
|
|
76801
76859
|
return this.conversationId;
|
|
76802
76860
|
};
|
|
76803
|
-
protoOf(MessageImageEventJS).
|
|
76861
|
+
protoOf(MessageImageEventJS).q3r = function () {
|
|
76804
76862
|
return this.from;
|
|
76805
76863
|
};
|
|
76806
|
-
protoOf(MessageImageEventJS).
|
|
76864
|
+
protoOf(MessageImageEventJS).r3r = function () {
|
|
76807
76865
|
return this.body;
|
|
76808
76866
|
};
|
|
76809
|
-
protoOf(MessageImageEventJS).
|
|
76867
|
+
protoOf(MessageImageEventJS).w3r = function () {
|
|
76810
76868
|
return this.memberStatuses;
|
|
76811
76869
|
};
|
|
76812
76870
|
function MessageFileEventBody(body) {
|
|
76813
76871
|
this.fileUrl = body.o35_1;
|
|
76814
76872
|
this.deleted = body.p35_1;
|
|
76815
76873
|
}
|
|
76816
|
-
protoOf(MessageFileEventBody).
|
|
76874
|
+
protoOf(MessageFileEventBody).b3s = function () {
|
|
76817
76875
|
return this.fileUrl;
|
|
76818
76876
|
};
|
|
76819
|
-
protoOf(MessageFileEventBody).
|
|
76877
|
+
protoOf(MessageFileEventBody).v3r = function () {
|
|
76820
76878
|
return this.deleted;
|
|
76821
76879
|
};
|
|
76822
76880
|
function MessageFileEventJS(event) {
|
|
@@ -76824,7 +76882,7 @@ function requireClientsdkClientcore () {
|
|
|
76824
76882
|
this.id = event.s35_1;
|
|
76825
76883
|
this.timestamp = event.q35_1;
|
|
76826
76884
|
this.conversationId = event.r35_1;
|
|
76827
|
-
this.from =
|
|
76885
|
+
this.from = map_0(event.t35_1);
|
|
76828
76886
|
this.body = new MessageFileEventBody(event.u35_1);
|
|
76829
76887
|
var tmp = this;
|
|
76830
76888
|
var tmp0_safe_receiver = event.v35_1;
|
|
@@ -76862,23 +76920,23 @@ function requireClientsdkClientcore () {
|
|
|
76862
76920
|
protoOf(MessageFileEventJS).t2s = function () {
|
|
76863
76921
|
return this.conversationId;
|
|
76864
76922
|
};
|
|
76865
|
-
protoOf(MessageFileEventJS).
|
|
76923
|
+
protoOf(MessageFileEventJS).q3r = function () {
|
|
76866
76924
|
return this.from;
|
|
76867
76925
|
};
|
|
76868
|
-
protoOf(MessageFileEventJS).
|
|
76926
|
+
protoOf(MessageFileEventJS).r3r = function () {
|
|
76869
76927
|
return this.body;
|
|
76870
76928
|
};
|
|
76871
|
-
protoOf(MessageFileEventJS).
|
|
76929
|
+
protoOf(MessageFileEventJS).w3r = function () {
|
|
76872
76930
|
return this.memberStatuses;
|
|
76873
76931
|
};
|
|
76874
76932
|
function MessageVCardEventBody(body) {
|
|
76875
76933
|
this.vcardUrl = body.w35_1;
|
|
76876
76934
|
this.deleted = body.x35_1;
|
|
76877
76935
|
}
|
|
76878
|
-
protoOf(MessageVCardEventBody).
|
|
76936
|
+
protoOf(MessageVCardEventBody).c3s = function () {
|
|
76879
76937
|
return this.vcardUrl;
|
|
76880
76938
|
};
|
|
76881
|
-
protoOf(MessageVCardEventBody).
|
|
76939
|
+
protoOf(MessageVCardEventBody).v3r = function () {
|
|
76882
76940
|
return this.deleted;
|
|
76883
76941
|
};
|
|
76884
76942
|
function MessageVCardEventJS(event) {
|
|
@@ -76886,7 +76944,7 @@ function requireClientsdkClientcore () {
|
|
|
76886
76944
|
this.id = event.a36_1;
|
|
76887
76945
|
this.timestamp = event.y35_1;
|
|
76888
76946
|
this.conversationId = event.z35_1;
|
|
76889
|
-
this.from =
|
|
76947
|
+
this.from = map_0(event.b36_1);
|
|
76890
76948
|
this.body = new MessageVCardEventBody(event.c36_1);
|
|
76891
76949
|
var tmp = this;
|
|
76892
76950
|
var tmp0_safe_receiver = event.d36_1;
|
|
@@ -76924,23 +76982,23 @@ function requireClientsdkClientcore () {
|
|
|
76924
76982
|
protoOf(MessageVCardEventJS).t2s = function () {
|
|
76925
76983
|
return this.conversationId;
|
|
76926
76984
|
};
|
|
76927
|
-
protoOf(MessageVCardEventJS).
|
|
76985
|
+
protoOf(MessageVCardEventJS).q3r = function () {
|
|
76928
76986
|
return this.from;
|
|
76929
76987
|
};
|
|
76930
|
-
protoOf(MessageVCardEventJS).
|
|
76988
|
+
protoOf(MessageVCardEventJS).r3r = function () {
|
|
76931
76989
|
return this.body;
|
|
76932
76990
|
};
|
|
76933
|
-
protoOf(MessageVCardEventJS).
|
|
76991
|
+
protoOf(MessageVCardEventJS).w3r = function () {
|
|
76934
76992
|
return this.memberStatuses;
|
|
76935
76993
|
};
|
|
76936
76994
|
function MessageLocationEventBody(body) {
|
|
76937
76995
|
this.location = new Location_0(body.n36_1);
|
|
76938
76996
|
this.deleted = body.o36_1;
|
|
76939
76997
|
}
|
|
76940
|
-
protoOf(MessageLocationEventBody).
|
|
76998
|
+
protoOf(MessageLocationEventBody).d3s = function () {
|
|
76941
76999
|
return this.location;
|
|
76942
77000
|
};
|
|
76943
|
-
protoOf(MessageLocationEventBody).
|
|
77001
|
+
protoOf(MessageLocationEventBody).v3r = function () {
|
|
76944
77002
|
return this.deleted;
|
|
76945
77003
|
};
|
|
76946
77004
|
function Location_0(location) {
|
|
@@ -76949,16 +77007,16 @@ function requireClientsdkClientcore () {
|
|
|
76949
77007
|
this.name = location.p2l_1;
|
|
76950
77008
|
this.address = location.q2l_1;
|
|
76951
77009
|
}
|
|
76952
|
-
protoOf(Location_0).
|
|
77010
|
+
protoOf(Location_0).e3s = function () {
|
|
76953
77011
|
return this.longitude;
|
|
76954
77012
|
};
|
|
76955
|
-
protoOf(Location_0).
|
|
77013
|
+
protoOf(Location_0).f3s = function () {
|
|
76956
77014
|
return this.latitude;
|
|
76957
77015
|
};
|
|
76958
77016
|
protoOf(Location_0).a9 = function () {
|
|
76959
77017
|
return this.name;
|
|
76960
77018
|
};
|
|
76961
|
-
protoOf(Location_0).
|
|
77019
|
+
protoOf(Location_0).g3s = function () {
|
|
76962
77020
|
return this.address;
|
|
76963
77021
|
};
|
|
76964
77022
|
function MessageLocationEventJS(event) {
|
|
@@ -76966,7 +77024,7 @@ function requireClientsdkClientcore () {
|
|
|
76966
77024
|
this.id = event.r36_1;
|
|
76967
77025
|
this.timestamp = event.p36_1;
|
|
76968
77026
|
this.conversationId = event.q36_1;
|
|
76969
|
-
this.from =
|
|
77027
|
+
this.from = map_0(event.s36_1);
|
|
76970
77028
|
this.body = new MessageLocationEventBody(event.t36_1);
|
|
76971
77029
|
var tmp = this;
|
|
76972
77030
|
var tmp0_safe_receiver = event.u36_1;
|
|
@@ -77004,13 +77062,13 @@ function requireClientsdkClientcore () {
|
|
|
77004
77062
|
protoOf(MessageLocationEventJS).t2s = function () {
|
|
77005
77063
|
return this.conversationId;
|
|
77006
77064
|
};
|
|
77007
|
-
protoOf(MessageLocationEventJS).
|
|
77065
|
+
protoOf(MessageLocationEventJS).q3r = function () {
|
|
77008
77066
|
return this.from;
|
|
77009
77067
|
};
|
|
77010
|
-
protoOf(MessageLocationEventJS).
|
|
77068
|
+
protoOf(MessageLocationEventJS).r3r = function () {
|
|
77011
77069
|
return this.body;
|
|
77012
77070
|
};
|
|
77013
|
-
protoOf(MessageLocationEventJS).
|
|
77071
|
+
protoOf(MessageLocationEventJS).w3r = function () {
|
|
77014
77072
|
return this.memberStatuses;
|
|
77015
77073
|
};
|
|
77016
77074
|
function MessageTemplateEventBody(body) {
|
|
@@ -77019,27 +77077,27 @@ function requireClientsdkClientcore () {
|
|
|
77019
77077
|
this.whatsapp = new WhatsappObject_0(this.body.f36_1);
|
|
77020
77078
|
this.deleted = this.body.g36_1;
|
|
77021
77079
|
}
|
|
77022
|
-
protoOf(MessageTemplateEventBody).
|
|
77080
|
+
protoOf(MessageTemplateEventBody).r3r = function () {
|
|
77023
77081
|
return this.body;
|
|
77024
77082
|
};
|
|
77025
|
-
protoOf(MessageTemplateEventBody).
|
|
77083
|
+
protoOf(MessageTemplateEventBody).h3s = function () {
|
|
77026
77084
|
return this.template;
|
|
77027
77085
|
};
|
|
77028
|
-
protoOf(MessageTemplateEventBody).
|
|
77086
|
+
protoOf(MessageTemplateEventBody).i3s = function () {
|
|
77029
77087
|
return this.whatsapp;
|
|
77030
77088
|
};
|
|
77031
|
-
protoOf(MessageTemplateEventBody).
|
|
77089
|
+
protoOf(MessageTemplateEventBody).v3r = function () {
|
|
77032
77090
|
return this.deleted;
|
|
77033
77091
|
};
|
|
77034
77092
|
protoOf(MessageTemplateEventBody).o5 = function () {
|
|
77035
77093
|
return this.body;
|
|
77036
77094
|
};
|
|
77037
|
-
protoOf(MessageTemplateEventBody).
|
|
77095
|
+
protoOf(MessageTemplateEventBody).j3s = function (body) {
|
|
77038
77096
|
return new MessageTemplateEventBody(body);
|
|
77039
77097
|
};
|
|
77040
77098
|
protoOf(MessageTemplateEventBody).copy = function (body, $super) {
|
|
77041
77099
|
body = body === VOID ? this.body : body;
|
|
77042
|
-
return this.
|
|
77100
|
+
return this.j3s(body);
|
|
77043
77101
|
};
|
|
77044
77102
|
protoOf(MessageTemplateEventBody).toString = function () {
|
|
77045
77103
|
return 'Body(body=' + this.body + ')';
|
|
@@ -77073,17 +77131,17 @@ function requireClientsdkClientcore () {
|
|
|
77073
77131
|
protoOf(TemplateObject_0).a9 = function () {
|
|
77074
77132
|
return this.name;
|
|
77075
77133
|
};
|
|
77076
|
-
protoOf(TemplateObject_0).
|
|
77134
|
+
protoOf(TemplateObject_0).k3s = function () {
|
|
77077
77135
|
return this.parameters;
|
|
77078
77136
|
};
|
|
77079
77137
|
function WhatsappObject_0(whatsapp) {
|
|
77080
77138
|
this.policy = whatsapp.j2l_1;
|
|
77081
77139
|
this.locale = whatsapp.k2l_1;
|
|
77082
77140
|
}
|
|
77083
|
-
protoOf(WhatsappObject_0).
|
|
77141
|
+
protoOf(WhatsappObject_0).l3s = function () {
|
|
77084
77142
|
return this.policy;
|
|
77085
77143
|
};
|
|
77086
|
-
protoOf(WhatsappObject_0).
|
|
77144
|
+
protoOf(WhatsappObject_0).m3s = function () {
|
|
77087
77145
|
return this.locale;
|
|
77088
77146
|
};
|
|
77089
77147
|
function MessageTemplateEventJS(event) {
|
|
@@ -77091,7 +77149,7 @@ function requireClientsdkClientcore () {
|
|
|
77091
77149
|
this.id = event.j36_1;
|
|
77092
77150
|
this.timestamp = event.h36_1;
|
|
77093
77151
|
this.conversationId = event.i36_1;
|
|
77094
|
-
this.from =
|
|
77152
|
+
this.from = map_0(event.k36_1);
|
|
77095
77153
|
var tmp = this;
|
|
77096
77154
|
var tmp0_safe_receiver = event.m36_1;
|
|
77097
77155
|
var tmp_0;
|
|
@@ -77129,13 +77187,13 @@ function requireClientsdkClientcore () {
|
|
|
77129
77187
|
protoOf(MessageTemplateEventJS).t2s = function () {
|
|
77130
77188
|
return this.conversationId;
|
|
77131
77189
|
};
|
|
77132
|
-
protoOf(MessageTemplateEventJS).
|
|
77190
|
+
protoOf(MessageTemplateEventJS).q3r = function () {
|
|
77133
77191
|
return this.from;
|
|
77134
77192
|
};
|
|
77135
|
-
protoOf(MessageTemplateEventJS).
|
|
77193
|
+
protoOf(MessageTemplateEventJS).n3s = function () {
|
|
77136
77194
|
return this.memberStatus;
|
|
77137
77195
|
};
|
|
77138
|
-
protoOf(MessageTemplateEventJS).
|
|
77196
|
+
protoOf(MessageTemplateEventJS).r3r = function () {
|
|
77139
77197
|
return this.body;
|
|
77140
77198
|
};
|
|
77141
77199
|
var PresentingOrderJS_ASC_instance;
|
|
@@ -77167,7 +77225,7 @@ function requireClientsdkClientcore () {
|
|
|
77167
77225
|
Enum.call(this, name, ordinal);
|
|
77168
77226
|
this.corePresentingOrder = corePresentingOrder;
|
|
77169
77227
|
}
|
|
77170
|
-
protoOf(PresentingOrderJS).
|
|
77228
|
+
protoOf(PresentingOrderJS).q3s = function () {
|
|
77171
77229
|
return this.corePresentingOrder;
|
|
77172
77230
|
};
|
|
77173
77231
|
var OrderByJS_CREATED_instance;
|
|
@@ -77199,7 +77257,7 @@ function requireClientsdkClientcore () {
|
|
|
77199
77257
|
Enum.call(this, name, ordinal);
|
|
77200
77258
|
this.coreOrderBy = coreOrderBy;
|
|
77201
77259
|
}
|
|
77202
|
-
protoOf(OrderByJS).
|
|
77260
|
+
protoOf(OrderByJS).t3s = function () {
|
|
77203
77261
|
return this.coreOrderBy;
|
|
77204
77262
|
};
|
|
77205
77263
|
function Properties(properties) {
|
|
@@ -77220,13 +77278,13 @@ function requireClientsdkClientcore () {
|
|
|
77220
77278
|
}
|
|
77221
77279
|
tmp_1.customData = tmp_2;
|
|
77222
77280
|
}
|
|
77223
|
-
protoOf(Properties).
|
|
77281
|
+
protoOf(Properties).u3s = function () {
|
|
77224
77282
|
return this.ttl;
|
|
77225
77283
|
};
|
|
77226
|
-
protoOf(Properties).
|
|
77284
|
+
protoOf(Properties).v3s = function () {
|
|
77227
77285
|
return this.customSortKey;
|
|
77228
77286
|
};
|
|
77229
|
-
protoOf(Properties).
|
|
77287
|
+
protoOf(Properties).x3r = function () {
|
|
77230
77288
|
return this.customData;
|
|
77231
77289
|
};
|
|
77232
77290
|
function ConversationJS(conversation) {
|
|
@@ -77236,12 +77294,12 @@ function requireClientsdkClientcore () {
|
|
|
77236
77294
|
this.memberId = conversation.m2z_1;
|
|
77237
77295
|
var tmp = this;
|
|
77238
77296
|
var tmp0_safe_receiver = conversation.n2z_1;
|
|
77239
|
-
tmp.memberState = tmp0_safe_receiver == null ? null :
|
|
77297
|
+
tmp.memberState = tmp0_safe_receiver == null ? null : map_4(tmp0_safe_receiver);
|
|
77240
77298
|
this.displayName = conversation.o2z_1;
|
|
77241
77299
|
this.imageUrl = conversation.p2z_1;
|
|
77242
77300
|
var tmp_0 = this;
|
|
77243
77301
|
var tmp0_safe_receiver_0 = conversation.q2z_1;
|
|
77244
|
-
tmp_0.state = tmp0_safe_receiver_0 == null ? null :
|
|
77302
|
+
tmp_0.state = tmp0_safe_receiver_0 == null ? null : map_3(tmp0_safe_receiver_0);
|
|
77245
77303
|
this.properties = new Properties(conversation.r2z_1);
|
|
77246
77304
|
}
|
|
77247
77305
|
protoOf(ConversationJS).y26 = function () {
|
|
@@ -77253,16 +77311,16 @@ function requireClientsdkClientcore () {
|
|
|
77253
77311
|
protoOf(ConversationJS).n2k = function () {
|
|
77254
77312
|
return this.timestamp;
|
|
77255
77313
|
};
|
|
77256
|
-
protoOf(ConversationJS).
|
|
77314
|
+
protoOf(ConversationJS).p3r = function () {
|
|
77257
77315
|
return this.memberId;
|
|
77258
77316
|
};
|
|
77259
|
-
protoOf(ConversationJS).
|
|
77317
|
+
protoOf(ConversationJS).w3s = function () {
|
|
77260
77318
|
return this.memberState;
|
|
77261
77319
|
};
|
|
77262
|
-
protoOf(ConversationJS).
|
|
77320
|
+
protoOf(ConversationJS).x3s = function () {
|
|
77263
77321
|
return this.displayName;
|
|
77264
77322
|
};
|
|
77265
|
-
protoOf(ConversationJS).
|
|
77323
|
+
protoOf(ConversationJS).a3s = function () {
|
|
77266
77324
|
return this.imageUrl;
|
|
77267
77325
|
};
|
|
77268
77326
|
protoOf(ConversationJS).l3m = function () {
|
|
@@ -77276,13 +77334,13 @@ function requireClientsdkClientcore () {
|
|
|
77276
77334
|
this.INACTIVE = 'INACTIVE';
|
|
77277
77335
|
this.DELETED = 'DELETED';
|
|
77278
77336
|
}
|
|
77279
|
-
protoOf(ConversationStateJS).
|
|
77337
|
+
protoOf(ConversationStateJS).y3s = function () {
|
|
77280
77338
|
return this.ACTIVE;
|
|
77281
77339
|
};
|
|
77282
|
-
protoOf(ConversationStateJS).
|
|
77340
|
+
protoOf(ConversationStateJS).z3s = function () {
|
|
77283
77341
|
return this.INACTIVE;
|
|
77284
77342
|
};
|
|
77285
|
-
protoOf(ConversationStateJS).
|
|
77343
|
+
protoOf(ConversationStateJS).a3t = function () {
|
|
77286
77344
|
return this.DELETED;
|
|
77287
77345
|
};
|
|
77288
77346
|
protoOf(ConversationStateJS).toString = function () {
|
|
@@ -77308,13 +77366,13 @@ function requireClientsdkClientcore () {
|
|
|
77308
77366
|
this.updated = conversationTimestamp.v2z_1;
|
|
77309
77367
|
this.destroyed = conversationTimestamp.w2z_1;
|
|
77310
77368
|
}
|
|
77311
|
-
protoOf(ConversationTimestampJS).
|
|
77369
|
+
protoOf(ConversationTimestampJS).b3t = function () {
|
|
77312
77370
|
return this.created;
|
|
77313
77371
|
};
|
|
77314
|
-
protoOf(ConversationTimestampJS).
|
|
77372
|
+
protoOf(ConversationTimestampJS).c3t = function () {
|
|
77315
77373
|
return this.updated;
|
|
77316
77374
|
};
|
|
77317
|
-
protoOf(ConversationTimestampJS).
|
|
77375
|
+
protoOf(ConversationTimestampJS).d3t = function () {
|
|
77318
77376
|
return this.destroyed;
|
|
77319
77377
|
};
|
|
77320
77378
|
function ConversationsPageJS(conversationsPage) {
|
|
@@ -77335,18 +77393,18 @@ function requireClientsdkClientcore () {
|
|
|
77335
77393
|
this.previousCursor = conversationsPage.y2z_1;
|
|
77336
77394
|
this.nextCursor = conversationsPage.z2z_1;
|
|
77337
77395
|
}
|
|
77338
|
-
protoOf(ConversationsPageJS).
|
|
77396
|
+
protoOf(ConversationsPageJS).e3t = function () {
|
|
77339
77397
|
return this.conversations;
|
|
77340
77398
|
};
|
|
77341
|
-
protoOf(ConversationsPageJS).
|
|
77399
|
+
protoOf(ConversationsPageJS).n3r = function () {
|
|
77342
77400
|
return this.previousCursor;
|
|
77343
77401
|
};
|
|
77344
|
-
protoOf(ConversationsPageJS).
|
|
77402
|
+
protoOf(ConversationsPageJS).o3r = function () {
|
|
77345
77403
|
return this.nextCursor;
|
|
77346
77404
|
};
|
|
77347
77405
|
function MemberJS(member) {
|
|
77348
77406
|
this.id = member.n33_1;
|
|
77349
|
-
this.state =
|
|
77407
|
+
this.state = map_4(member.o33_1);
|
|
77350
77408
|
var tmp = this;
|
|
77351
77409
|
var tmp0_safe_receiver = member.p33_1;
|
|
77352
77410
|
var tmp_0;
|
|
@@ -77393,7 +77451,7 @@ function requireClientsdkClientcore () {
|
|
|
77393
77451
|
protoOf(MemberJS).q2m = function () {
|
|
77394
77452
|
return this.user;
|
|
77395
77453
|
};
|
|
77396
|
-
protoOf(MemberJS).
|
|
77454
|
+
protoOf(MemberJS).f3t = function () {
|
|
77397
77455
|
return this.channel;
|
|
77398
77456
|
};
|
|
77399
77457
|
protoOf(MemberJS).n2k = function () {
|
|
@@ -77405,16 +77463,16 @@ function requireClientsdkClientcore () {
|
|
|
77405
77463
|
this.LEFT = 'LEFT';
|
|
77406
77464
|
this.UNKNOWN = 'UNKNOWN';
|
|
77407
77465
|
}
|
|
77408
|
-
protoOf(MemberStateJSObj).
|
|
77466
|
+
protoOf(MemberStateJSObj).g3t = function () {
|
|
77409
77467
|
return this.INVITED;
|
|
77410
77468
|
};
|
|
77411
|
-
protoOf(MemberStateJSObj).
|
|
77469
|
+
protoOf(MemberStateJSObj).h3t = function () {
|
|
77412
77470
|
return this.JOINED;
|
|
77413
77471
|
};
|
|
77414
|
-
protoOf(MemberStateJSObj).
|
|
77472
|
+
protoOf(MemberStateJSObj).i3t = function () {
|
|
77415
77473
|
return this.LEFT;
|
|
77416
77474
|
};
|
|
77417
|
-
protoOf(MemberStateJSObj).
|
|
77475
|
+
protoOf(MemberStateJSObj).j3t = function () {
|
|
77418
77476
|
return this.UNKNOWN;
|
|
77419
77477
|
};
|
|
77420
77478
|
protoOf(MemberStateJSObj).toString = function () {
|
|
@@ -77440,13 +77498,13 @@ function requireClientsdkClientcore () {
|
|
|
77440
77498
|
this.joined = memberTimestamp.v33_1;
|
|
77441
77499
|
this.left = memberTimestamp.w33_1;
|
|
77442
77500
|
}
|
|
77443
|
-
protoOf(MemberTimestampJS).
|
|
77501
|
+
protoOf(MemberTimestampJS).k3t = function () {
|
|
77444
77502
|
return this.invited;
|
|
77445
77503
|
};
|
|
77446
|
-
protoOf(MemberTimestampJS).
|
|
77504
|
+
protoOf(MemberTimestampJS).l3t = function () {
|
|
77447
77505
|
return this.joined;
|
|
77448
77506
|
};
|
|
77449
|
-
protoOf(MemberTimestampJS).
|
|
77507
|
+
protoOf(MemberTimestampJS).m3t = function () {
|
|
77450
77508
|
return this.left;
|
|
77451
77509
|
};
|
|
77452
77510
|
function MembersPageJS(membersPage) {
|
|
@@ -77467,13 +77525,13 @@ function requireClientsdkClientcore () {
|
|
|
77467
77525
|
this.previousCursor = membersPage.y33_1;
|
|
77468
77526
|
this.nextCursor = membersPage.z33_1;
|
|
77469
77527
|
}
|
|
77470
|
-
protoOf(MembersPageJS).
|
|
77528
|
+
protoOf(MembersPageJS).n3t = function () {
|
|
77471
77529
|
return this.members;
|
|
77472
77530
|
};
|
|
77473
|
-
protoOf(MembersPageJS).
|
|
77531
|
+
protoOf(MembersPageJS).n3r = function () {
|
|
77474
77532
|
return this.previousCursor;
|
|
77475
77533
|
};
|
|
77476
|
-
protoOf(MembersPageJS).
|
|
77534
|
+
protoOf(MembersPageJS).o3r = function () {
|
|
77477
77535
|
return this.nextCursor;
|
|
77478
77536
|
};
|
|
77479
77537
|
function UserJS(user) {
|
|
@@ -77524,19 +77582,19 @@ function requireClientsdkClientcore () {
|
|
|
77524
77582
|
protoOf(UserJS).a9 = function () {
|
|
77525
77583
|
return this.name;
|
|
77526
77584
|
};
|
|
77527
|
-
protoOf(UserJS).
|
|
77585
|
+
protoOf(UserJS).x3s = function () {
|
|
77528
77586
|
return this.displayName;
|
|
77529
77587
|
};
|
|
77530
|
-
protoOf(UserJS).
|
|
77588
|
+
protoOf(UserJS).o3t = function () {
|
|
77531
77589
|
return this.channels;
|
|
77532
77590
|
};
|
|
77533
77591
|
protoOf(UserJS).n2k = function () {
|
|
77534
77592
|
return this.timestamp;
|
|
77535
77593
|
};
|
|
77536
|
-
protoOf(UserJS).
|
|
77594
|
+
protoOf(UserJS).a3s = function () {
|
|
77537
77595
|
return this.imageUrl;
|
|
77538
77596
|
};
|
|
77539
|
-
protoOf(UserJS).
|
|
77597
|
+
protoOf(UserJS).x3r = function () {
|
|
77540
77598
|
return this.customData;
|
|
77541
77599
|
};
|
|
77542
77600
|
function UserTimestampJS(userTimestamp) {
|
|
@@ -77544,13 +77602,13 @@ function requireClientsdkClientcore () {
|
|
|
77544
77602
|
this.updated = userTimestamp.k37_1;
|
|
77545
77603
|
this.destroyed = userTimestamp.l37_1;
|
|
77546
77604
|
}
|
|
77547
|
-
protoOf(UserTimestampJS).
|
|
77605
|
+
protoOf(UserTimestampJS).b3t = function () {
|
|
77548
77606
|
return this.created;
|
|
77549
77607
|
};
|
|
77550
|
-
protoOf(UserTimestampJS).
|
|
77608
|
+
protoOf(UserTimestampJS).c3t = function () {
|
|
77551
77609
|
return this.updated;
|
|
77552
77610
|
};
|
|
77553
|
-
protoOf(UserTimestampJS).
|
|
77611
|
+
protoOf(UserTimestampJS).d3t = function () {
|
|
77554
77612
|
return this.destroyed;
|
|
77555
77613
|
};
|
|
77556
77614
|
function UserChannelsJS(userChannels) {
|
|
@@ -77852,22 +77910,22 @@ function requireClientsdkClientcore () {
|
|
|
77852
77910
|
}
|
|
77853
77911
|
tmp_29.messenger = tmp_31;
|
|
77854
77912
|
}
|
|
77855
|
-
protoOf(UserChannelsJS).
|
|
77913
|
+
protoOf(UserChannelsJS).q3q = function () {
|
|
77856
77914
|
return this.app;
|
|
77857
77915
|
};
|
|
77858
|
-
protoOf(UserChannelsJS).
|
|
77916
|
+
protoOf(UserChannelsJS).r3q = function () {
|
|
77859
77917
|
return this.phone;
|
|
77860
77918
|
};
|
|
77861
|
-
protoOf(UserChannelsJS).
|
|
77919
|
+
protoOf(UserChannelsJS).p3t = function () {
|
|
77862
77920
|
return this.pstn;
|
|
77863
77921
|
};
|
|
77864
|
-
protoOf(UserChannelsJS).
|
|
77922
|
+
protoOf(UserChannelsJS).s3q = function () {
|
|
77865
77923
|
return this.sip;
|
|
77866
77924
|
};
|
|
77867
|
-
protoOf(UserChannelsJS).
|
|
77925
|
+
protoOf(UserChannelsJS).q3t = function () {
|
|
77868
77926
|
return this.vbc;
|
|
77869
77927
|
};
|
|
77870
|
-
protoOf(UserChannelsJS).
|
|
77928
|
+
protoOf(UserChannelsJS).t3q = function () {
|
|
77871
77929
|
return this.websocket;
|
|
77872
77930
|
};
|
|
77873
77931
|
protoOf(UserChannelsJS).r3t = function () {
|
|
@@ -77876,7 +77934,7 @@ function requireClientsdkClientcore () {
|
|
|
77876
77934
|
protoOf(UserChannelsJS).s3t = function () {
|
|
77877
77935
|
return this.mms;
|
|
77878
77936
|
};
|
|
77879
|
-
protoOf(UserChannelsJS).
|
|
77937
|
+
protoOf(UserChannelsJS).i3s = function () {
|
|
77880
77938
|
return this.whatsapp;
|
|
77881
77939
|
};
|
|
77882
77940
|
protoOf(UserChannelsJS).t3t = function () {
|
|
@@ -77886,7 +77944,7 @@ function requireClientsdkClientcore () {
|
|
|
77886
77944
|
return this.messenger;
|
|
77887
77945
|
};
|
|
77888
77946
|
function MemberChannelJS(memberChannel) {
|
|
77889
|
-
this.type =
|
|
77947
|
+
this.type = map_5(memberChannel.o2y_1);
|
|
77890
77948
|
var tmp = this;
|
|
77891
77949
|
var tmp0_safe_receiver = memberChannel.p2y_1;
|
|
77892
77950
|
var tmp_0;
|
|
@@ -77915,7 +77973,7 @@ function requireClientsdkClientcore () {
|
|
|
77915
77973
|
protoOf(MemberChannelJS).m3a = function () {
|
|
77916
77974
|
return this.type;
|
|
77917
77975
|
};
|
|
77918
|
-
protoOf(MemberChannelJS).
|
|
77976
|
+
protoOf(MemberChannelJS).q3r = function () {
|
|
77919
77977
|
return this.from;
|
|
77920
77978
|
};
|
|
77921
77979
|
protoOf(MemberChannelJS).v3t = function () {
|
|
@@ -78021,7 +78079,7 @@ function requireClientsdkClientcore () {
|
|
|
78021
78079
|
protoOf(LegJS).g3u = function () {
|
|
78022
78080
|
return this.endTime;
|
|
78023
78081
|
};
|
|
78024
|
-
protoOf(LegJS).
|
|
78082
|
+
protoOf(LegJS).q3r = function () {
|
|
78025
78083
|
return this.from;
|
|
78026
78084
|
};
|
|
78027
78085
|
protoOf(LegJS).v3t = function () {
|
|
@@ -78051,77 +78109,77 @@ function requireClientsdkClientcore () {
|
|
|
78051
78109
|
protoOf(LegsPageJS).i3u = function () {
|
|
78052
78110
|
return this.legs;
|
|
78053
78111
|
};
|
|
78054
|
-
protoOf(LegsPageJS).
|
|
78112
|
+
protoOf(LegsPageJS).n3r = function () {
|
|
78055
78113
|
return this.previousCursor;
|
|
78056
78114
|
};
|
|
78057
|
-
protoOf(LegsPageJS).
|
|
78115
|
+
protoOf(LegsPageJS).o3r = function () {
|
|
78058
78116
|
return this.nextCursor;
|
|
78059
78117
|
};
|
|
78060
|
-
|
|
78061
|
-
|
|
78062
|
-
|
|
78063
|
-
|
|
78064
|
-
|
|
78065
|
-
|
|
78066
|
-
|
|
78067
|
-
|
|
78068
|
-
|
|
78069
|
-
|
|
78070
|
-
|
|
78071
|
-
|
|
78072
|
-
return [ChannelTypeJS_APP_getInstance(), ChannelTypeJS_PHONE_getInstance(), ChannelTypeJS_PSTN_getInstance(), ChannelTypeJS_SIP_getInstance(), ChannelTypeJS_VBC_getInstance(), ChannelTypeJS_WEBSOCKET_getInstance(), ChannelTypeJS_SMS_getInstance(), ChannelTypeJS_MMS_getInstance(), ChannelTypeJS_WHATSAPP_getInstance(), ChannelTypeJS_VIBER_getInstance(), ChannelTypeJS_MESSENGER_getInstance()];
|
|
78118
|
+
function ChannelTypeObj() {
|
|
78119
|
+
this.APP = 'APP';
|
|
78120
|
+
this.PHONE = 'PHONE';
|
|
78121
|
+
this.PSTN = 'PSTN';
|
|
78122
|
+
this.SIP = 'SIP';
|
|
78123
|
+
this.VBC = 'VBC';
|
|
78124
|
+
this.WEBSOCKET = 'WEBSOCKET';
|
|
78125
|
+
this.SMS = 'SMS';
|
|
78126
|
+
this.MMS = 'MMS';
|
|
78127
|
+
this.WHATSAPP = 'WHATSAPP';
|
|
78128
|
+
this.VIBER = 'VIBER';
|
|
78129
|
+
this.MESSENGER = 'MESSENGER';
|
|
78073
78130
|
}
|
|
78074
|
-
function
|
|
78075
|
-
|
|
78076
|
-
|
|
78077
|
-
|
|
78078
|
-
|
|
78079
|
-
|
|
78080
|
-
|
|
78081
|
-
|
|
78082
|
-
|
|
78083
|
-
|
|
78084
|
-
|
|
78085
|
-
|
|
78086
|
-
|
|
78087
|
-
|
|
78088
|
-
|
|
78089
|
-
|
|
78090
|
-
|
|
78091
|
-
|
|
78092
|
-
|
|
78093
|
-
|
|
78094
|
-
|
|
78095
|
-
|
|
78096
|
-
|
|
78097
|
-
|
|
78098
|
-
|
|
78099
|
-
|
|
78100
|
-
|
|
78101
|
-
|
|
78102
|
-
|
|
78103
|
-
}
|
|
78104
|
-
|
|
78105
|
-
|
|
78106
|
-
|
|
78107
|
-
|
|
78108
|
-
|
|
78109
|
-
|
|
78110
|
-
|
|
78111
|
-
|
|
78112
|
-
|
|
78113
|
-
|
|
78114
|
-
|
|
78115
|
-
|
|
78116
|
-
|
|
78117
|
-
|
|
78118
|
-
|
|
78119
|
-
|
|
78120
|
-
}
|
|
78121
|
-
|
|
78122
|
-
|
|
78131
|
+
protoOf(ChannelTypeObj).j3u = function () {
|
|
78132
|
+
return this.APP;
|
|
78133
|
+
};
|
|
78134
|
+
protoOf(ChannelTypeObj).k3u = function () {
|
|
78135
|
+
return this.PHONE;
|
|
78136
|
+
};
|
|
78137
|
+
protoOf(ChannelTypeObj).l3u = function () {
|
|
78138
|
+
return this.PSTN;
|
|
78139
|
+
};
|
|
78140
|
+
protoOf(ChannelTypeObj).m3u = function () {
|
|
78141
|
+
return this.SIP;
|
|
78142
|
+
};
|
|
78143
|
+
protoOf(ChannelTypeObj).n3u = function () {
|
|
78144
|
+
return this.VBC;
|
|
78145
|
+
};
|
|
78146
|
+
protoOf(ChannelTypeObj).o3u = function () {
|
|
78147
|
+
return this.WEBSOCKET;
|
|
78148
|
+
};
|
|
78149
|
+
protoOf(ChannelTypeObj).p3u = function () {
|
|
78150
|
+
return this.SMS;
|
|
78151
|
+
};
|
|
78152
|
+
protoOf(ChannelTypeObj).q3u = function () {
|
|
78153
|
+
return this.MMS;
|
|
78154
|
+
};
|
|
78155
|
+
protoOf(ChannelTypeObj).r3u = function () {
|
|
78156
|
+
return this.WHATSAPP;
|
|
78157
|
+
};
|
|
78158
|
+
protoOf(ChannelTypeObj).s3u = function () {
|
|
78159
|
+
return this.VIBER;
|
|
78160
|
+
};
|
|
78161
|
+
protoOf(ChannelTypeObj).t3u = function () {
|
|
78162
|
+
return this.MESSENGER;
|
|
78163
|
+
};
|
|
78164
|
+
protoOf(ChannelTypeObj).toString = function () {
|
|
78165
|
+
return 'ChannelTypeObj';
|
|
78166
|
+
};
|
|
78167
|
+
protoOf(ChannelTypeObj).hashCode = function () {
|
|
78168
|
+
return 289615710;
|
|
78169
|
+
};
|
|
78170
|
+
protoOf(ChannelTypeObj).equals = function (other) {
|
|
78171
|
+
if (this === other)
|
|
78172
|
+
return true;
|
|
78173
|
+
if (!(other instanceof ChannelTypeObj))
|
|
78174
|
+
return false;
|
|
78175
|
+
other instanceof ChannelTypeObj || THROW_CCE();
|
|
78176
|
+
return true;
|
|
78177
|
+
};
|
|
78178
|
+
var ChannelTypeObj_instance;
|
|
78179
|
+
function ChannelTypeObj_getInstance() {
|
|
78180
|
+
return ChannelTypeObj_instance;
|
|
78123
78181
|
}
|
|
78124
|
-
function
|
|
78182
|
+
function map_3(_this__u8e3s4) {
|
|
78125
78183
|
var tmp;
|
|
78126
78184
|
switch (_this__u8e3s4.z7_1) {
|
|
78127
78185
|
case 0:
|
|
@@ -78139,7 +78197,7 @@ function requireClientsdkClientcore () {
|
|
|
78139
78197
|
}
|
|
78140
78198
|
return tmp;
|
|
78141
78199
|
}
|
|
78142
|
-
function
|
|
78200
|
+
function map_4(_this__u8e3s4) {
|
|
78143
78201
|
var tmp;
|
|
78144
78202
|
switch (_this__u8e3s4.z7_1) {
|
|
78145
78203
|
case 0:
|
|
@@ -78160,6 +78218,48 @@ function requireClientsdkClientcore () {
|
|
|
78160
78218
|
}
|
|
78161
78219
|
return tmp;
|
|
78162
78220
|
}
|
|
78221
|
+
function map_5(_this__u8e3s4) {
|
|
78222
|
+
var tmp;
|
|
78223
|
+
switch (_this__u8e3s4.z7_1) {
|
|
78224
|
+
case 0:
|
|
78225
|
+
tmp = ChannelTypeObj_instance.APP;
|
|
78226
|
+
break;
|
|
78227
|
+
case 1:
|
|
78228
|
+
tmp = ChannelTypeObj_instance.PHONE;
|
|
78229
|
+
break;
|
|
78230
|
+
case 2:
|
|
78231
|
+
tmp = ChannelTypeObj_instance.PSTN;
|
|
78232
|
+
break;
|
|
78233
|
+
case 3:
|
|
78234
|
+
tmp = ChannelTypeObj_instance.SIP;
|
|
78235
|
+
break;
|
|
78236
|
+
case 4:
|
|
78237
|
+
tmp = ChannelTypeObj_instance.VBC;
|
|
78238
|
+
break;
|
|
78239
|
+
case 5:
|
|
78240
|
+
tmp = ChannelTypeObj_instance.WEBSOCKET;
|
|
78241
|
+
break;
|
|
78242
|
+
case 6:
|
|
78243
|
+
tmp = ChannelTypeObj_instance.SMS;
|
|
78244
|
+
break;
|
|
78245
|
+
case 7:
|
|
78246
|
+
tmp = ChannelTypeObj_instance.MMS;
|
|
78247
|
+
break;
|
|
78248
|
+
case 8:
|
|
78249
|
+
tmp = ChannelTypeObj_instance.WHATSAPP;
|
|
78250
|
+
break;
|
|
78251
|
+
case 9:
|
|
78252
|
+
tmp = ChannelTypeObj_instance.VIBER;
|
|
78253
|
+
break;
|
|
78254
|
+
case 10:
|
|
78255
|
+
tmp = ChannelTypeObj_instance.MESSENGER;
|
|
78256
|
+
break;
|
|
78257
|
+
default:
|
|
78258
|
+
noWhenBranchMatchedException();
|
|
78259
|
+
break;
|
|
78260
|
+
}
|
|
78261
|
+
return tmp;
|
|
78262
|
+
}
|
|
78163
78263
|
function PresentingOrderJS_ASC_getInstance() {
|
|
78164
78264
|
PresentingOrderJS_initEntries();
|
|
78165
78265
|
return PresentingOrderJS_ASC_instance;
|
|
@@ -78176,50 +78276,6 @@ function requireClientsdkClientcore () {
|
|
|
78176
78276
|
OrderByJS_initEntries();
|
|
78177
78277
|
return OrderByJS_CUSTOM_SORT_KEY_instance;
|
|
78178
78278
|
}
|
|
78179
|
-
function ChannelTypeJS_APP_getInstance() {
|
|
78180
|
-
ChannelTypeJS_initEntries();
|
|
78181
|
-
return ChannelTypeJS_APP_instance;
|
|
78182
|
-
}
|
|
78183
|
-
function ChannelTypeJS_PHONE_getInstance() {
|
|
78184
|
-
ChannelTypeJS_initEntries();
|
|
78185
|
-
return ChannelTypeJS_PHONE_instance;
|
|
78186
|
-
}
|
|
78187
|
-
function ChannelTypeJS_PSTN_getInstance() {
|
|
78188
|
-
ChannelTypeJS_initEntries();
|
|
78189
|
-
return ChannelTypeJS_PSTN_instance;
|
|
78190
|
-
}
|
|
78191
|
-
function ChannelTypeJS_SIP_getInstance() {
|
|
78192
|
-
ChannelTypeJS_initEntries();
|
|
78193
|
-
return ChannelTypeJS_SIP_instance;
|
|
78194
|
-
}
|
|
78195
|
-
function ChannelTypeJS_VBC_getInstance() {
|
|
78196
|
-
ChannelTypeJS_initEntries();
|
|
78197
|
-
return ChannelTypeJS_VBC_instance;
|
|
78198
|
-
}
|
|
78199
|
-
function ChannelTypeJS_WEBSOCKET_getInstance() {
|
|
78200
|
-
ChannelTypeJS_initEntries();
|
|
78201
|
-
return ChannelTypeJS_WEBSOCKET_instance;
|
|
78202
|
-
}
|
|
78203
|
-
function ChannelTypeJS_SMS_getInstance() {
|
|
78204
|
-
ChannelTypeJS_initEntries();
|
|
78205
|
-
return ChannelTypeJS_SMS_instance;
|
|
78206
|
-
}
|
|
78207
|
-
function ChannelTypeJS_MMS_getInstance() {
|
|
78208
|
-
ChannelTypeJS_initEntries();
|
|
78209
|
-
return ChannelTypeJS_MMS_instance;
|
|
78210
|
-
}
|
|
78211
|
-
function ChannelTypeJS_WHATSAPP_getInstance() {
|
|
78212
|
-
ChannelTypeJS_initEntries();
|
|
78213
|
-
return ChannelTypeJS_WHATSAPP_instance;
|
|
78214
|
-
}
|
|
78215
|
-
function ChannelTypeJS_VIBER_getInstance() {
|
|
78216
|
-
ChannelTypeJS_initEntries();
|
|
78217
|
-
return ChannelTypeJS_VIBER_instance;
|
|
78218
|
-
}
|
|
78219
|
-
function ChannelTypeJS_MESSENGER_getInstance() {
|
|
78220
|
-
ChannelTypeJS_initEntries();
|
|
78221
|
-
return ChannelTypeJS_MESSENGER_instance;
|
|
78222
|
-
}
|
|
78223
78279
|
function CSErrorCodesJS() {
|
|
78224
78280
|
this.CONVERSATION_DUPLICATE_NAME = 'conversation:error:duplicate-name';
|
|
78225
78281
|
this.MEMBER_ALREADY_JOINED = 'conversation:error:member-already-joined';
|
|
@@ -78232,34 +78288,34 @@ function requireClientsdkClientcore () {
|
|
|
78232
78288
|
this.CONVERSATION_MAX_NUMBER_OF_MEMBERS = 'conversation:error:maximum-number-of-members';
|
|
78233
78289
|
this.CUSTOM_DATA_OVERALL_LIMIT_EXCEEDED = 'custom-data:error:max-data-sum-limit-exceeded';
|
|
78234
78290
|
}
|
|
78235
|
-
protoOf(CSErrorCodesJS).
|
|
78291
|
+
protoOf(CSErrorCodesJS).u3u = function () {
|
|
78236
78292
|
return this.CONVERSATION_DUPLICATE_NAME;
|
|
78237
78293
|
};
|
|
78238
|
-
protoOf(CSErrorCodesJS).
|
|
78294
|
+
protoOf(CSErrorCodesJS).v3u = function () {
|
|
78239
78295
|
return this.MEMBER_ALREADY_JOINED;
|
|
78240
78296
|
};
|
|
78241
|
-
protoOf(CSErrorCodesJS).
|
|
78297
|
+
protoOf(CSErrorCodesJS).w3u = function () {
|
|
78242
78298
|
return this.MEMBER_ALREADY_INVITED;
|
|
78243
78299
|
};
|
|
78244
|
-
protoOf(CSErrorCodesJS).
|
|
78300
|
+
protoOf(CSErrorCodesJS).x3u = function () {
|
|
78245
78301
|
return this.CONVERSATION_NOT_FOUND;
|
|
78246
78302
|
};
|
|
78247
|
-
protoOf(CSErrorCodesJS).
|
|
78303
|
+
protoOf(CSErrorCodesJS).y3u = function () {
|
|
78248
78304
|
return this.MEMBER_NOT_FOUND;
|
|
78249
78305
|
};
|
|
78250
|
-
protoOf(CSErrorCodesJS).
|
|
78306
|
+
protoOf(CSErrorCodesJS).z3u = function () {
|
|
78251
78307
|
return this.USER_NOT_FOUND;
|
|
78252
78308
|
};
|
|
78253
|
-
protoOf(CSErrorCodesJS).
|
|
78309
|
+
protoOf(CSErrorCodesJS).a3v = function () {
|
|
78254
78310
|
return this.INVALID_CURSOR;
|
|
78255
78311
|
};
|
|
78256
|
-
protoOf(CSErrorCodesJS).
|
|
78312
|
+
protoOf(CSErrorCodesJS).b3v = function () {
|
|
78257
78313
|
return this.VALIDATION_FAIL;
|
|
78258
78314
|
};
|
|
78259
|
-
protoOf(CSErrorCodesJS).
|
|
78315
|
+
protoOf(CSErrorCodesJS).c3v = function () {
|
|
78260
78316
|
return this.CONVERSATION_MAX_NUMBER_OF_MEMBERS;
|
|
78261
78317
|
};
|
|
78262
|
-
protoOf(CSErrorCodesJS).
|
|
78318
|
+
protoOf(CSErrorCodesJS).d3v = function () {
|
|
78263
78319
|
return this.CUSTOM_DATA_OVERALL_LIMIT_EXCEEDED;
|
|
78264
78320
|
};
|
|
78265
78321
|
var CSErrorCodesJS_instance;
|
|
@@ -78284,52 +78340,52 @@ function requireClientsdkClientcore () {
|
|
|
78284
78340
|
this.PING_TIMEOUT_DISCONNECT = 'session:disconnect:ping-timeout';
|
|
78285
78341
|
this.TRANSPORT_CLOSED_DISCONNECT = 'session:disconnect:websocket-transport-closed';
|
|
78286
78342
|
}
|
|
78287
|
-
protoOf(SessionErrorCodesJS).
|
|
78343
|
+
protoOf(SessionErrorCodesJS).e3v = function () {
|
|
78288
78344
|
return this.EMPTY_TOKEN;
|
|
78289
78345
|
};
|
|
78290
|
-
protoOf(SessionErrorCodesJS).
|
|
78346
|
+
protoOf(SessionErrorCodesJS).f3v = function () {
|
|
78291
78347
|
return this.FORCED_DISCONNECT;
|
|
78292
78348
|
};
|
|
78293
|
-
protoOf(SessionErrorCodesJS).
|
|
78349
|
+
protoOf(SessionErrorCodesJS).g3v = function () {
|
|
78294
78350
|
return this.TIMEOUT;
|
|
78295
78351
|
};
|
|
78296
|
-
protoOf(SessionErrorCodesJS).
|
|
78352
|
+
protoOf(SessionErrorCodesJS).h3v = function () {
|
|
78297
78353
|
return this.INTERNAL_FAILURE;
|
|
78298
78354
|
};
|
|
78299
|
-
protoOf(SessionErrorCodesJS).
|
|
78355
|
+
protoOf(SessionErrorCodesJS).i3v = function () {
|
|
78300
78356
|
return this.NO_ACTIVE_SESSION;
|
|
78301
78357
|
};
|
|
78302
|
-
protoOf(SessionErrorCodesJS).
|
|
78358
|
+
protoOf(SessionErrorCodesJS).j3v = function () {
|
|
78303
78359
|
return this.ALREADY_ACTIVE_SESSION;
|
|
78304
78360
|
};
|
|
78305
|
-
protoOf(SessionErrorCodesJS).
|
|
78361
|
+
protoOf(SessionErrorCodesJS).k3v = function () {
|
|
78306
78362
|
return this.INVALID_TOKEN;
|
|
78307
78363
|
};
|
|
78308
|
-
protoOf(SessionErrorCodesJS).
|
|
78364
|
+
protoOf(SessionErrorCodesJS).l3v = function () {
|
|
78309
78365
|
return this.EXPIRED_TOKEN;
|
|
78310
78366
|
};
|
|
78311
|
-
protoOf(SessionErrorCodesJS).
|
|
78367
|
+
protoOf(SessionErrorCodesJS).m3v = function () {
|
|
78312
78368
|
return this.INVALID_USER;
|
|
78313
78369
|
};
|
|
78314
|
-
protoOf(SessionErrorCodesJS).
|
|
78370
|
+
protoOf(SessionErrorCodesJS).n3v = function () {
|
|
78315
78371
|
return this.AUTHORIZATION_ERROR;
|
|
78316
78372
|
};
|
|
78317
|
-
protoOf(SessionErrorCodesJS).
|
|
78373
|
+
protoOf(SessionErrorCodesJS).o3v = function () {
|
|
78318
78374
|
return this.INVALID_SESSION;
|
|
78319
78375
|
};
|
|
78320
|
-
protoOf(SessionErrorCodesJS).
|
|
78376
|
+
protoOf(SessionErrorCodesJS).p3v = function () {
|
|
78321
78377
|
return this.MAX_OPEN_SESSIONS;
|
|
78322
78378
|
};
|
|
78323
|
-
protoOf(SessionErrorCodesJS).
|
|
78379
|
+
protoOf(SessionErrorCodesJS).q3v = function () {
|
|
78324
78380
|
return this.INVALID_SOCKET_TRANSPORT;
|
|
78325
78381
|
};
|
|
78326
|
-
protoOf(SessionErrorCodesJS).
|
|
78382
|
+
protoOf(SessionErrorCodesJS).r3v = function () {
|
|
78327
78383
|
return this.CLIENT_DISCONNECT;
|
|
78328
78384
|
};
|
|
78329
|
-
protoOf(SessionErrorCodesJS).
|
|
78385
|
+
protoOf(SessionErrorCodesJS).s3v = function () {
|
|
78330
78386
|
return this.PING_TIMEOUT_DISCONNECT;
|
|
78331
78387
|
};
|
|
78332
|
-
protoOf(SessionErrorCodesJS).
|
|
78388
|
+
protoOf(SessionErrorCodesJS).t3v = function () {
|
|
78333
78389
|
return this.TRANSPORT_CLOSED_DISCONNECT;
|
|
78334
78390
|
};
|
|
78335
78391
|
var SessionErrorCodesJS_instance;
|
|
@@ -78339,7 +78395,7 @@ function requireClientsdkClientcore () {
|
|
|
78339
78395
|
function VonageErrorJS(vonageError) {
|
|
78340
78396
|
extendThrowable(this, vonageError.message);
|
|
78341
78397
|
captureStack(this, VonageErrorJS);
|
|
78342
|
-
this.type =
|
|
78398
|
+
this.type = valueOf_3(vonageError.t2x_1.y7_1);
|
|
78343
78399
|
this.code = vonageError.u2x_1;
|
|
78344
78400
|
this.kmpCause = vonageError.cause;
|
|
78345
78401
|
}
|
|
@@ -78349,7 +78405,7 @@ function requireClientsdkClientcore () {
|
|
|
78349
78405
|
protoOf(VonageErrorJS).i2n = function () {
|
|
78350
78406
|
return this.code;
|
|
78351
78407
|
};
|
|
78352
|
-
protoOf(VonageErrorJS).
|
|
78408
|
+
protoOf(VonageErrorJS).u3v = function () {
|
|
78353
78409
|
return this.kmpCause;
|
|
78354
78410
|
};
|
|
78355
78411
|
var VonageErrorTypeJS_CS_ERROR_instance;
|
|
@@ -78357,10 +78413,10 @@ function requireClientsdkClientcore () {
|
|
|
78357
78413
|
var VonageErrorTypeJS_SESSION_ERROR_instance;
|
|
78358
78414
|
var VonageErrorTypeJS_INTERNAL_ERROR_instance;
|
|
78359
78415
|
var VonageErrorTypeJS_UNKNOWN_ERROR_instance;
|
|
78360
|
-
function
|
|
78416
|
+
function values_2() {
|
|
78361
78417
|
return [VonageErrorTypeJS_CS_ERROR_getInstance(), VonageErrorTypeJS_NETWORK_ERROR_getInstance(), VonageErrorTypeJS_SESSION_ERROR_getInstance(), VonageErrorTypeJS_INTERNAL_ERROR_getInstance(), VonageErrorTypeJS_UNKNOWN_ERROR_getInstance()];
|
|
78362
78418
|
}
|
|
78363
|
-
function
|
|
78419
|
+
function valueOf_3(value) {
|
|
78364
78420
|
switch (value) {
|
|
78365
78421
|
case 'CS_ERROR':
|
|
78366
78422
|
return VonageErrorTypeJS_CS_ERROR_getInstance();
|
|
@@ -78394,7 +78450,7 @@ function requireClientsdkClientcore () {
|
|
|
78394
78450
|
}
|
|
78395
78451
|
function MediaClientErrorJS() {
|
|
78396
78452
|
}
|
|
78397
|
-
protoOf(MediaClientErrorJS).
|
|
78453
|
+
protoOf(MediaClientErrorJS).x3v = function () {
|
|
78398
78454
|
var tmp;
|
|
78399
78455
|
if (this instanceof PeerConnectionNotFoundJS) {
|
|
78400
78456
|
tmp = new PeerConnectionNotFound(this.legId);
|
|
@@ -78423,18 +78479,18 @@ function requireClientsdkClientcore () {
|
|
|
78423
78479
|
MediaClientErrorJS.call(this);
|
|
78424
78480
|
this.legId = legId;
|
|
78425
78481
|
}
|
|
78426
|
-
protoOf(PeerConnectionNotFoundJS).
|
|
78482
|
+
protoOf(PeerConnectionNotFoundJS).y3v = function () {
|
|
78427
78483
|
return this.legId;
|
|
78428
78484
|
};
|
|
78429
78485
|
protoOf(PeerConnectionNotFoundJS).o5 = function () {
|
|
78430
78486
|
return this.legId;
|
|
78431
78487
|
};
|
|
78432
|
-
protoOf(PeerConnectionNotFoundJS).
|
|
78488
|
+
protoOf(PeerConnectionNotFoundJS).z3v = function (legId) {
|
|
78433
78489
|
return new PeerConnectionNotFoundJS(legId);
|
|
78434
78490
|
};
|
|
78435
78491
|
protoOf(PeerConnectionNotFoundJS).copy = function (legId, $super) {
|
|
78436
78492
|
legId = legId === VOID ? this.legId : legId;
|
|
78437
|
-
return this.
|
|
78493
|
+
return this.z3v(legId);
|
|
78438
78494
|
};
|
|
78439
78495
|
protoOf(PeerConnectionNotFoundJS).toString = function () {
|
|
78440
78496
|
return 'PeerConnectionNotFoundJS(legId=' + this.legId + ')';
|
|
@@ -78456,18 +78512,18 @@ function requireClientsdkClientcore () {
|
|
|
78456
78512
|
MediaClientErrorJS.call(this);
|
|
78457
78513
|
this.legId = legId;
|
|
78458
78514
|
}
|
|
78459
|
-
protoOf(TrackNotFoundJS).
|
|
78515
|
+
protoOf(TrackNotFoundJS).y3v = function () {
|
|
78460
78516
|
return this.legId;
|
|
78461
78517
|
};
|
|
78462
78518
|
protoOf(TrackNotFoundJS).o5 = function () {
|
|
78463
78519
|
return this.legId;
|
|
78464
78520
|
};
|
|
78465
|
-
protoOf(TrackNotFoundJS).
|
|
78521
|
+
protoOf(TrackNotFoundJS).z3v = function (legId) {
|
|
78466
78522
|
return new TrackNotFoundJS(legId);
|
|
78467
78523
|
};
|
|
78468
78524
|
protoOf(TrackNotFoundJS).copy = function (legId, $super) {
|
|
78469
78525
|
legId = legId === VOID ? this.legId : legId;
|
|
78470
|
-
return this.
|
|
78526
|
+
return this.z3v(legId);
|
|
78471
78527
|
};
|
|
78472
78528
|
protoOf(TrackNotFoundJS).toString = function () {
|
|
78473
78529
|
return 'TrackNotFoundJS(legId=' + this.legId + ')';
|
|
@@ -78491,7 +78547,7 @@ function requireClientsdkClientcore () {
|
|
|
78491
78547
|
this.legId = legId;
|
|
78492
78548
|
this.message = message;
|
|
78493
78549
|
}
|
|
78494
|
-
protoOf(ProcessAnswerErrorJS).
|
|
78550
|
+
protoOf(ProcessAnswerErrorJS).y3v = function () {
|
|
78495
78551
|
return this.legId;
|
|
78496
78552
|
};
|
|
78497
78553
|
protoOf(ProcessAnswerErrorJS).ra = function () {
|
|
@@ -78503,13 +78559,13 @@ function requireClientsdkClientcore () {
|
|
|
78503
78559
|
protoOf(ProcessAnswerErrorJS).p5 = function () {
|
|
78504
78560
|
return this.message;
|
|
78505
78561
|
};
|
|
78506
|
-
protoOf(ProcessAnswerErrorJS).
|
|
78562
|
+
protoOf(ProcessAnswerErrorJS).a3w = function (legId, message) {
|
|
78507
78563
|
return new ProcessAnswerErrorJS(legId, message);
|
|
78508
78564
|
};
|
|
78509
78565
|
protoOf(ProcessAnswerErrorJS).copy = function (legId, message, $super) {
|
|
78510
78566
|
legId = legId === VOID ? this.legId : legId;
|
|
78511
78567
|
message = message === VOID ? this.message : message;
|
|
78512
|
-
return this.
|
|
78568
|
+
return this.a3w(legId, message);
|
|
78513
78569
|
};
|
|
78514
78570
|
protoOf(ProcessAnswerErrorJS).toString = function () {
|
|
78515
78571
|
return 'ProcessAnswerErrorJS(legId=' + this.legId + ', message=' + this.message + ')';
|
|
@@ -78542,12 +78598,12 @@ function requireClientsdkClientcore () {
|
|
|
78542
78598
|
protoOf(CreateAnswerErrorJS).o5 = function () {
|
|
78543
78599
|
return this.message;
|
|
78544
78600
|
};
|
|
78545
|
-
protoOf(CreateAnswerErrorJS).
|
|
78601
|
+
protoOf(CreateAnswerErrorJS).b3w = function (message) {
|
|
78546
78602
|
return new CreateAnswerErrorJS(message);
|
|
78547
78603
|
};
|
|
78548
78604
|
protoOf(CreateAnswerErrorJS).copy = function (message, $super) {
|
|
78549
78605
|
message = message === VOID ? this.message : message;
|
|
78550
|
-
return this.
|
|
78606
|
+
return this.b3w(message);
|
|
78551
78607
|
};
|
|
78552
78608
|
protoOf(CreateAnswerErrorJS).toString = function () {
|
|
78553
78609
|
return 'CreateAnswerErrorJS(message=' + this.message + ')';
|
|
@@ -78576,12 +78632,12 @@ function requireClientsdkClientcore () {
|
|
|
78576
78632
|
protoOf(CreateOfferErrorJS).o5 = function () {
|
|
78577
78633
|
return this.message;
|
|
78578
78634
|
};
|
|
78579
|
-
protoOf(CreateOfferErrorJS).
|
|
78635
|
+
protoOf(CreateOfferErrorJS).b3w = function (message) {
|
|
78580
78636
|
return new CreateOfferErrorJS(message);
|
|
78581
78637
|
};
|
|
78582
78638
|
protoOf(CreateOfferErrorJS).copy = function (message, $super) {
|
|
78583
78639
|
message = message === VOID ? this.message : message;
|
|
78584
|
-
return this.
|
|
78640
|
+
return this.b3w(message);
|
|
78585
78641
|
};
|
|
78586
78642
|
protoOf(CreateOfferErrorJS).toString = function () {
|
|
78587
78643
|
return 'CreateOfferErrorJS(message=' + this.message + ')';
|
|
@@ -78660,7 +78716,7 @@ function requireClientsdkClientcore () {
|
|
|
78660
78716
|
return function (resolve, reject) {
|
|
78661
78717
|
var tmp = this$0.core;
|
|
78662
78718
|
var tmp0_safe_receiver = $parameters;
|
|
78663
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
78719
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_16(tmp0_safe_receiver);
|
|
78664
78720
|
tmp.v1e(tmp_0, IChatClientJS$createConversation$lambda$lambda(resolve, reject));
|
|
78665
78721
|
return Unit_instance;
|
|
78666
78722
|
};
|
|
@@ -78882,7 +78938,7 @@ function requireClientsdkClientcore () {
|
|
|
78882
78938
|
return function (resolve, reject) {
|
|
78883
78939
|
var tmp = this$0.core;
|
|
78884
78940
|
var tmp0_safe_receiver = $parameters;
|
|
78885
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
78941
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_18(tmp0_safe_receiver);
|
|
78886
78942
|
tmp.b1f(tmp_0, IChatClientJS$getConversations$lambda$lambda(resolve, reject));
|
|
78887
78943
|
return Unit_instance;
|
|
78888
78944
|
};
|
|
@@ -78928,7 +78984,7 @@ function requireClientsdkClientcore () {
|
|
|
78928
78984
|
return function (resolve, reject) {
|
|
78929
78985
|
var tmp = this$0.core;
|
|
78930
78986
|
var tmp0_safe_receiver = $parameters;
|
|
78931
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
78987
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_20(tmp0_safe_receiver);
|
|
78932
78988
|
tmp.a1f($cid, tmp_0, IChatClientJS$getConversationMembers$lambda$lambda(resolve, reject));
|
|
78933
78989
|
return Unit_instance;
|
|
78934
78990
|
};
|
|
@@ -78974,7 +79030,7 @@ function requireClientsdkClientcore () {
|
|
|
78974
79030
|
return function (resolve, reject) {
|
|
78975
79031
|
var tmp = this$0.core;
|
|
78976
79032
|
var tmp0_safe_receiver = $parameters;
|
|
78977
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
79033
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_19(tmp0_safe_receiver);
|
|
78978
79034
|
tmp.j1d($cid, tmp_0, VOID, VOID, IChatClientJS$getConversationEvents$lambda$lambda(resolve, reject));
|
|
78979
79035
|
return Unit_instance;
|
|
78980
79036
|
};
|
|
@@ -79648,7 +79704,7 @@ function requireClientsdkClientcore () {
|
|
|
79648
79704
|
function IChatClientJS$updateConversation$lambda(this$0, $conversationId, $parameters) {
|
|
79649
79705
|
return function (resolve, reject) {
|
|
79650
79706
|
var tmp = this$0.core;
|
|
79651
|
-
var tmp_0 =
|
|
79707
|
+
var tmp_0 = map_17($parameters);
|
|
79652
79708
|
tmp.j1f($conversationId, tmp_0, IChatClientJS$updateConversation$lambda$lambda(resolve, reject));
|
|
79653
79709
|
return Unit_instance;
|
|
79654
79710
|
};
|
|
@@ -79663,10 +79719,10 @@ function requireClientsdkClientcore () {
|
|
|
79663
79719
|
var CoreClientConfigRegionJS_AP_instance;
|
|
79664
79720
|
var CoreClientConfigRegionJS_EU_instance;
|
|
79665
79721
|
var CoreClientConfigRegionJS_US_instance;
|
|
79666
|
-
function
|
|
79722
|
+
function values_3() {
|
|
79667
79723
|
return [CoreClientConfigRegionJS_AP_getInstance(), CoreClientConfigRegionJS_EU_getInstance(), CoreClientConfigRegionJS_US_getInstance()];
|
|
79668
79724
|
}
|
|
79669
|
-
function
|
|
79725
|
+
function valueOf_4(value) {
|
|
79670
79726
|
switch (value) {
|
|
79671
79727
|
case 'AP':
|
|
79672
79728
|
return CoreClientConfigRegionJS_AP_getInstance();
|
|
@@ -79693,58 +79749,58 @@ function requireClientsdkClientcore () {
|
|
|
79693
79749
|
Enum.call(this, name, ordinal);
|
|
79694
79750
|
this.coreRegion = coreRegion;
|
|
79695
79751
|
}
|
|
79696
|
-
protoOf(CoreClientConfigRegionJS).
|
|
79752
|
+
protoOf(CoreClientConfigRegionJS).e3w = function () {
|
|
79697
79753
|
return this.coreRegion;
|
|
79698
79754
|
};
|
|
79699
79755
|
function CoreClientConfigJS(region) {
|
|
79700
79756
|
region = region === VOID ? get_DEFAULT_REGION() : region;
|
|
79701
79757
|
this.region = region;
|
|
79702
|
-
this.
|
|
79703
|
-
this.
|
|
79758
|
+
this.f3w_1 = this.region.coreRegion.n2u_1;
|
|
79759
|
+
this.g3w_1 = this.region.coreRegion.o2u_1;
|
|
79704
79760
|
var tmp = this;
|
|
79705
79761
|
DefaultConfig_getInstance();
|
|
79706
|
-
tmp.
|
|
79762
|
+
tmp.h3w_1 = '/v2/rtc';
|
|
79707
79763
|
var tmp_0 = this;
|
|
79708
79764
|
DefaultConfig_getInstance();
|
|
79709
|
-
tmp_0.
|
|
79710
|
-
this.
|
|
79711
|
-
this.
|
|
79765
|
+
tmp_0.i3w_1 = true;
|
|
79766
|
+
this.j3w_1 = false;
|
|
79767
|
+
this.k3w_1 = false;
|
|
79712
79768
|
}
|
|
79713
|
-
protoOf(CoreClientConfigJS).
|
|
79769
|
+
protoOf(CoreClientConfigJS).l3w = function () {
|
|
79714
79770
|
return this.region;
|
|
79715
79771
|
};
|
|
79716
|
-
protoOf(CoreClientConfigJS).
|
|
79717
|
-
this.
|
|
79772
|
+
protoOf(CoreClientConfigJS).m3w = function (_set____db54di) {
|
|
79773
|
+
this.f3w_1 = _set____db54di;
|
|
79718
79774
|
};
|
|
79719
|
-
protoOf(CoreClientConfigJS).
|
|
79720
|
-
return this.
|
|
79775
|
+
protoOf(CoreClientConfigJS).n3w = function () {
|
|
79776
|
+
return this.f3w_1;
|
|
79721
79777
|
};
|
|
79722
|
-
protoOf(CoreClientConfigJS).
|
|
79723
|
-
this.
|
|
79778
|
+
protoOf(CoreClientConfigJS).o3w = function (_set____db54di) {
|
|
79779
|
+
this.g3w_1 = _set____db54di;
|
|
79724
79780
|
};
|
|
79725
|
-
protoOf(CoreClientConfigJS).
|
|
79726
|
-
return this.
|
|
79781
|
+
protoOf(CoreClientConfigJS).p3w = function () {
|
|
79782
|
+
return this.g3w_1;
|
|
79727
79783
|
};
|
|
79728
|
-
protoOf(CoreClientConfigJS).
|
|
79729
|
-
this.
|
|
79784
|
+
protoOf(CoreClientConfigJS).q3w = function (_set____db54di) {
|
|
79785
|
+
this.h3w_1 = _set____db54di;
|
|
79730
79786
|
};
|
|
79731
|
-
protoOf(CoreClientConfigJS).
|
|
79732
|
-
return this.
|
|
79787
|
+
protoOf(CoreClientConfigJS).r3w = function () {
|
|
79788
|
+
return this.h3w_1;
|
|
79733
79789
|
};
|
|
79734
|
-
protoOf(CoreClientConfigJS).
|
|
79735
|
-
this.
|
|
79790
|
+
protoOf(CoreClientConfigJS).s3w = function (_set____db54di) {
|
|
79791
|
+
this.i3w_1 = _set____db54di;
|
|
79736
79792
|
};
|
|
79737
|
-
protoOf(CoreClientConfigJS).
|
|
79738
|
-
return this.
|
|
79793
|
+
protoOf(CoreClientConfigJS).t3w = function () {
|
|
79794
|
+
return this.i3w_1;
|
|
79739
79795
|
};
|
|
79740
|
-
protoOf(CoreClientConfigJS).
|
|
79741
|
-
this.
|
|
79796
|
+
protoOf(CoreClientConfigJS).u3w = function (_set____db54di) {
|
|
79797
|
+
this.j3w_1 = _set____db54di;
|
|
79742
79798
|
};
|
|
79743
|
-
protoOf(CoreClientConfigJS).
|
|
79744
|
-
return this.
|
|
79799
|
+
protoOf(CoreClientConfigJS).v3w = function () {
|
|
79800
|
+
return this.j3w_1;
|
|
79745
79801
|
};
|
|
79746
|
-
protoOf(CoreClientConfigJS).
|
|
79747
|
-
return this.
|
|
79802
|
+
protoOf(CoreClientConfigJS).w3w = function () {
|
|
79803
|
+
return this.k3w_1;
|
|
79748
79804
|
};
|
|
79749
79805
|
function TopicJS(name, tag) {
|
|
79750
79806
|
this.name = name;
|
|
@@ -79753,7 +79809,7 @@ function requireClientsdkClientcore () {
|
|
|
79753
79809
|
protoOf(TopicJS).a9 = function () {
|
|
79754
79810
|
return this.name;
|
|
79755
79811
|
};
|
|
79756
|
-
protoOf(TopicJS).
|
|
79812
|
+
protoOf(TopicJS).x3w = function () {
|
|
79757
79813
|
return this.tag;
|
|
79758
79814
|
};
|
|
79759
79815
|
protoOf(TopicJS).o5 = function () {
|
|
@@ -79762,13 +79818,13 @@ function requireClientsdkClientcore () {
|
|
|
79762
79818
|
protoOf(TopicJS).p5 = function () {
|
|
79763
79819
|
return this.tag;
|
|
79764
79820
|
};
|
|
79765
|
-
protoOf(TopicJS).
|
|
79821
|
+
protoOf(TopicJS).y3w = function (name, tag) {
|
|
79766
79822
|
return new TopicJS(name, tag);
|
|
79767
79823
|
};
|
|
79768
79824
|
protoOf(TopicJS).copy = function (name, tag, $super) {
|
|
79769
79825
|
name = name === VOID ? this.name : name;
|
|
79770
79826
|
tag = tag === VOID ? this.tag : tag;
|
|
79771
|
-
return this.
|
|
79827
|
+
return this.y3w(name, tag);
|
|
79772
79828
|
};
|
|
79773
79829
|
protoOf(TopicJS).toString = function () {
|
|
79774
79830
|
return 'TopicJS(name=' + this.name + ', tag=' + this.tag + ')';
|
|
@@ -79797,10 +79853,10 @@ function requireClientsdkClientcore () {
|
|
|
79797
79853
|
var Topics_STORE_instance;
|
|
79798
79854
|
var Topics_REDUCER_instance;
|
|
79799
79855
|
var Topics_DEFAULT_instance;
|
|
79800
|
-
function
|
|
79856
|
+
function values_4() {
|
|
79801
79857
|
return [Topics_HTTP_getInstance(), Topics_WS_getInstance(), Topics_MEDIA_getInstance(), Topics_API_getInstance(), Topics_STORE_getInstance(), Topics_REDUCER_getInstance(), Topics_DEFAULT_getInstance()];
|
|
79802
79858
|
}
|
|
79803
|
-
function
|
|
79859
|
+
function valueOf_5(value) {
|
|
79804
79860
|
switch (value) {
|
|
79805
79861
|
case 'HTTP':
|
|
79806
79862
|
return Topics_HTTP_getInstance();
|
|
@@ -79859,10 +79915,10 @@ function requireClientsdkClientcore () {
|
|
|
79859
79915
|
var LoggingLevelJS_Warn_instance;
|
|
79860
79916
|
var LoggingLevelJS_Error_instance;
|
|
79861
79917
|
var LoggingLevelJS_Assert_instance;
|
|
79862
|
-
function
|
|
79918
|
+
function values_5() {
|
|
79863
79919
|
return [LoggingLevelJS_Verbose_getInstance(), LoggingLevelJS_Debug_getInstance(), LoggingLevelJS_Info_getInstance(), LoggingLevelJS_Warn_getInstance(), LoggingLevelJS_Error_getInstance(), LoggingLevelJS_Assert_getInstance()];
|
|
79864
79920
|
}
|
|
79865
|
-
function
|
|
79921
|
+
function valueOf_6(value) {
|
|
79866
79922
|
switch (value) {
|
|
79867
79923
|
case 'Verbose':
|
|
79868
79924
|
return LoggingLevelJS_Verbose_getInstance();
|
|
@@ -79908,10 +79964,10 @@ function requireClientsdkClientcore () {
|
|
|
79908
79964
|
var SessionErrorReasonJS_EXPIRED_TOKEN_instance;
|
|
79909
79965
|
var SessionErrorReasonJS_TRANSPORT_CLOSED_instance;
|
|
79910
79966
|
var SessionErrorReasonJS_PING_TIMEOUT_instance;
|
|
79911
|
-
function
|
|
79967
|
+
function values_6() {
|
|
79912
79968
|
return [SessionErrorReasonJS_EXPIRED_TOKEN_getInstance(), SessionErrorReasonJS_TRANSPORT_CLOSED_getInstance(), SessionErrorReasonJS_PING_TIMEOUT_getInstance()];
|
|
79913
79969
|
}
|
|
79914
|
-
function
|
|
79970
|
+
function valueOf_7(value) {
|
|
79915
79971
|
switch (value) {
|
|
79916
79972
|
case 'EXPIRED_TOKEN':
|
|
79917
79973
|
return SessionErrorReasonJS_EXPIRED_TOKEN_getInstance();
|
|
@@ -80163,11 +80219,11 @@ function requireClientsdkClientcore () {
|
|
|
80163
80219
|
}
|
|
80164
80220
|
function ICoreClientJS() {
|
|
80165
80221
|
}
|
|
80166
|
-
function
|
|
80222
|
+
function map_6(_this__u8e3s4) {
|
|
80167
80223
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
80168
80224
|
return new TopicJS(_this__u8e3s4.e3g_1, _this__u8e3s4.f3g_1);
|
|
80169
80225
|
}
|
|
80170
|
-
function
|
|
80226
|
+
function map_7(_this__u8e3s4) {
|
|
80171
80227
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
80172
80228
|
var tmp;
|
|
80173
80229
|
switch (_this__u8e3s4.z7_1) {
|
|
@@ -80198,7 +80254,7 @@ function requireClientsdkClientcore () {
|
|
|
80198
80254
|
}
|
|
80199
80255
|
return tmp;
|
|
80200
80256
|
}
|
|
80201
|
-
function
|
|
80257
|
+
function map_8(_this__u8e3s4) {
|
|
80202
80258
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
80203
80259
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
80204
80260
|
// Inline function 'kotlin.collections.flatMap' call
|
|
@@ -80210,7 +80266,7 @@ function requireClientsdkClientcore () {
|
|
|
80210
80266
|
var element = _this__u8e3s4[inductionVariable];
|
|
80211
80267
|
inductionVariable = inductionVariable + 1 | 0;
|
|
80212
80268
|
// Inline function 'vonage.map.<anonymous>' call
|
|
80213
|
-
var list =
|
|
80269
|
+
var list = map_7(element);
|
|
80214
80270
|
addAll(destination, list);
|
|
80215
80271
|
}
|
|
80216
80272
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -80222,10 +80278,10 @@ function requireClientsdkClientcore () {
|
|
|
80222
80278
|
var tmp0_safe_receiver = logger.minLogLevel;
|
|
80223
80279
|
var tmp_0 = tmp0_safe_receiver == null ? null : getLoggingLevel(tmp0_safe_receiver);
|
|
80224
80280
|
var tmp1_safe_receiver = logger.topics;
|
|
80225
|
-
var tmp_1 = tmp1_safe_receiver == null ? null :
|
|
80281
|
+
var tmp_1 = tmp1_safe_receiver == null ? null : map_8(tmp1_safe_receiver);
|
|
80226
80282
|
return createVonageLogger(tmp, tmp_0, tmp_1, vonageLogger$lambda(logger));
|
|
80227
80283
|
}
|
|
80228
|
-
function
|
|
80284
|
+
function map_9(_this__u8e3s4) {
|
|
80229
80285
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
80230
80286
|
var tmp;
|
|
80231
80287
|
if (_this__u8e3s4 == null) {
|
|
@@ -80323,9 +80379,9 @@ function requireClientsdkClientcore () {
|
|
|
80323
80379
|
}
|
|
80324
80380
|
function getLoggingLevelJS(_this__u8e3s4) {
|
|
80325
80381
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
80326
|
-
return
|
|
80382
|
+
return valueOf_6(_this__u8e3s4.y7_1);
|
|
80327
80383
|
}
|
|
80328
|
-
function
|
|
80384
|
+
function map_10(_this__u8e3s4) {
|
|
80329
80385
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
80330
80386
|
var tmp;
|
|
80331
80387
|
switch (_this__u8e3s4.z7_1) {
|
|
@@ -80349,26 +80405,26 @@ function requireClientsdkClientcore () {
|
|
|
80349
80405
|
return _this__u8e3s4 == null ? null : equals(_this__u8e3s4, undefined) ? null : _this__u8e3s4;
|
|
80350
80406
|
}
|
|
80351
80407
|
function createVonageLoggerJS$1($name, $minLogLevel, $topics, $onLog) {
|
|
80352
|
-
this.
|
|
80353
|
-
this.
|
|
80354
|
-
this.
|
|
80355
|
-
this.
|
|
80408
|
+
this.i3x_1 = $onLog;
|
|
80409
|
+
this.f3x_1 = $name;
|
|
80410
|
+
this.g3x_1 = $minLogLevel;
|
|
80411
|
+
this.h3x_1 = $topics;
|
|
80356
80412
|
}
|
|
80357
80413
|
protoOf(createVonageLoggerJS$1).a9 = function () {
|
|
80358
|
-
return this.
|
|
80414
|
+
return this.f3x_1;
|
|
80359
80415
|
};
|
|
80360
80416
|
protoOf(createVonageLoggerJS$1).s3f = function () {
|
|
80361
|
-
return this.
|
|
80417
|
+
return this.g3x_1;
|
|
80362
80418
|
};
|
|
80363
80419
|
protoOf(createVonageLoggerJS$1).k3f = function () {
|
|
80364
|
-
return this.
|
|
80420
|
+
return this.h3x_1;
|
|
80365
80421
|
};
|
|
80366
80422
|
protoOf(createVonageLoggerJS$1).onLog = function (logLevel, topic, message) {
|
|
80367
|
-
this.
|
|
80423
|
+
this.i3x_1(logLevel, topic, message);
|
|
80368
80424
|
};
|
|
80369
80425
|
function vonageLogger$lambda($logger) {
|
|
80370
80426
|
return function (logLevel, topic, message, _anonymous_parameter_3__qggqen) {
|
|
80371
|
-
$logger.onLog(getLoggingLevelJS(logLevel).y7_1,
|
|
80427
|
+
$logger.onLog(getLoggingLevelJS(logLevel).y7_1, map_6(topic), message);
|
|
80372
80428
|
return Unit_instance;
|
|
80373
80429
|
};
|
|
80374
80430
|
}
|
|
@@ -80452,102 +80508,104 @@ function requireClientsdkClientcore () {
|
|
|
80452
80508
|
function _init_properties_ICoreClientJS_kt__j7s52i() {
|
|
80453
80509
|
if (!properties_initialized_ICoreClientJS_kt_ipn2no) {
|
|
80454
80510
|
properties_initialized_ICoreClientJS_kt_ipn2no = true;
|
|
80455
|
-
DEFAULT_REGION =
|
|
80456
|
-
}
|
|
80457
|
-
}
|
|
80458
|
-
var LegStatusJS_RINGING_instance;
|
|
80459
|
-
var LegStatusJS_ANSWERED_instance;
|
|
80460
|
-
var LegStatusJS_COMPLETED_instance;
|
|
80461
|
-
function values_8() {
|
|
80462
|
-
return [LegStatusJS_RINGING_getInstance(), LegStatusJS_ANSWERED_getInstance(), LegStatusJS_COMPLETED_getInstance()];
|
|
80463
|
-
}
|
|
80464
|
-
function valueOf_9(value) {
|
|
80465
|
-
switch (value) {
|
|
80466
|
-
case 'RINGING':
|
|
80467
|
-
return LegStatusJS_RINGING_getInstance();
|
|
80468
|
-
case 'ANSWERED':
|
|
80469
|
-
return LegStatusJS_ANSWERED_getInstance();
|
|
80470
|
-
case 'COMPLETED':
|
|
80471
|
-
return LegStatusJS_COMPLETED_getInstance();
|
|
80472
|
-
default:
|
|
80473
|
-
LegStatusJS_initEntries();
|
|
80474
|
-
THROW_IAE('No enum constant value.');
|
|
80475
|
-
break;
|
|
80511
|
+
DEFAULT_REGION = valueOf_4(DefaultConfig_getInstance().u2u_1.y7_1);
|
|
80476
80512
|
}
|
|
80477
80513
|
}
|
|
80478
|
-
|
|
80479
|
-
|
|
80480
|
-
|
|
80481
|
-
|
|
80482
|
-
LegStatusJS_entriesInitialized = true;
|
|
80483
|
-
LegStatusJS_RINGING_instance = new LegStatusJS('RINGING', 0);
|
|
80484
|
-
LegStatusJS_ANSWERED_instance = new LegStatusJS('ANSWERED', 1);
|
|
80485
|
-
LegStatusJS_COMPLETED_instance = new LegStatusJS('COMPLETED', 2);
|
|
80514
|
+
function LegStatusJSObject() {
|
|
80515
|
+
this.RINGING = 'RINGING';
|
|
80516
|
+
this.ANSWERED = 'ANSWERED';
|
|
80517
|
+
this.COMPLETED = 'COMPLETED';
|
|
80486
80518
|
}
|
|
80487
|
-
function
|
|
80488
|
-
|
|
80489
|
-
}
|
|
80490
|
-
|
|
80491
|
-
|
|
80492
|
-
|
|
80493
|
-
|
|
80494
|
-
|
|
80495
|
-
|
|
80496
|
-
|
|
80497
|
-
|
|
80498
|
-
|
|
80499
|
-
|
|
80500
|
-
|
|
80501
|
-
}
|
|
80502
|
-
|
|
80503
|
-
|
|
80504
|
-
|
|
80505
|
-
|
|
80506
|
-
|
|
80507
|
-
|
|
80508
|
-
|
|
80509
|
-
|
|
80510
|
-
|
|
80519
|
+
protoOf(LegStatusJSObject).j3x = function () {
|
|
80520
|
+
return this.RINGING;
|
|
80521
|
+
};
|
|
80522
|
+
protoOf(LegStatusJSObject).k3x = function () {
|
|
80523
|
+
return this.ANSWERED;
|
|
80524
|
+
};
|
|
80525
|
+
protoOf(LegStatusJSObject).l3x = function () {
|
|
80526
|
+
return this.COMPLETED;
|
|
80527
|
+
};
|
|
80528
|
+
protoOf(LegStatusJSObject).toString = function () {
|
|
80529
|
+
return 'LegStatusJSObject';
|
|
80530
|
+
};
|
|
80531
|
+
protoOf(LegStatusJSObject).hashCode = function () {
|
|
80532
|
+
return 1394307204;
|
|
80533
|
+
};
|
|
80534
|
+
protoOf(LegStatusJSObject).equals = function (other) {
|
|
80535
|
+
if (this === other)
|
|
80536
|
+
return true;
|
|
80537
|
+
if (!(other instanceof LegStatusJSObject))
|
|
80538
|
+
return false;
|
|
80539
|
+
other instanceof LegStatusJSObject || THROW_CCE();
|
|
80540
|
+
return true;
|
|
80541
|
+
};
|
|
80542
|
+
var LegStatusJSObject_instance;
|
|
80543
|
+
function LegStatusJSObject_getInstance() {
|
|
80544
|
+
return LegStatusJSObject_instance;
|
|
80511
80545
|
}
|
|
80512
|
-
|
|
80513
|
-
|
|
80514
|
-
var HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_instance;
|
|
80515
|
-
var HangupReasonJS_LOCAL_HANGUP_instance;
|
|
80516
|
-
var HangupReasonJS_MEDIA_TIMEOUT_instance;
|
|
80517
|
-
function values_10() {
|
|
80518
|
-
return [HangupReasonJS_REMOTE_HANGUP_getInstance(), HangupReasonJS_REMOTE_REJECT_getInstance(), HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance(), HangupReasonJS_LOCAL_HANGUP_getInstance(), HangupReasonJS_MEDIA_TIMEOUT_getInstance()];
|
|
80546
|
+
function CallDisconnectReasonJSObject() {
|
|
80547
|
+
this.NetworkChange = 'networkChange';
|
|
80519
80548
|
}
|
|
80520
|
-
function
|
|
80521
|
-
|
|
80522
|
-
|
|
80523
|
-
|
|
80524
|
-
|
|
80525
|
-
|
|
80526
|
-
|
|
80527
|
-
|
|
80528
|
-
|
|
80529
|
-
|
|
80530
|
-
|
|
80531
|
-
|
|
80532
|
-
|
|
80533
|
-
|
|
80534
|
-
|
|
80535
|
-
|
|
80536
|
-
|
|
80549
|
+
protoOf(CallDisconnectReasonJSObject).m3x = function () {
|
|
80550
|
+
return this.NetworkChange;
|
|
80551
|
+
};
|
|
80552
|
+
protoOf(CallDisconnectReasonJSObject).toString = function () {
|
|
80553
|
+
return 'CallDisconnectReasonJSObject';
|
|
80554
|
+
};
|
|
80555
|
+
protoOf(CallDisconnectReasonJSObject).hashCode = function () {
|
|
80556
|
+
return 1280862186;
|
|
80557
|
+
};
|
|
80558
|
+
protoOf(CallDisconnectReasonJSObject).equals = function (other) {
|
|
80559
|
+
if (this === other)
|
|
80560
|
+
return true;
|
|
80561
|
+
if (!(other instanceof CallDisconnectReasonJSObject))
|
|
80562
|
+
return false;
|
|
80563
|
+
other instanceof CallDisconnectReasonJSObject || THROW_CCE();
|
|
80564
|
+
return true;
|
|
80565
|
+
};
|
|
80566
|
+
var CallDisconnectReasonJSObject_instance;
|
|
80567
|
+
function CallDisconnectReasonJSObject_getInstance() {
|
|
80568
|
+
return CallDisconnectReasonJSObject_instance;
|
|
80537
80569
|
}
|
|
80538
|
-
|
|
80539
|
-
|
|
80540
|
-
|
|
80541
|
-
|
|
80542
|
-
|
|
80543
|
-
|
|
80544
|
-
HangupReasonJS_REMOTE_REJECT_instance = new HangupReasonJS('REMOTE_REJECT', 1);
|
|
80545
|
-
HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_instance = new HangupReasonJS('REMOTE_NO_ANSWER_TIMEOUT', 2);
|
|
80546
|
-
HangupReasonJS_LOCAL_HANGUP_instance = new HangupReasonJS('LOCAL_HANGUP', 3);
|
|
80547
|
-
HangupReasonJS_MEDIA_TIMEOUT_instance = new HangupReasonJS('MEDIA_TIMEOUT', 4);
|
|
80570
|
+
function HangupReasonJSObject() {
|
|
80571
|
+
this.REMOTE_HANGUP = 'REMOTE_HANGUP';
|
|
80572
|
+
this.REMOTE_REJECT = 'REMOTE_REJECT';
|
|
80573
|
+
this.REMOTE_NO_ANSWER_TIMEOUT = 'REMOTE_NO_ANSWER_TIMEOUT';
|
|
80574
|
+
this.LOCAL_HANGUP = 'LOCAL_HANGUP';
|
|
80575
|
+
this.MEDIA_TIMEOUT = 'MEDIA_TIMEOUT';
|
|
80548
80576
|
}
|
|
80549
|
-
function
|
|
80550
|
-
|
|
80577
|
+
protoOf(HangupReasonJSObject).n3x = function () {
|
|
80578
|
+
return this.REMOTE_HANGUP;
|
|
80579
|
+
};
|
|
80580
|
+
protoOf(HangupReasonJSObject).o3x = function () {
|
|
80581
|
+
return this.REMOTE_REJECT;
|
|
80582
|
+
};
|
|
80583
|
+
protoOf(HangupReasonJSObject).p3x = function () {
|
|
80584
|
+
return this.REMOTE_NO_ANSWER_TIMEOUT;
|
|
80585
|
+
};
|
|
80586
|
+
protoOf(HangupReasonJSObject).q3x = function () {
|
|
80587
|
+
return this.LOCAL_HANGUP;
|
|
80588
|
+
};
|
|
80589
|
+
protoOf(HangupReasonJSObject).r3x = function () {
|
|
80590
|
+
return this.MEDIA_TIMEOUT;
|
|
80591
|
+
};
|
|
80592
|
+
protoOf(HangupReasonJSObject).toString = function () {
|
|
80593
|
+
return 'HangupReasonJSObject';
|
|
80594
|
+
};
|
|
80595
|
+
protoOf(HangupReasonJSObject).hashCode = function () {
|
|
80596
|
+
return -1290686563;
|
|
80597
|
+
};
|
|
80598
|
+
protoOf(HangupReasonJSObject).equals = function (other) {
|
|
80599
|
+
if (this === other)
|
|
80600
|
+
return true;
|
|
80601
|
+
if (!(other instanceof HangupReasonJSObject))
|
|
80602
|
+
return false;
|
|
80603
|
+
other instanceof HangupReasonJSObject || THROW_CCE();
|
|
80604
|
+
return true;
|
|
80605
|
+
};
|
|
80606
|
+
var HangupReasonJSObject_instance;
|
|
80607
|
+
function HangupReasonJSObject_getInstance() {
|
|
80608
|
+
return HangupReasonJSObject_instance;
|
|
80551
80609
|
}
|
|
80552
80610
|
function IVoiceClientJS$serverCall$lambda$lambda($resolve, $reject) {
|
|
80553
80611
|
return function (err, callId) {
|
|
@@ -80722,7 +80780,7 @@ function requireClientsdkClientcore () {
|
|
|
80722
80780
|
return function (resolve, reject) {
|
|
80723
80781
|
var tmp = this$0.core;
|
|
80724
80782
|
var tmp0_safe_receiver = $parameters;
|
|
80725
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
80783
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_21(tmp0_safe_receiver);
|
|
80726
80784
|
tmp.p1d($callId, tmp_0, IVoiceClientJS$getCallLegs$lambda$lambda(resolve, reject));
|
|
80727
80785
|
return Unit_instance;
|
|
80728
80786
|
};
|
|
@@ -81152,13 +81210,13 @@ function requireClientsdkClientcore () {
|
|
|
81152
81210
|
protoOf(VoiceInviteFromInfoJS).p5 = function () {
|
|
81153
81211
|
return this.type;
|
|
81154
81212
|
};
|
|
81155
|
-
protoOf(VoiceInviteFromInfoJS).
|
|
81213
|
+
protoOf(VoiceInviteFromInfoJS).s3x = function (id, type) {
|
|
81156
81214
|
return new VoiceInviteFromInfoJS(id, type);
|
|
81157
81215
|
};
|
|
81158
81216
|
protoOf(VoiceInviteFromInfoJS).copy = function (id, type, $super) {
|
|
81159
81217
|
id = id === VOID ? this.id : id;
|
|
81160
81218
|
type = type === VOID ? this.type : type;
|
|
81161
|
-
return this.
|
|
81219
|
+
return this.s3x(id, type);
|
|
81162
81220
|
};
|
|
81163
81221
|
protoOf(VoiceInviteFromInfoJS).toString = function () {
|
|
81164
81222
|
return 'VoiceInviteFromInfoJS(id=' + this.id + ', type=' + this.type + ')';
|
|
@@ -81180,17 +81238,17 @@ function requireClientsdkClientcore () {
|
|
|
81180
81238
|
return false;
|
|
81181
81239
|
return true;
|
|
81182
81240
|
};
|
|
81183
|
-
function
|
|
81241
|
+
function map_11(_this__u8e3s4) {
|
|
81184
81242
|
var tmp;
|
|
81185
81243
|
switch (_this__u8e3s4.z7_1) {
|
|
81186
81244
|
case 0:
|
|
81187
|
-
tmp =
|
|
81245
|
+
tmp = LegStatusJSObject_instance.RINGING;
|
|
81188
81246
|
break;
|
|
81189
81247
|
case 1:
|
|
81190
|
-
tmp =
|
|
81248
|
+
tmp = LegStatusJSObject_instance.ANSWERED;
|
|
81191
81249
|
break;
|
|
81192
81250
|
case 2:
|
|
81193
|
-
tmp =
|
|
81251
|
+
tmp = LegStatusJSObject_instance.COMPLETED;
|
|
81194
81252
|
break;
|
|
81195
81253
|
default:
|
|
81196
81254
|
noWhenBranchMatchedException();
|
|
@@ -81198,32 +81256,32 @@ function requireClientsdkClientcore () {
|
|
|
81198
81256
|
}
|
|
81199
81257
|
return tmp;
|
|
81200
81258
|
}
|
|
81201
|
-
function
|
|
81259
|
+
function map_12(_this__u8e3s4) {
|
|
81202
81260
|
var tmp;
|
|
81203
81261
|
if (_this__u8e3s4.z7_1 === 0) {
|
|
81204
|
-
tmp =
|
|
81262
|
+
tmp = CallDisconnectReasonJSObject_instance.NetworkChange;
|
|
81205
81263
|
} else {
|
|
81206
81264
|
noWhenBranchMatchedException();
|
|
81207
81265
|
}
|
|
81208
81266
|
return tmp;
|
|
81209
81267
|
}
|
|
81210
|
-
function
|
|
81268
|
+
function map_13(_this__u8e3s4) {
|
|
81211
81269
|
var tmp;
|
|
81212
81270
|
switch (_this__u8e3s4.z7_1) {
|
|
81213
81271
|
case 1:
|
|
81214
|
-
tmp =
|
|
81272
|
+
tmp = HangupReasonJSObject_instance.REMOTE_HANGUP;
|
|
81215
81273
|
break;
|
|
81216
81274
|
case 0:
|
|
81217
|
-
tmp =
|
|
81275
|
+
tmp = HangupReasonJSObject_instance.REMOTE_REJECT;
|
|
81218
81276
|
break;
|
|
81219
81277
|
case 2:
|
|
81220
|
-
tmp =
|
|
81278
|
+
tmp = HangupReasonJSObject_instance.REMOTE_NO_ANSWER_TIMEOUT;
|
|
81221
81279
|
break;
|
|
81222
81280
|
case 3:
|
|
81223
|
-
tmp =
|
|
81281
|
+
tmp = HangupReasonJSObject_instance.LOCAL_HANGUP;
|
|
81224
81282
|
break;
|
|
81225
81283
|
case 4:
|
|
81226
|
-
tmp =
|
|
81284
|
+
tmp = HangupReasonJSObject_instance.MEDIA_TIMEOUT;
|
|
81227
81285
|
break;
|
|
81228
81286
|
default:
|
|
81229
81287
|
noWhenBranchMatchedException();
|
|
@@ -81231,82 +81289,46 @@ function requireClientsdkClientcore () {
|
|
|
81231
81289
|
}
|
|
81232
81290
|
return tmp;
|
|
81233
81291
|
}
|
|
81234
|
-
function LegStatusJS_RINGING_getInstance() {
|
|
81235
|
-
LegStatusJS_initEntries();
|
|
81236
|
-
return LegStatusJS_RINGING_instance;
|
|
81237
|
-
}
|
|
81238
|
-
function LegStatusJS_ANSWERED_getInstance() {
|
|
81239
|
-
LegStatusJS_initEntries();
|
|
81240
|
-
return LegStatusJS_ANSWERED_instance;
|
|
81241
|
-
}
|
|
81242
|
-
function LegStatusJS_COMPLETED_getInstance() {
|
|
81243
|
-
LegStatusJS_initEntries();
|
|
81244
|
-
return LegStatusJS_COMPLETED_instance;
|
|
81245
|
-
}
|
|
81246
|
-
function CallDisconnectReasonJS_NetworkChange_getInstance() {
|
|
81247
|
-
CallDisconnectReasonJS_initEntries();
|
|
81248
|
-
return CallDisconnectReasonJS_NetworkChange_instance;
|
|
81249
|
-
}
|
|
81250
|
-
function HangupReasonJS_REMOTE_HANGUP_getInstance() {
|
|
81251
|
-
HangupReasonJS_initEntries();
|
|
81252
|
-
return HangupReasonJS_REMOTE_HANGUP_instance;
|
|
81253
|
-
}
|
|
81254
|
-
function HangupReasonJS_REMOTE_REJECT_getInstance() {
|
|
81255
|
-
HangupReasonJS_initEntries();
|
|
81256
|
-
return HangupReasonJS_REMOTE_REJECT_instance;
|
|
81257
|
-
}
|
|
81258
|
-
function HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance() {
|
|
81259
|
-
HangupReasonJS_initEntries();
|
|
81260
|
-
return HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_instance;
|
|
81261
|
-
}
|
|
81262
|
-
function HangupReasonJS_LOCAL_HANGUP_getInstance() {
|
|
81263
|
-
HangupReasonJS_initEntries();
|
|
81264
|
-
return HangupReasonJS_LOCAL_HANGUP_instance;
|
|
81265
|
-
}
|
|
81266
|
-
function HangupReasonJS_MEDIA_TIMEOUT_getInstance() {
|
|
81267
|
-
HangupReasonJS_initEntries();
|
|
81268
|
-
return HangupReasonJS_MEDIA_TIMEOUT_instance;
|
|
81269
|
-
}
|
|
81270
81292
|
function HttpClientErrorJS(message, cause) {
|
|
81271
81293
|
message = message === VOID ? null : message;
|
|
81272
81294
|
cause = cause === VOID ? null : cause;
|
|
81273
81295
|
extendThrowable(this);
|
|
81274
81296
|
captureStack(this, HttpClientErrorJS);
|
|
81275
|
-
this.
|
|
81276
|
-
this.
|
|
81297
|
+
this.t3x_1 = message;
|
|
81298
|
+
this.u3x_1 = cause;
|
|
81277
81299
|
}
|
|
81278
81300
|
protoOf(HttpClientErrorJS).ra = function () {
|
|
81279
|
-
return this.
|
|
81301
|
+
return this.t3x_1;
|
|
81280
81302
|
};
|
|
81281
81303
|
protoOf(HttpClientErrorJS).sa = function () {
|
|
81282
|
-
return this.
|
|
81304
|
+
return this.u3x_1;
|
|
81283
81305
|
};
|
|
81284
|
-
protoOf(HttpClientErrorJS).
|
|
81285
|
-
var tmp0_elvis_lhs = this.
|
|
81306
|
+
protoOf(HttpClientErrorJS).x3v = function () {
|
|
81307
|
+
var tmp0_elvis_lhs = this.t3x_1;
|
|
81286
81308
|
var tmp = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
81287
|
-
var tmp_0 = this.
|
|
81309
|
+
var tmp_0 = this.u3x_1;
|
|
81288
81310
|
return new HTTPClientError(tmp, tmp_0 instanceof Exception ? tmp_0 : null);
|
|
81289
81311
|
};
|
|
81290
81312
|
protoOf(HttpClientErrorJS).o5 = function () {
|
|
81291
|
-
return this.
|
|
81313
|
+
return this.t3x_1;
|
|
81292
81314
|
};
|
|
81293
81315
|
protoOf(HttpClientErrorJS).p5 = function () {
|
|
81294
|
-
return this.
|
|
81316
|
+
return this.u3x_1;
|
|
81295
81317
|
};
|
|
81296
|
-
protoOf(HttpClientErrorJS).
|
|
81318
|
+
protoOf(HttpClientErrorJS).v3x = function (message, cause) {
|
|
81297
81319
|
return new HttpClientErrorJS(message, cause);
|
|
81298
81320
|
};
|
|
81299
81321
|
protoOf(HttpClientErrorJS).copy = function (message, cause, $super) {
|
|
81300
|
-
message = message === VOID ? this.
|
|
81301
|
-
cause = cause === VOID ? this.
|
|
81302
|
-
return this.
|
|
81322
|
+
message = message === VOID ? this.t3x_1 : message;
|
|
81323
|
+
cause = cause === VOID ? this.u3x_1 : cause;
|
|
81324
|
+
return this.v3x(message, cause);
|
|
81303
81325
|
};
|
|
81304
81326
|
protoOf(HttpClientErrorJS).toString = function () {
|
|
81305
|
-
return 'HttpClientErrorJS(message=' + this.
|
|
81327
|
+
return 'HttpClientErrorJS(message=' + this.t3x_1 + ', cause=' + this.u3x_1 + ')';
|
|
81306
81328
|
};
|
|
81307
81329
|
protoOf(HttpClientErrorJS).hashCode = function () {
|
|
81308
|
-
var result = this.
|
|
81309
|
-
result = imul(result, 31) + (this.
|
|
81330
|
+
var result = this.t3x_1 == null ? 0 : getStringHashCode(this.t3x_1);
|
|
81331
|
+
result = imul(result, 31) + (this.u3x_1 == null ? 0 : hashCode(this.u3x_1)) | 0;
|
|
81310
81332
|
return result;
|
|
81311
81333
|
};
|
|
81312
81334
|
protoOf(HttpClientErrorJS).equals = function (other) {
|
|
@@ -81315,9 +81337,9 @@ function requireClientsdkClientcore () {
|
|
|
81315
81337
|
if (!(other instanceof HttpClientErrorJS))
|
|
81316
81338
|
return false;
|
|
81317
81339
|
var tmp0_other_with_cast = other instanceof HttpClientErrorJS ? other : THROW_CCE();
|
|
81318
|
-
if (!(this.
|
|
81340
|
+
if (!(this.t3x_1 == tmp0_other_with_cast.t3x_1))
|
|
81319
81341
|
return false;
|
|
81320
|
-
if (!equals(this.
|
|
81342
|
+
if (!equals(this.u3x_1, tmp0_other_with_cast.u3x_1))
|
|
81321
81343
|
return false;
|
|
81322
81344
|
return true;
|
|
81323
81345
|
};
|
|
@@ -81326,10 +81348,10 @@ function requireClientsdkClientcore () {
|
|
|
81326
81348
|
this.statusCode = statusCode;
|
|
81327
81349
|
this.body = body;
|
|
81328
81350
|
}
|
|
81329
|
-
protoOf(HttpClientResponseJS).
|
|
81351
|
+
protoOf(HttpClientResponseJS).w3x = function () {
|
|
81330
81352
|
return this.statusCode;
|
|
81331
81353
|
};
|
|
81332
|
-
protoOf(HttpClientResponseJS).
|
|
81354
|
+
protoOf(HttpClientResponseJS).r3r = function () {
|
|
81333
81355
|
return this.body;
|
|
81334
81356
|
};
|
|
81335
81357
|
protoOf(HttpClientResponseJS).o5 = function () {
|
|
@@ -81338,13 +81360,13 @@ function requireClientsdkClientcore () {
|
|
|
81338
81360
|
protoOf(HttpClientResponseJS).p5 = function () {
|
|
81339
81361
|
return this.body;
|
|
81340
81362
|
};
|
|
81341
|
-
protoOf(HttpClientResponseJS).
|
|
81363
|
+
protoOf(HttpClientResponseJS).x3x = function (statusCode, body) {
|
|
81342
81364
|
return new HttpClientResponseJS(statusCode, body);
|
|
81343
81365
|
};
|
|
81344
81366
|
protoOf(HttpClientResponseJS).copy = function (statusCode, body, $super) {
|
|
81345
81367
|
statusCode = statusCode === VOID ? this.statusCode : statusCode;
|
|
81346
81368
|
body = body === VOID ? this.body : body;
|
|
81347
|
-
return this.
|
|
81369
|
+
return this.x3x(statusCode, body);
|
|
81348
81370
|
};
|
|
81349
81371
|
protoOf(HttpClientResponseJS).toString = function () {
|
|
81350
81372
|
return 'HttpClientResponseJS(statusCode=' + this.statusCode + ', body=' + this.body + ')';
|
|
@@ -81394,46 +81416,42 @@ function requireClientsdkClientcore () {
|
|
|
81394
81416
|
return REASON_PING_TIMEOUT;
|
|
81395
81417
|
}
|
|
81396
81418
|
var REASON_PING_TIMEOUT;
|
|
81397
|
-
|
|
81398
|
-
|
|
81399
|
-
|
|
81400
|
-
|
|
81401
|
-
|
|
81402
|
-
return [CancelReasonJS_RemoteCancel_getInstance(), CancelReasonJS_AnsweredElsewhere_getInstance(), CancelReasonJS_RejectedElsewhere_getInstance(), CancelReasonJS_RemoteTimeout_getInstance()];
|
|
81403
|
-
}
|
|
81404
|
-
function valueOf_12(value) {
|
|
81405
|
-
switch (value) {
|
|
81406
|
-
case 'RemoteCancel':
|
|
81407
|
-
return CancelReasonJS_RemoteCancel_getInstance();
|
|
81408
|
-
case 'AnsweredElsewhere':
|
|
81409
|
-
return CancelReasonJS_AnsweredElsewhere_getInstance();
|
|
81410
|
-
case 'RejectedElsewhere':
|
|
81411
|
-
return CancelReasonJS_RejectedElsewhere_getInstance();
|
|
81412
|
-
case 'RemoteTimeout':
|
|
81413
|
-
return CancelReasonJS_RemoteTimeout_getInstance();
|
|
81414
|
-
default:
|
|
81415
|
-
CancelReasonJS_initEntries();
|
|
81416
|
-
THROW_IAE('No enum constant value.');
|
|
81417
|
-
break;
|
|
81418
|
-
}
|
|
81419
|
+
function CancelReasonJSObject() {
|
|
81420
|
+
this.RemoteCancel = 'RemoteCancel';
|
|
81421
|
+
this.AnsweredElsewhere = 'AnsweredElsewhere';
|
|
81422
|
+
this.RejectedElsewhere = 'RejectedElsewhere';
|
|
81423
|
+
this.RemoteTimeout = 'RemoteTimeout';
|
|
81419
81424
|
}
|
|
81420
|
-
|
|
81421
|
-
|
|
81422
|
-
|
|
81423
|
-
|
|
81424
|
-
|
|
81425
|
-
|
|
81426
|
-
|
|
81427
|
-
|
|
81428
|
-
|
|
81429
|
-
|
|
81430
|
-
|
|
81431
|
-
|
|
81432
|
-
|
|
81433
|
-
|
|
81434
|
-
|
|
81435
|
-
|
|
81425
|
+
protoOf(CancelReasonJSObject).y3x = function () {
|
|
81426
|
+
return this.RemoteCancel;
|
|
81427
|
+
};
|
|
81428
|
+
protoOf(CancelReasonJSObject).z3x = function () {
|
|
81429
|
+
return this.AnsweredElsewhere;
|
|
81430
|
+
};
|
|
81431
|
+
protoOf(CancelReasonJSObject).a3y = function () {
|
|
81432
|
+
return this.RejectedElsewhere;
|
|
81433
|
+
};
|
|
81434
|
+
protoOf(CancelReasonJSObject).b3y = function () {
|
|
81435
|
+
return this.RemoteTimeout;
|
|
81436
|
+
};
|
|
81437
|
+
protoOf(CancelReasonJSObject).toString = function () {
|
|
81438
|
+
return 'CancelReasonJSObject';
|
|
81439
|
+
};
|
|
81440
|
+
protoOf(CancelReasonJSObject).hashCode = function () {
|
|
81441
|
+
return 1773502666;
|
|
81442
|
+
};
|
|
81443
|
+
protoOf(CancelReasonJSObject).equals = function (other) {
|
|
81444
|
+
if (this === other)
|
|
81445
|
+
return true;
|
|
81446
|
+
if (!(other instanceof CancelReasonJSObject))
|
|
81447
|
+
return false;
|
|
81448
|
+
other instanceof CancelReasonJSObject || THROW_CCE();
|
|
81449
|
+
return true;
|
|
81436
81450
|
};
|
|
81451
|
+
var CancelReasonJSObject_instance;
|
|
81452
|
+
function CancelReasonJSObject_getInstance() {
|
|
81453
|
+
return CancelReasonJSObject_instance;
|
|
81454
|
+
}
|
|
81437
81455
|
function RTCQualityJS(mos_score, quality_percentage, jitter_min_var, jitter_max_var, jitter_loss_rate, jitter_burst_rate, flaw_total, packet_cnt, packet_loss_perc) {
|
|
81438
81456
|
this.mos_score = mos_score;
|
|
81439
81457
|
this.quality_percentage = quality_percentage;
|
|
@@ -81445,31 +81463,31 @@ function requireClientsdkClientcore () {
|
|
|
81445
81463
|
this.packet_cnt = packet_cnt;
|
|
81446
81464
|
this.packet_loss_perc = packet_loss_perc;
|
|
81447
81465
|
}
|
|
81448
|
-
protoOf(RTCQualityJS).
|
|
81466
|
+
protoOf(RTCQualityJS).c3y = function () {
|
|
81449
81467
|
return this.mos_score;
|
|
81450
81468
|
};
|
|
81451
|
-
protoOf(RTCQualityJS).
|
|
81469
|
+
protoOf(RTCQualityJS).d3y = function () {
|
|
81452
81470
|
return this.quality_percentage;
|
|
81453
81471
|
};
|
|
81454
|
-
protoOf(RTCQualityJS).
|
|
81472
|
+
protoOf(RTCQualityJS).e3y = function () {
|
|
81455
81473
|
return this.jitter_min_var;
|
|
81456
81474
|
};
|
|
81457
|
-
protoOf(RTCQualityJS).
|
|
81475
|
+
protoOf(RTCQualityJS).f3y = function () {
|
|
81458
81476
|
return this.jitter_max_var;
|
|
81459
81477
|
};
|
|
81460
|
-
protoOf(RTCQualityJS).
|
|
81478
|
+
protoOf(RTCQualityJS).g3y = function () {
|
|
81461
81479
|
return this.jitter_loss_rate;
|
|
81462
81480
|
};
|
|
81463
|
-
protoOf(RTCQualityJS).
|
|
81481
|
+
protoOf(RTCQualityJS).h3y = function () {
|
|
81464
81482
|
return this.jitter_burst_rate;
|
|
81465
81483
|
};
|
|
81466
|
-
protoOf(RTCQualityJS).
|
|
81484
|
+
protoOf(RTCQualityJS).i3y = function () {
|
|
81467
81485
|
return this.flaw_total;
|
|
81468
81486
|
};
|
|
81469
|
-
protoOf(RTCQualityJS).
|
|
81487
|
+
protoOf(RTCQualityJS).j3y = function () {
|
|
81470
81488
|
return this.packet_cnt;
|
|
81471
81489
|
};
|
|
81472
|
-
protoOf(RTCQualityJS).
|
|
81490
|
+
protoOf(RTCQualityJS).k3y = function () {
|
|
81473
81491
|
return this.packet_loss_perc;
|
|
81474
81492
|
};
|
|
81475
81493
|
protoOf(RTCQualityJS).o5 = function () {
|
|
@@ -81478,28 +81496,28 @@ function requireClientsdkClientcore () {
|
|
|
81478
81496
|
protoOf(RTCQualityJS).p5 = function () {
|
|
81479
81497
|
return this.quality_percentage;
|
|
81480
81498
|
};
|
|
81481
|
-
protoOf(RTCQualityJS).
|
|
81499
|
+
protoOf(RTCQualityJS).l3y = function () {
|
|
81482
81500
|
return this.jitter_min_var;
|
|
81483
81501
|
};
|
|
81484
|
-
protoOf(RTCQualityJS).
|
|
81502
|
+
protoOf(RTCQualityJS).m3y = function () {
|
|
81485
81503
|
return this.jitter_max_var;
|
|
81486
81504
|
};
|
|
81487
|
-
protoOf(RTCQualityJS).
|
|
81505
|
+
protoOf(RTCQualityJS).n3y = function () {
|
|
81488
81506
|
return this.jitter_loss_rate;
|
|
81489
81507
|
};
|
|
81490
|
-
protoOf(RTCQualityJS).
|
|
81508
|
+
protoOf(RTCQualityJS).o3y = function () {
|
|
81491
81509
|
return this.jitter_burst_rate;
|
|
81492
81510
|
};
|
|
81493
|
-
protoOf(RTCQualityJS).
|
|
81511
|
+
protoOf(RTCQualityJS).p3y = function () {
|
|
81494
81512
|
return this.flaw_total;
|
|
81495
81513
|
};
|
|
81496
|
-
protoOf(RTCQualityJS).
|
|
81514
|
+
protoOf(RTCQualityJS).q3y = function () {
|
|
81497
81515
|
return this.packet_cnt;
|
|
81498
81516
|
};
|
|
81499
|
-
protoOf(RTCQualityJS).
|
|
81517
|
+
protoOf(RTCQualityJS).r3y = function () {
|
|
81500
81518
|
return this.packet_loss_perc;
|
|
81501
81519
|
};
|
|
81502
|
-
protoOf(RTCQualityJS).
|
|
81520
|
+
protoOf(RTCQualityJS).s3y = function (mos_score, quality_percentage, jitter_min_var, jitter_max_var, jitter_loss_rate, jitter_burst_rate, flaw_total, packet_cnt, packet_loss_perc) {
|
|
81503
81521
|
return new RTCQualityJS(mos_score, quality_percentage, jitter_min_var, jitter_max_var, jitter_loss_rate, jitter_burst_rate, flaw_total, packet_cnt, packet_loss_perc);
|
|
81504
81522
|
};
|
|
81505
81523
|
protoOf(RTCQualityJS).copy = function (mos_score, quality_percentage, jitter_min_var, jitter_max_var, jitter_loss_rate, jitter_burst_rate, flaw_total, packet_cnt, packet_loss_perc, $super) {
|
|
@@ -81512,7 +81530,7 @@ function requireClientsdkClientcore () {
|
|
|
81512
81530
|
flaw_total = flaw_total === VOID ? this.flaw_total : flaw_total;
|
|
81513
81531
|
packet_cnt = packet_cnt === VOID ? this.packet_cnt : packet_cnt;
|
|
81514
81532
|
packet_loss_perc = packet_loss_perc === VOID ? this.packet_loss_perc : packet_loss_perc;
|
|
81515
|
-
return this.
|
|
81533
|
+
return this.s3y(mos_score, quality_percentage, jitter_min_var, jitter_max_var, jitter_loss_rate, jitter_burst_rate, flaw_total, packet_cnt, packet_loss_perc);
|
|
81516
81534
|
};
|
|
81517
81535
|
protoOf(RTCQualityJS).toString = function () {
|
|
81518
81536
|
return 'RTCQualityJS(mos_score=' + this.mos_score + ', quality_percentage=' + this.quality_percentage + ', jitter_min_var=' + this.jitter_min_var + ', jitter_max_var=' + this.jitter_max_var + ', jitter_loss_rate=' + this.jitter_loss_rate + ', jitter_burst_rate=' + this.jitter_burst_rate + ', flaw_total=' + this.flaw_total + ', packet_cnt=' + this.packet_cnt + ', packet_loss_perc=' + this.packet_loss_perc + ')';
|
|
@@ -81557,7 +81575,7 @@ function requireClientsdkClientcore () {
|
|
|
81557
81575
|
};
|
|
81558
81576
|
function Companion() {
|
|
81559
81577
|
}
|
|
81560
|
-
protoOf(Companion).
|
|
81578
|
+
protoOf(Companion).y3q = function (stats) {
|
|
81561
81579
|
return new RTCStatsJS(stats.y3k_1, stats.z3k_1, stats.a3l_1, stats.b3l_1, stats.c3l_1, stats.d3l_1, stats.e3l_1, stats.f3l_1, stats.g3l_1);
|
|
81562
81580
|
};
|
|
81563
81581
|
var Companion_instance_0;
|
|
@@ -81575,34 +81593,34 @@ function requireClientsdkClientcore () {
|
|
|
81575
81593
|
this.audioRtt = audioRtt;
|
|
81576
81594
|
this.audioSentJitter = audioSentJitter;
|
|
81577
81595
|
}
|
|
81578
|
-
protoOf(RTCStatsJS).
|
|
81596
|
+
protoOf(RTCStatsJS).t3y = function () {
|
|
81579
81597
|
return this.audioRecvPackets;
|
|
81580
81598
|
};
|
|
81581
|
-
protoOf(RTCStatsJS).
|
|
81599
|
+
protoOf(RTCStatsJS).u3y = function () {
|
|
81582
81600
|
return this.audioRecvPacketsLost;
|
|
81583
81601
|
};
|
|
81584
|
-
protoOf(RTCStatsJS).
|
|
81602
|
+
protoOf(RTCStatsJS).v3y = function () {
|
|
81585
81603
|
return this.audioRecvBytes;
|
|
81586
81604
|
};
|
|
81587
|
-
protoOf(RTCStatsJS).
|
|
81605
|
+
protoOf(RTCStatsJS).w3y = function () {
|
|
81588
81606
|
return this.audioRecvJitter;
|
|
81589
81607
|
};
|
|
81590
|
-
protoOf(RTCStatsJS).
|
|
81608
|
+
protoOf(RTCStatsJS).x3y = function () {
|
|
81591
81609
|
return this.audioSentPackets;
|
|
81592
81610
|
};
|
|
81593
|
-
protoOf(RTCStatsJS).
|
|
81611
|
+
protoOf(RTCStatsJS).y3y = function () {
|
|
81594
81612
|
return this.audioSentBytes;
|
|
81595
81613
|
};
|
|
81596
|
-
protoOf(RTCStatsJS).
|
|
81614
|
+
protoOf(RTCStatsJS).z3y = function () {
|
|
81597
81615
|
return this.audioSentPacketsLost;
|
|
81598
81616
|
};
|
|
81599
|
-
protoOf(RTCStatsJS).
|
|
81617
|
+
protoOf(RTCStatsJS).a3z = function () {
|
|
81600
81618
|
return this.audioRtt;
|
|
81601
81619
|
};
|
|
81602
|
-
protoOf(RTCStatsJS).
|
|
81620
|
+
protoOf(RTCStatsJS).b3z = function () {
|
|
81603
81621
|
return this.audioSentJitter;
|
|
81604
81622
|
};
|
|
81605
|
-
protoOf(RTCStatsJS).
|
|
81623
|
+
protoOf(RTCStatsJS).c3z = function () {
|
|
81606
81624
|
return new RTCStats(numberToLong(this.audioRecvPackets), numberToInt(this.audioRecvPacketsLost), numberToLong(this.audioRecvBytes), numberToDouble(this.audioRecvJitter), numberToLong(this.audioSentPackets), numberToLong(this.audioSentBytes), numberToInt(this.audioSentPacketsLost), numberToDouble(this.audioRtt), numberToDouble(this.audioSentJitter));
|
|
81607
81625
|
};
|
|
81608
81626
|
protoOf(RTCStatsJS).o5 = function () {
|
|
@@ -81611,28 +81629,28 @@ function requireClientsdkClientcore () {
|
|
|
81611
81629
|
protoOf(RTCStatsJS).p5 = function () {
|
|
81612
81630
|
return this.audioRecvPacketsLost;
|
|
81613
81631
|
};
|
|
81614
|
-
protoOf(RTCStatsJS).
|
|
81632
|
+
protoOf(RTCStatsJS).l3y = function () {
|
|
81615
81633
|
return this.audioRecvBytes;
|
|
81616
81634
|
};
|
|
81617
|
-
protoOf(RTCStatsJS).
|
|
81635
|
+
protoOf(RTCStatsJS).m3y = function () {
|
|
81618
81636
|
return this.audioRecvJitter;
|
|
81619
81637
|
};
|
|
81620
|
-
protoOf(RTCStatsJS).
|
|
81638
|
+
protoOf(RTCStatsJS).n3y = function () {
|
|
81621
81639
|
return this.audioSentPackets;
|
|
81622
81640
|
};
|
|
81623
|
-
protoOf(RTCStatsJS).
|
|
81641
|
+
protoOf(RTCStatsJS).o3y = function () {
|
|
81624
81642
|
return this.audioSentBytes;
|
|
81625
81643
|
};
|
|
81626
|
-
protoOf(RTCStatsJS).
|
|
81644
|
+
protoOf(RTCStatsJS).p3y = function () {
|
|
81627
81645
|
return this.audioSentPacketsLost;
|
|
81628
81646
|
};
|
|
81629
|
-
protoOf(RTCStatsJS).
|
|
81647
|
+
protoOf(RTCStatsJS).q3y = function () {
|
|
81630
81648
|
return this.audioRtt;
|
|
81631
81649
|
};
|
|
81632
|
-
protoOf(RTCStatsJS).
|
|
81650
|
+
protoOf(RTCStatsJS).r3y = function () {
|
|
81633
81651
|
return this.audioSentJitter;
|
|
81634
81652
|
};
|
|
81635
|
-
protoOf(RTCStatsJS).
|
|
81653
|
+
protoOf(RTCStatsJS).d3z = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter) {
|
|
81636
81654
|
return new RTCStatsJS(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter);
|
|
81637
81655
|
};
|
|
81638
81656
|
protoOf(RTCStatsJS).copy = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, $super) {
|
|
@@ -81645,7 +81663,7 @@ function requireClientsdkClientcore () {
|
|
|
81645
81663
|
audioSentPacketsLost = audioSentPacketsLost === VOID ? this.audioSentPacketsLost : audioSentPacketsLost;
|
|
81646
81664
|
audioRtt = audioRtt === VOID ? this.audioRtt : audioRtt;
|
|
81647
81665
|
audioSentJitter = audioSentJitter === VOID ? this.audioSentJitter : audioSentJitter;
|
|
81648
|
-
return this.
|
|
81666
|
+
return this.d3z(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter);
|
|
81649
81667
|
};
|
|
81650
81668
|
protoOf(RTCStatsJS).toString = function () {
|
|
81651
81669
|
return 'RTCStatsJS(audioRecvPackets=' + toString(this.audioRecvPackets) + ', audioRecvPacketsLost=' + toString(this.audioRecvPacketsLost) + ', audioRecvBytes=' + toString(this.audioRecvBytes) + ', audioRecvJitter=' + toString(this.audioRecvJitter) + ', audioSentPackets=' + toString(this.audioSentPackets) + ', audioSentBytes=' + toString(this.audioSentBytes) + ', audioSentPacketsLost=' + toString(this.audioSentPacketsLost) + ', audioRtt=' + toString(this.audioRtt) + ', audioSentJitter=' + toString(this.audioSentJitter) + ')';
|
|
@@ -81691,20 +81709,20 @@ function requireClientsdkClientcore () {
|
|
|
81691
81709
|
function HttpClientJSAdapter(js) {
|
|
81692
81710
|
return new HttpClientJSAdapter$1(js);
|
|
81693
81711
|
}
|
|
81694
|
-
function
|
|
81712
|
+
function map_14(_this__u8e3s4) {
|
|
81695
81713
|
var tmp;
|
|
81696
81714
|
switch (_this__u8e3s4.z7_1) {
|
|
81697
81715
|
case 2:
|
|
81698
|
-
tmp =
|
|
81716
|
+
tmp = CancelReasonJSObject_instance.RemoteCancel;
|
|
81699
81717
|
break;
|
|
81700
81718
|
case 0:
|
|
81701
|
-
tmp =
|
|
81719
|
+
tmp = CancelReasonJSObject_instance.AnsweredElsewhere;
|
|
81702
81720
|
break;
|
|
81703
81721
|
case 1:
|
|
81704
|
-
tmp =
|
|
81722
|
+
tmp = CancelReasonJSObject_instance.RejectedElsewhere;
|
|
81705
81723
|
break;
|
|
81706
81724
|
case 3:
|
|
81707
|
-
tmp =
|
|
81725
|
+
tmp = CancelReasonJSObject_instance.RemoteTimeout;
|
|
81708
81726
|
break;
|
|
81709
81727
|
default:
|
|
81710
81728
|
noWhenBranchMatchedException();
|
|
@@ -81712,7 +81730,7 @@ function requireClientsdkClientcore () {
|
|
|
81712
81730
|
}
|
|
81713
81731
|
return tmp;
|
|
81714
81732
|
}
|
|
81715
|
-
function
|
|
81733
|
+
function map_15(_this__u8e3s4) {
|
|
81716
81734
|
return new RTCQualityJS(_this__u8e3s4.b3e_1, _this__u8e3s4.c3e_1, _this__u8e3s4.d3e_1, _this__u8e3s4.e3e_1, _this__u8e3s4.f3e_1, _this__u8e3s4.g3e_1, _this__u8e3s4.h3e_1, _this__u8e3s4.i3e_1, _this__u8e3s4.j3e_1);
|
|
81717
81735
|
}
|
|
81718
81736
|
function SocketClientJSAdapter(js) {
|
|
@@ -81765,7 +81783,7 @@ function requireClientsdkClientcore () {
|
|
|
81765
81783
|
};
|
|
81766
81784
|
}
|
|
81767
81785
|
function HttpClientJSAdapter$1($js) {
|
|
81768
|
-
this.
|
|
81786
|
+
this.e3z_1 = $js;
|
|
81769
81787
|
}
|
|
81770
81788
|
protoOf(HttpClientJSAdapter$1).j3h = function (verb, url, headers, body, callback) {
|
|
81771
81789
|
var tmp = verb.toString();
|
|
@@ -81773,7 +81791,7 @@ function requireClientsdkClientcore () {
|
|
|
81773
81791
|
// Inline function 'kotlin.contracts.contract' call
|
|
81774
81792
|
// Inline function 'vonage.<no name provided>.request.<anonymous>' call
|
|
81775
81793
|
var tmp_0 = fromMap(JSON, headers);
|
|
81776
|
-
this.
|
|
81794
|
+
this.e3z_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
|
|
81777
81795
|
};
|
|
81778
81796
|
function SocketClientJSAdapter$o$emit$lambda($callback) {
|
|
81779
81797
|
return function (err, response) {
|
|
@@ -81791,11 +81809,11 @@ function requireClientsdkClientcore () {
|
|
|
81791
81809
|
};
|
|
81792
81810
|
}
|
|
81793
81811
|
function SocketClientJSAdapter$adapter$1($js) {
|
|
81794
|
-
this.
|
|
81795
|
-
this.
|
|
81812
|
+
this.g3z_1 = $js;
|
|
81813
|
+
this.f3z_1 = null;
|
|
81796
81814
|
}
|
|
81797
81815
|
protoOf(SocketClientJSAdapter$adapter$1).m3h = function (_set____db54di) {
|
|
81798
|
-
this.
|
|
81816
|
+
this.f3z_1 = _set____db54di;
|
|
81799
81817
|
};
|
|
81800
81818
|
protoOf(SocketClientJSAdapter$adapter$1).n3h = function (type, msg, callback) {
|
|
81801
81819
|
var tmp;
|
|
@@ -81808,28 +81826,28 @@ function requireClientsdkClientcore () {
|
|
|
81808
81826
|
tmp = fromMap(JSON, msg);
|
|
81809
81827
|
}
|
|
81810
81828
|
var tmp_0 = tmp;
|
|
81811
|
-
this.
|
|
81829
|
+
this.g3z_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
|
|
81812
81830
|
};
|
|
81813
81831
|
protoOf(SocketClientJSAdapter$adapter$1).o3h = function (host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, sessionId, query) {
|
|
81814
|
-
this.
|
|
81832
|
+
this.g3z_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, sessionId, query);
|
|
81815
81833
|
};
|
|
81816
81834
|
protoOf(SocketClientJSAdapter$adapter$1).p3h = function () {
|
|
81817
|
-
this.
|
|
81835
|
+
this.g3z_1.disconnect();
|
|
81818
81836
|
};
|
|
81819
81837
|
protoOf(SocketClientJSAdapter$adapter$1).q3h = function (sessionId, token) {
|
|
81820
|
-
this.
|
|
81838
|
+
this.g3z_1.setConnectParamsSocketConfig(sessionId, token);
|
|
81821
81839
|
};
|
|
81822
81840
|
protoOf(SocketClientJSAdapter$adapter$1).r3h = function (sessionId) {
|
|
81823
|
-
this.
|
|
81841
|
+
this.g3z_1.setSocketSessionId(sessionId);
|
|
81824
81842
|
};
|
|
81825
81843
|
protoOf(SocketClientJSAdapter$adapter$1).s3h = function (milliseconds, callback) {
|
|
81826
|
-
this.
|
|
81844
|
+
this.g3z_1.startVerifyResponseTimer(milliseconds, callback);
|
|
81827
81845
|
};
|
|
81828
81846
|
function SocketClientJSAdapter$1($adapter) {
|
|
81829
|
-
this.
|
|
81847
|
+
this.h3z_1 = $adapter;
|
|
81830
81848
|
}
|
|
81831
81849
|
protoOf(SocketClientJSAdapter$1).didReceiveNewSocketEvent = function (body) {
|
|
81832
|
-
var tmp0_safe_receiver = this.
|
|
81850
|
+
var tmp0_safe_receiver = this.h3z_1.f3z_1;
|
|
81833
81851
|
if (tmp0_safe_receiver == null)
|
|
81834
81852
|
null;
|
|
81835
81853
|
else {
|
|
@@ -81862,7 +81880,7 @@ function requireClientsdkClientcore () {
|
|
|
81862
81880
|
var tmp;
|
|
81863
81881
|
switch (reason) {
|
|
81864
81882
|
case 'NXMCORE_REASON_SERVER_DISCONNECTED':
|
|
81865
|
-
var tmp1_safe_receiver_0 = this.
|
|
81883
|
+
var tmp1_safe_receiver_0 = this.h3z_1.f3z_1;
|
|
81866
81884
|
var tmp_0;
|
|
81867
81885
|
if (tmp1_safe_receiver_0 == null) {
|
|
81868
81886
|
tmp_0 = null;
|
|
@@ -81874,7 +81892,7 @@ function requireClientsdkClientcore () {
|
|
|
81874
81892
|
tmp = tmp_0;
|
|
81875
81893
|
break;
|
|
81876
81894
|
case 'NXMCORE_REASON_CLIENT_DISCONNECTED':
|
|
81877
|
-
var tmp2_safe_receiver = this.
|
|
81895
|
+
var tmp2_safe_receiver = this.h3z_1.f3z_1;
|
|
81878
81896
|
var tmp_1;
|
|
81879
81897
|
if (tmp2_safe_receiver == null) {
|
|
81880
81898
|
tmp_1 = null;
|
|
@@ -81886,7 +81904,7 @@ function requireClientsdkClientcore () {
|
|
|
81886
81904
|
tmp = tmp_1;
|
|
81887
81905
|
break;
|
|
81888
81906
|
case 'NXMCORE_CLIENT_NETWORK_ERROR':
|
|
81889
|
-
var tmp3_safe_receiver = this.
|
|
81907
|
+
var tmp3_safe_receiver = this.h3z_1.f3z_1;
|
|
81890
81908
|
var tmp_2;
|
|
81891
81909
|
if (tmp3_safe_receiver == null) {
|
|
81892
81910
|
tmp_2 = null;
|
|
@@ -81898,7 +81916,7 @@ function requireClientsdkClientcore () {
|
|
|
81898
81916
|
tmp = tmp_2;
|
|
81899
81917
|
break;
|
|
81900
81918
|
case 'NXMCORE_REASON_PING_TIMEOUT':
|
|
81901
|
-
var tmp4_safe_receiver = this.
|
|
81919
|
+
var tmp4_safe_receiver = this.h3z_1.f3z_1;
|
|
81902
81920
|
var tmp_3;
|
|
81903
81921
|
if (tmp4_safe_receiver == null) {
|
|
81904
81922
|
tmp_3 = null;
|
|
@@ -81910,7 +81928,7 @@ function requireClientsdkClientcore () {
|
|
|
81910
81928
|
tmp = tmp_3;
|
|
81911
81929
|
break;
|
|
81912
81930
|
default:
|
|
81913
|
-
var tmp5_safe_receiver = this.
|
|
81931
|
+
var tmp5_safe_receiver = this.h3z_1.f3z_1;
|
|
81914
81932
|
var tmp_4;
|
|
81915
81933
|
if (tmp5_safe_receiver == null) {
|
|
81916
81934
|
tmp_4 = null;
|
|
@@ -81926,88 +81944,88 @@ function requireClientsdkClientcore () {
|
|
|
81926
81944
|
};
|
|
81927
81945
|
function MediaClientJSAdapter$o$processAnswer$lambda($closure) {
|
|
81928
81946
|
return function (it) {
|
|
81929
|
-
$closure(it == null ? null : it.
|
|
81947
|
+
$closure(it == null ? null : it.x3v());
|
|
81930
81948
|
return Unit_instance;
|
|
81931
81949
|
};
|
|
81932
81950
|
}
|
|
81933
81951
|
function MediaClientJSAdapter$o$disableMedia$lambda($closure) {
|
|
81934
81952
|
return function (it) {
|
|
81935
|
-
$closure(it == null ? null : it.
|
|
81953
|
+
$closure(it == null ? null : it.x3v());
|
|
81936
81954
|
return Unit_instance;
|
|
81937
81955
|
};
|
|
81938
81956
|
}
|
|
81939
81957
|
function MediaClientJSAdapter$o$mute$lambda($closure) {
|
|
81940
81958
|
return function (it) {
|
|
81941
|
-
$closure(it == null ? null : it.
|
|
81959
|
+
$closure(it == null ? null : it.x3v());
|
|
81942
81960
|
return Unit_instance;
|
|
81943
81961
|
};
|
|
81944
81962
|
}
|
|
81945
81963
|
function MediaClientJSAdapter$o$unmute$lambda($closure) {
|
|
81946
81964
|
return function (it) {
|
|
81947
|
-
$closure(it == null ? null : it.
|
|
81965
|
+
$closure(it == null ? null : it.x3v());
|
|
81948
81966
|
return Unit_instance;
|
|
81949
81967
|
};
|
|
81950
81968
|
}
|
|
81951
81969
|
function MediaClientJSAdapter$o$enableRtcStatsCollection$lambda($closure) {
|
|
81952
81970
|
return function (it) {
|
|
81953
|
-
$closure(it == null ? null : it.
|
|
81971
|
+
$closure(it == null ? null : it.x3v());
|
|
81954
81972
|
return Unit_instance;
|
|
81955
81973
|
};
|
|
81956
81974
|
}
|
|
81957
81975
|
function MediaClientJSAdapter$adapter$1($js) {
|
|
81958
|
-
this.
|
|
81959
|
-
this.
|
|
81976
|
+
this.j3z_1 = $js;
|
|
81977
|
+
this.i3z_1 = null;
|
|
81960
81978
|
}
|
|
81961
81979
|
protoOf(MediaClientJSAdapter$adapter$1).v3h = function (_set____db54di) {
|
|
81962
|
-
this.
|
|
81980
|
+
this.i3z_1 = _set____db54di;
|
|
81963
81981
|
};
|
|
81964
81982
|
protoOf(MediaClientJSAdapter$adapter$1).w3h = function () {
|
|
81965
|
-
return this.
|
|
81983
|
+
return this.i3z_1;
|
|
81966
81984
|
};
|
|
81967
81985
|
protoOf(MediaClientJSAdapter$adapter$1).x3h = function (closure) {
|
|
81968
|
-
this.
|
|
81986
|
+
this.j3z_1.enableMediaOutbound(closure);
|
|
81969
81987
|
};
|
|
81970
|
-
protoOf(MediaClientJSAdapter$adapter$1).
|
|
81971
|
-
this.
|
|
81988
|
+
protoOf(MediaClientJSAdapter$adapter$1).k3z = function (rtcId, offerSDP, closure) {
|
|
81989
|
+
this.j3z_1.enableMediaInbound(rtcId, offerSDP, closure);
|
|
81972
81990
|
};
|
|
81973
81991
|
protoOf(MediaClientJSAdapter$adapter$1).y3h = function (rtcId, offerSDP, closure) {
|
|
81974
|
-
return this.
|
|
81992
|
+
return this.k3z(rtcId, offerSDP, closure);
|
|
81975
81993
|
};
|
|
81976
81994
|
protoOf(MediaClientJSAdapter$adapter$1).z3h = function (id, sdp, closure) {
|
|
81977
|
-
this.
|
|
81995
|
+
this.j3z_1.processAnswer(id, sdp, MediaClientJSAdapter$o$processAnswer$lambda(closure));
|
|
81978
81996
|
};
|
|
81979
81997
|
protoOf(MediaClientJSAdapter$adapter$1).a3i = function (id, closure) {
|
|
81980
|
-
this.
|
|
81998
|
+
this.j3z_1.disableMedia(id, MediaClientJSAdapter$o$disableMedia$lambda(closure));
|
|
81981
81999
|
};
|
|
81982
82000
|
protoOf(MediaClientJSAdapter$adapter$1).b3i = function (id, closure) {
|
|
81983
|
-
this.
|
|
82001
|
+
this.j3z_1.mute(id, MediaClientJSAdapter$o$mute$lambda(closure));
|
|
81984
82002
|
};
|
|
81985
82003
|
protoOf(MediaClientJSAdapter$adapter$1).c3i = function (id, closure) {
|
|
81986
|
-
this.
|
|
82004
|
+
this.j3z_1.unmute(id, MediaClientJSAdapter$o$unmute$lambda(closure));
|
|
81987
82005
|
};
|
|
81988
82006
|
protoOf(MediaClientJSAdapter$adapter$1).e3i = function (id, closure) {
|
|
81989
82007
|
};
|
|
81990
82008
|
protoOf(MediaClientJSAdapter$adapter$1).f3i = function (id, closure) {
|
|
81991
82009
|
};
|
|
81992
82010
|
protoOf(MediaClientJSAdapter$adapter$1).d3i = function (id, interval, closure) {
|
|
81993
|
-
this.
|
|
82011
|
+
this.j3z_1.enableRtcStatsCollection(id, interval, MediaClientJSAdapter$o$enableRtcStatsCollection$lambda(closure));
|
|
81994
82012
|
};
|
|
81995
82013
|
protoOf(MediaClientJSAdapter$adapter$1).g3i = function (id) {
|
|
81996
|
-
return coreConnectionState(this.
|
|
82014
|
+
return coreConnectionState(this.j3z_1.getMediaConnectionState(id));
|
|
81997
82015
|
};
|
|
81998
82016
|
function MediaClientJSAdapter$1($adapter) {
|
|
81999
|
-
this.
|
|
82017
|
+
this.l3z_1 = $adapter;
|
|
82000
82018
|
}
|
|
82001
82019
|
protoOf(MediaClientJSAdapter$1).onRtcStats = function (id, rtcStats) {
|
|
82002
|
-
var tmp0_safe_receiver = this.
|
|
82020
|
+
var tmp0_safe_receiver = this.l3z_1.i3z_1;
|
|
82003
82021
|
if (tmp0_safe_receiver == null)
|
|
82004
82022
|
null;
|
|
82005
82023
|
else {
|
|
82006
|
-
tmp0_safe_receiver.x3i(id, rtcStats.
|
|
82024
|
+
tmp0_safe_receiver.x3i(id, rtcStats.c3z());
|
|
82007
82025
|
}
|
|
82008
82026
|
};
|
|
82009
82027
|
protoOf(MediaClientJSAdapter$1).onConnectionChange = function (id, state) {
|
|
82010
|
-
var tmp0_safe_receiver = this.
|
|
82028
|
+
var tmp0_safe_receiver = this.l3z_1.i3z_1;
|
|
82011
82029
|
if (tmp0_safe_receiver == null)
|
|
82012
82030
|
null;
|
|
82013
82031
|
else {
|
|
@@ -82015,29 +82033,13 @@ function requireClientsdkClientcore () {
|
|
|
82015
82033
|
}
|
|
82016
82034
|
};
|
|
82017
82035
|
protoOf(MediaClientJSAdapter$1).onMediaError = function (id, error) {
|
|
82018
|
-
var tmp0_safe_receiver = this.
|
|
82036
|
+
var tmp0_safe_receiver = this.l3z_1.i3z_1;
|
|
82019
82037
|
if (tmp0_safe_receiver == null)
|
|
82020
82038
|
null;
|
|
82021
82039
|
else {
|
|
82022
|
-
tmp0_safe_receiver.z3i(id, error.
|
|
82040
|
+
tmp0_safe_receiver.z3i(id, error.x3v());
|
|
82023
82041
|
}
|
|
82024
82042
|
};
|
|
82025
|
-
function CancelReasonJS_RemoteCancel_getInstance() {
|
|
82026
|
-
CancelReasonJS_initEntries();
|
|
82027
|
-
return CancelReasonJS_RemoteCancel_instance;
|
|
82028
|
-
}
|
|
82029
|
-
function CancelReasonJS_AnsweredElsewhere_getInstance() {
|
|
82030
|
-
CancelReasonJS_initEntries();
|
|
82031
|
-
return CancelReasonJS_AnsweredElsewhere_instance;
|
|
82032
|
-
}
|
|
82033
|
-
function CancelReasonJS_RejectedElsewhere_getInstance() {
|
|
82034
|
-
CancelReasonJS_initEntries();
|
|
82035
|
-
return CancelReasonJS_RejectedElsewhere_instance;
|
|
82036
|
-
}
|
|
82037
|
-
function CancelReasonJS_RemoteTimeout_getInstance() {
|
|
82038
|
-
CancelReasonJS_initEntries();
|
|
82039
|
-
return CancelReasonJS_RemoteTimeout_instance;
|
|
82040
|
-
}
|
|
82041
82043
|
function invoke(_this__u8e3s4, optionJS) {
|
|
82042
82044
|
var tmp;
|
|
82043
82045
|
if (optionJS instanceof None) {
|
|
@@ -82064,7 +82066,7 @@ function requireClientsdkClientcore () {
|
|
|
82064
82066
|
}
|
|
82065
82067
|
return tmp;
|
|
82066
82068
|
}
|
|
82067
|
-
function
|
|
82069
|
+
function map_16(_this__u8e3s4) {
|
|
82068
82070
|
var tmp1_name = _this__u8e3s4.name;
|
|
82069
82071
|
var tmp2_displayName = _this__u8e3s4.displayName;
|
|
82070
82072
|
var tmp3_imageUrl = _this__u8e3s4.imageUrl;
|
|
@@ -82074,7 +82076,7 @@ function requireClientsdkClientcore () {
|
|
|
82074
82076
|
var tmp6_customSortKey = _this__u8e3s4.customSortKey;
|
|
82075
82077
|
return new CreateConversationParameters(tmp1_name, tmp2_displayName, tmp3_imageUrl, tmp4_ttl, tmp6_customSortKey, tmp5_customData);
|
|
82076
82078
|
}
|
|
82077
|
-
function
|
|
82079
|
+
function map_17(_this__u8e3s4) {
|
|
82078
82080
|
var tmp0_name = invoke(Companion_instance, _this__u8e3s4.name);
|
|
82079
82081
|
var tmp1_displayName = invoke(Companion_instance, _this__u8e3s4.displayName);
|
|
82080
82082
|
var tmp2_imageUrl = invoke(Companion_instance, _this__u8e3s4.imageUrl);
|
|
@@ -82083,7 +82085,7 @@ function requireClientsdkClientcore () {
|
|
|
82083
82085
|
var tmp5_customSortKey = invoke(Companion_instance, _this__u8e3s4.customSortKey);
|
|
82084
82086
|
return new UpdateConversationParameters(tmp0_name, tmp1_displayName, tmp2_imageUrl, tmp3_ttl, tmp5_customSortKey, tmp4_customData);
|
|
82085
82087
|
}
|
|
82086
|
-
function
|
|
82088
|
+
function map_18(_this__u8e3s4) {
|
|
82087
82089
|
var tmp0_safe_receiver = _this__u8e3s4.order;
|
|
82088
82090
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
|
|
82089
82091
|
var tmp1_safe_receiver = _this__u8e3s4.pageSize;
|
|
@@ -82093,7 +82095,7 @@ function requireClientsdkClientcore () {
|
|
|
82093
82095
|
var tmp2_safe_receiver = _this__u8e3s4.orderBy;
|
|
82094
82096
|
return new GetConversationsParameters(tmp, tmp_0, tmp_1, tmp_2, tmp2_safe_receiver == null ? null : tmp2_safe_receiver.coreOrderBy);
|
|
82095
82097
|
}
|
|
82096
|
-
function
|
|
82098
|
+
function map_19(_this__u8e3s4) {
|
|
82097
82099
|
var tmp0_safe_receiver = _this__u8e3s4.order;
|
|
82098
82100
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
|
|
82099
82101
|
var tmp1_safe_receiver = _this__u8e3s4.pageSize;
|
|
@@ -82122,13 +82124,13 @@ function requireClientsdkClientcore () {
|
|
|
82122
82124
|
var tmp3_safe_receiver = _this__u8e3s4.startId;
|
|
82123
82125
|
return new GetConversationEventsParameters(tmp, tmp_0, tmp_1, tmp_3, tmp_4, tmp3_safe_receiver == null ? null : numberToInt(tmp3_safe_receiver));
|
|
82124
82126
|
}
|
|
82125
|
-
function
|
|
82127
|
+
function map_20(_this__u8e3s4) {
|
|
82126
82128
|
var tmp0_safe_receiver = _this__u8e3s4.order;
|
|
82127
82129
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
|
|
82128
82130
|
var tmp1_safe_receiver = _this__u8e3s4.pageSize;
|
|
82129
82131
|
return new GetConversationMembersParameters(tmp, tmp1_safe_receiver == null ? null : numberToInt(tmp1_safe_receiver), _this__u8e3s4.cursor);
|
|
82130
82132
|
}
|
|
82131
|
-
function
|
|
82133
|
+
function map_21(_this__u8e3s4) {
|
|
82132
82134
|
var tmp0_safe_receiver = _this__u8e3s4.order;
|
|
82133
82135
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
|
|
82134
82136
|
var tmp1_safe_receiver = _this__u8e3s4.pageSize;
|
|
@@ -82263,12 +82265,12 @@ function requireClientsdkClientcore () {
|
|
|
82263
82265
|
protoOf(Some).o5 = function () {
|
|
82264
82266
|
return this.value;
|
|
82265
82267
|
};
|
|
82266
|
-
protoOf(Some).
|
|
82268
|
+
protoOf(Some).m3z = function (value) {
|
|
82267
82269
|
return new Some(value);
|
|
82268
82270
|
};
|
|
82269
82271
|
protoOf(Some).copy = function (value, $super) {
|
|
82270
82272
|
value = value === VOID ? this.value : value;
|
|
82271
|
-
return this.
|
|
82273
|
+
return this.m3z(value);
|
|
82272
82274
|
};
|
|
82273
82275
|
protoOf(Some).toString = function () {
|
|
82274
82276
|
return 'Some(value=' + this.value + ')';
|
|
@@ -82482,10 +82484,10 @@ function requireClientsdkClientcore () {
|
|
|
82482
82484
|
protoOf(CombinedClientJS).disableEarmuff = disableEarmuff;
|
|
82483
82485
|
protoOf(CombinedClientJS).sendDTMF = sendDTMF;
|
|
82484
82486
|
defineProp(protoOf(CombinedClientJS), 'media', function () {
|
|
82485
|
-
return this.
|
|
82487
|
+
return this.a3r();
|
|
82486
82488
|
});
|
|
82487
82489
|
defineProp(protoOf(CombinedClientJS), 'core', function () {
|
|
82488
|
-
return this.
|
|
82490
|
+
return this.b3r();
|
|
82489
82491
|
});
|
|
82490
82492
|
defineProp(protoOf(EventStateTypeJS), 'name', protoOf(EventStateTypeJS).a9);
|
|
82491
82493
|
defineProp(protoOf(EventStateTypeJS), 'ordinal', protoOf(EventStateTypeJS).b9);
|
|
@@ -82493,39 +82495,37 @@ function requireClientsdkClientcore () {
|
|
|
82493
82495
|
defineProp(protoOf(PresentingOrderJS), 'ordinal', protoOf(PresentingOrderJS).b9);
|
|
82494
82496
|
defineProp(protoOf(OrderByJS), 'name', protoOf(OrderByJS).a9);
|
|
82495
82497
|
defineProp(protoOf(OrderByJS), 'ordinal', protoOf(OrderByJS).b9);
|
|
82496
|
-
defineProp(protoOf(ChannelTypeJS), 'name', protoOf(ChannelTypeJS).a9);
|
|
82497
|
-
defineProp(protoOf(ChannelTypeJS), 'ordinal', protoOf(ChannelTypeJS).b9);
|
|
82498
82498
|
defineProp(protoOf(VonageErrorTypeJS), 'name', protoOf(VonageErrorTypeJS).a9);
|
|
82499
82499
|
defineProp(protoOf(VonageErrorTypeJS), 'ordinal', protoOf(VonageErrorTypeJS).b9);
|
|
82500
82500
|
defineProp(protoOf(CoreClientConfigRegionJS), 'name', protoOf(CoreClientConfigRegionJS).a9);
|
|
82501
82501
|
defineProp(protoOf(CoreClientConfigRegionJS), 'ordinal', protoOf(CoreClientConfigRegionJS).b9);
|
|
82502
82502
|
defineProp(protoOf(CoreClientConfigJS), 'apiUrl', function () {
|
|
82503
|
-
return this.
|
|
82503
|
+
return this.n3w();
|
|
82504
82504
|
}, function (value) {
|
|
82505
|
-
this.
|
|
82505
|
+
this.m3w(value);
|
|
82506
82506
|
});
|
|
82507
82507
|
defineProp(protoOf(CoreClientConfigJS), 'websocketUrl', function () {
|
|
82508
|
-
return this.
|
|
82508
|
+
return this.p3w();
|
|
82509
82509
|
}, function (value) {
|
|
82510
|
-
this.
|
|
82510
|
+
this.o3w(value);
|
|
82511
82511
|
});
|
|
82512
82512
|
defineProp(protoOf(CoreClientConfigJS), 'websocketPath', function () {
|
|
82513
|
-
return this.
|
|
82513
|
+
return this.r3w();
|
|
82514
82514
|
}, function (value) {
|
|
82515
|
-
this.
|
|
82515
|
+
this.q3w(value);
|
|
82516
82516
|
});
|
|
82517
82517
|
defineProp(protoOf(CoreClientConfigJS), 'rtcStatsTelemetry', function () {
|
|
82518
|
-
return this.
|
|
82518
|
+
return this.t3w();
|
|
82519
82519
|
}, function (value) {
|
|
82520
|
-
this.
|
|
82520
|
+
this.s3w(value);
|
|
82521
82521
|
});
|
|
82522
82522
|
defineProp(protoOf(CoreClientConfigJS), 'autoReconnectMedia', function () {
|
|
82523
|
-
return this.
|
|
82523
|
+
return this.v3w();
|
|
82524
82524
|
}, function (value) {
|
|
82525
|
-
this.
|
|
82525
|
+
this.u3w(value);
|
|
82526
82526
|
});
|
|
82527
82527
|
defineProp(protoOf(CoreClientConfigJS), 'noiseSuppression', function () {
|
|
82528
|
-
return this.
|
|
82528
|
+
return this.w3w();
|
|
82529
82529
|
});
|
|
82530
82530
|
defineProp(protoOf(Topics), 'name', protoOf(Topics).a9);
|
|
82531
82531
|
defineProp(protoOf(Topics), 'ordinal', protoOf(Topics).b9);
|
|
@@ -82542,28 +82542,25 @@ function requireClientsdkClientcore () {
|
|
|
82542
82542
|
defineProp(protoOf(createVonageLoggerJS$1), 'topics', function () {
|
|
82543
82543
|
return this.k3f();
|
|
82544
82544
|
});
|
|
82545
|
-
defineProp(protoOf(LegStatusJS), 'name', protoOf(LegStatusJS).a9);
|
|
82546
|
-
defineProp(protoOf(LegStatusJS), 'ordinal', protoOf(LegStatusJS).b9);
|
|
82547
|
-
defineProp(protoOf(CallDisconnectReasonJS), 'name', protoOf(CallDisconnectReasonJS).a9);
|
|
82548
|
-
defineProp(protoOf(CallDisconnectReasonJS), 'ordinal', protoOf(CallDisconnectReasonJS).b9);
|
|
82549
|
-
defineProp(protoOf(HangupReasonJS), 'name', protoOf(HangupReasonJS).a9);
|
|
82550
|
-
defineProp(protoOf(HangupReasonJS), 'ordinal', protoOf(HangupReasonJS).b9);
|
|
82551
82545
|
defineProp(protoOf(HttpClientErrorJS), 'message', function () {
|
|
82552
82546
|
return this.ra();
|
|
82553
82547
|
});
|
|
82554
82548
|
defineProp(protoOf(HttpClientErrorJS), 'cause', function () {
|
|
82555
82549
|
return this.sa();
|
|
82556
82550
|
});
|
|
82557
|
-
defineProp(protoOf(HttpClientErrorJS), 'coreError', protoOf(HttpClientErrorJS).
|
|
82558
|
-
defineProp(protoOf(CancelReasonJS), 'name', protoOf(CancelReasonJS).a9);
|
|
82559
|
-
defineProp(protoOf(CancelReasonJS), 'ordinal', protoOf(CancelReasonJS).b9);
|
|
82551
|
+
defineProp(protoOf(HttpClientErrorJS), 'coreError', protoOf(HttpClientErrorJS).x3v);
|
|
82560
82552
|
//endregion
|
|
82561
82553
|
//region block: init
|
|
82554
|
+
VoiceChannelTypeObject_instance = new VoiceChannelTypeObject();
|
|
82562
82555
|
SystemJS_instance = new SystemJS();
|
|
82563
82556
|
ConversationStateJS_instance = new ConversationStateJS();
|
|
82564
82557
|
MemberStateJSObj_instance = new MemberStateJSObj();
|
|
82558
|
+
ChannelTypeObj_instance = new ChannelTypeObj();
|
|
82565
82559
|
CSErrorCodesJS_instance = new CSErrorCodesJS();
|
|
82566
82560
|
SessionErrorCodesJS_instance = new SessionErrorCodesJS();
|
|
82561
|
+
LegStatusJSObject_instance = new LegStatusJSObject();
|
|
82562
|
+
CallDisconnectReasonJSObject_instance = new CallDisconnectReasonJSObject();
|
|
82563
|
+
HangupReasonJSObject_instance = new HangupReasonJSObject();
|
|
82567
82564
|
SOCKET_CONNECTED = 'NXMCORE_SOCKET_CONNECTED';
|
|
82568
82565
|
SOCKET_RECONNECTING = 'NXMCORE_SOCKET_RECONNECTING';
|
|
82569
82566
|
SOCKET_DISCONNECTED = 'NXMCORE_SOCKET_DISCONNECTED';
|
|
@@ -82571,12 +82568,14 @@ function requireClientsdkClientcore () {
|
|
|
82571
82568
|
REASON_CLIENT_DISCONNECTED = 'NXMCORE_REASON_CLIENT_DISCONNECTED';
|
|
82572
82569
|
REASON_CLIENT_NETWORK_ERROR = 'NXMCORE_CLIENT_NETWORK_ERROR';
|
|
82573
82570
|
REASON_PING_TIMEOUT = 'NXMCORE_REASON_PING_TIMEOUT';
|
|
82571
|
+
CancelReasonJSObject_instance = new CancelReasonJSObject();
|
|
82574
82572
|
Companion_instance_0 = new Companion();
|
|
82575
82573
|
Companion_instance_1 = new Companion_0();
|
|
82576
82574
|
//endregion
|
|
82577
82575
|
//region block: exports
|
|
82578
82576
|
function $jsExportAll$(_) {
|
|
82579
82577
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82578
|
+
defineProp($vonage, 'VoiceChannelTypeObject', VoiceChannelTypeObject_getInstance);
|
|
82580
82579
|
$vonage.CombinedClientJS = CombinedClientJS;
|
|
82581
82580
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82582
82581
|
$vonage.EventStateTypeJS = EventStateTypeJS;
|
|
@@ -82656,28 +82655,15 @@ function requireClientsdkClientcore () {
|
|
|
82656
82655
|
$vonage.MediaStateJS = MediaStateJS;
|
|
82657
82656
|
$vonage.LegJS = LegJS;
|
|
82658
82657
|
$vonage.LegsPageJS = LegsPageJS;
|
|
82659
|
-
$vonage
|
|
82660
|
-
$vonage.ChannelTypeJS.values = values_2;
|
|
82661
|
-
$vonage.ChannelTypeJS.valueOf = valueOf_3;
|
|
82662
|
-
defineProp($vonage.ChannelTypeJS, 'APP', ChannelTypeJS_APP_getInstance);
|
|
82663
|
-
defineProp($vonage.ChannelTypeJS, 'PHONE', ChannelTypeJS_PHONE_getInstance);
|
|
82664
|
-
defineProp($vonage.ChannelTypeJS, 'PSTN', ChannelTypeJS_PSTN_getInstance);
|
|
82665
|
-
defineProp($vonage.ChannelTypeJS, 'sip', ChannelTypeJS_SIP_getInstance);
|
|
82666
|
-
defineProp($vonage.ChannelTypeJS, 'VBC', ChannelTypeJS_VBC_getInstance);
|
|
82667
|
-
defineProp($vonage.ChannelTypeJS, 'WEBSOCKET', ChannelTypeJS_WEBSOCKET_getInstance);
|
|
82668
|
-
defineProp($vonage.ChannelTypeJS, 'SMS', ChannelTypeJS_SMS_getInstance);
|
|
82669
|
-
defineProp($vonage.ChannelTypeJS, 'MMS', ChannelTypeJS_MMS_getInstance);
|
|
82670
|
-
defineProp($vonage.ChannelTypeJS, 'WHATSAPP', ChannelTypeJS_WHATSAPP_getInstance);
|
|
82671
|
-
defineProp($vonage.ChannelTypeJS, 'VIBER', ChannelTypeJS_VIBER_getInstance);
|
|
82672
|
-
defineProp($vonage.ChannelTypeJS, 'MESSENGER', ChannelTypeJS_MESSENGER_getInstance);
|
|
82658
|
+
defineProp($vonage, 'ChannelTypeObj', ChannelTypeObj_getInstance);
|
|
82673
82659
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82674
82660
|
defineProp($vonage, 'CSErrorCodesJS', CSErrorCodesJS_getInstance);
|
|
82675
82661
|
defineProp($vonage, 'SessionErrorCodesJS', SessionErrorCodesJS_getInstance);
|
|
82676
82662
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82677
82663
|
$vonage.VonageErrorJS = VonageErrorJS;
|
|
82678
82664
|
$vonage.VonageErrorTypeJS = VonageErrorTypeJS;
|
|
82679
|
-
$vonage.VonageErrorTypeJS.values =
|
|
82680
|
-
$vonage.VonageErrorTypeJS.valueOf =
|
|
82665
|
+
$vonage.VonageErrorTypeJS.values = values_2;
|
|
82666
|
+
$vonage.VonageErrorTypeJS.valueOf = valueOf_3;
|
|
82681
82667
|
defineProp($vonage.VonageErrorTypeJS, 'CS_ERROR', VonageErrorTypeJS_CS_ERROR_getInstance);
|
|
82682
82668
|
defineProp($vonage.VonageErrorTypeJS, 'NETWORK_ERROR', VonageErrorTypeJS_NETWORK_ERROR_getInstance);
|
|
82683
82669
|
defineProp($vonage.VonageErrorTypeJS, 'SESSION_ERROR', VonageErrorTypeJS_SESSION_ERROR_getInstance);
|
|
@@ -82693,16 +82679,16 @@ function requireClientsdkClientcore () {
|
|
|
82693
82679
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82694
82680
|
defineProp($vonage, 'DEFAULT_REGION', get_DEFAULT_REGION);
|
|
82695
82681
|
$vonage.CoreClientConfigRegionJS = CoreClientConfigRegionJS;
|
|
82696
|
-
$vonage.CoreClientConfigRegionJS.values =
|
|
82697
|
-
$vonage.CoreClientConfigRegionJS.valueOf =
|
|
82682
|
+
$vonage.CoreClientConfigRegionJS.values = values_3;
|
|
82683
|
+
$vonage.CoreClientConfigRegionJS.valueOf = valueOf_4;
|
|
82698
82684
|
defineProp($vonage.CoreClientConfigRegionJS, 'AP', CoreClientConfigRegionJS_AP_getInstance);
|
|
82699
82685
|
defineProp($vonage.CoreClientConfigRegionJS, 'EU', CoreClientConfigRegionJS_EU_getInstance);
|
|
82700
82686
|
defineProp($vonage.CoreClientConfigRegionJS, 'US', CoreClientConfigRegionJS_US_getInstance);
|
|
82701
82687
|
$vonage.CoreClientConfigJS = CoreClientConfigJS;
|
|
82702
82688
|
$vonage.TopicJS = TopicJS;
|
|
82703
82689
|
$vonage.Topics = Topics;
|
|
82704
|
-
$vonage.Topics.values =
|
|
82705
|
-
$vonage.Topics.valueOf =
|
|
82690
|
+
$vonage.Topics.values = values_4;
|
|
82691
|
+
$vonage.Topics.valueOf = valueOf_5;
|
|
82706
82692
|
defineProp($vonage.Topics, 'HTTP', Topics_HTTP_getInstance);
|
|
82707
82693
|
defineProp($vonage.Topics, 'WS', Topics_WS_getInstance);
|
|
82708
82694
|
defineProp($vonage.Topics, 'MEDIA', Topics_MEDIA_getInstance);
|
|
@@ -82712,8 +82698,8 @@ function requireClientsdkClientcore () {
|
|
|
82712
82698
|
defineProp($vonage.Topics, 'DEFAULT', Topics_DEFAULT_getInstance);
|
|
82713
82699
|
$vonage.createVonageLoggerJS = createVonageLoggerJS;
|
|
82714
82700
|
$vonage.LoggingLevelJS = LoggingLevelJS;
|
|
82715
|
-
$vonage.LoggingLevelJS.values =
|
|
82716
|
-
$vonage.LoggingLevelJS.valueOf =
|
|
82701
|
+
$vonage.LoggingLevelJS.values = values_5;
|
|
82702
|
+
$vonage.LoggingLevelJS.valueOf = valueOf_6;
|
|
82717
82703
|
defineProp($vonage.LoggingLevelJS, 'Verbose', LoggingLevelJS_Verbose_getInstance);
|
|
82718
82704
|
defineProp($vonage.LoggingLevelJS, 'Debug', LoggingLevelJS_Debug_getInstance);
|
|
82719
82705
|
defineProp($vonage.LoggingLevelJS, 'Info', LoggingLevelJS_Info_getInstance);
|
|
@@ -82723,30 +82709,15 @@ function requireClientsdkClientcore () {
|
|
|
82723
82709
|
defineProp($vonage, 'DEFAULT_LOGGING_LEVEL', get_DEFAULT_LOGGING_LEVEL);
|
|
82724
82710
|
$vonage.setDefaultLoggingLevel = setDefaultLoggingLevel;
|
|
82725
82711
|
$vonage.SessionErrorReasonJS = SessionErrorReasonJS;
|
|
82726
|
-
$vonage.SessionErrorReasonJS.values =
|
|
82727
|
-
$vonage.SessionErrorReasonJS.valueOf =
|
|
82712
|
+
$vonage.SessionErrorReasonJS.values = values_6;
|
|
82713
|
+
$vonage.SessionErrorReasonJS.valueOf = valueOf_7;
|
|
82728
82714
|
defineProp($vonage.SessionErrorReasonJS, 'EXPIRED_TOKEN', SessionErrorReasonJS_EXPIRED_TOKEN_getInstance);
|
|
82729
82715
|
defineProp($vonage.SessionErrorReasonJS, 'TRANSPORT_CLOSED', SessionErrorReasonJS_TRANSPORT_CLOSED_getInstance);
|
|
82730
82716
|
defineProp($vonage.SessionErrorReasonJS, 'PING_TIMEOUT', SessionErrorReasonJS_PING_TIMEOUT_getInstance);
|
|
82731
82717
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82732
|
-
$vonage
|
|
82733
|
-
$vonage
|
|
82734
|
-
$vonage
|
|
82735
|
-
defineProp($vonage.LegStatusJS, 'RINGING', LegStatusJS_RINGING_getInstance);
|
|
82736
|
-
defineProp($vonage.LegStatusJS, 'ANSWERED', LegStatusJS_ANSWERED_getInstance);
|
|
82737
|
-
defineProp($vonage.LegStatusJS, 'COMPLETED', LegStatusJS_COMPLETED_getInstance);
|
|
82738
|
-
$vonage.CallDisconnectReasonJS = CallDisconnectReasonJS;
|
|
82739
|
-
$vonage.CallDisconnectReasonJS.values = values_9;
|
|
82740
|
-
$vonage.CallDisconnectReasonJS.valueOf = valueOf_10;
|
|
82741
|
-
defineProp($vonage.CallDisconnectReasonJS, 'networkChange', CallDisconnectReasonJS_NetworkChange_getInstance);
|
|
82742
|
-
$vonage.HangupReasonJS = HangupReasonJS;
|
|
82743
|
-
$vonage.HangupReasonJS.values = values_10;
|
|
82744
|
-
$vonage.HangupReasonJS.valueOf = valueOf_11;
|
|
82745
|
-
defineProp($vonage.HangupReasonJS, 'REMOTE_HANGUP', HangupReasonJS_REMOTE_HANGUP_getInstance);
|
|
82746
|
-
defineProp($vonage.HangupReasonJS, 'REMOTE_REJECT', HangupReasonJS_REMOTE_REJECT_getInstance);
|
|
82747
|
-
defineProp($vonage.HangupReasonJS, 'REMOTE_NO_ANSWER_TIMEOUT', HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance);
|
|
82748
|
-
defineProp($vonage.HangupReasonJS, 'LOCAL_HANGUP', HangupReasonJS_LOCAL_HANGUP_getInstance);
|
|
82749
|
-
defineProp($vonage.HangupReasonJS, 'MEDIA_TIMEOUT', HangupReasonJS_MEDIA_TIMEOUT_getInstance);
|
|
82718
|
+
defineProp($vonage, 'LegStatusJSObject', LegStatusJSObject_getInstance);
|
|
82719
|
+
defineProp($vonage, 'CallDisconnectReasonJSObject', CallDisconnectReasonJSObject_getInstance);
|
|
82720
|
+
defineProp($vonage, 'HangupReasonJSObject', HangupReasonJSObject_getInstance);
|
|
82750
82721
|
$vonage.VoiceInviteFromInfoJS = VoiceInviteFromInfoJS;
|
|
82751
82722
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82752
82723
|
$vonage.HttpClientErrorJS = HttpClientErrorJS;
|
|
@@ -82758,13 +82729,7 @@ function requireClientsdkClientcore () {
|
|
|
82758
82729
|
defineProp($vonage, 'REASON_CLIENT_DISCONNECTED', get_REASON_CLIENT_DISCONNECTED);
|
|
82759
82730
|
defineProp($vonage, 'REASON_CLIENT_NETWORK_ERROR', get_REASON_CLIENT_NETWORK_ERROR);
|
|
82760
82731
|
defineProp($vonage, 'REASON_PING_TIMEOUT', get_REASON_PING_TIMEOUT);
|
|
82761
|
-
$vonage
|
|
82762
|
-
$vonage.CancelReasonJS.values = values_11;
|
|
82763
|
-
$vonage.CancelReasonJS.valueOf = valueOf_12;
|
|
82764
|
-
defineProp($vonage.CancelReasonJS, 'RemoteCancel', CancelReasonJS_RemoteCancel_getInstance);
|
|
82765
|
-
defineProp($vonage.CancelReasonJS, 'AnsweredElsewhere', CancelReasonJS_AnsweredElsewhere_getInstance);
|
|
82766
|
-
defineProp($vonage.CancelReasonJS, 'RejectedElsewhere', CancelReasonJS_RejectedElsewhere_getInstance);
|
|
82767
|
-
defineProp($vonage.CancelReasonJS, 'RemoteTimeout', CancelReasonJS_RemoteTimeout_getInstance);
|
|
82732
|
+
defineProp($vonage, 'CancelReasonJSObject', CancelReasonJSObject_getInstance);
|
|
82768
82733
|
$vonage.RTCQualityJS = RTCQualityJS;
|
|
82769
82734
|
$vonage.RTCStatsJS = RTCStatsJS;
|
|
82770
82735
|
defineProp($vonage.RTCStatsJS, 'Companion', Companion_getInstance_1);
|
|
@@ -83323,13 +83288,30 @@ class SocketClient {
|
|
|
83323
83288
|
*/
|
|
83324
83289
|
const Topics = clientsdkClientcore_jsExports.vonage.Topics;
|
|
83325
83290
|
const Topic = clientsdkClientcore_jsExports.vonage.TopicJS;
|
|
83326
|
-
|
|
83291
|
+
/**
|
|
83292
|
+
* The Client Logging Level.
|
|
83293
|
+
*
|
|
83294
|
+
* It can be set for the internal logger via {@link ClientInitConfigObject.loggingLevel}
|
|
83295
|
+
* as well as for a custom logger via {@link VonageLogger.minLogLevel}.
|
|
83296
|
+
*
|
|
83297
|
+
* @enum
|
|
83298
|
+
*/
|
|
83299
|
+
const LoggingLevel = {
|
|
83300
|
+
Verbose: 'Verbose',
|
|
83301
|
+
Debug: 'Debug',
|
|
83302
|
+
Info: 'Info',
|
|
83303
|
+
Warn: 'Warn',
|
|
83304
|
+
Error: 'Error',
|
|
83305
|
+
Assert: 'Assert'
|
|
83306
|
+
};
|
|
83327
83307
|
/**
|
|
83328
83308
|
* @deprecated Use {@link ClientInitConfigObject.loggingLevel} instead.
|
|
83329
83309
|
* @param level - The logging level to set.
|
|
83330
83310
|
*/
|
|
83331
83311
|
const setDefaultLoggingLevel = (level) => {
|
|
83332
|
-
clientsdkClientcore_jsExports.vonage.setDefaultLoggingLevel(level instanceof
|
|
83312
|
+
clientsdkClientcore_jsExports.vonage.setDefaultLoggingLevel(level instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
|
|
83313
|
+
? level
|
|
83314
|
+
: clientsdkClientcore_jsExports.vonage.LoggingLevelJS[level]);
|
|
83333
83315
|
};
|
|
83334
83316
|
/**
|
|
83335
83317
|
* @deprecated Use {@link ClientInitConfigObject.loggingLevel} instead.
|
|
@@ -83338,16 +83320,16 @@ const setDefaultLoggingLevel = (level) => {
|
|
|
83338
83320
|
const setVonageClientLoggingLevel = setDefaultLoggingLevel;
|
|
83339
83321
|
const convertLogger = (logger) => {
|
|
83340
83322
|
var _a;
|
|
83341
|
-
if (logger.minLogLevel instanceof
|
|
83323
|
+
if (logger.minLogLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS)
|
|
83342
83324
|
return logger;
|
|
83343
83325
|
return Object.assign(Object.assign({}, logger), { minLogLevel: logger.minLogLevel
|
|
83344
|
-
?
|
|
83326
|
+
? clientsdkClientcore_jsExports.vonage.LoggingLevelJS[logger.minLogLevel]
|
|
83345
83327
|
: undefined, topics: (_a = logger.topics) === null || _a === void 0 ? void 0 : _a.map((topic) => topic instanceof Topics ? topic : Topics[topic]) });
|
|
83346
83328
|
};
|
|
83347
|
-
const createVonageLogger = (name, onLog, minLogLevel, topics) => clientsdkClientcore_jsExports.vonage.createVonageLoggerJS(name, minLogLevel instanceof
|
|
83329
|
+
const createVonageLogger = (name, onLog, minLogLevel, topics) => clientsdkClientcore_jsExports.vonage.createVonageLoggerJS(name, minLogLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
|
|
83348
83330
|
? minLogLevel
|
|
83349
83331
|
: minLogLevel
|
|
83350
|
-
?
|
|
83332
|
+
? clientsdkClientcore_jsExports.vonage.LoggingLevelJS[minLogLevel]
|
|
83351
83333
|
: undefined, topics === null || topics === void 0 ? void 0 : topics.map((topic) => (topic instanceof Topics ? topic : Topics[topic])), (level, topic, message) => onLog(level, topic, message));
|
|
83352
83334
|
|
|
83353
83335
|
const ConfigRegion = clientsdkClientcore_jsExports.vonage.CoreClientConfigRegionJS;
|
|
@@ -83372,9 +83354,9 @@ class ClientInitConfig {
|
|
|
83372
83354
|
this.customLoggers = [];
|
|
83373
83355
|
this.disableInternalLogger = false;
|
|
83374
83356
|
this.loggingLevel =
|
|
83375
|
-
loggingLevel instanceof
|
|
83357
|
+
loggingLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
|
|
83376
83358
|
? loggingLevel
|
|
83377
|
-
:
|
|
83359
|
+
: clientsdkClientcore_jsExports.vonage.LoggingLevelJS[loggingLevel];
|
|
83378
83360
|
this.region =
|
|
83379
83361
|
region instanceof ConfigRegion ? region : ConfigRegion[region];
|
|
83380
83362
|
if (customLoggers) {
|
|
@@ -83385,10 +83367,10 @@ class ClientInitConfig {
|
|
|
83385
83367
|
const convertInitConfig = (config) => {
|
|
83386
83368
|
if (config instanceof ClientInitConfig)
|
|
83387
83369
|
return config;
|
|
83388
|
-
return Object.assign(Object.assign({}, config), { loggingLevel: config.loggingLevel instanceof
|
|
83370
|
+
return Object.assign(Object.assign({}, config), { loggingLevel: config.loggingLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
|
|
83389
83371
|
? config.loggingLevel
|
|
83390
83372
|
: config.loggingLevel
|
|
83391
|
-
?
|
|
83373
|
+
? clientsdkClientcore_jsExports.vonage.LoggingLevelJS[config.loggingLevel]
|
|
83392
83374
|
: null, region: config.region instanceof ConfigRegion
|
|
83393
83375
|
? config.region
|
|
83394
83376
|
: config.region
|
|
@@ -83398,7 +83380,24 @@ const convertInitConfig = (config) => {
|
|
|
83398
83380
|
: null });
|
|
83399
83381
|
};
|
|
83400
83382
|
|
|
83401
|
-
|
|
83383
|
+
/**
|
|
83384
|
+
* The type of a {@link MemberChannel}
|
|
83385
|
+
*
|
|
83386
|
+
* @enum
|
|
83387
|
+
*/
|
|
83388
|
+
const ChannelType = {
|
|
83389
|
+
APP: 'APP',
|
|
83390
|
+
PHONE: 'PHONE',
|
|
83391
|
+
PSTN: 'PSTN',
|
|
83392
|
+
sip: 'sip',
|
|
83393
|
+
VBC: 'VBC',
|
|
83394
|
+
WEBSOCKET: 'WEBSOCKET',
|
|
83395
|
+
SMS: 'SMS',
|
|
83396
|
+
MMS: 'MMS',
|
|
83397
|
+
WHATSAPP: 'WHATSAPP',
|
|
83398
|
+
VIBER: 'VIBER',
|
|
83399
|
+
MESSENGER: 'MESSENGER'
|
|
83400
|
+
};
|
|
83402
83401
|
|
|
83403
83402
|
const VonageError = clientsdkClientcore_jsExports.vonage.VonageErrorJS;
|
|
83404
83403
|
const VonageErrorType = clientsdkClientcore_jsExports.vonage.VonageErrorTypeJS;
|
|
@@ -83447,6 +83446,54 @@ const some = (value) => new Option.Some(value);
|
|
|
83447
83446
|
*/
|
|
83448
83447
|
const none = () => new Option.None();
|
|
83449
83448
|
|
|
83449
|
+
/**
|
|
83450
|
+
* Hangup reasons for a call
|
|
83451
|
+
* @enum
|
|
83452
|
+
*/
|
|
83453
|
+
const HangupReason = {
|
|
83454
|
+
REMOTE_HANGUP: 'REMOTE_HANGUP',
|
|
83455
|
+
REMOTE_REJECT: 'REMOTE_REJECT',
|
|
83456
|
+
REMOTE_NO_ANSWER_TIMEOUT: 'REMOTE_NO_ANSWER_TIMEOUT',
|
|
83457
|
+
LOCAL_HANGUP: 'LOCAL_HANGUP',
|
|
83458
|
+
MEDIA_TIMEOUT: 'MEDIA_TIMEOUT'
|
|
83459
|
+
};
|
|
83460
|
+
/**
|
|
83461
|
+
* Leg status for a call
|
|
83462
|
+
* @enum
|
|
83463
|
+
*/
|
|
83464
|
+
const LegStatus = {
|
|
83465
|
+
RINGING: 'RINGING',
|
|
83466
|
+
ANSWERED: 'ANSWERED',
|
|
83467
|
+
COMPLETED: 'COMPLETED'
|
|
83468
|
+
};
|
|
83469
|
+
/**
|
|
83470
|
+
* Call disconnect reasons
|
|
83471
|
+
* @enum
|
|
83472
|
+
*/
|
|
83473
|
+
const CallDisconnectReason = {
|
|
83474
|
+
networkChange: 'networkChange'
|
|
83475
|
+
};
|
|
83476
|
+
/**
|
|
83477
|
+
* Call Invite cancel reasons
|
|
83478
|
+
* @enum
|
|
83479
|
+
*/
|
|
83480
|
+
const CancelReason = {
|
|
83481
|
+
RemoteCancel: 'RemoteCancel',
|
|
83482
|
+
RejectedElsewhere: 'RejectedElsewhere',
|
|
83483
|
+
RemoteTimeout: 'RemoteTimeout',
|
|
83484
|
+
AnsweredElsewhere: 'AnsweredElsewhere'
|
|
83485
|
+
};
|
|
83486
|
+
/**
|
|
83487
|
+
* Voice Channel Types
|
|
83488
|
+
* @enum
|
|
83489
|
+
*/
|
|
83490
|
+
const VoiceChannelType = {
|
|
83491
|
+
app: 'app',
|
|
83492
|
+
phone: 'phone',
|
|
83493
|
+
sip: 'sip',
|
|
83494
|
+
websocket: 'websocket'
|
|
83495
|
+
};
|
|
83496
|
+
|
|
83450
83497
|
const isKotlinType = (type, value) => value instanceof type;
|
|
83451
83498
|
// converts a js enum value to a kotlin enum value
|
|
83452
83499
|
// e.g. jsEnumToVonageObject(vonage.PresentingOrderJS, 'asc') => vonage.PresentingOrderJS.Asc
|
|
@@ -83464,11 +83511,7 @@ const jsEnumToVonageObject = (kotlinType, value) => {
|
|
|
83464
83511
|
return enumVal;
|
|
83465
83512
|
};
|
|
83466
83513
|
|
|
83467
|
-
const CancelReason = clientsdkClientcore_jsExports.vonage.CancelReasonJS;
|
|
83468
|
-
const HangupReason = clientsdkClientcore_jsExports.vonage.HangupReasonJS;
|
|
83469
83514
|
const SessionErrorReason = clientsdkClientcore_jsExports.vonage.SessionErrorReasonJS;
|
|
83470
|
-
const LegStatus = clientsdkClientcore_jsExports.vonage.LegStatusJS;
|
|
83471
|
-
const CallDisconnectReason = clientsdkClientcore_jsExports.vonage.CallDisconnectReasonJS;
|
|
83472
83515
|
/**
|
|
83473
83516
|
* VonageClient is the main entry point for the Vonage Client SDK.
|
|
83474
83517
|
*
|
|
@@ -84235,26 +84278,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
84235
84278
|
return yield _super.sendMessageSeenEvent.call(this, id, conversationId);
|
|
84236
84279
|
});
|
|
84237
84280
|
}
|
|
84238
|
-
/**
|
|
84239
|
-
* Get a Member of a Conversation
|
|
84240
|
-
*
|
|
84241
|
-
* @example
|
|
84242
|
-
* [[include: snippet_GetConversationMember.txt]]
|
|
84243
|
-
*
|
|
84244
|
-
* @group Chat
|
|
84245
|
-
* @beta
|
|
84246
|
-
* @param cid - the Conversation's id
|
|
84247
|
-
* @param mid - the Member's id
|
|
84248
|
-
* @returns the `Member`
|
|
84249
|
-
*/
|
|
84250
|
-
getConversationMember(cid, mid) {
|
|
84251
|
-
const _super = Object.create(null, {
|
|
84252
|
-
getConversationMember: { get: () => super.getConversationMember }
|
|
84253
|
-
});
|
|
84254
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
84255
|
-
return (yield _super.getConversationMember.call(this, cid, mid));
|
|
84256
|
-
});
|
|
84257
|
-
}
|
|
84258
84281
|
}
|
|
84259
84282
|
|
|
84260
|
-
export { CSErrorCodes, CallDisconnectReason, CancelReason, ChannelType, ClientConfig, ClientInitConfig, ConfigRegion, HangupReason, LegStatus, LoggingLevel, Option, OrderBy, PresentingOrder, SessionErrorCodes, SessionErrorReason, Topics, VonageClient, VonageError, VonageErrorType, convertInitConfig, createVonageLogger, VonageClient as default, mapOption, none, setDefaultLoggingLevel, setVonageClientLoggingLevel, some };
|
|
84283
|
+
export { CSErrorCodes, CallDisconnectReason, CancelReason, ChannelType, ClientConfig, ClientInitConfig, ConfigRegion, HangupReason, LegStatus, LoggingLevel, Option, OrderBy, PresentingOrder, SessionErrorCodes, SessionErrorReason, Topics, VoiceChannelType, VonageClient, VonageError, VonageErrorType, convertInitConfig, createVonageLogger, VonageClient as default, mapOption, none, setDefaultLoggingLevel, setVonageClientLoggingLevel, some };
|