@vonage/client-sdk 1.5.1-rc.0 → 1.5.2-beta.0
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 +884 -860
- package/dist/client/index.mjs +884 -861
- 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 +884 -860
- package/dist/vonageClientSDK.min.js +20 -20
- package/dist/vonageClientSDK.min.mjs +20 -20
- package/dist/vonageClientSDK.mjs +884 -861
- 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.cjs
CHANGED
|
@@ -33703,13 +33703,6 @@ function requireClientsdkClientcore () {
|
|
|
33703
33703
|
setMetadataFor(Companion_133, 'Companion', objectMeta);
|
|
33704
33704
|
setMetadataFor($serializer_153, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
33705
33705
|
setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_153});
|
|
33706
|
-
function onRTCHangup(conversationId, legId, hangup) {
|
|
33707
|
-
}
|
|
33708
|
-
function onRTCTransfer(conversationId, legId) {
|
|
33709
|
-
}
|
|
33710
|
-
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33711
|
-
}
|
|
33712
|
-
setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
|
|
33713
33706
|
function onConversationEvent(event) {
|
|
33714
33707
|
}
|
|
33715
33708
|
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
@@ -33722,7 +33715,14 @@ function requireClientsdkClientcore () {
|
|
|
33722
33715
|
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33723
33716
|
}
|
|
33724
33717
|
setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
|
|
33725
|
-
|
|
33718
|
+
function onRTCHangup(conversationId, legId, hangup) {
|
|
33719
|
+
}
|
|
33720
|
+
function onRTCTransfer(conversationId, legId) {
|
|
33721
|
+
}
|
|
33722
|
+
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33723
|
+
}
|
|
33724
|
+
setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
|
|
33725
|
+
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, AudioEventListener, RTCEventListener]);
|
|
33726
33726
|
setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
|
|
33727
33727
|
setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
|
|
33728
33728
|
setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
|
|
@@ -33877,7 +33877,7 @@ function requireClientsdkClientcore () {
|
|
|
33877
33877
|
setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
|
|
33878
33878
|
setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
|
|
33879
33879
|
setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
|
|
33880
|
-
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [
|
|
33880
|
+
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, AudioEventListener, RTCEventListener]);
|
|
33881
33881
|
setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
|
|
33882
33882
|
setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
|
|
33883
33883
|
setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
|
|
@@ -34093,7 +34093,7 @@ function requireClientsdkClientcore () {
|
|
|
34093
34093
|
setMetadataFor(Failed, 'Failed', classMeta, StateTransition);
|
|
34094
34094
|
//endregion
|
|
34095
34095
|
function BuildKonfig() {
|
|
34096
|
-
this.g1d_1 = '1.5.
|
|
34096
|
+
this.g1d_1 = '1.5.2-beta.0';
|
|
34097
34097
|
}
|
|
34098
34098
|
var BuildKonfig_instance;
|
|
34099
34099
|
function BuildKonfig_getInstance() {
|
|
@@ -75377,24 +75377,24 @@ function requireClientsdkClientcore () {
|
|
|
75377
75377
|
'use strict';
|
|
75378
75378
|
//region block: imports
|
|
75379
75379
|
var imul = Math.imul;
|
|
75380
|
-
var Unit_instance = kotlin_kotlin.$_$.v3;
|
|
75381
75380
|
var protoOf = kotlin_kotlin.$_$.w7;
|
|
75382
|
-
var
|
|
75381
|
+
var THROW_CCE = kotlin_kotlin.$_$.v9;
|
|
75382
|
+
var objectMeta = kotlin_kotlin.$_$.v7;
|
|
75383
75383
|
var setMetadataFor = kotlin_kotlin.$_$.x7;
|
|
75384
|
+
var Unit_instance = kotlin_kotlin.$_$.v3;
|
|
75385
|
+
var classMeta = kotlin_kotlin.$_$.p6;
|
|
75384
75386
|
var VOID = kotlin_kotlin.$_$.f;
|
|
75385
75387
|
var VoiceClientListener = kotlin_com_vonage_rtc_clientcore.$_$.n1;
|
|
75386
75388
|
var Builder = kotlin_com_vonage_rtc_clientcore.$_$.u1;
|
|
75387
75389
|
var LoggerAdapter = kotlin_com_vonage_rtc_clientcore.$_$.o1;
|
|
75388
75390
|
var defineProp = kotlin_kotlin.$_$.q6;
|
|
75391
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.qa;
|
|
75389
75392
|
var THROW_IAE = kotlin_kotlin.$_$.w9;
|
|
75390
75393
|
var Enum = kotlin_kotlin.$_$.o9;
|
|
75391
75394
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.l4;
|
|
75392
75395
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
|
|
75393
75396
|
var copyToArray = kotlin_kotlin.$_$.y4;
|
|
75394
75397
|
var interfaceMeta = kotlin_kotlin.$_$.z6;
|
|
75395
|
-
var THROW_CCE = kotlin_kotlin.$_$.v9;
|
|
75396
|
-
var objectMeta = kotlin_kotlin.$_$.v7;
|
|
75397
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.qa;
|
|
75398
75398
|
var System_instance = kotlin_com_vonage_rtc_clientcore.$_$.v2;
|
|
75399
75399
|
var equals = kotlin_kotlin.$_$.r6;
|
|
75400
75400
|
var EmbeddedInfo = kotlin_com_vonage_rtc_clientcore.$_$.j;
|
|
@@ -75499,6 +75499,7 @@ function requireClientsdkClientcore () {
|
|
|
75499
75499
|
var json = kotlin_kotlin.$_$.m7;
|
|
75500
75500
|
//endregion
|
|
75501
75501
|
//region block: pre-declaration
|
|
75502
|
+
setMetadataFor(VoiceChannelTypeObject, 'VoiceChannelTypeObject', objectMeta);
|
|
75502
75503
|
setMetadataFor(CombinedClientJS$1, VOID, classMeta);
|
|
75503
75504
|
setMetadataFor(CombinedClientJS$2, VOID, classMeta, VOID, [VoiceClientListener]);
|
|
75504
75505
|
setMetadataFor(CombinedClientJS$3, VOID, classMeta);
|
|
@@ -75712,7 +75713,7 @@ function requireClientsdkClientcore () {
|
|
|
75712
75713
|
setMetadataFor(MediaStateJS, 'MediaStateJS', classMeta);
|
|
75713
75714
|
setMetadataFor(LegJS, 'LegJS', classMeta);
|
|
75714
75715
|
setMetadataFor(LegsPageJS, 'LegsPageJS', classMeta);
|
|
75715
|
-
setMetadataFor(
|
|
75716
|
+
setMetadataFor(ChannelTypeObj, 'ChannelTypeObj', objectMeta);
|
|
75716
75717
|
setMetadataFor(CSErrorCodesJS, 'CSErrorCodesJS', objectMeta);
|
|
75717
75718
|
setMetadataFor(SessionErrorCodesJS, 'SessionErrorCodesJS', objectMeta);
|
|
75718
75719
|
setMetadataFor(VonageErrorJS, 'VonageErrorJS', classMeta, Error);
|
|
@@ -75730,13 +75731,13 @@ function requireClientsdkClientcore () {
|
|
|
75730
75731
|
setMetadataFor(LoggingLevelJS, 'LoggingLevelJS', classMeta, Enum);
|
|
75731
75732
|
setMetadataFor(SessionErrorReasonJS, 'SessionErrorReasonJS', classMeta, Enum);
|
|
75732
75733
|
setMetadataFor(createVonageLoggerJS$1, VOID, classMeta);
|
|
75733
|
-
setMetadataFor(
|
|
75734
|
-
setMetadataFor(
|
|
75735
|
-
setMetadataFor(
|
|
75734
|
+
setMetadataFor(LegStatusJSObject, 'LegStatusJSObject', objectMeta);
|
|
75735
|
+
setMetadataFor(CallDisconnectReasonJSObject, 'CallDisconnectReasonJSObject', objectMeta);
|
|
75736
|
+
setMetadataFor(HangupReasonJSObject, 'HangupReasonJSObject', objectMeta);
|
|
75736
75737
|
setMetadataFor(VoiceInviteFromInfoJS, 'VoiceInviteFromInfoJS', classMeta);
|
|
75737
75738
|
setMetadataFor(HttpClientErrorJS, 'HttpClientErrorJS', classMeta, Error, VOID, HttpClientErrorJS);
|
|
75738
75739
|
setMetadataFor(HttpClientResponseJS, 'HttpClientResponseJS', classMeta);
|
|
75739
|
-
setMetadataFor(
|
|
75740
|
+
setMetadataFor(CancelReasonJSObject, 'CancelReasonJSObject', objectMeta);
|
|
75740
75741
|
setMetadataFor(RTCQualityJS, 'RTCQualityJS', classMeta);
|
|
75741
75742
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
75742
75743
|
setMetadataFor(RTCStatsJS, 'RTCStatsJS', classMeta);
|
|
@@ -75750,11 +75751,47 @@ function requireClientsdkClientcore () {
|
|
|
75750
75751
|
setMetadataFor(Some, 'Some', classMeta, OptionJS);
|
|
75751
75752
|
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
75752
75753
|
//endregion
|
|
75754
|
+
function VoiceChannelTypeObject() {
|
|
75755
|
+
this.app = 'app';
|
|
75756
|
+
this.phone = 'phone';
|
|
75757
|
+
this.sip = 'sip';
|
|
75758
|
+
this.websocket = 'websocket';
|
|
75759
|
+
}
|
|
75760
|
+
protoOf(VoiceChannelTypeObject).q3q = function () {
|
|
75761
|
+
return this.app;
|
|
75762
|
+
};
|
|
75763
|
+
protoOf(VoiceChannelTypeObject).r3q = function () {
|
|
75764
|
+
return this.phone;
|
|
75765
|
+
};
|
|
75766
|
+
protoOf(VoiceChannelTypeObject).s3q = function () {
|
|
75767
|
+
return this.sip;
|
|
75768
|
+
};
|
|
75769
|
+
protoOf(VoiceChannelTypeObject).t3q = function () {
|
|
75770
|
+
return this.websocket;
|
|
75771
|
+
};
|
|
75772
|
+
protoOf(VoiceChannelTypeObject).toString = function () {
|
|
75773
|
+
return 'VoiceChannelTypeObject';
|
|
75774
|
+
};
|
|
75775
|
+
protoOf(VoiceChannelTypeObject).hashCode = function () {
|
|
75776
|
+
return -1025446930;
|
|
75777
|
+
};
|
|
75778
|
+
protoOf(VoiceChannelTypeObject).equals = function (other) {
|
|
75779
|
+
if (this === other)
|
|
75780
|
+
return true;
|
|
75781
|
+
if (!(other instanceof VoiceChannelTypeObject))
|
|
75782
|
+
return false;
|
|
75783
|
+
other instanceof VoiceChannelTypeObject || THROW_CCE();
|
|
75784
|
+
return true;
|
|
75785
|
+
};
|
|
75786
|
+
var VoiceChannelTypeObject_instance;
|
|
75787
|
+
function VoiceChannelTypeObject_getInstance() {
|
|
75788
|
+
return VoiceChannelTypeObject_instance;
|
|
75789
|
+
}
|
|
75753
75790
|
function CombinedClientJS$1(this$0) {
|
|
75754
|
-
this.
|
|
75791
|
+
this.u3q_1 = this$0;
|
|
75755
75792
|
}
|
|
75756
75793
|
protoOf(CombinedClientJS$1).c38 = function () {
|
|
75757
|
-
var tmp0_safe_receiver = this.
|
|
75794
|
+
var tmp0_safe_receiver = this.u3q_1.emitter;
|
|
75758
75795
|
if (tmp0_safe_receiver == null)
|
|
75759
75796
|
null;
|
|
75760
75797
|
else {
|
|
@@ -75762,7 +75799,7 @@ function requireClientsdkClientcore () {
|
|
|
75762
75799
|
}
|
|
75763
75800
|
};
|
|
75764
75801
|
protoOf(CombinedClientJS$1).d38 = function () {
|
|
75765
|
-
var tmp0_safe_receiver = this.
|
|
75802
|
+
var tmp0_safe_receiver = this.u3q_1.emitter;
|
|
75766
75803
|
if (tmp0_safe_receiver == null)
|
|
75767
75804
|
null;
|
|
75768
75805
|
else {
|
|
@@ -75770,34 +75807,34 @@ function requireClientsdkClientcore () {
|
|
|
75770
75807
|
}
|
|
75771
75808
|
};
|
|
75772
75809
|
protoOf(CombinedClientJS$1).e38 = function (reason) {
|
|
75773
|
-
var tmp0_safe_receiver = this.
|
|
75810
|
+
var tmp0_safe_receiver = this.u3q_1.emitter;
|
|
75774
75811
|
if (tmp0_safe_receiver == null)
|
|
75775
75812
|
null;
|
|
75776
75813
|
else {
|
|
75777
|
-
tmp0_safe_receiver.sessionError(
|
|
75814
|
+
tmp0_safe_receiver.sessionError(map_10(reason));
|
|
75778
75815
|
}
|
|
75779
75816
|
};
|
|
75780
75817
|
function CombinedClientJS$2(this$0) {
|
|
75781
|
-
this.
|
|
75818
|
+
this.x3q_1 = this$0;
|
|
75782
75819
|
}
|
|
75783
75820
|
protoOf(CombinedClientJS$2).i38 = function (callId, from, channelType) {
|
|
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 {
|
|
75788
|
-
tmp0_safe_receiver.callInvite(callId, from, channelType
|
|
75825
|
+
tmp0_safe_receiver.callInvite(callId, from, map(channelType));
|
|
75789
75826
|
}
|
|
75790
75827
|
};
|
|
75791
75828
|
protoOf(CombinedClientJS$2).j38 = function (callId, reason) {
|
|
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 {
|
|
75796
|
-
tmp0_safe_receiver.callInviteCancel(callId,
|
|
75833
|
+
tmp0_safe_receiver.callInviteCancel(callId, map_14(reason));
|
|
75797
75834
|
}
|
|
75798
75835
|
};
|
|
75799
75836
|
protoOf(CombinedClientJS$2).k38 = function (callId, conversationId) {
|
|
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,7 +75842,7 @@ function requireClientsdkClientcore () {
|
|
|
75805
75842
|
}
|
|
75806
75843
|
};
|
|
75807
75844
|
protoOf(CombinedClientJS$2).l38 = function (callId, legId, isMuted) {
|
|
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 {
|
|
@@ -75813,7 +75850,7 @@ function requireClientsdkClientcore () {
|
|
|
75813
75850
|
}
|
|
75814
75851
|
};
|
|
75815
75852
|
protoOf(CombinedClientJS$2).m38 = function (callId, legId, earmuffStatus) {
|
|
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 {
|
|
@@ -75821,7 +75858,7 @@ function requireClientsdkClientcore () {
|
|
|
75821
75858
|
}
|
|
75822
75859
|
};
|
|
75823
75860
|
protoOf(CombinedClientJS$2).n38 = function (callId, legId, digits) {
|
|
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,23 +75866,23 @@ function requireClientsdkClientcore () {
|
|
|
75829
75866
|
}
|
|
75830
75867
|
};
|
|
75831
75868
|
protoOf(CombinedClientJS$2).o38 = function (callId, callQuality, reason) {
|
|
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 {
|
|
75836
|
-
tmp0_safe_receiver.callHangup(callId,
|
|
75873
|
+
tmp0_safe_receiver.callHangup(callId, map_15(callQuality), map_13(reason));
|
|
75837
75874
|
}
|
|
75838
75875
|
};
|
|
75839
75876
|
protoOf(CombinedClientJS$2).p38 = function (callId, legId, status) {
|
|
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.legStatusUpdate(callId, legId,
|
|
75881
|
+
tmp0_safe_receiver.legStatusUpdate(callId, legId, map_11(status));
|
|
75845
75882
|
}
|
|
75846
75883
|
};
|
|
75847
75884
|
protoOf(CombinedClientJS$2).q38 = function (callId) {
|
|
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 {
|
|
@@ -75853,7 +75890,7 @@ function requireClientsdkClientcore () {
|
|
|
75853
75890
|
}
|
|
75854
75891
|
};
|
|
75855
75892
|
protoOf(CombinedClientJS$2).r38 = function (callId) {
|
|
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,23 +75898,23 @@ function requireClientsdkClientcore () {
|
|
|
75861
75898
|
}
|
|
75862
75899
|
};
|
|
75863
75900
|
protoOf(CombinedClientJS$2).s38 = function (callId, reason) {
|
|
75864
|
-
var tmp0_safe_receiver = this.
|
|
75901
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75865
75902
|
if (tmp0_safe_receiver == null)
|
|
75866
75903
|
null;
|
|
75867
75904
|
else {
|
|
75868
|
-
tmp0_safe_receiver.callMediaDisconnect(callId,
|
|
75905
|
+
tmp0_safe_receiver.callMediaDisconnect(callId, map_12(reason));
|
|
75869
75906
|
}
|
|
75870
75907
|
};
|
|
75871
75908
|
protoOf(CombinedClientJS$2).t38 = function (rtcStats, legId) {
|
|
75872
|
-
var tmp0_safe_receiver = this.
|
|
75909
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75873
75910
|
if (tmp0_safe_receiver == null)
|
|
75874
75911
|
null;
|
|
75875
75912
|
else {
|
|
75876
|
-
tmp0_safe_receiver.rtcStatsUpdate(Companion_instance_0.
|
|
75913
|
+
tmp0_safe_receiver.rtcStatsUpdate(Companion_instance_0.y3q(rtcStats), legId);
|
|
75877
75914
|
}
|
|
75878
75915
|
};
|
|
75879
75916
|
protoOf(CombinedClientJS$2).u38 = function (callId, error) {
|
|
75880
|
-
var tmp0_safe_receiver = this.
|
|
75917
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
75881
75918
|
if (tmp0_safe_receiver == null)
|
|
75882
75919
|
null;
|
|
75883
75920
|
else {
|
|
@@ -75885,43 +75922,64 @@ function requireClientsdkClientcore () {
|
|
|
75885
75922
|
}
|
|
75886
75923
|
};
|
|
75887
75924
|
function CombinedClientJS$3(this$0) {
|
|
75888
|
-
this.
|
|
75925
|
+
this.z3q_1 = this$0;
|
|
75889
75926
|
}
|
|
75890
75927
|
protoOf(CombinedClientJS$3).v2s = function (event) {
|
|
75891
|
-
var tmp0_safe_receiver = this.
|
|
75928
|
+
var tmp0_safe_receiver = this.z3q_1.emitter;
|
|
75892
75929
|
if (tmp0_safe_receiver == null)
|
|
75893
75930
|
null;
|
|
75894
75931
|
else {
|
|
75895
|
-
tmp0_safe_receiver.conversationEvent(
|
|
75932
|
+
tmp0_safe_receiver.conversationEvent(map_1(event));
|
|
75896
75933
|
}
|
|
75897
75934
|
};
|
|
75898
75935
|
function CombinedClientJS(config, http, socket, media) {
|
|
75899
|
-
this.
|
|
75936
|
+
this.v3q_1 = media;
|
|
75900
75937
|
var tmp = this;
|
|
75901
75938
|
var tmp_0 = new Builder();
|
|
75902
75939
|
var tmp0_safe_receiver = config.loggingLevel;
|
|
75903
75940
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getLoggingLevel(tmp0_safe_receiver);
|
|
75904
75941
|
var tmp_1 = tmp1_elvis_lhs == null ? getLoggingLevel(get_DEFAULT_LOGGING_LEVEL()) : tmp1_elvis_lhs;
|
|
75905
|
-
var tmp_2 =
|
|
75942
|
+
var tmp_2 = map_9(config.customLoggers);
|
|
75906
75943
|
var tmp2_elvis_lhs = config.disableInternalLogger;
|
|
75907
|
-
tmp.
|
|
75944
|
+
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));
|
|
75908
75945
|
this.emitter = null;
|
|
75909
|
-
this.
|
|
75910
|
-
this.
|
|
75911
|
-
this.
|
|
75946
|
+
this.w3q_1.h1d(new CombinedClientJS$1(this));
|
|
75947
|
+
this.w3q_1.l1d(new CombinedClientJS$2(this));
|
|
75948
|
+
this.w3q_1.i1d(new CombinedClientJS$3(this));
|
|
75912
75949
|
}
|
|
75913
|
-
protoOf(CombinedClientJS).
|
|
75914
|
-
return this.
|
|
75950
|
+
protoOf(CombinedClientJS).a3r = function () {
|
|
75951
|
+
return this.v3q_1;
|
|
75915
75952
|
};
|
|
75916
|
-
protoOf(CombinedClientJS).
|
|
75917
|
-
return this.
|
|
75953
|
+
protoOf(CombinedClientJS).b3r = function () {
|
|
75954
|
+
return this.w3q_1;
|
|
75918
75955
|
};
|
|
75919
|
-
protoOf(CombinedClientJS).
|
|
75956
|
+
protoOf(CombinedClientJS).c3r = function (_set____db54di) {
|
|
75920
75957
|
this.emitter = _set____db54di;
|
|
75921
75958
|
};
|
|
75922
|
-
protoOf(CombinedClientJS).
|
|
75959
|
+
protoOf(CombinedClientJS).d3r = function () {
|
|
75923
75960
|
return this.emitter;
|
|
75924
75961
|
};
|
|
75962
|
+
function map(_this__u8e3s4) {
|
|
75963
|
+
var tmp;
|
|
75964
|
+
switch (_this__u8e3s4.z7_1) {
|
|
75965
|
+
case 0:
|
|
75966
|
+
tmp = VoiceChannelTypeObject_instance.app;
|
|
75967
|
+
break;
|
|
75968
|
+
case 1:
|
|
75969
|
+
tmp = VoiceChannelTypeObject_instance.phone;
|
|
75970
|
+
break;
|
|
75971
|
+
case 2:
|
|
75972
|
+
tmp = VoiceChannelTypeObject_instance.sip;
|
|
75973
|
+
break;
|
|
75974
|
+
case 3:
|
|
75975
|
+
tmp = VoiceChannelTypeObject_instance.websocket;
|
|
75976
|
+
break;
|
|
75977
|
+
default:
|
|
75978
|
+
noWhenBranchMatchedException();
|
|
75979
|
+
break;
|
|
75980
|
+
}
|
|
75981
|
+
return tmp;
|
|
75982
|
+
}
|
|
75925
75983
|
var EventStateTypeJS_SEEN_instance;
|
|
75926
75984
|
var EventStateTypeJS_DELIVERED_instance;
|
|
75927
75985
|
var EventStateTypeJS_SUBMITTED_instance;
|
|
@@ -75991,22 +76049,22 @@ function requireClientsdkClientcore () {
|
|
|
75991
76049
|
var tmp3_elvis_lhs = tmp_5;
|
|
75992
76050
|
tmp_4.current = tmp3_elvis_lhs == null ? 'none' : tmp3_elvis_lhs;
|
|
75993
76051
|
}
|
|
75994
|
-
protoOf(EventStateJS).
|
|
76052
|
+
protoOf(EventStateJS).g3r = function () {
|
|
75995
76053
|
return this.seen;
|
|
75996
76054
|
};
|
|
75997
|
-
protoOf(EventStateJS).
|
|
76055
|
+
protoOf(EventStateJS).h3r = function () {
|
|
75998
76056
|
return this.delivered;
|
|
75999
76057
|
};
|
|
76000
|
-
protoOf(EventStateJS).
|
|
76058
|
+
protoOf(EventStateJS).i3r = function () {
|
|
76001
76059
|
return this.submitted;
|
|
76002
76060
|
};
|
|
76003
|
-
protoOf(EventStateJS).
|
|
76061
|
+
protoOf(EventStateJS).j3r = function () {
|
|
76004
76062
|
return this.rejected;
|
|
76005
76063
|
};
|
|
76006
|
-
protoOf(EventStateJS).
|
|
76064
|
+
protoOf(EventStateJS).k3r = function () {
|
|
76007
76065
|
return this.undeliverable;
|
|
76008
76066
|
};
|
|
76009
|
-
protoOf(EventStateJS).
|
|
76067
|
+
protoOf(EventStateJS).l3r = function () {
|
|
76010
76068
|
return this.current;
|
|
76011
76069
|
};
|
|
76012
76070
|
function EventsPageJS(eventsPage) {
|
|
@@ -76020,20 +76078,20 @@ function requireClientsdkClientcore () {
|
|
|
76020
76078
|
while (tmp0_iterator.q()) {
|
|
76021
76079
|
var item = tmp0_iterator.s();
|
|
76022
76080
|
// Inline function 'vonage.EventsPageJS.events.<anonymous>' call
|
|
76023
|
-
var tmp$ret$0 =
|
|
76081
|
+
var tmp$ret$0 = map_2(item);
|
|
76024
76082
|
destination.m(tmp$ret$0);
|
|
76025
76083
|
}
|
|
76026
76084
|
tmp.events = copyToArray(destination);
|
|
76027
76085
|
this.previousCursor = eventsPage.h30_1;
|
|
76028
76086
|
this.nextCursor = eventsPage.i30_1;
|
|
76029
76087
|
}
|
|
76030
|
-
protoOf(EventsPageJS).
|
|
76088
|
+
protoOf(EventsPageJS).m3r = function () {
|
|
76031
76089
|
return this.events;
|
|
76032
76090
|
};
|
|
76033
|
-
protoOf(EventsPageJS).
|
|
76091
|
+
protoOf(EventsPageJS).n3r = function () {
|
|
76034
76092
|
return this.previousCursor;
|
|
76035
76093
|
};
|
|
76036
|
-
protoOf(EventsPageJS).
|
|
76094
|
+
protoOf(EventsPageJS).o3r = function () {
|
|
76037
76095
|
return this.nextCursor;
|
|
76038
76096
|
};
|
|
76039
76097
|
function FromJS() {
|
|
@@ -76046,7 +76104,7 @@ function requireClientsdkClientcore () {
|
|
|
76046
76104
|
protoOf(EmbeddedInfoJS).ch = function () {
|
|
76047
76105
|
return this.kind;
|
|
76048
76106
|
};
|
|
76049
|
-
protoOf(EmbeddedInfoJS).
|
|
76107
|
+
protoOf(EmbeddedInfoJS).p3r = function () {
|
|
76050
76108
|
return this.memberId;
|
|
76051
76109
|
};
|
|
76052
76110
|
protoOf(EmbeddedInfoJS).q2m = function () {
|
|
@@ -76088,7 +76146,7 @@ function requireClientsdkClientcore () {
|
|
|
76088
76146
|
this.memberId = body.m30_1;
|
|
76089
76147
|
this.user = new UserJS(body.l30_1);
|
|
76090
76148
|
}
|
|
76091
|
-
protoOf(MemberEventBodyJS).
|
|
76149
|
+
protoOf(MemberEventBodyJS).p3r = function () {
|
|
76092
76150
|
return this.memberId;
|
|
76093
76151
|
};
|
|
76094
76152
|
protoOf(MemberEventBodyJS).q2m = function () {
|
|
@@ -76099,7 +76157,7 @@ function requireClientsdkClientcore () {
|
|
|
76099
76157
|
this.id = event.n30_1;
|
|
76100
76158
|
this.timestamp = event.o30_1;
|
|
76101
76159
|
this.conversationId = event.p30_1;
|
|
76102
|
-
this.from =
|
|
76160
|
+
this.from = map_0(event.q30_1);
|
|
76103
76161
|
this.body = new MemberEventBodyJS(event.r30_1);
|
|
76104
76162
|
}
|
|
76105
76163
|
protoOf(MemberInvitedEventJS).ch = function () {
|
|
@@ -76114,10 +76172,10 @@ function requireClientsdkClientcore () {
|
|
|
76114
76172
|
protoOf(MemberInvitedEventJS).t2s = function () {
|
|
76115
76173
|
return this.conversationId;
|
|
76116
76174
|
};
|
|
76117
|
-
protoOf(MemberInvitedEventJS).
|
|
76175
|
+
protoOf(MemberInvitedEventJS).q3r = function () {
|
|
76118
76176
|
return this.from;
|
|
76119
76177
|
};
|
|
76120
|
-
protoOf(MemberInvitedEventJS).
|
|
76178
|
+
protoOf(MemberInvitedEventJS).r3r = function () {
|
|
76121
76179
|
return this.body;
|
|
76122
76180
|
};
|
|
76123
76181
|
function MemberJoinedEventJS(event) {
|
|
@@ -76125,7 +76183,7 @@ function requireClientsdkClientcore () {
|
|
|
76125
76183
|
this.id = event.s30_1;
|
|
76126
76184
|
this.timestamp = event.t30_1;
|
|
76127
76185
|
this.conversationId = event.u30_1;
|
|
76128
|
-
this.from =
|
|
76186
|
+
this.from = map_0(event.v30_1);
|
|
76129
76187
|
this.body = new MemberEventBodyJS(event.w30_1);
|
|
76130
76188
|
}
|
|
76131
76189
|
protoOf(MemberJoinedEventJS).ch = function () {
|
|
@@ -76140,10 +76198,10 @@ function requireClientsdkClientcore () {
|
|
|
76140
76198
|
protoOf(MemberJoinedEventJS).t2s = function () {
|
|
76141
76199
|
return this.conversationId;
|
|
76142
76200
|
};
|
|
76143
|
-
protoOf(MemberJoinedEventJS).
|
|
76201
|
+
protoOf(MemberJoinedEventJS).q3r = function () {
|
|
76144
76202
|
return this.from;
|
|
76145
76203
|
};
|
|
76146
|
-
protoOf(MemberJoinedEventJS).
|
|
76204
|
+
protoOf(MemberJoinedEventJS).r3r = function () {
|
|
76147
76205
|
return this.body;
|
|
76148
76206
|
};
|
|
76149
76207
|
function MemberLeftEventJS(event) {
|
|
@@ -76151,7 +76209,7 @@ function requireClientsdkClientcore () {
|
|
|
76151
76209
|
this.id = event.x30_1;
|
|
76152
76210
|
this.timestamp = event.y30_1;
|
|
76153
76211
|
this.conversationId = event.z30_1;
|
|
76154
|
-
this.from =
|
|
76212
|
+
this.from = map_0(event.a31_1);
|
|
76155
76213
|
this.body = new MemberEventBodyJS(event.b31_1);
|
|
76156
76214
|
}
|
|
76157
76215
|
protoOf(MemberLeftEventJS).ch = function () {
|
|
@@ -76166,10 +76224,10 @@ function requireClientsdkClientcore () {
|
|
|
76166
76224
|
protoOf(MemberLeftEventJS).t2s = function () {
|
|
76167
76225
|
return this.conversationId;
|
|
76168
76226
|
};
|
|
76169
|
-
protoOf(MemberLeftEventJS).
|
|
76227
|
+
protoOf(MemberLeftEventJS).q3r = function () {
|
|
76170
76228
|
return this.from;
|
|
76171
76229
|
};
|
|
76172
|
-
protoOf(MemberLeftEventJS).
|
|
76230
|
+
protoOf(MemberLeftEventJS).r3r = function () {
|
|
76173
76231
|
return this.body;
|
|
76174
76232
|
};
|
|
76175
76233
|
function JSONBodyEventJS() {
|
|
@@ -76179,7 +76237,7 @@ function requireClientsdkClientcore () {
|
|
|
76179
76237
|
this.id = event.c31_1;
|
|
76180
76238
|
this.timestamp = event.d31_1;
|
|
76181
76239
|
this.conversationId = event.e31_1;
|
|
76182
|
-
this.from =
|
|
76240
|
+
this.from = map_0(event.f31_1);
|
|
76183
76241
|
this.eventType = event.h31_1;
|
|
76184
76242
|
this.body = parseCustomJson(event.g31_1);
|
|
76185
76243
|
}
|
|
@@ -76195,20 +76253,20 @@ function requireClientsdkClientcore () {
|
|
|
76195
76253
|
protoOf(CustomConversationEventJS).t2s = function () {
|
|
76196
76254
|
return this.conversationId;
|
|
76197
76255
|
};
|
|
76198
|
-
protoOf(CustomConversationEventJS).
|
|
76256
|
+
protoOf(CustomConversationEventJS).q3r = function () {
|
|
76199
76257
|
return this.from;
|
|
76200
76258
|
};
|
|
76201
|
-
protoOf(CustomConversationEventJS).
|
|
76259
|
+
protoOf(CustomConversationEventJS).s3r = function () {
|
|
76202
76260
|
return this.eventType;
|
|
76203
76261
|
};
|
|
76204
|
-
protoOf(CustomConversationEventJS).
|
|
76262
|
+
protoOf(CustomConversationEventJS).r3r = function () {
|
|
76205
76263
|
return this.body;
|
|
76206
76264
|
};
|
|
76207
76265
|
function EphemeralConversationEventJS(event) {
|
|
76208
76266
|
this.kind = 'ephemeral';
|
|
76209
76267
|
this.timestamp = event.i31_1;
|
|
76210
76268
|
this.conversationId = event.j31_1;
|
|
76211
|
-
this.from =
|
|
76269
|
+
this.from = map_0(event.k31_1);
|
|
76212
76270
|
this.body = parseCustomJson(event.l31_1);
|
|
76213
76271
|
}
|
|
76214
76272
|
protoOf(EphemeralConversationEventJS).ch = function () {
|
|
@@ -76220,16 +76278,16 @@ function requireClientsdkClientcore () {
|
|
|
76220
76278
|
protoOf(EphemeralConversationEventJS).t2s = function () {
|
|
76221
76279
|
return this.conversationId;
|
|
76222
76280
|
};
|
|
76223
|
-
protoOf(EphemeralConversationEventJS).
|
|
76281
|
+
protoOf(EphemeralConversationEventJS).q3r = function () {
|
|
76224
76282
|
return this.from;
|
|
76225
76283
|
};
|
|
76226
|
-
protoOf(EphemeralConversationEventJS).
|
|
76284
|
+
protoOf(EphemeralConversationEventJS).r3r = function () {
|
|
76227
76285
|
return this.body;
|
|
76228
76286
|
};
|
|
76229
76287
|
function EventStateBodyJS(stateBody) {
|
|
76230
76288
|
this.eventId = stateBody.m31_1;
|
|
76231
76289
|
}
|
|
76232
|
-
protoOf(EventStateBodyJS).
|
|
76290
|
+
protoOf(EventStateBodyJS).t3r = function () {
|
|
76233
76291
|
return this.eventId;
|
|
76234
76292
|
};
|
|
76235
76293
|
function EventDeleteConversationEventJS(event) {
|
|
@@ -76237,7 +76295,7 @@ function requireClientsdkClientcore () {
|
|
|
76237
76295
|
this.id = event.n31_1;
|
|
76238
76296
|
this.timestamp = event.o31_1;
|
|
76239
76297
|
this.conversationId = event.p31_1;
|
|
76240
|
-
this.from =
|
|
76298
|
+
this.from = map_0(event.q31_1);
|
|
76241
76299
|
this.body = new EventStateBodyJS(event.r31_1);
|
|
76242
76300
|
}
|
|
76243
76301
|
protoOf(EventDeleteConversationEventJS).ch = function () {
|
|
@@ -76252,10 +76310,10 @@ function requireClientsdkClientcore () {
|
|
|
76252
76310
|
protoOf(EventDeleteConversationEventJS).t2s = function () {
|
|
76253
76311
|
return this.conversationId;
|
|
76254
76312
|
};
|
|
76255
|
-
protoOf(EventDeleteConversationEventJS).
|
|
76313
|
+
protoOf(EventDeleteConversationEventJS).q3r = function () {
|
|
76256
76314
|
return this.from;
|
|
76257
76315
|
};
|
|
76258
|
-
protoOf(EventDeleteConversationEventJS).
|
|
76316
|
+
protoOf(EventDeleteConversationEventJS).r3r = function () {
|
|
76259
76317
|
return this.body;
|
|
76260
76318
|
};
|
|
76261
76319
|
function MessageDeliveredEventJS(event) {
|
|
@@ -76263,7 +76321,7 @@ function requireClientsdkClientcore () {
|
|
|
76263
76321
|
this.id = event.s31_1;
|
|
76264
76322
|
this.timestamp = event.t31_1;
|
|
76265
76323
|
this.conversationId = event.u31_1;
|
|
76266
|
-
this.from =
|
|
76324
|
+
this.from = map_0(event.v31_1);
|
|
76267
76325
|
this.body = new EventStateBodyJS(event.w31_1);
|
|
76268
76326
|
}
|
|
76269
76327
|
protoOf(MessageDeliveredEventJS).ch = function () {
|
|
@@ -76278,10 +76336,10 @@ function requireClientsdkClientcore () {
|
|
|
76278
76336
|
protoOf(MessageDeliveredEventJS).t2s = function () {
|
|
76279
76337
|
return this.conversationId;
|
|
76280
76338
|
};
|
|
76281
|
-
protoOf(MessageDeliveredEventJS).
|
|
76339
|
+
protoOf(MessageDeliveredEventJS).q3r = function () {
|
|
76282
76340
|
return this.from;
|
|
76283
76341
|
};
|
|
76284
|
-
protoOf(MessageDeliveredEventJS).
|
|
76342
|
+
protoOf(MessageDeliveredEventJS).r3r = function () {
|
|
76285
76343
|
return this.body;
|
|
76286
76344
|
};
|
|
76287
76345
|
function MessageRejectedEventJS(event) {
|
|
@@ -76289,7 +76347,7 @@ function requireClientsdkClientcore () {
|
|
|
76289
76347
|
this.id = event.x31_1;
|
|
76290
76348
|
this.timestamp = event.y31_1;
|
|
76291
76349
|
this.conversationId = event.z31_1;
|
|
76292
|
-
this.from =
|
|
76350
|
+
this.from = map_0(event.a32_1);
|
|
76293
76351
|
this.body = new EventStateBodyJS(event.b32_1);
|
|
76294
76352
|
}
|
|
76295
76353
|
protoOf(MessageRejectedEventJS).ch = function () {
|
|
@@ -76304,10 +76362,10 @@ function requireClientsdkClientcore () {
|
|
|
76304
76362
|
protoOf(MessageRejectedEventJS).t2s = function () {
|
|
76305
76363
|
return this.conversationId;
|
|
76306
76364
|
};
|
|
76307
|
-
protoOf(MessageRejectedEventJS).
|
|
76365
|
+
protoOf(MessageRejectedEventJS).q3r = function () {
|
|
76308
76366
|
return this.from;
|
|
76309
76367
|
};
|
|
76310
|
-
protoOf(MessageRejectedEventJS).
|
|
76368
|
+
protoOf(MessageRejectedEventJS).r3r = function () {
|
|
76311
76369
|
return this.body;
|
|
76312
76370
|
};
|
|
76313
76371
|
function MessageUndeliverableEventJS(event) {
|
|
@@ -76315,7 +76373,7 @@ function requireClientsdkClientcore () {
|
|
|
76315
76373
|
this.id = event.c32_1;
|
|
76316
76374
|
this.timestamp = event.d32_1;
|
|
76317
76375
|
this.conversationId = event.e32_1;
|
|
76318
|
-
this.from =
|
|
76376
|
+
this.from = map_0(event.f32_1);
|
|
76319
76377
|
this.body = new EventStateBodyJS(event.g32_1);
|
|
76320
76378
|
}
|
|
76321
76379
|
protoOf(MessageUndeliverableEventJS).ch = function () {
|
|
@@ -76330,10 +76388,10 @@ function requireClientsdkClientcore () {
|
|
|
76330
76388
|
protoOf(MessageUndeliverableEventJS).t2s = function () {
|
|
76331
76389
|
return this.conversationId;
|
|
76332
76390
|
};
|
|
76333
|
-
protoOf(MessageUndeliverableEventJS).
|
|
76391
|
+
protoOf(MessageUndeliverableEventJS).q3r = function () {
|
|
76334
76392
|
return this.from;
|
|
76335
76393
|
};
|
|
76336
|
-
protoOf(MessageUndeliverableEventJS).
|
|
76394
|
+
protoOf(MessageUndeliverableEventJS).r3r = function () {
|
|
76337
76395
|
return this.body;
|
|
76338
76396
|
};
|
|
76339
76397
|
function MessageSubmittedEventJS(event) {
|
|
@@ -76341,7 +76399,7 @@ function requireClientsdkClientcore () {
|
|
|
76341
76399
|
this.id = event.h32_1;
|
|
76342
76400
|
this.timestamp = event.i32_1;
|
|
76343
76401
|
this.conversationId = event.j32_1;
|
|
76344
|
-
this.from =
|
|
76402
|
+
this.from = map_0(event.k32_1);
|
|
76345
76403
|
this.body = new EventStateBodyJS(event.l32_1);
|
|
76346
76404
|
}
|
|
76347
76405
|
protoOf(MessageSubmittedEventJS).ch = function () {
|
|
@@ -76356,10 +76414,10 @@ function requireClientsdkClientcore () {
|
|
|
76356
76414
|
protoOf(MessageSubmittedEventJS).t2s = function () {
|
|
76357
76415
|
return this.conversationId;
|
|
76358
76416
|
};
|
|
76359
|
-
protoOf(MessageSubmittedEventJS).
|
|
76417
|
+
protoOf(MessageSubmittedEventJS).q3r = function () {
|
|
76360
76418
|
return this.from;
|
|
76361
76419
|
};
|
|
76362
|
-
protoOf(MessageSubmittedEventJS).
|
|
76420
|
+
protoOf(MessageSubmittedEventJS).r3r = function () {
|
|
76363
76421
|
return this.body;
|
|
76364
76422
|
};
|
|
76365
76423
|
function MessageSeenEventJS(event) {
|
|
@@ -76367,7 +76425,7 @@ function requireClientsdkClientcore () {
|
|
|
76367
76425
|
this.id = event.m32_1;
|
|
76368
76426
|
this.timestamp = event.n32_1;
|
|
76369
76427
|
this.conversationId = event.o32_1;
|
|
76370
|
-
this.from =
|
|
76428
|
+
this.from = map_0(event.p32_1);
|
|
76371
76429
|
this.body = new EventStateBodyJS(event.q32_1);
|
|
76372
76430
|
}
|
|
76373
76431
|
protoOf(MessageSeenEventJS).ch = function () {
|
|
@@ -76382,13 +76440,13 @@ function requireClientsdkClientcore () {
|
|
|
76382
76440
|
protoOf(MessageSeenEventJS).t2s = function () {
|
|
76383
76441
|
return this.conversationId;
|
|
76384
76442
|
};
|
|
76385
|
-
protoOf(MessageSeenEventJS).
|
|
76443
|
+
protoOf(MessageSeenEventJS).q3r = function () {
|
|
76386
76444
|
return this.from;
|
|
76387
76445
|
};
|
|
76388
|
-
protoOf(MessageSeenEventJS).
|
|
76446
|
+
protoOf(MessageSeenEventJS).r3r = function () {
|
|
76389
76447
|
return this.body;
|
|
76390
76448
|
};
|
|
76391
|
-
function
|
|
76449
|
+
function map_0(_this__u8e3s4) {
|
|
76392
76450
|
var tmp;
|
|
76393
76451
|
if (_this__u8e3s4 instanceof EmbeddedInfo) {
|
|
76394
76452
|
tmp = new EmbeddedInfoJS(_this__u8e3s4);
|
|
@@ -76401,10 +76459,10 @@ function requireClientsdkClientcore () {
|
|
|
76401
76459
|
}
|
|
76402
76460
|
return tmp;
|
|
76403
76461
|
}
|
|
76404
|
-
function
|
|
76462
|
+
function map_1(_this__u8e3s4) {
|
|
76405
76463
|
var tmp;
|
|
76406
76464
|
if (isInterface(_this__u8e3s4, PersistentConversationEvent)) {
|
|
76407
|
-
tmp =
|
|
76465
|
+
tmp = map_2(_this__u8e3s4);
|
|
76408
76466
|
} else {
|
|
76409
76467
|
if (_this__u8e3s4 instanceof EphemeralConversationEvent) {
|
|
76410
76468
|
tmp = new EphemeralConversationEventJS(_this__u8e3s4);
|
|
@@ -76414,7 +76472,7 @@ function requireClientsdkClientcore () {
|
|
|
76414
76472
|
}
|
|
76415
76473
|
return tmp;
|
|
76416
76474
|
}
|
|
76417
|
-
function
|
|
76475
|
+
function map_2(_this__u8e3s4) {
|
|
76418
76476
|
var tmp;
|
|
76419
76477
|
if (_this__u8e3s4 instanceof MemberInvitedConversationEvent) {
|
|
76420
76478
|
tmp = new MemberInvitedEventJS(_this__u8e3s4);
|
|
@@ -76527,10 +76585,10 @@ function requireClientsdkClientcore () {
|
|
|
76527
76585
|
this.text = body.a34_1;
|
|
76528
76586
|
this.deleted = body.b34_1;
|
|
76529
76587
|
}
|
|
76530
|
-
protoOf(MessageTextEventBody).
|
|
76588
|
+
protoOf(MessageTextEventBody).u3r = function () {
|
|
76531
76589
|
return this.text;
|
|
76532
76590
|
};
|
|
76533
|
-
protoOf(MessageTextEventBody).
|
|
76591
|
+
protoOf(MessageTextEventBody).v3r = function () {
|
|
76534
76592
|
return this.deleted;
|
|
76535
76593
|
};
|
|
76536
76594
|
function MessageTextEventJS(event) {
|
|
@@ -76538,7 +76596,7 @@ function requireClientsdkClientcore () {
|
|
|
76538
76596
|
this.id = event.e34_1;
|
|
76539
76597
|
this.timestamp = event.c34_1;
|
|
76540
76598
|
this.conversationId = event.d34_1;
|
|
76541
|
-
this.from =
|
|
76599
|
+
this.from = map_0(event.f34_1);
|
|
76542
76600
|
this.body = new MessageTextEventBody(event.g34_1);
|
|
76543
76601
|
var tmp = this;
|
|
76544
76602
|
var tmp0_safe_receiver = event.h34_1;
|
|
@@ -76576,23 +76634,23 @@ function requireClientsdkClientcore () {
|
|
|
76576
76634
|
protoOf(MessageTextEventJS).t2s = function () {
|
|
76577
76635
|
return this.conversationId;
|
|
76578
76636
|
};
|
|
76579
|
-
protoOf(MessageTextEventJS).
|
|
76637
|
+
protoOf(MessageTextEventJS).q3r = function () {
|
|
76580
76638
|
return this.from;
|
|
76581
76639
|
};
|
|
76582
|
-
protoOf(MessageTextEventJS).
|
|
76640
|
+
protoOf(MessageTextEventJS).r3r = function () {
|
|
76583
76641
|
return this.body;
|
|
76584
76642
|
};
|
|
76585
|
-
protoOf(MessageTextEventJS).
|
|
76643
|
+
protoOf(MessageTextEventJS).w3r = function () {
|
|
76586
76644
|
return this.memberStatuses;
|
|
76587
76645
|
};
|
|
76588
76646
|
function MessageCustomEventBody(body) {
|
|
76589
76647
|
this.customData = parseCustomJson(body.i34_1);
|
|
76590
76648
|
this.deleted = body.j34_1;
|
|
76591
76649
|
}
|
|
76592
|
-
protoOf(MessageCustomEventBody).
|
|
76650
|
+
protoOf(MessageCustomEventBody).x3r = function () {
|
|
76593
76651
|
return this.customData;
|
|
76594
76652
|
};
|
|
76595
|
-
protoOf(MessageCustomEventBody).
|
|
76653
|
+
protoOf(MessageCustomEventBody).v3r = function () {
|
|
76596
76654
|
return this.deleted;
|
|
76597
76655
|
};
|
|
76598
76656
|
function MessageCustomEventJS(event) {
|
|
@@ -76600,7 +76658,7 @@ function requireClientsdkClientcore () {
|
|
|
76600
76658
|
this.id = event.m34_1;
|
|
76601
76659
|
this.timestamp = event.k34_1;
|
|
76602
76660
|
this.conversationId = event.l34_1;
|
|
76603
|
-
this.from =
|
|
76661
|
+
this.from = map_0(event.n34_1);
|
|
76604
76662
|
this.body = new MessageCustomEventBody(event.o34_1);
|
|
76605
76663
|
var tmp = this;
|
|
76606
76664
|
var tmp0_safe_receiver = event.p34_1;
|
|
@@ -76638,23 +76696,23 @@ function requireClientsdkClientcore () {
|
|
|
76638
76696
|
protoOf(MessageCustomEventJS).t2s = function () {
|
|
76639
76697
|
return this.conversationId;
|
|
76640
76698
|
};
|
|
76641
|
-
protoOf(MessageCustomEventJS).
|
|
76699
|
+
protoOf(MessageCustomEventJS).q3r = function () {
|
|
76642
76700
|
return this.from;
|
|
76643
76701
|
};
|
|
76644
|
-
protoOf(MessageCustomEventJS).
|
|
76702
|
+
protoOf(MessageCustomEventJS).r3r = function () {
|
|
76645
76703
|
return this.body;
|
|
76646
76704
|
};
|
|
76647
|
-
protoOf(MessageCustomEventJS).
|
|
76705
|
+
protoOf(MessageCustomEventJS).w3r = function () {
|
|
76648
76706
|
return this.memberStatuses;
|
|
76649
76707
|
};
|
|
76650
76708
|
function MessageAudioEventBody(body) {
|
|
76651
76709
|
this.audioUrl = body.g35_1;
|
|
76652
76710
|
this.deleted = body.h35_1;
|
|
76653
76711
|
}
|
|
76654
|
-
protoOf(MessageAudioEventBody).
|
|
76712
|
+
protoOf(MessageAudioEventBody).y3r = function () {
|
|
76655
76713
|
return this.audioUrl;
|
|
76656
76714
|
};
|
|
76657
|
-
protoOf(MessageAudioEventBody).
|
|
76715
|
+
protoOf(MessageAudioEventBody).v3r = function () {
|
|
76658
76716
|
return this.deleted;
|
|
76659
76717
|
};
|
|
76660
76718
|
function MessageAudioEventJS(event) {
|
|
@@ -76662,7 +76720,7 @@ function requireClientsdkClientcore () {
|
|
|
76662
76720
|
this.id = event.k35_1;
|
|
76663
76721
|
this.timestamp = event.i35_1;
|
|
76664
76722
|
this.conversationId = event.j35_1;
|
|
76665
|
-
this.from =
|
|
76723
|
+
this.from = map_0(event.l35_1);
|
|
76666
76724
|
this.body = new MessageAudioEventBody(event.m35_1);
|
|
76667
76725
|
var tmp = this;
|
|
76668
76726
|
var tmp0_safe_receiver = event.n35_1;
|
|
@@ -76700,23 +76758,23 @@ function requireClientsdkClientcore () {
|
|
|
76700
76758
|
protoOf(MessageAudioEventJS).t2s = function () {
|
|
76701
76759
|
return this.conversationId;
|
|
76702
76760
|
};
|
|
76703
|
-
protoOf(MessageAudioEventJS).
|
|
76761
|
+
protoOf(MessageAudioEventJS).q3r = function () {
|
|
76704
76762
|
return this.from;
|
|
76705
76763
|
};
|
|
76706
|
-
protoOf(MessageAudioEventJS).
|
|
76764
|
+
protoOf(MessageAudioEventJS).r3r = function () {
|
|
76707
76765
|
return this.body;
|
|
76708
76766
|
};
|
|
76709
|
-
protoOf(MessageAudioEventJS).
|
|
76767
|
+
protoOf(MessageAudioEventJS).w3r = function () {
|
|
76710
76768
|
return this.memberStatuses;
|
|
76711
76769
|
};
|
|
76712
76770
|
function MessageVideoEventBody(body) {
|
|
76713
76771
|
this.videoUrl = body.y34_1;
|
|
76714
76772
|
this.deleted = body.z34_1;
|
|
76715
76773
|
}
|
|
76716
|
-
protoOf(MessageVideoEventBody).
|
|
76774
|
+
protoOf(MessageVideoEventBody).z3r = function () {
|
|
76717
76775
|
return this.videoUrl;
|
|
76718
76776
|
};
|
|
76719
|
-
protoOf(MessageVideoEventBody).
|
|
76777
|
+
protoOf(MessageVideoEventBody).v3r = function () {
|
|
76720
76778
|
return this.deleted;
|
|
76721
76779
|
};
|
|
76722
76780
|
function MessageVideoEventJS(event) {
|
|
@@ -76724,7 +76782,7 @@ function requireClientsdkClientcore () {
|
|
|
76724
76782
|
this.id = event.c35_1;
|
|
76725
76783
|
this.timestamp = event.a35_1;
|
|
76726
76784
|
this.conversationId = event.b35_1;
|
|
76727
|
-
this.from =
|
|
76785
|
+
this.from = map_0(event.d35_1);
|
|
76728
76786
|
this.body = new MessageVideoEventBody(event.e35_1);
|
|
76729
76787
|
var tmp = this;
|
|
76730
76788
|
var tmp0_safe_receiver = event.f35_1;
|
|
@@ -76762,23 +76820,23 @@ function requireClientsdkClientcore () {
|
|
|
76762
76820
|
protoOf(MessageVideoEventJS).t2s = function () {
|
|
76763
76821
|
return this.conversationId;
|
|
76764
76822
|
};
|
|
76765
|
-
protoOf(MessageVideoEventJS).
|
|
76823
|
+
protoOf(MessageVideoEventJS).q3r = function () {
|
|
76766
76824
|
return this.from;
|
|
76767
76825
|
};
|
|
76768
|
-
protoOf(MessageVideoEventJS).
|
|
76826
|
+
protoOf(MessageVideoEventJS).r3r = function () {
|
|
76769
76827
|
return this.body;
|
|
76770
76828
|
};
|
|
76771
|
-
protoOf(MessageVideoEventJS).
|
|
76829
|
+
protoOf(MessageVideoEventJS).w3r = function () {
|
|
76772
76830
|
return this.memberStatuses;
|
|
76773
76831
|
};
|
|
76774
76832
|
function MessageImageEventBody(body) {
|
|
76775
76833
|
this.imageUrl = body.q34_1;
|
|
76776
76834
|
this.deleted = body.r34_1;
|
|
76777
76835
|
}
|
|
76778
|
-
protoOf(MessageImageEventBody).
|
|
76836
|
+
protoOf(MessageImageEventBody).a3s = function () {
|
|
76779
76837
|
return this.imageUrl;
|
|
76780
76838
|
};
|
|
76781
|
-
protoOf(MessageImageEventBody).
|
|
76839
|
+
protoOf(MessageImageEventBody).v3r = function () {
|
|
76782
76840
|
return this.deleted;
|
|
76783
76841
|
};
|
|
76784
76842
|
function MessageImageEventJS(event) {
|
|
@@ -76786,7 +76844,7 @@ function requireClientsdkClientcore () {
|
|
|
76786
76844
|
this.id = event.u34_1;
|
|
76787
76845
|
this.timestamp = event.s34_1;
|
|
76788
76846
|
this.conversationId = event.t34_1;
|
|
76789
|
-
this.from =
|
|
76847
|
+
this.from = map_0(event.v34_1);
|
|
76790
76848
|
this.body = new MessageImageEventBody(event.w34_1);
|
|
76791
76849
|
var tmp = this;
|
|
76792
76850
|
var tmp0_safe_receiver = event.x34_1;
|
|
@@ -76824,23 +76882,23 @@ function requireClientsdkClientcore () {
|
|
|
76824
76882
|
protoOf(MessageImageEventJS).t2s = function () {
|
|
76825
76883
|
return this.conversationId;
|
|
76826
76884
|
};
|
|
76827
|
-
protoOf(MessageImageEventJS).
|
|
76885
|
+
protoOf(MessageImageEventJS).q3r = function () {
|
|
76828
76886
|
return this.from;
|
|
76829
76887
|
};
|
|
76830
|
-
protoOf(MessageImageEventJS).
|
|
76888
|
+
protoOf(MessageImageEventJS).r3r = function () {
|
|
76831
76889
|
return this.body;
|
|
76832
76890
|
};
|
|
76833
|
-
protoOf(MessageImageEventJS).
|
|
76891
|
+
protoOf(MessageImageEventJS).w3r = function () {
|
|
76834
76892
|
return this.memberStatuses;
|
|
76835
76893
|
};
|
|
76836
76894
|
function MessageFileEventBody(body) {
|
|
76837
76895
|
this.fileUrl = body.o35_1;
|
|
76838
76896
|
this.deleted = body.p35_1;
|
|
76839
76897
|
}
|
|
76840
|
-
protoOf(MessageFileEventBody).
|
|
76898
|
+
protoOf(MessageFileEventBody).b3s = function () {
|
|
76841
76899
|
return this.fileUrl;
|
|
76842
76900
|
};
|
|
76843
|
-
protoOf(MessageFileEventBody).
|
|
76901
|
+
protoOf(MessageFileEventBody).v3r = function () {
|
|
76844
76902
|
return this.deleted;
|
|
76845
76903
|
};
|
|
76846
76904
|
function MessageFileEventJS(event) {
|
|
@@ -76848,7 +76906,7 @@ function requireClientsdkClientcore () {
|
|
|
76848
76906
|
this.id = event.s35_1;
|
|
76849
76907
|
this.timestamp = event.q35_1;
|
|
76850
76908
|
this.conversationId = event.r35_1;
|
|
76851
|
-
this.from =
|
|
76909
|
+
this.from = map_0(event.t35_1);
|
|
76852
76910
|
this.body = new MessageFileEventBody(event.u35_1);
|
|
76853
76911
|
var tmp = this;
|
|
76854
76912
|
var tmp0_safe_receiver = event.v35_1;
|
|
@@ -76886,23 +76944,23 @@ function requireClientsdkClientcore () {
|
|
|
76886
76944
|
protoOf(MessageFileEventJS).t2s = function () {
|
|
76887
76945
|
return this.conversationId;
|
|
76888
76946
|
};
|
|
76889
|
-
protoOf(MessageFileEventJS).
|
|
76947
|
+
protoOf(MessageFileEventJS).q3r = function () {
|
|
76890
76948
|
return this.from;
|
|
76891
76949
|
};
|
|
76892
|
-
protoOf(MessageFileEventJS).
|
|
76950
|
+
protoOf(MessageFileEventJS).r3r = function () {
|
|
76893
76951
|
return this.body;
|
|
76894
76952
|
};
|
|
76895
|
-
protoOf(MessageFileEventJS).
|
|
76953
|
+
protoOf(MessageFileEventJS).w3r = function () {
|
|
76896
76954
|
return this.memberStatuses;
|
|
76897
76955
|
};
|
|
76898
76956
|
function MessageVCardEventBody(body) {
|
|
76899
76957
|
this.vcardUrl = body.w35_1;
|
|
76900
76958
|
this.deleted = body.x35_1;
|
|
76901
76959
|
}
|
|
76902
|
-
protoOf(MessageVCardEventBody).
|
|
76960
|
+
protoOf(MessageVCardEventBody).c3s = function () {
|
|
76903
76961
|
return this.vcardUrl;
|
|
76904
76962
|
};
|
|
76905
|
-
protoOf(MessageVCardEventBody).
|
|
76963
|
+
protoOf(MessageVCardEventBody).v3r = function () {
|
|
76906
76964
|
return this.deleted;
|
|
76907
76965
|
};
|
|
76908
76966
|
function MessageVCardEventJS(event) {
|
|
@@ -76910,7 +76968,7 @@ function requireClientsdkClientcore () {
|
|
|
76910
76968
|
this.id = event.a36_1;
|
|
76911
76969
|
this.timestamp = event.y35_1;
|
|
76912
76970
|
this.conversationId = event.z35_1;
|
|
76913
|
-
this.from =
|
|
76971
|
+
this.from = map_0(event.b36_1);
|
|
76914
76972
|
this.body = new MessageVCardEventBody(event.c36_1);
|
|
76915
76973
|
var tmp = this;
|
|
76916
76974
|
var tmp0_safe_receiver = event.d36_1;
|
|
@@ -76948,23 +77006,23 @@ function requireClientsdkClientcore () {
|
|
|
76948
77006
|
protoOf(MessageVCardEventJS).t2s = function () {
|
|
76949
77007
|
return this.conversationId;
|
|
76950
77008
|
};
|
|
76951
|
-
protoOf(MessageVCardEventJS).
|
|
77009
|
+
protoOf(MessageVCardEventJS).q3r = function () {
|
|
76952
77010
|
return this.from;
|
|
76953
77011
|
};
|
|
76954
|
-
protoOf(MessageVCardEventJS).
|
|
77012
|
+
protoOf(MessageVCardEventJS).r3r = function () {
|
|
76955
77013
|
return this.body;
|
|
76956
77014
|
};
|
|
76957
|
-
protoOf(MessageVCardEventJS).
|
|
77015
|
+
protoOf(MessageVCardEventJS).w3r = function () {
|
|
76958
77016
|
return this.memberStatuses;
|
|
76959
77017
|
};
|
|
76960
77018
|
function MessageLocationEventBody(body) {
|
|
76961
77019
|
this.location = new Location_0(body.n36_1);
|
|
76962
77020
|
this.deleted = body.o36_1;
|
|
76963
77021
|
}
|
|
76964
|
-
protoOf(MessageLocationEventBody).
|
|
77022
|
+
protoOf(MessageLocationEventBody).d3s = function () {
|
|
76965
77023
|
return this.location;
|
|
76966
77024
|
};
|
|
76967
|
-
protoOf(MessageLocationEventBody).
|
|
77025
|
+
protoOf(MessageLocationEventBody).v3r = function () {
|
|
76968
77026
|
return this.deleted;
|
|
76969
77027
|
};
|
|
76970
77028
|
function Location_0(location) {
|
|
@@ -76973,16 +77031,16 @@ function requireClientsdkClientcore () {
|
|
|
76973
77031
|
this.name = location.p2l_1;
|
|
76974
77032
|
this.address = location.q2l_1;
|
|
76975
77033
|
}
|
|
76976
|
-
protoOf(Location_0).
|
|
77034
|
+
protoOf(Location_0).e3s = function () {
|
|
76977
77035
|
return this.longitude;
|
|
76978
77036
|
};
|
|
76979
|
-
protoOf(Location_0).
|
|
77037
|
+
protoOf(Location_0).f3s = function () {
|
|
76980
77038
|
return this.latitude;
|
|
76981
77039
|
};
|
|
76982
77040
|
protoOf(Location_0).a9 = function () {
|
|
76983
77041
|
return this.name;
|
|
76984
77042
|
};
|
|
76985
|
-
protoOf(Location_0).
|
|
77043
|
+
protoOf(Location_0).g3s = function () {
|
|
76986
77044
|
return this.address;
|
|
76987
77045
|
};
|
|
76988
77046
|
function MessageLocationEventJS(event) {
|
|
@@ -76990,7 +77048,7 @@ function requireClientsdkClientcore () {
|
|
|
76990
77048
|
this.id = event.r36_1;
|
|
76991
77049
|
this.timestamp = event.p36_1;
|
|
76992
77050
|
this.conversationId = event.q36_1;
|
|
76993
|
-
this.from =
|
|
77051
|
+
this.from = map_0(event.s36_1);
|
|
76994
77052
|
this.body = new MessageLocationEventBody(event.t36_1);
|
|
76995
77053
|
var tmp = this;
|
|
76996
77054
|
var tmp0_safe_receiver = event.u36_1;
|
|
@@ -77028,13 +77086,13 @@ function requireClientsdkClientcore () {
|
|
|
77028
77086
|
protoOf(MessageLocationEventJS).t2s = function () {
|
|
77029
77087
|
return this.conversationId;
|
|
77030
77088
|
};
|
|
77031
|
-
protoOf(MessageLocationEventJS).
|
|
77089
|
+
protoOf(MessageLocationEventJS).q3r = function () {
|
|
77032
77090
|
return this.from;
|
|
77033
77091
|
};
|
|
77034
|
-
protoOf(MessageLocationEventJS).
|
|
77092
|
+
protoOf(MessageLocationEventJS).r3r = function () {
|
|
77035
77093
|
return this.body;
|
|
77036
77094
|
};
|
|
77037
|
-
protoOf(MessageLocationEventJS).
|
|
77095
|
+
protoOf(MessageLocationEventJS).w3r = function () {
|
|
77038
77096
|
return this.memberStatuses;
|
|
77039
77097
|
};
|
|
77040
77098
|
function MessageTemplateEventBody(body) {
|
|
@@ -77043,27 +77101,27 @@ function requireClientsdkClientcore () {
|
|
|
77043
77101
|
this.whatsapp = new WhatsappObject_0(this.body.f36_1);
|
|
77044
77102
|
this.deleted = this.body.g36_1;
|
|
77045
77103
|
}
|
|
77046
|
-
protoOf(MessageTemplateEventBody).
|
|
77104
|
+
protoOf(MessageTemplateEventBody).r3r = function () {
|
|
77047
77105
|
return this.body;
|
|
77048
77106
|
};
|
|
77049
|
-
protoOf(MessageTemplateEventBody).
|
|
77107
|
+
protoOf(MessageTemplateEventBody).h3s = function () {
|
|
77050
77108
|
return this.template;
|
|
77051
77109
|
};
|
|
77052
|
-
protoOf(MessageTemplateEventBody).
|
|
77110
|
+
protoOf(MessageTemplateEventBody).i3s = function () {
|
|
77053
77111
|
return this.whatsapp;
|
|
77054
77112
|
};
|
|
77055
|
-
protoOf(MessageTemplateEventBody).
|
|
77113
|
+
protoOf(MessageTemplateEventBody).v3r = function () {
|
|
77056
77114
|
return this.deleted;
|
|
77057
77115
|
};
|
|
77058
77116
|
protoOf(MessageTemplateEventBody).o5 = function () {
|
|
77059
77117
|
return this.body;
|
|
77060
77118
|
};
|
|
77061
|
-
protoOf(MessageTemplateEventBody).
|
|
77119
|
+
protoOf(MessageTemplateEventBody).j3s = function (body) {
|
|
77062
77120
|
return new MessageTemplateEventBody(body);
|
|
77063
77121
|
};
|
|
77064
77122
|
protoOf(MessageTemplateEventBody).copy = function (body, $super) {
|
|
77065
77123
|
body = body === VOID ? this.body : body;
|
|
77066
|
-
return this.
|
|
77124
|
+
return this.j3s(body);
|
|
77067
77125
|
};
|
|
77068
77126
|
protoOf(MessageTemplateEventBody).toString = function () {
|
|
77069
77127
|
return 'Body(body=' + this.body + ')';
|
|
@@ -77097,17 +77155,17 @@ function requireClientsdkClientcore () {
|
|
|
77097
77155
|
protoOf(TemplateObject_0).a9 = function () {
|
|
77098
77156
|
return this.name;
|
|
77099
77157
|
};
|
|
77100
|
-
protoOf(TemplateObject_0).
|
|
77158
|
+
protoOf(TemplateObject_0).k3s = function () {
|
|
77101
77159
|
return this.parameters;
|
|
77102
77160
|
};
|
|
77103
77161
|
function WhatsappObject_0(whatsapp) {
|
|
77104
77162
|
this.policy = whatsapp.j2l_1;
|
|
77105
77163
|
this.locale = whatsapp.k2l_1;
|
|
77106
77164
|
}
|
|
77107
|
-
protoOf(WhatsappObject_0).
|
|
77165
|
+
protoOf(WhatsappObject_0).l3s = function () {
|
|
77108
77166
|
return this.policy;
|
|
77109
77167
|
};
|
|
77110
|
-
protoOf(WhatsappObject_0).
|
|
77168
|
+
protoOf(WhatsappObject_0).m3s = function () {
|
|
77111
77169
|
return this.locale;
|
|
77112
77170
|
};
|
|
77113
77171
|
function MessageTemplateEventJS(event) {
|
|
@@ -77115,7 +77173,7 @@ function requireClientsdkClientcore () {
|
|
|
77115
77173
|
this.id = event.j36_1;
|
|
77116
77174
|
this.timestamp = event.h36_1;
|
|
77117
77175
|
this.conversationId = event.i36_1;
|
|
77118
|
-
this.from =
|
|
77176
|
+
this.from = map_0(event.k36_1);
|
|
77119
77177
|
var tmp = this;
|
|
77120
77178
|
var tmp0_safe_receiver = event.m36_1;
|
|
77121
77179
|
var tmp_0;
|
|
@@ -77153,13 +77211,13 @@ function requireClientsdkClientcore () {
|
|
|
77153
77211
|
protoOf(MessageTemplateEventJS).t2s = function () {
|
|
77154
77212
|
return this.conversationId;
|
|
77155
77213
|
};
|
|
77156
|
-
protoOf(MessageTemplateEventJS).
|
|
77214
|
+
protoOf(MessageTemplateEventJS).q3r = function () {
|
|
77157
77215
|
return this.from;
|
|
77158
77216
|
};
|
|
77159
|
-
protoOf(MessageTemplateEventJS).
|
|
77217
|
+
protoOf(MessageTemplateEventJS).n3s = function () {
|
|
77160
77218
|
return this.memberStatus;
|
|
77161
77219
|
};
|
|
77162
|
-
protoOf(MessageTemplateEventJS).
|
|
77220
|
+
protoOf(MessageTemplateEventJS).r3r = function () {
|
|
77163
77221
|
return this.body;
|
|
77164
77222
|
};
|
|
77165
77223
|
var PresentingOrderJS_ASC_instance;
|
|
@@ -77191,7 +77249,7 @@ function requireClientsdkClientcore () {
|
|
|
77191
77249
|
Enum.call(this, name, ordinal);
|
|
77192
77250
|
this.corePresentingOrder = corePresentingOrder;
|
|
77193
77251
|
}
|
|
77194
|
-
protoOf(PresentingOrderJS).
|
|
77252
|
+
protoOf(PresentingOrderJS).q3s = function () {
|
|
77195
77253
|
return this.corePresentingOrder;
|
|
77196
77254
|
};
|
|
77197
77255
|
var OrderByJS_CREATED_instance;
|
|
@@ -77223,7 +77281,7 @@ function requireClientsdkClientcore () {
|
|
|
77223
77281
|
Enum.call(this, name, ordinal);
|
|
77224
77282
|
this.coreOrderBy = coreOrderBy;
|
|
77225
77283
|
}
|
|
77226
|
-
protoOf(OrderByJS).
|
|
77284
|
+
protoOf(OrderByJS).t3s = function () {
|
|
77227
77285
|
return this.coreOrderBy;
|
|
77228
77286
|
};
|
|
77229
77287
|
function Properties(properties) {
|
|
@@ -77244,13 +77302,13 @@ function requireClientsdkClientcore () {
|
|
|
77244
77302
|
}
|
|
77245
77303
|
tmp_1.customData = tmp_2;
|
|
77246
77304
|
}
|
|
77247
|
-
protoOf(Properties).
|
|
77305
|
+
protoOf(Properties).u3s = function () {
|
|
77248
77306
|
return this.ttl;
|
|
77249
77307
|
};
|
|
77250
|
-
protoOf(Properties).
|
|
77308
|
+
protoOf(Properties).v3s = function () {
|
|
77251
77309
|
return this.customSortKey;
|
|
77252
77310
|
};
|
|
77253
|
-
protoOf(Properties).
|
|
77311
|
+
protoOf(Properties).x3r = function () {
|
|
77254
77312
|
return this.customData;
|
|
77255
77313
|
};
|
|
77256
77314
|
function ConversationJS(conversation) {
|
|
@@ -77260,12 +77318,12 @@ function requireClientsdkClientcore () {
|
|
|
77260
77318
|
this.memberId = conversation.m2z_1;
|
|
77261
77319
|
var tmp = this;
|
|
77262
77320
|
var tmp0_safe_receiver = conversation.n2z_1;
|
|
77263
|
-
tmp.memberState = tmp0_safe_receiver == null ? null :
|
|
77321
|
+
tmp.memberState = tmp0_safe_receiver == null ? null : map_4(tmp0_safe_receiver);
|
|
77264
77322
|
this.displayName = conversation.o2z_1;
|
|
77265
77323
|
this.imageUrl = conversation.p2z_1;
|
|
77266
77324
|
var tmp_0 = this;
|
|
77267
77325
|
var tmp0_safe_receiver_0 = conversation.q2z_1;
|
|
77268
|
-
tmp_0.state = tmp0_safe_receiver_0 == null ? null :
|
|
77326
|
+
tmp_0.state = tmp0_safe_receiver_0 == null ? null : map_3(tmp0_safe_receiver_0);
|
|
77269
77327
|
this.properties = new Properties(conversation.r2z_1);
|
|
77270
77328
|
}
|
|
77271
77329
|
protoOf(ConversationJS).y26 = function () {
|
|
@@ -77277,16 +77335,16 @@ function requireClientsdkClientcore () {
|
|
|
77277
77335
|
protoOf(ConversationJS).n2k = function () {
|
|
77278
77336
|
return this.timestamp;
|
|
77279
77337
|
};
|
|
77280
|
-
protoOf(ConversationJS).
|
|
77338
|
+
protoOf(ConversationJS).p3r = function () {
|
|
77281
77339
|
return this.memberId;
|
|
77282
77340
|
};
|
|
77283
|
-
protoOf(ConversationJS).
|
|
77341
|
+
protoOf(ConversationJS).w3s = function () {
|
|
77284
77342
|
return this.memberState;
|
|
77285
77343
|
};
|
|
77286
|
-
protoOf(ConversationJS).
|
|
77344
|
+
protoOf(ConversationJS).x3s = function () {
|
|
77287
77345
|
return this.displayName;
|
|
77288
77346
|
};
|
|
77289
|
-
protoOf(ConversationJS).
|
|
77347
|
+
protoOf(ConversationJS).a3s = function () {
|
|
77290
77348
|
return this.imageUrl;
|
|
77291
77349
|
};
|
|
77292
77350
|
protoOf(ConversationJS).l3m = function () {
|
|
@@ -77300,13 +77358,13 @@ function requireClientsdkClientcore () {
|
|
|
77300
77358
|
this.INACTIVE = 'INACTIVE';
|
|
77301
77359
|
this.DELETED = 'DELETED';
|
|
77302
77360
|
}
|
|
77303
|
-
protoOf(ConversationStateJS).
|
|
77361
|
+
protoOf(ConversationStateJS).y3s = function () {
|
|
77304
77362
|
return this.ACTIVE;
|
|
77305
77363
|
};
|
|
77306
|
-
protoOf(ConversationStateJS).
|
|
77364
|
+
protoOf(ConversationStateJS).z3s = function () {
|
|
77307
77365
|
return this.INACTIVE;
|
|
77308
77366
|
};
|
|
77309
|
-
protoOf(ConversationStateJS).
|
|
77367
|
+
protoOf(ConversationStateJS).a3t = function () {
|
|
77310
77368
|
return this.DELETED;
|
|
77311
77369
|
};
|
|
77312
77370
|
protoOf(ConversationStateJS).toString = function () {
|
|
@@ -77332,13 +77390,13 @@ function requireClientsdkClientcore () {
|
|
|
77332
77390
|
this.updated = conversationTimestamp.v2z_1;
|
|
77333
77391
|
this.destroyed = conversationTimestamp.w2z_1;
|
|
77334
77392
|
}
|
|
77335
|
-
protoOf(ConversationTimestampJS).
|
|
77393
|
+
protoOf(ConversationTimestampJS).b3t = function () {
|
|
77336
77394
|
return this.created;
|
|
77337
77395
|
};
|
|
77338
|
-
protoOf(ConversationTimestampJS).
|
|
77396
|
+
protoOf(ConversationTimestampJS).c3t = function () {
|
|
77339
77397
|
return this.updated;
|
|
77340
77398
|
};
|
|
77341
|
-
protoOf(ConversationTimestampJS).
|
|
77399
|
+
protoOf(ConversationTimestampJS).d3t = function () {
|
|
77342
77400
|
return this.destroyed;
|
|
77343
77401
|
};
|
|
77344
77402
|
function ConversationsPageJS(conversationsPage) {
|
|
@@ -77359,18 +77417,18 @@ function requireClientsdkClientcore () {
|
|
|
77359
77417
|
this.previousCursor = conversationsPage.y2z_1;
|
|
77360
77418
|
this.nextCursor = conversationsPage.z2z_1;
|
|
77361
77419
|
}
|
|
77362
|
-
protoOf(ConversationsPageJS).
|
|
77420
|
+
protoOf(ConversationsPageJS).e3t = function () {
|
|
77363
77421
|
return this.conversations;
|
|
77364
77422
|
};
|
|
77365
|
-
protoOf(ConversationsPageJS).
|
|
77423
|
+
protoOf(ConversationsPageJS).n3r = function () {
|
|
77366
77424
|
return this.previousCursor;
|
|
77367
77425
|
};
|
|
77368
|
-
protoOf(ConversationsPageJS).
|
|
77426
|
+
protoOf(ConversationsPageJS).o3r = function () {
|
|
77369
77427
|
return this.nextCursor;
|
|
77370
77428
|
};
|
|
77371
77429
|
function MemberJS(member) {
|
|
77372
77430
|
this.id = member.n33_1;
|
|
77373
|
-
this.state =
|
|
77431
|
+
this.state = map_4(member.o33_1);
|
|
77374
77432
|
var tmp = this;
|
|
77375
77433
|
var tmp0_safe_receiver = member.p33_1;
|
|
77376
77434
|
var tmp_0;
|
|
@@ -77417,7 +77475,7 @@ function requireClientsdkClientcore () {
|
|
|
77417
77475
|
protoOf(MemberJS).q2m = function () {
|
|
77418
77476
|
return this.user;
|
|
77419
77477
|
};
|
|
77420
|
-
protoOf(MemberJS).
|
|
77478
|
+
protoOf(MemberJS).f3t = function () {
|
|
77421
77479
|
return this.channel;
|
|
77422
77480
|
};
|
|
77423
77481
|
protoOf(MemberJS).n2k = function () {
|
|
@@ -77429,16 +77487,16 @@ function requireClientsdkClientcore () {
|
|
|
77429
77487
|
this.LEFT = 'LEFT';
|
|
77430
77488
|
this.UNKNOWN = 'UNKNOWN';
|
|
77431
77489
|
}
|
|
77432
|
-
protoOf(MemberStateJSObj).
|
|
77490
|
+
protoOf(MemberStateJSObj).g3t = function () {
|
|
77433
77491
|
return this.INVITED;
|
|
77434
77492
|
};
|
|
77435
|
-
protoOf(MemberStateJSObj).
|
|
77493
|
+
protoOf(MemberStateJSObj).h3t = function () {
|
|
77436
77494
|
return this.JOINED;
|
|
77437
77495
|
};
|
|
77438
|
-
protoOf(MemberStateJSObj).
|
|
77496
|
+
protoOf(MemberStateJSObj).i3t = function () {
|
|
77439
77497
|
return this.LEFT;
|
|
77440
77498
|
};
|
|
77441
|
-
protoOf(MemberStateJSObj).
|
|
77499
|
+
protoOf(MemberStateJSObj).j3t = function () {
|
|
77442
77500
|
return this.UNKNOWN;
|
|
77443
77501
|
};
|
|
77444
77502
|
protoOf(MemberStateJSObj).toString = function () {
|
|
@@ -77464,13 +77522,13 @@ function requireClientsdkClientcore () {
|
|
|
77464
77522
|
this.joined = memberTimestamp.v33_1;
|
|
77465
77523
|
this.left = memberTimestamp.w33_1;
|
|
77466
77524
|
}
|
|
77467
|
-
protoOf(MemberTimestampJS).
|
|
77525
|
+
protoOf(MemberTimestampJS).k3t = function () {
|
|
77468
77526
|
return this.invited;
|
|
77469
77527
|
};
|
|
77470
|
-
protoOf(MemberTimestampJS).
|
|
77528
|
+
protoOf(MemberTimestampJS).l3t = function () {
|
|
77471
77529
|
return this.joined;
|
|
77472
77530
|
};
|
|
77473
|
-
protoOf(MemberTimestampJS).
|
|
77531
|
+
protoOf(MemberTimestampJS).m3t = function () {
|
|
77474
77532
|
return this.left;
|
|
77475
77533
|
};
|
|
77476
77534
|
function MembersPageJS(membersPage) {
|
|
@@ -77491,13 +77549,13 @@ function requireClientsdkClientcore () {
|
|
|
77491
77549
|
this.previousCursor = membersPage.y33_1;
|
|
77492
77550
|
this.nextCursor = membersPage.z33_1;
|
|
77493
77551
|
}
|
|
77494
|
-
protoOf(MembersPageJS).
|
|
77552
|
+
protoOf(MembersPageJS).n3t = function () {
|
|
77495
77553
|
return this.members;
|
|
77496
77554
|
};
|
|
77497
|
-
protoOf(MembersPageJS).
|
|
77555
|
+
protoOf(MembersPageJS).n3r = function () {
|
|
77498
77556
|
return this.previousCursor;
|
|
77499
77557
|
};
|
|
77500
|
-
protoOf(MembersPageJS).
|
|
77558
|
+
protoOf(MembersPageJS).o3r = function () {
|
|
77501
77559
|
return this.nextCursor;
|
|
77502
77560
|
};
|
|
77503
77561
|
function UserJS(user) {
|
|
@@ -77548,19 +77606,19 @@ function requireClientsdkClientcore () {
|
|
|
77548
77606
|
protoOf(UserJS).a9 = function () {
|
|
77549
77607
|
return this.name;
|
|
77550
77608
|
};
|
|
77551
|
-
protoOf(UserJS).
|
|
77609
|
+
protoOf(UserJS).x3s = function () {
|
|
77552
77610
|
return this.displayName;
|
|
77553
77611
|
};
|
|
77554
|
-
protoOf(UserJS).
|
|
77612
|
+
protoOf(UserJS).o3t = function () {
|
|
77555
77613
|
return this.channels;
|
|
77556
77614
|
};
|
|
77557
77615
|
protoOf(UserJS).n2k = function () {
|
|
77558
77616
|
return this.timestamp;
|
|
77559
77617
|
};
|
|
77560
|
-
protoOf(UserJS).
|
|
77618
|
+
protoOf(UserJS).a3s = function () {
|
|
77561
77619
|
return this.imageUrl;
|
|
77562
77620
|
};
|
|
77563
|
-
protoOf(UserJS).
|
|
77621
|
+
protoOf(UserJS).x3r = function () {
|
|
77564
77622
|
return this.customData;
|
|
77565
77623
|
};
|
|
77566
77624
|
function UserTimestampJS(userTimestamp) {
|
|
@@ -77568,13 +77626,13 @@ function requireClientsdkClientcore () {
|
|
|
77568
77626
|
this.updated = userTimestamp.k37_1;
|
|
77569
77627
|
this.destroyed = userTimestamp.l37_1;
|
|
77570
77628
|
}
|
|
77571
|
-
protoOf(UserTimestampJS).
|
|
77629
|
+
protoOf(UserTimestampJS).b3t = function () {
|
|
77572
77630
|
return this.created;
|
|
77573
77631
|
};
|
|
77574
|
-
protoOf(UserTimestampJS).
|
|
77632
|
+
protoOf(UserTimestampJS).c3t = function () {
|
|
77575
77633
|
return this.updated;
|
|
77576
77634
|
};
|
|
77577
|
-
protoOf(UserTimestampJS).
|
|
77635
|
+
protoOf(UserTimestampJS).d3t = function () {
|
|
77578
77636
|
return this.destroyed;
|
|
77579
77637
|
};
|
|
77580
77638
|
function UserChannelsJS(userChannels) {
|
|
@@ -77876,22 +77934,22 @@ function requireClientsdkClientcore () {
|
|
|
77876
77934
|
}
|
|
77877
77935
|
tmp_29.messenger = tmp_31;
|
|
77878
77936
|
}
|
|
77879
|
-
protoOf(UserChannelsJS).
|
|
77937
|
+
protoOf(UserChannelsJS).q3q = function () {
|
|
77880
77938
|
return this.app;
|
|
77881
77939
|
};
|
|
77882
|
-
protoOf(UserChannelsJS).
|
|
77940
|
+
protoOf(UserChannelsJS).r3q = function () {
|
|
77883
77941
|
return this.phone;
|
|
77884
77942
|
};
|
|
77885
|
-
protoOf(UserChannelsJS).
|
|
77943
|
+
protoOf(UserChannelsJS).p3t = function () {
|
|
77886
77944
|
return this.pstn;
|
|
77887
77945
|
};
|
|
77888
|
-
protoOf(UserChannelsJS).
|
|
77946
|
+
protoOf(UserChannelsJS).s3q = function () {
|
|
77889
77947
|
return this.sip;
|
|
77890
77948
|
};
|
|
77891
|
-
protoOf(UserChannelsJS).
|
|
77949
|
+
protoOf(UserChannelsJS).q3t = function () {
|
|
77892
77950
|
return this.vbc;
|
|
77893
77951
|
};
|
|
77894
|
-
protoOf(UserChannelsJS).
|
|
77952
|
+
protoOf(UserChannelsJS).t3q = function () {
|
|
77895
77953
|
return this.websocket;
|
|
77896
77954
|
};
|
|
77897
77955
|
protoOf(UserChannelsJS).r3t = function () {
|
|
@@ -77900,7 +77958,7 @@ function requireClientsdkClientcore () {
|
|
|
77900
77958
|
protoOf(UserChannelsJS).s3t = function () {
|
|
77901
77959
|
return this.mms;
|
|
77902
77960
|
};
|
|
77903
|
-
protoOf(UserChannelsJS).
|
|
77961
|
+
protoOf(UserChannelsJS).i3s = function () {
|
|
77904
77962
|
return this.whatsapp;
|
|
77905
77963
|
};
|
|
77906
77964
|
protoOf(UserChannelsJS).t3t = function () {
|
|
@@ -77910,7 +77968,7 @@ function requireClientsdkClientcore () {
|
|
|
77910
77968
|
return this.messenger;
|
|
77911
77969
|
};
|
|
77912
77970
|
function MemberChannelJS(memberChannel) {
|
|
77913
|
-
this.type =
|
|
77971
|
+
this.type = map_5(memberChannel.o2y_1);
|
|
77914
77972
|
var tmp = this;
|
|
77915
77973
|
var tmp0_safe_receiver = memberChannel.p2y_1;
|
|
77916
77974
|
var tmp_0;
|
|
@@ -77939,7 +77997,7 @@ function requireClientsdkClientcore () {
|
|
|
77939
77997
|
protoOf(MemberChannelJS).m3a = function () {
|
|
77940
77998
|
return this.type;
|
|
77941
77999
|
};
|
|
77942
|
-
protoOf(MemberChannelJS).
|
|
78000
|
+
protoOf(MemberChannelJS).q3r = function () {
|
|
77943
78001
|
return this.from;
|
|
77944
78002
|
};
|
|
77945
78003
|
protoOf(MemberChannelJS).v3t = function () {
|
|
@@ -78045,7 +78103,7 @@ function requireClientsdkClientcore () {
|
|
|
78045
78103
|
protoOf(LegJS).g3u = function () {
|
|
78046
78104
|
return this.endTime;
|
|
78047
78105
|
};
|
|
78048
|
-
protoOf(LegJS).
|
|
78106
|
+
protoOf(LegJS).q3r = function () {
|
|
78049
78107
|
return this.from;
|
|
78050
78108
|
};
|
|
78051
78109
|
protoOf(LegJS).v3t = function () {
|
|
@@ -78075,77 +78133,77 @@ function requireClientsdkClientcore () {
|
|
|
78075
78133
|
protoOf(LegsPageJS).i3u = function () {
|
|
78076
78134
|
return this.legs;
|
|
78077
78135
|
};
|
|
78078
|
-
protoOf(LegsPageJS).
|
|
78136
|
+
protoOf(LegsPageJS).n3r = function () {
|
|
78079
78137
|
return this.previousCursor;
|
|
78080
78138
|
};
|
|
78081
|
-
protoOf(LegsPageJS).
|
|
78139
|
+
protoOf(LegsPageJS).o3r = function () {
|
|
78082
78140
|
return this.nextCursor;
|
|
78083
78141
|
};
|
|
78084
|
-
|
|
78085
|
-
|
|
78086
|
-
|
|
78087
|
-
|
|
78088
|
-
|
|
78089
|
-
|
|
78090
|
-
|
|
78091
|
-
|
|
78092
|
-
|
|
78093
|
-
|
|
78094
|
-
|
|
78095
|
-
|
|
78096
|
-
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()];
|
|
78142
|
+
function ChannelTypeObj() {
|
|
78143
|
+
this.APP = 'APP';
|
|
78144
|
+
this.PHONE = 'PHONE';
|
|
78145
|
+
this.PSTN = 'PSTN';
|
|
78146
|
+
this.SIP = 'SIP';
|
|
78147
|
+
this.VBC = 'VBC';
|
|
78148
|
+
this.WEBSOCKET = 'WEBSOCKET';
|
|
78149
|
+
this.SMS = 'SMS';
|
|
78150
|
+
this.MMS = 'MMS';
|
|
78151
|
+
this.WHATSAPP = 'WHATSAPP';
|
|
78152
|
+
this.VIBER = 'VIBER';
|
|
78153
|
+
this.MESSENGER = 'MESSENGER';
|
|
78097
78154
|
}
|
|
78098
|
-
function
|
|
78099
|
-
|
|
78100
|
-
|
|
78101
|
-
|
|
78102
|
-
|
|
78103
|
-
|
|
78104
|
-
|
|
78105
|
-
|
|
78106
|
-
|
|
78107
|
-
|
|
78108
|
-
|
|
78109
|
-
|
|
78110
|
-
|
|
78111
|
-
|
|
78112
|
-
|
|
78113
|
-
|
|
78114
|
-
|
|
78115
|
-
|
|
78116
|
-
|
|
78117
|
-
|
|
78118
|
-
|
|
78119
|
-
|
|
78120
|
-
|
|
78121
|
-
|
|
78122
|
-
|
|
78123
|
-
|
|
78124
|
-
|
|
78125
|
-
|
|
78126
|
-
|
|
78127
|
-
}
|
|
78128
|
-
|
|
78129
|
-
|
|
78130
|
-
|
|
78131
|
-
|
|
78132
|
-
|
|
78133
|
-
|
|
78134
|
-
|
|
78135
|
-
|
|
78136
|
-
|
|
78137
|
-
|
|
78138
|
-
|
|
78139
|
-
|
|
78140
|
-
|
|
78141
|
-
|
|
78142
|
-
|
|
78143
|
-
|
|
78144
|
-
}
|
|
78145
|
-
|
|
78146
|
-
|
|
78155
|
+
protoOf(ChannelTypeObj).j3u = function () {
|
|
78156
|
+
return this.APP;
|
|
78157
|
+
};
|
|
78158
|
+
protoOf(ChannelTypeObj).k3u = function () {
|
|
78159
|
+
return this.PHONE;
|
|
78160
|
+
};
|
|
78161
|
+
protoOf(ChannelTypeObj).l3u = function () {
|
|
78162
|
+
return this.PSTN;
|
|
78163
|
+
};
|
|
78164
|
+
protoOf(ChannelTypeObj).m3u = function () {
|
|
78165
|
+
return this.SIP;
|
|
78166
|
+
};
|
|
78167
|
+
protoOf(ChannelTypeObj).n3u = function () {
|
|
78168
|
+
return this.VBC;
|
|
78169
|
+
};
|
|
78170
|
+
protoOf(ChannelTypeObj).o3u = function () {
|
|
78171
|
+
return this.WEBSOCKET;
|
|
78172
|
+
};
|
|
78173
|
+
protoOf(ChannelTypeObj).p3u = function () {
|
|
78174
|
+
return this.SMS;
|
|
78175
|
+
};
|
|
78176
|
+
protoOf(ChannelTypeObj).q3u = function () {
|
|
78177
|
+
return this.MMS;
|
|
78178
|
+
};
|
|
78179
|
+
protoOf(ChannelTypeObj).r3u = function () {
|
|
78180
|
+
return this.WHATSAPP;
|
|
78181
|
+
};
|
|
78182
|
+
protoOf(ChannelTypeObj).s3u = function () {
|
|
78183
|
+
return this.VIBER;
|
|
78184
|
+
};
|
|
78185
|
+
protoOf(ChannelTypeObj).t3u = function () {
|
|
78186
|
+
return this.MESSENGER;
|
|
78187
|
+
};
|
|
78188
|
+
protoOf(ChannelTypeObj).toString = function () {
|
|
78189
|
+
return 'ChannelTypeObj';
|
|
78190
|
+
};
|
|
78191
|
+
protoOf(ChannelTypeObj).hashCode = function () {
|
|
78192
|
+
return 289615710;
|
|
78193
|
+
};
|
|
78194
|
+
protoOf(ChannelTypeObj).equals = function (other) {
|
|
78195
|
+
if (this === other)
|
|
78196
|
+
return true;
|
|
78197
|
+
if (!(other instanceof ChannelTypeObj))
|
|
78198
|
+
return false;
|
|
78199
|
+
other instanceof ChannelTypeObj || THROW_CCE();
|
|
78200
|
+
return true;
|
|
78201
|
+
};
|
|
78202
|
+
var ChannelTypeObj_instance;
|
|
78203
|
+
function ChannelTypeObj_getInstance() {
|
|
78204
|
+
return ChannelTypeObj_instance;
|
|
78147
78205
|
}
|
|
78148
|
-
function
|
|
78206
|
+
function map_3(_this__u8e3s4) {
|
|
78149
78207
|
var tmp;
|
|
78150
78208
|
switch (_this__u8e3s4.z7_1) {
|
|
78151
78209
|
case 0:
|
|
@@ -78163,7 +78221,7 @@ function requireClientsdkClientcore () {
|
|
|
78163
78221
|
}
|
|
78164
78222
|
return tmp;
|
|
78165
78223
|
}
|
|
78166
|
-
function
|
|
78224
|
+
function map_4(_this__u8e3s4) {
|
|
78167
78225
|
var tmp;
|
|
78168
78226
|
switch (_this__u8e3s4.z7_1) {
|
|
78169
78227
|
case 0:
|
|
@@ -78184,6 +78242,48 @@ function requireClientsdkClientcore () {
|
|
|
78184
78242
|
}
|
|
78185
78243
|
return tmp;
|
|
78186
78244
|
}
|
|
78245
|
+
function map_5(_this__u8e3s4) {
|
|
78246
|
+
var tmp;
|
|
78247
|
+
switch (_this__u8e3s4.z7_1) {
|
|
78248
|
+
case 0:
|
|
78249
|
+
tmp = ChannelTypeObj_instance.APP;
|
|
78250
|
+
break;
|
|
78251
|
+
case 1:
|
|
78252
|
+
tmp = ChannelTypeObj_instance.PHONE;
|
|
78253
|
+
break;
|
|
78254
|
+
case 2:
|
|
78255
|
+
tmp = ChannelTypeObj_instance.PSTN;
|
|
78256
|
+
break;
|
|
78257
|
+
case 3:
|
|
78258
|
+
tmp = ChannelTypeObj_instance.SIP;
|
|
78259
|
+
break;
|
|
78260
|
+
case 4:
|
|
78261
|
+
tmp = ChannelTypeObj_instance.VBC;
|
|
78262
|
+
break;
|
|
78263
|
+
case 5:
|
|
78264
|
+
tmp = ChannelTypeObj_instance.WEBSOCKET;
|
|
78265
|
+
break;
|
|
78266
|
+
case 6:
|
|
78267
|
+
tmp = ChannelTypeObj_instance.SMS;
|
|
78268
|
+
break;
|
|
78269
|
+
case 7:
|
|
78270
|
+
tmp = ChannelTypeObj_instance.MMS;
|
|
78271
|
+
break;
|
|
78272
|
+
case 8:
|
|
78273
|
+
tmp = ChannelTypeObj_instance.WHATSAPP;
|
|
78274
|
+
break;
|
|
78275
|
+
case 9:
|
|
78276
|
+
tmp = ChannelTypeObj_instance.VIBER;
|
|
78277
|
+
break;
|
|
78278
|
+
case 10:
|
|
78279
|
+
tmp = ChannelTypeObj_instance.MESSENGER;
|
|
78280
|
+
break;
|
|
78281
|
+
default:
|
|
78282
|
+
noWhenBranchMatchedException();
|
|
78283
|
+
break;
|
|
78284
|
+
}
|
|
78285
|
+
return tmp;
|
|
78286
|
+
}
|
|
78187
78287
|
function PresentingOrderJS_ASC_getInstance() {
|
|
78188
78288
|
PresentingOrderJS_initEntries();
|
|
78189
78289
|
return PresentingOrderJS_ASC_instance;
|
|
@@ -78200,50 +78300,6 @@ function requireClientsdkClientcore () {
|
|
|
78200
78300
|
OrderByJS_initEntries();
|
|
78201
78301
|
return OrderByJS_CUSTOM_SORT_KEY_instance;
|
|
78202
78302
|
}
|
|
78203
|
-
function ChannelTypeJS_APP_getInstance() {
|
|
78204
|
-
ChannelTypeJS_initEntries();
|
|
78205
|
-
return ChannelTypeJS_APP_instance;
|
|
78206
|
-
}
|
|
78207
|
-
function ChannelTypeJS_PHONE_getInstance() {
|
|
78208
|
-
ChannelTypeJS_initEntries();
|
|
78209
|
-
return ChannelTypeJS_PHONE_instance;
|
|
78210
|
-
}
|
|
78211
|
-
function ChannelTypeJS_PSTN_getInstance() {
|
|
78212
|
-
ChannelTypeJS_initEntries();
|
|
78213
|
-
return ChannelTypeJS_PSTN_instance;
|
|
78214
|
-
}
|
|
78215
|
-
function ChannelTypeJS_SIP_getInstance() {
|
|
78216
|
-
ChannelTypeJS_initEntries();
|
|
78217
|
-
return ChannelTypeJS_SIP_instance;
|
|
78218
|
-
}
|
|
78219
|
-
function ChannelTypeJS_VBC_getInstance() {
|
|
78220
|
-
ChannelTypeJS_initEntries();
|
|
78221
|
-
return ChannelTypeJS_VBC_instance;
|
|
78222
|
-
}
|
|
78223
|
-
function ChannelTypeJS_WEBSOCKET_getInstance() {
|
|
78224
|
-
ChannelTypeJS_initEntries();
|
|
78225
|
-
return ChannelTypeJS_WEBSOCKET_instance;
|
|
78226
|
-
}
|
|
78227
|
-
function ChannelTypeJS_SMS_getInstance() {
|
|
78228
|
-
ChannelTypeJS_initEntries();
|
|
78229
|
-
return ChannelTypeJS_SMS_instance;
|
|
78230
|
-
}
|
|
78231
|
-
function ChannelTypeJS_MMS_getInstance() {
|
|
78232
|
-
ChannelTypeJS_initEntries();
|
|
78233
|
-
return ChannelTypeJS_MMS_instance;
|
|
78234
|
-
}
|
|
78235
|
-
function ChannelTypeJS_WHATSAPP_getInstance() {
|
|
78236
|
-
ChannelTypeJS_initEntries();
|
|
78237
|
-
return ChannelTypeJS_WHATSAPP_instance;
|
|
78238
|
-
}
|
|
78239
|
-
function ChannelTypeJS_VIBER_getInstance() {
|
|
78240
|
-
ChannelTypeJS_initEntries();
|
|
78241
|
-
return ChannelTypeJS_VIBER_instance;
|
|
78242
|
-
}
|
|
78243
|
-
function ChannelTypeJS_MESSENGER_getInstance() {
|
|
78244
|
-
ChannelTypeJS_initEntries();
|
|
78245
|
-
return ChannelTypeJS_MESSENGER_instance;
|
|
78246
|
-
}
|
|
78247
78303
|
function CSErrorCodesJS() {
|
|
78248
78304
|
this.CONVERSATION_DUPLICATE_NAME = 'conversation:error:duplicate-name';
|
|
78249
78305
|
this.MEMBER_ALREADY_JOINED = 'conversation:error:member-already-joined';
|
|
@@ -78256,34 +78312,34 @@ function requireClientsdkClientcore () {
|
|
|
78256
78312
|
this.CONVERSATION_MAX_NUMBER_OF_MEMBERS = 'conversation:error:maximum-number-of-members';
|
|
78257
78313
|
this.CUSTOM_DATA_OVERALL_LIMIT_EXCEEDED = 'custom-data:error:max-data-sum-limit-exceeded';
|
|
78258
78314
|
}
|
|
78259
|
-
protoOf(CSErrorCodesJS).
|
|
78315
|
+
protoOf(CSErrorCodesJS).u3u = function () {
|
|
78260
78316
|
return this.CONVERSATION_DUPLICATE_NAME;
|
|
78261
78317
|
};
|
|
78262
|
-
protoOf(CSErrorCodesJS).
|
|
78318
|
+
protoOf(CSErrorCodesJS).v3u = function () {
|
|
78263
78319
|
return this.MEMBER_ALREADY_JOINED;
|
|
78264
78320
|
};
|
|
78265
|
-
protoOf(CSErrorCodesJS).
|
|
78321
|
+
protoOf(CSErrorCodesJS).w3u = function () {
|
|
78266
78322
|
return this.MEMBER_ALREADY_INVITED;
|
|
78267
78323
|
};
|
|
78268
|
-
protoOf(CSErrorCodesJS).
|
|
78324
|
+
protoOf(CSErrorCodesJS).x3u = function () {
|
|
78269
78325
|
return this.CONVERSATION_NOT_FOUND;
|
|
78270
78326
|
};
|
|
78271
|
-
protoOf(CSErrorCodesJS).
|
|
78327
|
+
protoOf(CSErrorCodesJS).y3u = function () {
|
|
78272
78328
|
return this.MEMBER_NOT_FOUND;
|
|
78273
78329
|
};
|
|
78274
|
-
protoOf(CSErrorCodesJS).
|
|
78330
|
+
protoOf(CSErrorCodesJS).z3u = function () {
|
|
78275
78331
|
return this.USER_NOT_FOUND;
|
|
78276
78332
|
};
|
|
78277
|
-
protoOf(CSErrorCodesJS).
|
|
78333
|
+
protoOf(CSErrorCodesJS).a3v = function () {
|
|
78278
78334
|
return this.INVALID_CURSOR;
|
|
78279
78335
|
};
|
|
78280
|
-
protoOf(CSErrorCodesJS).
|
|
78336
|
+
protoOf(CSErrorCodesJS).b3v = function () {
|
|
78281
78337
|
return this.VALIDATION_FAIL;
|
|
78282
78338
|
};
|
|
78283
|
-
protoOf(CSErrorCodesJS).
|
|
78339
|
+
protoOf(CSErrorCodesJS).c3v = function () {
|
|
78284
78340
|
return this.CONVERSATION_MAX_NUMBER_OF_MEMBERS;
|
|
78285
78341
|
};
|
|
78286
|
-
protoOf(CSErrorCodesJS).
|
|
78342
|
+
protoOf(CSErrorCodesJS).d3v = function () {
|
|
78287
78343
|
return this.CUSTOM_DATA_OVERALL_LIMIT_EXCEEDED;
|
|
78288
78344
|
};
|
|
78289
78345
|
var CSErrorCodesJS_instance;
|
|
@@ -78308,52 +78364,52 @@ function requireClientsdkClientcore () {
|
|
|
78308
78364
|
this.PING_TIMEOUT_DISCONNECT = 'session:disconnect:ping-timeout';
|
|
78309
78365
|
this.TRANSPORT_CLOSED_DISCONNECT = 'session:disconnect:websocket-transport-closed';
|
|
78310
78366
|
}
|
|
78311
|
-
protoOf(SessionErrorCodesJS).
|
|
78367
|
+
protoOf(SessionErrorCodesJS).e3v = function () {
|
|
78312
78368
|
return this.EMPTY_TOKEN;
|
|
78313
78369
|
};
|
|
78314
|
-
protoOf(SessionErrorCodesJS).
|
|
78370
|
+
protoOf(SessionErrorCodesJS).f3v = function () {
|
|
78315
78371
|
return this.FORCED_DISCONNECT;
|
|
78316
78372
|
};
|
|
78317
|
-
protoOf(SessionErrorCodesJS).
|
|
78373
|
+
protoOf(SessionErrorCodesJS).g3v = function () {
|
|
78318
78374
|
return this.TIMEOUT;
|
|
78319
78375
|
};
|
|
78320
|
-
protoOf(SessionErrorCodesJS).
|
|
78376
|
+
protoOf(SessionErrorCodesJS).h3v = function () {
|
|
78321
78377
|
return this.INTERNAL_FAILURE;
|
|
78322
78378
|
};
|
|
78323
|
-
protoOf(SessionErrorCodesJS).
|
|
78379
|
+
protoOf(SessionErrorCodesJS).i3v = function () {
|
|
78324
78380
|
return this.NO_ACTIVE_SESSION;
|
|
78325
78381
|
};
|
|
78326
|
-
protoOf(SessionErrorCodesJS).
|
|
78382
|
+
protoOf(SessionErrorCodesJS).j3v = function () {
|
|
78327
78383
|
return this.ALREADY_ACTIVE_SESSION;
|
|
78328
78384
|
};
|
|
78329
|
-
protoOf(SessionErrorCodesJS).
|
|
78385
|
+
protoOf(SessionErrorCodesJS).k3v = function () {
|
|
78330
78386
|
return this.INVALID_TOKEN;
|
|
78331
78387
|
};
|
|
78332
|
-
protoOf(SessionErrorCodesJS).
|
|
78388
|
+
protoOf(SessionErrorCodesJS).l3v = function () {
|
|
78333
78389
|
return this.EXPIRED_TOKEN;
|
|
78334
78390
|
};
|
|
78335
|
-
protoOf(SessionErrorCodesJS).
|
|
78391
|
+
protoOf(SessionErrorCodesJS).m3v = function () {
|
|
78336
78392
|
return this.INVALID_USER;
|
|
78337
78393
|
};
|
|
78338
|
-
protoOf(SessionErrorCodesJS).
|
|
78394
|
+
protoOf(SessionErrorCodesJS).n3v = function () {
|
|
78339
78395
|
return this.AUTHORIZATION_ERROR;
|
|
78340
78396
|
};
|
|
78341
|
-
protoOf(SessionErrorCodesJS).
|
|
78397
|
+
protoOf(SessionErrorCodesJS).o3v = function () {
|
|
78342
78398
|
return this.INVALID_SESSION;
|
|
78343
78399
|
};
|
|
78344
|
-
protoOf(SessionErrorCodesJS).
|
|
78400
|
+
protoOf(SessionErrorCodesJS).p3v = function () {
|
|
78345
78401
|
return this.MAX_OPEN_SESSIONS;
|
|
78346
78402
|
};
|
|
78347
|
-
protoOf(SessionErrorCodesJS).
|
|
78403
|
+
protoOf(SessionErrorCodesJS).q3v = function () {
|
|
78348
78404
|
return this.INVALID_SOCKET_TRANSPORT;
|
|
78349
78405
|
};
|
|
78350
|
-
protoOf(SessionErrorCodesJS).
|
|
78406
|
+
protoOf(SessionErrorCodesJS).r3v = function () {
|
|
78351
78407
|
return this.CLIENT_DISCONNECT;
|
|
78352
78408
|
};
|
|
78353
|
-
protoOf(SessionErrorCodesJS).
|
|
78409
|
+
protoOf(SessionErrorCodesJS).s3v = function () {
|
|
78354
78410
|
return this.PING_TIMEOUT_DISCONNECT;
|
|
78355
78411
|
};
|
|
78356
|
-
protoOf(SessionErrorCodesJS).
|
|
78412
|
+
protoOf(SessionErrorCodesJS).t3v = function () {
|
|
78357
78413
|
return this.TRANSPORT_CLOSED_DISCONNECT;
|
|
78358
78414
|
};
|
|
78359
78415
|
var SessionErrorCodesJS_instance;
|
|
@@ -78363,7 +78419,7 @@ function requireClientsdkClientcore () {
|
|
|
78363
78419
|
function VonageErrorJS(vonageError) {
|
|
78364
78420
|
extendThrowable(this, vonageError.message);
|
|
78365
78421
|
captureStack(this, VonageErrorJS);
|
|
78366
|
-
this.type =
|
|
78422
|
+
this.type = valueOf_3(vonageError.t2x_1.y7_1);
|
|
78367
78423
|
this.code = vonageError.u2x_1;
|
|
78368
78424
|
this.kmpCause = vonageError.cause;
|
|
78369
78425
|
}
|
|
@@ -78373,7 +78429,7 @@ function requireClientsdkClientcore () {
|
|
|
78373
78429
|
protoOf(VonageErrorJS).i2n = function () {
|
|
78374
78430
|
return this.code;
|
|
78375
78431
|
};
|
|
78376
|
-
protoOf(VonageErrorJS).
|
|
78432
|
+
protoOf(VonageErrorJS).u3v = function () {
|
|
78377
78433
|
return this.kmpCause;
|
|
78378
78434
|
};
|
|
78379
78435
|
var VonageErrorTypeJS_CS_ERROR_instance;
|
|
@@ -78381,10 +78437,10 @@ function requireClientsdkClientcore () {
|
|
|
78381
78437
|
var VonageErrorTypeJS_SESSION_ERROR_instance;
|
|
78382
78438
|
var VonageErrorTypeJS_INTERNAL_ERROR_instance;
|
|
78383
78439
|
var VonageErrorTypeJS_UNKNOWN_ERROR_instance;
|
|
78384
|
-
function
|
|
78440
|
+
function values_2() {
|
|
78385
78441
|
return [VonageErrorTypeJS_CS_ERROR_getInstance(), VonageErrorTypeJS_NETWORK_ERROR_getInstance(), VonageErrorTypeJS_SESSION_ERROR_getInstance(), VonageErrorTypeJS_INTERNAL_ERROR_getInstance(), VonageErrorTypeJS_UNKNOWN_ERROR_getInstance()];
|
|
78386
78442
|
}
|
|
78387
|
-
function
|
|
78443
|
+
function valueOf_3(value) {
|
|
78388
78444
|
switch (value) {
|
|
78389
78445
|
case 'CS_ERROR':
|
|
78390
78446
|
return VonageErrorTypeJS_CS_ERROR_getInstance();
|
|
@@ -78418,7 +78474,7 @@ function requireClientsdkClientcore () {
|
|
|
78418
78474
|
}
|
|
78419
78475
|
function MediaClientErrorJS() {
|
|
78420
78476
|
}
|
|
78421
|
-
protoOf(MediaClientErrorJS).
|
|
78477
|
+
protoOf(MediaClientErrorJS).x3v = function () {
|
|
78422
78478
|
var tmp;
|
|
78423
78479
|
if (this instanceof PeerConnectionNotFoundJS) {
|
|
78424
78480
|
tmp = new PeerConnectionNotFound(this.legId);
|
|
@@ -78447,18 +78503,18 @@ function requireClientsdkClientcore () {
|
|
|
78447
78503
|
MediaClientErrorJS.call(this);
|
|
78448
78504
|
this.legId = legId;
|
|
78449
78505
|
}
|
|
78450
|
-
protoOf(PeerConnectionNotFoundJS).
|
|
78506
|
+
protoOf(PeerConnectionNotFoundJS).y3v = function () {
|
|
78451
78507
|
return this.legId;
|
|
78452
78508
|
};
|
|
78453
78509
|
protoOf(PeerConnectionNotFoundJS).o5 = function () {
|
|
78454
78510
|
return this.legId;
|
|
78455
78511
|
};
|
|
78456
|
-
protoOf(PeerConnectionNotFoundJS).
|
|
78512
|
+
protoOf(PeerConnectionNotFoundJS).z3v = function (legId) {
|
|
78457
78513
|
return new PeerConnectionNotFoundJS(legId);
|
|
78458
78514
|
};
|
|
78459
78515
|
protoOf(PeerConnectionNotFoundJS).copy = function (legId, $super) {
|
|
78460
78516
|
legId = legId === VOID ? this.legId : legId;
|
|
78461
|
-
return this.
|
|
78517
|
+
return this.z3v(legId);
|
|
78462
78518
|
};
|
|
78463
78519
|
protoOf(PeerConnectionNotFoundJS).toString = function () {
|
|
78464
78520
|
return 'PeerConnectionNotFoundJS(legId=' + this.legId + ')';
|
|
@@ -78480,18 +78536,18 @@ function requireClientsdkClientcore () {
|
|
|
78480
78536
|
MediaClientErrorJS.call(this);
|
|
78481
78537
|
this.legId = legId;
|
|
78482
78538
|
}
|
|
78483
|
-
protoOf(TrackNotFoundJS).
|
|
78539
|
+
protoOf(TrackNotFoundJS).y3v = function () {
|
|
78484
78540
|
return this.legId;
|
|
78485
78541
|
};
|
|
78486
78542
|
protoOf(TrackNotFoundJS).o5 = function () {
|
|
78487
78543
|
return this.legId;
|
|
78488
78544
|
};
|
|
78489
|
-
protoOf(TrackNotFoundJS).
|
|
78545
|
+
protoOf(TrackNotFoundJS).z3v = function (legId) {
|
|
78490
78546
|
return new TrackNotFoundJS(legId);
|
|
78491
78547
|
};
|
|
78492
78548
|
protoOf(TrackNotFoundJS).copy = function (legId, $super) {
|
|
78493
78549
|
legId = legId === VOID ? this.legId : legId;
|
|
78494
|
-
return this.
|
|
78550
|
+
return this.z3v(legId);
|
|
78495
78551
|
};
|
|
78496
78552
|
protoOf(TrackNotFoundJS).toString = function () {
|
|
78497
78553
|
return 'TrackNotFoundJS(legId=' + this.legId + ')';
|
|
@@ -78515,7 +78571,7 @@ function requireClientsdkClientcore () {
|
|
|
78515
78571
|
this.legId = legId;
|
|
78516
78572
|
this.message = message;
|
|
78517
78573
|
}
|
|
78518
|
-
protoOf(ProcessAnswerErrorJS).
|
|
78574
|
+
protoOf(ProcessAnswerErrorJS).y3v = function () {
|
|
78519
78575
|
return this.legId;
|
|
78520
78576
|
};
|
|
78521
78577
|
protoOf(ProcessAnswerErrorJS).ra = function () {
|
|
@@ -78527,13 +78583,13 @@ function requireClientsdkClientcore () {
|
|
|
78527
78583
|
protoOf(ProcessAnswerErrorJS).p5 = function () {
|
|
78528
78584
|
return this.message;
|
|
78529
78585
|
};
|
|
78530
|
-
protoOf(ProcessAnswerErrorJS).
|
|
78586
|
+
protoOf(ProcessAnswerErrorJS).a3w = function (legId, message) {
|
|
78531
78587
|
return new ProcessAnswerErrorJS(legId, message);
|
|
78532
78588
|
};
|
|
78533
78589
|
protoOf(ProcessAnswerErrorJS).copy = function (legId, message, $super) {
|
|
78534
78590
|
legId = legId === VOID ? this.legId : legId;
|
|
78535
78591
|
message = message === VOID ? this.message : message;
|
|
78536
|
-
return this.
|
|
78592
|
+
return this.a3w(legId, message);
|
|
78537
78593
|
};
|
|
78538
78594
|
protoOf(ProcessAnswerErrorJS).toString = function () {
|
|
78539
78595
|
return 'ProcessAnswerErrorJS(legId=' + this.legId + ', message=' + this.message + ')';
|
|
@@ -78566,12 +78622,12 @@ function requireClientsdkClientcore () {
|
|
|
78566
78622
|
protoOf(CreateAnswerErrorJS).o5 = function () {
|
|
78567
78623
|
return this.message;
|
|
78568
78624
|
};
|
|
78569
|
-
protoOf(CreateAnswerErrorJS).
|
|
78625
|
+
protoOf(CreateAnswerErrorJS).b3w = function (message) {
|
|
78570
78626
|
return new CreateAnswerErrorJS(message);
|
|
78571
78627
|
};
|
|
78572
78628
|
protoOf(CreateAnswerErrorJS).copy = function (message, $super) {
|
|
78573
78629
|
message = message === VOID ? this.message : message;
|
|
78574
|
-
return this.
|
|
78630
|
+
return this.b3w(message);
|
|
78575
78631
|
};
|
|
78576
78632
|
protoOf(CreateAnswerErrorJS).toString = function () {
|
|
78577
78633
|
return 'CreateAnswerErrorJS(message=' + this.message + ')';
|
|
@@ -78600,12 +78656,12 @@ function requireClientsdkClientcore () {
|
|
|
78600
78656
|
protoOf(CreateOfferErrorJS).o5 = function () {
|
|
78601
78657
|
return this.message;
|
|
78602
78658
|
};
|
|
78603
|
-
protoOf(CreateOfferErrorJS).
|
|
78659
|
+
protoOf(CreateOfferErrorJS).b3w = function (message) {
|
|
78604
78660
|
return new CreateOfferErrorJS(message);
|
|
78605
78661
|
};
|
|
78606
78662
|
protoOf(CreateOfferErrorJS).copy = function (message, $super) {
|
|
78607
78663
|
message = message === VOID ? this.message : message;
|
|
78608
|
-
return this.
|
|
78664
|
+
return this.b3w(message);
|
|
78609
78665
|
};
|
|
78610
78666
|
protoOf(CreateOfferErrorJS).toString = function () {
|
|
78611
78667
|
return 'CreateOfferErrorJS(message=' + this.message + ')';
|
|
@@ -78684,7 +78740,7 @@ function requireClientsdkClientcore () {
|
|
|
78684
78740
|
return function (resolve, reject) {
|
|
78685
78741
|
var tmp = this$0.core;
|
|
78686
78742
|
var tmp0_safe_receiver = $parameters;
|
|
78687
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
78743
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_16(tmp0_safe_receiver);
|
|
78688
78744
|
tmp.v1e(tmp_0, IChatClientJS$createConversation$lambda$lambda(resolve, reject));
|
|
78689
78745
|
return Unit_instance;
|
|
78690
78746
|
};
|
|
@@ -78906,7 +78962,7 @@ function requireClientsdkClientcore () {
|
|
|
78906
78962
|
return function (resolve, reject) {
|
|
78907
78963
|
var tmp = this$0.core;
|
|
78908
78964
|
var tmp0_safe_receiver = $parameters;
|
|
78909
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
78965
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_18(tmp0_safe_receiver);
|
|
78910
78966
|
tmp.b1f(tmp_0, IChatClientJS$getConversations$lambda$lambda(resolve, reject));
|
|
78911
78967
|
return Unit_instance;
|
|
78912
78968
|
};
|
|
@@ -78952,7 +79008,7 @@ function requireClientsdkClientcore () {
|
|
|
78952
79008
|
return function (resolve, reject) {
|
|
78953
79009
|
var tmp = this$0.core;
|
|
78954
79010
|
var tmp0_safe_receiver = $parameters;
|
|
78955
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
79011
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_20(tmp0_safe_receiver);
|
|
78956
79012
|
tmp.a1f($cid, tmp_0, IChatClientJS$getConversationMembers$lambda$lambda(resolve, reject));
|
|
78957
79013
|
return Unit_instance;
|
|
78958
79014
|
};
|
|
@@ -78998,7 +79054,7 @@ function requireClientsdkClientcore () {
|
|
|
78998
79054
|
return function (resolve, reject) {
|
|
78999
79055
|
var tmp = this$0.core;
|
|
79000
79056
|
var tmp0_safe_receiver = $parameters;
|
|
79001
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
79057
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_19(tmp0_safe_receiver);
|
|
79002
79058
|
tmp.j1d($cid, tmp_0, VOID, VOID, IChatClientJS$getConversationEvents$lambda$lambda(resolve, reject));
|
|
79003
79059
|
return Unit_instance;
|
|
79004
79060
|
};
|
|
@@ -79672,7 +79728,7 @@ function requireClientsdkClientcore () {
|
|
|
79672
79728
|
function IChatClientJS$updateConversation$lambda(this$0, $conversationId, $parameters) {
|
|
79673
79729
|
return function (resolve, reject) {
|
|
79674
79730
|
var tmp = this$0.core;
|
|
79675
|
-
var tmp_0 =
|
|
79731
|
+
var tmp_0 = map_17($parameters);
|
|
79676
79732
|
tmp.j1f($conversationId, tmp_0, IChatClientJS$updateConversation$lambda$lambda(resolve, reject));
|
|
79677
79733
|
return Unit_instance;
|
|
79678
79734
|
};
|
|
@@ -79687,10 +79743,10 @@ function requireClientsdkClientcore () {
|
|
|
79687
79743
|
var CoreClientConfigRegionJS_AP_instance;
|
|
79688
79744
|
var CoreClientConfigRegionJS_EU_instance;
|
|
79689
79745
|
var CoreClientConfigRegionJS_US_instance;
|
|
79690
|
-
function
|
|
79746
|
+
function values_3() {
|
|
79691
79747
|
return [CoreClientConfigRegionJS_AP_getInstance(), CoreClientConfigRegionJS_EU_getInstance(), CoreClientConfigRegionJS_US_getInstance()];
|
|
79692
79748
|
}
|
|
79693
|
-
function
|
|
79749
|
+
function valueOf_4(value) {
|
|
79694
79750
|
switch (value) {
|
|
79695
79751
|
case 'AP':
|
|
79696
79752
|
return CoreClientConfigRegionJS_AP_getInstance();
|
|
@@ -79717,58 +79773,58 @@ function requireClientsdkClientcore () {
|
|
|
79717
79773
|
Enum.call(this, name, ordinal);
|
|
79718
79774
|
this.coreRegion = coreRegion;
|
|
79719
79775
|
}
|
|
79720
|
-
protoOf(CoreClientConfigRegionJS).
|
|
79776
|
+
protoOf(CoreClientConfigRegionJS).e3w = function () {
|
|
79721
79777
|
return this.coreRegion;
|
|
79722
79778
|
};
|
|
79723
79779
|
function CoreClientConfigJS(region) {
|
|
79724
79780
|
region = region === VOID ? get_DEFAULT_REGION() : region;
|
|
79725
79781
|
this.region = region;
|
|
79726
|
-
this.
|
|
79727
|
-
this.
|
|
79782
|
+
this.f3w_1 = this.region.coreRegion.n2u_1;
|
|
79783
|
+
this.g3w_1 = this.region.coreRegion.o2u_1;
|
|
79728
79784
|
var tmp = this;
|
|
79729
79785
|
DefaultConfig_getInstance();
|
|
79730
|
-
tmp.
|
|
79786
|
+
tmp.h3w_1 = '/v2/rtc';
|
|
79731
79787
|
var tmp_0 = this;
|
|
79732
79788
|
DefaultConfig_getInstance();
|
|
79733
|
-
tmp_0.
|
|
79734
|
-
this.
|
|
79735
|
-
this.
|
|
79789
|
+
tmp_0.i3w_1 = true;
|
|
79790
|
+
this.j3w_1 = false;
|
|
79791
|
+
this.k3w_1 = false;
|
|
79736
79792
|
}
|
|
79737
|
-
protoOf(CoreClientConfigJS).
|
|
79793
|
+
protoOf(CoreClientConfigJS).l3w = function () {
|
|
79738
79794
|
return this.region;
|
|
79739
79795
|
};
|
|
79740
|
-
protoOf(CoreClientConfigJS).
|
|
79741
|
-
this.
|
|
79796
|
+
protoOf(CoreClientConfigJS).m3w = function (_set____db54di) {
|
|
79797
|
+
this.f3w_1 = _set____db54di;
|
|
79742
79798
|
};
|
|
79743
|
-
protoOf(CoreClientConfigJS).
|
|
79744
|
-
return this.
|
|
79799
|
+
protoOf(CoreClientConfigJS).n3w = function () {
|
|
79800
|
+
return this.f3w_1;
|
|
79745
79801
|
};
|
|
79746
|
-
protoOf(CoreClientConfigJS).
|
|
79747
|
-
this.
|
|
79802
|
+
protoOf(CoreClientConfigJS).o3w = function (_set____db54di) {
|
|
79803
|
+
this.g3w_1 = _set____db54di;
|
|
79748
79804
|
};
|
|
79749
|
-
protoOf(CoreClientConfigJS).
|
|
79750
|
-
return this.
|
|
79805
|
+
protoOf(CoreClientConfigJS).p3w = function () {
|
|
79806
|
+
return this.g3w_1;
|
|
79751
79807
|
};
|
|
79752
|
-
protoOf(CoreClientConfigJS).
|
|
79753
|
-
this.
|
|
79808
|
+
protoOf(CoreClientConfigJS).q3w = function (_set____db54di) {
|
|
79809
|
+
this.h3w_1 = _set____db54di;
|
|
79754
79810
|
};
|
|
79755
|
-
protoOf(CoreClientConfigJS).
|
|
79756
|
-
return this.
|
|
79811
|
+
protoOf(CoreClientConfigJS).r3w = function () {
|
|
79812
|
+
return this.h3w_1;
|
|
79757
79813
|
};
|
|
79758
|
-
protoOf(CoreClientConfigJS).
|
|
79759
|
-
this.
|
|
79814
|
+
protoOf(CoreClientConfigJS).s3w = function (_set____db54di) {
|
|
79815
|
+
this.i3w_1 = _set____db54di;
|
|
79760
79816
|
};
|
|
79761
|
-
protoOf(CoreClientConfigJS).
|
|
79762
|
-
return this.
|
|
79817
|
+
protoOf(CoreClientConfigJS).t3w = function () {
|
|
79818
|
+
return this.i3w_1;
|
|
79763
79819
|
};
|
|
79764
|
-
protoOf(CoreClientConfigJS).
|
|
79765
|
-
this.
|
|
79820
|
+
protoOf(CoreClientConfigJS).u3w = function (_set____db54di) {
|
|
79821
|
+
this.j3w_1 = _set____db54di;
|
|
79766
79822
|
};
|
|
79767
|
-
protoOf(CoreClientConfigJS).
|
|
79768
|
-
return this.
|
|
79823
|
+
protoOf(CoreClientConfigJS).v3w = function () {
|
|
79824
|
+
return this.j3w_1;
|
|
79769
79825
|
};
|
|
79770
|
-
protoOf(CoreClientConfigJS).
|
|
79771
|
-
return this.
|
|
79826
|
+
protoOf(CoreClientConfigJS).w3w = function () {
|
|
79827
|
+
return this.k3w_1;
|
|
79772
79828
|
};
|
|
79773
79829
|
function TopicJS(name, tag) {
|
|
79774
79830
|
this.name = name;
|
|
@@ -79777,7 +79833,7 @@ function requireClientsdkClientcore () {
|
|
|
79777
79833
|
protoOf(TopicJS).a9 = function () {
|
|
79778
79834
|
return this.name;
|
|
79779
79835
|
};
|
|
79780
|
-
protoOf(TopicJS).
|
|
79836
|
+
protoOf(TopicJS).x3w = function () {
|
|
79781
79837
|
return this.tag;
|
|
79782
79838
|
};
|
|
79783
79839
|
protoOf(TopicJS).o5 = function () {
|
|
@@ -79786,13 +79842,13 @@ function requireClientsdkClientcore () {
|
|
|
79786
79842
|
protoOf(TopicJS).p5 = function () {
|
|
79787
79843
|
return this.tag;
|
|
79788
79844
|
};
|
|
79789
|
-
protoOf(TopicJS).
|
|
79845
|
+
protoOf(TopicJS).y3w = function (name, tag) {
|
|
79790
79846
|
return new TopicJS(name, tag);
|
|
79791
79847
|
};
|
|
79792
79848
|
protoOf(TopicJS).copy = function (name, tag, $super) {
|
|
79793
79849
|
name = name === VOID ? this.name : name;
|
|
79794
79850
|
tag = tag === VOID ? this.tag : tag;
|
|
79795
|
-
return this.
|
|
79851
|
+
return this.y3w(name, tag);
|
|
79796
79852
|
};
|
|
79797
79853
|
protoOf(TopicJS).toString = function () {
|
|
79798
79854
|
return 'TopicJS(name=' + this.name + ', tag=' + this.tag + ')';
|
|
@@ -79821,10 +79877,10 @@ function requireClientsdkClientcore () {
|
|
|
79821
79877
|
var Topics_STORE_instance;
|
|
79822
79878
|
var Topics_REDUCER_instance;
|
|
79823
79879
|
var Topics_DEFAULT_instance;
|
|
79824
|
-
function
|
|
79880
|
+
function values_4() {
|
|
79825
79881
|
return [Topics_HTTP_getInstance(), Topics_WS_getInstance(), Topics_MEDIA_getInstance(), Topics_API_getInstance(), Topics_STORE_getInstance(), Topics_REDUCER_getInstance(), Topics_DEFAULT_getInstance()];
|
|
79826
79882
|
}
|
|
79827
|
-
function
|
|
79883
|
+
function valueOf_5(value) {
|
|
79828
79884
|
switch (value) {
|
|
79829
79885
|
case 'HTTP':
|
|
79830
79886
|
return Topics_HTTP_getInstance();
|
|
@@ -79883,10 +79939,10 @@ function requireClientsdkClientcore () {
|
|
|
79883
79939
|
var LoggingLevelJS_Warn_instance;
|
|
79884
79940
|
var LoggingLevelJS_Error_instance;
|
|
79885
79941
|
var LoggingLevelJS_Assert_instance;
|
|
79886
|
-
function
|
|
79942
|
+
function values_5() {
|
|
79887
79943
|
return [LoggingLevelJS_Verbose_getInstance(), LoggingLevelJS_Debug_getInstance(), LoggingLevelJS_Info_getInstance(), LoggingLevelJS_Warn_getInstance(), LoggingLevelJS_Error_getInstance(), LoggingLevelJS_Assert_getInstance()];
|
|
79888
79944
|
}
|
|
79889
|
-
function
|
|
79945
|
+
function valueOf_6(value) {
|
|
79890
79946
|
switch (value) {
|
|
79891
79947
|
case 'Verbose':
|
|
79892
79948
|
return LoggingLevelJS_Verbose_getInstance();
|
|
@@ -79932,10 +79988,10 @@ function requireClientsdkClientcore () {
|
|
|
79932
79988
|
var SessionErrorReasonJS_EXPIRED_TOKEN_instance;
|
|
79933
79989
|
var SessionErrorReasonJS_TRANSPORT_CLOSED_instance;
|
|
79934
79990
|
var SessionErrorReasonJS_PING_TIMEOUT_instance;
|
|
79935
|
-
function
|
|
79991
|
+
function values_6() {
|
|
79936
79992
|
return [SessionErrorReasonJS_EXPIRED_TOKEN_getInstance(), SessionErrorReasonJS_TRANSPORT_CLOSED_getInstance(), SessionErrorReasonJS_PING_TIMEOUT_getInstance()];
|
|
79937
79993
|
}
|
|
79938
|
-
function
|
|
79994
|
+
function valueOf_7(value) {
|
|
79939
79995
|
switch (value) {
|
|
79940
79996
|
case 'EXPIRED_TOKEN':
|
|
79941
79997
|
return SessionErrorReasonJS_EXPIRED_TOKEN_getInstance();
|
|
@@ -80187,11 +80243,11 @@ function requireClientsdkClientcore () {
|
|
|
80187
80243
|
}
|
|
80188
80244
|
function ICoreClientJS() {
|
|
80189
80245
|
}
|
|
80190
|
-
function
|
|
80246
|
+
function map_6(_this__u8e3s4) {
|
|
80191
80247
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
80192
80248
|
return new TopicJS(_this__u8e3s4.e3g_1, _this__u8e3s4.f3g_1);
|
|
80193
80249
|
}
|
|
80194
|
-
function
|
|
80250
|
+
function map_7(_this__u8e3s4) {
|
|
80195
80251
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
80196
80252
|
var tmp;
|
|
80197
80253
|
switch (_this__u8e3s4.z7_1) {
|
|
@@ -80222,7 +80278,7 @@ function requireClientsdkClientcore () {
|
|
|
80222
80278
|
}
|
|
80223
80279
|
return tmp;
|
|
80224
80280
|
}
|
|
80225
|
-
function
|
|
80281
|
+
function map_8(_this__u8e3s4) {
|
|
80226
80282
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
80227
80283
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
80228
80284
|
// Inline function 'kotlin.collections.flatMap' call
|
|
@@ -80234,7 +80290,7 @@ function requireClientsdkClientcore () {
|
|
|
80234
80290
|
var element = _this__u8e3s4[inductionVariable];
|
|
80235
80291
|
inductionVariable = inductionVariable + 1 | 0;
|
|
80236
80292
|
// Inline function 'vonage.map.<anonymous>' call
|
|
80237
|
-
var list =
|
|
80293
|
+
var list = map_7(element);
|
|
80238
80294
|
addAll(destination, list);
|
|
80239
80295
|
}
|
|
80240
80296
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -80246,10 +80302,10 @@ function requireClientsdkClientcore () {
|
|
|
80246
80302
|
var tmp0_safe_receiver = logger.minLogLevel;
|
|
80247
80303
|
var tmp_0 = tmp0_safe_receiver == null ? null : getLoggingLevel(tmp0_safe_receiver);
|
|
80248
80304
|
var tmp1_safe_receiver = logger.topics;
|
|
80249
|
-
var tmp_1 = tmp1_safe_receiver == null ? null :
|
|
80305
|
+
var tmp_1 = tmp1_safe_receiver == null ? null : map_8(tmp1_safe_receiver);
|
|
80250
80306
|
return createVonageLogger(tmp, tmp_0, tmp_1, vonageLogger$lambda(logger));
|
|
80251
80307
|
}
|
|
80252
|
-
function
|
|
80308
|
+
function map_9(_this__u8e3s4) {
|
|
80253
80309
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
80254
80310
|
var tmp;
|
|
80255
80311
|
if (_this__u8e3s4 == null) {
|
|
@@ -80347,9 +80403,9 @@ function requireClientsdkClientcore () {
|
|
|
80347
80403
|
}
|
|
80348
80404
|
function getLoggingLevelJS(_this__u8e3s4) {
|
|
80349
80405
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
80350
|
-
return
|
|
80406
|
+
return valueOf_6(_this__u8e3s4.y7_1);
|
|
80351
80407
|
}
|
|
80352
|
-
function
|
|
80408
|
+
function map_10(_this__u8e3s4) {
|
|
80353
80409
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
80354
80410
|
var tmp;
|
|
80355
80411
|
switch (_this__u8e3s4.z7_1) {
|
|
@@ -80373,26 +80429,26 @@ function requireClientsdkClientcore () {
|
|
|
80373
80429
|
return _this__u8e3s4 == null ? null : equals(_this__u8e3s4, undefined) ? null : _this__u8e3s4;
|
|
80374
80430
|
}
|
|
80375
80431
|
function createVonageLoggerJS$1($name, $minLogLevel, $topics, $onLog) {
|
|
80376
|
-
this.
|
|
80377
|
-
this.
|
|
80378
|
-
this.
|
|
80379
|
-
this.
|
|
80432
|
+
this.i3x_1 = $onLog;
|
|
80433
|
+
this.f3x_1 = $name;
|
|
80434
|
+
this.g3x_1 = $minLogLevel;
|
|
80435
|
+
this.h3x_1 = $topics;
|
|
80380
80436
|
}
|
|
80381
80437
|
protoOf(createVonageLoggerJS$1).a9 = function () {
|
|
80382
|
-
return this.
|
|
80438
|
+
return this.f3x_1;
|
|
80383
80439
|
};
|
|
80384
80440
|
protoOf(createVonageLoggerJS$1).s3f = function () {
|
|
80385
|
-
return this.
|
|
80441
|
+
return this.g3x_1;
|
|
80386
80442
|
};
|
|
80387
80443
|
protoOf(createVonageLoggerJS$1).k3f = function () {
|
|
80388
|
-
return this.
|
|
80444
|
+
return this.h3x_1;
|
|
80389
80445
|
};
|
|
80390
80446
|
protoOf(createVonageLoggerJS$1).onLog = function (logLevel, topic, message) {
|
|
80391
|
-
this.
|
|
80447
|
+
this.i3x_1(logLevel, topic, message);
|
|
80392
80448
|
};
|
|
80393
80449
|
function vonageLogger$lambda($logger) {
|
|
80394
80450
|
return function (logLevel, topic, message, _anonymous_parameter_3__qggqen) {
|
|
80395
|
-
$logger.onLog(getLoggingLevelJS(logLevel).y7_1,
|
|
80451
|
+
$logger.onLog(getLoggingLevelJS(logLevel).y7_1, map_6(topic), message);
|
|
80396
80452
|
return Unit_instance;
|
|
80397
80453
|
};
|
|
80398
80454
|
}
|
|
@@ -80476,102 +80532,104 @@ function requireClientsdkClientcore () {
|
|
|
80476
80532
|
function _init_properties_ICoreClientJS_kt__j7s52i() {
|
|
80477
80533
|
if (!properties_initialized_ICoreClientJS_kt_ipn2no) {
|
|
80478
80534
|
properties_initialized_ICoreClientJS_kt_ipn2no = true;
|
|
80479
|
-
DEFAULT_REGION =
|
|
80480
|
-
}
|
|
80481
|
-
}
|
|
80482
|
-
var LegStatusJS_RINGING_instance;
|
|
80483
|
-
var LegStatusJS_ANSWERED_instance;
|
|
80484
|
-
var LegStatusJS_COMPLETED_instance;
|
|
80485
|
-
function values_8() {
|
|
80486
|
-
return [LegStatusJS_RINGING_getInstance(), LegStatusJS_ANSWERED_getInstance(), LegStatusJS_COMPLETED_getInstance()];
|
|
80487
|
-
}
|
|
80488
|
-
function valueOf_9(value) {
|
|
80489
|
-
switch (value) {
|
|
80490
|
-
case 'RINGING':
|
|
80491
|
-
return LegStatusJS_RINGING_getInstance();
|
|
80492
|
-
case 'ANSWERED':
|
|
80493
|
-
return LegStatusJS_ANSWERED_getInstance();
|
|
80494
|
-
case 'COMPLETED':
|
|
80495
|
-
return LegStatusJS_COMPLETED_getInstance();
|
|
80496
|
-
default:
|
|
80497
|
-
LegStatusJS_initEntries();
|
|
80498
|
-
THROW_IAE('No enum constant value.');
|
|
80499
|
-
break;
|
|
80535
|
+
DEFAULT_REGION = valueOf_4(DefaultConfig_getInstance().u2u_1.y7_1);
|
|
80500
80536
|
}
|
|
80501
80537
|
}
|
|
80502
|
-
|
|
80503
|
-
|
|
80504
|
-
|
|
80505
|
-
|
|
80506
|
-
LegStatusJS_entriesInitialized = true;
|
|
80507
|
-
LegStatusJS_RINGING_instance = new LegStatusJS('RINGING', 0);
|
|
80508
|
-
LegStatusJS_ANSWERED_instance = new LegStatusJS('ANSWERED', 1);
|
|
80509
|
-
LegStatusJS_COMPLETED_instance = new LegStatusJS('COMPLETED', 2);
|
|
80510
|
-
}
|
|
80511
|
-
function LegStatusJS(name, ordinal) {
|
|
80512
|
-
Enum.call(this, name, ordinal);
|
|
80538
|
+
function LegStatusJSObject() {
|
|
80539
|
+
this.RINGING = 'RINGING';
|
|
80540
|
+
this.ANSWERED = 'ANSWERED';
|
|
80541
|
+
this.COMPLETED = 'COMPLETED';
|
|
80513
80542
|
}
|
|
80514
|
-
|
|
80515
|
-
|
|
80516
|
-
|
|
80517
|
-
|
|
80518
|
-
|
|
80519
|
-
|
|
80520
|
-
|
|
80521
|
-
|
|
80522
|
-
|
|
80523
|
-
|
|
80524
|
-
|
|
80525
|
-
}
|
|
80526
|
-
|
|
80527
|
-
|
|
80528
|
-
|
|
80529
|
-
|
|
80530
|
-
|
|
80531
|
-
|
|
80532
|
-
|
|
80533
|
-
|
|
80534
|
-
|
|
80543
|
+
protoOf(LegStatusJSObject).j3x = function () {
|
|
80544
|
+
return this.RINGING;
|
|
80545
|
+
};
|
|
80546
|
+
protoOf(LegStatusJSObject).k3x = function () {
|
|
80547
|
+
return this.ANSWERED;
|
|
80548
|
+
};
|
|
80549
|
+
protoOf(LegStatusJSObject).l3x = function () {
|
|
80550
|
+
return this.COMPLETED;
|
|
80551
|
+
};
|
|
80552
|
+
protoOf(LegStatusJSObject).toString = function () {
|
|
80553
|
+
return 'LegStatusJSObject';
|
|
80554
|
+
};
|
|
80555
|
+
protoOf(LegStatusJSObject).hashCode = function () {
|
|
80556
|
+
return 1394307204;
|
|
80557
|
+
};
|
|
80558
|
+
protoOf(LegStatusJSObject).equals = function (other) {
|
|
80559
|
+
if (this === other)
|
|
80560
|
+
return true;
|
|
80561
|
+
if (!(other instanceof LegStatusJSObject))
|
|
80562
|
+
return false;
|
|
80563
|
+
other instanceof LegStatusJSObject || THROW_CCE();
|
|
80564
|
+
return true;
|
|
80565
|
+
};
|
|
80566
|
+
var LegStatusJSObject_instance;
|
|
80567
|
+
function LegStatusJSObject_getInstance() {
|
|
80568
|
+
return LegStatusJSObject_instance;
|
|
80535
80569
|
}
|
|
80536
|
-
|
|
80537
|
-
|
|
80538
|
-
var HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_instance;
|
|
80539
|
-
var HangupReasonJS_LOCAL_HANGUP_instance;
|
|
80540
|
-
var HangupReasonJS_MEDIA_TIMEOUT_instance;
|
|
80541
|
-
function values_10() {
|
|
80542
|
-
return [HangupReasonJS_REMOTE_HANGUP_getInstance(), HangupReasonJS_REMOTE_REJECT_getInstance(), HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance(), HangupReasonJS_LOCAL_HANGUP_getInstance(), HangupReasonJS_MEDIA_TIMEOUT_getInstance()];
|
|
80570
|
+
function CallDisconnectReasonJSObject() {
|
|
80571
|
+
this.NetworkChange = 'networkChange';
|
|
80543
80572
|
}
|
|
80544
|
-
function
|
|
80545
|
-
|
|
80546
|
-
|
|
80547
|
-
|
|
80548
|
-
|
|
80549
|
-
|
|
80550
|
-
|
|
80551
|
-
|
|
80552
|
-
|
|
80553
|
-
|
|
80554
|
-
|
|
80555
|
-
|
|
80556
|
-
|
|
80557
|
-
|
|
80558
|
-
|
|
80559
|
-
|
|
80560
|
-
|
|
80573
|
+
protoOf(CallDisconnectReasonJSObject).m3x = function () {
|
|
80574
|
+
return this.NetworkChange;
|
|
80575
|
+
};
|
|
80576
|
+
protoOf(CallDisconnectReasonJSObject).toString = function () {
|
|
80577
|
+
return 'CallDisconnectReasonJSObject';
|
|
80578
|
+
};
|
|
80579
|
+
protoOf(CallDisconnectReasonJSObject).hashCode = function () {
|
|
80580
|
+
return 1280862186;
|
|
80581
|
+
};
|
|
80582
|
+
protoOf(CallDisconnectReasonJSObject).equals = function (other) {
|
|
80583
|
+
if (this === other)
|
|
80584
|
+
return true;
|
|
80585
|
+
if (!(other instanceof CallDisconnectReasonJSObject))
|
|
80586
|
+
return false;
|
|
80587
|
+
other instanceof CallDisconnectReasonJSObject || THROW_CCE();
|
|
80588
|
+
return true;
|
|
80589
|
+
};
|
|
80590
|
+
var CallDisconnectReasonJSObject_instance;
|
|
80591
|
+
function CallDisconnectReasonJSObject_getInstance() {
|
|
80592
|
+
return CallDisconnectReasonJSObject_instance;
|
|
80561
80593
|
}
|
|
80562
|
-
|
|
80563
|
-
|
|
80564
|
-
|
|
80565
|
-
|
|
80566
|
-
|
|
80567
|
-
|
|
80568
|
-
HangupReasonJS_REMOTE_REJECT_instance = new HangupReasonJS('REMOTE_REJECT', 1);
|
|
80569
|
-
HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_instance = new HangupReasonJS('REMOTE_NO_ANSWER_TIMEOUT', 2);
|
|
80570
|
-
HangupReasonJS_LOCAL_HANGUP_instance = new HangupReasonJS('LOCAL_HANGUP', 3);
|
|
80571
|
-
HangupReasonJS_MEDIA_TIMEOUT_instance = new HangupReasonJS('MEDIA_TIMEOUT', 4);
|
|
80594
|
+
function HangupReasonJSObject() {
|
|
80595
|
+
this.REMOTE_HANGUP = 'remoteHangup';
|
|
80596
|
+
this.REMOTE_REJECT = 'remoteReject';
|
|
80597
|
+
this.REMOTE_NO_ANSWER_TIMEOUT = 'remoteNoAnswerTimeout';
|
|
80598
|
+
this.LOCAL_HANGUP = 'localHangup';
|
|
80599
|
+
this.MEDIA_TIMEOUT = 'mediaTimeout';
|
|
80572
80600
|
}
|
|
80573
|
-
function
|
|
80574
|
-
|
|
80601
|
+
protoOf(HangupReasonJSObject).n3x = function () {
|
|
80602
|
+
return this.REMOTE_HANGUP;
|
|
80603
|
+
};
|
|
80604
|
+
protoOf(HangupReasonJSObject).o3x = function () {
|
|
80605
|
+
return this.REMOTE_REJECT;
|
|
80606
|
+
};
|
|
80607
|
+
protoOf(HangupReasonJSObject).p3x = function () {
|
|
80608
|
+
return this.REMOTE_NO_ANSWER_TIMEOUT;
|
|
80609
|
+
};
|
|
80610
|
+
protoOf(HangupReasonJSObject).q3x = function () {
|
|
80611
|
+
return this.LOCAL_HANGUP;
|
|
80612
|
+
};
|
|
80613
|
+
protoOf(HangupReasonJSObject).r3x = function () {
|
|
80614
|
+
return this.MEDIA_TIMEOUT;
|
|
80615
|
+
};
|
|
80616
|
+
protoOf(HangupReasonJSObject).toString = function () {
|
|
80617
|
+
return 'HangupReasonJSObject';
|
|
80618
|
+
};
|
|
80619
|
+
protoOf(HangupReasonJSObject).hashCode = function () {
|
|
80620
|
+
return -1290686563;
|
|
80621
|
+
};
|
|
80622
|
+
protoOf(HangupReasonJSObject).equals = function (other) {
|
|
80623
|
+
if (this === other)
|
|
80624
|
+
return true;
|
|
80625
|
+
if (!(other instanceof HangupReasonJSObject))
|
|
80626
|
+
return false;
|
|
80627
|
+
other instanceof HangupReasonJSObject || THROW_CCE();
|
|
80628
|
+
return true;
|
|
80629
|
+
};
|
|
80630
|
+
var HangupReasonJSObject_instance;
|
|
80631
|
+
function HangupReasonJSObject_getInstance() {
|
|
80632
|
+
return HangupReasonJSObject_instance;
|
|
80575
80633
|
}
|
|
80576
80634
|
function IVoiceClientJS$serverCall$lambda$lambda($resolve, $reject) {
|
|
80577
80635
|
return function (err, callId) {
|
|
@@ -80746,7 +80804,7 @@ function requireClientsdkClientcore () {
|
|
|
80746
80804
|
return function (resolve, reject) {
|
|
80747
80805
|
var tmp = this$0.core;
|
|
80748
80806
|
var tmp0_safe_receiver = $parameters;
|
|
80749
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
80807
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_21(tmp0_safe_receiver);
|
|
80750
80808
|
tmp.p1d($callId, tmp_0, IVoiceClientJS$getCallLegs$lambda$lambda(resolve, reject));
|
|
80751
80809
|
return Unit_instance;
|
|
80752
80810
|
};
|
|
@@ -81176,13 +81234,13 @@ function requireClientsdkClientcore () {
|
|
|
81176
81234
|
protoOf(VoiceInviteFromInfoJS).p5 = function () {
|
|
81177
81235
|
return this.type;
|
|
81178
81236
|
};
|
|
81179
|
-
protoOf(VoiceInviteFromInfoJS).
|
|
81237
|
+
protoOf(VoiceInviteFromInfoJS).s3x = function (id, type) {
|
|
81180
81238
|
return new VoiceInviteFromInfoJS(id, type);
|
|
81181
81239
|
};
|
|
81182
81240
|
protoOf(VoiceInviteFromInfoJS).copy = function (id, type, $super) {
|
|
81183
81241
|
id = id === VOID ? this.id : id;
|
|
81184
81242
|
type = type === VOID ? this.type : type;
|
|
81185
|
-
return this.
|
|
81243
|
+
return this.s3x(id, type);
|
|
81186
81244
|
};
|
|
81187
81245
|
protoOf(VoiceInviteFromInfoJS).toString = function () {
|
|
81188
81246
|
return 'VoiceInviteFromInfoJS(id=' + this.id + ', type=' + this.type + ')';
|
|
@@ -81204,17 +81262,17 @@ function requireClientsdkClientcore () {
|
|
|
81204
81262
|
return false;
|
|
81205
81263
|
return true;
|
|
81206
81264
|
};
|
|
81207
|
-
function
|
|
81265
|
+
function map_11(_this__u8e3s4) {
|
|
81208
81266
|
var tmp;
|
|
81209
81267
|
switch (_this__u8e3s4.z7_1) {
|
|
81210
81268
|
case 0:
|
|
81211
|
-
tmp =
|
|
81269
|
+
tmp = LegStatusJSObject_instance.RINGING;
|
|
81212
81270
|
break;
|
|
81213
81271
|
case 1:
|
|
81214
|
-
tmp =
|
|
81272
|
+
tmp = LegStatusJSObject_instance.ANSWERED;
|
|
81215
81273
|
break;
|
|
81216
81274
|
case 2:
|
|
81217
|
-
tmp =
|
|
81275
|
+
tmp = LegStatusJSObject_instance.COMPLETED;
|
|
81218
81276
|
break;
|
|
81219
81277
|
default:
|
|
81220
81278
|
noWhenBranchMatchedException();
|
|
@@ -81222,32 +81280,32 @@ function requireClientsdkClientcore () {
|
|
|
81222
81280
|
}
|
|
81223
81281
|
return tmp;
|
|
81224
81282
|
}
|
|
81225
|
-
function
|
|
81283
|
+
function map_12(_this__u8e3s4) {
|
|
81226
81284
|
var tmp;
|
|
81227
81285
|
if (_this__u8e3s4.z7_1 === 0) {
|
|
81228
|
-
tmp =
|
|
81286
|
+
tmp = CallDisconnectReasonJSObject_instance.NetworkChange;
|
|
81229
81287
|
} else {
|
|
81230
81288
|
noWhenBranchMatchedException();
|
|
81231
81289
|
}
|
|
81232
81290
|
return tmp;
|
|
81233
81291
|
}
|
|
81234
|
-
function
|
|
81292
|
+
function map_13(_this__u8e3s4) {
|
|
81235
81293
|
var tmp;
|
|
81236
81294
|
switch (_this__u8e3s4.z7_1) {
|
|
81237
81295
|
case 1:
|
|
81238
|
-
tmp =
|
|
81296
|
+
tmp = HangupReasonJSObject_instance.REMOTE_HANGUP;
|
|
81239
81297
|
break;
|
|
81240
81298
|
case 0:
|
|
81241
|
-
tmp =
|
|
81299
|
+
tmp = HangupReasonJSObject_instance.REMOTE_REJECT;
|
|
81242
81300
|
break;
|
|
81243
81301
|
case 2:
|
|
81244
|
-
tmp =
|
|
81302
|
+
tmp = HangupReasonJSObject_instance.REMOTE_NO_ANSWER_TIMEOUT;
|
|
81245
81303
|
break;
|
|
81246
81304
|
case 3:
|
|
81247
|
-
tmp =
|
|
81305
|
+
tmp = HangupReasonJSObject_instance.LOCAL_HANGUP;
|
|
81248
81306
|
break;
|
|
81249
81307
|
case 4:
|
|
81250
|
-
tmp =
|
|
81308
|
+
tmp = HangupReasonJSObject_instance.MEDIA_TIMEOUT;
|
|
81251
81309
|
break;
|
|
81252
81310
|
default:
|
|
81253
81311
|
noWhenBranchMatchedException();
|
|
@@ -81255,82 +81313,46 @@ function requireClientsdkClientcore () {
|
|
|
81255
81313
|
}
|
|
81256
81314
|
return tmp;
|
|
81257
81315
|
}
|
|
81258
|
-
function LegStatusJS_RINGING_getInstance() {
|
|
81259
|
-
LegStatusJS_initEntries();
|
|
81260
|
-
return LegStatusJS_RINGING_instance;
|
|
81261
|
-
}
|
|
81262
|
-
function LegStatusJS_ANSWERED_getInstance() {
|
|
81263
|
-
LegStatusJS_initEntries();
|
|
81264
|
-
return LegStatusJS_ANSWERED_instance;
|
|
81265
|
-
}
|
|
81266
|
-
function LegStatusJS_COMPLETED_getInstance() {
|
|
81267
|
-
LegStatusJS_initEntries();
|
|
81268
|
-
return LegStatusJS_COMPLETED_instance;
|
|
81269
|
-
}
|
|
81270
|
-
function CallDisconnectReasonJS_NetworkChange_getInstance() {
|
|
81271
|
-
CallDisconnectReasonJS_initEntries();
|
|
81272
|
-
return CallDisconnectReasonJS_NetworkChange_instance;
|
|
81273
|
-
}
|
|
81274
|
-
function HangupReasonJS_REMOTE_HANGUP_getInstance() {
|
|
81275
|
-
HangupReasonJS_initEntries();
|
|
81276
|
-
return HangupReasonJS_REMOTE_HANGUP_instance;
|
|
81277
|
-
}
|
|
81278
|
-
function HangupReasonJS_REMOTE_REJECT_getInstance() {
|
|
81279
|
-
HangupReasonJS_initEntries();
|
|
81280
|
-
return HangupReasonJS_REMOTE_REJECT_instance;
|
|
81281
|
-
}
|
|
81282
|
-
function HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance() {
|
|
81283
|
-
HangupReasonJS_initEntries();
|
|
81284
|
-
return HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_instance;
|
|
81285
|
-
}
|
|
81286
|
-
function HangupReasonJS_LOCAL_HANGUP_getInstance() {
|
|
81287
|
-
HangupReasonJS_initEntries();
|
|
81288
|
-
return HangupReasonJS_LOCAL_HANGUP_instance;
|
|
81289
|
-
}
|
|
81290
|
-
function HangupReasonJS_MEDIA_TIMEOUT_getInstance() {
|
|
81291
|
-
HangupReasonJS_initEntries();
|
|
81292
|
-
return HangupReasonJS_MEDIA_TIMEOUT_instance;
|
|
81293
|
-
}
|
|
81294
81316
|
function HttpClientErrorJS(message, cause) {
|
|
81295
81317
|
message = message === VOID ? null : message;
|
|
81296
81318
|
cause = cause === VOID ? null : cause;
|
|
81297
81319
|
extendThrowable(this);
|
|
81298
81320
|
captureStack(this, HttpClientErrorJS);
|
|
81299
|
-
this.
|
|
81300
|
-
this.
|
|
81321
|
+
this.t3x_1 = message;
|
|
81322
|
+
this.u3x_1 = cause;
|
|
81301
81323
|
}
|
|
81302
81324
|
protoOf(HttpClientErrorJS).ra = function () {
|
|
81303
|
-
return this.
|
|
81325
|
+
return this.t3x_1;
|
|
81304
81326
|
};
|
|
81305
81327
|
protoOf(HttpClientErrorJS).sa = function () {
|
|
81306
|
-
return this.
|
|
81328
|
+
return this.u3x_1;
|
|
81307
81329
|
};
|
|
81308
|
-
protoOf(HttpClientErrorJS).
|
|
81309
|
-
var tmp0_elvis_lhs = this.
|
|
81330
|
+
protoOf(HttpClientErrorJS).x3v = function () {
|
|
81331
|
+
var tmp0_elvis_lhs = this.t3x_1;
|
|
81310
81332
|
var tmp = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
81311
|
-
var tmp_0 = this.
|
|
81333
|
+
var tmp_0 = this.u3x_1;
|
|
81312
81334
|
return new HTTPClientError(tmp, tmp_0 instanceof Exception ? tmp_0 : null);
|
|
81313
81335
|
};
|
|
81314
81336
|
protoOf(HttpClientErrorJS).o5 = function () {
|
|
81315
|
-
return this.
|
|
81337
|
+
return this.t3x_1;
|
|
81316
81338
|
};
|
|
81317
81339
|
protoOf(HttpClientErrorJS).p5 = function () {
|
|
81318
|
-
return this.
|
|
81340
|
+
return this.u3x_1;
|
|
81319
81341
|
};
|
|
81320
|
-
protoOf(HttpClientErrorJS).
|
|
81342
|
+
protoOf(HttpClientErrorJS).v3x = function (message, cause) {
|
|
81321
81343
|
return new HttpClientErrorJS(message, cause);
|
|
81322
81344
|
};
|
|
81323
81345
|
protoOf(HttpClientErrorJS).copy = function (message, cause, $super) {
|
|
81324
|
-
message = message === VOID ? this.
|
|
81325
|
-
cause = cause === VOID ? this.
|
|
81326
|
-
return this.
|
|
81346
|
+
message = message === VOID ? this.t3x_1 : message;
|
|
81347
|
+
cause = cause === VOID ? this.u3x_1 : cause;
|
|
81348
|
+
return this.v3x(message, cause);
|
|
81327
81349
|
};
|
|
81328
81350
|
protoOf(HttpClientErrorJS).toString = function () {
|
|
81329
|
-
return 'HttpClientErrorJS(message=' + this.
|
|
81351
|
+
return 'HttpClientErrorJS(message=' + this.t3x_1 + ', cause=' + this.u3x_1 + ')';
|
|
81330
81352
|
};
|
|
81331
81353
|
protoOf(HttpClientErrorJS).hashCode = function () {
|
|
81332
|
-
var result = this.
|
|
81333
|
-
result = imul(result, 31) + (this.
|
|
81354
|
+
var result = this.t3x_1 == null ? 0 : getStringHashCode(this.t3x_1);
|
|
81355
|
+
result = imul(result, 31) + (this.u3x_1 == null ? 0 : hashCode(this.u3x_1)) | 0;
|
|
81334
81356
|
return result;
|
|
81335
81357
|
};
|
|
81336
81358
|
protoOf(HttpClientErrorJS).equals = function (other) {
|
|
@@ -81339,9 +81361,9 @@ function requireClientsdkClientcore () {
|
|
|
81339
81361
|
if (!(other instanceof HttpClientErrorJS))
|
|
81340
81362
|
return false;
|
|
81341
81363
|
var tmp0_other_with_cast = other instanceof HttpClientErrorJS ? other : THROW_CCE();
|
|
81342
|
-
if (!(this.
|
|
81364
|
+
if (!(this.t3x_1 == tmp0_other_with_cast.t3x_1))
|
|
81343
81365
|
return false;
|
|
81344
|
-
if (!equals(this.
|
|
81366
|
+
if (!equals(this.u3x_1, tmp0_other_with_cast.u3x_1))
|
|
81345
81367
|
return false;
|
|
81346
81368
|
return true;
|
|
81347
81369
|
};
|
|
@@ -81350,10 +81372,10 @@ function requireClientsdkClientcore () {
|
|
|
81350
81372
|
this.statusCode = statusCode;
|
|
81351
81373
|
this.body = body;
|
|
81352
81374
|
}
|
|
81353
|
-
protoOf(HttpClientResponseJS).
|
|
81375
|
+
protoOf(HttpClientResponseJS).w3x = function () {
|
|
81354
81376
|
return this.statusCode;
|
|
81355
81377
|
};
|
|
81356
|
-
protoOf(HttpClientResponseJS).
|
|
81378
|
+
protoOf(HttpClientResponseJS).r3r = function () {
|
|
81357
81379
|
return this.body;
|
|
81358
81380
|
};
|
|
81359
81381
|
protoOf(HttpClientResponseJS).o5 = function () {
|
|
@@ -81362,13 +81384,13 @@ function requireClientsdkClientcore () {
|
|
|
81362
81384
|
protoOf(HttpClientResponseJS).p5 = function () {
|
|
81363
81385
|
return this.body;
|
|
81364
81386
|
};
|
|
81365
|
-
protoOf(HttpClientResponseJS).
|
|
81387
|
+
protoOf(HttpClientResponseJS).x3x = function (statusCode, body) {
|
|
81366
81388
|
return new HttpClientResponseJS(statusCode, body);
|
|
81367
81389
|
};
|
|
81368
81390
|
protoOf(HttpClientResponseJS).copy = function (statusCode, body, $super) {
|
|
81369
81391
|
statusCode = statusCode === VOID ? this.statusCode : statusCode;
|
|
81370
81392
|
body = body === VOID ? this.body : body;
|
|
81371
|
-
return this.
|
|
81393
|
+
return this.x3x(statusCode, body);
|
|
81372
81394
|
};
|
|
81373
81395
|
protoOf(HttpClientResponseJS).toString = function () {
|
|
81374
81396
|
return 'HttpClientResponseJS(statusCode=' + this.statusCode + ', body=' + this.body + ')';
|
|
@@ -81418,46 +81440,42 @@ function requireClientsdkClientcore () {
|
|
|
81418
81440
|
return REASON_PING_TIMEOUT;
|
|
81419
81441
|
}
|
|
81420
81442
|
var REASON_PING_TIMEOUT;
|
|
81421
|
-
|
|
81422
|
-
|
|
81423
|
-
|
|
81424
|
-
|
|
81425
|
-
|
|
81426
|
-
return [CancelReasonJS_RemoteCancel_getInstance(), CancelReasonJS_AnsweredElsewhere_getInstance(), CancelReasonJS_RejectedElsewhere_getInstance(), CancelReasonJS_RemoteTimeout_getInstance()];
|
|
81443
|
+
function CancelReasonJSObject() {
|
|
81444
|
+
this.RemoteCancel = 'RemoteCancel';
|
|
81445
|
+
this.AnsweredElsewhere = 'AnsweredElsewhere';
|
|
81446
|
+
this.RejectedElsewhere = 'RejectedElsewhere';
|
|
81447
|
+
this.RemoteTimeout = 'RemoteTimeout';
|
|
81427
81448
|
}
|
|
81428
|
-
function
|
|
81429
|
-
|
|
81430
|
-
|
|
81431
|
-
|
|
81432
|
-
|
|
81433
|
-
return CancelReasonJS_AnsweredElsewhere_getInstance();
|
|
81434
|
-
case 'RejectedElsewhere':
|
|
81435
|
-
return CancelReasonJS_RejectedElsewhere_getInstance();
|
|
81436
|
-
case 'RemoteTimeout':
|
|
81437
|
-
return CancelReasonJS_RemoteTimeout_getInstance();
|
|
81438
|
-
default:
|
|
81439
|
-
CancelReasonJS_initEntries();
|
|
81440
|
-
THROW_IAE('No enum constant value.');
|
|
81441
|
-
break;
|
|
81442
|
-
}
|
|
81443
|
-
}
|
|
81444
|
-
var CancelReasonJS_entriesInitialized;
|
|
81445
|
-
function CancelReasonJS_initEntries() {
|
|
81446
|
-
if (CancelReasonJS_entriesInitialized)
|
|
81447
|
-
return Unit_instance;
|
|
81448
|
-
CancelReasonJS_entriesInitialized = true;
|
|
81449
|
-
CancelReasonJS_RemoteCancel_instance = new CancelReasonJS('RemoteCancel', 0, 'RemoteCancel');
|
|
81450
|
-
CancelReasonJS_AnsweredElsewhere_instance = new CancelReasonJS('AnsweredElsewhere', 1, 'AnsweredElsewhere');
|
|
81451
|
-
CancelReasonJS_RejectedElsewhere_instance = new CancelReasonJS('RejectedElsewhere', 2, 'RejectedElsewhere');
|
|
81452
|
-
CancelReasonJS_RemoteTimeout_instance = new CancelReasonJS('RemoteTimeout', 3, 'RemoteTimeout');
|
|
81453
|
-
}
|
|
81454
|
-
function CancelReasonJS(name, ordinal, reason) {
|
|
81455
|
-
Enum.call(this, name, ordinal);
|
|
81456
|
-
this.reason = reason;
|
|
81457
|
-
}
|
|
81458
|
-
protoOf(CancelReasonJS).r2m = function () {
|
|
81459
|
-
return this.reason;
|
|
81449
|
+
protoOf(CancelReasonJSObject).y3x = function () {
|
|
81450
|
+
return this.RemoteCancel;
|
|
81451
|
+
};
|
|
81452
|
+
protoOf(CancelReasonJSObject).z3x = function () {
|
|
81453
|
+
return this.AnsweredElsewhere;
|
|
81460
81454
|
};
|
|
81455
|
+
protoOf(CancelReasonJSObject).a3y = function () {
|
|
81456
|
+
return this.RejectedElsewhere;
|
|
81457
|
+
};
|
|
81458
|
+
protoOf(CancelReasonJSObject).b3y = function () {
|
|
81459
|
+
return this.RemoteTimeout;
|
|
81460
|
+
};
|
|
81461
|
+
protoOf(CancelReasonJSObject).toString = function () {
|
|
81462
|
+
return 'CancelReasonJSObject';
|
|
81463
|
+
};
|
|
81464
|
+
protoOf(CancelReasonJSObject).hashCode = function () {
|
|
81465
|
+
return 1773502666;
|
|
81466
|
+
};
|
|
81467
|
+
protoOf(CancelReasonJSObject).equals = function (other) {
|
|
81468
|
+
if (this === other)
|
|
81469
|
+
return true;
|
|
81470
|
+
if (!(other instanceof CancelReasonJSObject))
|
|
81471
|
+
return false;
|
|
81472
|
+
other instanceof CancelReasonJSObject || THROW_CCE();
|
|
81473
|
+
return true;
|
|
81474
|
+
};
|
|
81475
|
+
var CancelReasonJSObject_instance;
|
|
81476
|
+
function CancelReasonJSObject_getInstance() {
|
|
81477
|
+
return CancelReasonJSObject_instance;
|
|
81478
|
+
}
|
|
81461
81479
|
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) {
|
|
81462
81480
|
this.mos_score = mos_score;
|
|
81463
81481
|
this.quality_percentage = quality_percentage;
|
|
@@ -81469,31 +81487,31 @@ function requireClientsdkClientcore () {
|
|
|
81469
81487
|
this.packet_cnt = packet_cnt;
|
|
81470
81488
|
this.packet_loss_perc = packet_loss_perc;
|
|
81471
81489
|
}
|
|
81472
|
-
protoOf(RTCQualityJS).
|
|
81490
|
+
protoOf(RTCQualityJS).c3y = function () {
|
|
81473
81491
|
return this.mos_score;
|
|
81474
81492
|
};
|
|
81475
|
-
protoOf(RTCQualityJS).
|
|
81493
|
+
protoOf(RTCQualityJS).d3y = function () {
|
|
81476
81494
|
return this.quality_percentage;
|
|
81477
81495
|
};
|
|
81478
|
-
protoOf(RTCQualityJS).
|
|
81496
|
+
protoOf(RTCQualityJS).e3y = function () {
|
|
81479
81497
|
return this.jitter_min_var;
|
|
81480
81498
|
};
|
|
81481
|
-
protoOf(RTCQualityJS).
|
|
81499
|
+
protoOf(RTCQualityJS).f3y = function () {
|
|
81482
81500
|
return this.jitter_max_var;
|
|
81483
81501
|
};
|
|
81484
|
-
protoOf(RTCQualityJS).
|
|
81502
|
+
protoOf(RTCQualityJS).g3y = function () {
|
|
81485
81503
|
return this.jitter_loss_rate;
|
|
81486
81504
|
};
|
|
81487
|
-
protoOf(RTCQualityJS).
|
|
81505
|
+
protoOf(RTCQualityJS).h3y = function () {
|
|
81488
81506
|
return this.jitter_burst_rate;
|
|
81489
81507
|
};
|
|
81490
|
-
protoOf(RTCQualityJS).
|
|
81508
|
+
protoOf(RTCQualityJS).i3y = function () {
|
|
81491
81509
|
return this.flaw_total;
|
|
81492
81510
|
};
|
|
81493
|
-
protoOf(RTCQualityJS).
|
|
81511
|
+
protoOf(RTCQualityJS).j3y = function () {
|
|
81494
81512
|
return this.packet_cnt;
|
|
81495
81513
|
};
|
|
81496
|
-
protoOf(RTCQualityJS).
|
|
81514
|
+
protoOf(RTCQualityJS).k3y = function () {
|
|
81497
81515
|
return this.packet_loss_perc;
|
|
81498
81516
|
};
|
|
81499
81517
|
protoOf(RTCQualityJS).o5 = function () {
|
|
@@ -81502,28 +81520,28 @@ function requireClientsdkClientcore () {
|
|
|
81502
81520
|
protoOf(RTCQualityJS).p5 = function () {
|
|
81503
81521
|
return this.quality_percentage;
|
|
81504
81522
|
};
|
|
81505
|
-
protoOf(RTCQualityJS).
|
|
81523
|
+
protoOf(RTCQualityJS).l3y = function () {
|
|
81506
81524
|
return this.jitter_min_var;
|
|
81507
81525
|
};
|
|
81508
|
-
protoOf(RTCQualityJS).
|
|
81526
|
+
protoOf(RTCQualityJS).m3y = function () {
|
|
81509
81527
|
return this.jitter_max_var;
|
|
81510
81528
|
};
|
|
81511
|
-
protoOf(RTCQualityJS).
|
|
81529
|
+
protoOf(RTCQualityJS).n3y = function () {
|
|
81512
81530
|
return this.jitter_loss_rate;
|
|
81513
81531
|
};
|
|
81514
|
-
protoOf(RTCQualityJS).
|
|
81532
|
+
protoOf(RTCQualityJS).o3y = function () {
|
|
81515
81533
|
return this.jitter_burst_rate;
|
|
81516
81534
|
};
|
|
81517
|
-
protoOf(RTCQualityJS).
|
|
81535
|
+
protoOf(RTCQualityJS).p3y = function () {
|
|
81518
81536
|
return this.flaw_total;
|
|
81519
81537
|
};
|
|
81520
|
-
protoOf(RTCQualityJS).
|
|
81538
|
+
protoOf(RTCQualityJS).q3y = function () {
|
|
81521
81539
|
return this.packet_cnt;
|
|
81522
81540
|
};
|
|
81523
|
-
protoOf(RTCQualityJS).
|
|
81541
|
+
protoOf(RTCQualityJS).r3y = function () {
|
|
81524
81542
|
return this.packet_loss_perc;
|
|
81525
81543
|
};
|
|
81526
|
-
protoOf(RTCQualityJS).
|
|
81544
|
+
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) {
|
|
81527
81545
|
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);
|
|
81528
81546
|
};
|
|
81529
81547
|
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) {
|
|
@@ -81536,7 +81554,7 @@ function requireClientsdkClientcore () {
|
|
|
81536
81554
|
flaw_total = flaw_total === VOID ? this.flaw_total : flaw_total;
|
|
81537
81555
|
packet_cnt = packet_cnt === VOID ? this.packet_cnt : packet_cnt;
|
|
81538
81556
|
packet_loss_perc = packet_loss_perc === VOID ? this.packet_loss_perc : packet_loss_perc;
|
|
81539
|
-
return this.
|
|
81557
|
+
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);
|
|
81540
81558
|
};
|
|
81541
81559
|
protoOf(RTCQualityJS).toString = function () {
|
|
81542
81560
|
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 + ')';
|
|
@@ -81581,7 +81599,7 @@ function requireClientsdkClientcore () {
|
|
|
81581
81599
|
};
|
|
81582
81600
|
function Companion() {
|
|
81583
81601
|
}
|
|
81584
|
-
protoOf(Companion).
|
|
81602
|
+
protoOf(Companion).y3q = function (stats) {
|
|
81585
81603
|
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);
|
|
81586
81604
|
};
|
|
81587
81605
|
var Companion_instance_0;
|
|
@@ -81599,34 +81617,34 @@ function requireClientsdkClientcore () {
|
|
|
81599
81617
|
this.audioRtt = audioRtt;
|
|
81600
81618
|
this.audioSentJitter = audioSentJitter;
|
|
81601
81619
|
}
|
|
81602
|
-
protoOf(RTCStatsJS).
|
|
81620
|
+
protoOf(RTCStatsJS).t3y = function () {
|
|
81603
81621
|
return this.audioRecvPackets;
|
|
81604
81622
|
};
|
|
81605
|
-
protoOf(RTCStatsJS).
|
|
81623
|
+
protoOf(RTCStatsJS).u3y = function () {
|
|
81606
81624
|
return this.audioRecvPacketsLost;
|
|
81607
81625
|
};
|
|
81608
|
-
protoOf(RTCStatsJS).
|
|
81626
|
+
protoOf(RTCStatsJS).v3y = function () {
|
|
81609
81627
|
return this.audioRecvBytes;
|
|
81610
81628
|
};
|
|
81611
|
-
protoOf(RTCStatsJS).
|
|
81629
|
+
protoOf(RTCStatsJS).w3y = function () {
|
|
81612
81630
|
return this.audioRecvJitter;
|
|
81613
81631
|
};
|
|
81614
|
-
protoOf(RTCStatsJS).
|
|
81632
|
+
protoOf(RTCStatsJS).x3y = function () {
|
|
81615
81633
|
return this.audioSentPackets;
|
|
81616
81634
|
};
|
|
81617
|
-
protoOf(RTCStatsJS).
|
|
81635
|
+
protoOf(RTCStatsJS).y3y = function () {
|
|
81618
81636
|
return this.audioSentBytes;
|
|
81619
81637
|
};
|
|
81620
|
-
protoOf(RTCStatsJS).
|
|
81638
|
+
protoOf(RTCStatsJS).z3y = function () {
|
|
81621
81639
|
return this.audioSentPacketsLost;
|
|
81622
81640
|
};
|
|
81623
|
-
protoOf(RTCStatsJS).
|
|
81641
|
+
protoOf(RTCStatsJS).a3z = function () {
|
|
81624
81642
|
return this.audioRtt;
|
|
81625
81643
|
};
|
|
81626
|
-
protoOf(RTCStatsJS).
|
|
81644
|
+
protoOf(RTCStatsJS).b3z = function () {
|
|
81627
81645
|
return this.audioSentJitter;
|
|
81628
81646
|
};
|
|
81629
|
-
protoOf(RTCStatsJS).
|
|
81647
|
+
protoOf(RTCStatsJS).c3z = function () {
|
|
81630
81648
|
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));
|
|
81631
81649
|
};
|
|
81632
81650
|
protoOf(RTCStatsJS).o5 = function () {
|
|
@@ -81635,28 +81653,28 @@ function requireClientsdkClientcore () {
|
|
|
81635
81653
|
protoOf(RTCStatsJS).p5 = function () {
|
|
81636
81654
|
return this.audioRecvPacketsLost;
|
|
81637
81655
|
};
|
|
81638
|
-
protoOf(RTCStatsJS).
|
|
81656
|
+
protoOf(RTCStatsJS).l3y = function () {
|
|
81639
81657
|
return this.audioRecvBytes;
|
|
81640
81658
|
};
|
|
81641
|
-
protoOf(RTCStatsJS).
|
|
81659
|
+
protoOf(RTCStatsJS).m3y = function () {
|
|
81642
81660
|
return this.audioRecvJitter;
|
|
81643
81661
|
};
|
|
81644
|
-
protoOf(RTCStatsJS).
|
|
81662
|
+
protoOf(RTCStatsJS).n3y = function () {
|
|
81645
81663
|
return this.audioSentPackets;
|
|
81646
81664
|
};
|
|
81647
|
-
protoOf(RTCStatsJS).
|
|
81665
|
+
protoOf(RTCStatsJS).o3y = function () {
|
|
81648
81666
|
return this.audioSentBytes;
|
|
81649
81667
|
};
|
|
81650
|
-
protoOf(RTCStatsJS).
|
|
81668
|
+
protoOf(RTCStatsJS).p3y = function () {
|
|
81651
81669
|
return this.audioSentPacketsLost;
|
|
81652
81670
|
};
|
|
81653
|
-
protoOf(RTCStatsJS).
|
|
81671
|
+
protoOf(RTCStatsJS).q3y = function () {
|
|
81654
81672
|
return this.audioRtt;
|
|
81655
81673
|
};
|
|
81656
|
-
protoOf(RTCStatsJS).
|
|
81674
|
+
protoOf(RTCStatsJS).r3y = function () {
|
|
81657
81675
|
return this.audioSentJitter;
|
|
81658
81676
|
};
|
|
81659
|
-
protoOf(RTCStatsJS).
|
|
81677
|
+
protoOf(RTCStatsJS).d3z = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter) {
|
|
81660
81678
|
return new RTCStatsJS(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter);
|
|
81661
81679
|
};
|
|
81662
81680
|
protoOf(RTCStatsJS).copy = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, $super) {
|
|
@@ -81669,7 +81687,7 @@ function requireClientsdkClientcore () {
|
|
|
81669
81687
|
audioSentPacketsLost = audioSentPacketsLost === VOID ? this.audioSentPacketsLost : audioSentPacketsLost;
|
|
81670
81688
|
audioRtt = audioRtt === VOID ? this.audioRtt : audioRtt;
|
|
81671
81689
|
audioSentJitter = audioSentJitter === VOID ? this.audioSentJitter : audioSentJitter;
|
|
81672
|
-
return this.
|
|
81690
|
+
return this.d3z(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter);
|
|
81673
81691
|
};
|
|
81674
81692
|
protoOf(RTCStatsJS).toString = function () {
|
|
81675
81693
|
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) + ')';
|
|
@@ -81715,20 +81733,20 @@ function requireClientsdkClientcore () {
|
|
|
81715
81733
|
function HttpClientJSAdapter(js) {
|
|
81716
81734
|
return new HttpClientJSAdapter$1(js);
|
|
81717
81735
|
}
|
|
81718
|
-
function
|
|
81736
|
+
function map_14(_this__u8e3s4) {
|
|
81719
81737
|
var tmp;
|
|
81720
81738
|
switch (_this__u8e3s4.z7_1) {
|
|
81721
81739
|
case 2:
|
|
81722
|
-
tmp =
|
|
81740
|
+
tmp = CancelReasonJSObject_instance.RemoteCancel;
|
|
81723
81741
|
break;
|
|
81724
81742
|
case 0:
|
|
81725
|
-
tmp =
|
|
81743
|
+
tmp = CancelReasonJSObject_instance.AnsweredElsewhere;
|
|
81726
81744
|
break;
|
|
81727
81745
|
case 1:
|
|
81728
|
-
tmp =
|
|
81746
|
+
tmp = CancelReasonJSObject_instance.RejectedElsewhere;
|
|
81729
81747
|
break;
|
|
81730
81748
|
case 3:
|
|
81731
|
-
tmp =
|
|
81749
|
+
tmp = CancelReasonJSObject_instance.RemoteTimeout;
|
|
81732
81750
|
break;
|
|
81733
81751
|
default:
|
|
81734
81752
|
noWhenBranchMatchedException();
|
|
@@ -81736,7 +81754,7 @@ function requireClientsdkClientcore () {
|
|
|
81736
81754
|
}
|
|
81737
81755
|
return tmp;
|
|
81738
81756
|
}
|
|
81739
|
-
function
|
|
81757
|
+
function map_15(_this__u8e3s4) {
|
|
81740
81758
|
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);
|
|
81741
81759
|
}
|
|
81742
81760
|
function SocketClientJSAdapter(js) {
|
|
@@ -81789,7 +81807,7 @@ function requireClientsdkClientcore () {
|
|
|
81789
81807
|
};
|
|
81790
81808
|
}
|
|
81791
81809
|
function HttpClientJSAdapter$1($js) {
|
|
81792
|
-
this.
|
|
81810
|
+
this.e3z_1 = $js;
|
|
81793
81811
|
}
|
|
81794
81812
|
protoOf(HttpClientJSAdapter$1).j3h = function (verb, url, headers, body, callback) {
|
|
81795
81813
|
var tmp = verb.toString();
|
|
@@ -81797,7 +81815,7 @@ function requireClientsdkClientcore () {
|
|
|
81797
81815
|
// Inline function 'kotlin.contracts.contract' call
|
|
81798
81816
|
// Inline function 'vonage.<no name provided>.request.<anonymous>' call
|
|
81799
81817
|
var tmp_0 = fromMap(JSON, headers);
|
|
81800
|
-
this.
|
|
81818
|
+
this.e3z_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
|
|
81801
81819
|
};
|
|
81802
81820
|
function SocketClientJSAdapter$o$emit$lambda($callback) {
|
|
81803
81821
|
return function (err, response) {
|
|
@@ -81815,11 +81833,11 @@ function requireClientsdkClientcore () {
|
|
|
81815
81833
|
};
|
|
81816
81834
|
}
|
|
81817
81835
|
function SocketClientJSAdapter$adapter$1($js) {
|
|
81818
|
-
this.
|
|
81819
|
-
this.
|
|
81836
|
+
this.g3z_1 = $js;
|
|
81837
|
+
this.f3z_1 = null;
|
|
81820
81838
|
}
|
|
81821
81839
|
protoOf(SocketClientJSAdapter$adapter$1).m3h = function (_set____db54di) {
|
|
81822
|
-
this.
|
|
81840
|
+
this.f3z_1 = _set____db54di;
|
|
81823
81841
|
};
|
|
81824
81842
|
protoOf(SocketClientJSAdapter$adapter$1).n3h = function (type, msg, callback) {
|
|
81825
81843
|
var tmp;
|
|
@@ -81832,28 +81850,28 @@ function requireClientsdkClientcore () {
|
|
|
81832
81850
|
tmp = fromMap(JSON, msg);
|
|
81833
81851
|
}
|
|
81834
81852
|
var tmp_0 = tmp;
|
|
81835
|
-
this.
|
|
81853
|
+
this.g3z_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
|
|
81836
81854
|
};
|
|
81837
81855
|
protoOf(SocketClientJSAdapter$adapter$1).o3h = function (host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, sessionId, query) {
|
|
81838
|
-
this.
|
|
81856
|
+
this.g3z_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, sessionId, query);
|
|
81839
81857
|
};
|
|
81840
81858
|
protoOf(SocketClientJSAdapter$adapter$1).p3h = function () {
|
|
81841
|
-
this.
|
|
81859
|
+
this.g3z_1.disconnect();
|
|
81842
81860
|
};
|
|
81843
81861
|
protoOf(SocketClientJSAdapter$adapter$1).q3h = function (sessionId, token) {
|
|
81844
|
-
this.
|
|
81862
|
+
this.g3z_1.setConnectParamsSocketConfig(sessionId, token);
|
|
81845
81863
|
};
|
|
81846
81864
|
protoOf(SocketClientJSAdapter$adapter$1).r3h = function (sessionId) {
|
|
81847
|
-
this.
|
|
81865
|
+
this.g3z_1.setSocketSessionId(sessionId);
|
|
81848
81866
|
};
|
|
81849
81867
|
protoOf(SocketClientJSAdapter$adapter$1).s3h = function (milliseconds, callback) {
|
|
81850
|
-
this.
|
|
81868
|
+
this.g3z_1.startVerifyResponseTimer(milliseconds, callback);
|
|
81851
81869
|
};
|
|
81852
81870
|
function SocketClientJSAdapter$1($adapter) {
|
|
81853
|
-
this.
|
|
81871
|
+
this.h3z_1 = $adapter;
|
|
81854
81872
|
}
|
|
81855
81873
|
protoOf(SocketClientJSAdapter$1).didReceiveNewSocketEvent = function (body) {
|
|
81856
|
-
var tmp0_safe_receiver = this.
|
|
81874
|
+
var tmp0_safe_receiver = this.h3z_1.f3z_1;
|
|
81857
81875
|
if (tmp0_safe_receiver == null)
|
|
81858
81876
|
null;
|
|
81859
81877
|
else {
|
|
@@ -81886,7 +81904,7 @@ function requireClientsdkClientcore () {
|
|
|
81886
81904
|
var tmp;
|
|
81887
81905
|
switch (reason) {
|
|
81888
81906
|
case 'NXMCORE_REASON_SERVER_DISCONNECTED':
|
|
81889
|
-
var tmp1_safe_receiver_0 = this.
|
|
81907
|
+
var tmp1_safe_receiver_0 = this.h3z_1.f3z_1;
|
|
81890
81908
|
var tmp_0;
|
|
81891
81909
|
if (tmp1_safe_receiver_0 == null) {
|
|
81892
81910
|
tmp_0 = null;
|
|
@@ -81898,7 +81916,7 @@ function requireClientsdkClientcore () {
|
|
|
81898
81916
|
tmp = tmp_0;
|
|
81899
81917
|
break;
|
|
81900
81918
|
case 'NXMCORE_REASON_CLIENT_DISCONNECTED':
|
|
81901
|
-
var tmp2_safe_receiver = this.
|
|
81919
|
+
var tmp2_safe_receiver = this.h3z_1.f3z_1;
|
|
81902
81920
|
var tmp_1;
|
|
81903
81921
|
if (tmp2_safe_receiver == null) {
|
|
81904
81922
|
tmp_1 = null;
|
|
@@ -81910,7 +81928,7 @@ function requireClientsdkClientcore () {
|
|
|
81910
81928
|
tmp = tmp_1;
|
|
81911
81929
|
break;
|
|
81912
81930
|
case 'NXMCORE_CLIENT_NETWORK_ERROR':
|
|
81913
|
-
var tmp3_safe_receiver = this.
|
|
81931
|
+
var tmp3_safe_receiver = this.h3z_1.f3z_1;
|
|
81914
81932
|
var tmp_2;
|
|
81915
81933
|
if (tmp3_safe_receiver == null) {
|
|
81916
81934
|
tmp_2 = null;
|
|
@@ -81922,7 +81940,7 @@ function requireClientsdkClientcore () {
|
|
|
81922
81940
|
tmp = tmp_2;
|
|
81923
81941
|
break;
|
|
81924
81942
|
case 'NXMCORE_REASON_PING_TIMEOUT':
|
|
81925
|
-
var tmp4_safe_receiver = this.
|
|
81943
|
+
var tmp4_safe_receiver = this.h3z_1.f3z_1;
|
|
81926
81944
|
var tmp_3;
|
|
81927
81945
|
if (tmp4_safe_receiver == null) {
|
|
81928
81946
|
tmp_3 = null;
|
|
@@ -81934,7 +81952,7 @@ function requireClientsdkClientcore () {
|
|
|
81934
81952
|
tmp = tmp_3;
|
|
81935
81953
|
break;
|
|
81936
81954
|
default:
|
|
81937
|
-
var tmp5_safe_receiver = this.
|
|
81955
|
+
var tmp5_safe_receiver = this.h3z_1.f3z_1;
|
|
81938
81956
|
var tmp_4;
|
|
81939
81957
|
if (tmp5_safe_receiver == null) {
|
|
81940
81958
|
tmp_4 = null;
|
|
@@ -81950,88 +81968,88 @@ function requireClientsdkClientcore () {
|
|
|
81950
81968
|
};
|
|
81951
81969
|
function MediaClientJSAdapter$o$processAnswer$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$o$disableMedia$lambda($closure) {
|
|
81958
81976
|
return function (it) {
|
|
81959
|
-
$closure(it == null ? null : it.
|
|
81977
|
+
$closure(it == null ? null : it.x3v());
|
|
81960
81978
|
return Unit_instance;
|
|
81961
81979
|
};
|
|
81962
81980
|
}
|
|
81963
81981
|
function MediaClientJSAdapter$o$mute$lambda($closure) {
|
|
81964
81982
|
return function (it) {
|
|
81965
|
-
$closure(it == null ? null : it.
|
|
81983
|
+
$closure(it == null ? null : it.x3v());
|
|
81966
81984
|
return Unit_instance;
|
|
81967
81985
|
};
|
|
81968
81986
|
}
|
|
81969
81987
|
function MediaClientJSAdapter$o$unmute$lambda($closure) {
|
|
81970
81988
|
return function (it) {
|
|
81971
|
-
$closure(it == null ? null : it.
|
|
81989
|
+
$closure(it == null ? null : it.x3v());
|
|
81972
81990
|
return Unit_instance;
|
|
81973
81991
|
};
|
|
81974
81992
|
}
|
|
81975
81993
|
function MediaClientJSAdapter$o$enableRtcStatsCollection$lambda($closure) {
|
|
81976
81994
|
return function (it) {
|
|
81977
|
-
$closure(it == null ? null : it.
|
|
81995
|
+
$closure(it == null ? null : it.x3v());
|
|
81978
81996
|
return Unit_instance;
|
|
81979
81997
|
};
|
|
81980
81998
|
}
|
|
81981
81999
|
function MediaClientJSAdapter$adapter$1($js) {
|
|
81982
|
-
this.
|
|
81983
|
-
this.
|
|
82000
|
+
this.j3z_1 = $js;
|
|
82001
|
+
this.i3z_1 = null;
|
|
81984
82002
|
}
|
|
81985
82003
|
protoOf(MediaClientJSAdapter$adapter$1).v3h = function (_set____db54di) {
|
|
81986
|
-
this.
|
|
82004
|
+
this.i3z_1 = _set____db54di;
|
|
81987
82005
|
};
|
|
81988
82006
|
protoOf(MediaClientJSAdapter$adapter$1).w3h = function () {
|
|
81989
|
-
return this.
|
|
82007
|
+
return this.i3z_1;
|
|
81990
82008
|
};
|
|
81991
82009
|
protoOf(MediaClientJSAdapter$adapter$1).x3h = function (closure) {
|
|
81992
|
-
this.
|
|
82010
|
+
this.j3z_1.enableMediaOutbound(closure);
|
|
81993
82011
|
};
|
|
81994
|
-
protoOf(MediaClientJSAdapter$adapter$1).
|
|
81995
|
-
this.
|
|
82012
|
+
protoOf(MediaClientJSAdapter$adapter$1).k3z = function (rtcId, offerSDP, closure) {
|
|
82013
|
+
this.j3z_1.enableMediaInbound(rtcId, offerSDP, closure);
|
|
81996
82014
|
};
|
|
81997
82015
|
protoOf(MediaClientJSAdapter$adapter$1).y3h = function (rtcId, offerSDP, closure) {
|
|
81998
|
-
return this.
|
|
82016
|
+
return this.k3z(rtcId, offerSDP, closure);
|
|
81999
82017
|
};
|
|
82000
82018
|
protoOf(MediaClientJSAdapter$adapter$1).z3h = function (id, sdp, closure) {
|
|
82001
|
-
this.
|
|
82019
|
+
this.j3z_1.processAnswer(id, sdp, MediaClientJSAdapter$o$processAnswer$lambda(closure));
|
|
82002
82020
|
};
|
|
82003
82021
|
protoOf(MediaClientJSAdapter$adapter$1).a3i = function (id, closure) {
|
|
82004
|
-
this.
|
|
82022
|
+
this.j3z_1.disableMedia(id, MediaClientJSAdapter$o$disableMedia$lambda(closure));
|
|
82005
82023
|
};
|
|
82006
82024
|
protoOf(MediaClientJSAdapter$adapter$1).b3i = function (id, closure) {
|
|
82007
|
-
this.
|
|
82025
|
+
this.j3z_1.mute(id, MediaClientJSAdapter$o$mute$lambda(closure));
|
|
82008
82026
|
};
|
|
82009
82027
|
protoOf(MediaClientJSAdapter$adapter$1).c3i = function (id, closure) {
|
|
82010
|
-
this.
|
|
82028
|
+
this.j3z_1.unmute(id, MediaClientJSAdapter$o$unmute$lambda(closure));
|
|
82011
82029
|
};
|
|
82012
82030
|
protoOf(MediaClientJSAdapter$adapter$1).e3i = function (id, closure) {
|
|
82013
82031
|
};
|
|
82014
82032
|
protoOf(MediaClientJSAdapter$adapter$1).f3i = function (id, closure) {
|
|
82015
82033
|
};
|
|
82016
82034
|
protoOf(MediaClientJSAdapter$adapter$1).d3i = function (id, interval, closure) {
|
|
82017
|
-
this.
|
|
82035
|
+
this.j3z_1.enableRtcStatsCollection(id, interval, MediaClientJSAdapter$o$enableRtcStatsCollection$lambda(closure));
|
|
82018
82036
|
};
|
|
82019
82037
|
protoOf(MediaClientJSAdapter$adapter$1).g3i = function (id) {
|
|
82020
|
-
return coreConnectionState(this.
|
|
82038
|
+
return coreConnectionState(this.j3z_1.getMediaConnectionState(id));
|
|
82021
82039
|
};
|
|
82022
82040
|
function MediaClientJSAdapter$1($adapter) {
|
|
82023
|
-
this.
|
|
82041
|
+
this.l3z_1 = $adapter;
|
|
82024
82042
|
}
|
|
82025
82043
|
protoOf(MediaClientJSAdapter$1).onRtcStats = function (id, rtcStats) {
|
|
82026
|
-
var tmp0_safe_receiver = this.
|
|
82044
|
+
var tmp0_safe_receiver = this.l3z_1.i3z_1;
|
|
82027
82045
|
if (tmp0_safe_receiver == null)
|
|
82028
82046
|
null;
|
|
82029
82047
|
else {
|
|
82030
|
-
tmp0_safe_receiver.x3i(id, rtcStats.
|
|
82048
|
+
tmp0_safe_receiver.x3i(id, rtcStats.c3z());
|
|
82031
82049
|
}
|
|
82032
82050
|
};
|
|
82033
82051
|
protoOf(MediaClientJSAdapter$1).onConnectionChange = function (id, state) {
|
|
82034
|
-
var tmp0_safe_receiver = this.
|
|
82052
|
+
var tmp0_safe_receiver = this.l3z_1.i3z_1;
|
|
82035
82053
|
if (tmp0_safe_receiver == null)
|
|
82036
82054
|
null;
|
|
82037
82055
|
else {
|
|
@@ -82039,29 +82057,13 @@ function requireClientsdkClientcore () {
|
|
|
82039
82057
|
}
|
|
82040
82058
|
};
|
|
82041
82059
|
protoOf(MediaClientJSAdapter$1).onMediaError = function (id, error) {
|
|
82042
|
-
var tmp0_safe_receiver = this.
|
|
82060
|
+
var tmp0_safe_receiver = this.l3z_1.i3z_1;
|
|
82043
82061
|
if (tmp0_safe_receiver == null)
|
|
82044
82062
|
null;
|
|
82045
82063
|
else {
|
|
82046
|
-
tmp0_safe_receiver.z3i(id, error.
|
|
82064
|
+
tmp0_safe_receiver.z3i(id, error.x3v());
|
|
82047
82065
|
}
|
|
82048
82066
|
};
|
|
82049
|
-
function CancelReasonJS_RemoteCancel_getInstance() {
|
|
82050
|
-
CancelReasonJS_initEntries();
|
|
82051
|
-
return CancelReasonJS_RemoteCancel_instance;
|
|
82052
|
-
}
|
|
82053
|
-
function CancelReasonJS_AnsweredElsewhere_getInstance() {
|
|
82054
|
-
CancelReasonJS_initEntries();
|
|
82055
|
-
return CancelReasonJS_AnsweredElsewhere_instance;
|
|
82056
|
-
}
|
|
82057
|
-
function CancelReasonJS_RejectedElsewhere_getInstance() {
|
|
82058
|
-
CancelReasonJS_initEntries();
|
|
82059
|
-
return CancelReasonJS_RejectedElsewhere_instance;
|
|
82060
|
-
}
|
|
82061
|
-
function CancelReasonJS_RemoteTimeout_getInstance() {
|
|
82062
|
-
CancelReasonJS_initEntries();
|
|
82063
|
-
return CancelReasonJS_RemoteTimeout_instance;
|
|
82064
|
-
}
|
|
82065
82067
|
function invoke(_this__u8e3s4, optionJS) {
|
|
82066
82068
|
var tmp;
|
|
82067
82069
|
if (optionJS instanceof None) {
|
|
@@ -82088,7 +82090,7 @@ function requireClientsdkClientcore () {
|
|
|
82088
82090
|
}
|
|
82089
82091
|
return tmp;
|
|
82090
82092
|
}
|
|
82091
|
-
function
|
|
82093
|
+
function map_16(_this__u8e3s4) {
|
|
82092
82094
|
var tmp1_name = _this__u8e3s4.name;
|
|
82093
82095
|
var tmp2_displayName = _this__u8e3s4.displayName;
|
|
82094
82096
|
var tmp3_imageUrl = _this__u8e3s4.imageUrl;
|
|
@@ -82098,7 +82100,7 @@ function requireClientsdkClientcore () {
|
|
|
82098
82100
|
var tmp6_customSortKey = _this__u8e3s4.customSortKey;
|
|
82099
82101
|
return new CreateConversationParameters(tmp1_name, tmp2_displayName, tmp3_imageUrl, tmp4_ttl, tmp6_customSortKey, tmp5_customData);
|
|
82100
82102
|
}
|
|
82101
|
-
function
|
|
82103
|
+
function map_17(_this__u8e3s4) {
|
|
82102
82104
|
var tmp0_name = invoke(Companion_instance, _this__u8e3s4.name);
|
|
82103
82105
|
var tmp1_displayName = invoke(Companion_instance, _this__u8e3s4.displayName);
|
|
82104
82106
|
var tmp2_imageUrl = invoke(Companion_instance, _this__u8e3s4.imageUrl);
|
|
@@ -82107,7 +82109,7 @@ function requireClientsdkClientcore () {
|
|
|
82107
82109
|
var tmp5_customSortKey = invoke(Companion_instance, _this__u8e3s4.customSortKey);
|
|
82108
82110
|
return new UpdateConversationParameters(tmp0_name, tmp1_displayName, tmp2_imageUrl, tmp3_ttl, tmp5_customSortKey, tmp4_customData);
|
|
82109
82111
|
}
|
|
82110
|
-
function
|
|
82112
|
+
function map_18(_this__u8e3s4) {
|
|
82111
82113
|
var tmp0_safe_receiver = _this__u8e3s4.order;
|
|
82112
82114
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
|
|
82113
82115
|
var tmp1_safe_receiver = _this__u8e3s4.pageSize;
|
|
@@ -82117,7 +82119,7 @@ function requireClientsdkClientcore () {
|
|
|
82117
82119
|
var tmp2_safe_receiver = _this__u8e3s4.orderBy;
|
|
82118
82120
|
return new GetConversationsParameters(tmp, tmp_0, tmp_1, tmp_2, tmp2_safe_receiver == null ? null : tmp2_safe_receiver.coreOrderBy);
|
|
82119
82121
|
}
|
|
82120
|
-
function
|
|
82122
|
+
function map_19(_this__u8e3s4) {
|
|
82121
82123
|
var tmp0_safe_receiver = _this__u8e3s4.order;
|
|
82122
82124
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
|
|
82123
82125
|
var tmp1_safe_receiver = _this__u8e3s4.pageSize;
|
|
@@ -82146,13 +82148,13 @@ function requireClientsdkClientcore () {
|
|
|
82146
82148
|
var tmp3_safe_receiver = _this__u8e3s4.startId;
|
|
82147
82149
|
return new GetConversationEventsParameters(tmp, tmp_0, tmp_1, tmp_3, tmp_4, tmp3_safe_receiver == null ? null : numberToInt(tmp3_safe_receiver));
|
|
82148
82150
|
}
|
|
82149
|
-
function
|
|
82151
|
+
function map_20(_this__u8e3s4) {
|
|
82150
82152
|
var tmp0_safe_receiver = _this__u8e3s4.order;
|
|
82151
82153
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
|
|
82152
82154
|
var tmp1_safe_receiver = _this__u8e3s4.pageSize;
|
|
82153
82155
|
return new GetConversationMembersParameters(tmp, tmp1_safe_receiver == null ? null : numberToInt(tmp1_safe_receiver), _this__u8e3s4.cursor);
|
|
82154
82156
|
}
|
|
82155
|
-
function
|
|
82157
|
+
function map_21(_this__u8e3s4) {
|
|
82156
82158
|
var tmp0_safe_receiver = _this__u8e3s4.order;
|
|
82157
82159
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
|
|
82158
82160
|
var tmp1_safe_receiver = _this__u8e3s4.pageSize;
|
|
@@ -82287,12 +82289,12 @@ function requireClientsdkClientcore () {
|
|
|
82287
82289
|
protoOf(Some).o5 = function () {
|
|
82288
82290
|
return this.value;
|
|
82289
82291
|
};
|
|
82290
|
-
protoOf(Some).
|
|
82292
|
+
protoOf(Some).m3z = function (value) {
|
|
82291
82293
|
return new Some(value);
|
|
82292
82294
|
};
|
|
82293
82295
|
protoOf(Some).copy = function (value, $super) {
|
|
82294
82296
|
value = value === VOID ? this.value : value;
|
|
82295
|
-
return this.
|
|
82297
|
+
return this.m3z(value);
|
|
82296
82298
|
};
|
|
82297
82299
|
protoOf(Some).toString = function () {
|
|
82298
82300
|
return 'Some(value=' + this.value + ')';
|
|
@@ -82506,10 +82508,10 @@ function requireClientsdkClientcore () {
|
|
|
82506
82508
|
protoOf(CombinedClientJS).disableEarmuff = disableEarmuff;
|
|
82507
82509
|
protoOf(CombinedClientJS).sendDTMF = sendDTMF;
|
|
82508
82510
|
defineProp(protoOf(CombinedClientJS), 'media', function () {
|
|
82509
|
-
return this.
|
|
82511
|
+
return this.a3r();
|
|
82510
82512
|
});
|
|
82511
82513
|
defineProp(protoOf(CombinedClientJS), 'core', function () {
|
|
82512
|
-
return this.
|
|
82514
|
+
return this.b3r();
|
|
82513
82515
|
});
|
|
82514
82516
|
defineProp(protoOf(EventStateTypeJS), 'name', protoOf(EventStateTypeJS).a9);
|
|
82515
82517
|
defineProp(protoOf(EventStateTypeJS), 'ordinal', protoOf(EventStateTypeJS).b9);
|
|
@@ -82517,39 +82519,37 @@ function requireClientsdkClientcore () {
|
|
|
82517
82519
|
defineProp(protoOf(PresentingOrderJS), 'ordinal', protoOf(PresentingOrderJS).b9);
|
|
82518
82520
|
defineProp(protoOf(OrderByJS), 'name', protoOf(OrderByJS).a9);
|
|
82519
82521
|
defineProp(protoOf(OrderByJS), 'ordinal', protoOf(OrderByJS).b9);
|
|
82520
|
-
defineProp(protoOf(ChannelTypeJS), 'name', protoOf(ChannelTypeJS).a9);
|
|
82521
|
-
defineProp(protoOf(ChannelTypeJS), 'ordinal', protoOf(ChannelTypeJS).b9);
|
|
82522
82522
|
defineProp(protoOf(VonageErrorTypeJS), 'name', protoOf(VonageErrorTypeJS).a9);
|
|
82523
82523
|
defineProp(protoOf(VonageErrorTypeJS), 'ordinal', protoOf(VonageErrorTypeJS).b9);
|
|
82524
82524
|
defineProp(protoOf(CoreClientConfigRegionJS), 'name', protoOf(CoreClientConfigRegionJS).a9);
|
|
82525
82525
|
defineProp(protoOf(CoreClientConfigRegionJS), 'ordinal', protoOf(CoreClientConfigRegionJS).b9);
|
|
82526
82526
|
defineProp(protoOf(CoreClientConfigJS), 'apiUrl', function () {
|
|
82527
|
-
return this.
|
|
82527
|
+
return this.n3w();
|
|
82528
82528
|
}, function (value) {
|
|
82529
|
-
this.
|
|
82529
|
+
this.m3w(value);
|
|
82530
82530
|
});
|
|
82531
82531
|
defineProp(protoOf(CoreClientConfigJS), 'websocketUrl', function () {
|
|
82532
|
-
return this.
|
|
82532
|
+
return this.p3w();
|
|
82533
82533
|
}, function (value) {
|
|
82534
|
-
this.
|
|
82534
|
+
this.o3w(value);
|
|
82535
82535
|
});
|
|
82536
82536
|
defineProp(protoOf(CoreClientConfigJS), 'websocketPath', function () {
|
|
82537
|
-
return this.
|
|
82537
|
+
return this.r3w();
|
|
82538
82538
|
}, function (value) {
|
|
82539
|
-
this.
|
|
82539
|
+
this.q3w(value);
|
|
82540
82540
|
});
|
|
82541
82541
|
defineProp(protoOf(CoreClientConfigJS), 'rtcStatsTelemetry', function () {
|
|
82542
|
-
return this.
|
|
82542
|
+
return this.t3w();
|
|
82543
82543
|
}, function (value) {
|
|
82544
|
-
this.
|
|
82544
|
+
this.s3w(value);
|
|
82545
82545
|
});
|
|
82546
82546
|
defineProp(protoOf(CoreClientConfigJS), 'autoReconnectMedia', function () {
|
|
82547
|
-
return this.
|
|
82547
|
+
return this.v3w();
|
|
82548
82548
|
}, function (value) {
|
|
82549
|
-
this.
|
|
82549
|
+
this.u3w(value);
|
|
82550
82550
|
});
|
|
82551
82551
|
defineProp(protoOf(CoreClientConfigJS), 'noiseSuppression', function () {
|
|
82552
|
-
return this.
|
|
82552
|
+
return this.w3w();
|
|
82553
82553
|
});
|
|
82554
82554
|
defineProp(protoOf(Topics), 'name', protoOf(Topics).a9);
|
|
82555
82555
|
defineProp(protoOf(Topics), 'ordinal', protoOf(Topics).b9);
|
|
@@ -82566,28 +82566,25 @@ function requireClientsdkClientcore () {
|
|
|
82566
82566
|
defineProp(protoOf(createVonageLoggerJS$1), 'topics', function () {
|
|
82567
82567
|
return this.k3f();
|
|
82568
82568
|
});
|
|
82569
|
-
defineProp(protoOf(LegStatusJS), 'name', protoOf(LegStatusJS).a9);
|
|
82570
|
-
defineProp(protoOf(LegStatusJS), 'ordinal', protoOf(LegStatusJS).b9);
|
|
82571
|
-
defineProp(protoOf(CallDisconnectReasonJS), 'name', protoOf(CallDisconnectReasonJS).a9);
|
|
82572
|
-
defineProp(protoOf(CallDisconnectReasonJS), 'ordinal', protoOf(CallDisconnectReasonJS).b9);
|
|
82573
|
-
defineProp(protoOf(HangupReasonJS), 'name', protoOf(HangupReasonJS).a9);
|
|
82574
|
-
defineProp(protoOf(HangupReasonJS), 'ordinal', protoOf(HangupReasonJS).b9);
|
|
82575
82569
|
defineProp(protoOf(HttpClientErrorJS), 'message', function () {
|
|
82576
82570
|
return this.ra();
|
|
82577
82571
|
});
|
|
82578
82572
|
defineProp(protoOf(HttpClientErrorJS), 'cause', function () {
|
|
82579
82573
|
return this.sa();
|
|
82580
82574
|
});
|
|
82581
|
-
defineProp(protoOf(HttpClientErrorJS), 'coreError', protoOf(HttpClientErrorJS).
|
|
82582
|
-
defineProp(protoOf(CancelReasonJS), 'name', protoOf(CancelReasonJS).a9);
|
|
82583
|
-
defineProp(protoOf(CancelReasonJS), 'ordinal', protoOf(CancelReasonJS).b9);
|
|
82575
|
+
defineProp(protoOf(HttpClientErrorJS), 'coreError', protoOf(HttpClientErrorJS).x3v);
|
|
82584
82576
|
//endregion
|
|
82585
82577
|
//region block: init
|
|
82578
|
+
VoiceChannelTypeObject_instance = new VoiceChannelTypeObject();
|
|
82586
82579
|
SystemJS_instance = new SystemJS();
|
|
82587
82580
|
ConversationStateJS_instance = new ConversationStateJS();
|
|
82588
82581
|
MemberStateJSObj_instance = new MemberStateJSObj();
|
|
82582
|
+
ChannelTypeObj_instance = new ChannelTypeObj();
|
|
82589
82583
|
CSErrorCodesJS_instance = new CSErrorCodesJS();
|
|
82590
82584
|
SessionErrorCodesJS_instance = new SessionErrorCodesJS();
|
|
82585
|
+
LegStatusJSObject_instance = new LegStatusJSObject();
|
|
82586
|
+
CallDisconnectReasonJSObject_instance = new CallDisconnectReasonJSObject();
|
|
82587
|
+
HangupReasonJSObject_instance = new HangupReasonJSObject();
|
|
82591
82588
|
SOCKET_CONNECTED = 'NXMCORE_SOCKET_CONNECTED';
|
|
82592
82589
|
SOCKET_RECONNECTING = 'NXMCORE_SOCKET_RECONNECTING';
|
|
82593
82590
|
SOCKET_DISCONNECTED = 'NXMCORE_SOCKET_DISCONNECTED';
|
|
@@ -82595,12 +82592,14 @@ function requireClientsdkClientcore () {
|
|
|
82595
82592
|
REASON_CLIENT_DISCONNECTED = 'NXMCORE_REASON_CLIENT_DISCONNECTED';
|
|
82596
82593
|
REASON_CLIENT_NETWORK_ERROR = 'NXMCORE_CLIENT_NETWORK_ERROR';
|
|
82597
82594
|
REASON_PING_TIMEOUT = 'NXMCORE_REASON_PING_TIMEOUT';
|
|
82595
|
+
CancelReasonJSObject_instance = new CancelReasonJSObject();
|
|
82598
82596
|
Companion_instance_0 = new Companion();
|
|
82599
82597
|
Companion_instance_1 = new Companion_0();
|
|
82600
82598
|
//endregion
|
|
82601
82599
|
//region block: exports
|
|
82602
82600
|
function $jsExportAll$(_) {
|
|
82603
82601
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82602
|
+
defineProp($vonage, 'VoiceChannelTypeObject', VoiceChannelTypeObject_getInstance);
|
|
82604
82603
|
$vonage.CombinedClientJS = CombinedClientJS;
|
|
82605
82604
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82606
82605
|
$vonage.EventStateTypeJS = EventStateTypeJS;
|
|
@@ -82680,28 +82679,15 @@ function requireClientsdkClientcore () {
|
|
|
82680
82679
|
$vonage.MediaStateJS = MediaStateJS;
|
|
82681
82680
|
$vonage.LegJS = LegJS;
|
|
82682
82681
|
$vonage.LegsPageJS = LegsPageJS;
|
|
82683
|
-
$vonage
|
|
82684
|
-
$vonage.ChannelTypeJS.values = values_2;
|
|
82685
|
-
$vonage.ChannelTypeJS.valueOf = valueOf_3;
|
|
82686
|
-
defineProp($vonage.ChannelTypeJS, 'APP', ChannelTypeJS_APP_getInstance);
|
|
82687
|
-
defineProp($vonage.ChannelTypeJS, 'PHONE', ChannelTypeJS_PHONE_getInstance);
|
|
82688
|
-
defineProp($vonage.ChannelTypeJS, 'PSTN', ChannelTypeJS_PSTN_getInstance);
|
|
82689
|
-
defineProp($vonage.ChannelTypeJS, 'sip', ChannelTypeJS_SIP_getInstance);
|
|
82690
|
-
defineProp($vonage.ChannelTypeJS, 'VBC', ChannelTypeJS_VBC_getInstance);
|
|
82691
|
-
defineProp($vonage.ChannelTypeJS, 'WEBSOCKET', ChannelTypeJS_WEBSOCKET_getInstance);
|
|
82692
|
-
defineProp($vonage.ChannelTypeJS, 'SMS', ChannelTypeJS_SMS_getInstance);
|
|
82693
|
-
defineProp($vonage.ChannelTypeJS, 'MMS', ChannelTypeJS_MMS_getInstance);
|
|
82694
|
-
defineProp($vonage.ChannelTypeJS, 'WHATSAPP', ChannelTypeJS_WHATSAPP_getInstance);
|
|
82695
|
-
defineProp($vonage.ChannelTypeJS, 'VIBER', ChannelTypeJS_VIBER_getInstance);
|
|
82696
|
-
defineProp($vonage.ChannelTypeJS, 'MESSENGER', ChannelTypeJS_MESSENGER_getInstance);
|
|
82682
|
+
defineProp($vonage, 'ChannelTypeObj', ChannelTypeObj_getInstance);
|
|
82697
82683
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82698
82684
|
defineProp($vonage, 'CSErrorCodesJS', CSErrorCodesJS_getInstance);
|
|
82699
82685
|
defineProp($vonage, 'SessionErrorCodesJS', SessionErrorCodesJS_getInstance);
|
|
82700
82686
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82701
82687
|
$vonage.VonageErrorJS = VonageErrorJS;
|
|
82702
82688
|
$vonage.VonageErrorTypeJS = VonageErrorTypeJS;
|
|
82703
|
-
$vonage.VonageErrorTypeJS.values =
|
|
82704
|
-
$vonage.VonageErrorTypeJS.valueOf =
|
|
82689
|
+
$vonage.VonageErrorTypeJS.values = values_2;
|
|
82690
|
+
$vonage.VonageErrorTypeJS.valueOf = valueOf_3;
|
|
82705
82691
|
defineProp($vonage.VonageErrorTypeJS, 'CS_ERROR', VonageErrorTypeJS_CS_ERROR_getInstance);
|
|
82706
82692
|
defineProp($vonage.VonageErrorTypeJS, 'NETWORK_ERROR', VonageErrorTypeJS_NETWORK_ERROR_getInstance);
|
|
82707
82693
|
defineProp($vonage.VonageErrorTypeJS, 'SESSION_ERROR', VonageErrorTypeJS_SESSION_ERROR_getInstance);
|
|
@@ -82717,16 +82703,16 @@ function requireClientsdkClientcore () {
|
|
|
82717
82703
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82718
82704
|
defineProp($vonage, 'DEFAULT_REGION', get_DEFAULT_REGION);
|
|
82719
82705
|
$vonage.CoreClientConfigRegionJS = CoreClientConfigRegionJS;
|
|
82720
|
-
$vonage.CoreClientConfigRegionJS.values =
|
|
82721
|
-
$vonage.CoreClientConfigRegionJS.valueOf =
|
|
82706
|
+
$vonage.CoreClientConfigRegionJS.values = values_3;
|
|
82707
|
+
$vonage.CoreClientConfigRegionJS.valueOf = valueOf_4;
|
|
82722
82708
|
defineProp($vonage.CoreClientConfigRegionJS, 'AP', CoreClientConfigRegionJS_AP_getInstance);
|
|
82723
82709
|
defineProp($vonage.CoreClientConfigRegionJS, 'EU', CoreClientConfigRegionJS_EU_getInstance);
|
|
82724
82710
|
defineProp($vonage.CoreClientConfigRegionJS, 'US', CoreClientConfigRegionJS_US_getInstance);
|
|
82725
82711
|
$vonage.CoreClientConfigJS = CoreClientConfigJS;
|
|
82726
82712
|
$vonage.TopicJS = TopicJS;
|
|
82727
82713
|
$vonage.Topics = Topics;
|
|
82728
|
-
$vonage.Topics.values =
|
|
82729
|
-
$vonage.Topics.valueOf =
|
|
82714
|
+
$vonage.Topics.values = values_4;
|
|
82715
|
+
$vonage.Topics.valueOf = valueOf_5;
|
|
82730
82716
|
defineProp($vonage.Topics, 'HTTP', Topics_HTTP_getInstance);
|
|
82731
82717
|
defineProp($vonage.Topics, 'WS', Topics_WS_getInstance);
|
|
82732
82718
|
defineProp($vonage.Topics, 'MEDIA', Topics_MEDIA_getInstance);
|
|
@@ -82736,8 +82722,8 @@ function requireClientsdkClientcore () {
|
|
|
82736
82722
|
defineProp($vonage.Topics, 'DEFAULT', Topics_DEFAULT_getInstance);
|
|
82737
82723
|
$vonage.createVonageLoggerJS = createVonageLoggerJS;
|
|
82738
82724
|
$vonage.LoggingLevelJS = LoggingLevelJS;
|
|
82739
|
-
$vonage.LoggingLevelJS.values =
|
|
82740
|
-
$vonage.LoggingLevelJS.valueOf =
|
|
82725
|
+
$vonage.LoggingLevelJS.values = values_5;
|
|
82726
|
+
$vonage.LoggingLevelJS.valueOf = valueOf_6;
|
|
82741
82727
|
defineProp($vonage.LoggingLevelJS, 'Verbose', LoggingLevelJS_Verbose_getInstance);
|
|
82742
82728
|
defineProp($vonage.LoggingLevelJS, 'Debug', LoggingLevelJS_Debug_getInstance);
|
|
82743
82729
|
defineProp($vonage.LoggingLevelJS, 'Info', LoggingLevelJS_Info_getInstance);
|
|
@@ -82747,30 +82733,15 @@ function requireClientsdkClientcore () {
|
|
|
82747
82733
|
defineProp($vonage, 'DEFAULT_LOGGING_LEVEL', get_DEFAULT_LOGGING_LEVEL);
|
|
82748
82734
|
$vonage.setDefaultLoggingLevel = setDefaultLoggingLevel;
|
|
82749
82735
|
$vonage.SessionErrorReasonJS = SessionErrorReasonJS;
|
|
82750
|
-
$vonage.SessionErrorReasonJS.values =
|
|
82751
|
-
$vonage.SessionErrorReasonJS.valueOf =
|
|
82736
|
+
$vonage.SessionErrorReasonJS.values = values_6;
|
|
82737
|
+
$vonage.SessionErrorReasonJS.valueOf = valueOf_7;
|
|
82752
82738
|
defineProp($vonage.SessionErrorReasonJS, 'EXPIRED_TOKEN', SessionErrorReasonJS_EXPIRED_TOKEN_getInstance);
|
|
82753
82739
|
defineProp($vonage.SessionErrorReasonJS, 'TRANSPORT_CLOSED', SessionErrorReasonJS_TRANSPORT_CLOSED_getInstance);
|
|
82754
82740
|
defineProp($vonage.SessionErrorReasonJS, 'PING_TIMEOUT', SessionErrorReasonJS_PING_TIMEOUT_getInstance);
|
|
82755
82741
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82756
|
-
$vonage
|
|
82757
|
-
$vonage
|
|
82758
|
-
$vonage
|
|
82759
|
-
defineProp($vonage.LegStatusJS, 'RINGING', LegStatusJS_RINGING_getInstance);
|
|
82760
|
-
defineProp($vonage.LegStatusJS, 'ANSWERED', LegStatusJS_ANSWERED_getInstance);
|
|
82761
|
-
defineProp($vonage.LegStatusJS, 'COMPLETED', LegStatusJS_COMPLETED_getInstance);
|
|
82762
|
-
$vonage.CallDisconnectReasonJS = CallDisconnectReasonJS;
|
|
82763
|
-
$vonage.CallDisconnectReasonJS.values = values_9;
|
|
82764
|
-
$vonage.CallDisconnectReasonJS.valueOf = valueOf_10;
|
|
82765
|
-
defineProp($vonage.CallDisconnectReasonJS, 'networkChange', CallDisconnectReasonJS_NetworkChange_getInstance);
|
|
82766
|
-
$vonage.HangupReasonJS = HangupReasonJS;
|
|
82767
|
-
$vonage.HangupReasonJS.values = values_10;
|
|
82768
|
-
$vonage.HangupReasonJS.valueOf = valueOf_11;
|
|
82769
|
-
defineProp($vonage.HangupReasonJS, 'REMOTE_HANGUP', HangupReasonJS_REMOTE_HANGUP_getInstance);
|
|
82770
|
-
defineProp($vonage.HangupReasonJS, 'REMOTE_REJECT', HangupReasonJS_REMOTE_REJECT_getInstance);
|
|
82771
|
-
defineProp($vonage.HangupReasonJS, 'REMOTE_NO_ANSWER_TIMEOUT', HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance);
|
|
82772
|
-
defineProp($vonage.HangupReasonJS, 'LOCAL_HANGUP', HangupReasonJS_LOCAL_HANGUP_getInstance);
|
|
82773
|
-
defineProp($vonage.HangupReasonJS, 'MEDIA_TIMEOUT', HangupReasonJS_MEDIA_TIMEOUT_getInstance);
|
|
82742
|
+
defineProp($vonage, 'LegStatusJSObject', LegStatusJSObject_getInstance);
|
|
82743
|
+
defineProp($vonage, 'CallDisconnectReasonJSObject', CallDisconnectReasonJSObject_getInstance);
|
|
82744
|
+
defineProp($vonage, 'HangupReasonJSObject', HangupReasonJSObject_getInstance);
|
|
82774
82745
|
$vonage.VoiceInviteFromInfoJS = VoiceInviteFromInfoJS;
|
|
82775
82746
|
var $vonage = _.vonage || (_.vonage = {});
|
|
82776
82747
|
$vonage.HttpClientErrorJS = HttpClientErrorJS;
|
|
@@ -82782,13 +82753,7 @@ function requireClientsdkClientcore () {
|
|
|
82782
82753
|
defineProp($vonage, 'REASON_CLIENT_DISCONNECTED', get_REASON_CLIENT_DISCONNECTED);
|
|
82783
82754
|
defineProp($vonage, 'REASON_CLIENT_NETWORK_ERROR', get_REASON_CLIENT_NETWORK_ERROR);
|
|
82784
82755
|
defineProp($vonage, 'REASON_PING_TIMEOUT', get_REASON_PING_TIMEOUT);
|
|
82785
|
-
$vonage
|
|
82786
|
-
$vonage.CancelReasonJS.values = values_11;
|
|
82787
|
-
$vonage.CancelReasonJS.valueOf = valueOf_12;
|
|
82788
|
-
defineProp($vonage.CancelReasonJS, 'RemoteCancel', CancelReasonJS_RemoteCancel_getInstance);
|
|
82789
|
-
defineProp($vonage.CancelReasonJS, 'AnsweredElsewhere', CancelReasonJS_AnsweredElsewhere_getInstance);
|
|
82790
|
-
defineProp($vonage.CancelReasonJS, 'RejectedElsewhere', CancelReasonJS_RejectedElsewhere_getInstance);
|
|
82791
|
-
defineProp($vonage.CancelReasonJS, 'RemoteTimeout', CancelReasonJS_RemoteTimeout_getInstance);
|
|
82756
|
+
defineProp($vonage, 'CancelReasonJSObject', CancelReasonJSObject_getInstance);
|
|
82792
82757
|
$vonage.RTCQualityJS = RTCQualityJS;
|
|
82793
82758
|
$vonage.RTCStatsJS = RTCStatsJS;
|
|
82794
82759
|
defineProp($vonage.RTCStatsJS, 'Companion', Companion_getInstance_1);
|
|
@@ -83347,13 +83312,30 @@ class SocketClient {
|
|
|
83347
83312
|
*/
|
|
83348
83313
|
const Topics = clientsdkClientcore_jsExports.vonage.Topics;
|
|
83349
83314
|
const Topic = clientsdkClientcore_jsExports.vonage.TopicJS;
|
|
83350
|
-
|
|
83315
|
+
/**
|
|
83316
|
+
* The Client Logging Level.
|
|
83317
|
+
*
|
|
83318
|
+
* It can be set for the internal logger via {@link ClientInitConfigObject.loggingLevel}
|
|
83319
|
+
* as well as for a custom logger via {@link VonageLogger.minLogLevel}.
|
|
83320
|
+
*
|
|
83321
|
+
* @enum
|
|
83322
|
+
*/
|
|
83323
|
+
const LoggingLevel = {
|
|
83324
|
+
Verbose: 'Verbose',
|
|
83325
|
+
Debug: 'Debug',
|
|
83326
|
+
Info: 'Info',
|
|
83327
|
+
Warn: 'Warn',
|
|
83328
|
+
Error: 'Error',
|
|
83329
|
+
Assert: 'Assert'
|
|
83330
|
+
};
|
|
83351
83331
|
/**
|
|
83352
83332
|
* @deprecated Use {@link ClientInitConfigObject.loggingLevel} instead.
|
|
83353
83333
|
* @param level - The logging level to set.
|
|
83354
83334
|
*/
|
|
83355
83335
|
const setDefaultLoggingLevel = (level) => {
|
|
83356
|
-
clientsdkClientcore_jsExports.vonage.setDefaultLoggingLevel(level instanceof
|
|
83336
|
+
clientsdkClientcore_jsExports.vonage.setDefaultLoggingLevel(level instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
|
|
83337
|
+
? level
|
|
83338
|
+
: clientsdkClientcore_jsExports.vonage.LoggingLevelJS[level]);
|
|
83357
83339
|
};
|
|
83358
83340
|
/**
|
|
83359
83341
|
* @deprecated Use {@link ClientInitConfigObject.loggingLevel} instead.
|
|
@@ -83362,16 +83344,16 @@ const setDefaultLoggingLevel = (level) => {
|
|
|
83362
83344
|
const setVonageClientLoggingLevel = setDefaultLoggingLevel;
|
|
83363
83345
|
const convertLogger = (logger) => {
|
|
83364
83346
|
var _a;
|
|
83365
|
-
if (logger.minLogLevel instanceof
|
|
83347
|
+
if (logger.minLogLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS)
|
|
83366
83348
|
return logger;
|
|
83367
83349
|
return Object.assign(Object.assign({}, logger), { minLogLevel: logger.minLogLevel
|
|
83368
|
-
?
|
|
83350
|
+
? clientsdkClientcore_jsExports.vonage.LoggingLevelJS[logger.minLogLevel]
|
|
83369
83351
|
: undefined, topics: (_a = logger.topics) === null || _a === void 0 ? void 0 : _a.map((topic) => topic instanceof Topics ? topic : Topics[topic]) });
|
|
83370
83352
|
};
|
|
83371
|
-
const createVonageLogger = (name, onLog, minLogLevel, topics) => clientsdkClientcore_jsExports.vonage.createVonageLoggerJS(name, minLogLevel instanceof
|
|
83353
|
+
const createVonageLogger = (name, onLog, minLogLevel, topics) => clientsdkClientcore_jsExports.vonage.createVonageLoggerJS(name, minLogLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
|
|
83372
83354
|
? minLogLevel
|
|
83373
83355
|
: minLogLevel
|
|
83374
|
-
?
|
|
83356
|
+
? clientsdkClientcore_jsExports.vonage.LoggingLevelJS[minLogLevel]
|
|
83375
83357
|
: undefined, topics === null || topics === void 0 ? void 0 : topics.map((topic) => (topic instanceof Topics ? topic : Topics[topic])), (level, topic, message) => onLog(level, topic, message));
|
|
83376
83358
|
|
|
83377
83359
|
const ConfigRegion = clientsdkClientcore_jsExports.vonage.CoreClientConfigRegionJS;
|
|
@@ -83396,9 +83378,9 @@ class ClientInitConfig {
|
|
|
83396
83378
|
this.customLoggers = [];
|
|
83397
83379
|
this.disableInternalLogger = false;
|
|
83398
83380
|
this.loggingLevel =
|
|
83399
|
-
loggingLevel instanceof
|
|
83381
|
+
loggingLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
|
|
83400
83382
|
? loggingLevel
|
|
83401
|
-
:
|
|
83383
|
+
: clientsdkClientcore_jsExports.vonage.LoggingLevelJS[loggingLevel];
|
|
83402
83384
|
this.region =
|
|
83403
83385
|
region instanceof ConfigRegion ? region : ConfigRegion[region];
|
|
83404
83386
|
if (customLoggers) {
|
|
@@ -83409,10 +83391,10 @@ class ClientInitConfig {
|
|
|
83409
83391
|
const convertInitConfig = (config) => {
|
|
83410
83392
|
if (config instanceof ClientInitConfig)
|
|
83411
83393
|
return config;
|
|
83412
|
-
return Object.assign(Object.assign({}, config), { loggingLevel: config.loggingLevel instanceof
|
|
83394
|
+
return Object.assign(Object.assign({}, config), { loggingLevel: config.loggingLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
|
|
83413
83395
|
? config.loggingLevel
|
|
83414
83396
|
: config.loggingLevel
|
|
83415
|
-
?
|
|
83397
|
+
? clientsdkClientcore_jsExports.vonage.LoggingLevelJS[config.loggingLevel]
|
|
83416
83398
|
: null, region: config.region instanceof ConfigRegion
|
|
83417
83399
|
? config.region
|
|
83418
83400
|
: config.region
|
|
@@ -83422,7 +83404,24 @@ const convertInitConfig = (config) => {
|
|
|
83422
83404
|
: null });
|
|
83423
83405
|
};
|
|
83424
83406
|
|
|
83425
|
-
|
|
83407
|
+
/**
|
|
83408
|
+
* The type of a {@link MemberChannel}
|
|
83409
|
+
*
|
|
83410
|
+
* @enum
|
|
83411
|
+
*/
|
|
83412
|
+
const ChannelType = {
|
|
83413
|
+
APP: 'APP',
|
|
83414
|
+
PHONE: 'PHONE',
|
|
83415
|
+
PSTN: 'PSTN',
|
|
83416
|
+
sip: 'sip',
|
|
83417
|
+
VBC: 'VBC',
|
|
83418
|
+
WEBSOCKET: 'WEBSOCKET',
|
|
83419
|
+
SMS: 'SMS',
|
|
83420
|
+
MMS: 'MMS',
|
|
83421
|
+
WHATSAPP: 'WHATSAPP',
|
|
83422
|
+
VIBER: 'VIBER',
|
|
83423
|
+
MESSENGER: 'MESSENGER'
|
|
83424
|
+
};
|
|
83426
83425
|
|
|
83427
83426
|
const VonageError = clientsdkClientcore_jsExports.vonage.VonageErrorJS;
|
|
83428
83427
|
const VonageErrorType = clientsdkClientcore_jsExports.vonage.VonageErrorTypeJS;
|
|
@@ -83471,6 +83470,54 @@ const some = (value) => new Option.Some(value);
|
|
|
83471
83470
|
*/
|
|
83472
83471
|
const none = () => new Option.None();
|
|
83473
83472
|
|
|
83473
|
+
/**
|
|
83474
|
+
* Hangup reasons for a call
|
|
83475
|
+
* @enum
|
|
83476
|
+
*/
|
|
83477
|
+
const HangupReason = {
|
|
83478
|
+
REMOTE_HANGUP: 'REMOTE_HANGUP',
|
|
83479
|
+
REMOTE_REJECT: 'REMOTE_REJECT',
|
|
83480
|
+
REMOTE_NO_ANSWER_TIMEOUT: 'REMOTE_NO_ANSWER_TIMEOUT',
|
|
83481
|
+
LOCAL_HANGUP: 'LOCAL_HANGUP',
|
|
83482
|
+
MEDIA_TIMEOUT: 'MEDIA_TIMEOUT'
|
|
83483
|
+
};
|
|
83484
|
+
/**
|
|
83485
|
+
* Leg status for a call
|
|
83486
|
+
* @enum
|
|
83487
|
+
*/
|
|
83488
|
+
const LegStatus = {
|
|
83489
|
+
RINGING: 'RINGING',
|
|
83490
|
+
ANSWERED: 'ANSWERED',
|
|
83491
|
+
COMPLETED: 'COMPLETED'
|
|
83492
|
+
};
|
|
83493
|
+
/**
|
|
83494
|
+
* Call disconnect reasons
|
|
83495
|
+
* @enum
|
|
83496
|
+
*/
|
|
83497
|
+
const CallDisconnectReason = {
|
|
83498
|
+
networkChange: 'networkChange'
|
|
83499
|
+
};
|
|
83500
|
+
/**
|
|
83501
|
+
* Call Invite cancel reasons
|
|
83502
|
+
* @enum
|
|
83503
|
+
*/
|
|
83504
|
+
const CancelReason = {
|
|
83505
|
+
RemoteCancel: 'RemoteCancel',
|
|
83506
|
+
RejectedElsewhere: 'RejectedElsewhere',
|
|
83507
|
+
RemoteTimeout: 'RemoteTimeout',
|
|
83508
|
+
AnsweredElsewhere: 'AnsweredElsewhere'
|
|
83509
|
+
};
|
|
83510
|
+
/**
|
|
83511
|
+
* Voice Channel Types
|
|
83512
|
+
* @enum
|
|
83513
|
+
*/
|
|
83514
|
+
const VoiceChannelType = {
|
|
83515
|
+
app: 'app',
|
|
83516
|
+
phone: 'phone',
|
|
83517
|
+
sip: 'sip',
|
|
83518
|
+
websocket: 'websocket'
|
|
83519
|
+
};
|
|
83520
|
+
|
|
83474
83521
|
const isKotlinType = (type, value) => value instanceof type;
|
|
83475
83522
|
// converts a js enum value to a kotlin enum value
|
|
83476
83523
|
// e.g. jsEnumToVonageObject(vonage.PresentingOrderJS, 'asc') => vonage.PresentingOrderJS.Asc
|
|
@@ -83488,11 +83535,7 @@ const jsEnumToVonageObject = (kotlinType, value) => {
|
|
|
83488
83535
|
return enumVal;
|
|
83489
83536
|
};
|
|
83490
83537
|
|
|
83491
|
-
const CancelReason = clientsdkClientcore_jsExports.vonage.CancelReasonJS;
|
|
83492
|
-
const HangupReason = clientsdkClientcore_jsExports.vonage.HangupReasonJS;
|
|
83493
83538
|
const SessionErrorReason = clientsdkClientcore_jsExports.vonage.SessionErrorReasonJS;
|
|
83494
|
-
const LegStatus = clientsdkClientcore_jsExports.vonage.LegStatusJS;
|
|
83495
|
-
const CallDisconnectReason = clientsdkClientcore_jsExports.vonage.CallDisconnectReasonJS;
|
|
83496
83539
|
/**
|
|
83497
83540
|
* VonageClient is the main entry point for the Vonage Client SDK.
|
|
83498
83541
|
*
|
|
@@ -84259,26 +84302,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
84259
84302
|
return yield _super.sendMessageSeenEvent.call(this, id, conversationId);
|
|
84260
84303
|
});
|
|
84261
84304
|
}
|
|
84262
|
-
/**
|
|
84263
|
-
* Get a Member of a Conversation
|
|
84264
|
-
*
|
|
84265
|
-
* @example
|
|
84266
|
-
* [[include: snippet_GetConversationMember.txt]]
|
|
84267
|
-
*
|
|
84268
|
-
* @group Chat
|
|
84269
|
-
* @beta
|
|
84270
|
-
* @param cid - the Conversation's id
|
|
84271
|
-
* @param mid - the Member's id
|
|
84272
|
-
* @returns the `Member`
|
|
84273
|
-
*/
|
|
84274
|
-
getConversationMember(cid, mid) {
|
|
84275
|
-
const _super = Object.create(null, {
|
|
84276
|
-
getConversationMember: { get: () => super.getConversationMember }
|
|
84277
|
-
});
|
|
84278
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
84279
|
-
return (yield _super.getConversationMember.call(this, cid, mid));
|
|
84280
|
-
});
|
|
84281
|
-
}
|
|
84282
84305
|
}
|
|
84283
84306
|
|
|
84284
84307
|
exports.CSErrorCodes = CSErrorCodes;
|
|
@@ -84297,6 +84320,7 @@ exports.PresentingOrder = PresentingOrder;
|
|
|
84297
84320
|
exports.SessionErrorCodes = SessionErrorCodes;
|
|
84298
84321
|
exports.SessionErrorReason = SessionErrorReason;
|
|
84299
84322
|
exports.Topics = Topics;
|
|
84323
|
+
exports.VoiceChannelType = VoiceChannelType;
|
|
84300
84324
|
exports.VonageClient = VonageClient;
|
|
84301
84325
|
exports.VonageError = VonageError;
|
|
84302
84326
|
exports.VonageErrorType = VonageErrorType;
|