@vonage/client-sdk 1.5.1 → 1.5.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -14
- package/api_docs/ts/assets/navigation.js +1 -1
- package/api_docs/ts/assets/search.js +1 -1
- package/api_docs/ts/classes/ClientConfig.html +1 -1
- package/api_docs/ts/classes/ClientInitConfig.html +1 -1
- package/api_docs/ts/classes/VonageClient.html +9 -9
- package/api_docs/ts/enums/CallDisconnectReason.html +3 -0
- package/api_docs/ts/{interfaces/VonageEvent.html → enums/CancelReason.html} +6 -2
- package/api_docs/ts/enums/ChannelType.html +13 -0
- package/api_docs/ts/enums/HangupReason.html +7 -0
- package/api_docs/ts/enums/LegStatus.html +5 -0
- package/api_docs/ts/enums/LoggingLevel.html +10 -0
- package/api_docs/ts/enums/OrderBy.html +1 -1
- package/api_docs/ts/enums/PresentingOrder.html +1 -1
- package/api_docs/ts/enums/VoiceChannelType.html +6 -0
- package/api_docs/ts/functions/none.html +1 -1
- package/api_docs/ts/functions/setDefaultLoggingLevel.html +3 -3
- package/api_docs/ts/functions/setVonageClientLoggingLevel.html +3 -3
- package/api_docs/ts/functions/some.html +1 -1
- package/api_docs/ts/index.html +1 -1
- package/api_docs/ts/interfaces/CallSayParams.html +1 -1
- package/api_docs/ts/interfaces/Channel.html +1 -1
- package/api_docs/ts/interfaces/Conversation.html +1 -1
- package/api_docs/ts/interfaces/ConversationProperties.html +1 -1
- package/api_docs/ts/interfaces/ConversationTimestamp.html +1 -1
- package/api_docs/ts/interfaces/ConversationsPage.html +1 -1
- package/api_docs/ts/interfaces/CreateConversationParameters.html +1 -1
- package/api_docs/ts/interfaces/EphemeralConversationEvent.html +3 -3
- package/api_docs/ts/interfaces/EventsPage.html +1 -1
- package/api_docs/ts/interfaces/GetCallLegsParameters.html +1 -1
- package/api_docs/ts/interfaces/GetConversationEventsParameters.html +1 -1
- package/api_docs/ts/interfaces/GetConversationMembersParameters.html +1 -1
- package/api_docs/ts/interfaces/GetConversationsParameters.html +1 -1
- package/api_docs/ts/interfaces/Leg.html +1 -1
- package/api_docs/ts/interfaces/LegChannel.html +1 -1
- package/api_docs/ts/interfaces/LegsPage.html +1 -1
- package/api_docs/ts/interfaces/Location.html +1 -1
- package/api_docs/ts/interfaces/Member.html +11 -11
- package/api_docs/ts/interfaces/MemberChannel.html +7 -7
- package/api_docs/ts/interfaces/MemberEventBody.html +2 -2
- package/api_docs/ts/interfaces/MemberTimestamp.html +1 -1
- package/api_docs/ts/interfaces/MembersPage.html +1 -1
- package/api_docs/ts/interfaces/MessageAudioEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageCustomEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageFileEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageImageEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageLocationEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageTemplateEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageTextEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageVCardEventBody.html +2 -2
- package/api_docs/ts/interfaces/MessageVideoEventBody.html +2 -2
- package/api_docs/ts/interfaces/RTCQuality.html +1 -1
- package/api_docs/ts/interfaces/RtcStats.html +1 -1
- package/api_docs/ts/interfaces/Template.html +1 -1
- package/api_docs/ts/interfaces/UpdateConversationParameters.html +1 -1
- package/api_docs/ts/interfaces/User.html +1 -1
- package/api_docs/ts/interfaces/UserChannels.html +1 -1
- package/api_docs/ts/interfaces/UserTimestamp.html +1 -1
- package/api_docs/ts/interfaces/Whatsapp.html +1 -1
- package/api_docs/ts/modules.html +13 -33
- package/api_docs/ts/types/ClientConfigObject.html +6 -0
- package/api_docs/ts/types/ClientInitConfigObject.html +6 -0
- package/api_docs/ts/types/ConfigRegion.html +2 -2
- package/api_docs/ts/types/ConversationEvent.html +2 -2
- package/api_docs/ts/types/CustomData.html +1 -1
- package/api_docs/ts/types/Json.html +1 -1
- package/api_docs/ts/types/JsonValue.html +1 -1
- package/api_docs/ts/types/MemberStatus.html +1 -1
- package/api_docs/ts/types/Option.html +1 -1
- package/api_docs/ts/types/PersistentConversationEvent.html +2 -2
- package/api_docs/ts/types/Topics.html +2 -2
- package/api_docs/ts/types/VonageEvent.html +2 -0
- package/api_docs/ts/types/VonageLogger.html +4 -0
- package/api_docs/ts/variables/Topics-1.html +2 -2
- package/dist/client/VonageClient.d.ts +14 -24
- package/dist/client/index.cjs +886 -862
- package/dist/client/index.mjs +886 -863
- package/dist/coreExtend.d.ts +14 -0
- package/dist/kotlin/JsUnions.d.ts +24 -0
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +67 -141
- package/dist/utils/ClientConfig.d.ts +0 -2
- package/dist/utils/ConversationModels.d.ts +22 -5
- package/dist/utils/Enums.d.ts +53 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/logging.d.ts +10 -2
- package/dist/vonageClientSDK.js +886 -862
- package/dist/vonageClientSDK.min.js +20 -20
- package/dist/vonageClientSDK.min.mjs +18 -18
- package/dist/vonageClientSDK.mjs +886 -863
- package/package.json +1 -1
- package/api_docs/ts/interfaces/ClientConfigObject.html +0 -18
- package/api_docs/ts/interfaces/ClientInitConfigObject.html +0 -24
- package/api_docs/ts/interfaces/CustomConversationEvent.html +0 -16
- package/api_docs/ts/interfaces/EmbeddedInfo.html +0 -8
- package/api_docs/ts/interfaces/EventDeleteConversationEvent.html +0 -14
- package/api_docs/ts/interfaces/MemberInvitedEvent.html +0 -14
- package/api_docs/ts/interfaces/MemberJoinedEvent.html +0 -14
- package/api_docs/ts/interfaces/MemberLeftEvent.html +0 -14
- package/api_docs/ts/interfaces/MessageAudioEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageCustomEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageDeliveredEvent.html +0 -14
- package/api_docs/ts/interfaces/MessageFileEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageImageEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageLocationEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageRejectedEvent.html +0 -14
- package/api_docs/ts/interfaces/MessageSeenEvent.html +0 -14
- package/api_docs/ts/interfaces/MessageSubmittedEvent.html +0 -14
- package/api_docs/ts/interfaces/MessageTemplateEvent.html +0 -17
- package/api_docs/ts/interfaces/MessageTextEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageUndeliverableEvent.html +0 -14
- package/api_docs/ts/interfaces/MessageVCardEvent.html +0 -16
- package/api_docs/ts/interfaces/MessageVideoEvent.html +0 -16
- package/api_docs/ts/interfaces/System.html +0 -4
- package/api_docs/ts/interfaces/VonageLogger.html +0 -10
- package/api_docs/ts/types/ChannelType.html +0 -2
- package/api_docs/ts/types/ConversationState.html +0 -2
- package/api_docs/ts/types/From.html +0 -2
- package/api_docs/ts/types/LoggingLevel.html +0 -4
- package/api_docs/ts/types/MemberState.html +0 -2
- package/api_docs/ts/types/NonPersistentConversationEvent.html +0 -2
package/dist/vonageClientSDK.mjs
CHANGED
|
@@ -33192,6 +33192,15 @@ function requireClientsdkClientcore () {
|
|
|
33192
33192
|
setMetadataFor(Companion_133, 'Companion', objectMeta);
|
|
33193
33193
|
setMetadataFor($serializer_153, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
33194
33194
|
setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_153});
|
|
33195
|
+
function onAudioSay() {
|
|
33196
|
+
}
|
|
33197
|
+
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
33198
|
+
}
|
|
33199
|
+
function onAudioEarmuffUpdate(conversationId, legId, earmuffStatus) {
|
|
33200
|
+
}
|
|
33201
|
+
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33202
|
+
}
|
|
33203
|
+
setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
|
|
33195
33204
|
function onRTCHangup(conversationId, legId, hangup) {
|
|
33196
33205
|
}
|
|
33197
33206
|
function onRTCTransfer(conversationId, legId) {
|
|
@@ -33202,16 +33211,7 @@ function requireClientsdkClientcore () {
|
|
|
33202
33211
|
function onConversationEvent(event) {
|
|
33203
33212
|
}
|
|
33204
33213
|
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
33205
|
-
|
|
33206
|
-
}
|
|
33207
|
-
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
33208
|
-
}
|
|
33209
|
-
function onAudioEarmuffUpdate(conversationId, legId, earmuffStatus) {
|
|
33210
|
-
}
|
|
33211
|
-
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33212
|
-
}
|
|
33213
|
-
setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
|
|
33214
|
-
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [RTCEventListener, ConversationEventListener, AudioEventListener]);
|
|
33214
|
+
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
|
|
33215
33215
|
setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
|
|
33216
33216
|
setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
|
|
33217
33217
|
setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
|
|
@@ -33344,7 +33344,7 @@ function requireClientsdkClientcore () {
|
|
|
33344
33344
|
setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
|
|
33345
33345
|
setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
|
|
33346
33346
|
setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
|
|
33347
|
-
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [RTCEventListener, ConversationEventListener
|
|
33347
|
+
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
|
|
33348
33348
|
setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
|
|
33349
33349
|
setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
|
|
33350
33350
|
setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
|
|
@@ -33560,7 +33560,7 @@ function requireClientsdkClientcore () {
|
|
|
33560
33560
|
setMetadataFor(Failed, 'Failed', classMeta, StateTransition);
|
|
33561
33561
|
//endregion
|
|
33562
33562
|
function BuildKonfig() {
|
|
33563
|
-
this.g1d_1 = '1.5.1';
|
|
33563
|
+
this.g1d_1 = '1.5.2-beta.1';
|
|
33564
33564
|
}
|
|
33565
33565
|
var BuildKonfig_instance;
|
|
33566
33566
|
function CoreClientWithMedia() {
|
|
@@ -73986,24 +73986,24 @@ function requireClientsdkClientcore () {
|
|
|
73986
73986
|
}(commonjsGlobal, function (_, kotlin_kotlin, kotlin_com_vonage_rtc_clientcore) {
|
|
73987
73987
|
//region block: imports
|
|
73988
73988
|
var imul = Math.imul;
|
|
73989
|
-
var Unit_instance = kotlin_kotlin.$_$.v3;
|
|
73990
73989
|
var protoOf = kotlin_kotlin.$_$.w7;
|
|
73991
|
-
var
|
|
73990
|
+
var THROW_CCE = kotlin_kotlin.$_$.v9;
|
|
73991
|
+
var objectMeta = kotlin_kotlin.$_$.v7;
|
|
73992
73992
|
var setMetadataFor = kotlin_kotlin.$_$.x7;
|
|
73993
|
+
var Unit_instance = kotlin_kotlin.$_$.v3;
|
|
73994
|
+
var classMeta = kotlin_kotlin.$_$.p6;
|
|
73993
73995
|
var VOID = kotlin_kotlin.$_$.f;
|
|
73994
73996
|
var VoiceClientListener = kotlin_com_vonage_rtc_clientcore.$_$.n1;
|
|
73995
73997
|
var Builder = kotlin_com_vonage_rtc_clientcore.$_$.u1;
|
|
73996
73998
|
var LoggerAdapter = kotlin_com_vonage_rtc_clientcore.$_$.o1;
|
|
73997
73999
|
var defineProp = kotlin_kotlin.$_$.q6;
|
|
74000
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.qa;
|
|
73998
74001
|
var THROW_IAE = kotlin_kotlin.$_$.w9;
|
|
73999
74002
|
var Enum = kotlin_kotlin.$_$.o9;
|
|
74000
74003
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.l4;
|
|
74001
74004
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
|
|
74002
74005
|
var copyToArray = kotlin_kotlin.$_$.y4;
|
|
74003
74006
|
var interfaceMeta = kotlin_kotlin.$_$.z6;
|
|
74004
|
-
var THROW_CCE = kotlin_kotlin.$_$.v9;
|
|
74005
|
-
var objectMeta = kotlin_kotlin.$_$.v7;
|
|
74006
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.qa;
|
|
74007
74007
|
var System_instance = kotlin_com_vonage_rtc_clientcore.$_$.v2;
|
|
74008
74008
|
var equals = kotlin_kotlin.$_$.r6;
|
|
74009
74009
|
var EmbeddedInfo = kotlin_com_vonage_rtc_clientcore.$_$.j;
|
|
@@ -74108,6 +74108,7 @@ function requireClientsdkClientcore () {
|
|
|
74108
74108
|
var json = kotlin_kotlin.$_$.m7;
|
|
74109
74109
|
//endregion
|
|
74110
74110
|
//region block: pre-declaration
|
|
74111
|
+
setMetadataFor(VoiceChannelTypeObject, 'VoiceChannelTypeObject', objectMeta);
|
|
74111
74112
|
setMetadataFor(CombinedClientJS$1, VOID, classMeta);
|
|
74112
74113
|
setMetadataFor(CombinedClientJS$2, VOID, classMeta, VOID, [VoiceClientListener]);
|
|
74113
74114
|
setMetadataFor(CombinedClientJS$3, VOID, classMeta);
|
|
@@ -74321,7 +74322,7 @@ function requireClientsdkClientcore () {
|
|
|
74321
74322
|
setMetadataFor(MediaStateJS, 'MediaStateJS', classMeta);
|
|
74322
74323
|
setMetadataFor(LegJS, 'LegJS', classMeta);
|
|
74323
74324
|
setMetadataFor(LegsPageJS, 'LegsPageJS', classMeta);
|
|
74324
|
-
setMetadataFor(
|
|
74325
|
+
setMetadataFor(ChannelTypeObj, 'ChannelTypeObj', objectMeta);
|
|
74325
74326
|
setMetadataFor(CSErrorCodesJS, 'CSErrorCodesJS', objectMeta);
|
|
74326
74327
|
setMetadataFor(SessionErrorCodesJS, 'SessionErrorCodesJS', objectMeta);
|
|
74327
74328
|
setMetadataFor(VonageErrorJS, 'VonageErrorJS', classMeta, Error);
|
|
@@ -74339,13 +74340,13 @@ function requireClientsdkClientcore () {
|
|
|
74339
74340
|
setMetadataFor(LoggingLevelJS, 'LoggingLevelJS', classMeta, Enum);
|
|
74340
74341
|
setMetadataFor(SessionErrorReasonJS, 'SessionErrorReasonJS', classMeta, Enum);
|
|
74341
74342
|
setMetadataFor(createVonageLoggerJS$1, VOID, classMeta);
|
|
74342
|
-
setMetadataFor(
|
|
74343
|
-
setMetadataFor(
|
|
74344
|
-
setMetadataFor(
|
|
74343
|
+
setMetadataFor(LegStatusJSObject, 'LegStatusJSObject', objectMeta);
|
|
74344
|
+
setMetadataFor(CallDisconnectReasonJSObject, 'CallDisconnectReasonJSObject', objectMeta);
|
|
74345
|
+
setMetadataFor(HangupReasonJSObject, 'HangupReasonJSObject', objectMeta);
|
|
74345
74346
|
setMetadataFor(VoiceInviteFromInfoJS, 'VoiceInviteFromInfoJS', classMeta);
|
|
74346
74347
|
setMetadataFor(HttpClientErrorJS, 'HttpClientErrorJS', classMeta, Error, VOID, HttpClientErrorJS);
|
|
74347
74348
|
setMetadataFor(HttpClientResponseJS, 'HttpClientResponseJS', classMeta);
|
|
74348
|
-
setMetadataFor(
|
|
74349
|
+
setMetadataFor(CancelReasonJSObject, 'CancelReasonJSObject', objectMeta);
|
|
74349
74350
|
setMetadataFor(RTCQualityJS, 'RTCQualityJS', classMeta);
|
|
74350
74351
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
74351
74352
|
setMetadataFor(RTCStatsJS, 'RTCStatsJS', classMeta);
|
|
@@ -74359,11 +74360,47 @@ function requireClientsdkClientcore () {
|
|
|
74359
74360
|
setMetadataFor(Some, 'Some', classMeta, OptionJS);
|
|
74360
74361
|
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
74361
74362
|
//endregion
|
|
74363
|
+
function VoiceChannelTypeObject() {
|
|
74364
|
+
this.app = 'app';
|
|
74365
|
+
this.phone = 'phone';
|
|
74366
|
+
this.sip = 'sip';
|
|
74367
|
+
this.websocket = 'websocket';
|
|
74368
|
+
}
|
|
74369
|
+
protoOf(VoiceChannelTypeObject).q3q = function () {
|
|
74370
|
+
return this.app;
|
|
74371
|
+
};
|
|
74372
|
+
protoOf(VoiceChannelTypeObject).r3q = function () {
|
|
74373
|
+
return this.phone;
|
|
74374
|
+
};
|
|
74375
|
+
protoOf(VoiceChannelTypeObject).s3q = function () {
|
|
74376
|
+
return this.sip;
|
|
74377
|
+
};
|
|
74378
|
+
protoOf(VoiceChannelTypeObject).t3q = function () {
|
|
74379
|
+
return this.websocket;
|
|
74380
|
+
};
|
|
74381
|
+
protoOf(VoiceChannelTypeObject).toString = function () {
|
|
74382
|
+
return 'VoiceChannelTypeObject';
|
|
74383
|
+
};
|
|
74384
|
+
protoOf(VoiceChannelTypeObject).hashCode = function () {
|
|
74385
|
+
return -1025446930;
|
|
74386
|
+
};
|
|
74387
|
+
protoOf(VoiceChannelTypeObject).equals = function (other) {
|
|
74388
|
+
if (this === other)
|
|
74389
|
+
return true;
|
|
74390
|
+
if (!(other instanceof VoiceChannelTypeObject))
|
|
74391
|
+
return false;
|
|
74392
|
+
other instanceof VoiceChannelTypeObject || THROW_CCE();
|
|
74393
|
+
return true;
|
|
74394
|
+
};
|
|
74395
|
+
var VoiceChannelTypeObject_instance;
|
|
74396
|
+
function VoiceChannelTypeObject_getInstance() {
|
|
74397
|
+
return VoiceChannelTypeObject_instance;
|
|
74398
|
+
}
|
|
74362
74399
|
function CombinedClientJS$1(this$0) {
|
|
74363
|
-
this.
|
|
74400
|
+
this.u3q_1 = this$0;
|
|
74364
74401
|
}
|
|
74365
74402
|
protoOf(CombinedClientJS$1).c38 = function () {
|
|
74366
|
-
var tmp0_safe_receiver = this.
|
|
74403
|
+
var tmp0_safe_receiver = this.u3q_1.emitter;
|
|
74367
74404
|
if (tmp0_safe_receiver == null)
|
|
74368
74405
|
;
|
|
74369
74406
|
else {
|
|
@@ -74371,7 +74408,7 @@ function requireClientsdkClientcore () {
|
|
|
74371
74408
|
}
|
|
74372
74409
|
};
|
|
74373
74410
|
protoOf(CombinedClientJS$1).d38 = function () {
|
|
74374
|
-
var tmp0_safe_receiver = this.
|
|
74411
|
+
var tmp0_safe_receiver = this.u3q_1.emitter;
|
|
74375
74412
|
if (tmp0_safe_receiver == null)
|
|
74376
74413
|
;
|
|
74377
74414
|
else {
|
|
@@ -74379,34 +74416,34 @@ function requireClientsdkClientcore () {
|
|
|
74379
74416
|
}
|
|
74380
74417
|
};
|
|
74381
74418
|
protoOf(CombinedClientJS$1).e38 = function (reason) {
|
|
74382
|
-
var tmp0_safe_receiver = this.
|
|
74419
|
+
var tmp0_safe_receiver = this.u3q_1.emitter;
|
|
74383
74420
|
if (tmp0_safe_receiver == null)
|
|
74384
74421
|
;
|
|
74385
74422
|
else {
|
|
74386
|
-
tmp0_safe_receiver.sessionError(
|
|
74423
|
+
tmp0_safe_receiver.sessionError(map_10(reason));
|
|
74387
74424
|
}
|
|
74388
74425
|
};
|
|
74389
74426
|
function CombinedClientJS$2(this$0) {
|
|
74390
|
-
this.
|
|
74427
|
+
this.x3q_1 = this$0;
|
|
74391
74428
|
}
|
|
74392
74429
|
protoOf(CombinedClientJS$2).i38 = function (callId, from, channelType) {
|
|
74393
|
-
var tmp0_safe_receiver = this.
|
|
74430
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
74394
74431
|
if (tmp0_safe_receiver == null)
|
|
74395
74432
|
;
|
|
74396
74433
|
else {
|
|
74397
|
-
tmp0_safe_receiver.callInvite(callId, from, channelType
|
|
74434
|
+
tmp0_safe_receiver.callInvite(callId, from, map(channelType));
|
|
74398
74435
|
}
|
|
74399
74436
|
};
|
|
74400
74437
|
protoOf(CombinedClientJS$2).j38 = function (callId, reason) {
|
|
74401
|
-
var tmp0_safe_receiver = this.
|
|
74438
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
74402
74439
|
if (tmp0_safe_receiver == null)
|
|
74403
74440
|
;
|
|
74404
74441
|
else {
|
|
74405
|
-
tmp0_safe_receiver.callInviteCancel(callId,
|
|
74442
|
+
tmp0_safe_receiver.callInviteCancel(callId, map_14(reason));
|
|
74406
74443
|
}
|
|
74407
74444
|
};
|
|
74408
74445
|
protoOf(CombinedClientJS$2).k38 = function (callId, conversationId) {
|
|
74409
|
-
var tmp0_safe_receiver = this.
|
|
74446
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
74410
74447
|
if (tmp0_safe_receiver == null)
|
|
74411
74448
|
;
|
|
74412
74449
|
else {
|
|
@@ -74414,7 +74451,7 @@ function requireClientsdkClientcore () {
|
|
|
74414
74451
|
}
|
|
74415
74452
|
};
|
|
74416
74453
|
protoOf(CombinedClientJS$2).l38 = function (callId, legId, isMuted) {
|
|
74417
|
-
var tmp0_safe_receiver = this.
|
|
74454
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
74418
74455
|
if (tmp0_safe_receiver == null)
|
|
74419
74456
|
;
|
|
74420
74457
|
else {
|
|
@@ -74422,7 +74459,7 @@ function requireClientsdkClientcore () {
|
|
|
74422
74459
|
}
|
|
74423
74460
|
};
|
|
74424
74461
|
protoOf(CombinedClientJS$2).m38 = function (callId, legId, earmuffStatus) {
|
|
74425
|
-
var tmp0_safe_receiver = this.
|
|
74462
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
74426
74463
|
if (tmp0_safe_receiver == null)
|
|
74427
74464
|
;
|
|
74428
74465
|
else {
|
|
@@ -74430,7 +74467,7 @@ function requireClientsdkClientcore () {
|
|
|
74430
74467
|
}
|
|
74431
74468
|
};
|
|
74432
74469
|
protoOf(CombinedClientJS$2).n38 = function (callId, legId, digits) {
|
|
74433
|
-
var tmp0_safe_receiver = this.
|
|
74470
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
74434
74471
|
if (tmp0_safe_receiver == null)
|
|
74435
74472
|
;
|
|
74436
74473
|
else {
|
|
@@ -74438,23 +74475,23 @@ function requireClientsdkClientcore () {
|
|
|
74438
74475
|
}
|
|
74439
74476
|
};
|
|
74440
74477
|
protoOf(CombinedClientJS$2).o38 = function (callId, callQuality, reason) {
|
|
74441
|
-
var tmp0_safe_receiver = this.
|
|
74478
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
74442
74479
|
if (tmp0_safe_receiver == null)
|
|
74443
74480
|
;
|
|
74444
74481
|
else {
|
|
74445
|
-
tmp0_safe_receiver.callHangup(callId,
|
|
74482
|
+
tmp0_safe_receiver.callHangup(callId, map_15(callQuality), map_13(reason));
|
|
74446
74483
|
}
|
|
74447
74484
|
};
|
|
74448
74485
|
protoOf(CombinedClientJS$2).p38 = function (callId, legId, status) {
|
|
74449
|
-
var tmp0_safe_receiver = this.
|
|
74486
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
74450
74487
|
if (tmp0_safe_receiver == null)
|
|
74451
74488
|
;
|
|
74452
74489
|
else {
|
|
74453
|
-
tmp0_safe_receiver.legStatusUpdate(callId, legId,
|
|
74490
|
+
tmp0_safe_receiver.legStatusUpdate(callId, legId, map_11(status));
|
|
74454
74491
|
}
|
|
74455
74492
|
};
|
|
74456
74493
|
protoOf(CombinedClientJS$2).q38 = function (callId) {
|
|
74457
|
-
var tmp0_safe_receiver = this.
|
|
74494
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
74458
74495
|
if (tmp0_safe_receiver == null)
|
|
74459
74496
|
;
|
|
74460
74497
|
else {
|
|
@@ -74462,7 +74499,7 @@ function requireClientsdkClientcore () {
|
|
|
74462
74499
|
}
|
|
74463
74500
|
};
|
|
74464
74501
|
protoOf(CombinedClientJS$2).r38 = function (callId) {
|
|
74465
|
-
var tmp0_safe_receiver = this.
|
|
74502
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
74466
74503
|
if (tmp0_safe_receiver == null)
|
|
74467
74504
|
;
|
|
74468
74505
|
else {
|
|
@@ -74470,23 +74507,23 @@ function requireClientsdkClientcore () {
|
|
|
74470
74507
|
}
|
|
74471
74508
|
};
|
|
74472
74509
|
protoOf(CombinedClientJS$2).s38 = function (callId, reason) {
|
|
74473
|
-
var tmp0_safe_receiver = this.
|
|
74510
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
74474
74511
|
if (tmp0_safe_receiver == null)
|
|
74475
74512
|
;
|
|
74476
74513
|
else {
|
|
74477
|
-
tmp0_safe_receiver.callMediaDisconnect(callId,
|
|
74514
|
+
tmp0_safe_receiver.callMediaDisconnect(callId, map_12(reason));
|
|
74478
74515
|
}
|
|
74479
74516
|
};
|
|
74480
74517
|
protoOf(CombinedClientJS$2).t38 = function (rtcStats, legId) {
|
|
74481
|
-
var tmp0_safe_receiver = this.
|
|
74518
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
74482
74519
|
if (tmp0_safe_receiver == null)
|
|
74483
74520
|
;
|
|
74484
74521
|
else {
|
|
74485
|
-
tmp0_safe_receiver.rtcStatsUpdate(Companion_instance_0.
|
|
74522
|
+
tmp0_safe_receiver.rtcStatsUpdate(Companion_instance_0.y3q(rtcStats), legId);
|
|
74486
74523
|
}
|
|
74487
74524
|
};
|
|
74488
74525
|
protoOf(CombinedClientJS$2).u38 = function (callId, error) {
|
|
74489
|
-
var tmp0_safe_receiver = this.
|
|
74526
|
+
var tmp0_safe_receiver = this.x3q_1.emitter;
|
|
74490
74527
|
if (tmp0_safe_receiver == null)
|
|
74491
74528
|
;
|
|
74492
74529
|
else {
|
|
@@ -74494,43 +74531,64 @@ function requireClientsdkClientcore () {
|
|
|
74494
74531
|
}
|
|
74495
74532
|
};
|
|
74496
74533
|
function CombinedClientJS$3(this$0) {
|
|
74497
|
-
this.
|
|
74534
|
+
this.z3q_1 = this$0;
|
|
74498
74535
|
}
|
|
74499
74536
|
protoOf(CombinedClientJS$3).v2s = function (event) {
|
|
74500
|
-
var tmp0_safe_receiver = this.
|
|
74537
|
+
var tmp0_safe_receiver = this.z3q_1.emitter;
|
|
74501
74538
|
if (tmp0_safe_receiver == null)
|
|
74502
74539
|
;
|
|
74503
74540
|
else {
|
|
74504
|
-
tmp0_safe_receiver.conversationEvent(
|
|
74541
|
+
tmp0_safe_receiver.conversationEvent(map_1(event));
|
|
74505
74542
|
}
|
|
74506
74543
|
};
|
|
74507
74544
|
function CombinedClientJS(config, http, socket, media) {
|
|
74508
|
-
this.
|
|
74545
|
+
this.v3q_1 = media;
|
|
74509
74546
|
var tmp = this;
|
|
74510
74547
|
var tmp_0 = new Builder();
|
|
74511
74548
|
var tmp0_safe_receiver = config.loggingLevel;
|
|
74512
74549
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getLoggingLevel(tmp0_safe_receiver);
|
|
74513
74550
|
var tmp_1 = tmp1_elvis_lhs == null ? getLoggingLevel(get_DEFAULT_LOGGING_LEVEL()) : tmp1_elvis_lhs;
|
|
74514
|
-
var tmp_2 =
|
|
74551
|
+
var tmp_2 = map_9(config.customLoggers);
|
|
74515
74552
|
var tmp2_elvis_lhs = config.disableInternalLogger;
|
|
74516
|
-
tmp.
|
|
74553
|
+
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));
|
|
74517
74554
|
this.emitter = null;
|
|
74518
|
-
this.
|
|
74519
|
-
this.
|
|
74520
|
-
this.
|
|
74555
|
+
this.w3q_1.h1d(new CombinedClientJS$1(this));
|
|
74556
|
+
this.w3q_1.l1d(new CombinedClientJS$2(this));
|
|
74557
|
+
this.w3q_1.i1d(new CombinedClientJS$3(this));
|
|
74521
74558
|
}
|
|
74522
|
-
protoOf(CombinedClientJS).
|
|
74523
|
-
return this.
|
|
74559
|
+
protoOf(CombinedClientJS).a3r = function () {
|
|
74560
|
+
return this.v3q_1;
|
|
74524
74561
|
};
|
|
74525
|
-
protoOf(CombinedClientJS).
|
|
74526
|
-
return this.
|
|
74562
|
+
protoOf(CombinedClientJS).b3r = function () {
|
|
74563
|
+
return this.w3q_1;
|
|
74527
74564
|
};
|
|
74528
|
-
protoOf(CombinedClientJS).
|
|
74565
|
+
protoOf(CombinedClientJS).c3r = function (_set____db54di) {
|
|
74529
74566
|
this.emitter = _set____db54di;
|
|
74530
74567
|
};
|
|
74531
|
-
protoOf(CombinedClientJS).
|
|
74568
|
+
protoOf(CombinedClientJS).d3r = function () {
|
|
74532
74569
|
return this.emitter;
|
|
74533
74570
|
};
|
|
74571
|
+
function map(_this__u8e3s4) {
|
|
74572
|
+
var tmp;
|
|
74573
|
+
switch (_this__u8e3s4.z7_1) {
|
|
74574
|
+
case 0:
|
|
74575
|
+
tmp = VoiceChannelTypeObject_instance.app;
|
|
74576
|
+
break;
|
|
74577
|
+
case 1:
|
|
74578
|
+
tmp = VoiceChannelTypeObject_instance.phone;
|
|
74579
|
+
break;
|
|
74580
|
+
case 2:
|
|
74581
|
+
tmp = VoiceChannelTypeObject_instance.sip;
|
|
74582
|
+
break;
|
|
74583
|
+
case 3:
|
|
74584
|
+
tmp = VoiceChannelTypeObject_instance.websocket;
|
|
74585
|
+
break;
|
|
74586
|
+
default:
|
|
74587
|
+
noWhenBranchMatchedException();
|
|
74588
|
+
break;
|
|
74589
|
+
}
|
|
74590
|
+
return tmp;
|
|
74591
|
+
}
|
|
74534
74592
|
var EventStateTypeJS_SEEN_instance;
|
|
74535
74593
|
var EventStateTypeJS_DELIVERED_instance;
|
|
74536
74594
|
var EventStateTypeJS_SUBMITTED_instance;
|
|
@@ -74600,22 +74658,22 @@ function requireClientsdkClientcore () {
|
|
|
74600
74658
|
var tmp3_elvis_lhs = tmp_5;
|
|
74601
74659
|
tmp_4.current = tmp3_elvis_lhs == null ? 'none' : tmp3_elvis_lhs;
|
|
74602
74660
|
}
|
|
74603
|
-
protoOf(EventStateJS).
|
|
74661
|
+
protoOf(EventStateJS).g3r = function () {
|
|
74604
74662
|
return this.seen;
|
|
74605
74663
|
};
|
|
74606
|
-
protoOf(EventStateJS).
|
|
74664
|
+
protoOf(EventStateJS).h3r = function () {
|
|
74607
74665
|
return this.delivered;
|
|
74608
74666
|
};
|
|
74609
|
-
protoOf(EventStateJS).
|
|
74667
|
+
protoOf(EventStateJS).i3r = function () {
|
|
74610
74668
|
return this.submitted;
|
|
74611
74669
|
};
|
|
74612
|
-
protoOf(EventStateJS).
|
|
74670
|
+
protoOf(EventStateJS).j3r = function () {
|
|
74613
74671
|
return this.rejected;
|
|
74614
74672
|
};
|
|
74615
|
-
protoOf(EventStateJS).
|
|
74673
|
+
protoOf(EventStateJS).k3r = function () {
|
|
74616
74674
|
return this.undeliverable;
|
|
74617
74675
|
};
|
|
74618
|
-
protoOf(EventStateJS).
|
|
74676
|
+
protoOf(EventStateJS).l3r = function () {
|
|
74619
74677
|
return this.current;
|
|
74620
74678
|
};
|
|
74621
74679
|
function EventsPageJS(eventsPage) {
|
|
@@ -74629,20 +74687,20 @@ function requireClientsdkClientcore () {
|
|
|
74629
74687
|
while (tmp0_iterator.q()) {
|
|
74630
74688
|
var item = tmp0_iterator.s();
|
|
74631
74689
|
// Inline function 'vonage.EventsPageJS.events.<anonymous>' call
|
|
74632
|
-
var tmp$ret$0 =
|
|
74690
|
+
var tmp$ret$0 = map_2(item);
|
|
74633
74691
|
destination.m(tmp$ret$0);
|
|
74634
74692
|
}
|
|
74635
74693
|
tmp.events = copyToArray(destination);
|
|
74636
74694
|
this.previousCursor = eventsPage.h30_1;
|
|
74637
74695
|
this.nextCursor = eventsPage.i30_1;
|
|
74638
74696
|
}
|
|
74639
|
-
protoOf(EventsPageJS).
|
|
74697
|
+
protoOf(EventsPageJS).m3r = function () {
|
|
74640
74698
|
return this.events;
|
|
74641
74699
|
};
|
|
74642
|
-
protoOf(EventsPageJS).
|
|
74700
|
+
protoOf(EventsPageJS).n3r = function () {
|
|
74643
74701
|
return this.previousCursor;
|
|
74644
74702
|
};
|
|
74645
|
-
protoOf(EventsPageJS).
|
|
74703
|
+
protoOf(EventsPageJS).o3r = function () {
|
|
74646
74704
|
return this.nextCursor;
|
|
74647
74705
|
};
|
|
74648
74706
|
function FromJS() {
|
|
@@ -74655,7 +74713,7 @@ function requireClientsdkClientcore () {
|
|
|
74655
74713
|
protoOf(EmbeddedInfoJS).ch = function () {
|
|
74656
74714
|
return this.kind;
|
|
74657
74715
|
};
|
|
74658
|
-
protoOf(EmbeddedInfoJS).
|
|
74716
|
+
protoOf(EmbeddedInfoJS).p3r = function () {
|
|
74659
74717
|
return this.memberId;
|
|
74660
74718
|
};
|
|
74661
74719
|
protoOf(EmbeddedInfoJS).q2m = function () {
|
|
@@ -74697,7 +74755,7 @@ function requireClientsdkClientcore () {
|
|
|
74697
74755
|
this.memberId = body.m30_1;
|
|
74698
74756
|
this.user = new UserJS(body.l30_1);
|
|
74699
74757
|
}
|
|
74700
|
-
protoOf(MemberEventBodyJS).
|
|
74758
|
+
protoOf(MemberEventBodyJS).p3r = function () {
|
|
74701
74759
|
return this.memberId;
|
|
74702
74760
|
};
|
|
74703
74761
|
protoOf(MemberEventBodyJS).q2m = function () {
|
|
@@ -74708,7 +74766,7 @@ function requireClientsdkClientcore () {
|
|
|
74708
74766
|
this.id = event.n30_1;
|
|
74709
74767
|
this.timestamp = event.o30_1;
|
|
74710
74768
|
this.conversationId = event.p30_1;
|
|
74711
|
-
this.from =
|
|
74769
|
+
this.from = map_0(event.q30_1);
|
|
74712
74770
|
this.body = new MemberEventBodyJS(event.r30_1);
|
|
74713
74771
|
}
|
|
74714
74772
|
protoOf(MemberInvitedEventJS).ch = function () {
|
|
@@ -74723,10 +74781,10 @@ function requireClientsdkClientcore () {
|
|
|
74723
74781
|
protoOf(MemberInvitedEventJS).t2s = function () {
|
|
74724
74782
|
return this.conversationId;
|
|
74725
74783
|
};
|
|
74726
|
-
protoOf(MemberInvitedEventJS).
|
|
74784
|
+
protoOf(MemberInvitedEventJS).q3r = function () {
|
|
74727
74785
|
return this.from;
|
|
74728
74786
|
};
|
|
74729
|
-
protoOf(MemberInvitedEventJS).
|
|
74787
|
+
protoOf(MemberInvitedEventJS).r3r = function () {
|
|
74730
74788
|
return this.body;
|
|
74731
74789
|
};
|
|
74732
74790
|
function MemberJoinedEventJS(event) {
|
|
@@ -74734,7 +74792,7 @@ function requireClientsdkClientcore () {
|
|
|
74734
74792
|
this.id = event.s30_1;
|
|
74735
74793
|
this.timestamp = event.t30_1;
|
|
74736
74794
|
this.conversationId = event.u30_1;
|
|
74737
|
-
this.from =
|
|
74795
|
+
this.from = map_0(event.v30_1);
|
|
74738
74796
|
this.body = new MemberEventBodyJS(event.w30_1);
|
|
74739
74797
|
}
|
|
74740
74798
|
protoOf(MemberJoinedEventJS).ch = function () {
|
|
@@ -74749,10 +74807,10 @@ function requireClientsdkClientcore () {
|
|
|
74749
74807
|
protoOf(MemberJoinedEventJS).t2s = function () {
|
|
74750
74808
|
return this.conversationId;
|
|
74751
74809
|
};
|
|
74752
|
-
protoOf(MemberJoinedEventJS).
|
|
74810
|
+
protoOf(MemberJoinedEventJS).q3r = function () {
|
|
74753
74811
|
return this.from;
|
|
74754
74812
|
};
|
|
74755
|
-
protoOf(MemberJoinedEventJS).
|
|
74813
|
+
protoOf(MemberJoinedEventJS).r3r = function () {
|
|
74756
74814
|
return this.body;
|
|
74757
74815
|
};
|
|
74758
74816
|
function MemberLeftEventJS(event) {
|
|
@@ -74760,7 +74818,7 @@ function requireClientsdkClientcore () {
|
|
|
74760
74818
|
this.id = event.x30_1;
|
|
74761
74819
|
this.timestamp = event.y30_1;
|
|
74762
74820
|
this.conversationId = event.z30_1;
|
|
74763
|
-
this.from =
|
|
74821
|
+
this.from = map_0(event.a31_1);
|
|
74764
74822
|
this.body = new MemberEventBodyJS(event.b31_1);
|
|
74765
74823
|
}
|
|
74766
74824
|
protoOf(MemberLeftEventJS).ch = function () {
|
|
@@ -74775,10 +74833,10 @@ function requireClientsdkClientcore () {
|
|
|
74775
74833
|
protoOf(MemberLeftEventJS).t2s = function () {
|
|
74776
74834
|
return this.conversationId;
|
|
74777
74835
|
};
|
|
74778
|
-
protoOf(MemberLeftEventJS).
|
|
74836
|
+
protoOf(MemberLeftEventJS).q3r = function () {
|
|
74779
74837
|
return this.from;
|
|
74780
74838
|
};
|
|
74781
|
-
protoOf(MemberLeftEventJS).
|
|
74839
|
+
protoOf(MemberLeftEventJS).r3r = function () {
|
|
74782
74840
|
return this.body;
|
|
74783
74841
|
};
|
|
74784
74842
|
function JSONBodyEventJS() {
|
|
@@ -74788,7 +74846,7 @@ function requireClientsdkClientcore () {
|
|
|
74788
74846
|
this.id = event.c31_1;
|
|
74789
74847
|
this.timestamp = event.d31_1;
|
|
74790
74848
|
this.conversationId = event.e31_1;
|
|
74791
|
-
this.from =
|
|
74849
|
+
this.from = map_0(event.f31_1);
|
|
74792
74850
|
this.eventType = event.h31_1;
|
|
74793
74851
|
this.body = parseCustomJson(event.g31_1);
|
|
74794
74852
|
}
|
|
@@ -74804,20 +74862,20 @@ function requireClientsdkClientcore () {
|
|
|
74804
74862
|
protoOf(CustomConversationEventJS).t2s = function () {
|
|
74805
74863
|
return this.conversationId;
|
|
74806
74864
|
};
|
|
74807
|
-
protoOf(CustomConversationEventJS).
|
|
74865
|
+
protoOf(CustomConversationEventJS).q3r = function () {
|
|
74808
74866
|
return this.from;
|
|
74809
74867
|
};
|
|
74810
|
-
protoOf(CustomConversationEventJS).
|
|
74868
|
+
protoOf(CustomConversationEventJS).s3r = function () {
|
|
74811
74869
|
return this.eventType;
|
|
74812
74870
|
};
|
|
74813
|
-
protoOf(CustomConversationEventJS).
|
|
74871
|
+
protoOf(CustomConversationEventJS).r3r = function () {
|
|
74814
74872
|
return this.body;
|
|
74815
74873
|
};
|
|
74816
74874
|
function EphemeralConversationEventJS(event) {
|
|
74817
74875
|
this.kind = 'ephemeral';
|
|
74818
74876
|
this.timestamp = event.i31_1;
|
|
74819
74877
|
this.conversationId = event.j31_1;
|
|
74820
|
-
this.from =
|
|
74878
|
+
this.from = map_0(event.k31_1);
|
|
74821
74879
|
this.body = parseCustomJson(event.l31_1);
|
|
74822
74880
|
}
|
|
74823
74881
|
protoOf(EphemeralConversationEventJS).ch = function () {
|
|
@@ -74829,16 +74887,16 @@ function requireClientsdkClientcore () {
|
|
|
74829
74887
|
protoOf(EphemeralConversationEventJS).t2s = function () {
|
|
74830
74888
|
return this.conversationId;
|
|
74831
74889
|
};
|
|
74832
|
-
protoOf(EphemeralConversationEventJS).
|
|
74890
|
+
protoOf(EphemeralConversationEventJS).q3r = function () {
|
|
74833
74891
|
return this.from;
|
|
74834
74892
|
};
|
|
74835
|
-
protoOf(EphemeralConversationEventJS).
|
|
74893
|
+
protoOf(EphemeralConversationEventJS).r3r = function () {
|
|
74836
74894
|
return this.body;
|
|
74837
74895
|
};
|
|
74838
74896
|
function EventStateBodyJS(stateBody) {
|
|
74839
74897
|
this.eventId = stateBody.m31_1;
|
|
74840
74898
|
}
|
|
74841
|
-
protoOf(EventStateBodyJS).
|
|
74899
|
+
protoOf(EventStateBodyJS).t3r = function () {
|
|
74842
74900
|
return this.eventId;
|
|
74843
74901
|
};
|
|
74844
74902
|
function EventDeleteConversationEventJS(event) {
|
|
@@ -74846,7 +74904,7 @@ function requireClientsdkClientcore () {
|
|
|
74846
74904
|
this.id = event.n31_1;
|
|
74847
74905
|
this.timestamp = event.o31_1;
|
|
74848
74906
|
this.conversationId = event.p31_1;
|
|
74849
|
-
this.from =
|
|
74907
|
+
this.from = map_0(event.q31_1);
|
|
74850
74908
|
this.body = new EventStateBodyJS(event.r31_1);
|
|
74851
74909
|
}
|
|
74852
74910
|
protoOf(EventDeleteConversationEventJS).ch = function () {
|
|
@@ -74861,10 +74919,10 @@ function requireClientsdkClientcore () {
|
|
|
74861
74919
|
protoOf(EventDeleteConversationEventJS).t2s = function () {
|
|
74862
74920
|
return this.conversationId;
|
|
74863
74921
|
};
|
|
74864
|
-
protoOf(EventDeleteConversationEventJS).
|
|
74922
|
+
protoOf(EventDeleteConversationEventJS).q3r = function () {
|
|
74865
74923
|
return this.from;
|
|
74866
74924
|
};
|
|
74867
|
-
protoOf(EventDeleteConversationEventJS).
|
|
74925
|
+
protoOf(EventDeleteConversationEventJS).r3r = function () {
|
|
74868
74926
|
return this.body;
|
|
74869
74927
|
};
|
|
74870
74928
|
function MessageDeliveredEventJS(event) {
|
|
@@ -74872,7 +74930,7 @@ function requireClientsdkClientcore () {
|
|
|
74872
74930
|
this.id = event.s31_1;
|
|
74873
74931
|
this.timestamp = event.t31_1;
|
|
74874
74932
|
this.conversationId = event.u31_1;
|
|
74875
|
-
this.from =
|
|
74933
|
+
this.from = map_0(event.v31_1);
|
|
74876
74934
|
this.body = new EventStateBodyJS(event.w31_1);
|
|
74877
74935
|
}
|
|
74878
74936
|
protoOf(MessageDeliveredEventJS).ch = function () {
|
|
@@ -74887,10 +74945,10 @@ function requireClientsdkClientcore () {
|
|
|
74887
74945
|
protoOf(MessageDeliveredEventJS).t2s = function () {
|
|
74888
74946
|
return this.conversationId;
|
|
74889
74947
|
};
|
|
74890
|
-
protoOf(MessageDeliveredEventJS).
|
|
74948
|
+
protoOf(MessageDeliveredEventJS).q3r = function () {
|
|
74891
74949
|
return this.from;
|
|
74892
74950
|
};
|
|
74893
|
-
protoOf(MessageDeliveredEventJS).
|
|
74951
|
+
protoOf(MessageDeliveredEventJS).r3r = function () {
|
|
74894
74952
|
return this.body;
|
|
74895
74953
|
};
|
|
74896
74954
|
function MessageRejectedEventJS(event) {
|
|
@@ -74898,7 +74956,7 @@ function requireClientsdkClientcore () {
|
|
|
74898
74956
|
this.id = event.x31_1;
|
|
74899
74957
|
this.timestamp = event.y31_1;
|
|
74900
74958
|
this.conversationId = event.z31_1;
|
|
74901
|
-
this.from =
|
|
74959
|
+
this.from = map_0(event.a32_1);
|
|
74902
74960
|
this.body = new EventStateBodyJS(event.b32_1);
|
|
74903
74961
|
}
|
|
74904
74962
|
protoOf(MessageRejectedEventJS).ch = function () {
|
|
@@ -74913,10 +74971,10 @@ function requireClientsdkClientcore () {
|
|
|
74913
74971
|
protoOf(MessageRejectedEventJS).t2s = function () {
|
|
74914
74972
|
return this.conversationId;
|
|
74915
74973
|
};
|
|
74916
|
-
protoOf(MessageRejectedEventJS).
|
|
74974
|
+
protoOf(MessageRejectedEventJS).q3r = function () {
|
|
74917
74975
|
return this.from;
|
|
74918
74976
|
};
|
|
74919
|
-
protoOf(MessageRejectedEventJS).
|
|
74977
|
+
protoOf(MessageRejectedEventJS).r3r = function () {
|
|
74920
74978
|
return this.body;
|
|
74921
74979
|
};
|
|
74922
74980
|
function MessageUndeliverableEventJS(event) {
|
|
@@ -74924,7 +74982,7 @@ function requireClientsdkClientcore () {
|
|
|
74924
74982
|
this.id = event.c32_1;
|
|
74925
74983
|
this.timestamp = event.d32_1;
|
|
74926
74984
|
this.conversationId = event.e32_1;
|
|
74927
|
-
this.from =
|
|
74985
|
+
this.from = map_0(event.f32_1);
|
|
74928
74986
|
this.body = new EventStateBodyJS(event.g32_1);
|
|
74929
74987
|
}
|
|
74930
74988
|
protoOf(MessageUndeliverableEventJS).ch = function () {
|
|
@@ -74939,10 +74997,10 @@ function requireClientsdkClientcore () {
|
|
|
74939
74997
|
protoOf(MessageUndeliverableEventJS).t2s = function () {
|
|
74940
74998
|
return this.conversationId;
|
|
74941
74999
|
};
|
|
74942
|
-
protoOf(MessageUndeliverableEventJS).
|
|
75000
|
+
protoOf(MessageUndeliverableEventJS).q3r = function () {
|
|
74943
75001
|
return this.from;
|
|
74944
75002
|
};
|
|
74945
|
-
protoOf(MessageUndeliverableEventJS).
|
|
75003
|
+
protoOf(MessageUndeliverableEventJS).r3r = function () {
|
|
74946
75004
|
return this.body;
|
|
74947
75005
|
};
|
|
74948
75006
|
function MessageSubmittedEventJS(event) {
|
|
@@ -74950,7 +75008,7 @@ function requireClientsdkClientcore () {
|
|
|
74950
75008
|
this.id = event.h32_1;
|
|
74951
75009
|
this.timestamp = event.i32_1;
|
|
74952
75010
|
this.conversationId = event.j32_1;
|
|
74953
|
-
this.from =
|
|
75011
|
+
this.from = map_0(event.k32_1);
|
|
74954
75012
|
this.body = new EventStateBodyJS(event.l32_1);
|
|
74955
75013
|
}
|
|
74956
75014
|
protoOf(MessageSubmittedEventJS).ch = function () {
|
|
@@ -74965,10 +75023,10 @@ function requireClientsdkClientcore () {
|
|
|
74965
75023
|
protoOf(MessageSubmittedEventJS).t2s = function () {
|
|
74966
75024
|
return this.conversationId;
|
|
74967
75025
|
};
|
|
74968
|
-
protoOf(MessageSubmittedEventJS).
|
|
75026
|
+
protoOf(MessageSubmittedEventJS).q3r = function () {
|
|
74969
75027
|
return this.from;
|
|
74970
75028
|
};
|
|
74971
|
-
protoOf(MessageSubmittedEventJS).
|
|
75029
|
+
protoOf(MessageSubmittedEventJS).r3r = function () {
|
|
74972
75030
|
return this.body;
|
|
74973
75031
|
};
|
|
74974
75032
|
function MessageSeenEventJS(event) {
|
|
@@ -74976,7 +75034,7 @@ function requireClientsdkClientcore () {
|
|
|
74976
75034
|
this.id = event.m32_1;
|
|
74977
75035
|
this.timestamp = event.n32_1;
|
|
74978
75036
|
this.conversationId = event.o32_1;
|
|
74979
|
-
this.from =
|
|
75037
|
+
this.from = map_0(event.p32_1);
|
|
74980
75038
|
this.body = new EventStateBodyJS(event.q32_1);
|
|
74981
75039
|
}
|
|
74982
75040
|
protoOf(MessageSeenEventJS).ch = function () {
|
|
@@ -74991,13 +75049,13 @@ function requireClientsdkClientcore () {
|
|
|
74991
75049
|
protoOf(MessageSeenEventJS).t2s = function () {
|
|
74992
75050
|
return this.conversationId;
|
|
74993
75051
|
};
|
|
74994
|
-
protoOf(MessageSeenEventJS).
|
|
75052
|
+
protoOf(MessageSeenEventJS).q3r = function () {
|
|
74995
75053
|
return this.from;
|
|
74996
75054
|
};
|
|
74997
|
-
protoOf(MessageSeenEventJS).
|
|
75055
|
+
protoOf(MessageSeenEventJS).r3r = function () {
|
|
74998
75056
|
return this.body;
|
|
74999
75057
|
};
|
|
75000
|
-
function
|
|
75058
|
+
function map_0(_this__u8e3s4) {
|
|
75001
75059
|
var tmp;
|
|
75002
75060
|
if (_this__u8e3s4 instanceof EmbeddedInfo) {
|
|
75003
75061
|
tmp = new EmbeddedInfoJS(_this__u8e3s4);
|
|
@@ -75010,10 +75068,10 @@ function requireClientsdkClientcore () {
|
|
|
75010
75068
|
}
|
|
75011
75069
|
return tmp;
|
|
75012
75070
|
}
|
|
75013
|
-
function
|
|
75071
|
+
function map_1(_this__u8e3s4) {
|
|
75014
75072
|
var tmp;
|
|
75015
75073
|
if (isInterface(_this__u8e3s4, PersistentConversationEvent)) {
|
|
75016
|
-
tmp =
|
|
75074
|
+
tmp = map_2(_this__u8e3s4);
|
|
75017
75075
|
} else {
|
|
75018
75076
|
if (_this__u8e3s4 instanceof EphemeralConversationEvent) {
|
|
75019
75077
|
tmp = new EphemeralConversationEventJS(_this__u8e3s4);
|
|
@@ -75023,7 +75081,7 @@ function requireClientsdkClientcore () {
|
|
|
75023
75081
|
}
|
|
75024
75082
|
return tmp;
|
|
75025
75083
|
}
|
|
75026
|
-
function
|
|
75084
|
+
function map_2(_this__u8e3s4) {
|
|
75027
75085
|
var tmp;
|
|
75028
75086
|
if (_this__u8e3s4 instanceof MemberInvitedConversationEvent) {
|
|
75029
75087
|
tmp = new MemberInvitedEventJS(_this__u8e3s4);
|
|
@@ -75136,10 +75194,10 @@ function requireClientsdkClientcore () {
|
|
|
75136
75194
|
this.text = body.a34_1;
|
|
75137
75195
|
this.deleted = body.b34_1;
|
|
75138
75196
|
}
|
|
75139
|
-
protoOf(MessageTextEventBody).
|
|
75197
|
+
protoOf(MessageTextEventBody).u3r = function () {
|
|
75140
75198
|
return this.text;
|
|
75141
75199
|
};
|
|
75142
|
-
protoOf(MessageTextEventBody).
|
|
75200
|
+
protoOf(MessageTextEventBody).v3r = function () {
|
|
75143
75201
|
return this.deleted;
|
|
75144
75202
|
};
|
|
75145
75203
|
function MessageTextEventJS(event) {
|
|
@@ -75147,7 +75205,7 @@ function requireClientsdkClientcore () {
|
|
|
75147
75205
|
this.id = event.e34_1;
|
|
75148
75206
|
this.timestamp = event.c34_1;
|
|
75149
75207
|
this.conversationId = event.d34_1;
|
|
75150
|
-
this.from =
|
|
75208
|
+
this.from = map_0(event.f34_1);
|
|
75151
75209
|
this.body = new MessageTextEventBody(event.g34_1);
|
|
75152
75210
|
var tmp = this;
|
|
75153
75211
|
var tmp0_safe_receiver = event.h34_1;
|
|
@@ -75185,23 +75243,23 @@ function requireClientsdkClientcore () {
|
|
|
75185
75243
|
protoOf(MessageTextEventJS).t2s = function () {
|
|
75186
75244
|
return this.conversationId;
|
|
75187
75245
|
};
|
|
75188
|
-
protoOf(MessageTextEventJS).
|
|
75246
|
+
protoOf(MessageTextEventJS).q3r = function () {
|
|
75189
75247
|
return this.from;
|
|
75190
75248
|
};
|
|
75191
|
-
protoOf(MessageTextEventJS).
|
|
75249
|
+
protoOf(MessageTextEventJS).r3r = function () {
|
|
75192
75250
|
return this.body;
|
|
75193
75251
|
};
|
|
75194
|
-
protoOf(MessageTextEventJS).
|
|
75252
|
+
protoOf(MessageTextEventJS).w3r = function () {
|
|
75195
75253
|
return this.memberStatuses;
|
|
75196
75254
|
};
|
|
75197
75255
|
function MessageCustomEventBody(body) {
|
|
75198
75256
|
this.customData = parseCustomJson(body.i34_1);
|
|
75199
75257
|
this.deleted = body.j34_1;
|
|
75200
75258
|
}
|
|
75201
|
-
protoOf(MessageCustomEventBody).
|
|
75259
|
+
protoOf(MessageCustomEventBody).x3r = function () {
|
|
75202
75260
|
return this.customData;
|
|
75203
75261
|
};
|
|
75204
|
-
protoOf(MessageCustomEventBody).
|
|
75262
|
+
protoOf(MessageCustomEventBody).v3r = function () {
|
|
75205
75263
|
return this.deleted;
|
|
75206
75264
|
};
|
|
75207
75265
|
function MessageCustomEventJS(event) {
|
|
@@ -75209,7 +75267,7 @@ function requireClientsdkClientcore () {
|
|
|
75209
75267
|
this.id = event.m34_1;
|
|
75210
75268
|
this.timestamp = event.k34_1;
|
|
75211
75269
|
this.conversationId = event.l34_1;
|
|
75212
|
-
this.from =
|
|
75270
|
+
this.from = map_0(event.n34_1);
|
|
75213
75271
|
this.body = new MessageCustomEventBody(event.o34_1);
|
|
75214
75272
|
var tmp = this;
|
|
75215
75273
|
var tmp0_safe_receiver = event.p34_1;
|
|
@@ -75247,23 +75305,23 @@ function requireClientsdkClientcore () {
|
|
|
75247
75305
|
protoOf(MessageCustomEventJS).t2s = function () {
|
|
75248
75306
|
return this.conversationId;
|
|
75249
75307
|
};
|
|
75250
|
-
protoOf(MessageCustomEventJS).
|
|
75308
|
+
protoOf(MessageCustomEventJS).q3r = function () {
|
|
75251
75309
|
return this.from;
|
|
75252
75310
|
};
|
|
75253
|
-
protoOf(MessageCustomEventJS).
|
|
75311
|
+
protoOf(MessageCustomEventJS).r3r = function () {
|
|
75254
75312
|
return this.body;
|
|
75255
75313
|
};
|
|
75256
|
-
protoOf(MessageCustomEventJS).
|
|
75314
|
+
protoOf(MessageCustomEventJS).w3r = function () {
|
|
75257
75315
|
return this.memberStatuses;
|
|
75258
75316
|
};
|
|
75259
75317
|
function MessageAudioEventBody(body) {
|
|
75260
75318
|
this.audioUrl = body.g35_1;
|
|
75261
75319
|
this.deleted = body.h35_1;
|
|
75262
75320
|
}
|
|
75263
|
-
protoOf(MessageAudioEventBody).
|
|
75321
|
+
protoOf(MessageAudioEventBody).y3r = function () {
|
|
75264
75322
|
return this.audioUrl;
|
|
75265
75323
|
};
|
|
75266
|
-
protoOf(MessageAudioEventBody).
|
|
75324
|
+
protoOf(MessageAudioEventBody).v3r = function () {
|
|
75267
75325
|
return this.deleted;
|
|
75268
75326
|
};
|
|
75269
75327
|
function MessageAudioEventJS(event) {
|
|
@@ -75271,7 +75329,7 @@ function requireClientsdkClientcore () {
|
|
|
75271
75329
|
this.id = event.k35_1;
|
|
75272
75330
|
this.timestamp = event.i35_1;
|
|
75273
75331
|
this.conversationId = event.j35_1;
|
|
75274
|
-
this.from =
|
|
75332
|
+
this.from = map_0(event.l35_1);
|
|
75275
75333
|
this.body = new MessageAudioEventBody(event.m35_1);
|
|
75276
75334
|
var tmp = this;
|
|
75277
75335
|
var tmp0_safe_receiver = event.n35_1;
|
|
@@ -75309,23 +75367,23 @@ function requireClientsdkClientcore () {
|
|
|
75309
75367
|
protoOf(MessageAudioEventJS).t2s = function () {
|
|
75310
75368
|
return this.conversationId;
|
|
75311
75369
|
};
|
|
75312
|
-
protoOf(MessageAudioEventJS).
|
|
75370
|
+
protoOf(MessageAudioEventJS).q3r = function () {
|
|
75313
75371
|
return this.from;
|
|
75314
75372
|
};
|
|
75315
|
-
protoOf(MessageAudioEventJS).
|
|
75373
|
+
protoOf(MessageAudioEventJS).r3r = function () {
|
|
75316
75374
|
return this.body;
|
|
75317
75375
|
};
|
|
75318
|
-
protoOf(MessageAudioEventJS).
|
|
75376
|
+
protoOf(MessageAudioEventJS).w3r = function () {
|
|
75319
75377
|
return this.memberStatuses;
|
|
75320
75378
|
};
|
|
75321
75379
|
function MessageVideoEventBody(body) {
|
|
75322
75380
|
this.videoUrl = body.y34_1;
|
|
75323
75381
|
this.deleted = body.z34_1;
|
|
75324
75382
|
}
|
|
75325
|
-
protoOf(MessageVideoEventBody).
|
|
75383
|
+
protoOf(MessageVideoEventBody).z3r = function () {
|
|
75326
75384
|
return this.videoUrl;
|
|
75327
75385
|
};
|
|
75328
|
-
protoOf(MessageVideoEventBody).
|
|
75386
|
+
protoOf(MessageVideoEventBody).v3r = function () {
|
|
75329
75387
|
return this.deleted;
|
|
75330
75388
|
};
|
|
75331
75389
|
function MessageVideoEventJS(event) {
|
|
@@ -75333,7 +75391,7 @@ function requireClientsdkClientcore () {
|
|
|
75333
75391
|
this.id = event.c35_1;
|
|
75334
75392
|
this.timestamp = event.a35_1;
|
|
75335
75393
|
this.conversationId = event.b35_1;
|
|
75336
|
-
this.from =
|
|
75394
|
+
this.from = map_0(event.d35_1);
|
|
75337
75395
|
this.body = new MessageVideoEventBody(event.e35_1);
|
|
75338
75396
|
var tmp = this;
|
|
75339
75397
|
var tmp0_safe_receiver = event.f35_1;
|
|
@@ -75371,23 +75429,23 @@ function requireClientsdkClientcore () {
|
|
|
75371
75429
|
protoOf(MessageVideoEventJS).t2s = function () {
|
|
75372
75430
|
return this.conversationId;
|
|
75373
75431
|
};
|
|
75374
|
-
protoOf(MessageVideoEventJS).
|
|
75432
|
+
protoOf(MessageVideoEventJS).q3r = function () {
|
|
75375
75433
|
return this.from;
|
|
75376
75434
|
};
|
|
75377
|
-
protoOf(MessageVideoEventJS).
|
|
75435
|
+
protoOf(MessageVideoEventJS).r3r = function () {
|
|
75378
75436
|
return this.body;
|
|
75379
75437
|
};
|
|
75380
|
-
protoOf(MessageVideoEventJS).
|
|
75438
|
+
protoOf(MessageVideoEventJS).w3r = function () {
|
|
75381
75439
|
return this.memberStatuses;
|
|
75382
75440
|
};
|
|
75383
75441
|
function MessageImageEventBody(body) {
|
|
75384
75442
|
this.imageUrl = body.q34_1;
|
|
75385
75443
|
this.deleted = body.r34_1;
|
|
75386
75444
|
}
|
|
75387
|
-
protoOf(MessageImageEventBody).
|
|
75445
|
+
protoOf(MessageImageEventBody).a3s = function () {
|
|
75388
75446
|
return this.imageUrl;
|
|
75389
75447
|
};
|
|
75390
|
-
protoOf(MessageImageEventBody).
|
|
75448
|
+
protoOf(MessageImageEventBody).v3r = function () {
|
|
75391
75449
|
return this.deleted;
|
|
75392
75450
|
};
|
|
75393
75451
|
function MessageImageEventJS(event) {
|
|
@@ -75395,7 +75453,7 @@ function requireClientsdkClientcore () {
|
|
|
75395
75453
|
this.id = event.u34_1;
|
|
75396
75454
|
this.timestamp = event.s34_1;
|
|
75397
75455
|
this.conversationId = event.t34_1;
|
|
75398
|
-
this.from =
|
|
75456
|
+
this.from = map_0(event.v34_1);
|
|
75399
75457
|
this.body = new MessageImageEventBody(event.w34_1);
|
|
75400
75458
|
var tmp = this;
|
|
75401
75459
|
var tmp0_safe_receiver = event.x34_1;
|
|
@@ -75433,23 +75491,23 @@ function requireClientsdkClientcore () {
|
|
|
75433
75491
|
protoOf(MessageImageEventJS).t2s = function () {
|
|
75434
75492
|
return this.conversationId;
|
|
75435
75493
|
};
|
|
75436
|
-
protoOf(MessageImageEventJS).
|
|
75494
|
+
protoOf(MessageImageEventJS).q3r = function () {
|
|
75437
75495
|
return this.from;
|
|
75438
75496
|
};
|
|
75439
|
-
protoOf(MessageImageEventJS).
|
|
75497
|
+
protoOf(MessageImageEventJS).r3r = function () {
|
|
75440
75498
|
return this.body;
|
|
75441
75499
|
};
|
|
75442
|
-
protoOf(MessageImageEventJS).
|
|
75500
|
+
protoOf(MessageImageEventJS).w3r = function () {
|
|
75443
75501
|
return this.memberStatuses;
|
|
75444
75502
|
};
|
|
75445
75503
|
function MessageFileEventBody(body) {
|
|
75446
75504
|
this.fileUrl = body.o35_1;
|
|
75447
75505
|
this.deleted = body.p35_1;
|
|
75448
75506
|
}
|
|
75449
|
-
protoOf(MessageFileEventBody).
|
|
75507
|
+
protoOf(MessageFileEventBody).b3s = function () {
|
|
75450
75508
|
return this.fileUrl;
|
|
75451
75509
|
};
|
|
75452
|
-
protoOf(MessageFileEventBody).
|
|
75510
|
+
protoOf(MessageFileEventBody).v3r = function () {
|
|
75453
75511
|
return this.deleted;
|
|
75454
75512
|
};
|
|
75455
75513
|
function MessageFileEventJS(event) {
|
|
@@ -75457,7 +75515,7 @@ function requireClientsdkClientcore () {
|
|
|
75457
75515
|
this.id = event.s35_1;
|
|
75458
75516
|
this.timestamp = event.q35_1;
|
|
75459
75517
|
this.conversationId = event.r35_1;
|
|
75460
|
-
this.from =
|
|
75518
|
+
this.from = map_0(event.t35_1);
|
|
75461
75519
|
this.body = new MessageFileEventBody(event.u35_1);
|
|
75462
75520
|
var tmp = this;
|
|
75463
75521
|
var tmp0_safe_receiver = event.v35_1;
|
|
@@ -75495,23 +75553,23 @@ function requireClientsdkClientcore () {
|
|
|
75495
75553
|
protoOf(MessageFileEventJS).t2s = function () {
|
|
75496
75554
|
return this.conversationId;
|
|
75497
75555
|
};
|
|
75498
|
-
protoOf(MessageFileEventJS).
|
|
75556
|
+
protoOf(MessageFileEventJS).q3r = function () {
|
|
75499
75557
|
return this.from;
|
|
75500
75558
|
};
|
|
75501
|
-
protoOf(MessageFileEventJS).
|
|
75559
|
+
protoOf(MessageFileEventJS).r3r = function () {
|
|
75502
75560
|
return this.body;
|
|
75503
75561
|
};
|
|
75504
|
-
protoOf(MessageFileEventJS).
|
|
75562
|
+
protoOf(MessageFileEventJS).w3r = function () {
|
|
75505
75563
|
return this.memberStatuses;
|
|
75506
75564
|
};
|
|
75507
75565
|
function MessageVCardEventBody(body) {
|
|
75508
75566
|
this.vcardUrl = body.w35_1;
|
|
75509
75567
|
this.deleted = body.x35_1;
|
|
75510
75568
|
}
|
|
75511
|
-
protoOf(MessageVCardEventBody).
|
|
75569
|
+
protoOf(MessageVCardEventBody).c3s = function () {
|
|
75512
75570
|
return this.vcardUrl;
|
|
75513
75571
|
};
|
|
75514
|
-
protoOf(MessageVCardEventBody).
|
|
75572
|
+
protoOf(MessageVCardEventBody).v3r = function () {
|
|
75515
75573
|
return this.deleted;
|
|
75516
75574
|
};
|
|
75517
75575
|
function MessageVCardEventJS(event) {
|
|
@@ -75519,7 +75577,7 @@ function requireClientsdkClientcore () {
|
|
|
75519
75577
|
this.id = event.a36_1;
|
|
75520
75578
|
this.timestamp = event.y35_1;
|
|
75521
75579
|
this.conversationId = event.z35_1;
|
|
75522
|
-
this.from =
|
|
75580
|
+
this.from = map_0(event.b36_1);
|
|
75523
75581
|
this.body = new MessageVCardEventBody(event.c36_1);
|
|
75524
75582
|
var tmp = this;
|
|
75525
75583
|
var tmp0_safe_receiver = event.d36_1;
|
|
@@ -75557,23 +75615,23 @@ function requireClientsdkClientcore () {
|
|
|
75557
75615
|
protoOf(MessageVCardEventJS).t2s = function () {
|
|
75558
75616
|
return this.conversationId;
|
|
75559
75617
|
};
|
|
75560
|
-
protoOf(MessageVCardEventJS).
|
|
75618
|
+
protoOf(MessageVCardEventJS).q3r = function () {
|
|
75561
75619
|
return this.from;
|
|
75562
75620
|
};
|
|
75563
|
-
protoOf(MessageVCardEventJS).
|
|
75621
|
+
protoOf(MessageVCardEventJS).r3r = function () {
|
|
75564
75622
|
return this.body;
|
|
75565
75623
|
};
|
|
75566
|
-
protoOf(MessageVCardEventJS).
|
|
75624
|
+
protoOf(MessageVCardEventJS).w3r = function () {
|
|
75567
75625
|
return this.memberStatuses;
|
|
75568
75626
|
};
|
|
75569
75627
|
function MessageLocationEventBody(body) {
|
|
75570
75628
|
this.location = new Location_0(body.n36_1);
|
|
75571
75629
|
this.deleted = body.o36_1;
|
|
75572
75630
|
}
|
|
75573
|
-
protoOf(MessageLocationEventBody).
|
|
75631
|
+
protoOf(MessageLocationEventBody).d3s = function () {
|
|
75574
75632
|
return this.location;
|
|
75575
75633
|
};
|
|
75576
|
-
protoOf(MessageLocationEventBody).
|
|
75634
|
+
protoOf(MessageLocationEventBody).v3r = function () {
|
|
75577
75635
|
return this.deleted;
|
|
75578
75636
|
};
|
|
75579
75637
|
function Location_0(location) {
|
|
@@ -75582,16 +75640,16 @@ function requireClientsdkClientcore () {
|
|
|
75582
75640
|
this.name = location.p2l_1;
|
|
75583
75641
|
this.address = location.q2l_1;
|
|
75584
75642
|
}
|
|
75585
|
-
protoOf(Location_0).
|
|
75643
|
+
protoOf(Location_0).e3s = function () {
|
|
75586
75644
|
return this.longitude;
|
|
75587
75645
|
};
|
|
75588
|
-
protoOf(Location_0).
|
|
75646
|
+
protoOf(Location_0).f3s = function () {
|
|
75589
75647
|
return this.latitude;
|
|
75590
75648
|
};
|
|
75591
75649
|
protoOf(Location_0).a9 = function () {
|
|
75592
75650
|
return this.name;
|
|
75593
75651
|
};
|
|
75594
|
-
protoOf(Location_0).
|
|
75652
|
+
protoOf(Location_0).g3s = function () {
|
|
75595
75653
|
return this.address;
|
|
75596
75654
|
};
|
|
75597
75655
|
function MessageLocationEventJS(event) {
|
|
@@ -75599,7 +75657,7 @@ function requireClientsdkClientcore () {
|
|
|
75599
75657
|
this.id = event.r36_1;
|
|
75600
75658
|
this.timestamp = event.p36_1;
|
|
75601
75659
|
this.conversationId = event.q36_1;
|
|
75602
|
-
this.from =
|
|
75660
|
+
this.from = map_0(event.s36_1);
|
|
75603
75661
|
this.body = new MessageLocationEventBody(event.t36_1);
|
|
75604
75662
|
var tmp = this;
|
|
75605
75663
|
var tmp0_safe_receiver = event.u36_1;
|
|
@@ -75637,13 +75695,13 @@ function requireClientsdkClientcore () {
|
|
|
75637
75695
|
protoOf(MessageLocationEventJS).t2s = function () {
|
|
75638
75696
|
return this.conversationId;
|
|
75639
75697
|
};
|
|
75640
|
-
protoOf(MessageLocationEventJS).
|
|
75698
|
+
protoOf(MessageLocationEventJS).q3r = function () {
|
|
75641
75699
|
return this.from;
|
|
75642
75700
|
};
|
|
75643
|
-
protoOf(MessageLocationEventJS).
|
|
75701
|
+
protoOf(MessageLocationEventJS).r3r = function () {
|
|
75644
75702
|
return this.body;
|
|
75645
75703
|
};
|
|
75646
|
-
protoOf(MessageLocationEventJS).
|
|
75704
|
+
protoOf(MessageLocationEventJS).w3r = function () {
|
|
75647
75705
|
return this.memberStatuses;
|
|
75648
75706
|
};
|
|
75649
75707
|
function MessageTemplateEventBody(body) {
|
|
@@ -75652,27 +75710,27 @@ function requireClientsdkClientcore () {
|
|
|
75652
75710
|
this.whatsapp = new WhatsappObject_0(this.body.f36_1);
|
|
75653
75711
|
this.deleted = this.body.g36_1;
|
|
75654
75712
|
}
|
|
75655
|
-
protoOf(MessageTemplateEventBody).
|
|
75713
|
+
protoOf(MessageTemplateEventBody).r3r = function () {
|
|
75656
75714
|
return this.body;
|
|
75657
75715
|
};
|
|
75658
|
-
protoOf(MessageTemplateEventBody).
|
|
75716
|
+
protoOf(MessageTemplateEventBody).h3s = function () {
|
|
75659
75717
|
return this.template;
|
|
75660
75718
|
};
|
|
75661
|
-
protoOf(MessageTemplateEventBody).
|
|
75719
|
+
protoOf(MessageTemplateEventBody).i3s = function () {
|
|
75662
75720
|
return this.whatsapp;
|
|
75663
75721
|
};
|
|
75664
|
-
protoOf(MessageTemplateEventBody).
|
|
75722
|
+
protoOf(MessageTemplateEventBody).v3r = function () {
|
|
75665
75723
|
return this.deleted;
|
|
75666
75724
|
};
|
|
75667
75725
|
protoOf(MessageTemplateEventBody).o5 = function () {
|
|
75668
75726
|
return this.body;
|
|
75669
75727
|
};
|
|
75670
|
-
protoOf(MessageTemplateEventBody).
|
|
75728
|
+
protoOf(MessageTemplateEventBody).j3s = function (body) {
|
|
75671
75729
|
return new MessageTemplateEventBody(body);
|
|
75672
75730
|
};
|
|
75673
75731
|
protoOf(MessageTemplateEventBody).copy = function (body, $super) {
|
|
75674
75732
|
body = body === VOID ? this.body : body;
|
|
75675
|
-
return this.
|
|
75733
|
+
return this.j3s(body);
|
|
75676
75734
|
};
|
|
75677
75735
|
protoOf(MessageTemplateEventBody).toString = function () {
|
|
75678
75736
|
return 'Body(body=' + this.body + ')';
|
|
@@ -75706,17 +75764,17 @@ function requireClientsdkClientcore () {
|
|
|
75706
75764
|
protoOf(TemplateObject_0).a9 = function () {
|
|
75707
75765
|
return this.name;
|
|
75708
75766
|
};
|
|
75709
|
-
protoOf(TemplateObject_0).
|
|
75767
|
+
protoOf(TemplateObject_0).k3s = function () {
|
|
75710
75768
|
return this.parameters;
|
|
75711
75769
|
};
|
|
75712
75770
|
function WhatsappObject_0(whatsapp) {
|
|
75713
75771
|
this.policy = whatsapp.j2l_1;
|
|
75714
75772
|
this.locale = whatsapp.k2l_1;
|
|
75715
75773
|
}
|
|
75716
|
-
protoOf(WhatsappObject_0).
|
|
75774
|
+
protoOf(WhatsappObject_0).l3s = function () {
|
|
75717
75775
|
return this.policy;
|
|
75718
75776
|
};
|
|
75719
|
-
protoOf(WhatsappObject_0).
|
|
75777
|
+
protoOf(WhatsappObject_0).m3s = function () {
|
|
75720
75778
|
return this.locale;
|
|
75721
75779
|
};
|
|
75722
75780
|
function MessageTemplateEventJS(event) {
|
|
@@ -75724,7 +75782,7 @@ function requireClientsdkClientcore () {
|
|
|
75724
75782
|
this.id = event.j36_1;
|
|
75725
75783
|
this.timestamp = event.h36_1;
|
|
75726
75784
|
this.conversationId = event.i36_1;
|
|
75727
|
-
this.from =
|
|
75785
|
+
this.from = map_0(event.k36_1);
|
|
75728
75786
|
var tmp = this;
|
|
75729
75787
|
var tmp0_safe_receiver = event.m36_1;
|
|
75730
75788
|
var tmp_0;
|
|
@@ -75762,13 +75820,13 @@ function requireClientsdkClientcore () {
|
|
|
75762
75820
|
protoOf(MessageTemplateEventJS).t2s = function () {
|
|
75763
75821
|
return this.conversationId;
|
|
75764
75822
|
};
|
|
75765
|
-
protoOf(MessageTemplateEventJS).
|
|
75823
|
+
protoOf(MessageTemplateEventJS).q3r = function () {
|
|
75766
75824
|
return this.from;
|
|
75767
75825
|
};
|
|
75768
|
-
protoOf(MessageTemplateEventJS).
|
|
75826
|
+
protoOf(MessageTemplateEventJS).n3s = function () {
|
|
75769
75827
|
return this.memberStatus;
|
|
75770
75828
|
};
|
|
75771
|
-
protoOf(MessageTemplateEventJS).
|
|
75829
|
+
protoOf(MessageTemplateEventJS).r3r = function () {
|
|
75772
75830
|
return this.body;
|
|
75773
75831
|
};
|
|
75774
75832
|
var PresentingOrderJS_ASC_instance;
|
|
@@ -75800,7 +75858,7 @@ function requireClientsdkClientcore () {
|
|
|
75800
75858
|
Enum.call(this, name, ordinal);
|
|
75801
75859
|
this.corePresentingOrder = corePresentingOrder;
|
|
75802
75860
|
}
|
|
75803
|
-
protoOf(PresentingOrderJS).
|
|
75861
|
+
protoOf(PresentingOrderJS).q3s = function () {
|
|
75804
75862
|
return this.corePresentingOrder;
|
|
75805
75863
|
};
|
|
75806
75864
|
var OrderByJS_CREATED_instance;
|
|
@@ -75832,7 +75890,7 @@ function requireClientsdkClientcore () {
|
|
|
75832
75890
|
Enum.call(this, name, ordinal);
|
|
75833
75891
|
this.coreOrderBy = coreOrderBy;
|
|
75834
75892
|
}
|
|
75835
|
-
protoOf(OrderByJS).
|
|
75893
|
+
protoOf(OrderByJS).t3s = function () {
|
|
75836
75894
|
return this.coreOrderBy;
|
|
75837
75895
|
};
|
|
75838
75896
|
function Properties(properties) {
|
|
@@ -75853,13 +75911,13 @@ function requireClientsdkClientcore () {
|
|
|
75853
75911
|
}
|
|
75854
75912
|
tmp_1.customData = tmp_2;
|
|
75855
75913
|
}
|
|
75856
|
-
protoOf(Properties).
|
|
75914
|
+
protoOf(Properties).u3s = function () {
|
|
75857
75915
|
return this.ttl;
|
|
75858
75916
|
};
|
|
75859
|
-
protoOf(Properties).
|
|
75917
|
+
protoOf(Properties).v3s = function () {
|
|
75860
75918
|
return this.customSortKey;
|
|
75861
75919
|
};
|
|
75862
|
-
protoOf(Properties).
|
|
75920
|
+
protoOf(Properties).x3r = function () {
|
|
75863
75921
|
return this.customData;
|
|
75864
75922
|
};
|
|
75865
75923
|
function ConversationJS(conversation) {
|
|
@@ -75869,12 +75927,12 @@ function requireClientsdkClientcore () {
|
|
|
75869
75927
|
this.memberId = conversation.m2z_1;
|
|
75870
75928
|
var tmp = this;
|
|
75871
75929
|
var tmp0_safe_receiver = conversation.n2z_1;
|
|
75872
|
-
tmp.memberState = tmp0_safe_receiver == null ? null :
|
|
75930
|
+
tmp.memberState = tmp0_safe_receiver == null ? null : map_4(tmp0_safe_receiver);
|
|
75873
75931
|
this.displayName = conversation.o2z_1;
|
|
75874
75932
|
this.imageUrl = conversation.p2z_1;
|
|
75875
75933
|
var tmp_0 = this;
|
|
75876
75934
|
var tmp0_safe_receiver_0 = conversation.q2z_1;
|
|
75877
|
-
tmp_0.state = tmp0_safe_receiver_0 == null ? null :
|
|
75935
|
+
tmp_0.state = tmp0_safe_receiver_0 == null ? null : map_3(tmp0_safe_receiver_0);
|
|
75878
75936
|
this.properties = new Properties(conversation.r2z_1);
|
|
75879
75937
|
}
|
|
75880
75938
|
protoOf(ConversationJS).y26 = function () {
|
|
@@ -75886,16 +75944,16 @@ function requireClientsdkClientcore () {
|
|
|
75886
75944
|
protoOf(ConversationJS).n2k = function () {
|
|
75887
75945
|
return this.timestamp;
|
|
75888
75946
|
};
|
|
75889
|
-
protoOf(ConversationJS).
|
|
75947
|
+
protoOf(ConversationJS).p3r = function () {
|
|
75890
75948
|
return this.memberId;
|
|
75891
75949
|
};
|
|
75892
|
-
protoOf(ConversationJS).
|
|
75950
|
+
protoOf(ConversationJS).w3s = function () {
|
|
75893
75951
|
return this.memberState;
|
|
75894
75952
|
};
|
|
75895
|
-
protoOf(ConversationJS).
|
|
75953
|
+
protoOf(ConversationJS).x3s = function () {
|
|
75896
75954
|
return this.displayName;
|
|
75897
75955
|
};
|
|
75898
|
-
protoOf(ConversationJS).
|
|
75956
|
+
protoOf(ConversationJS).a3s = function () {
|
|
75899
75957
|
return this.imageUrl;
|
|
75900
75958
|
};
|
|
75901
75959
|
protoOf(ConversationJS).l3m = function () {
|
|
@@ -75909,13 +75967,13 @@ function requireClientsdkClientcore () {
|
|
|
75909
75967
|
this.INACTIVE = 'INACTIVE';
|
|
75910
75968
|
this.DELETED = 'DELETED';
|
|
75911
75969
|
}
|
|
75912
|
-
protoOf(ConversationStateJS).
|
|
75970
|
+
protoOf(ConversationStateJS).y3s = function () {
|
|
75913
75971
|
return this.ACTIVE;
|
|
75914
75972
|
};
|
|
75915
|
-
protoOf(ConversationStateJS).
|
|
75973
|
+
protoOf(ConversationStateJS).z3s = function () {
|
|
75916
75974
|
return this.INACTIVE;
|
|
75917
75975
|
};
|
|
75918
|
-
protoOf(ConversationStateJS).
|
|
75976
|
+
protoOf(ConversationStateJS).a3t = function () {
|
|
75919
75977
|
return this.DELETED;
|
|
75920
75978
|
};
|
|
75921
75979
|
protoOf(ConversationStateJS).toString = function () {
|
|
@@ -75941,13 +75999,13 @@ function requireClientsdkClientcore () {
|
|
|
75941
75999
|
this.updated = conversationTimestamp.v2z_1;
|
|
75942
76000
|
this.destroyed = conversationTimestamp.w2z_1;
|
|
75943
76001
|
}
|
|
75944
|
-
protoOf(ConversationTimestampJS).
|
|
76002
|
+
protoOf(ConversationTimestampJS).b3t = function () {
|
|
75945
76003
|
return this.created;
|
|
75946
76004
|
};
|
|
75947
|
-
protoOf(ConversationTimestampJS).
|
|
76005
|
+
protoOf(ConversationTimestampJS).c3t = function () {
|
|
75948
76006
|
return this.updated;
|
|
75949
76007
|
};
|
|
75950
|
-
protoOf(ConversationTimestampJS).
|
|
76008
|
+
protoOf(ConversationTimestampJS).d3t = function () {
|
|
75951
76009
|
return this.destroyed;
|
|
75952
76010
|
};
|
|
75953
76011
|
function ConversationsPageJS(conversationsPage) {
|
|
@@ -75968,18 +76026,18 @@ function requireClientsdkClientcore () {
|
|
|
75968
76026
|
this.previousCursor = conversationsPage.y2z_1;
|
|
75969
76027
|
this.nextCursor = conversationsPage.z2z_1;
|
|
75970
76028
|
}
|
|
75971
|
-
protoOf(ConversationsPageJS).
|
|
76029
|
+
protoOf(ConversationsPageJS).e3t = function () {
|
|
75972
76030
|
return this.conversations;
|
|
75973
76031
|
};
|
|
75974
|
-
protoOf(ConversationsPageJS).
|
|
76032
|
+
protoOf(ConversationsPageJS).n3r = function () {
|
|
75975
76033
|
return this.previousCursor;
|
|
75976
76034
|
};
|
|
75977
|
-
protoOf(ConversationsPageJS).
|
|
76035
|
+
protoOf(ConversationsPageJS).o3r = function () {
|
|
75978
76036
|
return this.nextCursor;
|
|
75979
76037
|
};
|
|
75980
76038
|
function MemberJS(member) {
|
|
75981
76039
|
this.id = member.n33_1;
|
|
75982
|
-
this.state =
|
|
76040
|
+
this.state = map_4(member.o33_1);
|
|
75983
76041
|
var tmp = this;
|
|
75984
76042
|
var tmp0_safe_receiver = member.p33_1;
|
|
75985
76043
|
var tmp_0;
|
|
@@ -76026,7 +76084,7 @@ function requireClientsdkClientcore () {
|
|
|
76026
76084
|
protoOf(MemberJS).q2m = function () {
|
|
76027
76085
|
return this.user;
|
|
76028
76086
|
};
|
|
76029
|
-
protoOf(MemberJS).
|
|
76087
|
+
protoOf(MemberJS).f3t = function () {
|
|
76030
76088
|
return this.channel;
|
|
76031
76089
|
};
|
|
76032
76090
|
protoOf(MemberJS).n2k = function () {
|
|
@@ -76038,16 +76096,16 @@ function requireClientsdkClientcore () {
|
|
|
76038
76096
|
this.LEFT = 'LEFT';
|
|
76039
76097
|
this.UNKNOWN = 'UNKNOWN';
|
|
76040
76098
|
}
|
|
76041
|
-
protoOf(MemberStateJSObj).
|
|
76099
|
+
protoOf(MemberStateJSObj).g3t = function () {
|
|
76042
76100
|
return this.INVITED;
|
|
76043
76101
|
};
|
|
76044
|
-
protoOf(MemberStateJSObj).
|
|
76102
|
+
protoOf(MemberStateJSObj).h3t = function () {
|
|
76045
76103
|
return this.JOINED;
|
|
76046
76104
|
};
|
|
76047
|
-
protoOf(MemberStateJSObj).
|
|
76105
|
+
protoOf(MemberStateJSObj).i3t = function () {
|
|
76048
76106
|
return this.LEFT;
|
|
76049
76107
|
};
|
|
76050
|
-
protoOf(MemberStateJSObj).
|
|
76108
|
+
protoOf(MemberStateJSObj).j3t = function () {
|
|
76051
76109
|
return this.UNKNOWN;
|
|
76052
76110
|
};
|
|
76053
76111
|
protoOf(MemberStateJSObj).toString = function () {
|
|
@@ -76073,13 +76131,13 @@ function requireClientsdkClientcore () {
|
|
|
76073
76131
|
this.joined = memberTimestamp.v33_1;
|
|
76074
76132
|
this.left = memberTimestamp.w33_1;
|
|
76075
76133
|
}
|
|
76076
|
-
protoOf(MemberTimestampJS).
|
|
76134
|
+
protoOf(MemberTimestampJS).k3t = function () {
|
|
76077
76135
|
return this.invited;
|
|
76078
76136
|
};
|
|
76079
|
-
protoOf(MemberTimestampJS).
|
|
76137
|
+
protoOf(MemberTimestampJS).l3t = function () {
|
|
76080
76138
|
return this.joined;
|
|
76081
76139
|
};
|
|
76082
|
-
protoOf(MemberTimestampJS).
|
|
76140
|
+
protoOf(MemberTimestampJS).m3t = function () {
|
|
76083
76141
|
return this.left;
|
|
76084
76142
|
};
|
|
76085
76143
|
function MembersPageJS(membersPage) {
|
|
@@ -76100,13 +76158,13 @@ function requireClientsdkClientcore () {
|
|
|
76100
76158
|
this.previousCursor = membersPage.y33_1;
|
|
76101
76159
|
this.nextCursor = membersPage.z33_1;
|
|
76102
76160
|
}
|
|
76103
|
-
protoOf(MembersPageJS).
|
|
76161
|
+
protoOf(MembersPageJS).n3t = function () {
|
|
76104
76162
|
return this.members;
|
|
76105
76163
|
};
|
|
76106
|
-
protoOf(MembersPageJS).
|
|
76164
|
+
protoOf(MembersPageJS).n3r = function () {
|
|
76107
76165
|
return this.previousCursor;
|
|
76108
76166
|
};
|
|
76109
|
-
protoOf(MembersPageJS).
|
|
76167
|
+
protoOf(MembersPageJS).o3r = function () {
|
|
76110
76168
|
return this.nextCursor;
|
|
76111
76169
|
};
|
|
76112
76170
|
function UserJS(user) {
|
|
@@ -76157,19 +76215,19 @@ function requireClientsdkClientcore () {
|
|
|
76157
76215
|
protoOf(UserJS).a9 = function () {
|
|
76158
76216
|
return this.name;
|
|
76159
76217
|
};
|
|
76160
|
-
protoOf(UserJS).
|
|
76218
|
+
protoOf(UserJS).x3s = function () {
|
|
76161
76219
|
return this.displayName;
|
|
76162
76220
|
};
|
|
76163
|
-
protoOf(UserJS).
|
|
76221
|
+
protoOf(UserJS).o3t = function () {
|
|
76164
76222
|
return this.channels;
|
|
76165
76223
|
};
|
|
76166
76224
|
protoOf(UserJS).n2k = function () {
|
|
76167
76225
|
return this.timestamp;
|
|
76168
76226
|
};
|
|
76169
|
-
protoOf(UserJS).
|
|
76227
|
+
protoOf(UserJS).a3s = function () {
|
|
76170
76228
|
return this.imageUrl;
|
|
76171
76229
|
};
|
|
76172
|
-
protoOf(UserJS).
|
|
76230
|
+
protoOf(UserJS).x3r = function () {
|
|
76173
76231
|
return this.customData;
|
|
76174
76232
|
};
|
|
76175
76233
|
function UserTimestampJS(userTimestamp) {
|
|
@@ -76177,13 +76235,13 @@ function requireClientsdkClientcore () {
|
|
|
76177
76235
|
this.updated = userTimestamp.k37_1;
|
|
76178
76236
|
this.destroyed = userTimestamp.l37_1;
|
|
76179
76237
|
}
|
|
76180
|
-
protoOf(UserTimestampJS).
|
|
76238
|
+
protoOf(UserTimestampJS).b3t = function () {
|
|
76181
76239
|
return this.created;
|
|
76182
76240
|
};
|
|
76183
|
-
protoOf(UserTimestampJS).
|
|
76241
|
+
protoOf(UserTimestampJS).c3t = function () {
|
|
76184
76242
|
return this.updated;
|
|
76185
76243
|
};
|
|
76186
|
-
protoOf(UserTimestampJS).
|
|
76244
|
+
protoOf(UserTimestampJS).d3t = function () {
|
|
76187
76245
|
return this.destroyed;
|
|
76188
76246
|
};
|
|
76189
76247
|
function UserChannelsJS(userChannels) {
|
|
@@ -76485,22 +76543,22 @@ function requireClientsdkClientcore () {
|
|
|
76485
76543
|
}
|
|
76486
76544
|
tmp_29.messenger = tmp_31;
|
|
76487
76545
|
}
|
|
76488
|
-
protoOf(UserChannelsJS).
|
|
76546
|
+
protoOf(UserChannelsJS).q3q = function () {
|
|
76489
76547
|
return this.app;
|
|
76490
76548
|
};
|
|
76491
|
-
protoOf(UserChannelsJS).
|
|
76549
|
+
protoOf(UserChannelsJS).r3q = function () {
|
|
76492
76550
|
return this.phone;
|
|
76493
76551
|
};
|
|
76494
|
-
protoOf(UserChannelsJS).
|
|
76552
|
+
protoOf(UserChannelsJS).p3t = function () {
|
|
76495
76553
|
return this.pstn;
|
|
76496
76554
|
};
|
|
76497
|
-
protoOf(UserChannelsJS).
|
|
76555
|
+
protoOf(UserChannelsJS).s3q = function () {
|
|
76498
76556
|
return this.sip;
|
|
76499
76557
|
};
|
|
76500
|
-
protoOf(UserChannelsJS).
|
|
76558
|
+
protoOf(UserChannelsJS).q3t = function () {
|
|
76501
76559
|
return this.vbc;
|
|
76502
76560
|
};
|
|
76503
|
-
protoOf(UserChannelsJS).
|
|
76561
|
+
protoOf(UserChannelsJS).t3q = function () {
|
|
76504
76562
|
return this.websocket;
|
|
76505
76563
|
};
|
|
76506
76564
|
protoOf(UserChannelsJS).r3t = function () {
|
|
@@ -76509,7 +76567,7 @@ function requireClientsdkClientcore () {
|
|
|
76509
76567
|
protoOf(UserChannelsJS).s3t = function () {
|
|
76510
76568
|
return this.mms;
|
|
76511
76569
|
};
|
|
76512
|
-
protoOf(UserChannelsJS).
|
|
76570
|
+
protoOf(UserChannelsJS).i3s = function () {
|
|
76513
76571
|
return this.whatsapp;
|
|
76514
76572
|
};
|
|
76515
76573
|
protoOf(UserChannelsJS).t3t = function () {
|
|
@@ -76519,7 +76577,7 @@ function requireClientsdkClientcore () {
|
|
|
76519
76577
|
return this.messenger;
|
|
76520
76578
|
};
|
|
76521
76579
|
function MemberChannelJS(memberChannel) {
|
|
76522
|
-
this.type =
|
|
76580
|
+
this.type = map_5(memberChannel.o2y_1);
|
|
76523
76581
|
var tmp = this;
|
|
76524
76582
|
var tmp0_safe_receiver = memberChannel.p2y_1;
|
|
76525
76583
|
var tmp_0;
|
|
@@ -76548,7 +76606,7 @@ function requireClientsdkClientcore () {
|
|
|
76548
76606
|
protoOf(MemberChannelJS).m3a = function () {
|
|
76549
76607
|
return this.type;
|
|
76550
76608
|
};
|
|
76551
|
-
protoOf(MemberChannelJS).
|
|
76609
|
+
protoOf(MemberChannelJS).q3r = function () {
|
|
76552
76610
|
return this.from;
|
|
76553
76611
|
};
|
|
76554
76612
|
protoOf(MemberChannelJS).v3t = function () {
|
|
@@ -76654,7 +76712,7 @@ function requireClientsdkClientcore () {
|
|
|
76654
76712
|
protoOf(LegJS).g3u = function () {
|
|
76655
76713
|
return this.endTime;
|
|
76656
76714
|
};
|
|
76657
|
-
protoOf(LegJS).
|
|
76715
|
+
protoOf(LegJS).q3r = function () {
|
|
76658
76716
|
return this.from;
|
|
76659
76717
|
};
|
|
76660
76718
|
protoOf(LegJS).v3t = function () {
|
|
@@ -76684,77 +76742,77 @@ function requireClientsdkClientcore () {
|
|
|
76684
76742
|
protoOf(LegsPageJS).i3u = function () {
|
|
76685
76743
|
return this.legs;
|
|
76686
76744
|
};
|
|
76687
|
-
protoOf(LegsPageJS).
|
|
76745
|
+
protoOf(LegsPageJS).n3r = function () {
|
|
76688
76746
|
return this.previousCursor;
|
|
76689
76747
|
};
|
|
76690
|
-
protoOf(LegsPageJS).
|
|
76748
|
+
protoOf(LegsPageJS).o3r = function () {
|
|
76691
76749
|
return this.nextCursor;
|
|
76692
76750
|
};
|
|
76693
|
-
|
|
76694
|
-
|
|
76695
|
-
|
|
76696
|
-
|
|
76697
|
-
|
|
76698
|
-
|
|
76699
|
-
|
|
76700
|
-
|
|
76701
|
-
|
|
76702
|
-
|
|
76703
|
-
|
|
76704
|
-
|
|
76705
|
-
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()];
|
|
76751
|
+
function ChannelTypeObj() {
|
|
76752
|
+
this.APP = 'APP';
|
|
76753
|
+
this.PHONE = 'PHONE';
|
|
76754
|
+
this.PSTN = 'PSTN';
|
|
76755
|
+
this.SIP = 'SIP';
|
|
76756
|
+
this.VBC = 'VBC';
|
|
76757
|
+
this.WEBSOCKET = 'WEBSOCKET';
|
|
76758
|
+
this.SMS = 'SMS';
|
|
76759
|
+
this.MMS = 'MMS';
|
|
76760
|
+
this.WHATSAPP = 'WHATSAPP';
|
|
76761
|
+
this.VIBER = 'VIBER';
|
|
76762
|
+
this.MESSENGER = 'MESSENGER';
|
|
76706
76763
|
}
|
|
76707
|
-
function
|
|
76708
|
-
|
|
76709
|
-
|
|
76710
|
-
|
|
76711
|
-
|
|
76712
|
-
|
|
76713
|
-
|
|
76714
|
-
|
|
76715
|
-
|
|
76716
|
-
|
|
76717
|
-
|
|
76718
|
-
|
|
76719
|
-
|
|
76720
|
-
|
|
76721
|
-
|
|
76722
|
-
|
|
76723
|
-
|
|
76724
|
-
|
|
76725
|
-
|
|
76726
|
-
|
|
76727
|
-
|
|
76728
|
-
|
|
76729
|
-
|
|
76730
|
-
|
|
76731
|
-
|
|
76732
|
-
|
|
76733
|
-
|
|
76734
|
-
|
|
76735
|
-
|
|
76736
|
-
}
|
|
76737
|
-
|
|
76738
|
-
|
|
76739
|
-
|
|
76740
|
-
|
|
76741
|
-
|
|
76742
|
-
|
|
76743
|
-
|
|
76744
|
-
|
|
76745
|
-
|
|
76746
|
-
|
|
76747
|
-
|
|
76748
|
-
|
|
76749
|
-
|
|
76750
|
-
|
|
76751
|
-
|
|
76752
|
-
|
|
76753
|
-
}
|
|
76754
|
-
|
|
76755
|
-
|
|
76764
|
+
protoOf(ChannelTypeObj).j3u = function () {
|
|
76765
|
+
return this.APP;
|
|
76766
|
+
};
|
|
76767
|
+
protoOf(ChannelTypeObj).k3u = function () {
|
|
76768
|
+
return this.PHONE;
|
|
76769
|
+
};
|
|
76770
|
+
protoOf(ChannelTypeObj).l3u = function () {
|
|
76771
|
+
return this.PSTN;
|
|
76772
|
+
};
|
|
76773
|
+
protoOf(ChannelTypeObj).m3u = function () {
|
|
76774
|
+
return this.SIP;
|
|
76775
|
+
};
|
|
76776
|
+
protoOf(ChannelTypeObj).n3u = function () {
|
|
76777
|
+
return this.VBC;
|
|
76778
|
+
};
|
|
76779
|
+
protoOf(ChannelTypeObj).o3u = function () {
|
|
76780
|
+
return this.WEBSOCKET;
|
|
76781
|
+
};
|
|
76782
|
+
protoOf(ChannelTypeObj).p3u = function () {
|
|
76783
|
+
return this.SMS;
|
|
76784
|
+
};
|
|
76785
|
+
protoOf(ChannelTypeObj).q3u = function () {
|
|
76786
|
+
return this.MMS;
|
|
76787
|
+
};
|
|
76788
|
+
protoOf(ChannelTypeObj).r3u = function () {
|
|
76789
|
+
return this.WHATSAPP;
|
|
76790
|
+
};
|
|
76791
|
+
protoOf(ChannelTypeObj).s3u = function () {
|
|
76792
|
+
return this.VIBER;
|
|
76793
|
+
};
|
|
76794
|
+
protoOf(ChannelTypeObj).t3u = function () {
|
|
76795
|
+
return this.MESSENGER;
|
|
76796
|
+
};
|
|
76797
|
+
protoOf(ChannelTypeObj).toString = function () {
|
|
76798
|
+
return 'ChannelTypeObj';
|
|
76799
|
+
};
|
|
76800
|
+
protoOf(ChannelTypeObj).hashCode = function () {
|
|
76801
|
+
return 289615710;
|
|
76802
|
+
};
|
|
76803
|
+
protoOf(ChannelTypeObj).equals = function (other) {
|
|
76804
|
+
if (this === other)
|
|
76805
|
+
return true;
|
|
76806
|
+
if (!(other instanceof ChannelTypeObj))
|
|
76807
|
+
return false;
|
|
76808
|
+
other instanceof ChannelTypeObj || THROW_CCE();
|
|
76809
|
+
return true;
|
|
76810
|
+
};
|
|
76811
|
+
var ChannelTypeObj_instance;
|
|
76812
|
+
function ChannelTypeObj_getInstance() {
|
|
76813
|
+
return ChannelTypeObj_instance;
|
|
76756
76814
|
}
|
|
76757
|
-
function
|
|
76815
|
+
function map_3(_this__u8e3s4) {
|
|
76758
76816
|
var tmp;
|
|
76759
76817
|
switch (_this__u8e3s4.z7_1) {
|
|
76760
76818
|
case 0:
|
|
@@ -76772,7 +76830,7 @@ function requireClientsdkClientcore () {
|
|
|
76772
76830
|
}
|
|
76773
76831
|
return tmp;
|
|
76774
76832
|
}
|
|
76775
|
-
function
|
|
76833
|
+
function map_4(_this__u8e3s4) {
|
|
76776
76834
|
var tmp;
|
|
76777
76835
|
switch (_this__u8e3s4.z7_1) {
|
|
76778
76836
|
case 0:
|
|
@@ -76793,6 +76851,48 @@ function requireClientsdkClientcore () {
|
|
|
76793
76851
|
}
|
|
76794
76852
|
return tmp;
|
|
76795
76853
|
}
|
|
76854
|
+
function map_5(_this__u8e3s4) {
|
|
76855
|
+
var tmp;
|
|
76856
|
+
switch (_this__u8e3s4.z7_1) {
|
|
76857
|
+
case 0:
|
|
76858
|
+
tmp = ChannelTypeObj_instance.APP;
|
|
76859
|
+
break;
|
|
76860
|
+
case 1:
|
|
76861
|
+
tmp = ChannelTypeObj_instance.PHONE;
|
|
76862
|
+
break;
|
|
76863
|
+
case 2:
|
|
76864
|
+
tmp = ChannelTypeObj_instance.PSTN;
|
|
76865
|
+
break;
|
|
76866
|
+
case 3:
|
|
76867
|
+
tmp = ChannelTypeObj_instance.SIP;
|
|
76868
|
+
break;
|
|
76869
|
+
case 4:
|
|
76870
|
+
tmp = ChannelTypeObj_instance.VBC;
|
|
76871
|
+
break;
|
|
76872
|
+
case 5:
|
|
76873
|
+
tmp = ChannelTypeObj_instance.WEBSOCKET;
|
|
76874
|
+
break;
|
|
76875
|
+
case 6:
|
|
76876
|
+
tmp = ChannelTypeObj_instance.SMS;
|
|
76877
|
+
break;
|
|
76878
|
+
case 7:
|
|
76879
|
+
tmp = ChannelTypeObj_instance.MMS;
|
|
76880
|
+
break;
|
|
76881
|
+
case 8:
|
|
76882
|
+
tmp = ChannelTypeObj_instance.WHATSAPP;
|
|
76883
|
+
break;
|
|
76884
|
+
case 9:
|
|
76885
|
+
tmp = ChannelTypeObj_instance.VIBER;
|
|
76886
|
+
break;
|
|
76887
|
+
case 10:
|
|
76888
|
+
tmp = ChannelTypeObj_instance.MESSENGER;
|
|
76889
|
+
break;
|
|
76890
|
+
default:
|
|
76891
|
+
noWhenBranchMatchedException();
|
|
76892
|
+
break;
|
|
76893
|
+
}
|
|
76894
|
+
return tmp;
|
|
76895
|
+
}
|
|
76796
76896
|
function PresentingOrderJS_ASC_getInstance() {
|
|
76797
76897
|
PresentingOrderJS_initEntries();
|
|
76798
76898
|
return PresentingOrderJS_ASC_instance;
|
|
@@ -76809,50 +76909,6 @@ function requireClientsdkClientcore () {
|
|
|
76809
76909
|
OrderByJS_initEntries();
|
|
76810
76910
|
return OrderByJS_CUSTOM_SORT_KEY_instance;
|
|
76811
76911
|
}
|
|
76812
|
-
function ChannelTypeJS_APP_getInstance() {
|
|
76813
|
-
ChannelTypeJS_initEntries();
|
|
76814
|
-
return ChannelTypeJS_APP_instance;
|
|
76815
|
-
}
|
|
76816
|
-
function ChannelTypeJS_PHONE_getInstance() {
|
|
76817
|
-
ChannelTypeJS_initEntries();
|
|
76818
|
-
return ChannelTypeJS_PHONE_instance;
|
|
76819
|
-
}
|
|
76820
|
-
function ChannelTypeJS_PSTN_getInstance() {
|
|
76821
|
-
ChannelTypeJS_initEntries();
|
|
76822
|
-
return ChannelTypeJS_PSTN_instance;
|
|
76823
|
-
}
|
|
76824
|
-
function ChannelTypeJS_SIP_getInstance() {
|
|
76825
|
-
ChannelTypeJS_initEntries();
|
|
76826
|
-
return ChannelTypeJS_SIP_instance;
|
|
76827
|
-
}
|
|
76828
|
-
function ChannelTypeJS_VBC_getInstance() {
|
|
76829
|
-
ChannelTypeJS_initEntries();
|
|
76830
|
-
return ChannelTypeJS_VBC_instance;
|
|
76831
|
-
}
|
|
76832
|
-
function ChannelTypeJS_WEBSOCKET_getInstance() {
|
|
76833
|
-
ChannelTypeJS_initEntries();
|
|
76834
|
-
return ChannelTypeJS_WEBSOCKET_instance;
|
|
76835
|
-
}
|
|
76836
|
-
function ChannelTypeJS_SMS_getInstance() {
|
|
76837
|
-
ChannelTypeJS_initEntries();
|
|
76838
|
-
return ChannelTypeJS_SMS_instance;
|
|
76839
|
-
}
|
|
76840
|
-
function ChannelTypeJS_MMS_getInstance() {
|
|
76841
|
-
ChannelTypeJS_initEntries();
|
|
76842
|
-
return ChannelTypeJS_MMS_instance;
|
|
76843
|
-
}
|
|
76844
|
-
function ChannelTypeJS_WHATSAPP_getInstance() {
|
|
76845
|
-
ChannelTypeJS_initEntries();
|
|
76846
|
-
return ChannelTypeJS_WHATSAPP_instance;
|
|
76847
|
-
}
|
|
76848
|
-
function ChannelTypeJS_VIBER_getInstance() {
|
|
76849
|
-
ChannelTypeJS_initEntries();
|
|
76850
|
-
return ChannelTypeJS_VIBER_instance;
|
|
76851
|
-
}
|
|
76852
|
-
function ChannelTypeJS_MESSENGER_getInstance() {
|
|
76853
|
-
ChannelTypeJS_initEntries();
|
|
76854
|
-
return ChannelTypeJS_MESSENGER_instance;
|
|
76855
|
-
}
|
|
76856
76912
|
function CSErrorCodesJS() {
|
|
76857
76913
|
this.CONVERSATION_DUPLICATE_NAME = 'conversation:error:duplicate-name';
|
|
76858
76914
|
this.MEMBER_ALREADY_JOINED = 'conversation:error:member-already-joined';
|
|
@@ -76865,34 +76921,34 @@ function requireClientsdkClientcore () {
|
|
|
76865
76921
|
this.CONVERSATION_MAX_NUMBER_OF_MEMBERS = 'conversation:error:maximum-number-of-members';
|
|
76866
76922
|
this.CUSTOM_DATA_OVERALL_LIMIT_EXCEEDED = 'custom-data:error:max-data-sum-limit-exceeded';
|
|
76867
76923
|
}
|
|
76868
|
-
protoOf(CSErrorCodesJS).
|
|
76924
|
+
protoOf(CSErrorCodesJS).u3u = function () {
|
|
76869
76925
|
return this.CONVERSATION_DUPLICATE_NAME;
|
|
76870
76926
|
};
|
|
76871
|
-
protoOf(CSErrorCodesJS).
|
|
76927
|
+
protoOf(CSErrorCodesJS).v3u = function () {
|
|
76872
76928
|
return this.MEMBER_ALREADY_JOINED;
|
|
76873
76929
|
};
|
|
76874
|
-
protoOf(CSErrorCodesJS).
|
|
76930
|
+
protoOf(CSErrorCodesJS).w3u = function () {
|
|
76875
76931
|
return this.MEMBER_ALREADY_INVITED;
|
|
76876
76932
|
};
|
|
76877
|
-
protoOf(CSErrorCodesJS).
|
|
76933
|
+
protoOf(CSErrorCodesJS).x3u = function () {
|
|
76878
76934
|
return this.CONVERSATION_NOT_FOUND;
|
|
76879
76935
|
};
|
|
76880
|
-
protoOf(CSErrorCodesJS).
|
|
76936
|
+
protoOf(CSErrorCodesJS).y3u = function () {
|
|
76881
76937
|
return this.MEMBER_NOT_FOUND;
|
|
76882
76938
|
};
|
|
76883
|
-
protoOf(CSErrorCodesJS).
|
|
76939
|
+
protoOf(CSErrorCodesJS).z3u = function () {
|
|
76884
76940
|
return this.USER_NOT_FOUND;
|
|
76885
76941
|
};
|
|
76886
|
-
protoOf(CSErrorCodesJS).
|
|
76942
|
+
protoOf(CSErrorCodesJS).a3v = function () {
|
|
76887
76943
|
return this.INVALID_CURSOR;
|
|
76888
76944
|
};
|
|
76889
|
-
protoOf(CSErrorCodesJS).
|
|
76945
|
+
protoOf(CSErrorCodesJS).b3v = function () {
|
|
76890
76946
|
return this.VALIDATION_FAIL;
|
|
76891
76947
|
};
|
|
76892
|
-
protoOf(CSErrorCodesJS).
|
|
76948
|
+
protoOf(CSErrorCodesJS).c3v = function () {
|
|
76893
76949
|
return this.CONVERSATION_MAX_NUMBER_OF_MEMBERS;
|
|
76894
76950
|
};
|
|
76895
|
-
protoOf(CSErrorCodesJS).
|
|
76951
|
+
protoOf(CSErrorCodesJS).d3v = function () {
|
|
76896
76952
|
return this.CUSTOM_DATA_OVERALL_LIMIT_EXCEEDED;
|
|
76897
76953
|
};
|
|
76898
76954
|
var CSErrorCodesJS_instance;
|
|
@@ -76917,52 +76973,52 @@ function requireClientsdkClientcore () {
|
|
|
76917
76973
|
this.PING_TIMEOUT_DISCONNECT = 'session:disconnect:ping-timeout';
|
|
76918
76974
|
this.TRANSPORT_CLOSED_DISCONNECT = 'session:disconnect:websocket-transport-closed';
|
|
76919
76975
|
}
|
|
76920
|
-
protoOf(SessionErrorCodesJS).
|
|
76976
|
+
protoOf(SessionErrorCodesJS).e3v = function () {
|
|
76921
76977
|
return this.EMPTY_TOKEN;
|
|
76922
76978
|
};
|
|
76923
|
-
protoOf(SessionErrorCodesJS).
|
|
76979
|
+
protoOf(SessionErrorCodesJS).f3v = function () {
|
|
76924
76980
|
return this.FORCED_DISCONNECT;
|
|
76925
76981
|
};
|
|
76926
|
-
protoOf(SessionErrorCodesJS).
|
|
76982
|
+
protoOf(SessionErrorCodesJS).g3v = function () {
|
|
76927
76983
|
return this.TIMEOUT;
|
|
76928
76984
|
};
|
|
76929
|
-
protoOf(SessionErrorCodesJS).
|
|
76985
|
+
protoOf(SessionErrorCodesJS).h3v = function () {
|
|
76930
76986
|
return this.INTERNAL_FAILURE;
|
|
76931
76987
|
};
|
|
76932
|
-
protoOf(SessionErrorCodesJS).
|
|
76988
|
+
protoOf(SessionErrorCodesJS).i3v = function () {
|
|
76933
76989
|
return this.NO_ACTIVE_SESSION;
|
|
76934
76990
|
};
|
|
76935
|
-
protoOf(SessionErrorCodesJS).
|
|
76991
|
+
protoOf(SessionErrorCodesJS).j3v = function () {
|
|
76936
76992
|
return this.ALREADY_ACTIVE_SESSION;
|
|
76937
76993
|
};
|
|
76938
|
-
protoOf(SessionErrorCodesJS).
|
|
76994
|
+
protoOf(SessionErrorCodesJS).k3v = function () {
|
|
76939
76995
|
return this.INVALID_TOKEN;
|
|
76940
76996
|
};
|
|
76941
|
-
protoOf(SessionErrorCodesJS).
|
|
76997
|
+
protoOf(SessionErrorCodesJS).l3v = function () {
|
|
76942
76998
|
return this.EXPIRED_TOKEN;
|
|
76943
76999
|
};
|
|
76944
|
-
protoOf(SessionErrorCodesJS).
|
|
77000
|
+
protoOf(SessionErrorCodesJS).m3v = function () {
|
|
76945
77001
|
return this.INVALID_USER;
|
|
76946
77002
|
};
|
|
76947
|
-
protoOf(SessionErrorCodesJS).
|
|
77003
|
+
protoOf(SessionErrorCodesJS).n3v = function () {
|
|
76948
77004
|
return this.AUTHORIZATION_ERROR;
|
|
76949
77005
|
};
|
|
76950
|
-
protoOf(SessionErrorCodesJS).
|
|
77006
|
+
protoOf(SessionErrorCodesJS).o3v = function () {
|
|
76951
77007
|
return this.INVALID_SESSION;
|
|
76952
77008
|
};
|
|
76953
|
-
protoOf(SessionErrorCodesJS).
|
|
77009
|
+
protoOf(SessionErrorCodesJS).p3v = function () {
|
|
76954
77010
|
return this.MAX_OPEN_SESSIONS;
|
|
76955
77011
|
};
|
|
76956
|
-
protoOf(SessionErrorCodesJS).
|
|
77012
|
+
protoOf(SessionErrorCodesJS).q3v = function () {
|
|
76957
77013
|
return this.INVALID_SOCKET_TRANSPORT;
|
|
76958
77014
|
};
|
|
76959
|
-
protoOf(SessionErrorCodesJS).
|
|
77015
|
+
protoOf(SessionErrorCodesJS).r3v = function () {
|
|
76960
77016
|
return this.CLIENT_DISCONNECT;
|
|
76961
77017
|
};
|
|
76962
|
-
protoOf(SessionErrorCodesJS).
|
|
77018
|
+
protoOf(SessionErrorCodesJS).s3v = function () {
|
|
76963
77019
|
return this.PING_TIMEOUT_DISCONNECT;
|
|
76964
77020
|
};
|
|
76965
|
-
protoOf(SessionErrorCodesJS).
|
|
77021
|
+
protoOf(SessionErrorCodesJS).t3v = function () {
|
|
76966
77022
|
return this.TRANSPORT_CLOSED_DISCONNECT;
|
|
76967
77023
|
};
|
|
76968
77024
|
var SessionErrorCodesJS_instance;
|
|
@@ -76972,7 +77028,7 @@ function requireClientsdkClientcore () {
|
|
|
76972
77028
|
function VonageErrorJS(vonageError) {
|
|
76973
77029
|
extendThrowable(this, vonageError.message);
|
|
76974
77030
|
captureStack(this, VonageErrorJS);
|
|
76975
|
-
this.type =
|
|
77031
|
+
this.type = valueOf_3(vonageError.t2x_1.y7_1);
|
|
76976
77032
|
this.code = vonageError.u2x_1;
|
|
76977
77033
|
this.kmpCause = vonageError.cause;
|
|
76978
77034
|
}
|
|
@@ -76982,7 +77038,7 @@ function requireClientsdkClientcore () {
|
|
|
76982
77038
|
protoOf(VonageErrorJS).i2n = function () {
|
|
76983
77039
|
return this.code;
|
|
76984
77040
|
};
|
|
76985
|
-
protoOf(VonageErrorJS).
|
|
77041
|
+
protoOf(VonageErrorJS).u3v = function () {
|
|
76986
77042
|
return this.kmpCause;
|
|
76987
77043
|
};
|
|
76988
77044
|
var VonageErrorTypeJS_CS_ERROR_instance;
|
|
@@ -76990,10 +77046,10 @@ function requireClientsdkClientcore () {
|
|
|
76990
77046
|
var VonageErrorTypeJS_SESSION_ERROR_instance;
|
|
76991
77047
|
var VonageErrorTypeJS_INTERNAL_ERROR_instance;
|
|
76992
77048
|
var VonageErrorTypeJS_UNKNOWN_ERROR_instance;
|
|
76993
|
-
function
|
|
77049
|
+
function values_2() {
|
|
76994
77050
|
return [VonageErrorTypeJS_CS_ERROR_getInstance(), VonageErrorTypeJS_NETWORK_ERROR_getInstance(), VonageErrorTypeJS_SESSION_ERROR_getInstance(), VonageErrorTypeJS_INTERNAL_ERROR_getInstance(), VonageErrorTypeJS_UNKNOWN_ERROR_getInstance()];
|
|
76995
77051
|
}
|
|
76996
|
-
function
|
|
77052
|
+
function valueOf_3(value) {
|
|
76997
77053
|
switch (value) {
|
|
76998
77054
|
case 'CS_ERROR':
|
|
76999
77055
|
return VonageErrorTypeJS_CS_ERROR_getInstance();
|
|
@@ -77027,7 +77083,7 @@ function requireClientsdkClientcore () {
|
|
|
77027
77083
|
}
|
|
77028
77084
|
function MediaClientErrorJS() {
|
|
77029
77085
|
}
|
|
77030
|
-
protoOf(MediaClientErrorJS).
|
|
77086
|
+
protoOf(MediaClientErrorJS).x3v = function () {
|
|
77031
77087
|
var tmp;
|
|
77032
77088
|
if (this instanceof PeerConnectionNotFoundJS) {
|
|
77033
77089
|
tmp = new PeerConnectionNotFound(this.legId);
|
|
@@ -77056,18 +77112,18 @@ function requireClientsdkClientcore () {
|
|
|
77056
77112
|
MediaClientErrorJS.call(this);
|
|
77057
77113
|
this.legId = legId;
|
|
77058
77114
|
}
|
|
77059
|
-
protoOf(PeerConnectionNotFoundJS).
|
|
77115
|
+
protoOf(PeerConnectionNotFoundJS).y3v = function () {
|
|
77060
77116
|
return this.legId;
|
|
77061
77117
|
};
|
|
77062
77118
|
protoOf(PeerConnectionNotFoundJS).o5 = function () {
|
|
77063
77119
|
return this.legId;
|
|
77064
77120
|
};
|
|
77065
|
-
protoOf(PeerConnectionNotFoundJS).
|
|
77121
|
+
protoOf(PeerConnectionNotFoundJS).z3v = function (legId) {
|
|
77066
77122
|
return new PeerConnectionNotFoundJS(legId);
|
|
77067
77123
|
};
|
|
77068
77124
|
protoOf(PeerConnectionNotFoundJS).copy = function (legId, $super) {
|
|
77069
77125
|
legId = legId === VOID ? this.legId : legId;
|
|
77070
|
-
return this.
|
|
77126
|
+
return this.z3v(legId);
|
|
77071
77127
|
};
|
|
77072
77128
|
protoOf(PeerConnectionNotFoundJS).toString = function () {
|
|
77073
77129
|
return 'PeerConnectionNotFoundJS(legId=' + this.legId + ')';
|
|
@@ -77089,18 +77145,18 @@ function requireClientsdkClientcore () {
|
|
|
77089
77145
|
MediaClientErrorJS.call(this);
|
|
77090
77146
|
this.legId = legId;
|
|
77091
77147
|
}
|
|
77092
|
-
protoOf(TrackNotFoundJS).
|
|
77148
|
+
protoOf(TrackNotFoundJS).y3v = function () {
|
|
77093
77149
|
return this.legId;
|
|
77094
77150
|
};
|
|
77095
77151
|
protoOf(TrackNotFoundJS).o5 = function () {
|
|
77096
77152
|
return this.legId;
|
|
77097
77153
|
};
|
|
77098
|
-
protoOf(TrackNotFoundJS).
|
|
77154
|
+
protoOf(TrackNotFoundJS).z3v = function (legId) {
|
|
77099
77155
|
return new TrackNotFoundJS(legId);
|
|
77100
77156
|
};
|
|
77101
77157
|
protoOf(TrackNotFoundJS).copy = function (legId, $super) {
|
|
77102
77158
|
legId = legId === VOID ? this.legId : legId;
|
|
77103
|
-
return this.
|
|
77159
|
+
return this.z3v(legId);
|
|
77104
77160
|
};
|
|
77105
77161
|
protoOf(TrackNotFoundJS).toString = function () {
|
|
77106
77162
|
return 'TrackNotFoundJS(legId=' + this.legId + ')';
|
|
@@ -77124,7 +77180,7 @@ function requireClientsdkClientcore () {
|
|
|
77124
77180
|
this.legId = legId;
|
|
77125
77181
|
this.message = message;
|
|
77126
77182
|
}
|
|
77127
|
-
protoOf(ProcessAnswerErrorJS).
|
|
77183
|
+
protoOf(ProcessAnswerErrorJS).y3v = function () {
|
|
77128
77184
|
return this.legId;
|
|
77129
77185
|
};
|
|
77130
77186
|
protoOf(ProcessAnswerErrorJS).ra = function () {
|
|
@@ -77136,13 +77192,13 @@ function requireClientsdkClientcore () {
|
|
|
77136
77192
|
protoOf(ProcessAnswerErrorJS).p5 = function () {
|
|
77137
77193
|
return this.message;
|
|
77138
77194
|
};
|
|
77139
|
-
protoOf(ProcessAnswerErrorJS).
|
|
77195
|
+
protoOf(ProcessAnswerErrorJS).a3w = function (legId, message) {
|
|
77140
77196
|
return new ProcessAnswerErrorJS(legId, message);
|
|
77141
77197
|
};
|
|
77142
77198
|
protoOf(ProcessAnswerErrorJS).copy = function (legId, message, $super) {
|
|
77143
77199
|
legId = legId === VOID ? this.legId : legId;
|
|
77144
77200
|
message = message === VOID ? this.message : message;
|
|
77145
|
-
return this.
|
|
77201
|
+
return this.a3w(legId, message);
|
|
77146
77202
|
};
|
|
77147
77203
|
protoOf(ProcessAnswerErrorJS).toString = function () {
|
|
77148
77204
|
return 'ProcessAnswerErrorJS(legId=' + this.legId + ', message=' + this.message + ')';
|
|
@@ -77175,12 +77231,12 @@ function requireClientsdkClientcore () {
|
|
|
77175
77231
|
protoOf(CreateAnswerErrorJS).o5 = function () {
|
|
77176
77232
|
return this.message;
|
|
77177
77233
|
};
|
|
77178
|
-
protoOf(CreateAnswerErrorJS).
|
|
77234
|
+
protoOf(CreateAnswerErrorJS).b3w = function (message) {
|
|
77179
77235
|
return new CreateAnswerErrorJS(message);
|
|
77180
77236
|
};
|
|
77181
77237
|
protoOf(CreateAnswerErrorJS).copy = function (message, $super) {
|
|
77182
77238
|
message = message === VOID ? this.message : message;
|
|
77183
|
-
return this.
|
|
77239
|
+
return this.b3w(message);
|
|
77184
77240
|
};
|
|
77185
77241
|
protoOf(CreateAnswerErrorJS).toString = function () {
|
|
77186
77242
|
return 'CreateAnswerErrorJS(message=' + this.message + ')';
|
|
@@ -77209,12 +77265,12 @@ function requireClientsdkClientcore () {
|
|
|
77209
77265
|
protoOf(CreateOfferErrorJS).o5 = function () {
|
|
77210
77266
|
return this.message;
|
|
77211
77267
|
};
|
|
77212
|
-
protoOf(CreateOfferErrorJS).
|
|
77268
|
+
protoOf(CreateOfferErrorJS).b3w = function (message) {
|
|
77213
77269
|
return new CreateOfferErrorJS(message);
|
|
77214
77270
|
};
|
|
77215
77271
|
protoOf(CreateOfferErrorJS).copy = function (message, $super) {
|
|
77216
77272
|
message = message === VOID ? this.message : message;
|
|
77217
|
-
return this.
|
|
77273
|
+
return this.b3w(message);
|
|
77218
77274
|
};
|
|
77219
77275
|
protoOf(CreateOfferErrorJS).toString = function () {
|
|
77220
77276
|
return 'CreateOfferErrorJS(message=' + this.message + ')';
|
|
@@ -77290,7 +77346,7 @@ function requireClientsdkClientcore () {
|
|
|
77290
77346
|
return function (resolve, reject) {
|
|
77291
77347
|
var tmp = this$0.core;
|
|
77292
77348
|
var tmp0_safe_receiver = $parameters;
|
|
77293
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
77349
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_16(tmp0_safe_receiver);
|
|
77294
77350
|
tmp.v1e(tmp_0, IChatClientJS$createConversation$lambda$lambda(resolve, reject));
|
|
77295
77351
|
return Unit_instance;
|
|
77296
77352
|
};
|
|
@@ -77497,7 +77553,7 @@ function requireClientsdkClientcore () {
|
|
|
77497
77553
|
return function (resolve, reject) {
|
|
77498
77554
|
var tmp = this$0.core;
|
|
77499
77555
|
var tmp0_safe_receiver = $parameters;
|
|
77500
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
77556
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_18(tmp0_safe_receiver);
|
|
77501
77557
|
tmp.b1f(tmp_0, IChatClientJS$getConversations$lambda$lambda(resolve, reject));
|
|
77502
77558
|
return Unit_instance;
|
|
77503
77559
|
};
|
|
@@ -77540,7 +77596,7 @@ function requireClientsdkClientcore () {
|
|
|
77540
77596
|
return function (resolve, reject) {
|
|
77541
77597
|
var tmp = this$0.core;
|
|
77542
77598
|
var tmp0_safe_receiver = $parameters;
|
|
77543
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
77599
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_20(tmp0_safe_receiver);
|
|
77544
77600
|
tmp.a1f($cid, tmp_0, IChatClientJS$getConversationMembers$lambda$lambda(resolve, reject));
|
|
77545
77601
|
return Unit_instance;
|
|
77546
77602
|
};
|
|
@@ -77583,7 +77639,7 @@ function requireClientsdkClientcore () {
|
|
|
77583
77639
|
return function (resolve, reject) {
|
|
77584
77640
|
var tmp = this$0.core;
|
|
77585
77641
|
var tmp0_safe_receiver = $parameters;
|
|
77586
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
77642
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_19(tmp0_safe_receiver);
|
|
77587
77643
|
tmp.j1d($cid, tmp_0, VOID, VOID, IChatClientJS$getConversationEvents$lambda$lambda(resolve, reject));
|
|
77588
77644
|
return Unit_instance;
|
|
77589
77645
|
};
|
|
@@ -78212,7 +78268,7 @@ function requireClientsdkClientcore () {
|
|
|
78212
78268
|
function IChatClientJS$updateConversation$lambda(this$0, $conversationId, $parameters) {
|
|
78213
78269
|
return function (resolve, reject) {
|
|
78214
78270
|
var tmp = this$0.core;
|
|
78215
|
-
var tmp_0 =
|
|
78271
|
+
var tmp_0 = map_17($parameters);
|
|
78216
78272
|
tmp.j1f($conversationId, tmp_0, IChatClientJS$updateConversation$lambda$lambda(resolve, reject));
|
|
78217
78273
|
return Unit_instance;
|
|
78218
78274
|
};
|
|
@@ -78227,10 +78283,10 @@ function requireClientsdkClientcore () {
|
|
|
78227
78283
|
var CoreClientConfigRegionJS_AP_instance;
|
|
78228
78284
|
var CoreClientConfigRegionJS_EU_instance;
|
|
78229
78285
|
var CoreClientConfigRegionJS_US_instance;
|
|
78230
|
-
function
|
|
78286
|
+
function values_3() {
|
|
78231
78287
|
return [CoreClientConfigRegionJS_AP_getInstance(), CoreClientConfigRegionJS_EU_getInstance(), CoreClientConfigRegionJS_US_getInstance()];
|
|
78232
78288
|
}
|
|
78233
|
-
function
|
|
78289
|
+
function valueOf_4(value) {
|
|
78234
78290
|
switch (value) {
|
|
78235
78291
|
case 'AP':
|
|
78236
78292
|
return CoreClientConfigRegionJS_AP_getInstance();
|
|
@@ -78257,58 +78313,58 @@ function requireClientsdkClientcore () {
|
|
|
78257
78313
|
Enum.call(this, name, ordinal);
|
|
78258
78314
|
this.coreRegion = coreRegion;
|
|
78259
78315
|
}
|
|
78260
|
-
protoOf(CoreClientConfigRegionJS).
|
|
78316
|
+
protoOf(CoreClientConfigRegionJS).e3w = function () {
|
|
78261
78317
|
return this.coreRegion;
|
|
78262
78318
|
};
|
|
78263
78319
|
function CoreClientConfigJS(region) {
|
|
78264
78320
|
region = region === VOID ? get_DEFAULT_REGION() : region;
|
|
78265
78321
|
this.region = region;
|
|
78266
|
-
this.
|
|
78267
|
-
this.
|
|
78322
|
+
this.f3w_1 = this.region.coreRegion.n2u_1;
|
|
78323
|
+
this.g3w_1 = this.region.coreRegion.o2u_1;
|
|
78268
78324
|
var tmp = this;
|
|
78269
78325
|
DefaultConfig_getInstance();
|
|
78270
|
-
tmp.
|
|
78326
|
+
tmp.h3w_1 = '/v2/rtc';
|
|
78271
78327
|
var tmp_0 = this;
|
|
78272
78328
|
DefaultConfig_getInstance();
|
|
78273
|
-
tmp_0.
|
|
78274
|
-
this.
|
|
78275
|
-
this.
|
|
78329
|
+
tmp_0.i3w_1 = true;
|
|
78330
|
+
this.j3w_1 = false;
|
|
78331
|
+
this.k3w_1 = false;
|
|
78276
78332
|
}
|
|
78277
|
-
protoOf(CoreClientConfigJS).
|
|
78333
|
+
protoOf(CoreClientConfigJS).l3w = function () {
|
|
78278
78334
|
return this.region;
|
|
78279
78335
|
};
|
|
78280
|
-
protoOf(CoreClientConfigJS).
|
|
78281
|
-
this.
|
|
78336
|
+
protoOf(CoreClientConfigJS).m3w = function (_set____db54di) {
|
|
78337
|
+
this.f3w_1 = _set____db54di;
|
|
78282
78338
|
};
|
|
78283
|
-
protoOf(CoreClientConfigJS).
|
|
78284
|
-
return this.
|
|
78339
|
+
protoOf(CoreClientConfigJS).n3w = function () {
|
|
78340
|
+
return this.f3w_1;
|
|
78285
78341
|
};
|
|
78286
|
-
protoOf(CoreClientConfigJS).
|
|
78287
|
-
this.
|
|
78342
|
+
protoOf(CoreClientConfigJS).o3w = function (_set____db54di) {
|
|
78343
|
+
this.g3w_1 = _set____db54di;
|
|
78288
78344
|
};
|
|
78289
|
-
protoOf(CoreClientConfigJS).
|
|
78290
|
-
return this.
|
|
78345
|
+
protoOf(CoreClientConfigJS).p3w = function () {
|
|
78346
|
+
return this.g3w_1;
|
|
78291
78347
|
};
|
|
78292
|
-
protoOf(CoreClientConfigJS).
|
|
78293
|
-
this.
|
|
78348
|
+
protoOf(CoreClientConfigJS).q3w = function (_set____db54di) {
|
|
78349
|
+
this.h3w_1 = _set____db54di;
|
|
78294
78350
|
};
|
|
78295
|
-
protoOf(CoreClientConfigJS).
|
|
78296
|
-
return this.
|
|
78351
|
+
protoOf(CoreClientConfigJS).r3w = function () {
|
|
78352
|
+
return this.h3w_1;
|
|
78297
78353
|
};
|
|
78298
|
-
protoOf(CoreClientConfigJS).
|
|
78299
|
-
this.
|
|
78354
|
+
protoOf(CoreClientConfigJS).s3w = function (_set____db54di) {
|
|
78355
|
+
this.i3w_1 = _set____db54di;
|
|
78300
78356
|
};
|
|
78301
|
-
protoOf(CoreClientConfigJS).
|
|
78302
|
-
return this.
|
|
78357
|
+
protoOf(CoreClientConfigJS).t3w = function () {
|
|
78358
|
+
return this.i3w_1;
|
|
78303
78359
|
};
|
|
78304
|
-
protoOf(CoreClientConfigJS).
|
|
78305
|
-
this.
|
|
78360
|
+
protoOf(CoreClientConfigJS).u3w = function (_set____db54di) {
|
|
78361
|
+
this.j3w_1 = _set____db54di;
|
|
78306
78362
|
};
|
|
78307
|
-
protoOf(CoreClientConfigJS).
|
|
78308
|
-
return this.
|
|
78363
|
+
protoOf(CoreClientConfigJS).v3w = function () {
|
|
78364
|
+
return this.j3w_1;
|
|
78309
78365
|
};
|
|
78310
|
-
protoOf(CoreClientConfigJS).
|
|
78311
|
-
return this.
|
|
78366
|
+
protoOf(CoreClientConfigJS).w3w = function () {
|
|
78367
|
+
return this.k3w_1;
|
|
78312
78368
|
};
|
|
78313
78369
|
function TopicJS(name, tag) {
|
|
78314
78370
|
this.name = name;
|
|
@@ -78317,7 +78373,7 @@ function requireClientsdkClientcore () {
|
|
|
78317
78373
|
protoOf(TopicJS).a9 = function () {
|
|
78318
78374
|
return this.name;
|
|
78319
78375
|
};
|
|
78320
|
-
protoOf(TopicJS).
|
|
78376
|
+
protoOf(TopicJS).x3w = function () {
|
|
78321
78377
|
return this.tag;
|
|
78322
78378
|
};
|
|
78323
78379
|
protoOf(TopicJS).o5 = function () {
|
|
@@ -78326,13 +78382,13 @@ function requireClientsdkClientcore () {
|
|
|
78326
78382
|
protoOf(TopicJS).p5 = function () {
|
|
78327
78383
|
return this.tag;
|
|
78328
78384
|
};
|
|
78329
|
-
protoOf(TopicJS).
|
|
78385
|
+
protoOf(TopicJS).y3w = function (name, tag) {
|
|
78330
78386
|
return new TopicJS(name, tag);
|
|
78331
78387
|
};
|
|
78332
78388
|
protoOf(TopicJS).copy = function (name, tag, $super) {
|
|
78333
78389
|
name = name === VOID ? this.name : name;
|
|
78334
78390
|
tag = tag === VOID ? this.tag : tag;
|
|
78335
|
-
return this.
|
|
78391
|
+
return this.y3w(name, tag);
|
|
78336
78392
|
};
|
|
78337
78393
|
protoOf(TopicJS).toString = function () {
|
|
78338
78394
|
return 'TopicJS(name=' + this.name + ', tag=' + this.tag + ')';
|
|
@@ -78361,10 +78417,10 @@ function requireClientsdkClientcore () {
|
|
|
78361
78417
|
var Topics_STORE_instance;
|
|
78362
78418
|
var Topics_REDUCER_instance;
|
|
78363
78419
|
var Topics_DEFAULT_instance;
|
|
78364
|
-
function
|
|
78420
|
+
function values_4() {
|
|
78365
78421
|
return [Topics_HTTP_getInstance(), Topics_WS_getInstance(), Topics_MEDIA_getInstance(), Topics_API_getInstance(), Topics_STORE_getInstance(), Topics_REDUCER_getInstance(), Topics_DEFAULT_getInstance()];
|
|
78366
78422
|
}
|
|
78367
|
-
function
|
|
78423
|
+
function valueOf_5(value) {
|
|
78368
78424
|
switch (value) {
|
|
78369
78425
|
case 'HTTP':
|
|
78370
78426
|
return Topics_HTTP_getInstance();
|
|
@@ -78423,10 +78479,10 @@ function requireClientsdkClientcore () {
|
|
|
78423
78479
|
var LoggingLevelJS_Warn_instance;
|
|
78424
78480
|
var LoggingLevelJS_Error_instance;
|
|
78425
78481
|
var LoggingLevelJS_Assert_instance;
|
|
78426
|
-
function
|
|
78482
|
+
function values_5() {
|
|
78427
78483
|
return [LoggingLevelJS_Verbose_getInstance(), LoggingLevelJS_Debug_getInstance(), LoggingLevelJS_Info_getInstance(), LoggingLevelJS_Warn_getInstance(), LoggingLevelJS_Error_getInstance(), LoggingLevelJS_Assert_getInstance()];
|
|
78428
78484
|
}
|
|
78429
|
-
function
|
|
78485
|
+
function valueOf_6(value) {
|
|
78430
78486
|
switch (value) {
|
|
78431
78487
|
case 'Verbose':
|
|
78432
78488
|
return LoggingLevelJS_Verbose_getInstance();
|
|
@@ -78472,10 +78528,10 @@ function requireClientsdkClientcore () {
|
|
|
78472
78528
|
var SessionErrorReasonJS_EXPIRED_TOKEN_instance;
|
|
78473
78529
|
var SessionErrorReasonJS_TRANSPORT_CLOSED_instance;
|
|
78474
78530
|
var SessionErrorReasonJS_PING_TIMEOUT_instance;
|
|
78475
|
-
function
|
|
78531
|
+
function values_6() {
|
|
78476
78532
|
return [SessionErrorReasonJS_EXPIRED_TOKEN_getInstance(), SessionErrorReasonJS_TRANSPORT_CLOSED_getInstance(), SessionErrorReasonJS_PING_TIMEOUT_getInstance()];
|
|
78477
78533
|
}
|
|
78478
|
-
function
|
|
78534
|
+
function valueOf_7(value) {
|
|
78479
78535
|
switch (value) {
|
|
78480
78536
|
case 'EXPIRED_TOKEN':
|
|
78481
78537
|
return SessionErrorReasonJS_EXPIRED_TOKEN_getInstance();
|
|
@@ -78712,11 +78768,11 @@ function requireClientsdkClientcore () {
|
|
|
78712
78768
|
}
|
|
78713
78769
|
function ICoreClientJS() {
|
|
78714
78770
|
}
|
|
78715
|
-
function
|
|
78771
|
+
function map_6(_this__u8e3s4) {
|
|
78716
78772
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
78717
78773
|
return new TopicJS(_this__u8e3s4.e3g_1, _this__u8e3s4.f3g_1);
|
|
78718
78774
|
}
|
|
78719
|
-
function
|
|
78775
|
+
function map_7(_this__u8e3s4) {
|
|
78720
78776
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
78721
78777
|
var tmp;
|
|
78722
78778
|
switch (_this__u8e3s4.z7_1) {
|
|
@@ -78747,7 +78803,7 @@ function requireClientsdkClientcore () {
|
|
|
78747
78803
|
}
|
|
78748
78804
|
return tmp;
|
|
78749
78805
|
}
|
|
78750
|
-
function
|
|
78806
|
+
function map_8(_this__u8e3s4) {
|
|
78751
78807
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
78752
78808
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
78753
78809
|
// Inline function 'kotlin.collections.flatMap' call
|
|
@@ -78759,7 +78815,7 @@ function requireClientsdkClientcore () {
|
|
|
78759
78815
|
var element = _this__u8e3s4[inductionVariable];
|
|
78760
78816
|
inductionVariable = inductionVariable + 1 | 0;
|
|
78761
78817
|
// Inline function 'vonage.map.<anonymous>' call
|
|
78762
|
-
var list =
|
|
78818
|
+
var list = map_7(element);
|
|
78763
78819
|
addAll(destination, list);
|
|
78764
78820
|
}
|
|
78765
78821
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -78771,10 +78827,10 @@ function requireClientsdkClientcore () {
|
|
|
78771
78827
|
var tmp0_safe_receiver = logger.minLogLevel;
|
|
78772
78828
|
var tmp_0 = tmp0_safe_receiver == null ? null : getLoggingLevel(tmp0_safe_receiver);
|
|
78773
78829
|
var tmp1_safe_receiver = logger.topics;
|
|
78774
|
-
var tmp_1 = tmp1_safe_receiver == null ? null :
|
|
78830
|
+
var tmp_1 = tmp1_safe_receiver == null ? null : map_8(tmp1_safe_receiver);
|
|
78775
78831
|
return createVonageLogger(tmp, tmp_0, tmp_1, vonageLogger$lambda(logger));
|
|
78776
78832
|
}
|
|
78777
|
-
function
|
|
78833
|
+
function map_9(_this__u8e3s4) {
|
|
78778
78834
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
78779
78835
|
var tmp;
|
|
78780
78836
|
if (_this__u8e3s4 == null) {
|
|
@@ -78872,9 +78928,9 @@ function requireClientsdkClientcore () {
|
|
|
78872
78928
|
}
|
|
78873
78929
|
function getLoggingLevelJS(_this__u8e3s4) {
|
|
78874
78930
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
78875
|
-
return
|
|
78931
|
+
return valueOf_6(_this__u8e3s4.y7_1);
|
|
78876
78932
|
}
|
|
78877
|
-
function
|
|
78933
|
+
function map_10(_this__u8e3s4) {
|
|
78878
78934
|
_init_properties_ICoreClientJS_kt__j7s52i();
|
|
78879
78935
|
var tmp;
|
|
78880
78936
|
switch (_this__u8e3s4.z7_1) {
|
|
@@ -78898,26 +78954,26 @@ function requireClientsdkClientcore () {
|
|
|
78898
78954
|
return _this__u8e3s4 == null ? null : equals(_this__u8e3s4, undefined) ? null : _this__u8e3s4;
|
|
78899
78955
|
}
|
|
78900
78956
|
function createVonageLoggerJS$1($name, $minLogLevel, $topics, $onLog) {
|
|
78901
|
-
this.
|
|
78902
|
-
this.
|
|
78903
|
-
this.
|
|
78904
|
-
this.
|
|
78957
|
+
this.i3x_1 = $onLog;
|
|
78958
|
+
this.f3x_1 = $name;
|
|
78959
|
+
this.g3x_1 = $minLogLevel;
|
|
78960
|
+
this.h3x_1 = $topics;
|
|
78905
78961
|
}
|
|
78906
78962
|
protoOf(createVonageLoggerJS$1).a9 = function () {
|
|
78907
|
-
return this.
|
|
78963
|
+
return this.f3x_1;
|
|
78908
78964
|
};
|
|
78909
78965
|
protoOf(createVonageLoggerJS$1).s3f = function () {
|
|
78910
|
-
return this.
|
|
78966
|
+
return this.g3x_1;
|
|
78911
78967
|
};
|
|
78912
78968
|
protoOf(createVonageLoggerJS$1).k3f = function () {
|
|
78913
|
-
return this.
|
|
78969
|
+
return this.h3x_1;
|
|
78914
78970
|
};
|
|
78915
78971
|
protoOf(createVonageLoggerJS$1).onLog = function (logLevel, topic, message) {
|
|
78916
|
-
this.
|
|
78972
|
+
this.i3x_1(logLevel, topic, message);
|
|
78917
78973
|
};
|
|
78918
78974
|
function vonageLogger$lambda($logger) {
|
|
78919
78975
|
return function (logLevel, topic, message, _anonymous_parameter_3__qggqen) {
|
|
78920
|
-
$logger.onLog(getLoggingLevelJS(logLevel).y7_1,
|
|
78976
|
+
$logger.onLog(getLoggingLevelJS(logLevel).y7_1, map_6(topic), message);
|
|
78921
78977
|
return Unit_instance;
|
|
78922
78978
|
};
|
|
78923
78979
|
}
|
|
@@ -79001,102 +79057,104 @@ function requireClientsdkClientcore () {
|
|
|
79001
79057
|
function _init_properties_ICoreClientJS_kt__j7s52i() {
|
|
79002
79058
|
if (!properties_initialized_ICoreClientJS_kt_ipn2no) {
|
|
79003
79059
|
properties_initialized_ICoreClientJS_kt_ipn2no = true;
|
|
79004
|
-
DEFAULT_REGION =
|
|
79005
|
-
}
|
|
79006
|
-
}
|
|
79007
|
-
var LegStatusJS_RINGING_instance;
|
|
79008
|
-
var LegStatusJS_ANSWERED_instance;
|
|
79009
|
-
var LegStatusJS_COMPLETED_instance;
|
|
79010
|
-
function values_8() {
|
|
79011
|
-
return [LegStatusJS_RINGING_getInstance(), LegStatusJS_ANSWERED_getInstance(), LegStatusJS_COMPLETED_getInstance()];
|
|
79012
|
-
}
|
|
79013
|
-
function valueOf_9(value) {
|
|
79014
|
-
switch (value) {
|
|
79015
|
-
case 'RINGING':
|
|
79016
|
-
return LegStatusJS_RINGING_getInstance();
|
|
79017
|
-
case 'ANSWERED':
|
|
79018
|
-
return LegStatusJS_ANSWERED_getInstance();
|
|
79019
|
-
case 'COMPLETED':
|
|
79020
|
-
return LegStatusJS_COMPLETED_getInstance();
|
|
79021
|
-
default:
|
|
79022
|
-
LegStatusJS_initEntries();
|
|
79023
|
-
THROW_IAE('No enum constant value.');
|
|
79024
|
-
break;
|
|
79060
|
+
DEFAULT_REGION = valueOf_4(DefaultConfig_getInstance().u2u_1.y7_1);
|
|
79025
79061
|
}
|
|
79026
79062
|
}
|
|
79027
|
-
|
|
79028
|
-
|
|
79029
|
-
|
|
79030
|
-
|
|
79031
|
-
LegStatusJS_entriesInitialized = true;
|
|
79032
|
-
LegStatusJS_RINGING_instance = new LegStatusJS('RINGING', 0);
|
|
79033
|
-
LegStatusJS_ANSWERED_instance = new LegStatusJS('ANSWERED', 1);
|
|
79034
|
-
LegStatusJS_COMPLETED_instance = new LegStatusJS('COMPLETED', 2);
|
|
79063
|
+
function LegStatusJSObject() {
|
|
79064
|
+
this.RINGING = 'RINGING';
|
|
79065
|
+
this.ANSWERED = 'ANSWERED';
|
|
79066
|
+
this.COMPLETED = 'COMPLETED';
|
|
79035
79067
|
}
|
|
79036
|
-
function
|
|
79037
|
-
|
|
79038
|
-
}
|
|
79039
|
-
|
|
79040
|
-
|
|
79041
|
-
|
|
79042
|
-
|
|
79043
|
-
|
|
79044
|
-
|
|
79045
|
-
|
|
79046
|
-
|
|
79047
|
-
|
|
79048
|
-
|
|
79049
|
-
|
|
79050
|
-
}
|
|
79051
|
-
|
|
79052
|
-
|
|
79053
|
-
|
|
79054
|
-
|
|
79055
|
-
|
|
79056
|
-
|
|
79057
|
-
|
|
79058
|
-
|
|
79059
|
-
|
|
79068
|
+
protoOf(LegStatusJSObject).j3x = function () {
|
|
79069
|
+
return this.RINGING;
|
|
79070
|
+
};
|
|
79071
|
+
protoOf(LegStatusJSObject).k3x = function () {
|
|
79072
|
+
return this.ANSWERED;
|
|
79073
|
+
};
|
|
79074
|
+
protoOf(LegStatusJSObject).l3x = function () {
|
|
79075
|
+
return this.COMPLETED;
|
|
79076
|
+
};
|
|
79077
|
+
protoOf(LegStatusJSObject).toString = function () {
|
|
79078
|
+
return 'LegStatusJSObject';
|
|
79079
|
+
};
|
|
79080
|
+
protoOf(LegStatusJSObject).hashCode = function () {
|
|
79081
|
+
return 1394307204;
|
|
79082
|
+
};
|
|
79083
|
+
protoOf(LegStatusJSObject).equals = function (other) {
|
|
79084
|
+
if (this === other)
|
|
79085
|
+
return true;
|
|
79086
|
+
if (!(other instanceof LegStatusJSObject))
|
|
79087
|
+
return false;
|
|
79088
|
+
other instanceof LegStatusJSObject || THROW_CCE();
|
|
79089
|
+
return true;
|
|
79090
|
+
};
|
|
79091
|
+
var LegStatusJSObject_instance;
|
|
79092
|
+
function LegStatusJSObject_getInstance() {
|
|
79093
|
+
return LegStatusJSObject_instance;
|
|
79060
79094
|
}
|
|
79061
|
-
|
|
79062
|
-
|
|
79063
|
-
var HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_instance;
|
|
79064
|
-
var HangupReasonJS_LOCAL_HANGUP_instance;
|
|
79065
|
-
var HangupReasonJS_MEDIA_TIMEOUT_instance;
|
|
79066
|
-
function values_10() {
|
|
79067
|
-
return [HangupReasonJS_REMOTE_HANGUP_getInstance(), HangupReasonJS_REMOTE_REJECT_getInstance(), HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance(), HangupReasonJS_LOCAL_HANGUP_getInstance(), HangupReasonJS_MEDIA_TIMEOUT_getInstance()];
|
|
79095
|
+
function CallDisconnectReasonJSObject() {
|
|
79096
|
+
this.NetworkChange = 'networkChange';
|
|
79068
79097
|
}
|
|
79069
|
-
function
|
|
79070
|
-
|
|
79071
|
-
|
|
79072
|
-
|
|
79073
|
-
|
|
79074
|
-
|
|
79075
|
-
|
|
79076
|
-
|
|
79077
|
-
|
|
79078
|
-
|
|
79079
|
-
|
|
79080
|
-
|
|
79081
|
-
|
|
79082
|
-
|
|
79083
|
-
|
|
79084
|
-
|
|
79085
|
-
|
|
79098
|
+
protoOf(CallDisconnectReasonJSObject).m3x = function () {
|
|
79099
|
+
return this.NetworkChange;
|
|
79100
|
+
};
|
|
79101
|
+
protoOf(CallDisconnectReasonJSObject).toString = function () {
|
|
79102
|
+
return 'CallDisconnectReasonJSObject';
|
|
79103
|
+
};
|
|
79104
|
+
protoOf(CallDisconnectReasonJSObject).hashCode = function () {
|
|
79105
|
+
return 1280862186;
|
|
79106
|
+
};
|
|
79107
|
+
protoOf(CallDisconnectReasonJSObject).equals = function (other) {
|
|
79108
|
+
if (this === other)
|
|
79109
|
+
return true;
|
|
79110
|
+
if (!(other instanceof CallDisconnectReasonJSObject))
|
|
79111
|
+
return false;
|
|
79112
|
+
other instanceof CallDisconnectReasonJSObject || THROW_CCE();
|
|
79113
|
+
return true;
|
|
79114
|
+
};
|
|
79115
|
+
var CallDisconnectReasonJSObject_instance;
|
|
79116
|
+
function CallDisconnectReasonJSObject_getInstance() {
|
|
79117
|
+
return CallDisconnectReasonJSObject_instance;
|
|
79086
79118
|
}
|
|
79087
|
-
|
|
79088
|
-
|
|
79089
|
-
|
|
79090
|
-
|
|
79091
|
-
|
|
79092
|
-
|
|
79093
|
-
HangupReasonJS_REMOTE_REJECT_instance = new HangupReasonJS('REMOTE_REJECT', 1);
|
|
79094
|
-
HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_instance = new HangupReasonJS('REMOTE_NO_ANSWER_TIMEOUT', 2);
|
|
79095
|
-
HangupReasonJS_LOCAL_HANGUP_instance = new HangupReasonJS('LOCAL_HANGUP', 3);
|
|
79096
|
-
HangupReasonJS_MEDIA_TIMEOUT_instance = new HangupReasonJS('MEDIA_TIMEOUT', 4);
|
|
79119
|
+
function HangupReasonJSObject() {
|
|
79120
|
+
this.REMOTE_HANGUP = 'REMOTE_HANGUP';
|
|
79121
|
+
this.REMOTE_REJECT = 'REMOTE_REJECT';
|
|
79122
|
+
this.REMOTE_NO_ANSWER_TIMEOUT = 'REMOTE_NO_ANSWER_TIMEOUT';
|
|
79123
|
+
this.LOCAL_HANGUP = 'LOCAL_HANGUP';
|
|
79124
|
+
this.MEDIA_TIMEOUT = 'MEDIA_TIMEOUT';
|
|
79097
79125
|
}
|
|
79098
|
-
function
|
|
79099
|
-
|
|
79126
|
+
protoOf(HangupReasonJSObject).n3x = function () {
|
|
79127
|
+
return this.REMOTE_HANGUP;
|
|
79128
|
+
};
|
|
79129
|
+
protoOf(HangupReasonJSObject).o3x = function () {
|
|
79130
|
+
return this.REMOTE_REJECT;
|
|
79131
|
+
};
|
|
79132
|
+
protoOf(HangupReasonJSObject).p3x = function () {
|
|
79133
|
+
return this.REMOTE_NO_ANSWER_TIMEOUT;
|
|
79134
|
+
};
|
|
79135
|
+
protoOf(HangupReasonJSObject).q3x = function () {
|
|
79136
|
+
return this.LOCAL_HANGUP;
|
|
79137
|
+
};
|
|
79138
|
+
protoOf(HangupReasonJSObject).r3x = function () {
|
|
79139
|
+
return this.MEDIA_TIMEOUT;
|
|
79140
|
+
};
|
|
79141
|
+
protoOf(HangupReasonJSObject).toString = function () {
|
|
79142
|
+
return 'HangupReasonJSObject';
|
|
79143
|
+
};
|
|
79144
|
+
protoOf(HangupReasonJSObject).hashCode = function () {
|
|
79145
|
+
return -1290686563;
|
|
79146
|
+
};
|
|
79147
|
+
protoOf(HangupReasonJSObject).equals = function (other) {
|
|
79148
|
+
if (this === other)
|
|
79149
|
+
return true;
|
|
79150
|
+
if (!(other instanceof HangupReasonJSObject))
|
|
79151
|
+
return false;
|
|
79152
|
+
other instanceof HangupReasonJSObject || THROW_CCE();
|
|
79153
|
+
return true;
|
|
79154
|
+
};
|
|
79155
|
+
var HangupReasonJSObject_instance;
|
|
79156
|
+
function HangupReasonJSObject_getInstance() {
|
|
79157
|
+
return HangupReasonJSObject_instance;
|
|
79100
79158
|
}
|
|
79101
79159
|
function IVoiceClientJS$serverCall$lambda$lambda($resolve, $reject) {
|
|
79102
79160
|
return function (err, callId) {
|
|
@@ -79259,7 +79317,7 @@ function requireClientsdkClientcore () {
|
|
|
79259
79317
|
return function (resolve, reject) {
|
|
79260
79318
|
var tmp = this$0.core;
|
|
79261
79319
|
var tmp0_safe_receiver = $parameters;
|
|
79262
|
-
var tmp_0 = tmp0_safe_receiver == null ? null :
|
|
79320
|
+
var tmp_0 = tmp0_safe_receiver == null ? null : map_21(tmp0_safe_receiver);
|
|
79263
79321
|
tmp.p1d($callId, tmp_0, IVoiceClientJS$getCallLegs$lambda$lambda(resolve, reject));
|
|
79264
79322
|
return Unit_instance;
|
|
79265
79323
|
};
|
|
@@ -79662,13 +79720,13 @@ function requireClientsdkClientcore () {
|
|
|
79662
79720
|
protoOf(VoiceInviteFromInfoJS).p5 = function () {
|
|
79663
79721
|
return this.type;
|
|
79664
79722
|
};
|
|
79665
|
-
protoOf(VoiceInviteFromInfoJS).
|
|
79723
|
+
protoOf(VoiceInviteFromInfoJS).s3x = function (id, type) {
|
|
79666
79724
|
return new VoiceInviteFromInfoJS(id, type);
|
|
79667
79725
|
};
|
|
79668
79726
|
protoOf(VoiceInviteFromInfoJS).copy = function (id, type, $super) {
|
|
79669
79727
|
id = id === VOID ? this.id : id;
|
|
79670
79728
|
type = type === VOID ? this.type : type;
|
|
79671
|
-
return this.
|
|
79729
|
+
return this.s3x(id, type);
|
|
79672
79730
|
};
|
|
79673
79731
|
protoOf(VoiceInviteFromInfoJS).toString = function () {
|
|
79674
79732
|
return 'VoiceInviteFromInfoJS(id=' + this.id + ', type=' + this.type + ')';
|
|
@@ -79690,17 +79748,17 @@ function requireClientsdkClientcore () {
|
|
|
79690
79748
|
return false;
|
|
79691
79749
|
return true;
|
|
79692
79750
|
};
|
|
79693
|
-
function
|
|
79751
|
+
function map_11(_this__u8e3s4) {
|
|
79694
79752
|
var tmp;
|
|
79695
79753
|
switch (_this__u8e3s4.z7_1) {
|
|
79696
79754
|
case 0:
|
|
79697
|
-
tmp =
|
|
79755
|
+
tmp = LegStatusJSObject_instance.RINGING;
|
|
79698
79756
|
break;
|
|
79699
79757
|
case 1:
|
|
79700
|
-
tmp =
|
|
79758
|
+
tmp = LegStatusJSObject_instance.ANSWERED;
|
|
79701
79759
|
break;
|
|
79702
79760
|
case 2:
|
|
79703
|
-
tmp =
|
|
79761
|
+
tmp = LegStatusJSObject_instance.COMPLETED;
|
|
79704
79762
|
break;
|
|
79705
79763
|
default:
|
|
79706
79764
|
noWhenBranchMatchedException();
|
|
@@ -79708,32 +79766,32 @@ function requireClientsdkClientcore () {
|
|
|
79708
79766
|
}
|
|
79709
79767
|
return tmp;
|
|
79710
79768
|
}
|
|
79711
|
-
function
|
|
79769
|
+
function map_12(_this__u8e3s4) {
|
|
79712
79770
|
var tmp;
|
|
79713
79771
|
if (_this__u8e3s4.z7_1 === 0) {
|
|
79714
|
-
tmp =
|
|
79772
|
+
tmp = CallDisconnectReasonJSObject_instance.NetworkChange;
|
|
79715
79773
|
} else {
|
|
79716
79774
|
noWhenBranchMatchedException();
|
|
79717
79775
|
}
|
|
79718
79776
|
return tmp;
|
|
79719
79777
|
}
|
|
79720
|
-
function
|
|
79778
|
+
function map_13(_this__u8e3s4) {
|
|
79721
79779
|
var tmp;
|
|
79722
79780
|
switch (_this__u8e3s4.z7_1) {
|
|
79723
79781
|
case 1:
|
|
79724
|
-
tmp =
|
|
79782
|
+
tmp = HangupReasonJSObject_instance.REMOTE_HANGUP;
|
|
79725
79783
|
break;
|
|
79726
79784
|
case 0:
|
|
79727
|
-
tmp =
|
|
79785
|
+
tmp = HangupReasonJSObject_instance.REMOTE_REJECT;
|
|
79728
79786
|
break;
|
|
79729
79787
|
case 2:
|
|
79730
|
-
tmp =
|
|
79788
|
+
tmp = HangupReasonJSObject_instance.REMOTE_NO_ANSWER_TIMEOUT;
|
|
79731
79789
|
break;
|
|
79732
79790
|
case 3:
|
|
79733
|
-
tmp =
|
|
79791
|
+
tmp = HangupReasonJSObject_instance.LOCAL_HANGUP;
|
|
79734
79792
|
break;
|
|
79735
79793
|
case 4:
|
|
79736
|
-
tmp =
|
|
79794
|
+
tmp = HangupReasonJSObject_instance.MEDIA_TIMEOUT;
|
|
79737
79795
|
break;
|
|
79738
79796
|
default:
|
|
79739
79797
|
noWhenBranchMatchedException();
|
|
@@ -79741,82 +79799,46 @@ function requireClientsdkClientcore () {
|
|
|
79741
79799
|
}
|
|
79742
79800
|
return tmp;
|
|
79743
79801
|
}
|
|
79744
|
-
function LegStatusJS_RINGING_getInstance() {
|
|
79745
|
-
LegStatusJS_initEntries();
|
|
79746
|
-
return LegStatusJS_RINGING_instance;
|
|
79747
|
-
}
|
|
79748
|
-
function LegStatusJS_ANSWERED_getInstance() {
|
|
79749
|
-
LegStatusJS_initEntries();
|
|
79750
|
-
return LegStatusJS_ANSWERED_instance;
|
|
79751
|
-
}
|
|
79752
|
-
function LegStatusJS_COMPLETED_getInstance() {
|
|
79753
|
-
LegStatusJS_initEntries();
|
|
79754
|
-
return LegStatusJS_COMPLETED_instance;
|
|
79755
|
-
}
|
|
79756
|
-
function CallDisconnectReasonJS_NetworkChange_getInstance() {
|
|
79757
|
-
CallDisconnectReasonJS_initEntries();
|
|
79758
|
-
return CallDisconnectReasonJS_NetworkChange_instance;
|
|
79759
|
-
}
|
|
79760
|
-
function HangupReasonJS_REMOTE_HANGUP_getInstance() {
|
|
79761
|
-
HangupReasonJS_initEntries();
|
|
79762
|
-
return HangupReasonJS_REMOTE_HANGUP_instance;
|
|
79763
|
-
}
|
|
79764
|
-
function HangupReasonJS_REMOTE_REJECT_getInstance() {
|
|
79765
|
-
HangupReasonJS_initEntries();
|
|
79766
|
-
return HangupReasonJS_REMOTE_REJECT_instance;
|
|
79767
|
-
}
|
|
79768
|
-
function HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance() {
|
|
79769
|
-
HangupReasonJS_initEntries();
|
|
79770
|
-
return HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_instance;
|
|
79771
|
-
}
|
|
79772
|
-
function HangupReasonJS_LOCAL_HANGUP_getInstance() {
|
|
79773
|
-
HangupReasonJS_initEntries();
|
|
79774
|
-
return HangupReasonJS_LOCAL_HANGUP_instance;
|
|
79775
|
-
}
|
|
79776
|
-
function HangupReasonJS_MEDIA_TIMEOUT_getInstance() {
|
|
79777
|
-
HangupReasonJS_initEntries();
|
|
79778
|
-
return HangupReasonJS_MEDIA_TIMEOUT_instance;
|
|
79779
|
-
}
|
|
79780
79802
|
function HttpClientErrorJS(message, cause) {
|
|
79781
79803
|
message = message === VOID ? null : message;
|
|
79782
79804
|
cause = cause === VOID ? null : cause;
|
|
79783
79805
|
extendThrowable(this);
|
|
79784
79806
|
captureStack(this, HttpClientErrorJS);
|
|
79785
|
-
this.
|
|
79786
|
-
this.
|
|
79807
|
+
this.t3x_1 = message;
|
|
79808
|
+
this.u3x_1 = cause;
|
|
79787
79809
|
}
|
|
79788
79810
|
protoOf(HttpClientErrorJS).ra = function () {
|
|
79789
|
-
return this.
|
|
79811
|
+
return this.t3x_1;
|
|
79790
79812
|
};
|
|
79791
79813
|
protoOf(HttpClientErrorJS).sa = function () {
|
|
79792
|
-
return this.
|
|
79814
|
+
return this.u3x_1;
|
|
79793
79815
|
};
|
|
79794
|
-
protoOf(HttpClientErrorJS).
|
|
79795
|
-
var tmp0_elvis_lhs = this.
|
|
79816
|
+
protoOf(HttpClientErrorJS).x3v = function () {
|
|
79817
|
+
var tmp0_elvis_lhs = this.t3x_1;
|
|
79796
79818
|
var tmp = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
79797
|
-
var tmp_0 = this.
|
|
79819
|
+
var tmp_0 = this.u3x_1;
|
|
79798
79820
|
return new HTTPClientError(tmp, tmp_0 instanceof Exception ? tmp_0 : null);
|
|
79799
79821
|
};
|
|
79800
79822
|
protoOf(HttpClientErrorJS).o5 = function () {
|
|
79801
|
-
return this.
|
|
79823
|
+
return this.t3x_1;
|
|
79802
79824
|
};
|
|
79803
79825
|
protoOf(HttpClientErrorJS).p5 = function () {
|
|
79804
|
-
return this.
|
|
79826
|
+
return this.u3x_1;
|
|
79805
79827
|
};
|
|
79806
|
-
protoOf(HttpClientErrorJS).
|
|
79828
|
+
protoOf(HttpClientErrorJS).v3x = function (message, cause) {
|
|
79807
79829
|
return new HttpClientErrorJS(message, cause);
|
|
79808
79830
|
};
|
|
79809
79831
|
protoOf(HttpClientErrorJS).copy = function (message, cause, $super) {
|
|
79810
|
-
message = message === VOID ? this.
|
|
79811
|
-
cause = cause === VOID ? this.
|
|
79812
|
-
return this.
|
|
79832
|
+
message = message === VOID ? this.t3x_1 : message;
|
|
79833
|
+
cause = cause === VOID ? this.u3x_1 : cause;
|
|
79834
|
+
return this.v3x(message, cause);
|
|
79813
79835
|
};
|
|
79814
79836
|
protoOf(HttpClientErrorJS).toString = function () {
|
|
79815
|
-
return 'HttpClientErrorJS(message=' + this.
|
|
79837
|
+
return 'HttpClientErrorJS(message=' + this.t3x_1 + ', cause=' + this.u3x_1 + ')';
|
|
79816
79838
|
};
|
|
79817
79839
|
protoOf(HttpClientErrorJS).hashCode = function () {
|
|
79818
|
-
var result = this.
|
|
79819
|
-
result = imul(result, 31) + (this.
|
|
79840
|
+
var result = this.t3x_1 == null ? 0 : getStringHashCode(this.t3x_1);
|
|
79841
|
+
result = imul(result, 31) + (this.u3x_1 == null ? 0 : hashCode(this.u3x_1)) | 0;
|
|
79820
79842
|
return result;
|
|
79821
79843
|
};
|
|
79822
79844
|
protoOf(HttpClientErrorJS).equals = function (other) {
|
|
@@ -79825,9 +79847,9 @@ function requireClientsdkClientcore () {
|
|
|
79825
79847
|
if (!(other instanceof HttpClientErrorJS))
|
|
79826
79848
|
return false;
|
|
79827
79849
|
var tmp0_other_with_cast = other instanceof HttpClientErrorJS ? other : THROW_CCE();
|
|
79828
|
-
if (!(this.
|
|
79850
|
+
if (!(this.t3x_1 == tmp0_other_with_cast.t3x_1))
|
|
79829
79851
|
return false;
|
|
79830
|
-
if (!equals(this.
|
|
79852
|
+
if (!equals(this.u3x_1, tmp0_other_with_cast.u3x_1))
|
|
79831
79853
|
return false;
|
|
79832
79854
|
return true;
|
|
79833
79855
|
};
|
|
@@ -79836,10 +79858,10 @@ function requireClientsdkClientcore () {
|
|
|
79836
79858
|
this.statusCode = statusCode;
|
|
79837
79859
|
this.body = body;
|
|
79838
79860
|
}
|
|
79839
|
-
protoOf(HttpClientResponseJS).
|
|
79861
|
+
protoOf(HttpClientResponseJS).w3x = function () {
|
|
79840
79862
|
return this.statusCode;
|
|
79841
79863
|
};
|
|
79842
|
-
protoOf(HttpClientResponseJS).
|
|
79864
|
+
protoOf(HttpClientResponseJS).r3r = function () {
|
|
79843
79865
|
return this.body;
|
|
79844
79866
|
};
|
|
79845
79867
|
protoOf(HttpClientResponseJS).o5 = function () {
|
|
@@ -79848,13 +79870,13 @@ function requireClientsdkClientcore () {
|
|
|
79848
79870
|
protoOf(HttpClientResponseJS).p5 = function () {
|
|
79849
79871
|
return this.body;
|
|
79850
79872
|
};
|
|
79851
|
-
protoOf(HttpClientResponseJS).
|
|
79873
|
+
protoOf(HttpClientResponseJS).x3x = function (statusCode, body) {
|
|
79852
79874
|
return new HttpClientResponseJS(statusCode, body);
|
|
79853
79875
|
};
|
|
79854
79876
|
protoOf(HttpClientResponseJS).copy = function (statusCode, body, $super) {
|
|
79855
79877
|
statusCode = statusCode === VOID ? this.statusCode : statusCode;
|
|
79856
79878
|
body = body === VOID ? this.body : body;
|
|
79857
|
-
return this.
|
|
79879
|
+
return this.x3x(statusCode, body);
|
|
79858
79880
|
};
|
|
79859
79881
|
protoOf(HttpClientResponseJS).toString = function () {
|
|
79860
79882
|
return 'HttpClientResponseJS(statusCode=' + this.statusCode + ', body=' + this.body + ')';
|
|
@@ -79904,46 +79926,42 @@ function requireClientsdkClientcore () {
|
|
|
79904
79926
|
return REASON_PING_TIMEOUT;
|
|
79905
79927
|
}
|
|
79906
79928
|
var REASON_PING_TIMEOUT;
|
|
79907
|
-
|
|
79908
|
-
|
|
79909
|
-
|
|
79910
|
-
|
|
79911
|
-
|
|
79912
|
-
return [CancelReasonJS_RemoteCancel_getInstance(), CancelReasonJS_AnsweredElsewhere_getInstance(), CancelReasonJS_RejectedElsewhere_getInstance(), CancelReasonJS_RemoteTimeout_getInstance()];
|
|
79913
|
-
}
|
|
79914
|
-
function valueOf_12(value) {
|
|
79915
|
-
switch (value) {
|
|
79916
|
-
case 'RemoteCancel':
|
|
79917
|
-
return CancelReasonJS_RemoteCancel_getInstance();
|
|
79918
|
-
case 'AnsweredElsewhere':
|
|
79919
|
-
return CancelReasonJS_AnsweredElsewhere_getInstance();
|
|
79920
|
-
case 'RejectedElsewhere':
|
|
79921
|
-
return CancelReasonJS_RejectedElsewhere_getInstance();
|
|
79922
|
-
case 'RemoteTimeout':
|
|
79923
|
-
return CancelReasonJS_RemoteTimeout_getInstance();
|
|
79924
|
-
default:
|
|
79925
|
-
CancelReasonJS_initEntries();
|
|
79926
|
-
THROW_IAE('No enum constant value.');
|
|
79927
|
-
break;
|
|
79928
|
-
}
|
|
79929
|
+
function CancelReasonJSObject() {
|
|
79930
|
+
this.RemoteCancel = 'RemoteCancel';
|
|
79931
|
+
this.AnsweredElsewhere = 'AnsweredElsewhere';
|
|
79932
|
+
this.RejectedElsewhere = 'RejectedElsewhere';
|
|
79933
|
+
this.RemoteTimeout = 'RemoteTimeout';
|
|
79929
79934
|
}
|
|
79930
|
-
|
|
79931
|
-
|
|
79932
|
-
|
|
79933
|
-
|
|
79934
|
-
|
|
79935
|
-
|
|
79936
|
-
|
|
79937
|
-
|
|
79938
|
-
|
|
79939
|
-
|
|
79940
|
-
|
|
79941
|
-
|
|
79942
|
-
|
|
79943
|
-
|
|
79944
|
-
|
|
79945
|
-
|
|
79935
|
+
protoOf(CancelReasonJSObject).y3x = function () {
|
|
79936
|
+
return this.RemoteCancel;
|
|
79937
|
+
};
|
|
79938
|
+
protoOf(CancelReasonJSObject).z3x = function () {
|
|
79939
|
+
return this.AnsweredElsewhere;
|
|
79940
|
+
};
|
|
79941
|
+
protoOf(CancelReasonJSObject).a3y = function () {
|
|
79942
|
+
return this.RejectedElsewhere;
|
|
79943
|
+
};
|
|
79944
|
+
protoOf(CancelReasonJSObject).b3y = function () {
|
|
79945
|
+
return this.RemoteTimeout;
|
|
79946
|
+
};
|
|
79947
|
+
protoOf(CancelReasonJSObject).toString = function () {
|
|
79948
|
+
return 'CancelReasonJSObject';
|
|
79949
|
+
};
|
|
79950
|
+
protoOf(CancelReasonJSObject).hashCode = function () {
|
|
79951
|
+
return 1773502666;
|
|
79952
|
+
};
|
|
79953
|
+
protoOf(CancelReasonJSObject).equals = function (other) {
|
|
79954
|
+
if (this === other)
|
|
79955
|
+
return true;
|
|
79956
|
+
if (!(other instanceof CancelReasonJSObject))
|
|
79957
|
+
return false;
|
|
79958
|
+
other instanceof CancelReasonJSObject || THROW_CCE();
|
|
79959
|
+
return true;
|
|
79946
79960
|
};
|
|
79961
|
+
var CancelReasonJSObject_instance;
|
|
79962
|
+
function CancelReasonJSObject_getInstance() {
|
|
79963
|
+
return CancelReasonJSObject_instance;
|
|
79964
|
+
}
|
|
79947
79965
|
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) {
|
|
79948
79966
|
this.mos_score = mos_score;
|
|
79949
79967
|
this.quality_percentage = quality_percentage;
|
|
@@ -79955,31 +79973,31 @@ function requireClientsdkClientcore () {
|
|
|
79955
79973
|
this.packet_cnt = packet_cnt;
|
|
79956
79974
|
this.packet_loss_perc = packet_loss_perc;
|
|
79957
79975
|
}
|
|
79958
|
-
protoOf(RTCQualityJS).
|
|
79976
|
+
protoOf(RTCQualityJS).c3y = function () {
|
|
79959
79977
|
return this.mos_score;
|
|
79960
79978
|
};
|
|
79961
|
-
protoOf(RTCQualityJS).
|
|
79979
|
+
protoOf(RTCQualityJS).d3y = function () {
|
|
79962
79980
|
return this.quality_percentage;
|
|
79963
79981
|
};
|
|
79964
|
-
protoOf(RTCQualityJS).
|
|
79982
|
+
protoOf(RTCQualityJS).e3y = function () {
|
|
79965
79983
|
return this.jitter_min_var;
|
|
79966
79984
|
};
|
|
79967
|
-
protoOf(RTCQualityJS).
|
|
79985
|
+
protoOf(RTCQualityJS).f3y = function () {
|
|
79968
79986
|
return this.jitter_max_var;
|
|
79969
79987
|
};
|
|
79970
|
-
protoOf(RTCQualityJS).
|
|
79988
|
+
protoOf(RTCQualityJS).g3y = function () {
|
|
79971
79989
|
return this.jitter_loss_rate;
|
|
79972
79990
|
};
|
|
79973
|
-
protoOf(RTCQualityJS).
|
|
79991
|
+
protoOf(RTCQualityJS).h3y = function () {
|
|
79974
79992
|
return this.jitter_burst_rate;
|
|
79975
79993
|
};
|
|
79976
|
-
protoOf(RTCQualityJS).
|
|
79994
|
+
protoOf(RTCQualityJS).i3y = function () {
|
|
79977
79995
|
return this.flaw_total;
|
|
79978
79996
|
};
|
|
79979
|
-
protoOf(RTCQualityJS).
|
|
79997
|
+
protoOf(RTCQualityJS).j3y = function () {
|
|
79980
79998
|
return this.packet_cnt;
|
|
79981
79999
|
};
|
|
79982
|
-
protoOf(RTCQualityJS).
|
|
80000
|
+
protoOf(RTCQualityJS).k3y = function () {
|
|
79983
80001
|
return this.packet_loss_perc;
|
|
79984
80002
|
};
|
|
79985
80003
|
protoOf(RTCQualityJS).o5 = function () {
|
|
@@ -79988,28 +80006,28 @@ function requireClientsdkClientcore () {
|
|
|
79988
80006
|
protoOf(RTCQualityJS).p5 = function () {
|
|
79989
80007
|
return this.quality_percentage;
|
|
79990
80008
|
};
|
|
79991
|
-
protoOf(RTCQualityJS).
|
|
80009
|
+
protoOf(RTCQualityJS).l3y = function () {
|
|
79992
80010
|
return this.jitter_min_var;
|
|
79993
80011
|
};
|
|
79994
|
-
protoOf(RTCQualityJS).
|
|
80012
|
+
protoOf(RTCQualityJS).m3y = function () {
|
|
79995
80013
|
return this.jitter_max_var;
|
|
79996
80014
|
};
|
|
79997
|
-
protoOf(RTCQualityJS).
|
|
80015
|
+
protoOf(RTCQualityJS).n3y = function () {
|
|
79998
80016
|
return this.jitter_loss_rate;
|
|
79999
80017
|
};
|
|
80000
|
-
protoOf(RTCQualityJS).
|
|
80018
|
+
protoOf(RTCQualityJS).o3y = function () {
|
|
80001
80019
|
return this.jitter_burst_rate;
|
|
80002
80020
|
};
|
|
80003
|
-
protoOf(RTCQualityJS).
|
|
80021
|
+
protoOf(RTCQualityJS).p3y = function () {
|
|
80004
80022
|
return this.flaw_total;
|
|
80005
80023
|
};
|
|
80006
|
-
protoOf(RTCQualityJS).
|
|
80024
|
+
protoOf(RTCQualityJS).q3y = function () {
|
|
80007
80025
|
return this.packet_cnt;
|
|
80008
80026
|
};
|
|
80009
|
-
protoOf(RTCQualityJS).
|
|
80027
|
+
protoOf(RTCQualityJS).r3y = function () {
|
|
80010
80028
|
return this.packet_loss_perc;
|
|
80011
80029
|
};
|
|
80012
|
-
protoOf(RTCQualityJS).
|
|
80030
|
+
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) {
|
|
80013
80031
|
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);
|
|
80014
80032
|
};
|
|
80015
80033
|
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) {
|
|
@@ -80022,7 +80040,7 @@ function requireClientsdkClientcore () {
|
|
|
80022
80040
|
flaw_total = flaw_total === VOID ? this.flaw_total : flaw_total;
|
|
80023
80041
|
packet_cnt = packet_cnt === VOID ? this.packet_cnt : packet_cnt;
|
|
80024
80042
|
packet_loss_perc = packet_loss_perc === VOID ? this.packet_loss_perc : packet_loss_perc;
|
|
80025
|
-
return this.
|
|
80043
|
+
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);
|
|
80026
80044
|
};
|
|
80027
80045
|
protoOf(RTCQualityJS).toString = function () {
|
|
80028
80046
|
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 + ')';
|
|
@@ -80067,7 +80085,7 @@ function requireClientsdkClientcore () {
|
|
|
80067
80085
|
};
|
|
80068
80086
|
function Companion() {
|
|
80069
80087
|
}
|
|
80070
|
-
protoOf(Companion).
|
|
80088
|
+
protoOf(Companion).y3q = function (stats) {
|
|
80071
80089
|
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);
|
|
80072
80090
|
};
|
|
80073
80091
|
var Companion_instance_0;
|
|
@@ -80085,34 +80103,34 @@ function requireClientsdkClientcore () {
|
|
|
80085
80103
|
this.audioRtt = audioRtt;
|
|
80086
80104
|
this.audioSentJitter = audioSentJitter;
|
|
80087
80105
|
}
|
|
80088
|
-
protoOf(RTCStatsJS).
|
|
80106
|
+
protoOf(RTCStatsJS).t3y = function () {
|
|
80089
80107
|
return this.audioRecvPackets;
|
|
80090
80108
|
};
|
|
80091
|
-
protoOf(RTCStatsJS).
|
|
80109
|
+
protoOf(RTCStatsJS).u3y = function () {
|
|
80092
80110
|
return this.audioRecvPacketsLost;
|
|
80093
80111
|
};
|
|
80094
|
-
protoOf(RTCStatsJS).
|
|
80112
|
+
protoOf(RTCStatsJS).v3y = function () {
|
|
80095
80113
|
return this.audioRecvBytes;
|
|
80096
80114
|
};
|
|
80097
|
-
protoOf(RTCStatsJS).
|
|
80115
|
+
protoOf(RTCStatsJS).w3y = function () {
|
|
80098
80116
|
return this.audioRecvJitter;
|
|
80099
80117
|
};
|
|
80100
|
-
protoOf(RTCStatsJS).
|
|
80118
|
+
protoOf(RTCStatsJS).x3y = function () {
|
|
80101
80119
|
return this.audioSentPackets;
|
|
80102
80120
|
};
|
|
80103
|
-
protoOf(RTCStatsJS).
|
|
80121
|
+
protoOf(RTCStatsJS).y3y = function () {
|
|
80104
80122
|
return this.audioSentBytes;
|
|
80105
80123
|
};
|
|
80106
|
-
protoOf(RTCStatsJS).
|
|
80124
|
+
protoOf(RTCStatsJS).z3y = function () {
|
|
80107
80125
|
return this.audioSentPacketsLost;
|
|
80108
80126
|
};
|
|
80109
|
-
protoOf(RTCStatsJS).
|
|
80127
|
+
protoOf(RTCStatsJS).a3z = function () {
|
|
80110
80128
|
return this.audioRtt;
|
|
80111
80129
|
};
|
|
80112
|
-
protoOf(RTCStatsJS).
|
|
80130
|
+
protoOf(RTCStatsJS).b3z = function () {
|
|
80113
80131
|
return this.audioSentJitter;
|
|
80114
80132
|
};
|
|
80115
|
-
protoOf(RTCStatsJS).
|
|
80133
|
+
protoOf(RTCStatsJS).c3z = function () {
|
|
80116
80134
|
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));
|
|
80117
80135
|
};
|
|
80118
80136
|
protoOf(RTCStatsJS).o5 = function () {
|
|
@@ -80121,28 +80139,28 @@ function requireClientsdkClientcore () {
|
|
|
80121
80139
|
protoOf(RTCStatsJS).p5 = function () {
|
|
80122
80140
|
return this.audioRecvPacketsLost;
|
|
80123
80141
|
};
|
|
80124
|
-
protoOf(RTCStatsJS).
|
|
80142
|
+
protoOf(RTCStatsJS).l3y = function () {
|
|
80125
80143
|
return this.audioRecvBytes;
|
|
80126
80144
|
};
|
|
80127
|
-
protoOf(RTCStatsJS).
|
|
80145
|
+
protoOf(RTCStatsJS).m3y = function () {
|
|
80128
80146
|
return this.audioRecvJitter;
|
|
80129
80147
|
};
|
|
80130
|
-
protoOf(RTCStatsJS).
|
|
80148
|
+
protoOf(RTCStatsJS).n3y = function () {
|
|
80131
80149
|
return this.audioSentPackets;
|
|
80132
80150
|
};
|
|
80133
|
-
protoOf(RTCStatsJS).
|
|
80151
|
+
protoOf(RTCStatsJS).o3y = function () {
|
|
80134
80152
|
return this.audioSentBytes;
|
|
80135
80153
|
};
|
|
80136
|
-
protoOf(RTCStatsJS).
|
|
80154
|
+
protoOf(RTCStatsJS).p3y = function () {
|
|
80137
80155
|
return this.audioSentPacketsLost;
|
|
80138
80156
|
};
|
|
80139
|
-
protoOf(RTCStatsJS).
|
|
80157
|
+
protoOf(RTCStatsJS).q3y = function () {
|
|
80140
80158
|
return this.audioRtt;
|
|
80141
80159
|
};
|
|
80142
|
-
protoOf(RTCStatsJS).
|
|
80160
|
+
protoOf(RTCStatsJS).r3y = function () {
|
|
80143
80161
|
return this.audioSentJitter;
|
|
80144
80162
|
};
|
|
80145
|
-
protoOf(RTCStatsJS).
|
|
80163
|
+
protoOf(RTCStatsJS).d3z = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter) {
|
|
80146
80164
|
return new RTCStatsJS(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter);
|
|
80147
80165
|
};
|
|
80148
80166
|
protoOf(RTCStatsJS).copy = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, $super) {
|
|
@@ -80155,7 +80173,7 @@ function requireClientsdkClientcore () {
|
|
|
80155
80173
|
audioSentPacketsLost = audioSentPacketsLost === VOID ? this.audioSentPacketsLost : audioSentPacketsLost;
|
|
80156
80174
|
audioRtt = audioRtt === VOID ? this.audioRtt : audioRtt;
|
|
80157
80175
|
audioSentJitter = audioSentJitter === VOID ? this.audioSentJitter : audioSentJitter;
|
|
80158
|
-
return this.
|
|
80176
|
+
return this.d3z(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter);
|
|
80159
80177
|
};
|
|
80160
80178
|
protoOf(RTCStatsJS).toString = function () {
|
|
80161
80179
|
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) + ')';
|
|
@@ -80201,20 +80219,20 @@ function requireClientsdkClientcore () {
|
|
|
80201
80219
|
function HttpClientJSAdapter(js) {
|
|
80202
80220
|
return new HttpClientJSAdapter$1(js);
|
|
80203
80221
|
}
|
|
80204
|
-
function
|
|
80222
|
+
function map_14(_this__u8e3s4) {
|
|
80205
80223
|
var tmp;
|
|
80206
80224
|
switch (_this__u8e3s4.z7_1) {
|
|
80207
80225
|
case 2:
|
|
80208
|
-
tmp =
|
|
80226
|
+
tmp = CancelReasonJSObject_instance.RemoteCancel;
|
|
80209
80227
|
break;
|
|
80210
80228
|
case 0:
|
|
80211
|
-
tmp =
|
|
80229
|
+
tmp = CancelReasonJSObject_instance.AnsweredElsewhere;
|
|
80212
80230
|
break;
|
|
80213
80231
|
case 1:
|
|
80214
|
-
tmp =
|
|
80232
|
+
tmp = CancelReasonJSObject_instance.RejectedElsewhere;
|
|
80215
80233
|
break;
|
|
80216
80234
|
case 3:
|
|
80217
|
-
tmp =
|
|
80235
|
+
tmp = CancelReasonJSObject_instance.RemoteTimeout;
|
|
80218
80236
|
break;
|
|
80219
80237
|
default:
|
|
80220
80238
|
noWhenBranchMatchedException();
|
|
@@ -80222,7 +80240,7 @@ function requireClientsdkClientcore () {
|
|
|
80222
80240
|
}
|
|
80223
80241
|
return tmp;
|
|
80224
80242
|
}
|
|
80225
|
-
function
|
|
80243
|
+
function map_15(_this__u8e3s4) {
|
|
80226
80244
|
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);
|
|
80227
80245
|
}
|
|
80228
80246
|
function SocketClientJSAdapter(js) {
|
|
@@ -80274,7 +80292,7 @@ function requireClientsdkClientcore () {
|
|
|
80274
80292
|
};
|
|
80275
80293
|
}
|
|
80276
80294
|
function HttpClientJSAdapter$1($js) {
|
|
80277
|
-
this.
|
|
80295
|
+
this.e3z_1 = $js;
|
|
80278
80296
|
}
|
|
80279
80297
|
protoOf(HttpClientJSAdapter$1).j3h = function (verb, url, headers, body, callback) {
|
|
80280
80298
|
var tmp = verb.toString();
|
|
@@ -80282,7 +80300,7 @@ function requireClientsdkClientcore () {
|
|
|
80282
80300
|
// Inline function 'kotlin.contracts.contract' call
|
|
80283
80301
|
// Inline function 'vonage.<no name provided>.request.<anonymous>' call
|
|
80284
80302
|
var tmp_0 = fromMap(JSON, headers);
|
|
80285
|
-
this.
|
|
80303
|
+
this.e3z_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
|
|
80286
80304
|
};
|
|
80287
80305
|
function SocketClientJSAdapter$o$emit$lambda($callback) {
|
|
80288
80306
|
return function (err, response) {
|
|
@@ -80300,11 +80318,11 @@ function requireClientsdkClientcore () {
|
|
|
80300
80318
|
};
|
|
80301
80319
|
}
|
|
80302
80320
|
function SocketClientJSAdapter$adapter$1($js) {
|
|
80303
|
-
this.
|
|
80304
|
-
this.
|
|
80321
|
+
this.g3z_1 = $js;
|
|
80322
|
+
this.f3z_1 = null;
|
|
80305
80323
|
}
|
|
80306
80324
|
protoOf(SocketClientJSAdapter$adapter$1).m3h = function (_set____db54di) {
|
|
80307
|
-
this.
|
|
80325
|
+
this.f3z_1 = _set____db54di;
|
|
80308
80326
|
};
|
|
80309
80327
|
protoOf(SocketClientJSAdapter$adapter$1).n3h = function (type, msg, callback) {
|
|
80310
80328
|
var tmp;
|
|
@@ -80317,28 +80335,28 @@ function requireClientsdkClientcore () {
|
|
|
80317
80335
|
tmp = fromMap(JSON, msg);
|
|
80318
80336
|
}
|
|
80319
80337
|
var tmp_0 = tmp;
|
|
80320
|
-
this.
|
|
80338
|
+
this.g3z_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
|
|
80321
80339
|
};
|
|
80322
80340
|
protoOf(SocketClientJSAdapter$adapter$1).o3h = function (host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, sessionId, query) {
|
|
80323
|
-
this.
|
|
80341
|
+
this.g3z_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, sessionId, query);
|
|
80324
80342
|
};
|
|
80325
80343
|
protoOf(SocketClientJSAdapter$adapter$1).p3h = function () {
|
|
80326
|
-
this.
|
|
80344
|
+
this.g3z_1.disconnect();
|
|
80327
80345
|
};
|
|
80328
80346
|
protoOf(SocketClientJSAdapter$adapter$1).q3h = function (sessionId, token) {
|
|
80329
|
-
this.
|
|
80347
|
+
this.g3z_1.setConnectParamsSocketConfig(sessionId, token);
|
|
80330
80348
|
};
|
|
80331
80349
|
protoOf(SocketClientJSAdapter$adapter$1).r3h = function (sessionId) {
|
|
80332
|
-
this.
|
|
80350
|
+
this.g3z_1.setSocketSessionId(sessionId);
|
|
80333
80351
|
};
|
|
80334
80352
|
protoOf(SocketClientJSAdapter$adapter$1).s3h = function (milliseconds, callback) {
|
|
80335
|
-
this.
|
|
80353
|
+
this.g3z_1.startVerifyResponseTimer(milliseconds, callback);
|
|
80336
80354
|
};
|
|
80337
80355
|
function SocketClientJSAdapter$1($adapter) {
|
|
80338
|
-
this.
|
|
80356
|
+
this.h3z_1 = $adapter;
|
|
80339
80357
|
}
|
|
80340
80358
|
protoOf(SocketClientJSAdapter$1).didReceiveNewSocketEvent = function (body) {
|
|
80341
|
-
var tmp0_safe_receiver = this.
|
|
80359
|
+
var tmp0_safe_receiver = this.h3z_1.f3z_1;
|
|
80342
80360
|
if (tmp0_safe_receiver == null)
|
|
80343
80361
|
;
|
|
80344
80362
|
else {
|
|
@@ -80370,31 +80388,31 @@ function requireClientsdkClientcore () {
|
|
|
80370
80388
|
var it = tmp1_safe_receiver;
|
|
80371
80389
|
switch (reason) {
|
|
80372
80390
|
case 'NXMCORE_REASON_SERVER_DISCONNECTED':
|
|
80373
|
-
var tmp1_safe_receiver_0 = this.
|
|
80391
|
+
var tmp1_safe_receiver_0 = this.h3z_1.f3z_1;
|
|
80374
80392
|
if (tmp1_safe_receiver_0 == null) ; else {
|
|
80375
80393
|
tmp1_safe_receiver_0.u3i(it, SocketConnectionFailedReason_ServerDisconnected_getInstance(), timestamp, retryNumber);
|
|
80376
80394
|
}
|
|
80377
80395
|
break;
|
|
80378
80396
|
case 'NXMCORE_REASON_CLIENT_DISCONNECTED':
|
|
80379
|
-
var tmp2_safe_receiver = this.
|
|
80397
|
+
var tmp2_safe_receiver = this.h3z_1.f3z_1;
|
|
80380
80398
|
if (tmp2_safe_receiver == null) ; else {
|
|
80381
80399
|
tmp2_safe_receiver.u3i(it, SocketConnectionFailedReason_ClientDisconnected_getInstance(), timestamp, retryNumber);
|
|
80382
80400
|
}
|
|
80383
80401
|
break;
|
|
80384
80402
|
case 'NXMCORE_CLIENT_NETWORK_ERROR':
|
|
80385
|
-
var tmp3_safe_receiver = this.
|
|
80403
|
+
var tmp3_safe_receiver = this.h3z_1.f3z_1;
|
|
80386
80404
|
if (tmp3_safe_receiver == null) ; else {
|
|
80387
80405
|
tmp3_safe_receiver.u3i(it, SocketConnectionFailedReason_ClientNetworkError_getInstance(), timestamp, retryNumber);
|
|
80388
80406
|
}
|
|
80389
80407
|
break;
|
|
80390
80408
|
case 'NXMCORE_REASON_PING_TIMEOUT':
|
|
80391
|
-
var tmp4_safe_receiver = this.
|
|
80409
|
+
var tmp4_safe_receiver = this.h3z_1.f3z_1;
|
|
80392
80410
|
if (tmp4_safe_receiver == null) ; else {
|
|
80393
80411
|
tmp4_safe_receiver.u3i(it, SocketConnectionFailedReason_PingTimeout_getInstance(), timestamp, retryNumber);
|
|
80394
80412
|
}
|
|
80395
80413
|
break;
|
|
80396
80414
|
default:
|
|
80397
|
-
var tmp5_safe_receiver = this.
|
|
80415
|
+
var tmp5_safe_receiver = this.h3z_1.f3z_1;
|
|
80398
80416
|
if (tmp5_safe_receiver == null) ; else {
|
|
80399
80417
|
tmp5_safe_receiver.u3i(it, null, timestamp, retryNumber);
|
|
80400
80418
|
}
|
|
@@ -80404,88 +80422,88 @@ function requireClientsdkClientcore () {
|
|
|
80404
80422
|
};
|
|
80405
80423
|
function MediaClientJSAdapter$o$processAnswer$lambda($closure) {
|
|
80406
80424
|
return function (it) {
|
|
80407
|
-
$closure(it == null ? null : it.
|
|
80425
|
+
$closure(it == null ? null : it.x3v());
|
|
80408
80426
|
return Unit_instance;
|
|
80409
80427
|
};
|
|
80410
80428
|
}
|
|
80411
80429
|
function MediaClientJSAdapter$o$disableMedia$lambda($closure) {
|
|
80412
80430
|
return function (it) {
|
|
80413
|
-
$closure(it == null ? null : it.
|
|
80431
|
+
$closure(it == null ? null : it.x3v());
|
|
80414
80432
|
return Unit_instance;
|
|
80415
80433
|
};
|
|
80416
80434
|
}
|
|
80417
80435
|
function MediaClientJSAdapter$o$mute$lambda($closure) {
|
|
80418
80436
|
return function (it) {
|
|
80419
|
-
$closure(it == null ? null : it.
|
|
80437
|
+
$closure(it == null ? null : it.x3v());
|
|
80420
80438
|
return Unit_instance;
|
|
80421
80439
|
};
|
|
80422
80440
|
}
|
|
80423
80441
|
function MediaClientJSAdapter$o$unmute$lambda($closure) {
|
|
80424
80442
|
return function (it) {
|
|
80425
|
-
$closure(it == null ? null : it.
|
|
80443
|
+
$closure(it == null ? null : it.x3v());
|
|
80426
80444
|
return Unit_instance;
|
|
80427
80445
|
};
|
|
80428
80446
|
}
|
|
80429
80447
|
function MediaClientJSAdapter$o$enableRtcStatsCollection$lambda($closure) {
|
|
80430
80448
|
return function (it) {
|
|
80431
|
-
$closure(it == null ? null : it.
|
|
80449
|
+
$closure(it == null ? null : it.x3v());
|
|
80432
80450
|
return Unit_instance;
|
|
80433
80451
|
};
|
|
80434
80452
|
}
|
|
80435
80453
|
function MediaClientJSAdapter$adapter$1($js) {
|
|
80436
|
-
this.
|
|
80437
|
-
this.
|
|
80454
|
+
this.j3z_1 = $js;
|
|
80455
|
+
this.i3z_1 = null;
|
|
80438
80456
|
}
|
|
80439
80457
|
protoOf(MediaClientJSAdapter$adapter$1).v3h = function (_set____db54di) {
|
|
80440
|
-
this.
|
|
80458
|
+
this.i3z_1 = _set____db54di;
|
|
80441
80459
|
};
|
|
80442
80460
|
protoOf(MediaClientJSAdapter$adapter$1).w3h = function () {
|
|
80443
|
-
return this.
|
|
80461
|
+
return this.i3z_1;
|
|
80444
80462
|
};
|
|
80445
80463
|
protoOf(MediaClientJSAdapter$adapter$1).x3h = function (closure) {
|
|
80446
|
-
this.
|
|
80464
|
+
this.j3z_1.enableMediaOutbound(closure);
|
|
80447
80465
|
};
|
|
80448
|
-
protoOf(MediaClientJSAdapter$adapter$1).
|
|
80449
|
-
this.
|
|
80466
|
+
protoOf(MediaClientJSAdapter$adapter$1).k3z = function (rtcId, offerSDP, closure) {
|
|
80467
|
+
this.j3z_1.enableMediaInbound(rtcId, offerSDP, closure);
|
|
80450
80468
|
};
|
|
80451
80469
|
protoOf(MediaClientJSAdapter$adapter$1).y3h = function (rtcId, offerSDP, closure) {
|
|
80452
|
-
return this.
|
|
80470
|
+
return this.k3z(rtcId, offerSDP, closure);
|
|
80453
80471
|
};
|
|
80454
80472
|
protoOf(MediaClientJSAdapter$adapter$1).z3h = function (id, sdp, closure) {
|
|
80455
|
-
this.
|
|
80473
|
+
this.j3z_1.processAnswer(id, sdp, MediaClientJSAdapter$o$processAnswer$lambda(closure));
|
|
80456
80474
|
};
|
|
80457
80475
|
protoOf(MediaClientJSAdapter$adapter$1).a3i = function (id, closure) {
|
|
80458
|
-
this.
|
|
80476
|
+
this.j3z_1.disableMedia(id, MediaClientJSAdapter$o$disableMedia$lambda(closure));
|
|
80459
80477
|
};
|
|
80460
80478
|
protoOf(MediaClientJSAdapter$adapter$1).b3i = function (id, closure) {
|
|
80461
|
-
this.
|
|
80479
|
+
this.j3z_1.mute(id, MediaClientJSAdapter$o$mute$lambda(closure));
|
|
80462
80480
|
};
|
|
80463
80481
|
protoOf(MediaClientJSAdapter$adapter$1).c3i = function (id, closure) {
|
|
80464
|
-
this.
|
|
80482
|
+
this.j3z_1.unmute(id, MediaClientJSAdapter$o$unmute$lambda(closure));
|
|
80465
80483
|
};
|
|
80466
80484
|
protoOf(MediaClientJSAdapter$adapter$1).e3i = function (id, closure) {
|
|
80467
80485
|
};
|
|
80468
80486
|
protoOf(MediaClientJSAdapter$adapter$1).f3i = function (id, closure) {
|
|
80469
80487
|
};
|
|
80470
80488
|
protoOf(MediaClientJSAdapter$adapter$1).d3i = function (id, interval, closure) {
|
|
80471
|
-
this.
|
|
80489
|
+
this.j3z_1.enableRtcStatsCollection(id, interval, MediaClientJSAdapter$o$enableRtcStatsCollection$lambda(closure));
|
|
80472
80490
|
};
|
|
80473
80491
|
protoOf(MediaClientJSAdapter$adapter$1).g3i = function (id) {
|
|
80474
|
-
return coreConnectionState(this.
|
|
80492
|
+
return coreConnectionState(this.j3z_1.getMediaConnectionState(id));
|
|
80475
80493
|
};
|
|
80476
80494
|
function MediaClientJSAdapter$1($adapter) {
|
|
80477
|
-
this.
|
|
80495
|
+
this.l3z_1 = $adapter;
|
|
80478
80496
|
}
|
|
80479
80497
|
protoOf(MediaClientJSAdapter$1).onRtcStats = function (id, rtcStats) {
|
|
80480
|
-
var tmp0_safe_receiver = this.
|
|
80498
|
+
var tmp0_safe_receiver = this.l3z_1.i3z_1;
|
|
80481
80499
|
if (tmp0_safe_receiver == null)
|
|
80482
80500
|
;
|
|
80483
80501
|
else {
|
|
80484
|
-
tmp0_safe_receiver.x3i(id, rtcStats.
|
|
80502
|
+
tmp0_safe_receiver.x3i(id, rtcStats.c3z());
|
|
80485
80503
|
}
|
|
80486
80504
|
};
|
|
80487
80505
|
protoOf(MediaClientJSAdapter$1).onConnectionChange = function (id, state) {
|
|
80488
|
-
var tmp0_safe_receiver = this.
|
|
80506
|
+
var tmp0_safe_receiver = this.l3z_1.i3z_1;
|
|
80489
80507
|
if (tmp0_safe_receiver == null)
|
|
80490
80508
|
;
|
|
80491
80509
|
else {
|
|
@@ -80493,29 +80511,13 @@ function requireClientsdkClientcore () {
|
|
|
80493
80511
|
}
|
|
80494
80512
|
};
|
|
80495
80513
|
protoOf(MediaClientJSAdapter$1).onMediaError = function (id, error) {
|
|
80496
|
-
var tmp0_safe_receiver = this.
|
|
80514
|
+
var tmp0_safe_receiver = this.l3z_1.i3z_1;
|
|
80497
80515
|
if (tmp0_safe_receiver == null)
|
|
80498
80516
|
;
|
|
80499
80517
|
else {
|
|
80500
|
-
tmp0_safe_receiver.z3i(id, error.
|
|
80518
|
+
tmp0_safe_receiver.z3i(id, error.x3v());
|
|
80501
80519
|
}
|
|
80502
80520
|
};
|
|
80503
|
-
function CancelReasonJS_RemoteCancel_getInstance() {
|
|
80504
|
-
CancelReasonJS_initEntries();
|
|
80505
|
-
return CancelReasonJS_RemoteCancel_instance;
|
|
80506
|
-
}
|
|
80507
|
-
function CancelReasonJS_AnsweredElsewhere_getInstance() {
|
|
80508
|
-
CancelReasonJS_initEntries();
|
|
80509
|
-
return CancelReasonJS_AnsweredElsewhere_instance;
|
|
80510
|
-
}
|
|
80511
|
-
function CancelReasonJS_RejectedElsewhere_getInstance() {
|
|
80512
|
-
CancelReasonJS_initEntries();
|
|
80513
|
-
return CancelReasonJS_RejectedElsewhere_instance;
|
|
80514
|
-
}
|
|
80515
|
-
function CancelReasonJS_RemoteTimeout_getInstance() {
|
|
80516
|
-
CancelReasonJS_initEntries();
|
|
80517
|
-
return CancelReasonJS_RemoteTimeout_instance;
|
|
80518
|
-
}
|
|
80519
80521
|
function invoke(_this__u8e3s4, optionJS) {
|
|
80520
80522
|
var tmp;
|
|
80521
80523
|
if (optionJS instanceof None) {
|
|
@@ -80542,7 +80544,7 @@ function requireClientsdkClientcore () {
|
|
|
80542
80544
|
}
|
|
80543
80545
|
return tmp;
|
|
80544
80546
|
}
|
|
80545
|
-
function
|
|
80547
|
+
function map_16(_this__u8e3s4) {
|
|
80546
80548
|
var tmp1_name = _this__u8e3s4.name;
|
|
80547
80549
|
var tmp2_displayName = _this__u8e3s4.displayName;
|
|
80548
80550
|
var tmp3_imageUrl = _this__u8e3s4.imageUrl;
|
|
@@ -80552,7 +80554,7 @@ function requireClientsdkClientcore () {
|
|
|
80552
80554
|
var tmp6_customSortKey = _this__u8e3s4.customSortKey;
|
|
80553
80555
|
return new CreateConversationParameters(tmp1_name, tmp2_displayName, tmp3_imageUrl, tmp4_ttl, tmp6_customSortKey, tmp5_customData);
|
|
80554
80556
|
}
|
|
80555
|
-
function
|
|
80557
|
+
function map_17(_this__u8e3s4) {
|
|
80556
80558
|
var tmp0_name = invoke(Companion_instance, _this__u8e3s4.name);
|
|
80557
80559
|
var tmp1_displayName = invoke(Companion_instance, _this__u8e3s4.displayName);
|
|
80558
80560
|
var tmp2_imageUrl = invoke(Companion_instance, _this__u8e3s4.imageUrl);
|
|
@@ -80561,7 +80563,7 @@ function requireClientsdkClientcore () {
|
|
|
80561
80563
|
var tmp5_customSortKey = invoke(Companion_instance, _this__u8e3s4.customSortKey);
|
|
80562
80564
|
return new UpdateConversationParameters(tmp0_name, tmp1_displayName, tmp2_imageUrl, tmp3_ttl, tmp5_customSortKey, tmp4_customData);
|
|
80563
80565
|
}
|
|
80564
|
-
function
|
|
80566
|
+
function map_18(_this__u8e3s4) {
|
|
80565
80567
|
var tmp0_safe_receiver = _this__u8e3s4.order;
|
|
80566
80568
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
|
|
80567
80569
|
var tmp1_safe_receiver = _this__u8e3s4.pageSize;
|
|
@@ -80571,7 +80573,7 @@ function requireClientsdkClientcore () {
|
|
|
80571
80573
|
var tmp2_safe_receiver = _this__u8e3s4.orderBy;
|
|
80572
80574
|
return new GetConversationsParameters(tmp, tmp_0, tmp_1, tmp_2, tmp2_safe_receiver == null ? null : tmp2_safe_receiver.coreOrderBy);
|
|
80573
80575
|
}
|
|
80574
|
-
function
|
|
80576
|
+
function map_19(_this__u8e3s4) {
|
|
80575
80577
|
var tmp0_safe_receiver = _this__u8e3s4.order;
|
|
80576
80578
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
|
|
80577
80579
|
var tmp1_safe_receiver = _this__u8e3s4.pageSize;
|
|
@@ -80600,13 +80602,13 @@ function requireClientsdkClientcore () {
|
|
|
80600
80602
|
var tmp3_safe_receiver = _this__u8e3s4.startId;
|
|
80601
80603
|
return new GetConversationEventsParameters(tmp, tmp_0, tmp_1, tmp_3, tmp_4, tmp3_safe_receiver == null ? null : numberToInt(tmp3_safe_receiver));
|
|
80602
80604
|
}
|
|
80603
|
-
function
|
|
80605
|
+
function map_20(_this__u8e3s4) {
|
|
80604
80606
|
var tmp0_safe_receiver = _this__u8e3s4.order;
|
|
80605
80607
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
|
|
80606
80608
|
var tmp1_safe_receiver = _this__u8e3s4.pageSize;
|
|
80607
80609
|
return new GetConversationMembersParameters(tmp, tmp1_safe_receiver == null ? null : numberToInt(tmp1_safe_receiver), _this__u8e3s4.cursor);
|
|
80608
80610
|
}
|
|
80609
|
-
function
|
|
80611
|
+
function map_21(_this__u8e3s4) {
|
|
80610
80612
|
var tmp0_safe_receiver = _this__u8e3s4.order;
|
|
80611
80613
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
|
|
80612
80614
|
var tmp1_safe_receiver = _this__u8e3s4.pageSize;
|
|
@@ -80740,12 +80742,12 @@ function requireClientsdkClientcore () {
|
|
|
80740
80742
|
protoOf(Some).o5 = function () {
|
|
80741
80743
|
return this.value;
|
|
80742
80744
|
};
|
|
80743
|
-
protoOf(Some).
|
|
80745
|
+
protoOf(Some).m3z = function (value) {
|
|
80744
80746
|
return new Some(value);
|
|
80745
80747
|
};
|
|
80746
80748
|
protoOf(Some).copy = function (value, $super) {
|
|
80747
80749
|
value = value === VOID ? this.value : value;
|
|
80748
|
-
return this.
|
|
80750
|
+
return this.m3z(value);
|
|
80749
80751
|
};
|
|
80750
80752
|
protoOf(Some).toString = function () {
|
|
80751
80753
|
return 'Some(value=' + this.value + ')';
|
|
@@ -80959,10 +80961,10 @@ function requireClientsdkClientcore () {
|
|
|
80959
80961
|
protoOf(CombinedClientJS).disableEarmuff = disableEarmuff;
|
|
80960
80962
|
protoOf(CombinedClientJS).sendDTMF = sendDTMF;
|
|
80961
80963
|
defineProp(protoOf(CombinedClientJS), 'media', function () {
|
|
80962
|
-
return this.
|
|
80964
|
+
return this.a3r();
|
|
80963
80965
|
});
|
|
80964
80966
|
defineProp(protoOf(CombinedClientJS), 'core', function () {
|
|
80965
|
-
return this.
|
|
80967
|
+
return this.b3r();
|
|
80966
80968
|
});
|
|
80967
80969
|
defineProp(protoOf(EventStateTypeJS), 'name', protoOf(EventStateTypeJS).a9);
|
|
80968
80970
|
defineProp(protoOf(EventStateTypeJS), 'ordinal', protoOf(EventStateTypeJS).b9);
|
|
@@ -80970,39 +80972,37 @@ function requireClientsdkClientcore () {
|
|
|
80970
80972
|
defineProp(protoOf(PresentingOrderJS), 'ordinal', protoOf(PresentingOrderJS).b9);
|
|
80971
80973
|
defineProp(protoOf(OrderByJS), 'name', protoOf(OrderByJS).a9);
|
|
80972
80974
|
defineProp(protoOf(OrderByJS), 'ordinal', protoOf(OrderByJS).b9);
|
|
80973
|
-
defineProp(protoOf(ChannelTypeJS), 'name', protoOf(ChannelTypeJS).a9);
|
|
80974
|
-
defineProp(protoOf(ChannelTypeJS), 'ordinal', protoOf(ChannelTypeJS).b9);
|
|
80975
80975
|
defineProp(protoOf(VonageErrorTypeJS), 'name', protoOf(VonageErrorTypeJS).a9);
|
|
80976
80976
|
defineProp(protoOf(VonageErrorTypeJS), 'ordinal', protoOf(VonageErrorTypeJS).b9);
|
|
80977
80977
|
defineProp(protoOf(CoreClientConfigRegionJS), 'name', protoOf(CoreClientConfigRegionJS).a9);
|
|
80978
80978
|
defineProp(protoOf(CoreClientConfigRegionJS), 'ordinal', protoOf(CoreClientConfigRegionJS).b9);
|
|
80979
80979
|
defineProp(protoOf(CoreClientConfigJS), 'apiUrl', function () {
|
|
80980
|
-
return this.
|
|
80980
|
+
return this.n3w();
|
|
80981
80981
|
}, function (value) {
|
|
80982
|
-
this.
|
|
80982
|
+
this.m3w(value);
|
|
80983
80983
|
});
|
|
80984
80984
|
defineProp(protoOf(CoreClientConfigJS), 'websocketUrl', function () {
|
|
80985
|
-
return this.
|
|
80985
|
+
return this.p3w();
|
|
80986
80986
|
}, function (value) {
|
|
80987
|
-
this.
|
|
80987
|
+
this.o3w(value);
|
|
80988
80988
|
});
|
|
80989
80989
|
defineProp(protoOf(CoreClientConfigJS), 'websocketPath', function () {
|
|
80990
|
-
return this.
|
|
80990
|
+
return this.r3w();
|
|
80991
80991
|
}, function (value) {
|
|
80992
|
-
this.
|
|
80992
|
+
this.q3w(value);
|
|
80993
80993
|
});
|
|
80994
80994
|
defineProp(protoOf(CoreClientConfigJS), 'rtcStatsTelemetry', function () {
|
|
80995
|
-
return this.
|
|
80995
|
+
return this.t3w();
|
|
80996
80996
|
}, function (value) {
|
|
80997
|
-
this.
|
|
80997
|
+
this.s3w(value);
|
|
80998
80998
|
});
|
|
80999
80999
|
defineProp(protoOf(CoreClientConfigJS), 'autoReconnectMedia', function () {
|
|
81000
|
-
return this.
|
|
81000
|
+
return this.v3w();
|
|
81001
81001
|
}, function (value) {
|
|
81002
|
-
this.
|
|
81002
|
+
this.u3w(value);
|
|
81003
81003
|
});
|
|
81004
81004
|
defineProp(protoOf(CoreClientConfigJS), 'noiseSuppression', function () {
|
|
81005
|
-
return this.
|
|
81005
|
+
return this.w3w();
|
|
81006
81006
|
});
|
|
81007
81007
|
defineProp(protoOf(Topics), 'name', protoOf(Topics).a9);
|
|
81008
81008
|
defineProp(protoOf(Topics), 'ordinal', protoOf(Topics).b9);
|
|
@@ -81019,28 +81019,25 @@ function requireClientsdkClientcore () {
|
|
|
81019
81019
|
defineProp(protoOf(createVonageLoggerJS$1), 'topics', function () {
|
|
81020
81020
|
return this.k3f();
|
|
81021
81021
|
});
|
|
81022
|
-
defineProp(protoOf(LegStatusJS), 'name', protoOf(LegStatusJS).a9);
|
|
81023
|
-
defineProp(protoOf(LegStatusJS), 'ordinal', protoOf(LegStatusJS).b9);
|
|
81024
|
-
defineProp(protoOf(CallDisconnectReasonJS), 'name', protoOf(CallDisconnectReasonJS).a9);
|
|
81025
|
-
defineProp(protoOf(CallDisconnectReasonJS), 'ordinal', protoOf(CallDisconnectReasonJS).b9);
|
|
81026
|
-
defineProp(protoOf(HangupReasonJS), 'name', protoOf(HangupReasonJS).a9);
|
|
81027
|
-
defineProp(protoOf(HangupReasonJS), 'ordinal', protoOf(HangupReasonJS).b9);
|
|
81028
81022
|
defineProp(protoOf(HttpClientErrorJS), 'message', function () {
|
|
81029
81023
|
return this.ra();
|
|
81030
81024
|
});
|
|
81031
81025
|
defineProp(protoOf(HttpClientErrorJS), 'cause', function () {
|
|
81032
81026
|
return this.sa();
|
|
81033
81027
|
});
|
|
81034
|
-
defineProp(protoOf(HttpClientErrorJS), 'coreError', protoOf(HttpClientErrorJS).
|
|
81035
|
-
defineProp(protoOf(CancelReasonJS), 'name', protoOf(CancelReasonJS).a9);
|
|
81036
|
-
defineProp(protoOf(CancelReasonJS), 'ordinal', protoOf(CancelReasonJS).b9);
|
|
81028
|
+
defineProp(protoOf(HttpClientErrorJS), 'coreError', protoOf(HttpClientErrorJS).x3v);
|
|
81037
81029
|
//endregion
|
|
81038
81030
|
//region block: init
|
|
81031
|
+
VoiceChannelTypeObject_instance = new VoiceChannelTypeObject();
|
|
81039
81032
|
SystemJS_instance = new SystemJS();
|
|
81040
81033
|
ConversationStateJS_instance = new ConversationStateJS();
|
|
81041
81034
|
MemberStateJSObj_instance = new MemberStateJSObj();
|
|
81035
|
+
ChannelTypeObj_instance = new ChannelTypeObj();
|
|
81042
81036
|
CSErrorCodesJS_instance = new CSErrorCodesJS();
|
|
81043
81037
|
SessionErrorCodesJS_instance = new SessionErrorCodesJS();
|
|
81038
|
+
LegStatusJSObject_instance = new LegStatusJSObject();
|
|
81039
|
+
CallDisconnectReasonJSObject_instance = new CallDisconnectReasonJSObject();
|
|
81040
|
+
HangupReasonJSObject_instance = new HangupReasonJSObject();
|
|
81044
81041
|
SOCKET_CONNECTED = 'NXMCORE_SOCKET_CONNECTED';
|
|
81045
81042
|
SOCKET_RECONNECTING = 'NXMCORE_SOCKET_RECONNECTING';
|
|
81046
81043
|
SOCKET_DISCONNECTED = 'NXMCORE_SOCKET_DISCONNECTED';
|
|
@@ -81048,12 +81045,14 @@ function requireClientsdkClientcore () {
|
|
|
81048
81045
|
REASON_CLIENT_DISCONNECTED = 'NXMCORE_REASON_CLIENT_DISCONNECTED';
|
|
81049
81046
|
REASON_CLIENT_NETWORK_ERROR = 'NXMCORE_CLIENT_NETWORK_ERROR';
|
|
81050
81047
|
REASON_PING_TIMEOUT = 'NXMCORE_REASON_PING_TIMEOUT';
|
|
81048
|
+
CancelReasonJSObject_instance = new CancelReasonJSObject();
|
|
81051
81049
|
Companion_instance_0 = new Companion();
|
|
81052
81050
|
Companion_instance_1 = new Companion_0();
|
|
81053
81051
|
//endregion
|
|
81054
81052
|
//region block: exports
|
|
81055
81053
|
function $jsExportAll$(_) {
|
|
81056
81054
|
var $vonage = _.vonage || (_.vonage = {});
|
|
81055
|
+
defineProp($vonage, 'VoiceChannelTypeObject', VoiceChannelTypeObject_getInstance);
|
|
81057
81056
|
$vonage.CombinedClientJS = CombinedClientJS;
|
|
81058
81057
|
var $vonage = _.vonage || (_.vonage = {});
|
|
81059
81058
|
$vonage.EventStateTypeJS = EventStateTypeJS;
|
|
@@ -81133,28 +81132,15 @@ function requireClientsdkClientcore () {
|
|
|
81133
81132
|
$vonage.MediaStateJS = MediaStateJS;
|
|
81134
81133
|
$vonage.LegJS = LegJS;
|
|
81135
81134
|
$vonage.LegsPageJS = LegsPageJS;
|
|
81136
|
-
$vonage
|
|
81137
|
-
$vonage.ChannelTypeJS.values = values_2;
|
|
81138
|
-
$vonage.ChannelTypeJS.valueOf = valueOf_3;
|
|
81139
|
-
defineProp($vonage.ChannelTypeJS, 'APP', ChannelTypeJS_APP_getInstance);
|
|
81140
|
-
defineProp($vonage.ChannelTypeJS, 'PHONE', ChannelTypeJS_PHONE_getInstance);
|
|
81141
|
-
defineProp($vonage.ChannelTypeJS, 'PSTN', ChannelTypeJS_PSTN_getInstance);
|
|
81142
|
-
defineProp($vonage.ChannelTypeJS, 'sip', ChannelTypeJS_SIP_getInstance);
|
|
81143
|
-
defineProp($vonage.ChannelTypeJS, 'VBC', ChannelTypeJS_VBC_getInstance);
|
|
81144
|
-
defineProp($vonage.ChannelTypeJS, 'WEBSOCKET', ChannelTypeJS_WEBSOCKET_getInstance);
|
|
81145
|
-
defineProp($vonage.ChannelTypeJS, 'SMS', ChannelTypeJS_SMS_getInstance);
|
|
81146
|
-
defineProp($vonage.ChannelTypeJS, 'MMS', ChannelTypeJS_MMS_getInstance);
|
|
81147
|
-
defineProp($vonage.ChannelTypeJS, 'WHATSAPP', ChannelTypeJS_WHATSAPP_getInstance);
|
|
81148
|
-
defineProp($vonage.ChannelTypeJS, 'VIBER', ChannelTypeJS_VIBER_getInstance);
|
|
81149
|
-
defineProp($vonage.ChannelTypeJS, 'MESSENGER', ChannelTypeJS_MESSENGER_getInstance);
|
|
81135
|
+
defineProp($vonage, 'ChannelTypeObj', ChannelTypeObj_getInstance);
|
|
81150
81136
|
var $vonage = _.vonage || (_.vonage = {});
|
|
81151
81137
|
defineProp($vonage, 'CSErrorCodesJS', CSErrorCodesJS_getInstance);
|
|
81152
81138
|
defineProp($vonage, 'SessionErrorCodesJS', SessionErrorCodesJS_getInstance);
|
|
81153
81139
|
var $vonage = _.vonage || (_.vonage = {});
|
|
81154
81140
|
$vonage.VonageErrorJS = VonageErrorJS;
|
|
81155
81141
|
$vonage.VonageErrorTypeJS = VonageErrorTypeJS;
|
|
81156
|
-
$vonage.VonageErrorTypeJS.values =
|
|
81157
|
-
$vonage.VonageErrorTypeJS.valueOf =
|
|
81142
|
+
$vonage.VonageErrorTypeJS.values = values_2;
|
|
81143
|
+
$vonage.VonageErrorTypeJS.valueOf = valueOf_3;
|
|
81158
81144
|
defineProp($vonage.VonageErrorTypeJS, 'CS_ERROR', VonageErrorTypeJS_CS_ERROR_getInstance);
|
|
81159
81145
|
defineProp($vonage.VonageErrorTypeJS, 'NETWORK_ERROR', VonageErrorTypeJS_NETWORK_ERROR_getInstance);
|
|
81160
81146
|
defineProp($vonage.VonageErrorTypeJS, 'SESSION_ERROR', VonageErrorTypeJS_SESSION_ERROR_getInstance);
|
|
@@ -81170,16 +81156,16 @@ function requireClientsdkClientcore () {
|
|
|
81170
81156
|
var $vonage = _.vonage || (_.vonage = {});
|
|
81171
81157
|
defineProp($vonage, 'DEFAULT_REGION', get_DEFAULT_REGION);
|
|
81172
81158
|
$vonage.CoreClientConfigRegionJS = CoreClientConfigRegionJS;
|
|
81173
|
-
$vonage.CoreClientConfigRegionJS.values =
|
|
81174
|
-
$vonage.CoreClientConfigRegionJS.valueOf =
|
|
81159
|
+
$vonage.CoreClientConfigRegionJS.values = values_3;
|
|
81160
|
+
$vonage.CoreClientConfigRegionJS.valueOf = valueOf_4;
|
|
81175
81161
|
defineProp($vonage.CoreClientConfigRegionJS, 'AP', CoreClientConfigRegionJS_AP_getInstance);
|
|
81176
81162
|
defineProp($vonage.CoreClientConfigRegionJS, 'EU', CoreClientConfigRegionJS_EU_getInstance);
|
|
81177
81163
|
defineProp($vonage.CoreClientConfigRegionJS, 'US', CoreClientConfigRegionJS_US_getInstance);
|
|
81178
81164
|
$vonage.CoreClientConfigJS = CoreClientConfigJS;
|
|
81179
81165
|
$vonage.TopicJS = TopicJS;
|
|
81180
81166
|
$vonage.Topics = Topics;
|
|
81181
|
-
$vonage.Topics.values =
|
|
81182
|
-
$vonage.Topics.valueOf =
|
|
81167
|
+
$vonage.Topics.values = values_4;
|
|
81168
|
+
$vonage.Topics.valueOf = valueOf_5;
|
|
81183
81169
|
defineProp($vonage.Topics, 'HTTP', Topics_HTTP_getInstance);
|
|
81184
81170
|
defineProp($vonage.Topics, 'WS', Topics_WS_getInstance);
|
|
81185
81171
|
defineProp($vonage.Topics, 'MEDIA', Topics_MEDIA_getInstance);
|
|
@@ -81189,8 +81175,8 @@ function requireClientsdkClientcore () {
|
|
|
81189
81175
|
defineProp($vonage.Topics, 'DEFAULT', Topics_DEFAULT_getInstance);
|
|
81190
81176
|
$vonage.createVonageLoggerJS = createVonageLoggerJS;
|
|
81191
81177
|
$vonage.LoggingLevelJS = LoggingLevelJS;
|
|
81192
|
-
$vonage.LoggingLevelJS.values =
|
|
81193
|
-
$vonage.LoggingLevelJS.valueOf =
|
|
81178
|
+
$vonage.LoggingLevelJS.values = values_5;
|
|
81179
|
+
$vonage.LoggingLevelJS.valueOf = valueOf_6;
|
|
81194
81180
|
defineProp($vonage.LoggingLevelJS, 'Verbose', LoggingLevelJS_Verbose_getInstance);
|
|
81195
81181
|
defineProp($vonage.LoggingLevelJS, 'Debug', LoggingLevelJS_Debug_getInstance);
|
|
81196
81182
|
defineProp($vonage.LoggingLevelJS, 'Info', LoggingLevelJS_Info_getInstance);
|
|
@@ -81200,30 +81186,15 @@ function requireClientsdkClientcore () {
|
|
|
81200
81186
|
defineProp($vonage, 'DEFAULT_LOGGING_LEVEL', get_DEFAULT_LOGGING_LEVEL);
|
|
81201
81187
|
$vonage.setDefaultLoggingLevel = setDefaultLoggingLevel;
|
|
81202
81188
|
$vonage.SessionErrorReasonJS = SessionErrorReasonJS;
|
|
81203
|
-
$vonage.SessionErrorReasonJS.values =
|
|
81204
|
-
$vonage.SessionErrorReasonJS.valueOf =
|
|
81189
|
+
$vonage.SessionErrorReasonJS.values = values_6;
|
|
81190
|
+
$vonage.SessionErrorReasonJS.valueOf = valueOf_7;
|
|
81205
81191
|
defineProp($vonage.SessionErrorReasonJS, 'EXPIRED_TOKEN', SessionErrorReasonJS_EXPIRED_TOKEN_getInstance);
|
|
81206
81192
|
defineProp($vonage.SessionErrorReasonJS, 'TRANSPORT_CLOSED', SessionErrorReasonJS_TRANSPORT_CLOSED_getInstance);
|
|
81207
81193
|
defineProp($vonage.SessionErrorReasonJS, 'PING_TIMEOUT', SessionErrorReasonJS_PING_TIMEOUT_getInstance);
|
|
81208
81194
|
var $vonage = _.vonage || (_.vonage = {});
|
|
81209
|
-
$vonage
|
|
81210
|
-
$vonage
|
|
81211
|
-
$vonage
|
|
81212
|
-
defineProp($vonage.LegStatusJS, 'RINGING', LegStatusJS_RINGING_getInstance);
|
|
81213
|
-
defineProp($vonage.LegStatusJS, 'ANSWERED', LegStatusJS_ANSWERED_getInstance);
|
|
81214
|
-
defineProp($vonage.LegStatusJS, 'COMPLETED', LegStatusJS_COMPLETED_getInstance);
|
|
81215
|
-
$vonage.CallDisconnectReasonJS = CallDisconnectReasonJS;
|
|
81216
|
-
$vonage.CallDisconnectReasonJS.values = values_9;
|
|
81217
|
-
$vonage.CallDisconnectReasonJS.valueOf = valueOf_10;
|
|
81218
|
-
defineProp($vonage.CallDisconnectReasonJS, 'networkChange', CallDisconnectReasonJS_NetworkChange_getInstance);
|
|
81219
|
-
$vonage.HangupReasonJS = HangupReasonJS;
|
|
81220
|
-
$vonage.HangupReasonJS.values = values_10;
|
|
81221
|
-
$vonage.HangupReasonJS.valueOf = valueOf_11;
|
|
81222
|
-
defineProp($vonage.HangupReasonJS, 'REMOTE_HANGUP', HangupReasonJS_REMOTE_HANGUP_getInstance);
|
|
81223
|
-
defineProp($vonage.HangupReasonJS, 'REMOTE_REJECT', HangupReasonJS_REMOTE_REJECT_getInstance);
|
|
81224
|
-
defineProp($vonage.HangupReasonJS, 'REMOTE_NO_ANSWER_TIMEOUT', HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance);
|
|
81225
|
-
defineProp($vonage.HangupReasonJS, 'LOCAL_HANGUP', HangupReasonJS_LOCAL_HANGUP_getInstance);
|
|
81226
|
-
defineProp($vonage.HangupReasonJS, 'MEDIA_TIMEOUT', HangupReasonJS_MEDIA_TIMEOUT_getInstance);
|
|
81195
|
+
defineProp($vonage, 'LegStatusJSObject', LegStatusJSObject_getInstance);
|
|
81196
|
+
defineProp($vonage, 'CallDisconnectReasonJSObject', CallDisconnectReasonJSObject_getInstance);
|
|
81197
|
+
defineProp($vonage, 'HangupReasonJSObject', HangupReasonJSObject_getInstance);
|
|
81227
81198
|
$vonage.VoiceInviteFromInfoJS = VoiceInviteFromInfoJS;
|
|
81228
81199
|
var $vonage = _.vonage || (_.vonage = {});
|
|
81229
81200
|
$vonage.HttpClientErrorJS = HttpClientErrorJS;
|
|
@@ -81235,13 +81206,7 @@ function requireClientsdkClientcore () {
|
|
|
81235
81206
|
defineProp($vonage, 'REASON_CLIENT_DISCONNECTED', get_REASON_CLIENT_DISCONNECTED);
|
|
81236
81207
|
defineProp($vonage, 'REASON_CLIENT_NETWORK_ERROR', get_REASON_CLIENT_NETWORK_ERROR);
|
|
81237
81208
|
defineProp($vonage, 'REASON_PING_TIMEOUT', get_REASON_PING_TIMEOUT);
|
|
81238
|
-
$vonage
|
|
81239
|
-
$vonage.CancelReasonJS.values = values_11;
|
|
81240
|
-
$vonage.CancelReasonJS.valueOf = valueOf_12;
|
|
81241
|
-
defineProp($vonage.CancelReasonJS, 'RemoteCancel', CancelReasonJS_RemoteCancel_getInstance);
|
|
81242
|
-
defineProp($vonage.CancelReasonJS, 'AnsweredElsewhere', CancelReasonJS_AnsweredElsewhere_getInstance);
|
|
81243
|
-
defineProp($vonage.CancelReasonJS, 'RejectedElsewhere', CancelReasonJS_RejectedElsewhere_getInstance);
|
|
81244
|
-
defineProp($vonage.CancelReasonJS, 'RemoteTimeout', CancelReasonJS_RemoteTimeout_getInstance);
|
|
81209
|
+
defineProp($vonage, 'CancelReasonJSObject', CancelReasonJSObject_getInstance);
|
|
81245
81210
|
$vonage.RTCQualityJS = RTCQualityJS;
|
|
81246
81211
|
$vonage.RTCStatsJS = RTCStatsJS;
|
|
81247
81212
|
defineProp($vonage.RTCStatsJS, 'Companion', Companion_getInstance_1);
|
|
@@ -89824,13 +89789,30 @@ class SocketClient {
|
|
|
89824
89789
|
*/
|
|
89825
89790
|
const Topics = clientsdkClientcore_jsExports.vonage.Topics;
|
|
89826
89791
|
clientsdkClientcore_jsExports.vonage.TopicJS;
|
|
89827
|
-
|
|
89792
|
+
/**
|
|
89793
|
+
* The Client Logging Level.
|
|
89794
|
+
*
|
|
89795
|
+
* It can be set for the internal logger via {@link ClientInitConfigObject.loggingLevel}
|
|
89796
|
+
* as well as for a custom logger via {@link VonageLogger.minLogLevel}.
|
|
89797
|
+
*
|
|
89798
|
+
* @enum
|
|
89799
|
+
*/
|
|
89800
|
+
const LoggingLevel = {
|
|
89801
|
+
Verbose: 'Verbose',
|
|
89802
|
+
Debug: 'Debug',
|
|
89803
|
+
Info: 'Info',
|
|
89804
|
+
Warn: 'Warn',
|
|
89805
|
+
Error: 'Error',
|
|
89806
|
+
Assert: 'Assert'
|
|
89807
|
+
};
|
|
89828
89808
|
/**
|
|
89829
89809
|
* @deprecated Use {@link ClientInitConfigObject.loggingLevel} instead.
|
|
89830
89810
|
* @param level - The logging level to set.
|
|
89831
89811
|
*/
|
|
89832
89812
|
const setDefaultLoggingLevel = (level) => {
|
|
89833
|
-
clientsdkClientcore_jsExports.vonage.setDefaultLoggingLevel(level instanceof
|
|
89813
|
+
clientsdkClientcore_jsExports.vonage.setDefaultLoggingLevel(level instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
|
|
89814
|
+
? level
|
|
89815
|
+
: clientsdkClientcore_jsExports.vonage.LoggingLevelJS[level]);
|
|
89834
89816
|
};
|
|
89835
89817
|
/**
|
|
89836
89818
|
* @deprecated Use {@link ClientInitConfigObject.loggingLevel} instead.
|
|
@@ -89839,16 +89821,16 @@ const setDefaultLoggingLevel = (level) => {
|
|
|
89839
89821
|
const setVonageClientLoggingLevel = setDefaultLoggingLevel;
|
|
89840
89822
|
const convertLogger = (logger) => {
|
|
89841
89823
|
var _a;
|
|
89842
|
-
if (logger.minLogLevel instanceof
|
|
89824
|
+
if (logger.minLogLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS)
|
|
89843
89825
|
return logger;
|
|
89844
89826
|
return Object.assign(Object.assign({}, logger), { minLogLevel: logger.minLogLevel
|
|
89845
|
-
?
|
|
89827
|
+
? clientsdkClientcore_jsExports.vonage.LoggingLevelJS[logger.minLogLevel]
|
|
89846
89828
|
: undefined, topics: (_a = logger.topics) === null || _a === void 0 ? void 0 : _a.map((topic) => topic instanceof Topics ? topic : Topics[topic]) });
|
|
89847
89829
|
};
|
|
89848
|
-
const createVonageLogger = (name, onLog, minLogLevel, topics) => clientsdkClientcore_jsExports.vonage.createVonageLoggerJS(name, minLogLevel instanceof
|
|
89830
|
+
const createVonageLogger = (name, onLog, minLogLevel, topics) => clientsdkClientcore_jsExports.vonage.createVonageLoggerJS(name, minLogLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
|
|
89849
89831
|
? minLogLevel
|
|
89850
89832
|
: minLogLevel
|
|
89851
|
-
?
|
|
89833
|
+
? clientsdkClientcore_jsExports.vonage.LoggingLevelJS[minLogLevel]
|
|
89852
89834
|
: undefined, topics === null || topics === void 0 ? void 0 : topics.map((topic) => (topic instanceof Topics ? topic : Topics[topic])), (level, topic, message) => onLog(level, topic, message));
|
|
89853
89835
|
|
|
89854
89836
|
const ConfigRegion = clientsdkClientcore_jsExports.vonage.CoreClientConfigRegionJS;
|
|
@@ -89873,9 +89855,9 @@ class ClientInitConfig {
|
|
|
89873
89855
|
this.customLoggers = [];
|
|
89874
89856
|
this.disableInternalLogger = false;
|
|
89875
89857
|
this.loggingLevel =
|
|
89876
|
-
loggingLevel instanceof
|
|
89858
|
+
loggingLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
|
|
89877
89859
|
? loggingLevel
|
|
89878
|
-
:
|
|
89860
|
+
: clientsdkClientcore_jsExports.vonage.LoggingLevelJS[loggingLevel];
|
|
89879
89861
|
this.region =
|
|
89880
89862
|
region instanceof ConfigRegion ? region : ConfigRegion[region];
|
|
89881
89863
|
if (customLoggers) {
|
|
@@ -89886,10 +89868,10 @@ class ClientInitConfig {
|
|
|
89886
89868
|
const convertInitConfig = (config) => {
|
|
89887
89869
|
if (config instanceof ClientInitConfig)
|
|
89888
89870
|
return config;
|
|
89889
|
-
return Object.assign(Object.assign({}, config), { loggingLevel: config.loggingLevel instanceof
|
|
89871
|
+
return Object.assign(Object.assign({}, config), { loggingLevel: config.loggingLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
|
|
89890
89872
|
? config.loggingLevel
|
|
89891
89873
|
: config.loggingLevel
|
|
89892
|
-
?
|
|
89874
|
+
? clientsdkClientcore_jsExports.vonage.LoggingLevelJS[config.loggingLevel]
|
|
89893
89875
|
: null, region: config.region instanceof ConfigRegion
|
|
89894
89876
|
? config.region
|
|
89895
89877
|
: config.region
|
|
@@ -89899,7 +89881,24 @@ const convertInitConfig = (config) => {
|
|
|
89899
89881
|
: null });
|
|
89900
89882
|
};
|
|
89901
89883
|
|
|
89902
|
-
|
|
89884
|
+
/**
|
|
89885
|
+
* The type of a {@link MemberChannel}
|
|
89886
|
+
*
|
|
89887
|
+
* @enum
|
|
89888
|
+
*/
|
|
89889
|
+
const ChannelType = {
|
|
89890
|
+
APP: 'APP',
|
|
89891
|
+
PHONE: 'PHONE',
|
|
89892
|
+
PSTN: 'PSTN',
|
|
89893
|
+
sip: 'sip',
|
|
89894
|
+
VBC: 'VBC',
|
|
89895
|
+
WEBSOCKET: 'WEBSOCKET',
|
|
89896
|
+
SMS: 'SMS',
|
|
89897
|
+
MMS: 'MMS',
|
|
89898
|
+
WHATSAPP: 'WHATSAPP',
|
|
89899
|
+
VIBER: 'VIBER',
|
|
89900
|
+
MESSENGER: 'MESSENGER'
|
|
89901
|
+
};
|
|
89903
89902
|
|
|
89904
89903
|
const VonageError = clientsdkClientcore_jsExports.vonage.VonageErrorJS;
|
|
89905
89904
|
const VonageErrorType = clientsdkClientcore_jsExports.vonage.VonageErrorTypeJS;
|
|
@@ -89948,6 +89947,54 @@ const some = (value) => new Option.Some(value);
|
|
|
89948
89947
|
*/
|
|
89949
89948
|
const none = () => new Option.None();
|
|
89950
89949
|
|
|
89950
|
+
/**
|
|
89951
|
+
* Hangup reasons for a call
|
|
89952
|
+
* @enum
|
|
89953
|
+
*/
|
|
89954
|
+
const HangupReason = {
|
|
89955
|
+
REMOTE_HANGUP: 'REMOTE_HANGUP',
|
|
89956
|
+
REMOTE_REJECT: 'REMOTE_REJECT',
|
|
89957
|
+
REMOTE_NO_ANSWER_TIMEOUT: 'REMOTE_NO_ANSWER_TIMEOUT',
|
|
89958
|
+
LOCAL_HANGUP: 'LOCAL_HANGUP',
|
|
89959
|
+
MEDIA_TIMEOUT: 'MEDIA_TIMEOUT'
|
|
89960
|
+
};
|
|
89961
|
+
/**
|
|
89962
|
+
* Leg status for a call
|
|
89963
|
+
* @enum
|
|
89964
|
+
*/
|
|
89965
|
+
const LegStatus = {
|
|
89966
|
+
RINGING: 'RINGING',
|
|
89967
|
+
ANSWERED: 'ANSWERED',
|
|
89968
|
+
COMPLETED: 'COMPLETED'
|
|
89969
|
+
};
|
|
89970
|
+
/**
|
|
89971
|
+
* Call disconnect reasons
|
|
89972
|
+
* @enum
|
|
89973
|
+
*/
|
|
89974
|
+
const CallDisconnectReason = {
|
|
89975
|
+
networkChange: 'networkChange'
|
|
89976
|
+
};
|
|
89977
|
+
/**
|
|
89978
|
+
* Call Invite cancel reasons
|
|
89979
|
+
* @enum
|
|
89980
|
+
*/
|
|
89981
|
+
const CancelReason = {
|
|
89982
|
+
RemoteCancel: 'RemoteCancel',
|
|
89983
|
+
RejectedElsewhere: 'RejectedElsewhere',
|
|
89984
|
+
RemoteTimeout: 'RemoteTimeout',
|
|
89985
|
+
AnsweredElsewhere: 'AnsweredElsewhere'
|
|
89986
|
+
};
|
|
89987
|
+
/**
|
|
89988
|
+
* Voice Channel Types
|
|
89989
|
+
* @enum
|
|
89990
|
+
*/
|
|
89991
|
+
const VoiceChannelType = {
|
|
89992
|
+
app: 'app',
|
|
89993
|
+
phone: 'phone',
|
|
89994
|
+
sip: 'sip',
|
|
89995
|
+
websocket: 'websocket'
|
|
89996
|
+
};
|
|
89997
|
+
|
|
89951
89998
|
const isKotlinType = (type, value) => value instanceof type;
|
|
89952
89999
|
// converts a js enum value to a kotlin enum value
|
|
89953
90000
|
// e.g. jsEnumToVonageObject(vonage.PresentingOrderJS, 'asc') => vonage.PresentingOrderJS.Asc
|
|
@@ -89965,11 +90012,7 @@ const jsEnumToVonageObject = (kotlinType, value) => {
|
|
|
89965
90012
|
return enumVal;
|
|
89966
90013
|
};
|
|
89967
90014
|
|
|
89968
|
-
const CancelReason = clientsdkClientcore_jsExports.vonage.CancelReasonJS;
|
|
89969
|
-
const HangupReason = clientsdkClientcore_jsExports.vonage.HangupReasonJS;
|
|
89970
90015
|
const SessionErrorReason = clientsdkClientcore_jsExports.vonage.SessionErrorReasonJS;
|
|
89971
|
-
const LegStatus = clientsdkClientcore_jsExports.vonage.LegStatusJS;
|
|
89972
|
-
const CallDisconnectReason = clientsdkClientcore_jsExports.vonage.CallDisconnectReasonJS;
|
|
89973
90016
|
/**
|
|
89974
90017
|
* VonageClient is the main entry point for the Vonage Client SDK.
|
|
89975
90018
|
*
|
|
@@ -90736,26 +90779,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90736
90779
|
return yield _super.sendMessageSeenEvent.call(this, id, conversationId);
|
|
90737
90780
|
});
|
|
90738
90781
|
}
|
|
90739
|
-
/**
|
|
90740
|
-
* Get a Member of a Conversation
|
|
90741
|
-
*
|
|
90742
|
-
* @example
|
|
90743
|
-
* [[include: snippet_GetConversationMember.txt]]
|
|
90744
|
-
*
|
|
90745
|
-
* @group Chat
|
|
90746
|
-
* @beta
|
|
90747
|
-
* @param cid - the Conversation's id
|
|
90748
|
-
* @param mid - the Member's id
|
|
90749
|
-
* @returns the `Member`
|
|
90750
|
-
*/
|
|
90751
|
-
getConversationMember(cid, mid) {
|
|
90752
|
-
const _super = Object.create(null, {
|
|
90753
|
-
getConversationMember: { get: () => super.getConversationMember }
|
|
90754
|
-
});
|
|
90755
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
90756
|
-
return (yield _super.getConversationMember.call(this, cid, mid));
|
|
90757
|
-
});
|
|
90758
|
-
}
|
|
90759
90782
|
}
|
|
90760
90783
|
|
|
90761
|
-
export { CSErrorCodes, CallDisconnectReason, CancelReason, ChannelType, ClientConfig, ClientInitConfig, ConfigRegion, HangupReason, LegStatus, LoggingLevel, Option, OrderBy, PresentingOrder, SessionErrorCodes, SessionErrorReason, Topics, VonageClient, VonageError, VonageErrorType, convertInitConfig, createVonageLogger, VonageClient as default, mapOption, none, setDefaultLoggingLevel, setVonageClientLoggingLevel, some };
|
|
90784
|
+
export { CSErrorCodes, CallDisconnectReason, CancelReason, ChannelType, ClientConfig, ClientInitConfig, ConfigRegion, HangupReason, LegStatus, LoggingLevel, Option, OrderBy, PresentingOrder, SessionErrorCodes, SessionErrorReason, Topics, VoiceChannelType, VonageClient, VonageError, VonageErrorType, convertInitConfig, createVonageLogger, VonageClient as default, mapOption, none, setDefaultLoggingLevel, setVonageClientLoggingLevel, some };
|