@vonage/client-sdk 1.5.1-rc.0 → 1.5.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/README.md +17 -14
  2. package/api_docs/ts/assets/navigation.js +1 -1
  3. package/api_docs/ts/assets/search.js +1 -1
  4. package/api_docs/ts/classes/ClientConfig.html +1 -1
  5. package/api_docs/ts/classes/ClientInitConfig.html +1 -1
  6. package/api_docs/ts/classes/VonageClient.html +9 -9
  7. package/api_docs/ts/enums/CallDisconnectReason.html +3 -0
  8. package/api_docs/ts/{interfaces/VonageEvent.html → enums/CancelReason.html} +6 -2
  9. package/api_docs/ts/enums/ChannelType.html +13 -0
  10. package/api_docs/ts/enums/HangupReason.html +7 -0
  11. package/api_docs/ts/enums/LegStatus.html +5 -0
  12. package/api_docs/ts/enums/LoggingLevel.html +10 -0
  13. package/api_docs/ts/enums/OrderBy.html +1 -1
  14. package/api_docs/ts/enums/PresentingOrder.html +1 -1
  15. package/api_docs/ts/enums/VoiceChannelType.html +6 -0
  16. package/api_docs/ts/functions/none.html +1 -1
  17. package/api_docs/ts/functions/setDefaultLoggingLevel.html +3 -3
  18. package/api_docs/ts/functions/setVonageClientLoggingLevel.html +3 -3
  19. package/api_docs/ts/functions/some.html +1 -1
  20. package/api_docs/ts/index.html +1 -1
  21. package/api_docs/ts/interfaces/CallSayParams.html +1 -1
  22. package/api_docs/ts/interfaces/Channel.html +1 -1
  23. package/api_docs/ts/interfaces/Conversation.html +1 -1
  24. package/api_docs/ts/interfaces/ConversationProperties.html +1 -1
  25. package/api_docs/ts/interfaces/ConversationTimestamp.html +1 -1
  26. package/api_docs/ts/interfaces/ConversationsPage.html +1 -1
  27. package/api_docs/ts/interfaces/CreateConversationParameters.html +1 -1
  28. package/api_docs/ts/interfaces/EphemeralConversationEvent.html +3 -3
  29. package/api_docs/ts/interfaces/EventsPage.html +1 -1
  30. package/api_docs/ts/interfaces/GetCallLegsParameters.html +1 -1
  31. package/api_docs/ts/interfaces/GetConversationEventsParameters.html +1 -1
  32. package/api_docs/ts/interfaces/GetConversationMembersParameters.html +1 -1
  33. package/api_docs/ts/interfaces/GetConversationsParameters.html +1 -1
  34. package/api_docs/ts/interfaces/Leg.html +1 -1
  35. package/api_docs/ts/interfaces/LegChannel.html +1 -1
  36. package/api_docs/ts/interfaces/LegsPage.html +1 -1
  37. package/api_docs/ts/interfaces/Location.html +1 -1
  38. package/api_docs/ts/interfaces/Member.html +11 -11
  39. package/api_docs/ts/interfaces/MemberChannel.html +7 -7
  40. package/api_docs/ts/interfaces/MemberEventBody.html +2 -2
  41. package/api_docs/ts/interfaces/MemberTimestamp.html +1 -1
  42. package/api_docs/ts/interfaces/MembersPage.html +1 -1
  43. package/api_docs/ts/interfaces/MessageAudioEventBody.html +2 -2
  44. package/api_docs/ts/interfaces/MessageCustomEventBody.html +2 -2
  45. package/api_docs/ts/interfaces/MessageFileEventBody.html +2 -2
  46. package/api_docs/ts/interfaces/MessageImageEventBody.html +2 -2
  47. package/api_docs/ts/interfaces/MessageLocationEventBody.html +2 -2
  48. package/api_docs/ts/interfaces/MessageTemplateEventBody.html +2 -2
  49. package/api_docs/ts/interfaces/MessageTextEventBody.html +2 -2
  50. package/api_docs/ts/interfaces/MessageVCardEventBody.html +2 -2
  51. package/api_docs/ts/interfaces/MessageVideoEventBody.html +2 -2
  52. package/api_docs/ts/interfaces/RTCQuality.html +1 -1
  53. package/api_docs/ts/interfaces/RtcStats.html +1 -1
  54. package/api_docs/ts/interfaces/Template.html +1 -1
  55. package/api_docs/ts/interfaces/UpdateConversationParameters.html +1 -1
  56. package/api_docs/ts/interfaces/User.html +1 -1
  57. package/api_docs/ts/interfaces/UserChannels.html +1 -1
  58. package/api_docs/ts/interfaces/UserTimestamp.html +1 -1
  59. package/api_docs/ts/interfaces/Whatsapp.html +1 -1
  60. package/api_docs/ts/modules.html +13 -33
  61. package/api_docs/ts/types/ClientConfigObject.html +6 -0
  62. package/api_docs/ts/types/ClientInitConfigObject.html +6 -0
  63. package/api_docs/ts/types/ConfigRegion.html +2 -2
  64. package/api_docs/ts/types/ConversationEvent.html +2 -2
  65. package/api_docs/ts/types/CustomData.html +1 -1
  66. package/api_docs/ts/types/Json.html +1 -1
  67. package/api_docs/ts/types/JsonValue.html +1 -1
  68. package/api_docs/ts/types/MemberStatus.html +1 -1
  69. package/api_docs/ts/types/Option.html +1 -1
  70. package/api_docs/ts/types/PersistentConversationEvent.html +2 -2
  71. package/api_docs/ts/types/Topics.html +2 -2
  72. package/api_docs/ts/types/VonageEvent.html +2 -0
  73. package/api_docs/ts/types/VonageLogger.html +4 -0
  74. package/api_docs/ts/variables/Topics-1.html +2 -2
  75. package/dist/client/VonageClient.d.ts +14 -24
  76. package/dist/client/index.cjs +884 -860
  77. package/dist/client/index.mjs +884 -861
  78. package/dist/coreExtend.d.ts +14 -0
  79. package/dist/kotlin/JsUnions.d.ts +24 -0
  80. package/dist/kotlin/clientsdk-clientcore_js.d.ts +67 -141
  81. package/dist/utils/ClientConfig.d.ts +0 -2
  82. package/dist/utils/ConversationModels.d.ts +22 -5
  83. package/dist/utils/Enums.d.ts +53 -0
  84. package/dist/utils/index.d.ts +2 -1
  85. package/dist/utils/logging.d.ts +10 -2
  86. package/dist/vonageClientSDK.js +884 -860
  87. package/dist/vonageClientSDK.min.js +20 -20
  88. package/dist/vonageClientSDK.min.mjs +20 -20
  89. package/dist/vonageClientSDK.mjs +884 -861
  90. package/package.json +1 -1
  91. package/api_docs/ts/interfaces/ClientConfigObject.html +0 -18
  92. package/api_docs/ts/interfaces/ClientInitConfigObject.html +0 -24
  93. package/api_docs/ts/interfaces/CustomConversationEvent.html +0 -16
  94. package/api_docs/ts/interfaces/EmbeddedInfo.html +0 -8
  95. package/api_docs/ts/interfaces/EventDeleteConversationEvent.html +0 -14
  96. package/api_docs/ts/interfaces/MemberInvitedEvent.html +0 -14
  97. package/api_docs/ts/interfaces/MemberJoinedEvent.html +0 -14
  98. package/api_docs/ts/interfaces/MemberLeftEvent.html +0 -14
  99. package/api_docs/ts/interfaces/MessageAudioEvent.html +0 -16
  100. package/api_docs/ts/interfaces/MessageCustomEvent.html +0 -16
  101. package/api_docs/ts/interfaces/MessageDeliveredEvent.html +0 -14
  102. package/api_docs/ts/interfaces/MessageFileEvent.html +0 -16
  103. package/api_docs/ts/interfaces/MessageImageEvent.html +0 -16
  104. package/api_docs/ts/interfaces/MessageLocationEvent.html +0 -16
  105. package/api_docs/ts/interfaces/MessageRejectedEvent.html +0 -14
  106. package/api_docs/ts/interfaces/MessageSeenEvent.html +0 -14
  107. package/api_docs/ts/interfaces/MessageSubmittedEvent.html +0 -14
  108. package/api_docs/ts/interfaces/MessageTemplateEvent.html +0 -17
  109. package/api_docs/ts/interfaces/MessageTextEvent.html +0 -16
  110. package/api_docs/ts/interfaces/MessageUndeliverableEvent.html +0 -14
  111. package/api_docs/ts/interfaces/MessageVCardEvent.html +0 -16
  112. package/api_docs/ts/interfaces/MessageVideoEvent.html +0 -16
  113. package/api_docs/ts/interfaces/System.html +0 -4
  114. package/api_docs/ts/interfaces/VonageLogger.html +0 -10
  115. package/api_docs/ts/types/ChannelType.html +0 -2
  116. package/api_docs/ts/types/ConversationState.html +0 -2
  117. package/api_docs/ts/types/From.html +0 -2
  118. package/api_docs/ts/types/LoggingLevel.html +0 -4
  119. package/api_docs/ts/types/MemberState.html +0 -2
  120. package/api_docs/ts/types/NonPersistentConversationEvent.html +0 -2
@@ -33198,13 +33198,6 @@
33198
33198
  setMetadataFor(Companion_133, 'Companion', objectMeta);
33199
33199
  setMetadataFor($serializer_153, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
33200
33200
  setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_153});
33201
- function onRTCHangup(conversationId, legId, hangup) {
33202
- }
33203
- function onRTCTransfer(conversationId, legId) {
33204
- }
33205
- function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
33206
- }
33207
- setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
33208
33201
  function onConversationEvent(event) {
33209
33202
  }
33210
33203
  setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
@@ -33217,7 +33210,14 @@
33217
33210
  function onAudioDTMFUpdate(conversationId, legId, digits) {
33218
33211
  }
33219
33212
  setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
33220
- setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [RTCEventListener, ConversationEventListener, AudioEventListener]);
33213
+ function onRTCHangup(conversationId, legId, hangup) {
33214
+ }
33215
+ function onRTCTransfer(conversationId, legId) {
33216
+ }
33217
+ function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
33218
+ }
33219
+ setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
33220
+ setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, AudioEventListener, RTCEventListener]);
33221
33221
  setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
33222
33222
  setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
33223
33223
  setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
@@ -33350,7 +33350,7 @@
33350
33350
  setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
33351
33351
  setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
33352
33352
  setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
33353
- setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [RTCEventListener, ConversationEventListener, AudioEventListener]);
33353
+ setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, AudioEventListener, RTCEventListener]);
33354
33354
  setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
33355
33355
  setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
33356
33356
  setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
@@ -33566,7 +33566,7 @@
33566
33566
  setMetadataFor(Failed, 'Failed', classMeta, StateTransition);
33567
33567
  //endregion
33568
33568
  function BuildKonfig() {
33569
- this.g1d_1 = '1.5.1-rc.0';
33569
+ this.g1d_1 = '1.5.2-beta.0';
33570
33570
  }
33571
33571
  var BuildKonfig_instance;
33572
33572
  function CoreClientWithMedia() {
@@ -73992,24 +73992,24 @@
73992
73992
  }(commonjsGlobal, function (_, kotlin_kotlin, kotlin_com_vonage_rtc_clientcore) {
73993
73993
  //region block: imports
73994
73994
  var imul = Math.imul;
73995
- var Unit_instance = kotlin_kotlin.$_$.v3;
73996
73995
  var protoOf = kotlin_kotlin.$_$.w7;
73997
- var classMeta = kotlin_kotlin.$_$.p6;
73996
+ var THROW_CCE = kotlin_kotlin.$_$.v9;
73997
+ var objectMeta = kotlin_kotlin.$_$.v7;
73998
73998
  var setMetadataFor = kotlin_kotlin.$_$.x7;
73999
+ var Unit_instance = kotlin_kotlin.$_$.v3;
74000
+ var classMeta = kotlin_kotlin.$_$.p6;
73999
74001
  var VOID = kotlin_kotlin.$_$.f;
74000
74002
  var VoiceClientListener = kotlin_com_vonage_rtc_clientcore.$_$.n1;
74001
74003
  var Builder = kotlin_com_vonage_rtc_clientcore.$_$.u1;
74002
74004
  var LoggerAdapter = kotlin_com_vonage_rtc_clientcore.$_$.o1;
74003
74005
  var defineProp = kotlin_kotlin.$_$.q6;
74006
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.qa;
74004
74007
  var THROW_IAE = kotlin_kotlin.$_$.w9;
74005
74008
  var Enum = kotlin_kotlin.$_$.o9;
74006
74009
  var collectionSizeOrDefault = kotlin_kotlin.$_$.l4;
74007
74010
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
74008
74011
  var copyToArray = kotlin_kotlin.$_$.y4;
74009
74012
  var interfaceMeta = kotlin_kotlin.$_$.z6;
74010
- var THROW_CCE = kotlin_kotlin.$_$.v9;
74011
- var objectMeta = kotlin_kotlin.$_$.v7;
74012
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.qa;
74013
74013
  var System_instance = kotlin_com_vonage_rtc_clientcore.$_$.v2;
74014
74014
  var equals = kotlin_kotlin.$_$.r6;
74015
74015
  var EmbeddedInfo = kotlin_com_vonage_rtc_clientcore.$_$.j;
@@ -74114,6 +74114,7 @@
74114
74114
  var json = kotlin_kotlin.$_$.m7;
74115
74115
  //endregion
74116
74116
  //region block: pre-declaration
74117
+ setMetadataFor(VoiceChannelTypeObject, 'VoiceChannelTypeObject', objectMeta);
74117
74118
  setMetadataFor(CombinedClientJS$1, VOID, classMeta);
74118
74119
  setMetadataFor(CombinedClientJS$2, VOID, classMeta, VOID, [VoiceClientListener]);
74119
74120
  setMetadataFor(CombinedClientJS$3, VOID, classMeta);
@@ -74327,7 +74328,7 @@
74327
74328
  setMetadataFor(MediaStateJS, 'MediaStateJS', classMeta);
74328
74329
  setMetadataFor(LegJS, 'LegJS', classMeta);
74329
74330
  setMetadataFor(LegsPageJS, 'LegsPageJS', classMeta);
74330
- setMetadataFor(ChannelTypeJS, 'ChannelTypeJS', classMeta, Enum);
74331
+ setMetadataFor(ChannelTypeObj, 'ChannelTypeObj', objectMeta);
74331
74332
  setMetadataFor(CSErrorCodesJS, 'CSErrorCodesJS', objectMeta);
74332
74333
  setMetadataFor(SessionErrorCodesJS, 'SessionErrorCodesJS', objectMeta);
74333
74334
  setMetadataFor(VonageErrorJS, 'VonageErrorJS', classMeta, Error);
@@ -74345,13 +74346,13 @@
74345
74346
  setMetadataFor(LoggingLevelJS, 'LoggingLevelJS', classMeta, Enum);
74346
74347
  setMetadataFor(SessionErrorReasonJS, 'SessionErrorReasonJS', classMeta, Enum);
74347
74348
  setMetadataFor(createVonageLoggerJS$1, VOID, classMeta);
74348
- setMetadataFor(LegStatusJS, 'LegStatusJS', classMeta, Enum);
74349
- setMetadataFor(CallDisconnectReasonJS, 'CallDisconnectReasonJS', classMeta, Enum);
74350
- setMetadataFor(HangupReasonJS, 'HangupReasonJS', classMeta, Enum);
74349
+ setMetadataFor(LegStatusJSObject, 'LegStatusJSObject', objectMeta);
74350
+ setMetadataFor(CallDisconnectReasonJSObject, 'CallDisconnectReasonJSObject', objectMeta);
74351
+ setMetadataFor(HangupReasonJSObject, 'HangupReasonJSObject', objectMeta);
74351
74352
  setMetadataFor(VoiceInviteFromInfoJS, 'VoiceInviteFromInfoJS', classMeta);
74352
74353
  setMetadataFor(HttpClientErrorJS, 'HttpClientErrorJS', classMeta, Error, VOID, HttpClientErrorJS);
74353
74354
  setMetadataFor(HttpClientResponseJS, 'HttpClientResponseJS', classMeta);
74354
- setMetadataFor(CancelReasonJS, 'CancelReasonJS', classMeta, Enum);
74355
+ setMetadataFor(CancelReasonJSObject, 'CancelReasonJSObject', objectMeta);
74355
74356
  setMetadataFor(RTCQualityJS, 'RTCQualityJS', classMeta);
74356
74357
  setMetadataFor(Companion, 'Companion', objectMeta);
74357
74358
  setMetadataFor(RTCStatsJS, 'RTCStatsJS', classMeta);
@@ -74365,11 +74366,47 @@
74365
74366
  setMetadataFor(Some, 'Some', classMeta, OptionJS);
74366
74367
  setMetadataFor(Companion_0, 'Companion', objectMeta);
74367
74368
  //endregion
74369
+ function VoiceChannelTypeObject() {
74370
+ this.app = 'app';
74371
+ this.phone = 'phone';
74372
+ this.sip = 'sip';
74373
+ this.websocket = 'websocket';
74374
+ }
74375
+ protoOf(VoiceChannelTypeObject).q3q = function () {
74376
+ return this.app;
74377
+ };
74378
+ protoOf(VoiceChannelTypeObject).r3q = function () {
74379
+ return this.phone;
74380
+ };
74381
+ protoOf(VoiceChannelTypeObject).s3q = function () {
74382
+ return this.sip;
74383
+ };
74384
+ protoOf(VoiceChannelTypeObject).t3q = function () {
74385
+ return this.websocket;
74386
+ };
74387
+ protoOf(VoiceChannelTypeObject).toString = function () {
74388
+ return 'VoiceChannelTypeObject';
74389
+ };
74390
+ protoOf(VoiceChannelTypeObject).hashCode = function () {
74391
+ return -1025446930;
74392
+ };
74393
+ protoOf(VoiceChannelTypeObject).equals = function (other) {
74394
+ if (this === other)
74395
+ return true;
74396
+ if (!(other instanceof VoiceChannelTypeObject))
74397
+ return false;
74398
+ other instanceof VoiceChannelTypeObject || THROW_CCE();
74399
+ return true;
74400
+ };
74401
+ var VoiceChannelTypeObject_instance;
74402
+ function VoiceChannelTypeObject_getInstance() {
74403
+ return VoiceChannelTypeObject_instance;
74404
+ }
74368
74405
  function CombinedClientJS$1(this$0) {
74369
- this.q3q_1 = this$0;
74406
+ this.u3q_1 = this$0;
74370
74407
  }
74371
74408
  protoOf(CombinedClientJS$1).c38 = function () {
74372
- var tmp0_safe_receiver = this.q3q_1.emitter;
74409
+ var tmp0_safe_receiver = this.u3q_1.emitter;
74373
74410
  if (tmp0_safe_receiver == null)
74374
74411
  ;
74375
74412
  else {
@@ -74377,7 +74414,7 @@
74377
74414
  }
74378
74415
  };
74379
74416
  protoOf(CombinedClientJS$1).d38 = function () {
74380
- var tmp0_safe_receiver = this.q3q_1.emitter;
74417
+ var tmp0_safe_receiver = this.u3q_1.emitter;
74381
74418
  if (tmp0_safe_receiver == null)
74382
74419
  ;
74383
74420
  else {
@@ -74385,34 +74422,34 @@
74385
74422
  }
74386
74423
  };
74387
74424
  protoOf(CombinedClientJS$1).e38 = function (reason) {
74388
- var tmp0_safe_receiver = this.q3q_1.emitter;
74425
+ var tmp0_safe_receiver = this.u3q_1.emitter;
74389
74426
  if (tmp0_safe_receiver == null)
74390
74427
  ;
74391
74428
  else {
74392
- tmp0_safe_receiver.sessionError(map_8(reason));
74429
+ tmp0_safe_receiver.sessionError(map_10(reason));
74393
74430
  }
74394
74431
  };
74395
74432
  function CombinedClientJS$2(this$0) {
74396
- this.t3q_1 = this$0;
74433
+ this.x3q_1 = this$0;
74397
74434
  }
74398
74435
  protoOf(CombinedClientJS$2).i38 = function (callId, from, channelType) {
74399
- var tmp0_safe_receiver = this.t3q_1.emitter;
74436
+ var tmp0_safe_receiver = this.x3q_1.emitter;
74400
74437
  if (tmp0_safe_receiver == null)
74401
74438
  ;
74402
74439
  else {
74403
- tmp0_safe_receiver.callInvite(callId, from, channelType.y7_1);
74440
+ tmp0_safe_receiver.callInvite(callId, from, map(channelType));
74404
74441
  }
74405
74442
  };
74406
74443
  protoOf(CombinedClientJS$2).j38 = function (callId, reason) {
74407
- var tmp0_safe_receiver = this.t3q_1.emitter;
74444
+ var tmp0_safe_receiver = this.x3q_1.emitter;
74408
74445
  if (tmp0_safe_receiver == null)
74409
74446
  ;
74410
74447
  else {
74411
- tmp0_safe_receiver.callInviteCancel(callId, map_12(reason));
74448
+ tmp0_safe_receiver.callInviteCancel(callId, map_14(reason));
74412
74449
  }
74413
74450
  };
74414
74451
  protoOf(CombinedClientJS$2).k38 = function (callId, conversationId) {
74415
- var tmp0_safe_receiver = this.t3q_1.emitter;
74452
+ var tmp0_safe_receiver = this.x3q_1.emitter;
74416
74453
  if (tmp0_safe_receiver == null)
74417
74454
  ;
74418
74455
  else {
@@ -74420,7 +74457,7 @@
74420
74457
  }
74421
74458
  };
74422
74459
  protoOf(CombinedClientJS$2).l38 = function (callId, legId, isMuted) {
74423
- var tmp0_safe_receiver = this.t3q_1.emitter;
74460
+ var tmp0_safe_receiver = this.x3q_1.emitter;
74424
74461
  if (tmp0_safe_receiver == null)
74425
74462
  ;
74426
74463
  else {
@@ -74428,7 +74465,7 @@
74428
74465
  }
74429
74466
  };
74430
74467
  protoOf(CombinedClientJS$2).m38 = function (callId, legId, earmuffStatus) {
74431
- var tmp0_safe_receiver = this.t3q_1.emitter;
74468
+ var tmp0_safe_receiver = this.x3q_1.emitter;
74432
74469
  if (tmp0_safe_receiver == null)
74433
74470
  ;
74434
74471
  else {
@@ -74436,7 +74473,7 @@
74436
74473
  }
74437
74474
  };
74438
74475
  protoOf(CombinedClientJS$2).n38 = function (callId, legId, digits) {
74439
- var tmp0_safe_receiver = this.t3q_1.emitter;
74476
+ var tmp0_safe_receiver = this.x3q_1.emitter;
74440
74477
  if (tmp0_safe_receiver == null)
74441
74478
  ;
74442
74479
  else {
@@ -74444,23 +74481,23 @@
74444
74481
  }
74445
74482
  };
74446
74483
  protoOf(CombinedClientJS$2).o38 = function (callId, callQuality, reason) {
74447
- var tmp0_safe_receiver = this.t3q_1.emitter;
74484
+ var tmp0_safe_receiver = this.x3q_1.emitter;
74448
74485
  if (tmp0_safe_receiver == null)
74449
74486
  ;
74450
74487
  else {
74451
- tmp0_safe_receiver.callHangup(callId, map_13(callQuality), map_11(reason));
74488
+ tmp0_safe_receiver.callHangup(callId, map_15(callQuality), map_13(reason));
74452
74489
  }
74453
74490
  };
74454
74491
  protoOf(CombinedClientJS$2).p38 = function (callId, legId, status) {
74455
- var tmp0_safe_receiver = this.t3q_1.emitter;
74492
+ var tmp0_safe_receiver = this.x3q_1.emitter;
74456
74493
  if (tmp0_safe_receiver == null)
74457
74494
  ;
74458
74495
  else {
74459
- tmp0_safe_receiver.legStatusUpdate(callId, legId, map_9(status));
74496
+ tmp0_safe_receiver.legStatusUpdate(callId, legId, map_11(status));
74460
74497
  }
74461
74498
  };
74462
74499
  protoOf(CombinedClientJS$2).q38 = function (callId) {
74463
- var tmp0_safe_receiver = this.t3q_1.emitter;
74500
+ var tmp0_safe_receiver = this.x3q_1.emitter;
74464
74501
  if (tmp0_safe_receiver == null)
74465
74502
  ;
74466
74503
  else {
@@ -74468,7 +74505,7 @@
74468
74505
  }
74469
74506
  };
74470
74507
  protoOf(CombinedClientJS$2).r38 = function (callId) {
74471
- var tmp0_safe_receiver = this.t3q_1.emitter;
74508
+ var tmp0_safe_receiver = this.x3q_1.emitter;
74472
74509
  if (tmp0_safe_receiver == null)
74473
74510
  ;
74474
74511
  else {
@@ -74476,23 +74513,23 @@
74476
74513
  }
74477
74514
  };
74478
74515
  protoOf(CombinedClientJS$2).s38 = function (callId, reason) {
74479
- var tmp0_safe_receiver = this.t3q_1.emitter;
74516
+ var tmp0_safe_receiver = this.x3q_1.emitter;
74480
74517
  if (tmp0_safe_receiver == null)
74481
74518
  ;
74482
74519
  else {
74483
- tmp0_safe_receiver.callMediaDisconnect(callId, map_10(reason));
74520
+ tmp0_safe_receiver.callMediaDisconnect(callId, map_12(reason));
74484
74521
  }
74485
74522
  };
74486
74523
  protoOf(CombinedClientJS$2).t38 = function (rtcStats, legId) {
74487
- var tmp0_safe_receiver = this.t3q_1.emitter;
74524
+ var tmp0_safe_receiver = this.x3q_1.emitter;
74488
74525
  if (tmp0_safe_receiver == null)
74489
74526
  ;
74490
74527
  else {
74491
- tmp0_safe_receiver.rtcStatsUpdate(Companion_instance_0.u3q(rtcStats), legId);
74528
+ tmp0_safe_receiver.rtcStatsUpdate(Companion_instance_0.y3q(rtcStats), legId);
74492
74529
  }
74493
74530
  };
74494
74531
  protoOf(CombinedClientJS$2).u38 = function (callId, error) {
74495
- var tmp0_safe_receiver = this.t3q_1.emitter;
74532
+ var tmp0_safe_receiver = this.x3q_1.emitter;
74496
74533
  if (tmp0_safe_receiver == null)
74497
74534
  ;
74498
74535
  else {
@@ -74500,43 +74537,64 @@
74500
74537
  }
74501
74538
  };
74502
74539
  function CombinedClientJS$3(this$0) {
74503
- this.v3q_1 = this$0;
74540
+ this.z3q_1 = this$0;
74504
74541
  }
74505
74542
  protoOf(CombinedClientJS$3).v2s = function (event) {
74506
- var tmp0_safe_receiver = this.v3q_1.emitter;
74543
+ var tmp0_safe_receiver = this.z3q_1.emitter;
74507
74544
  if (tmp0_safe_receiver == null)
74508
74545
  ;
74509
74546
  else {
74510
- tmp0_safe_receiver.conversationEvent(map_0(event));
74547
+ tmp0_safe_receiver.conversationEvent(map_1(event));
74511
74548
  }
74512
74549
  };
74513
74550
  function CombinedClientJS(config, http, socket, media) {
74514
- this.r3q_1 = media;
74551
+ this.v3q_1 = media;
74515
74552
  var tmp = this;
74516
74553
  var tmp_0 = new Builder();
74517
74554
  var tmp0_safe_receiver = config.loggingLevel;
74518
74555
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getLoggingLevel(tmp0_safe_receiver);
74519
74556
  var tmp_1 = tmp1_elvis_lhs == null ? getLoggingLevel(get_DEFAULT_LOGGING_LEVEL()) : tmp1_elvis_lhs;
74520
- var tmp_2 = map_7(config.customLoggers);
74557
+ var tmp_2 = map_9(config.customLoggers);
74521
74558
  var tmp2_elvis_lhs = config.disableInternalLogger;
74522
- tmp.s3q_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.r3q_1));
74559
+ 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));
74523
74560
  this.emitter = null;
74524
- this.s3q_1.h1d(new CombinedClientJS$1(this));
74525
- this.s3q_1.l1d(new CombinedClientJS$2(this));
74526
- this.s3q_1.i1d(new CombinedClientJS$3(this));
74561
+ this.w3q_1.h1d(new CombinedClientJS$1(this));
74562
+ this.w3q_1.l1d(new CombinedClientJS$2(this));
74563
+ this.w3q_1.i1d(new CombinedClientJS$3(this));
74527
74564
  }
74528
- protoOf(CombinedClientJS).w3q = function () {
74529
- return this.r3q_1;
74565
+ protoOf(CombinedClientJS).a3r = function () {
74566
+ return this.v3q_1;
74530
74567
  };
74531
- protoOf(CombinedClientJS).x3q = function () {
74532
- return this.s3q_1;
74568
+ protoOf(CombinedClientJS).b3r = function () {
74569
+ return this.w3q_1;
74533
74570
  };
74534
- protoOf(CombinedClientJS).y3q = function (_set____db54di) {
74571
+ protoOf(CombinedClientJS).c3r = function (_set____db54di) {
74535
74572
  this.emitter = _set____db54di;
74536
74573
  };
74537
- protoOf(CombinedClientJS).z3q = function () {
74574
+ protoOf(CombinedClientJS).d3r = function () {
74538
74575
  return this.emitter;
74539
74576
  };
74577
+ function map(_this__u8e3s4) {
74578
+ var tmp;
74579
+ switch (_this__u8e3s4.z7_1) {
74580
+ case 0:
74581
+ tmp = VoiceChannelTypeObject_instance.app;
74582
+ break;
74583
+ case 1:
74584
+ tmp = VoiceChannelTypeObject_instance.phone;
74585
+ break;
74586
+ case 2:
74587
+ tmp = VoiceChannelTypeObject_instance.sip;
74588
+ break;
74589
+ case 3:
74590
+ tmp = VoiceChannelTypeObject_instance.websocket;
74591
+ break;
74592
+ default:
74593
+ noWhenBranchMatchedException();
74594
+ break;
74595
+ }
74596
+ return tmp;
74597
+ }
74540
74598
  var EventStateTypeJS_SEEN_instance;
74541
74599
  var EventStateTypeJS_DELIVERED_instance;
74542
74600
  var EventStateTypeJS_SUBMITTED_instance;
@@ -74606,22 +74664,22 @@
74606
74664
  var tmp3_elvis_lhs = tmp_5;
74607
74665
  tmp_4.current = tmp3_elvis_lhs == null ? 'none' : tmp3_elvis_lhs;
74608
74666
  }
74609
- protoOf(EventStateJS).c3r = function () {
74667
+ protoOf(EventStateJS).g3r = function () {
74610
74668
  return this.seen;
74611
74669
  };
74612
- protoOf(EventStateJS).d3r = function () {
74670
+ protoOf(EventStateJS).h3r = function () {
74613
74671
  return this.delivered;
74614
74672
  };
74615
- protoOf(EventStateJS).e3r = function () {
74673
+ protoOf(EventStateJS).i3r = function () {
74616
74674
  return this.submitted;
74617
74675
  };
74618
- protoOf(EventStateJS).f3r = function () {
74676
+ protoOf(EventStateJS).j3r = function () {
74619
74677
  return this.rejected;
74620
74678
  };
74621
- protoOf(EventStateJS).g3r = function () {
74679
+ protoOf(EventStateJS).k3r = function () {
74622
74680
  return this.undeliverable;
74623
74681
  };
74624
- protoOf(EventStateJS).h3r = function () {
74682
+ protoOf(EventStateJS).l3r = function () {
74625
74683
  return this.current;
74626
74684
  };
74627
74685
  function EventsPageJS(eventsPage) {
@@ -74635,20 +74693,20 @@
74635
74693
  while (tmp0_iterator.q()) {
74636
74694
  var item = tmp0_iterator.s();
74637
74695
  // Inline function 'vonage.EventsPageJS.events.<anonymous>' call
74638
- var tmp$ret$0 = map_1(item);
74696
+ var tmp$ret$0 = map_2(item);
74639
74697
  destination.m(tmp$ret$0);
74640
74698
  }
74641
74699
  tmp.events = copyToArray(destination);
74642
74700
  this.previousCursor = eventsPage.h30_1;
74643
74701
  this.nextCursor = eventsPage.i30_1;
74644
74702
  }
74645
- protoOf(EventsPageJS).i3r = function () {
74703
+ protoOf(EventsPageJS).m3r = function () {
74646
74704
  return this.events;
74647
74705
  };
74648
- protoOf(EventsPageJS).j3r = function () {
74706
+ protoOf(EventsPageJS).n3r = function () {
74649
74707
  return this.previousCursor;
74650
74708
  };
74651
- protoOf(EventsPageJS).k3r = function () {
74709
+ protoOf(EventsPageJS).o3r = function () {
74652
74710
  return this.nextCursor;
74653
74711
  };
74654
74712
  function FromJS() {
@@ -74661,7 +74719,7 @@
74661
74719
  protoOf(EmbeddedInfoJS).ch = function () {
74662
74720
  return this.kind;
74663
74721
  };
74664
- protoOf(EmbeddedInfoJS).l3r = function () {
74722
+ protoOf(EmbeddedInfoJS).p3r = function () {
74665
74723
  return this.memberId;
74666
74724
  };
74667
74725
  protoOf(EmbeddedInfoJS).q2m = function () {
@@ -74703,7 +74761,7 @@
74703
74761
  this.memberId = body.m30_1;
74704
74762
  this.user = new UserJS(body.l30_1);
74705
74763
  }
74706
- protoOf(MemberEventBodyJS).l3r = function () {
74764
+ protoOf(MemberEventBodyJS).p3r = function () {
74707
74765
  return this.memberId;
74708
74766
  };
74709
74767
  protoOf(MemberEventBodyJS).q2m = function () {
@@ -74714,7 +74772,7 @@
74714
74772
  this.id = event.n30_1;
74715
74773
  this.timestamp = event.o30_1;
74716
74774
  this.conversationId = event.p30_1;
74717
- this.from = map(event.q30_1);
74775
+ this.from = map_0(event.q30_1);
74718
74776
  this.body = new MemberEventBodyJS(event.r30_1);
74719
74777
  }
74720
74778
  protoOf(MemberInvitedEventJS).ch = function () {
@@ -74729,10 +74787,10 @@
74729
74787
  protoOf(MemberInvitedEventJS).t2s = function () {
74730
74788
  return this.conversationId;
74731
74789
  };
74732
- protoOf(MemberInvitedEventJS).m3r = function () {
74790
+ protoOf(MemberInvitedEventJS).q3r = function () {
74733
74791
  return this.from;
74734
74792
  };
74735
- protoOf(MemberInvitedEventJS).n3r = function () {
74793
+ protoOf(MemberInvitedEventJS).r3r = function () {
74736
74794
  return this.body;
74737
74795
  };
74738
74796
  function MemberJoinedEventJS(event) {
@@ -74740,7 +74798,7 @@
74740
74798
  this.id = event.s30_1;
74741
74799
  this.timestamp = event.t30_1;
74742
74800
  this.conversationId = event.u30_1;
74743
- this.from = map(event.v30_1);
74801
+ this.from = map_0(event.v30_1);
74744
74802
  this.body = new MemberEventBodyJS(event.w30_1);
74745
74803
  }
74746
74804
  protoOf(MemberJoinedEventJS).ch = function () {
@@ -74755,10 +74813,10 @@
74755
74813
  protoOf(MemberJoinedEventJS).t2s = function () {
74756
74814
  return this.conversationId;
74757
74815
  };
74758
- protoOf(MemberJoinedEventJS).m3r = function () {
74816
+ protoOf(MemberJoinedEventJS).q3r = function () {
74759
74817
  return this.from;
74760
74818
  };
74761
- protoOf(MemberJoinedEventJS).n3r = function () {
74819
+ protoOf(MemberJoinedEventJS).r3r = function () {
74762
74820
  return this.body;
74763
74821
  };
74764
74822
  function MemberLeftEventJS(event) {
@@ -74766,7 +74824,7 @@
74766
74824
  this.id = event.x30_1;
74767
74825
  this.timestamp = event.y30_1;
74768
74826
  this.conversationId = event.z30_1;
74769
- this.from = map(event.a31_1);
74827
+ this.from = map_0(event.a31_1);
74770
74828
  this.body = new MemberEventBodyJS(event.b31_1);
74771
74829
  }
74772
74830
  protoOf(MemberLeftEventJS).ch = function () {
@@ -74781,10 +74839,10 @@
74781
74839
  protoOf(MemberLeftEventJS).t2s = function () {
74782
74840
  return this.conversationId;
74783
74841
  };
74784
- protoOf(MemberLeftEventJS).m3r = function () {
74842
+ protoOf(MemberLeftEventJS).q3r = function () {
74785
74843
  return this.from;
74786
74844
  };
74787
- protoOf(MemberLeftEventJS).n3r = function () {
74845
+ protoOf(MemberLeftEventJS).r3r = function () {
74788
74846
  return this.body;
74789
74847
  };
74790
74848
  function JSONBodyEventJS() {
@@ -74794,7 +74852,7 @@
74794
74852
  this.id = event.c31_1;
74795
74853
  this.timestamp = event.d31_1;
74796
74854
  this.conversationId = event.e31_1;
74797
- this.from = map(event.f31_1);
74855
+ this.from = map_0(event.f31_1);
74798
74856
  this.eventType = event.h31_1;
74799
74857
  this.body = parseCustomJson(event.g31_1);
74800
74858
  }
@@ -74810,20 +74868,20 @@
74810
74868
  protoOf(CustomConversationEventJS).t2s = function () {
74811
74869
  return this.conversationId;
74812
74870
  };
74813
- protoOf(CustomConversationEventJS).m3r = function () {
74871
+ protoOf(CustomConversationEventJS).q3r = function () {
74814
74872
  return this.from;
74815
74873
  };
74816
- protoOf(CustomConversationEventJS).o3r = function () {
74874
+ protoOf(CustomConversationEventJS).s3r = function () {
74817
74875
  return this.eventType;
74818
74876
  };
74819
- protoOf(CustomConversationEventJS).n3r = function () {
74877
+ protoOf(CustomConversationEventJS).r3r = function () {
74820
74878
  return this.body;
74821
74879
  };
74822
74880
  function EphemeralConversationEventJS(event) {
74823
74881
  this.kind = 'ephemeral';
74824
74882
  this.timestamp = event.i31_1;
74825
74883
  this.conversationId = event.j31_1;
74826
- this.from = map(event.k31_1);
74884
+ this.from = map_0(event.k31_1);
74827
74885
  this.body = parseCustomJson(event.l31_1);
74828
74886
  }
74829
74887
  protoOf(EphemeralConversationEventJS).ch = function () {
@@ -74835,16 +74893,16 @@
74835
74893
  protoOf(EphemeralConversationEventJS).t2s = function () {
74836
74894
  return this.conversationId;
74837
74895
  };
74838
- protoOf(EphemeralConversationEventJS).m3r = function () {
74896
+ protoOf(EphemeralConversationEventJS).q3r = function () {
74839
74897
  return this.from;
74840
74898
  };
74841
- protoOf(EphemeralConversationEventJS).n3r = function () {
74899
+ protoOf(EphemeralConversationEventJS).r3r = function () {
74842
74900
  return this.body;
74843
74901
  };
74844
74902
  function EventStateBodyJS(stateBody) {
74845
74903
  this.eventId = stateBody.m31_1;
74846
74904
  }
74847
- protoOf(EventStateBodyJS).p3r = function () {
74905
+ protoOf(EventStateBodyJS).t3r = function () {
74848
74906
  return this.eventId;
74849
74907
  };
74850
74908
  function EventDeleteConversationEventJS(event) {
@@ -74852,7 +74910,7 @@
74852
74910
  this.id = event.n31_1;
74853
74911
  this.timestamp = event.o31_1;
74854
74912
  this.conversationId = event.p31_1;
74855
- this.from = map(event.q31_1);
74913
+ this.from = map_0(event.q31_1);
74856
74914
  this.body = new EventStateBodyJS(event.r31_1);
74857
74915
  }
74858
74916
  protoOf(EventDeleteConversationEventJS).ch = function () {
@@ -74867,10 +74925,10 @@
74867
74925
  protoOf(EventDeleteConversationEventJS).t2s = function () {
74868
74926
  return this.conversationId;
74869
74927
  };
74870
- protoOf(EventDeleteConversationEventJS).m3r = function () {
74928
+ protoOf(EventDeleteConversationEventJS).q3r = function () {
74871
74929
  return this.from;
74872
74930
  };
74873
- protoOf(EventDeleteConversationEventJS).n3r = function () {
74931
+ protoOf(EventDeleteConversationEventJS).r3r = function () {
74874
74932
  return this.body;
74875
74933
  };
74876
74934
  function MessageDeliveredEventJS(event) {
@@ -74878,7 +74936,7 @@
74878
74936
  this.id = event.s31_1;
74879
74937
  this.timestamp = event.t31_1;
74880
74938
  this.conversationId = event.u31_1;
74881
- this.from = map(event.v31_1);
74939
+ this.from = map_0(event.v31_1);
74882
74940
  this.body = new EventStateBodyJS(event.w31_1);
74883
74941
  }
74884
74942
  protoOf(MessageDeliveredEventJS).ch = function () {
@@ -74893,10 +74951,10 @@
74893
74951
  protoOf(MessageDeliveredEventJS).t2s = function () {
74894
74952
  return this.conversationId;
74895
74953
  };
74896
- protoOf(MessageDeliveredEventJS).m3r = function () {
74954
+ protoOf(MessageDeliveredEventJS).q3r = function () {
74897
74955
  return this.from;
74898
74956
  };
74899
- protoOf(MessageDeliveredEventJS).n3r = function () {
74957
+ protoOf(MessageDeliveredEventJS).r3r = function () {
74900
74958
  return this.body;
74901
74959
  };
74902
74960
  function MessageRejectedEventJS(event) {
@@ -74904,7 +74962,7 @@
74904
74962
  this.id = event.x31_1;
74905
74963
  this.timestamp = event.y31_1;
74906
74964
  this.conversationId = event.z31_1;
74907
- this.from = map(event.a32_1);
74965
+ this.from = map_0(event.a32_1);
74908
74966
  this.body = new EventStateBodyJS(event.b32_1);
74909
74967
  }
74910
74968
  protoOf(MessageRejectedEventJS).ch = function () {
@@ -74919,10 +74977,10 @@
74919
74977
  protoOf(MessageRejectedEventJS).t2s = function () {
74920
74978
  return this.conversationId;
74921
74979
  };
74922
- protoOf(MessageRejectedEventJS).m3r = function () {
74980
+ protoOf(MessageRejectedEventJS).q3r = function () {
74923
74981
  return this.from;
74924
74982
  };
74925
- protoOf(MessageRejectedEventJS).n3r = function () {
74983
+ protoOf(MessageRejectedEventJS).r3r = function () {
74926
74984
  return this.body;
74927
74985
  };
74928
74986
  function MessageUndeliverableEventJS(event) {
@@ -74930,7 +74988,7 @@
74930
74988
  this.id = event.c32_1;
74931
74989
  this.timestamp = event.d32_1;
74932
74990
  this.conversationId = event.e32_1;
74933
- this.from = map(event.f32_1);
74991
+ this.from = map_0(event.f32_1);
74934
74992
  this.body = new EventStateBodyJS(event.g32_1);
74935
74993
  }
74936
74994
  protoOf(MessageUndeliverableEventJS).ch = function () {
@@ -74945,10 +75003,10 @@
74945
75003
  protoOf(MessageUndeliverableEventJS).t2s = function () {
74946
75004
  return this.conversationId;
74947
75005
  };
74948
- protoOf(MessageUndeliverableEventJS).m3r = function () {
75006
+ protoOf(MessageUndeliverableEventJS).q3r = function () {
74949
75007
  return this.from;
74950
75008
  };
74951
- protoOf(MessageUndeliverableEventJS).n3r = function () {
75009
+ protoOf(MessageUndeliverableEventJS).r3r = function () {
74952
75010
  return this.body;
74953
75011
  };
74954
75012
  function MessageSubmittedEventJS(event) {
@@ -74956,7 +75014,7 @@
74956
75014
  this.id = event.h32_1;
74957
75015
  this.timestamp = event.i32_1;
74958
75016
  this.conversationId = event.j32_1;
74959
- this.from = map(event.k32_1);
75017
+ this.from = map_0(event.k32_1);
74960
75018
  this.body = new EventStateBodyJS(event.l32_1);
74961
75019
  }
74962
75020
  protoOf(MessageSubmittedEventJS).ch = function () {
@@ -74971,10 +75029,10 @@
74971
75029
  protoOf(MessageSubmittedEventJS).t2s = function () {
74972
75030
  return this.conversationId;
74973
75031
  };
74974
- protoOf(MessageSubmittedEventJS).m3r = function () {
75032
+ protoOf(MessageSubmittedEventJS).q3r = function () {
74975
75033
  return this.from;
74976
75034
  };
74977
- protoOf(MessageSubmittedEventJS).n3r = function () {
75035
+ protoOf(MessageSubmittedEventJS).r3r = function () {
74978
75036
  return this.body;
74979
75037
  };
74980
75038
  function MessageSeenEventJS(event) {
@@ -74982,7 +75040,7 @@
74982
75040
  this.id = event.m32_1;
74983
75041
  this.timestamp = event.n32_1;
74984
75042
  this.conversationId = event.o32_1;
74985
- this.from = map(event.p32_1);
75043
+ this.from = map_0(event.p32_1);
74986
75044
  this.body = new EventStateBodyJS(event.q32_1);
74987
75045
  }
74988
75046
  protoOf(MessageSeenEventJS).ch = function () {
@@ -74997,13 +75055,13 @@
74997
75055
  protoOf(MessageSeenEventJS).t2s = function () {
74998
75056
  return this.conversationId;
74999
75057
  };
75000
- protoOf(MessageSeenEventJS).m3r = function () {
75058
+ protoOf(MessageSeenEventJS).q3r = function () {
75001
75059
  return this.from;
75002
75060
  };
75003
- protoOf(MessageSeenEventJS).n3r = function () {
75061
+ protoOf(MessageSeenEventJS).r3r = function () {
75004
75062
  return this.body;
75005
75063
  };
75006
- function map(_this__u8e3s4) {
75064
+ function map_0(_this__u8e3s4) {
75007
75065
  var tmp;
75008
75066
  if (_this__u8e3s4 instanceof EmbeddedInfo) {
75009
75067
  tmp = new EmbeddedInfoJS(_this__u8e3s4);
@@ -75016,10 +75074,10 @@
75016
75074
  }
75017
75075
  return tmp;
75018
75076
  }
75019
- function map_0(_this__u8e3s4) {
75077
+ function map_1(_this__u8e3s4) {
75020
75078
  var tmp;
75021
75079
  if (isInterface(_this__u8e3s4, PersistentConversationEvent)) {
75022
- tmp = map_1(_this__u8e3s4);
75080
+ tmp = map_2(_this__u8e3s4);
75023
75081
  } else {
75024
75082
  if (_this__u8e3s4 instanceof EphemeralConversationEvent) {
75025
75083
  tmp = new EphemeralConversationEventJS(_this__u8e3s4);
@@ -75029,7 +75087,7 @@
75029
75087
  }
75030
75088
  return tmp;
75031
75089
  }
75032
- function map_1(_this__u8e3s4) {
75090
+ function map_2(_this__u8e3s4) {
75033
75091
  var tmp;
75034
75092
  if (_this__u8e3s4 instanceof MemberInvitedConversationEvent) {
75035
75093
  tmp = new MemberInvitedEventJS(_this__u8e3s4);
@@ -75142,10 +75200,10 @@
75142
75200
  this.text = body.a34_1;
75143
75201
  this.deleted = body.b34_1;
75144
75202
  }
75145
- protoOf(MessageTextEventBody).q3r = function () {
75203
+ protoOf(MessageTextEventBody).u3r = function () {
75146
75204
  return this.text;
75147
75205
  };
75148
- protoOf(MessageTextEventBody).r3r = function () {
75206
+ protoOf(MessageTextEventBody).v3r = function () {
75149
75207
  return this.deleted;
75150
75208
  };
75151
75209
  function MessageTextEventJS(event) {
@@ -75153,7 +75211,7 @@
75153
75211
  this.id = event.e34_1;
75154
75212
  this.timestamp = event.c34_1;
75155
75213
  this.conversationId = event.d34_1;
75156
- this.from = map(event.f34_1);
75214
+ this.from = map_0(event.f34_1);
75157
75215
  this.body = new MessageTextEventBody(event.g34_1);
75158
75216
  var tmp = this;
75159
75217
  var tmp0_safe_receiver = event.h34_1;
@@ -75191,23 +75249,23 @@
75191
75249
  protoOf(MessageTextEventJS).t2s = function () {
75192
75250
  return this.conversationId;
75193
75251
  };
75194
- protoOf(MessageTextEventJS).m3r = function () {
75252
+ protoOf(MessageTextEventJS).q3r = function () {
75195
75253
  return this.from;
75196
75254
  };
75197
- protoOf(MessageTextEventJS).n3r = function () {
75255
+ protoOf(MessageTextEventJS).r3r = function () {
75198
75256
  return this.body;
75199
75257
  };
75200
- protoOf(MessageTextEventJS).s3r = function () {
75258
+ protoOf(MessageTextEventJS).w3r = function () {
75201
75259
  return this.memberStatuses;
75202
75260
  };
75203
75261
  function MessageCustomEventBody(body) {
75204
75262
  this.customData = parseCustomJson(body.i34_1);
75205
75263
  this.deleted = body.j34_1;
75206
75264
  }
75207
- protoOf(MessageCustomEventBody).t3r = function () {
75265
+ protoOf(MessageCustomEventBody).x3r = function () {
75208
75266
  return this.customData;
75209
75267
  };
75210
- protoOf(MessageCustomEventBody).r3r = function () {
75268
+ protoOf(MessageCustomEventBody).v3r = function () {
75211
75269
  return this.deleted;
75212
75270
  };
75213
75271
  function MessageCustomEventJS(event) {
@@ -75215,7 +75273,7 @@
75215
75273
  this.id = event.m34_1;
75216
75274
  this.timestamp = event.k34_1;
75217
75275
  this.conversationId = event.l34_1;
75218
- this.from = map(event.n34_1);
75276
+ this.from = map_0(event.n34_1);
75219
75277
  this.body = new MessageCustomEventBody(event.o34_1);
75220
75278
  var tmp = this;
75221
75279
  var tmp0_safe_receiver = event.p34_1;
@@ -75253,23 +75311,23 @@
75253
75311
  protoOf(MessageCustomEventJS).t2s = function () {
75254
75312
  return this.conversationId;
75255
75313
  };
75256
- protoOf(MessageCustomEventJS).m3r = function () {
75314
+ protoOf(MessageCustomEventJS).q3r = function () {
75257
75315
  return this.from;
75258
75316
  };
75259
- protoOf(MessageCustomEventJS).n3r = function () {
75317
+ protoOf(MessageCustomEventJS).r3r = function () {
75260
75318
  return this.body;
75261
75319
  };
75262
- protoOf(MessageCustomEventJS).s3r = function () {
75320
+ protoOf(MessageCustomEventJS).w3r = function () {
75263
75321
  return this.memberStatuses;
75264
75322
  };
75265
75323
  function MessageAudioEventBody(body) {
75266
75324
  this.audioUrl = body.g35_1;
75267
75325
  this.deleted = body.h35_1;
75268
75326
  }
75269
- protoOf(MessageAudioEventBody).u3r = function () {
75327
+ protoOf(MessageAudioEventBody).y3r = function () {
75270
75328
  return this.audioUrl;
75271
75329
  };
75272
- protoOf(MessageAudioEventBody).r3r = function () {
75330
+ protoOf(MessageAudioEventBody).v3r = function () {
75273
75331
  return this.deleted;
75274
75332
  };
75275
75333
  function MessageAudioEventJS(event) {
@@ -75277,7 +75335,7 @@
75277
75335
  this.id = event.k35_1;
75278
75336
  this.timestamp = event.i35_1;
75279
75337
  this.conversationId = event.j35_1;
75280
- this.from = map(event.l35_1);
75338
+ this.from = map_0(event.l35_1);
75281
75339
  this.body = new MessageAudioEventBody(event.m35_1);
75282
75340
  var tmp = this;
75283
75341
  var tmp0_safe_receiver = event.n35_1;
@@ -75315,23 +75373,23 @@
75315
75373
  protoOf(MessageAudioEventJS).t2s = function () {
75316
75374
  return this.conversationId;
75317
75375
  };
75318
- protoOf(MessageAudioEventJS).m3r = function () {
75376
+ protoOf(MessageAudioEventJS).q3r = function () {
75319
75377
  return this.from;
75320
75378
  };
75321
- protoOf(MessageAudioEventJS).n3r = function () {
75379
+ protoOf(MessageAudioEventJS).r3r = function () {
75322
75380
  return this.body;
75323
75381
  };
75324
- protoOf(MessageAudioEventJS).s3r = function () {
75382
+ protoOf(MessageAudioEventJS).w3r = function () {
75325
75383
  return this.memberStatuses;
75326
75384
  };
75327
75385
  function MessageVideoEventBody(body) {
75328
75386
  this.videoUrl = body.y34_1;
75329
75387
  this.deleted = body.z34_1;
75330
75388
  }
75331
- protoOf(MessageVideoEventBody).v3r = function () {
75389
+ protoOf(MessageVideoEventBody).z3r = function () {
75332
75390
  return this.videoUrl;
75333
75391
  };
75334
- protoOf(MessageVideoEventBody).r3r = function () {
75392
+ protoOf(MessageVideoEventBody).v3r = function () {
75335
75393
  return this.deleted;
75336
75394
  };
75337
75395
  function MessageVideoEventJS(event) {
@@ -75339,7 +75397,7 @@
75339
75397
  this.id = event.c35_1;
75340
75398
  this.timestamp = event.a35_1;
75341
75399
  this.conversationId = event.b35_1;
75342
- this.from = map(event.d35_1);
75400
+ this.from = map_0(event.d35_1);
75343
75401
  this.body = new MessageVideoEventBody(event.e35_1);
75344
75402
  var tmp = this;
75345
75403
  var tmp0_safe_receiver = event.f35_1;
@@ -75377,23 +75435,23 @@
75377
75435
  protoOf(MessageVideoEventJS).t2s = function () {
75378
75436
  return this.conversationId;
75379
75437
  };
75380
- protoOf(MessageVideoEventJS).m3r = function () {
75438
+ protoOf(MessageVideoEventJS).q3r = function () {
75381
75439
  return this.from;
75382
75440
  };
75383
- protoOf(MessageVideoEventJS).n3r = function () {
75441
+ protoOf(MessageVideoEventJS).r3r = function () {
75384
75442
  return this.body;
75385
75443
  };
75386
- protoOf(MessageVideoEventJS).s3r = function () {
75444
+ protoOf(MessageVideoEventJS).w3r = function () {
75387
75445
  return this.memberStatuses;
75388
75446
  };
75389
75447
  function MessageImageEventBody(body) {
75390
75448
  this.imageUrl = body.q34_1;
75391
75449
  this.deleted = body.r34_1;
75392
75450
  }
75393
- protoOf(MessageImageEventBody).w3r = function () {
75451
+ protoOf(MessageImageEventBody).a3s = function () {
75394
75452
  return this.imageUrl;
75395
75453
  };
75396
- protoOf(MessageImageEventBody).r3r = function () {
75454
+ protoOf(MessageImageEventBody).v3r = function () {
75397
75455
  return this.deleted;
75398
75456
  };
75399
75457
  function MessageImageEventJS(event) {
@@ -75401,7 +75459,7 @@
75401
75459
  this.id = event.u34_1;
75402
75460
  this.timestamp = event.s34_1;
75403
75461
  this.conversationId = event.t34_1;
75404
- this.from = map(event.v34_1);
75462
+ this.from = map_0(event.v34_1);
75405
75463
  this.body = new MessageImageEventBody(event.w34_1);
75406
75464
  var tmp = this;
75407
75465
  var tmp0_safe_receiver = event.x34_1;
@@ -75439,23 +75497,23 @@
75439
75497
  protoOf(MessageImageEventJS).t2s = function () {
75440
75498
  return this.conversationId;
75441
75499
  };
75442
- protoOf(MessageImageEventJS).m3r = function () {
75500
+ protoOf(MessageImageEventJS).q3r = function () {
75443
75501
  return this.from;
75444
75502
  };
75445
- protoOf(MessageImageEventJS).n3r = function () {
75503
+ protoOf(MessageImageEventJS).r3r = function () {
75446
75504
  return this.body;
75447
75505
  };
75448
- protoOf(MessageImageEventJS).s3r = function () {
75506
+ protoOf(MessageImageEventJS).w3r = function () {
75449
75507
  return this.memberStatuses;
75450
75508
  };
75451
75509
  function MessageFileEventBody(body) {
75452
75510
  this.fileUrl = body.o35_1;
75453
75511
  this.deleted = body.p35_1;
75454
75512
  }
75455
- protoOf(MessageFileEventBody).x3r = function () {
75513
+ protoOf(MessageFileEventBody).b3s = function () {
75456
75514
  return this.fileUrl;
75457
75515
  };
75458
- protoOf(MessageFileEventBody).r3r = function () {
75516
+ protoOf(MessageFileEventBody).v3r = function () {
75459
75517
  return this.deleted;
75460
75518
  };
75461
75519
  function MessageFileEventJS(event) {
@@ -75463,7 +75521,7 @@
75463
75521
  this.id = event.s35_1;
75464
75522
  this.timestamp = event.q35_1;
75465
75523
  this.conversationId = event.r35_1;
75466
- this.from = map(event.t35_1);
75524
+ this.from = map_0(event.t35_1);
75467
75525
  this.body = new MessageFileEventBody(event.u35_1);
75468
75526
  var tmp = this;
75469
75527
  var tmp0_safe_receiver = event.v35_1;
@@ -75501,23 +75559,23 @@
75501
75559
  protoOf(MessageFileEventJS).t2s = function () {
75502
75560
  return this.conversationId;
75503
75561
  };
75504
- protoOf(MessageFileEventJS).m3r = function () {
75562
+ protoOf(MessageFileEventJS).q3r = function () {
75505
75563
  return this.from;
75506
75564
  };
75507
- protoOf(MessageFileEventJS).n3r = function () {
75565
+ protoOf(MessageFileEventJS).r3r = function () {
75508
75566
  return this.body;
75509
75567
  };
75510
- protoOf(MessageFileEventJS).s3r = function () {
75568
+ protoOf(MessageFileEventJS).w3r = function () {
75511
75569
  return this.memberStatuses;
75512
75570
  };
75513
75571
  function MessageVCardEventBody(body) {
75514
75572
  this.vcardUrl = body.w35_1;
75515
75573
  this.deleted = body.x35_1;
75516
75574
  }
75517
- protoOf(MessageVCardEventBody).y3r = function () {
75575
+ protoOf(MessageVCardEventBody).c3s = function () {
75518
75576
  return this.vcardUrl;
75519
75577
  };
75520
- protoOf(MessageVCardEventBody).r3r = function () {
75578
+ protoOf(MessageVCardEventBody).v3r = function () {
75521
75579
  return this.deleted;
75522
75580
  };
75523
75581
  function MessageVCardEventJS(event) {
@@ -75525,7 +75583,7 @@
75525
75583
  this.id = event.a36_1;
75526
75584
  this.timestamp = event.y35_1;
75527
75585
  this.conversationId = event.z35_1;
75528
- this.from = map(event.b36_1);
75586
+ this.from = map_0(event.b36_1);
75529
75587
  this.body = new MessageVCardEventBody(event.c36_1);
75530
75588
  var tmp = this;
75531
75589
  var tmp0_safe_receiver = event.d36_1;
@@ -75563,23 +75621,23 @@
75563
75621
  protoOf(MessageVCardEventJS).t2s = function () {
75564
75622
  return this.conversationId;
75565
75623
  };
75566
- protoOf(MessageVCardEventJS).m3r = function () {
75624
+ protoOf(MessageVCardEventJS).q3r = function () {
75567
75625
  return this.from;
75568
75626
  };
75569
- protoOf(MessageVCardEventJS).n3r = function () {
75627
+ protoOf(MessageVCardEventJS).r3r = function () {
75570
75628
  return this.body;
75571
75629
  };
75572
- protoOf(MessageVCardEventJS).s3r = function () {
75630
+ protoOf(MessageVCardEventJS).w3r = function () {
75573
75631
  return this.memberStatuses;
75574
75632
  };
75575
75633
  function MessageLocationEventBody(body) {
75576
75634
  this.location = new Location_0(body.n36_1);
75577
75635
  this.deleted = body.o36_1;
75578
75636
  }
75579
- protoOf(MessageLocationEventBody).z3r = function () {
75637
+ protoOf(MessageLocationEventBody).d3s = function () {
75580
75638
  return this.location;
75581
75639
  };
75582
- protoOf(MessageLocationEventBody).r3r = function () {
75640
+ protoOf(MessageLocationEventBody).v3r = function () {
75583
75641
  return this.deleted;
75584
75642
  };
75585
75643
  function Location_0(location) {
@@ -75588,16 +75646,16 @@
75588
75646
  this.name = location.p2l_1;
75589
75647
  this.address = location.q2l_1;
75590
75648
  }
75591
- protoOf(Location_0).a3s = function () {
75649
+ protoOf(Location_0).e3s = function () {
75592
75650
  return this.longitude;
75593
75651
  };
75594
- protoOf(Location_0).b3s = function () {
75652
+ protoOf(Location_0).f3s = function () {
75595
75653
  return this.latitude;
75596
75654
  };
75597
75655
  protoOf(Location_0).a9 = function () {
75598
75656
  return this.name;
75599
75657
  };
75600
- protoOf(Location_0).c3s = function () {
75658
+ protoOf(Location_0).g3s = function () {
75601
75659
  return this.address;
75602
75660
  };
75603
75661
  function MessageLocationEventJS(event) {
@@ -75605,7 +75663,7 @@
75605
75663
  this.id = event.r36_1;
75606
75664
  this.timestamp = event.p36_1;
75607
75665
  this.conversationId = event.q36_1;
75608
- this.from = map(event.s36_1);
75666
+ this.from = map_0(event.s36_1);
75609
75667
  this.body = new MessageLocationEventBody(event.t36_1);
75610
75668
  var tmp = this;
75611
75669
  var tmp0_safe_receiver = event.u36_1;
@@ -75643,13 +75701,13 @@
75643
75701
  protoOf(MessageLocationEventJS).t2s = function () {
75644
75702
  return this.conversationId;
75645
75703
  };
75646
- protoOf(MessageLocationEventJS).m3r = function () {
75704
+ protoOf(MessageLocationEventJS).q3r = function () {
75647
75705
  return this.from;
75648
75706
  };
75649
- protoOf(MessageLocationEventJS).n3r = function () {
75707
+ protoOf(MessageLocationEventJS).r3r = function () {
75650
75708
  return this.body;
75651
75709
  };
75652
- protoOf(MessageLocationEventJS).s3r = function () {
75710
+ protoOf(MessageLocationEventJS).w3r = function () {
75653
75711
  return this.memberStatuses;
75654
75712
  };
75655
75713
  function MessageTemplateEventBody(body) {
@@ -75658,27 +75716,27 @@
75658
75716
  this.whatsapp = new WhatsappObject_0(this.body.f36_1);
75659
75717
  this.deleted = this.body.g36_1;
75660
75718
  }
75661
- protoOf(MessageTemplateEventBody).n3r = function () {
75719
+ protoOf(MessageTemplateEventBody).r3r = function () {
75662
75720
  return this.body;
75663
75721
  };
75664
- protoOf(MessageTemplateEventBody).d3s = function () {
75722
+ protoOf(MessageTemplateEventBody).h3s = function () {
75665
75723
  return this.template;
75666
75724
  };
75667
- protoOf(MessageTemplateEventBody).e3s = function () {
75725
+ protoOf(MessageTemplateEventBody).i3s = function () {
75668
75726
  return this.whatsapp;
75669
75727
  };
75670
- protoOf(MessageTemplateEventBody).r3r = function () {
75728
+ protoOf(MessageTemplateEventBody).v3r = function () {
75671
75729
  return this.deleted;
75672
75730
  };
75673
75731
  protoOf(MessageTemplateEventBody).o5 = function () {
75674
75732
  return this.body;
75675
75733
  };
75676
- protoOf(MessageTemplateEventBody).f3s = function (body) {
75734
+ protoOf(MessageTemplateEventBody).j3s = function (body) {
75677
75735
  return new MessageTemplateEventBody(body);
75678
75736
  };
75679
75737
  protoOf(MessageTemplateEventBody).copy = function (body, $super) {
75680
75738
  body = body === VOID ? this.body : body;
75681
- return this.f3s(body);
75739
+ return this.j3s(body);
75682
75740
  };
75683
75741
  protoOf(MessageTemplateEventBody).toString = function () {
75684
75742
  return 'Body(body=' + this.body + ')';
@@ -75712,17 +75770,17 @@
75712
75770
  protoOf(TemplateObject_0).a9 = function () {
75713
75771
  return this.name;
75714
75772
  };
75715
- protoOf(TemplateObject_0).g3s = function () {
75773
+ protoOf(TemplateObject_0).k3s = function () {
75716
75774
  return this.parameters;
75717
75775
  };
75718
75776
  function WhatsappObject_0(whatsapp) {
75719
75777
  this.policy = whatsapp.j2l_1;
75720
75778
  this.locale = whatsapp.k2l_1;
75721
75779
  }
75722
- protoOf(WhatsappObject_0).h3s = function () {
75780
+ protoOf(WhatsappObject_0).l3s = function () {
75723
75781
  return this.policy;
75724
75782
  };
75725
- protoOf(WhatsappObject_0).i3s = function () {
75783
+ protoOf(WhatsappObject_0).m3s = function () {
75726
75784
  return this.locale;
75727
75785
  };
75728
75786
  function MessageTemplateEventJS(event) {
@@ -75730,7 +75788,7 @@
75730
75788
  this.id = event.j36_1;
75731
75789
  this.timestamp = event.h36_1;
75732
75790
  this.conversationId = event.i36_1;
75733
- this.from = map(event.k36_1);
75791
+ this.from = map_0(event.k36_1);
75734
75792
  var tmp = this;
75735
75793
  var tmp0_safe_receiver = event.m36_1;
75736
75794
  var tmp_0;
@@ -75768,13 +75826,13 @@
75768
75826
  protoOf(MessageTemplateEventJS).t2s = function () {
75769
75827
  return this.conversationId;
75770
75828
  };
75771
- protoOf(MessageTemplateEventJS).m3r = function () {
75829
+ protoOf(MessageTemplateEventJS).q3r = function () {
75772
75830
  return this.from;
75773
75831
  };
75774
- protoOf(MessageTemplateEventJS).j3s = function () {
75832
+ protoOf(MessageTemplateEventJS).n3s = function () {
75775
75833
  return this.memberStatus;
75776
75834
  };
75777
- protoOf(MessageTemplateEventJS).n3r = function () {
75835
+ protoOf(MessageTemplateEventJS).r3r = function () {
75778
75836
  return this.body;
75779
75837
  };
75780
75838
  var PresentingOrderJS_ASC_instance;
@@ -75806,7 +75864,7 @@
75806
75864
  Enum.call(this, name, ordinal);
75807
75865
  this.corePresentingOrder = corePresentingOrder;
75808
75866
  }
75809
- protoOf(PresentingOrderJS).m3s = function () {
75867
+ protoOf(PresentingOrderJS).q3s = function () {
75810
75868
  return this.corePresentingOrder;
75811
75869
  };
75812
75870
  var OrderByJS_CREATED_instance;
@@ -75838,7 +75896,7 @@
75838
75896
  Enum.call(this, name, ordinal);
75839
75897
  this.coreOrderBy = coreOrderBy;
75840
75898
  }
75841
- protoOf(OrderByJS).p3s = function () {
75899
+ protoOf(OrderByJS).t3s = function () {
75842
75900
  return this.coreOrderBy;
75843
75901
  };
75844
75902
  function Properties(properties) {
@@ -75859,13 +75917,13 @@
75859
75917
  }
75860
75918
  tmp_1.customData = tmp_2;
75861
75919
  }
75862
- protoOf(Properties).q3s = function () {
75920
+ protoOf(Properties).u3s = function () {
75863
75921
  return this.ttl;
75864
75922
  };
75865
- protoOf(Properties).r3s = function () {
75923
+ protoOf(Properties).v3s = function () {
75866
75924
  return this.customSortKey;
75867
75925
  };
75868
- protoOf(Properties).t3r = function () {
75926
+ protoOf(Properties).x3r = function () {
75869
75927
  return this.customData;
75870
75928
  };
75871
75929
  function ConversationJS(conversation) {
@@ -75875,12 +75933,12 @@
75875
75933
  this.memberId = conversation.m2z_1;
75876
75934
  var tmp = this;
75877
75935
  var tmp0_safe_receiver = conversation.n2z_1;
75878
- tmp.memberState = tmp0_safe_receiver == null ? null : map_3(tmp0_safe_receiver);
75936
+ tmp.memberState = tmp0_safe_receiver == null ? null : map_4(tmp0_safe_receiver);
75879
75937
  this.displayName = conversation.o2z_1;
75880
75938
  this.imageUrl = conversation.p2z_1;
75881
75939
  var tmp_0 = this;
75882
75940
  var tmp0_safe_receiver_0 = conversation.q2z_1;
75883
- tmp_0.state = tmp0_safe_receiver_0 == null ? null : map_2(tmp0_safe_receiver_0);
75941
+ tmp_0.state = tmp0_safe_receiver_0 == null ? null : map_3(tmp0_safe_receiver_0);
75884
75942
  this.properties = new Properties(conversation.r2z_1);
75885
75943
  }
75886
75944
  protoOf(ConversationJS).y26 = function () {
@@ -75892,16 +75950,16 @@
75892
75950
  protoOf(ConversationJS).n2k = function () {
75893
75951
  return this.timestamp;
75894
75952
  };
75895
- protoOf(ConversationJS).l3r = function () {
75953
+ protoOf(ConversationJS).p3r = function () {
75896
75954
  return this.memberId;
75897
75955
  };
75898
- protoOf(ConversationJS).s3s = function () {
75956
+ protoOf(ConversationJS).w3s = function () {
75899
75957
  return this.memberState;
75900
75958
  };
75901
- protoOf(ConversationJS).t3s = function () {
75959
+ protoOf(ConversationJS).x3s = function () {
75902
75960
  return this.displayName;
75903
75961
  };
75904
- protoOf(ConversationJS).w3r = function () {
75962
+ protoOf(ConversationJS).a3s = function () {
75905
75963
  return this.imageUrl;
75906
75964
  };
75907
75965
  protoOf(ConversationJS).l3m = function () {
@@ -75915,13 +75973,13 @@
75915
75973
  this.INACTIVE = 'INACTIVE';
75916
75974
  this.DELETED = 'DELETED';
75917
75975
  }
75918
- protoOf(ConversationStateJS).u3s = function () {
75976
+ protoOf(ConversationStateJS).y3s = function () {
75919
75977
  return this.ACTIVE;
75920
75978
  };
75921
- protoOf(ConversationStateJS).v3s = function () {
75979
+ protoOf(ConversationStateJS).z3s = function () {
75922
75980
  return this.INACTIVE;
75923
75981
  };
75924
- protoOf(ConversationStateJS).w3s = function () {
75982
+ protoOf(ConversationStateJS).a3t = function () {
75925
75983
  return this.DELETED;
75926
75984
  };
75927
75985
  protoOf(ConversationStateJS).toString = function () {
@@ -75947,13 +76005,13 @@
75947
76005
  this.updated = conversationTimestamp.v2z_1;
75948
76006
  this.destroyed = conversationTimestamp.w2z_1;
75949
76007
  }
75950
- protoOf(ConversationTimestampJS).x3s = function () {
76008
+ protoOf(ConversationTimestampJS).b3t = function () {
75951
76009
  return this.created;
75952
76010
  };
75953
- protoOf(ConversationTimestampJS).y3s = function () {
76011
+ protoOf(ConversationTimestampJS).c3t = function () {
75954
76012
  return this.updated;
75955
76013
  };
75956
- protoOf(ConversationTimestampJS).z3s = function () {
76014
+ protoOf(ConversationTimestampJS).d3t = function () {
75957
76015
  return this.destroyed;
75958
76016
  };
75959
76017
  function ConversationsPageJS(conversationsPage) {
@@ -75974,18 +76032,18 @@
75974
76032
  this.previousCursor = conversationsPage.y2z_1;
75975
76033
  this.nextCursor = conversationsPage.z2z_1;
75976
76034
  }
75977
- protoOf(ConversationsPageJS).a3t = function () {
76035
+ protoOf(ConversationsPageJS).e3t = function () {
75978
76036
  return this.conversations;
75979
76037
  };
75980
- protoOf(ConversationsPageJS).j3r = function () {
76038
+ protoOf(ConversationsPageJS).n3r = function () {
75981
76039
  return this.previousCursor;
75982
76040
  };
75983
- protoOf(ConversationsPageJS).k3r = function () {
76041
+ protoOf(ConversationsPageJS).o3r = function () {
75984
76042
  return this.nextCursor;
75985
76043
  };
75986
76044
  function MemberJS(member) {
75987
76045
  this.id = member.n33_1;
75988
- this.state = map_3(member.o33_1);
76046
+ this.state = map_4(member.o33_1);
75989
76047
  var tmp = this;
75990
76048
  var tmp0_safe_receiver = member.p33_1;
75991
76049
  var tmp_0;
@@ -76032,7 +76090,7 @@
76032
76090
  protoOf(MemberJS).q2m = function () {
76033
76091
  return this.user;
76034
76092
  };
76035
- protoOf(MemberJS).b3t = function () {
76093
+ protoOf(MemberJS).f3t = function () {
76036
76094
  return this.channel;
76037
76095
  };
76038
76096
  protoOf(MemberJS).n2k = function () {
@@ -76044,16 +76102,16 @@
76044
76102
  this.LEFT = 'LEFT';
76045
76103
  this.UNKNOWN = 'UNKNOWN';
76046
76104
  }
76047
- protoOf(MemberStateJSObj).c3t = function () {
76105
+ protoOf(MemberStateJSObj).g3t = function () {
76048
76106
  return this.INVITED;
76049
76107
  };
76050
- protoOf(MemberStateJSObj).d3t = function () {
76108
+ protoOf(MemberStateJSObj).h3t = function () {
76051
76109
  return this.JOINED;
76052
76110
  };
76053
- protoOf(MemberStateJSObj).e3t = function () {
76111
+ protoOf(MemberStateJSObj).i3t = function () {
76054
76112
  return this.LEFT;
76055
76113
  };
76056
- protoOf(MemberStateJSObj).f3t = function () {
76114
+ protoOf(MemberStateJSObj).j3t = function () {
76057
76115
  return this.UNKNOWN;
76058
76116
  };
76059
76117
  protoOf(MemberStateJSObj).toString = function () {
@@ -76079,13 +76137,13 @@
76079
76137
  this.joined = memberTimestamp.v33_1;
76080
76138
  this.left = memberTimestamp.w33_1;
76081
76139
  }
76082
- protoOf(MemberTimestampJS).g3t = function () {
76140
+ protoOf(MemberTimestampJS).k3t = function () {
76083
76141
  return this.invited;
76084
76142
  };
76085
- protoOf(MemberTimestampJS).h3t = function () {
76143
+ protoOf(MemberTimestampJS).l3t = function () {
76086
76144
  return this.joined;
76087
76145
  };
76088
- protoOf(MemberTimestampJS).i3t = function () {
76146
+ protoOf(MemberTimestampJS).m3t = function () {
76089
76147
  return this.left;
76090
76148
  };
76091
76149
  function MembersPageJS(membersPage) {
@@ -76106,13 +76164,13 @@
76106
76164
  this.previousCursor = membersPage.y33_1;
76107
76165
  this.nextCursor = membersPage.z33_1;
76108
76166
  }
76109
- protoOf(MembersPageJS).j3t = function () {
76167
+ protoOf(MembersPageJS).n3t = function () {
76110
76168
  return this.members;
76111
76169
  };
76112
- protoOf(MembersPageJS).j3r = function () {
76170
+ protoOf(MembersPageJS).n3r = function () {
76113
76171
  return this.previousCursor;
76114
76172
  };
76115
- protoOf(MembersPageJS).k3r = function () {
76173
+ protoOf(MembersPageJS).o3r = function () {
76116
76174
  return this.nextCursor;
76117
76175
  };
76118
76176
  function UserJS(user) {
@@ -76163,19 +76221,19 @@
76163
76221
  protoOf(UserJS).a9 = function () {
76164
76222
  return this.name;
76165
76223
  };
76166
- protoOf(UserJS).t3s = function () {
76224
+ protoOf(UserJS).x3s = function () {
76167
76225
  return this.displayName;
76168
76226
  };
76169
- protoOf(UserJS).k3t = function () {
76227
+ protoOf(UserJS).o3t = function () {
76170
76228
  return this.channels;
76171
76229
  };
76172
76230
  protoOf(UserJS).n2k = function () {
76173
76231
  return this.timestamp;
76174
76232
  };
76175
- protoOf(UserJS).w3r = function () {
76233
+ protoOf(UserJS).a3s = function () {
76176
76234
  return this.imageUrl;
76177
76235
  };
76178
- protoOf(UserJS).t3r = function () {
76236
+ protoOf(UserJS).x3r = function () {
76179
76237
  return this.customData;
76180
76238
  };
76181
76239
  function UserTimestampJS(userTimestamp) {
@@ -76183,13 +76241,13 @@
76183
76241
  this.updated = userTimestamp.k37_1;
76184
76242
  this.destroyed = userTimestamp.l37_1;
76185
76243
  }
76186
- protoOf(UserTimestampJS).x3s = function () {
76244
+ protoOf(UserTimestampJS).b3t = function () {
76187
76245
  return this.created;
76188
76246
  };
76189
- protoOf(UserTimestampJS).y3s = function () {
76247
+ protoOf(UserTimestampJS).c3t = function () {
76190
76248
  return this.updated;
76191
76249
  };
76192
- protoOf(UserTimestampJS).z3s = function () {
76250
+ protoOf(UserTimestampJS).d3t = function () {
76193
76251
  return this.destroyed;
76194
76252
  };
76195
76253
  function UserChannelsJS(userChannels) {
@@ -76491,22 +76549,22 @@
76491
76549
  }
76492
76550
  tmp_29.messenger = tmp_31;
76493
76551
  }
76494
- protoOf(UserChannelsJS).l3t = function () {
76552
+ protoOf(UserChannelsJS).q3q = function () {
76495
76553
  return this.app;
76496
76554
  };
76497
- protoOf(UserChannelsJS).m3t = function () {
76555
+ protoOf(UserChannelsJS).r3q = function () {
76498
76556
  return this.phone;
76499
76557
  };
76500
- protoOf(UserChannelsJS).n3t = function () {
76558
+ protoOf(UserChannelsJS).p3t = function () {
76501
76559
  return this.pstn;
76502
76560
  };
76503
- protoOf(UserChannelsJS).o3t = function () {
76561
+ protoOf(UserChannelsJS).s3q = function () {
76504
76562
  return this.sip;
76505
76563
  };
76506
- protoOf(UserChannelsJS).p3t = function () {
76564
+ protoOf(UserChannelsJS).q3t = function () {
76507
76565
  return this.vbc;
76508
76566
  };
76509
- protoOf(UserChannelsJS).q3t = function () {
76567
+ protoOf(UserChannelsJS).t3q = function () {
76510
76568
  return this.websocket;
76511
76569
  };
76512
76570
  protoOf(UserChannelsJS).r3t = function () {
@@ -76515,7 +76573,7 @@
76515
76573
  protoOf(UserChannelsJS).s3t = function () {
76516
76574
  return this.mms;
76517
76575
  };
76518
- protoOf(UserChannelsJS).e3s = function () {
76576
+ protoOf(UserChannelsJS).i3s = function () {
76519
76577
  return this.whatsapp;
76520
76578
  };
76521
76579
  protoOf(UserChannelsJS).t3t = function () {
@@ -76525,7 +76583,7 @@
76525
76583
  return this.messenger;
76526
76584
  };
76527
76585
  function MemberChannelJS(memberChannel) {
76528
- this.type = valueOf_3(memberChannel.o2y_1.y7_1);
76586
+ this.type = map_5(memberChannel.o2y_1);
76529
76587
  var tmp = this;
76530
76588
  var tmp0_safe_receiver = memberChannel.p2y_1;
76531
76589
  var tmp_0;
@@ -76554,7 +76612,7 @@
76554
76612
  protoOf(MemberChannelJS).m3a = function () {
76555
76613
  return this.type;
76556
76614
  };
76557
- protoOf(MemberChannelJS).m3r = function () {
76615
+ protoOf(MemberChannelJS).q3r = function () {
76558
76616
  return this.from;
76559
76617
  };
76560
76618
  protoOf(MemberChannelJS).v3t = function () {
@@ -76660,7 +76718,7 @@
76660
76718
  protoOf(LegJS).g3u = function () {
76661
76719
  return this.endTime;
76662
76720
  };
76663
- protoOf(LegJS).m3r = function () {
76721
+ protoOf(LegJS).q3r = function () {
76664
76722
  return this.from;
76665
76723
  };
76666
76724
  protoOf(LegJS).v3t = function () {
@@ -76690,77 +76748,77 @@
76690
76748
  protoOf(LegsPageJS).i3u = function () {
76691
76749
  return this.legs;
76692
76750
  };
76693
- protoOf(LegsPageJS).j3r = function () {
76751
+ protoOf(LegsPageJS).n3r = function () {
76694
76752
  return this.previousCursor;
76695
76753
  };
76696
- protoOf(LegsPageJS).k3r = function () {
76754
+ protoOf(LegsPageJS).o3r = function () {
76697
76755
  return this.nextCursor;
76698
76756
  };
76699
- var ChannelTypeJS_APP_instance;
76700
- var ChannelTypeJS_PHONE_instance;
76701
- var ChannelTypeJS_PSTN_instance;
76702
- var ChannelTypeJS_SIP_instance;
76703
- var ChannelTypeJS_VBC_instance;
76704
- var ChannelTypeJS_WEBSOCKET_instance;
76705
- var ChannelTypeJS_SMS_instance;
76706
- var ChannelTypeJS_MMS_instance;
76707
- var ChannelTypeJS_WHATSAPP_instance;
76708
- var ChannelTypeJS_VIBER_instance;
76709
- var ChannelTypeJS_MESSENGER_instance;
76710
- function values_2() {
76711
- 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()];
76757
+ function ChannelTypeObj() {
76758
+ this.APP = 'APP';
76759
+ this.PHONE = 'PHONE';
76760
+ this.PSTN = 'PSTN';
76761
+ this.SIP = 'SIP';
76762
+ this.VBC = 'VBC';
76763
+ this.WEBSOCKET = 'WEBSOCKET';
76764
+ this.SMS = 'SMS';
76765
+ this.MMS = 'MMS';
76766
+ this.WHATSAPP = 'WHATSAPP';
76767
+ this.VIBER = 'VIBER';
76768
+ this.MESSENGER = 'MESSENGER';
76712
76769
  }
76713
- function valueOf_3(value) {
76714
- switch (value) {
76715
- case 'APP':
76716
- return ChannelTypeJS_APP_getInstance();
76717
- case 'PHONE':
76718
- return ChannelTypeJS_PHONE_getInstance();
76719
- case 'PSTN':
76720
- return ChannelTypeJS_PSTN_getInstance();
76721
- case 'SIP':
76722
- return ChannelTypeJS_SIP_getInstance();
76723
- case 'VBC':
76724
- return ChannelTypeJS_VBC_getInstance();
76725
- case 'WEBSOCKET':
76726
- return ChannelTypeJS_WEBSOCKET_getInstance();
76727
- case 'SMS':
76728
- return ChannelTypeJS_SMS_getInstance();
76729
- case 'MMS':
76730
- return ChannelTypeJS_MMS_getInstance();
76731
- case 'WHATSAPP':
76732
- return ChannelTypeJS_WHATSAPP_getInstance();
76733
- case 'VIBER':
76734
- return ChannelTypeJS_VIBER_getInstance();
76735
- case 'MESSENGER':
76736
- return ChannelTypeJS_MESSENGER_getInstance();
76737
- default:
76738
- ChannelTypeJS_initEntries();
76739
- THROW_IAE('No enum constant value.');
76740
- break;
76741
- }
76742
- }
76743
- var ChannelTypeJS_entriesInitialized;
76744
- function ChannelTypeJS_initEntries() {
76745
- if (ChannelTypeJS_entriesInitialized)
76746
- return Unit_instance;
76747
- ChannelTypeJS_entriesInitialized = true;
76748
- ChannelTypeJS_APP_instance = new ChannelTypeJS('APP', 0);
76749
- ChannelTypeJS_PHONE_instance = new ChannelTypeJS('PHONE', 1);
76750
- ChannelTypeJS_PSTN_instance = new ChannelTypeJS('PSTN', 2);
76751
- ChannelTypeJS_SIP_instance = new ChannelTypeJS('SIP', 3);
76752
- ChannelTypeJS_VBC_instance = new ChannelTypeJS('VBC', 4);
76753
- ChannelTypeJS_WEBSOCKET_instance = new ChannelTypeJS('WEBSOCKET', 5);
76754
- ChannelTypeJS_SMS_instance = new ChannelTypeJS('SMS', 6);
76755
- ChannelTypeJS_MMS_instance = new ChannelTypeJS('MMS', 7);
76756
- ChannelTypeJS_WHATSAPP_instance = new ChannelTypeJS('WHATSAPP', 8);
76757
- ChannelTypeJS_VIBER_instance = new ChannelTypeJS('VIBER', 9);
76758
- ChannelTypeJS_MESSENGER_instance = new ChannelTypeJS('MESSENGER', 10);
76759
- }
76760
- function ChannelTypeJS(name, ordinal) {
76761
- Enum.call(this, name, ordinal);
76770
+ protoOf(ChannelTypeObj).j3u = function () {
76771
+ return this.APP;
76772
+ };
76773
+ protoOf(ChannelTypeObj).k3u = function () {
76774
+ return this.PHONE;
76775
+ };
76776
+ protoOf(ChannelTypeObj).l3u = function () {
76777
+ return this.PSTN;
76778
+ };
76779
+ protoOf(ChannelTypeObj).m3u = function () {
76780
+ return this.SIP;
76781
+ };
76782
+ protoOf(ChannelTypeObj).n3u = function () {
76783
+ return this.VBC;
76784
+ };
76785
+ protoOf(ChannelTypeObj).o3u = function () {
76786
+ return this.WEBSOCKET;
76787
+ };
76788
+ protoOf(ChannelTypeObj).p3u = function () {
76789
+ return this.SMS;
76790
+ };
76791
+ protoOf(ChannelTypeObj).q3u = function () {
76792
+ return this.MMS;
76793
+ };
76794
+ protoOf(ChannelTypeObj).r3u = function () {
76795
+ return this.WHATSAPP;
76796
+ };
76797
+ protoOf(ChannelTypeObj).s3u = function () {
76798
+ return this.VIBER;
76799
+ };
76800
+ protoOf(ChannelTypeObj).t3u = function () {
76801
+ return this.MESSENGER;
76802
+ };
76803
+ protoOf(ChannelTypeObj).toString = function () {
76804
+ return 'ChannelTypeObj';
76805
+ };
76806
+ protoOf(ChannelTypeObj).hashCode = function () {
76807
+ return 289615710;
76808
+ };
76809
+ protoOf(ChannelTypeObj).equals = function (other) {
76810
+ if (this === other)
76811
+ return true;
76812
+ if (!(other instanceof ChannelTypeObj))
76813
+ return false;
76814
+ other instanceof ChannelTypeObj || THROW_CCE();
76815
+ return true;
76816
+ };
76817
+ var ChannelTypeObj_instance;
76818
+ function ChannelTypeObj_getInstance() {
76819
+ return ChannelTypeObj_instance;
76762
76820
  }
76763
- function map_2(_this__u8e3s4) {
76821
+ function map_3(_this__u8e3s4) {
76764
76822
  var tmp;
76765
76823
  switch (_this__u8e3s4.z7_1) {
76766
76824
  case 0:
@@ -76778,7 +76836,7 @@
76778
76836
  }
76779
76837
  return tmp;
76780
76838
  }
76781
- function map_3(_this__u8e3s4) {
76839
+ function map_4(_this__u8e3s4) {
76782
76840
  var tmp;
76783
76841
  switch (_this__u8e3s4.z7_1) {
76784
76842
  case 0:
@@ -76799,6 +76857,48 @@
76799
76857
  }
76800
76858
  return tmp;
76801
76859
  }
76860
+ function map_5(_this__u8e3s4) {
76861
+ var tmp;
76862
+ switch (_this__u8e3s4.z7_1) {
76863
+ case 0:
76864
+ tmp = ChannelTypeObj_instance.APP;
76865
+ break;
76866
+ case 1:
76867
+ tmp = ChannelTypeObj_instance.PHONE;
76868
+ break;
76869
+ case 2:
76870
+ tmp = ChannelTypeObj_instance.PSTN;
76871
+ break;
76872
+ case 3:
76873
+ tmp = ChannelTypeObj_instance.SIP;
76874
+ break;
76875
+ case 4:
76876
+ tmp = ChannelTypeObj_instance.VBC;
76877
+ break;
76878
+ case 5:
76879
+ tmp = ChannelTypeObj_instance.WEBSOCKET;
76880
+ break;
76881
+ case 6:
76882
+ tmp = ChannelTypeObj_instance.SMS;
76883
+ break;
76884
+ case 7:
76885
+ tmp = ChannelTypeObj_instance.MMS;
76886
+ break;
76887
+ case 8:
76888
+ tmp = ChannelTypeObj_instance.WHATSAPP;
76889
+ break;
76890
+ case 9:
76891
+ tmp = ChannelTypeObj_instance.VIBER;
76892
+ break;
76893
+ case 10:
76894
+ tmp = ChannelTypeObj_instance.MESSENGER;
76895
+ break;
76896
+ default:
76897
+ noWhenBranchMatchedException();
76898
+ break;
76899
+ }
76900
+ return tmp;
76901
+ }
76802
76902
  function PresentingOrderJS_ASC_getInstance() {
76803
76903
  PresentingOrderJS_initEntries();
76804
76904
  return PresentingOrderJS_ASC_instance;
@@ -76815,50 +76915,6 @@
76815
76915
  OrderByJS_initEntries();
76816
76916
  return OrderByJS_CUSTOM_SORT_KEY_instance;
76817
76917
  }
76818
- function ChannelTypeJS_APP_getInstance() {
76819
- ChannelTypeJS_initEntries();
76820
- return ChannelTypeJS_APP_instance;
76821
- }
76822
- function ChannelTypeJS_PHONE_getInstance() {
76823
- ChannelTypeJS_initEntries();
76824
- return ChannelTypeJS_PHONE_instance;
76825
- }
76826
- function ChannelTypeJS_PSTN_getInstance() {
76827
- ChannelTypeJS_initEntries();
76828
- return ChannelTypeJS_PSTN_instance;
76829
- }
76830
- function ChannelTypeJS_SIP_getInstance() {
76831
- ChannelTypeJS_initEntries();
76832
- return ChannelTypeJS_SIP_instance;
76833
- }
76834
- function ChannelTypeJS_VBC_getInstance() {
76835
- ChannelTypeJS_initEntries();
76836
- return ChannelTypeJS_VBC_instance;
76837
- }
76838
- function ChannelTypeJS_WEBSOCKET_getInstance() {
76839
- ChannelTypeJS_initEntries();
76840
- return ChannelTypeJS_WEBSOCKET_instance;
76841
- }
76842
- function ChannelTypeJS_SMS_getInstance() {
76843
- ChannelTypeJS_initEntries();
76844
- return ChannelTypeJS_SMS_instance;
76845
- }
76846
- function ChannelTypeJS_MMS_getInstance() {
76847
- ChannelTypeJS_initEntries();
76848
- return ChannelTypeJS_MMS_instance;
76849
- }
76850
- function ChannelTypeJS_WHATSAPP_getInstance() {
76851
- ChannelTypeJS_initEntries();
76852
- return ChannelTypeJS_WHATSAPP_instance;
76853
- }
76854
- function ChannelTypeJS_VIBER_getInstance() {
76855
- ChannelTypeJS_initEntries();
76856
- return ChannelTypeJS_VIBER_instance;
76857
- }
76858
- function ChannelTypeJS_MESSENGER_getInstance() {
76859
- ChannelTypeJS_initEntries();
76860
- return ChannelTypeJS_MESSENGER_instance;
76861
- }
76862
76918
  function CSErrorCodesJS() {
76863
76919
  this.CONVERSATION_DUPLICATE_NAME = 'conversation:error:duplicate-name';
76864
76920
  this.MEMBER_ALREADY_JOINED = 'conversation:error:member-already-joined';
@@ -76871,34 +76927,34 @@
76871
76927
  this.CONVERSATION_MAX_NUMBER_OF_MEMBERS = 'conversation:error:maximum-number-of-members';
76872
76928
  this.CUSTOM_DATA_OVERALL_LIMIT_EXCEEDED = 'custom-data:error:max-data-sum-limit-exceeded';
76873
76929
  }
76874
- protoOf(CSErrorCodesJS).l3u = function () {
76930
+ protoOf(CSErrorCodesJS).u3u = function () {
76875
76931
  return this.CONVERSATION_DUPLICATE_NAME;
76876
76932
  };
76877
- protoOf(CSErrorCodesJS).m3u = function () {
76933
+ protoOf(CSErrorCodesJS).v3u = function () {
76878
76934
  return this.MEMBER_ALREADY_JOINED;
76879
76935
  };
76880
- protoOf(CSErrorCodesJS).n3u = function () {
76936
+ protoOf(CSErrorCodesJS).w3u = function () {
76881
76937
  return this.MEMBER_ALREADY_INVITED;
76882
76938
  };
76883
- protoOf(CSErrorCodesJS).o3u = function () {
76939
+ protoOf(CSErrorCodesJS).x3u = function () {
76884
76940
  return this.CONVERSATION_NOT_FOUND;
76885
76941
  };
76886
- protoOf(CSErrorCodesJS).p3u = function () {
76942
+ protoOf(CSErrorCodesJS).y3u = function () {
76887
76943
  return this.MEMBER_NOT_FOUND;
76888
76944
  };
76889
- protoOf(CSErrorCodesJS).q3u = function () {
76945
+ protoOf(CSErrorCodesJS).z3u = function () {
76890
76946
  return this.USER_NOT_FOUND;
76891
76947
  };
76892
- protoOf(CSErrorCodesJS).r3u = function () {
76948
+ protoOf(CSErrorCodesJS).a3v = function () {
76893
76949
  return this.INVALID_CURSOR;
76894
76950
  };
76895
- protoOf(CSErrorCodesJS).s3u = function () {
76951
+ protoOf(CSErrorCodesJS).b3v = function () {
76896
76952
  return this.VALIDATION_FAIL;
76897
76953
  };
76898
- protoOf(CSErrorCodesJS).t3u = function () {
76954
+ protoOf(CSErrorCodesJS).c3v = function () {
76899
76955
  return this.CONVERSATION_MAX_NUMBER_OF_MEMBERS;
76900
76956
  };
76901
- protoOf(CSErrorCodesJS).u3u = function () {
76957
+ protoOf(CSErrorCodesJS).d3v = function () {
76902
76958
  return this.CUSTOM_DATA_OVERALL_LIMIT_EXCEEDED;
76903
76959
  };
76904
76960
  var CSErrorCodesJS_instance;
@@ -76923,52 +76979,52 @@
76923
76979
  this.PING_TIMEOUT_DISCONNECT = 'session:disconnect:ping-timeout';
76924
76980
  this.TRANSPORT_CLOSED_DISCONNECT = 'session:disconnect:websocket-transport-closed';
76925
76981
  }
76926
- protoOf(SessionErrorCodesJS).v3u = function () {
76982
+ protoOf(SessionErrorCodesJS).e3v = function () {
76927
76983
  return this.EMPTY_TOKEN;
76928
76984
  };
76929
- protoOf(SessionErrorCodesJS).w3u = function () {
76985
+ protoOf(SessionErrorCodesJS).f3v = function () {
76930
76986
  return this.FORCED_DISCONNECT;
76931
76987
  };
76932
- protoOf(SessionErrorCodesJS).x3u = function () {
76988
+ protoOf(SessionErrorCodesJS).g3v = function () {
76933
76989
  return this.TIMEOUT;
76934
76990
  };
76935
- protoOf(SessionErrorCodesJS).y3u = function () {
76991
+ protoOf(SessionErrorCodesJS).h3v = function () {
76936
76992
  return this.INTERNAL_FAILURE;
76937
76993
  };
76938
- protoOf(SessionErrorCodesJS).z3u = function () {
76994
+ protoOf(SessionErrorCodesJS).i3v = function () {
76939
76995
  return this.NO_ACTIVE_SESSION;
76940
76996
  };
76941
- protoOf(SessionErrorCodesJS).a3v = function () {
76997
+ protoOf(SessionErrorCodesJS).j3v = function () {
76942
76998
  return this.ALREADY_ACTIVE_SESSION;
76943
76999
  };
76944
- protoOf(SessionErrorCodesJS).b3v = function () {
77000
+ protoOf(SessionErrorCodesJS).k3v = function () {
76945
77001
  return this.INVALID_TOKEN;
76946
77002
  };
76947
- protoOf(SessionErrorCodesJS).c3v = function () {
77003
+ protoOf(SessionErrorCodesJS).l3v = function () {
76948
77004
  return this.EXPIRED_TOKEN;
76949
77005
  };
76950
- protoOf(SessionErrorCodesJS).d3v = function () {
77006
+ protoOf(SessionErrorCodesJS).m3v = function () {
76951
77007
  return this.INVALID_USER;
76952
77008
  };
76953
- protoOf(SessionErrorCodesJS).e3v = function () {
77009
+ protoOf(SessionErrorCodesJS).n3v = function () {
76954
77010
  return this.AUTHORIZATION_ERROR;
76955
77011
  };
76956
- protoOf(SessionErrorCodesJS).f3v = function () {
77012
+ protoOf(SessionErrorCodesJS).o3v = function () {
76957
77013
  return this.INVALID_SESSION;
76958
77014
  };
76959
- protoOf(SessionErrorCodesJS).g3v = function () {
77015
+ protoOf(SessionErrorCodesJS).p3v = function () {
76960
77016
  return this.MAX_OPEN_SESSIONS;
76961
77017
  };
76962
- protoOf(SessionErrorCodesJS).h3v = function () {
77018
+ protoOf(SessionErrorCodesJS).q3v = function () {
76963
77019
  return this.INVALID_SOCKET_TRANSPORT;
76964
77020
  };
76965
- protoOf(SessionErrorCodesJS).i3v = function () {
77021
+ protoOf(SessionErrorCodesJS).r3v = function () {
76966
77022
  return this.CLIENT_DISCONNECT;
76967
77023
  };
76968
- protoOf(SessionErrorCodesJS).j3v = function () {
77024
+ protoOf(SessionErrorCodesJS).s3v = function () {
76969
77025
  return this.PING_TIMEOUT_DISCONNECT;
76970
77026
  };
76971
- protoOf(SessionErrorCodesJS).k3v = function () {
77027
+ protoOf(SessionErrorCodesJS).t3v = function () {
76972
77028
  return this.TRANSPORT_CLOSED_DISCONNECT;
76973
77029
  };
76974
77030
  var SessionErrorCodesJS_instance;
@@ -76978,7 +77034,7 @@
76978
77034
  function VonageErrorJS(vonageError) {
76979
77035
  extendThrowable(this, vonageError.message);
76980
77036
  captureStack(this, VonageErrorJS);
76981
- this.type = valueOf_4(vonageError.t2x_1.y7_1);
77037
+ this.type = valueOf_3(vonageError.t2x_1.y7_1);
76982
77038
  this.code = vonageError.u2x_1;
76983
77039
  this.kmpCause = vonageError.cause;
76984
77040
  }
@@ -76988,7 +77044,7 @@
76988
77044
  protoOf(VonageErrorJS).i2n = function () {
76989
77045
  return this.code;
76990
77046
  };
76991
- protoOf(VonageErrorJS).l3v = function () {
77047
+ protoOf(VonageErrorJS).u3v = function () {
76992
77048
  return this.kmpCause;
76993
77049
  };
76994
77050
  var VonageErrorTypeJS_CS_ERROR_instance;
@@ -76996,10 +77052,10 @@
76996
77052
  var VonageErrorTypeJS_SESSION_ERROR_instance;
76997
77053
  var VonageErrorTypeJS_INTERNAL_ERROR_instance;
76998
77054
  var VonageErrorTypeJS_UNKNOWN_ERROR_instance;
76999
- function values_3() {
77055
+ function values_2() {
77000
77056
  return [VonageErrorTypeJS_CS_ERROR_getInstance(), VonageErrorTypeJS_NETWORK_ERROR_getInstance(), VonageErrorTypeJS_SESSION_ERROR_getInstance(), VonageErrorTypeJS_INTERNAL_ERROR_getInstance(), VonageErrorTypeJS_UNKNOWN_ERROR_getInstance()];
77001
77057
  }
77002
- function valueOf_4(value) {
77058
+ function valueOf_3(value) {
77003
77059
  switch (value) {
77004
77060
  case 'CS_ERROR':
77005
77061
  return VonageErrorTypeJS_CS_ERROR_getInstance();
@@ -77033,7 +77089,7 @@
77033
77089
  }
77034
77090
  function MediaClientErrorJS() {
77035
77091
  }
77036
- protoOf(MediaClientErrorJS).o3v = function () {
77092
+ protoOf(MediaClientErrorJS).x3v = function () {
77037
77093
  var tmp;
77038
77094
  if (this instanceof PeerConnectionNotFoundJS) {
77039
77095
  tmp = new PeerConnectionNotFound(this.legId);
@@ -77062,18 +77118,18 @@
77062
77118
  MediaClientErrorJS.call(this);
77063
77119
  this.legId = legId;
77064
77120
  }
77065
- protoOf(PeerConnectionNotFoundJS).p3v = function () {
77121
+ protoOf(PeerConnectionNotFoundJS).y3v = function () {
77066
77122
  return this.legId;
77067
77123
  };
77068
77124
  protoOf(PeerConnectionNotFoundJS).o5 = function () {
77069
77125
  return this.legId;
77070
77126
  };
77071
- protoOf(PeerConnectionNotFoundJS).q3v = function (legId) {
77127
+ protoOf(PeerConnectionNotFoundJS).z3v = function (legId) {
77072
77128
  return new PeerConnectionNotFoundJS(legId);
77073
77129
  };
77074
77130
  protoOf(PeerConnectionNotFoundJS).copy = function (legId, $super) {
77075
77131
  legId = legId === VOID ? this.legId : legId;
77076
- return this.q3v(legId);
77132
+ return this.z3v(legId);
77077
77133
  };
77078
77134
  protoOf(PeerConnectionNotFoundJS).toString = function () {
77079
77135
  return 'PeerConnectionNotFoundJS(legId=' + this.legId + ')';
@@ -77095,18 +77151,18 @@
77095
77151
  MediaClientErrorJS.call(this);
77096
77152
  this.legId = legId;
77097
77153
  }
77098
- protoOf(TrackNotFoundJS).p3v = function () {
77154
+ protoOf(TrackNotFoundJS).y3v = function () {
77099
77155
  return this.legId;
77100
77156
  };
77101
77157
  protoOf(TrackNotFoundJS).o5 = function () {
77102
77158
  return this.legId;
77103
77159
  };
77104
- protoOf(TrackNotFoundJS).q3v = function (legId) {
77160
+ protoOf(TrackNotFoundJS).z3v = function (legId) {
77105
77161
  return new TrackNotFoundJS(legId);
77106
77162
  };
77107
77163
  protoOf(TrackNotFoundJS).copy = function (legId, $super) {
77108
77164
  legId = legId === VOID ? this.legId : legId;
77109
- return this.q3v(legId);
77165
+ return this.z3v(legId);
77110
77166
  };
77111
77167
  protoOf(TrackNotFoundJS).toString = function () {
77112
77168
  return 'TrackNotFoundJS(legId=' + this.legId + ')';
@@ -77130,7 +77186,7 @@
77130
77186
  this.legId = legId;
77131
77187
  this.message = message;
77132
77188
  }
77133
- protoOf(ProcessAnswerErrorJS).p3v = function () {
77189
+ protoOf(ProcessAnswerErrorJS).y3v = function () {
77134
77190
  return this.legId;
77135
77191
  };
77136
77192
  protoOf(ProcessAnswerErrorJS).ra = function () {
@@ -77142,13 +77198,13 @@
77142
77198
  protoOf(ProcessAnswerErrorJS).p5 = function () {
77143
77199
  return this.message;
77144
77200
  };
77145
- protoOf(ProcessAnswerErrorJS).r3v = function (legId, message) {
77201
+ protoOf(ProcessAnswerErrorJS).a3w = function (legId, message) {
77146
77202
  return new ProcessAnswerErrorJS(legId, message);
77147
77203
  };
77148
77204
  protoOf(ProcessAnswerErrorJS).copy = function (legId, message, $super) {
77149
77205
  legId = legId === VOID ? this.legId : legId;
77150
77206
  message = message === VOID ? this.message : message;
77151
- return this.r3v(legId, message);
77207
+ return this.a3w(legId, message);
77152
77208
  };
77153
77209
  protoOf(ProcessAnswerErrorJS).toString = function () {
77154
77210
  return 'ProcessAnswerErrorJS(legId=' + this.legId + ', message=' + this.message + ')';
@@ -77181,12 +77237,12 @@
77181
77237
  protoOf(CreateAnswerErrorJS).o5 = function () {
77182
77238
  return this.message;
77183
77239
  };
77184
- protoOf(CreateAnswerErrorJS).s3v = function (message) {
77240
+ protoOf(CreateAnswerErrorJS).b3w = function (message) {
77185
77241
  return new CreateAnswerErrorJS(message);
77186
77242
  };
77187
77243
  protoOf(CreateAnswerErrorJS).copy = function (message, $super) {
77188
77244
  message = message === VOID ? this.message : message;
77189
- return this.s3v(message);
77245
+ return this.b3w(message);
77190
77246
  };
77191
77247
  protoOf(CreateAnswerErrorJS).toString = function () {
77192
77248
  return 'CreateAnswerErrorJS(message=' + this.message + ')';
@@ -77215,12 +77271,12 @@
77215
77271
  protoOf(CreateOfferErrorJS).o5 = function () {
77216
77272
  return this.message;
77217
77273
  };
77218
- protoOf(CreateOfferErrorJS).s3v = function (message) {
77274
+ protoOf(CreateOfferErrorJS).b3w = function (message) {
77219
77275
  return new CreateOfferErrorJS(message);
77220
77276
  };
77221
77277
  protoOf(CreateOfferErrorJS).copy = function (message, $super) {
77222
77278
  message = message === VOID ? this.message : message;
77223
- return this.s3v(message);
77279
+ return this.b3w(message);
77224
77280
  };
77225
77281
  protoOf(CreateOfferErrorJS).toString = function () {
77226
77282
  return 'CreateOfferErrorJS(message=' + this.message + ')';
@@ -77296,7 +77352,7 @@
77296
77352
  return function (resolve, reject) {
77297
77353
  var tmp = this$0.core;
77298
77354
  var tmp0_safe_receiver = $parameters;
77299
- var tmp_0 = tmp0_safe_receiver == null ? null : map_14(tmp0_safe_receiver);
77355
+ var tmp_0 = tmp0_safe_receiver == null ? null : map_16(tmp0_safe_receiver);
77300
77356
  tmp.v1e(tmp_0, IChatClientJS$createConversation$lambda$lambda(resolve, reject));
77301
77357
  return Unit_instance;
77302
77358
  };
@@ -77503,7 +77559,7 @@
77503
77559
  return function (resolve, reject) {
77504
77560
  var tmp = this$0.core;
77505
77561
  var tmp0_safe_receiver = $parameters;
77506
- var tmp_0 = tmp0_safe_receiver == null ? null : map_16(tmp0_safe_receiver);
77562
+ var tmp_0 = tmp0_safe_receiver == null ? null : map_18(tmp0_safe_receiver);
77507
77563
  tmp.b1f(tmp_0, IChatClientJS$getConversations$lambda$lambda(resolve, reject));
77508
77564
  return Unit_instance;
77509
77565
  };
@@ -77546,7 +77602,7 @@
77546
77602
  return function (resolve, reject) {
77547
77603
  var tmp = this$0.core;
77548
77604
  var tmp0_safe_receiver = $parameters;
77549
- var tmp_0 = tmp0_safe_receiver == null ? null : map_18(tmp0_safe_receiver);
77605
+ var tmp_0 = tmp0_safe_receiver == null ? null : map_20(tmp0_safe_receiver);
77550
77606
  tmp.a1f($cid, tmp_0, IChatClientJS$getConversationMembers$lambda$lambda(resolve, reject));
77551
77607
  return Unit_instance;
77552
77608
  };
@@ -77589,7 +77645,7 @@
77589
77645
  return function (resolve, reject) {
77590
77646
  var tmp = this$0.core;
77591
77647
  var tmp0_safe_receiver = $parameters;
77592
- var tmp_0 = tmp0_safe_receiver == null ? null : map_17(tmp0_safe_receiver);
77648
+ var tmp_0 = tmp0_safe_receiver == null ? null : map_19(tmp0_safe_receiver);
77593
77649
  tmp.j1d($cid, tmp_0, VOID, VOID, IChatClientJS$getConversationEvents$lambda$lambda(resolve, reject));
77594
77650
  return Unit_instance;
77595
77651
  };
@@ -78218,7 +78274,7 @@
78218
78274
  function IChatClientJS$updateConversation$lambda(this$0, $conversationId, $parameters) {
78219
78275
  return function (resolve, reject) {
78220
78276
  var tmp = this$0.core;
78221
- var tmp_0 = map_15($parameters);
78277
+ var tmp_0 = map_17($parameters);
78222
78278
  tmp.j1f($conversationId, tmp_0, IChatClientJS$updateConversation$lambda$lambda(resolve, reject));
78223
78279
  return Unit_instance;
78224
78280
  };
@@ -78233,10 +78289,10 @@
78233
78289
  var CoreClientConfigRegionJS_AP_instance;
78234
78290
  var CoreClientConfigRegionJS_EU_instance;
78235
78291
  var CoreClientConfigRegionJS_US_instance;
78236
- function values_4() {
78292
+ function values_3() {
78237
78293
  return [CoreClientConfigRegionJS_AP_getInstance(), CoreClientConfigRegionJS_EU_getInstance(), CoreClientConfigRegionJS_US_getInstance()];
78238
78294
  }
78239
- function valueOf_5(value) {
78295
+ function valueOf_4(value) {
78240
78296
  switch (value) {
78241
78297
  case 'AP':
78242
78298
  return CoreClientConfigRegionJS_AP_getInstance();
@@ -78263,58 +78319,58 @@
78263
78319
  Enum.call(this, name, ordinal);
78264
78320
  this.coreRegion = coreRegion;
78265
78321
  }
78266
- protoOf(CoreClientConfigRegionJS).v3v = function () {
78322
+ protoOf(CoreClientConfigRegionJS).e3w = function () {
78267
78323
  return this.coreRegion;
78268
78324
  };
78269
78325
  function CoreClientConfigJS(region) {
78270
78326
  region = region === VOID ? get_DEFAULT_REGION() : region;
78271
78327
  this.region = region;
78272
- this.w3v_1 = this.region.coreRegion.n2u_1;
78273
- this.x3v_1 = this.region.coreRegion.o2u_1;
78328
+ this.f3w_1 = this.region.coreRegion.n2u_1;
78329
+ this.g3w_1 = this.region.coreRegion.o2u_1;
78274
78330
  var tmp = this;
78275
78331
  DefaultConfig_getInstance();
78276
- tmp.y3v_1 = '/v2/rtc';
78332
+ tmp.h3w_1 = '/v2/rtc';
78277
78333
  var tmp_0 = this;
78278
78334
  DefaultConfig_getInstance();
78279
- tmp_0.z3v_1 = true;
78280
- this.a3w_1 = false;
78281
- this.b3w_1 = false;
78335
+ tmp_0.i3w_1 = true;
78336
+ this.j3w_1 = false;
78337
+ this.k3w_1 = false;
78282
78338
  }
78283
- protoOf(CoreClientConfigJS).c3w = function () {
78339
+ protoOf(CoreClientConfigJS).l3w = function () {
78284
78340
  return this.region;
78285
78341
  };
78286
- protoOf(CoreClientConfigJS).d3w = function (_set____db54di) {
78287
- this.w3v_1 = _set____db54di;
78342
+ protoOf(CoreClientConfigJS).m3w = function (_set____db54di) {
78343
+ this.f3w_1 = _set____db54di;
78288
78344
  };
78289
- protoOf(CoreClientConfigJS).e3w = function () {
78290
- return this.w3v_1;
78345
+ protoOf(CoreClientConfigJS).n3w = function () {
78346
+ return this.f3w_1;
78291
78347
  };
78292
- protoOf(CoreClientConfigJS).f3w = function (_set____db54di) {
78293
- this.x3v_1 = _set____db54di;
78348
+ protoOf(CoreClientConfigJS).o3w = function (_set____db54di) {
78349
+ this.g3w_1 = _set____db54di;
78294
78350
  };
78295
- protoOf(CoreClientConfigJS).g3w = function () {
78296
- return this.x3v_1;
78351
+ protoOf(CoreClientConfigJS).p3w = function () {
78352
+ return this.g3w_1;
78297
78353
  };
78298
- protoOf(CoreClientConfigJS).h3w = function (_set____db54di) {
78299
- this.y3v_1 = _set____db54di;
78354
+ protoOf(CoreClientConfigJS).q3w = function (_set____db54di) {
78355
+ this.h3w_1 = _set____db54di;
78300
78356
  };
78301
- protoOf(CoreClientConfigJS).i3w = function () {
78302
- return this.y3v_1;
78357
+ protoOf(CoreClientConfigJS).r3w = function () {
78358
+ return this.h3w_1;
78303
78359
  };
78304
- protoOf(CoreClientConfigJS).j3w = function (_set____db54di) {
78305
- this.z3v_1 = _set____db54di;
78360
+ protoOf(CoreClientConfigJS).s3w = function (_set____db54di) {
78361
+ this.i3w_1 = _set____db54di;
78306
78362
  };
78307
- protoOf(CoreClientConfigJS).k3w = function () {
78308
- return this.z3v_1;
78363
+ protoOf(CoreClientConfigJS).t3w = function () {
78364
+ return this.i3w_1;
78309
78365
  };
78310
- protoOf(CoreClientConfigJS).l3w = function (_set____db54di) {
78311
- this.a3w_1 = _set____db54di;
78366
+ protoOf(CoreClientConfigJS).u3w = function (_set____db54di) {
78367
+ this.j3w_1 = _set____db54di;
78312
78368
  };
78313
- protoOf(CoreClientConfigJS).m3w = function () {
78314
- return this.a3w_1;
78369
+ protoOf(CoreClientConfigJS).v3w = function () {
78370
+ return this.j3w_1;
78315
78371
  };
78316
- protoOf(CoreClientConfigJS).n3w = function () {
78317
- return this.b3w_1;
78372
+ protoOf(CoreClientConfigJS).w3w = function () {
78373
+ return this.k3w_1;
78318
78374
  };
78319
78375
  function TopicJS(name, tag) {
78320
78376
  this.name = name;
@@ -78323,7 +78379,7 @@
78323
78379
  protoOf(TopicJS).a9 = function () {
78324
78380
  return this.name;
78325
78381
  };
78326
- protoOf(TopicJS).o3w = function () {
78382
+ protoOf(TopicJS).x3w = function () {
78327
78383
  return this.tag;
78328
78384
  };
78329
78385
  protoOf(TopicJS).o5 = function () {
@@ -78332,13 +78388,13 @@
78332
78388
  protoOf(TopicJS).p5 = function () {
78333
78389
  return this.tag;
78334
78390
  };
78335
- protoOf(TopicJS).p3w = function (name, tag) {
78391
+ protoOf(TopicJS).y3w = function (name, tag) {
78336
78392
  return new TopicJS(name, tag);
78337
78393
  };
78338
78394
  protoOf(TopicJS).copy = function (name, tag, $super) {
78339
78395
  name = name === VOID ? this.name : name;
78340
78396
  tag = tag === VOID ? this.tag : tag;
78341
- return this.p3w(name, tag);
78397
+ return this.y3w(name, tag);
78342
78398
  };
78343
78399
  protoOf(TopicJS).toString = function () {
78344
78400
  return 'TopicJS(name=' + this.name + ', tag=' + this.tag + ')';
@@ -78367,10 +78423,10 @@
78367
78423
  var Topics_STORE_instance;
78368
78424
  var Topics_REDUCER_instance;
78369
78425
  var Topics_DEFAULT_instance;
78370
- function values_5() {
78426
+ function values_4() {
78371
78427
  return [Topics_HTTP_getInstance(), Topics_WS_getInstance(), Topics_MEDIA_getInstance(), Topics_API_getInstance(), Topics_STORE_getInstance(), Topics_REDUCER_getInstance(), Topics_DEFAULT_getInstance()];
78372
78428
  }
78373
- function valueOf_6(value) {
78429
+ function valueOf_5(value) {
78374
78430
  switch (value) {
78375
78431
  case 'HTTP':
78376
78432
  return Topics_HTTP_getInstance();
@@ -78429,10 +78485,10 @@
78429
78485
  var LoggingLevelJS_Warn_instance;
78430
78486
  var LoggingLevelJS_Error_instance;
78431
78487
  var LoggingLevelJS_Assert_instance;
78432
- function values_6() {
78488
+ function values_5() {
78433
78489
  return [LoggingLevelJS_Verbose_getInstance(), LoggingLevelJS_Debug_getInstance(), LoggingLevelJS_Info_getInstance(), LoggingLevelJS_Warn_getInstance(), LoggingLevelJS_Error_getInstance(), LoggingLevelJS_Assert_getInstance()];
78434
78490
  }
78435
- function valueOf_7(value) {
78491
+ function valueOf_6(value) {
78436
78492
  switch (value) {
78437
78493
  case 'Verbose':
78438
78494
  return LoggingLevelJS_Verbose_getInstance();
@@ -78478,10 +78534,10 @@
78478
78534
  var SessionErrorReasonJS_EXPIRED_TOKEN_instance;
78479
78535
  var SessionErrorReasonJS_TRANSPORT_CLOSED_instance;
78480
78536
  var SessionErrorReasonJS_PING_TIMEOUT_instance;
78481
- function values_7() {
78537
+ function values_6() {
78482
78538
  return [SessionErrorReasonJS_EXPIRED_TOKEN_getInstance(), SessionErrorReasonJS_TRANSPORT_CLOSED_getInstance(), SessionErrorReasonJS_PING_TIMEOUT_getInstance()];
78483
78539
  }
78484
- function valueOf_8(value) {
78540
+ function valueOf_7(value) {
78485
78541
  switch (value) {
78486
78542
  case 'EXPIRED_TOKEN':
78487
78543
  return SessionErrorReasonJS_EXPIRED_TOKEN_getInstance();
@@ -78718,11 +78774,11 @@
78718
78774
  }
78719
78775
  function ICoreClientJS() {
78720
78776
  }
78721
- function map_4(_this__u8e3s4) {
78777
+ function map_6(_this__u8e3s4) {
78722
78778
  _init_properties_ICoreClientJS_kt__j7s52i();
78723
78779
  return new TopicJS(_this__u8e3s4.e3g_1, _this__u8e3s4.f3g_1);
78724
78780
  }
78725
- function map_5(_this__u8e3s4) {
78781
+ function map_7(_this__u8e3s4) {
78726
78782
  _init_properties_ICoreClientJS_kt__j7s52i();
78727
78783
  var tmp;
78728
78784
  switch (_this__u8e3s4.z7_1) {
@@ -78753,7 +78809,7 @@
78753
78809
  }
78754
78810
  return tmp;
78755
78811
  }
78756
- function map_6(_this__u8e3s4) {
78812
+ function map_8(_this__u8e3s4) {
78757
78813
  _init_properties_ICoreClientJS_kt__j7s52i();
78758
78814
  // Inline function 'kotlin.js.unsafeCast' call
78759
78815
  // Inline function 'kotlin.collections.flatMap' call
@@ -78765,7 +78821,7 @@
78765
78821
  var element = _this__u8e3s4[inductionVariable];
78766
78822
  inductionVariable = inductionVariable + 1 | 0;
78767
78823
  // Inline function 'vonage.map.<anonymous>' call
78768
- var list = map_5(element);
78824
+ var list = map_7(element);
78769
78825
  addAll(destination, list);
78770
78826
  }
78771
78827
  // Inline function 'kotlin.js.asDynamic' call
@@ -78777,10 +78833,10 @@
78777
78833
  var tmp0_safe_receiver = logger.minLogLevel;
78778
78834
  var tmp_0 = tmp0_safe_receiver == null ? null : getLoggingLevel(tmp0_safe_receiver);
78779
78835
  var tmp1_safe_receiver = logger.topics;
78780
- var tmp_1 = tmp1_safe_receiver == null ? null : map_6(tmp1_safe_receiver);
78836
+ var tmp_1 = tmp1_safe_receiver == null ? null : map_8(tmp1_safe_receiver);
78781
78837
  return createVonageLogger(tmp, tmp_0, tmp_1, vonageLogger$lambda(logger));
78782
78838
  }
78783
- function map_7(_this__u8e3s4) {
78839
+ function map_9(_this__u8e3s4) {
78784
78840
  _init_properties_ICoreClientJS_kt__j7s52i();
78785
78841
  var tmp;
78786
78842
  if (_this__u8e3s4 == null) {
@@ -78878,9 +78934,9 @@
78878
78934
  }
78879
78935
  function getLoggingLevelJS(_this__u8e3s4) {
78880
78936
  _init_properties_ICoreClientJS_kt__j7s52i();
78881
- return valueOf_7(_this__u8e3s4.y7_1);
78937
+ return valueOf_6(_this__u8e3s4.y7_1);
78882
78938
  }
78883
- function map_8(_this__u8e3s4) {
78939
+ function map_10(_this__u8e3s4) {
78884
78940
  _init_properties_ICoreClientJS_kt__j7s52i();
78885
78941
  var tmp;
78886
78942
  switch (_this__u8e3s4.z7_1) {
@@ -78904,26 +78960,26 @@
78904
78960
  return _this__u8e3s4 == null ? null : equals(_this__u8e3s4, undefined) ? null : _this__u8e3s4;
78905
78961
  }
78906
78962
  function createVonageLoggerJS$1($name, $minLogLevel, $topics, $onLog) {
78907
- this.z3w_1 = $onLog;
78908
- this.w3w_1 = $name;
78909
- this.x3w_1 = $minLogLevel;
78910
- this.y3w_1 = $topics;
78963
+ this.i3x_1 = $onLog;
78964
+ this.f3x_1 = $name;
78965
+ this.g3x_1 = $minLogLevel;
78966
+ this.h3x_1 = $topics;
78911
78967
  }
78912
78968
  protoOf(createVonageLoggerJS$1).a9 = function () {
78913
- return this.w3w_1;
78969
+ return this.f3x_1;
78914
78970
  };
78915
78971
  protoOf(createVonageLoggerJS$1).s3f = function () {
78916
- return this.x3w_1;
78972
+ return this.g3x_1;
78917
78973
  };
78918
78974
  protoOf(createVonageLoggerJS$1).k3f = function () {
78919
- return this.y3w_1;
78975
+ return this.h3x_1;
78920
78976
  };
78921
78977
  protoOf(createVonageLoggerJS$1).onLog = function (logLevel, topic, message) {
78922
- this.z3w_1(logLevel, topic, message);
78978
+ this.i3x_1(logLevel, topic, message);
78923
78979
  };
78924
78980
  function vonageLogger$lambda($logger) {
78925
78981
  return function (logLevel, topic, message, _anonymous_parameter_3__qggqen) {
78926
- $logger.onLog(getLoggingLevelJS(logLevel).y7_1, map_4(topic), message);
78982
+ $logger.onLog(getLoggingLevelJS(logLevel).y7_1, map_6(topic), message);
78927
78983
  return Unit_instance;
78928
78984
  };
78929
78985
  }
@@ -79007,102 +79063,104 @@
79007
79063
  function _init_properties_ICoreClientJS_kt__j7s52i() {
79008
79064
  if (!properties_initialized_ICoreClientJS_kt_ipn2no) {
79009
79065
  properties_initialized_ICoreClientJS_kt_ipn2no = true;
79010
- DEFAULT_REGION = valueOf_5(DefaultConfig_getInstance().u2u_1.y7_1);
79011
- }
79012
- }
79013
- var LegStatusJS_RINGING_instance;
79014
- var LegStatusJS_ANSWERED_instance;
79015
- var LegStatusJS_COMPLETED_instance;
79016
- function values_8() {
79017
- return [LegStatusJS_RINGING_getInstance(), LegStatusJS_ANSWERED_getInstance(), LegStatusJS_COMPLETED_getInstance()];
79018
- }
79019
- function valueOf_9(value) {
79020
- switch (value) {
79021
- case 'RINGING':
79022
- return LegStatusJS_RINGING_getInstance();
79023
- case 'ANSWERED':
79024
- return LegStatusJS_ANSWERED_getInstance();
79025
- case 'COMPLETED':
79026
- return LegStatusJS_COMPLETED_getInstance();
79027
- default:
79028
- LegStatusJS_initEntries();
79029
- THROW_IAE('No enum constant value.');
79030
- break;
79066
+ DEFAULT_REGION = valueOf_4(DefaultConfig_getInstance().u2u_1.y7_1);
79031
79067
  }
79032
79068
  }
79033
- var LegStatusJS_entriesInitialized;
79034
- function LegStatusJS_initEntries() {
79035
- if (LegStatusJS_entriesInitialized)
79036
- return Unit_instance;
79037
- LegStatusJS_entriesInitialized = true;
79038
- LegStatusJS_RINGING_instance = new LegStatusJS('RINGING', 0);
79039
- LegStatusJS_ANSWERED_instance = new LegStatusJS('ANSWERED', 1);
79040
- LegStatusJS_COMPLETED_instance = new LegStatusJS('COMPLETED', 2);
79041
- }
79042
- function LegStatusJS(name, ordinal) {
79043
- Enum.call(this, name, ordinal);
79069
+ function LegStatusJSObject() {
79070
+ this.RINGING = 'RINGING';
79071
+ this.ANSWERED = 'ANSWERED';
79072
+ this.COMPLETED = 'COMPLETED';
79044
79073
  }
79045
- var CallDisconnectReasonJS_NetworkChange_instance;
79046
- function values_9() {
79047
- return [CallDisconnectReasonJS_NetworkChange_getInstance()];
79048
- }
79049
- function valueOf_10(value) {
79050
- if (value === 'NetworkChange')
79051
- return CallDisconnectReasonJS_NetworkChange_getInstance();
79052
- else {
79053
- CallDisconnectReasonJS_initEntries();
79054
- THROW_IAE('No enum constant value.');
79055
- }
79056
- }
79057
- var CallDisconnectReasonJS_entriesInitialized;
79058
- function CallDisconnectReasonJS_initEntries() {
79059
- if (CallDisconnectReasonJS_entriesInitialized)
79060
- return Unit_instance;
79061
- CallDisconnectReasonJS_entriesInitialized = true;
79062
- CallDisconnectReasonJS_NetworkChange_instance = new CallDisconnectReasonJS('NetworkChange', 0);
79063
- }
79064
- function CallDisconnectReasonJS(name, ordinal) {
79065
- Enum.call(this, name, ordinal);
79074
+ protoOf(LegStatusJSObject).j3x = function () {
79075
+ return this.RINGING;
79076
+ };
79077
+ protoOf(LegStatusJSObject).k3x = function () {
79078
+ return this.ANSWERED;
79079
+ };
79080
+ protoOf(LegStatusJSObject).l3x = function () {
79081
+ return this.COMPLETED;
79082
+ };
79083
+ protoOf(LegStatusJSObject).toString = function () {
79084
+ return 'LegStatusJSObject';
79085
+ };
79086
+ protoOf(LegStatusJSObject).hashCode = function () {
79087
+ return 1394307204;
79088
+ };
79089
+ protoOf(LegStatusJSObject).equals = function (other) {
79090
+ if (this === other)
79091
+ return true;
79092
+ if (!(other instanceof LegStatusJSObject))
79093
+ return false;
79094
+ other instanceof LegStatusJSObject || THROW_CCE();
79095
+ return true;
79096
+ };
79097
+ var LegStatusJSObject_instance;
79098
+ function LegStatusJSObject_getInstance() {
79099
+ return LegStatusJSObject_instance;
79066
79100
  }
79067
- var HangupReasonJS_REMOTE_HANGUP_instance;
79068
- var HangupReasonJS_REMOTE_REJECT_instance;
79069
- var HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_instance;
79070
- var HangupReasonJS_LOCAL_HANGUP_instance;
79071
- var HangupReasonJS_MEDIA_TIMEOUT_instance;
79072
- function values_10() {
79073
- return [HangupReasonJS_REMOTE_HANGUP_getInstance(), HangupReasonJS_REMOTE_REJECT_getInstance(), HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance(), HangupReasonJS_LOCAL_HANGUP_getInstance(), HangupReasonJS_MEDIA_TIMEOUT_getInstance()];
79101
+ function CallDisconnectReasonJSObject() {
79102
+ this.NetworkChange = 'networkChange';
79074
79103
  }
79075
- function valueOf_11(value) {
79076
- switch (value) {
79077
- case 'REMOTE_HANGUP':
79078
- return HangupReasonJS_REMOTE_HANGUP_getInstance();
79079
- case 'REMOTE_REJECT':
79080
- return HangupReasonJS_REMOTE_REJECT_getInstance();
79081
- case 'REMOTE_NO_ANSWER_TIMEOUT':
79082
- return HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance();
79083
- case 'LOCAL_HANGUP':
79084
- return HangupReasonJS_LOCAL_HANGUP_getInstance();
79085
- case 'MEDIA_TIMEOUT':
79086
- return HangupReasonJS_MEDIA_TIMEOUT_getInstance();
79087
- default:
79088
- HangupReasonJS_initEntries();
79089
- THROW_IAE('No enum constant value.');
79090
- break;
79091
- }
79104
+ protoOf(CallDisconnectReasonJSObject).m3x = function () {
79105
+ return this.NetworkChange;
79106
+ };
79107
+ protoOf(CallDisconnectReasonJSObject).toString = function () {
79108
+ return 'CallDisconnectReasonJSObject';
79109
+ };
79110
+ protoOf(CallDisconnectReasonJSObject).hashCode = function () {
79111
+ return 1280862186;
79112
+ };
79113
+ protoOf(CallDisconnectReasonJSObject).equals = function (other) {
79114
+ if (this === other)
79115
+ return true;
79116
+ if (!(other instanceof CallDisconnectReasonJSObject))
79117
+ return false;
79118
+ other instanceof CallDisconnectReasonJSObject || THROW_CCE();
79119
+ return true;
79120
+ };
79121
+ var CallDisconnectReasonJSObject_instance;
79122
+ function CallDisconnectReasonJSObject_getInstance() {
79123
+ return CallDisconnectReasonJSObject_instance;
79092
79124
  }
79093
- var HangupReasonJS_entriesInitialized;
79094
- function HangupReasonJS_initEntries() {
79095
- if (HangupReasonJS_entriesInitialized)
79096
- return Unit_instance;
79097
- HangupReasonJS_entriesInitialized = true;
79098
- HangupReasonJS_REMOTE_HANGUP_instance = new HangupReasonJS('REMOTE_HANGUP', 0);
79099
- HangupReasonJS_REMOTE_REJECT_instance = new HangupReasonJS('REMOTE_REJECT', 1);
79100
- HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_instance = new HangupReasonJS('REMOTE_NO_ANSWER_TIMEOUT', 2);
79101
- HangupReasonJS_LOCAL_HANGUP_instance = new HangupReasonJS('LOCAL_HANGUP', 3);
79102
- HangupReasonJS_MEDIA_TIMEOUT_instance = new HangupReasonJS('MEDIA_TIMEOUT', 4);
79125
+ function HangupReasonJSObject() {
79126
+ this.REMOTE_HANGUP = 'remoteHangup';
79127
+ this.REMOTE_REJECT = 'remoteReject';
79128
+ this.REMOTE_NO_ANSWER_TIMEOUT = 'remoteNoAnswerTimeout';
79129
+ this.LOCAL_HANGUP = 'localHangup';
79130
+ this.MEDIA_TIMEOUT = 'mediaTimeout';
79103
79131
  }
79104
- function HangupReasonJS(name, ordinal) {
79105
- Enum.call(this, name, ordinal);
79132
+ protoOf(HangupReasonJSObject).n3x = function () {
79133
+ return this.REMOTE_HANGUP;
79134
+ };
79135
+ protoOf(HangupReasonJSObject).o3x = function () {
79136
+ return this.REMOTE_REJECT;
79137
+ };
79138
+ protoOf(HangupReasonJSObject).p3x = function () {
79139
+ return this.REMOTE_NO_ANSWER_TIMEOUT;
79140
+ };
79141
+ protoOf(HangupReasonJSObject).q3x = function () {
79142
+ return this.LOCAL_HANGUP;
79143
+ };
79144
+ protoOf(HangupReasonJSObject).r3x = function () {
79145
+ return this.MEDIA_TIMEOUT;
79146
+ };
79147
+ protoOf(HangupReasonJSObject).toString = function () {
79148
+ return 'HangupReasonJSObject';
79149
+ };
79150
+ protoOf(HangupReasonJSObject).hashCode = function () {
79151
+ return -1290686563;
79152
+ };
79153
+ protoOf(HangupReasonJSObject).equals = function (other) {
79154
+ if (this === other)
79155
+ return true;
79156
+ if (!(other instanceof HangupReasonJSObject))
79157
+ return false;
79158
+ other instanceof HangupReasonJSObject || THROW_CCE();
79159
+ return true;
79160
+ };
79161
+ var HangupReasonJSObject_instance;
79162
+ function HangupReasonJSObject_getInstance() {
79163
+ return HangupReasonJSObject_instance;
79106
79164
  }
79107
79165
  function IVoiceClientJS$serverCall$lambda$lambda($resolve, $reject) {
79108
79166
  return function (err, callId) {
@@ -79265,7 +79323,7 @@
79265
79323
  return function (resolve, reject) {
79266
79324
  var tmp = this$0.core;
79267
79325
  var tmp0_safe_receiver = $parameters;
79268
- var tmp_0 = tmp0_safe_receiver == null ? null : map_19(tmp0_safe_receiver);
79326
+ var tmp_0 = tmp0_safe_receiver == null ? null : map_21(tmp0_safe_receiver);
79269
79327
  tmp.p1d($callId, tmp_0, IVoiceClientJS$getCallLegs$lambda$lambda(resolve, reject));
79270
79328
  return Unit_instance;
79271
79329
  };
@@ -79668,13 +79726,13 @@
79668
79726
  protoOf(VoiceInviteFromInfoJS).p5 = function () {
79669
79727
  return this.type;
79670
79728
  };
79671
- protoOf(VoiceInviteFromInfoJS).g3x = function (id, type) {
79729
+ protoOf(VoiceInviteFromInfoJS).s3x = function (id, type) {
79672
79730
  return new VoiceInviteFromInfoJS(id, type);
79673
79731
  };
79674
79732
  protoOf(VoiceInviteFromInfoJS).copy = function (id, type, $super) {
79675
79733
  id = id === VOID ? this.id : id;
79676
79734
  type = type === VOID ? this.type : type;
79677
- return this.g3x(id, type);
79735
+ return this.s3x(id, type);
79678
79736
  };
79679
79737
  protoOf(VoiceInviteFromInfoJS).toString = function () {
79680
79738
  return 'VoiceInviteFromInfoJS(id=' + this.id + ', type=' + this.type + ')';
@@ -79696,17 +79754,17 @@
79696
79754
  return false;
79697
79755
  return true;
79698
79756
  };
79699
- function map_9(_this__u8e3s4) {
79757
+ function map_11(_this__u8e3s4) {
79700
79758
  var tmp;
79701
79759
  switch (_this__u8e3s4.z7_1) {
79702
79760
  case 0:
79703
- tmp = LegStatusJS_RINGING_getInstance();
79761
+ tmp = LegStatusJSObject_instance.RINGING;
79704
79762
  break;
79705
79763
  case 1:
79706
- tmp = LegStatusJS_ANSWERED_getInstance();
79764
+ tmp = LegStatusJSObject_instance.ANSWERED;
79707
79765
  break;
79708
79766
  case 2:
79709
- tmp = LegStatusJS_COMPLETED_getInstance();
79767
+ tmp = LegStatusJSObject_instance.COMPLETED;
79710
79768
  break;
79711
79769
  default:
79712
79770
  noWhenBranchMatchedException();
@@ -79714,32 +79772,32 @@
79714
79772
  }
79715
79773
  return tmp;
79716
79774
  }
79717
- function map_10(_this__u8e3s4) {
79775
+ function map_12(_this__u8e3s4) {
79718
79776
  var tmp;
79719
79777
  if (_this__u8e3s4.z7_1 === 0) {
79720
- tmp = CallDisconnectReasonJS_NetworkChange_getInstance();
79778
+ tmp = CallDisconnectReasonJSObject_instance.NetworkChange;
79721
79779
  } else {
79722
79780
  noWhenBranchMatchedException();
79723
79781
  }
79724
79782
  return tmp;
79725
79783
  }
79726
- function map_11(_this__u8e3s4) {
79784
+ function map_13(_this__u8e3s4) {
79727
79785
  var tmp;
79728
79786
  switch (_this__u8e3s4.z7_1) {
79729
79787
  case 1:
79730
- tmp = HangupReasonJS_REMOTE_HANGUP_getInstance();
79788
+ tmp = HangupReasonJSObject_instance.REMOTE_HANGUP;
79731
79789
  break;
79732
79790
  case 0:
79733
- tmp = HangupReasonJS_REMOTE_REJECT_getInstance();
79791
+ tmp = HangupReasonJSObject_instance.REMOTE_REJECT;
79734
79792
  break;
79735
79793
  case 2:
79736
- tmp = HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance();
79794
+ tmp = HangupReasonJSObject_instance.REMOTE_NO_ANSWER_TIMEOUT;
79737
79795
  break;
79738
79796
  case 3:
79739
- tmp = HangupReasonJS_LOCAL_HANGUP_getInstance();
79797
+ tmp = HangupReasonJSObject_instance.LOCAL_HANGUP;
79740
79798
  break;
79741
79799
  case 4:
79742
- tmp = HangupReasonJS_MEDIA_TIMEOUT_getInstance();
79800
+ tmp = HangupReasonJSObject_instance.MEDIA_TIMEOUT;
79743
79801
  break;
79744
79802
  default:
79745
79803
  noWhenBranchMatchedException();
@@ -79747,82 +79805,46 @@
79747
79805
  }
79748
79806
  return tmp;
79749
79807
  }
79750
- function LegStatusJS_RINGING_getInstance() {
79751
- LegStatusJS_initEntries();
79752
- return LegStatusJS_RINGING_instance;
79753
- }
79754
- function LegStatusJS_ANSWERED_getInstance() {
79755
- LegStatusJS_initEntries();
79756
- return LegStatusJS_ANSWERED_instance;
79757
- }
79758
- function LegStatusJS_COMPLETED_getInstance() {
79759
- LegStatusJS_initEntries();
79760
- return LegStatusJS_COMPLETED_instance;
79761
- }
79762
- function CallDisconnectReasonJS_NetworkChange_getInstance() {
79763
- CallDisconnectReasonJS_initEntries();
79764
- return CallDisconnectReasonJS_NetworkChange_instance;
79765
- }
79766
- function HangupReasonJS_REMOTE_HANGUP_getInstance() {
79767
- HangupReasonJS_initEntries();
79768
- return HangupReasonJS_REMOTE_HANGUP_instance;
79769
- }
79770
- function HangupReasonJS_REMOTE_REJECT_getInstance() {
79771
- HangupReasonJS_initEntries();
79772
- return HangupReasonJS_REMOTE_REJECT_instance;
79773
- }
79774
- function HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance() {
79775
- HangupReasonJS_initEntries();
79776
- return HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_instance;
79777
- }
79778
- function HangupReasonJS_LOCAL_HANGUP_getInstance() {
79779
- HangupReasonJS_initEntries();
79780
- return HangupReasonJS_LOCAL_HANGUP_instance;
79781
- }
79782
- function HangupReasonJS_MEDIA_TIMEOUT_getInstance() {
79783
- HangupReasonJS_initEntries();
79784
- return HangupReasonJS_MEDIA_TIMEOUT_instance;
79785
- }
79786
79808
  function HttpClientErrorJS(message, cause) {
79787
79809
  message = message === VOID ? null : message;
79788
79810
  cause = cause === VOID ? null : cause;
79789
79811
  extendThrowable(this);
79790
79812
  captureStack(this, HttpClientErrorJS);
79791
- this.h3x_1 = message;
79792
- this.i3x_1 = cause;
79813
+ this.t3x_1 = message;
79814
+ this.u3x_1 = cause;
79793
79815
  }
79794
79816
  protoOf(HttpClientErrorJS).ra = function () {
79795
- return this.h3x_1;
79817
+ return this.t3x_1;
79796
79818
  };
79797
79819
  protoOf(HttpClientErrorJS).sa = function () {
79798
- return this.i3x_1;
79820
+ return this.u3x_1;
79799
79821
  };
79800
- protoOf(HttpClientErrorJS).o3v = function () {
79801
- var tmp0_elvis_lhs = this.h3x_1;
79822
+ protoOf(HttpClientErrorJS).x3v = function () {
79823
+ var tmp0_elvis_lhs = this.t3x_1;
79802
79824
  var tmp = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
79803
- var tmp_0 = this.i3x_1;
79825
+ var tmp_0 = this.u3x_1;
79804
79826
  return new HTTPClientError(tmp, tmp_0 instanceof Exception ? tmp_0 : null);
79805
79827
  };
79806
79828
  protoOf(HttpClientErrorJS).o5 = function () {
79807
- return this.h3x_1;
79829
+ return this.t3x_1;
79808
79830
  };
79809
79831
  protoOf(HttpClientErrorJS).p5 = function () {
79810
- return this.i3x_1;
79832
+ return this.u3x_1;
79811
79833
  };
79812
- protoOf(HttpClientErrorJS).j3x = function (message, cause) {
79834
+ protoOf(HttpClientErrorJS).v3x = function (message, cause) {
79813
79835
  return new HttpClientErrorJS(message, cause);
79814
79836
  };
79815
79837
  protoOf(HttpClientErrorJS).copy = function (message, cause, $super) {
79816
- message = message === VOID ? this.h3x_1 : message;
79817
- cause = cause === VOID ? this.i3x_1 : cause;
79818
- return this.j3x(message, cause);
79838
+ message = message === VOID ? this.t3x_1 : message;
79839
+ cause = cause === VOID ? this.u3x_1 : cause;
79840
+ return this.v3x(message, cause);
79819
79841
  };
79820
79842
  protoOf(HttpClientErrorJS).toString = function () {
79821
- return 'HttpClientErrorJS(message=' + this.h3x_1 + ', cause=' + this.i3x_1 + ')';
79843
+ return 'HttpClientErrorJS(message=' + this.t3x_1 + ', cause=' + this.u3x_1 + ')';
79822
79844
  };
79823
79845
  protoOf(HttpClientErrorJS).hashCode = function () {
79824
- var result = this.h3x_1 == null ? 0 : getStringHashCode(this.h3x_1);
79825
- result = imul(result, 31) + (this.i3x_1 == null ? 0 : hashCode(this.i3x_1)) | 0;
79846
+ var result = this.t3x_1 == null ? 0 : getStringHashCode(this.t3x_1);
79847
+ result = imul(result, 31) + (this.u3x_1 == null ? 0 : hashCode(this.u3x_1)) | 0;
79826
79848
  return result;
79827
79849
  };
79828
79850
  protoOf(HttpClientErrorJS).equals = function (other) {
@@ -79831,9 +79853,9 @@
79831
79853
  if (!(other instanceof HttpClientErrorJS))
79832
79854
  return false;
79833
79855
  var tmp0_other_with_cast = other instanceof HttpClientErrorJS ? other : THROW_CCE();
79834
- if (!(this.h3x_1 == tmp0_other_with_cast.h3x_1))
79856
+ if (!(this.t3x_1 == tmp0_other_with_cast.t3x_1))
79835
79857
  return false;
79836
- if (!equals(this.i3x_1, tmp0_other_with_cast.i3x_1))
79858
+ if (!equals(this.u3x_1, tmp0_other_with_cast.u3x_1))
79837
79859
  return false;
79838
79860
  return true;
79839
79861
  };
@@ -79842,10 +79864,10 @@
79842
79864
  this.statusCode = statusCode;
79843
79865
  this.body = body;
79844
79866
  }
79845
- protoOf(HttpClientResponseJS).k3x = function () {
79867
+ protoOf(HttpClientResponseJS).w3x = function () {
79846
79868
  return this.statusCode;
79847
79869
  };
79848
- protoOf(HttpClientResponseJS).n3r = function () {
79870
+ protoOf(HttpClientResponseJS).r3r = function () {
79849
79871
  return this.body;
79850
79872
  };
79851
79873
  protoOf(HttpClientResponseJS).o5 = function () {
@@ -79854,13 +79876,13 @@
79854
79876
  protoOf(HttpClientResponseJS).p5 = function () {
79855
79877
  return this.body;
79856
79878
  };
79857
- protoOf(HttpClientResponseJS).l3x = function (statusCode, body) {
79879
+ protoOf(HttpClientResponseJS).x3x = function (statusCode, body) {
79858
79880
  return new HttpClientResponseJS(statusCode, body);
79859
79881
  };
79860
79882
  protoOf(HttpClientResponseJS).copy = function (statusCode, body, $super) {
79861
79883
  statusCode = statusCode === VOID ? this.statusCode : statusCode;
79862
79884
  body = body === VOID ? this.body : body;
79863
- return this.l3x(statusCode, body);
79885
+ return this.x3x(statusCode, body);
79864
79886
  };
79865
79887
  protoOf(HttpClientResponseJS).toString = function () {
79866
79888
  return 'HttpClientResponseJS(statusCode=' + this.statusCode + ', body=' + this.body + ')';
@@ -79910,46 +79932,42 @@
79910
79932
  return REASON_PING_TIMEOUT;
79911
79933
  }
79912
79934
  var REASON_PING_TIMEOUT;
79913
- var CancelReasonJS_RemoteCancel_instance;
79914
- var CancelReasonJS_AnsweredElsewhere_instance;
79915
- var CancelReasonJS_RejectedElsewhere_instance;
79916
- var CancelReasonJS_RemoteTimeout_instance;
79917
- function values_11() {
79918
- return [CancelReasonJS_RemoteCancel_getInstance(), CancelReasonJS_AnsweredElsewhere_getInstance(), CancelReasonJS_RejectedElsewhere_getInstance(), CancelReasonJS_RemoteTimeout_getInstance()];
79935
+ function CancelReasonJSObject() {
79936
+ this.RemoteCancel = 'RemoteCancel';
79937
+ this.AnsweredElsewhere = 'AnsweredElsewhere';
79938
+ this.RejectedElsewhere = 'RejectedElsewhere';
79939
+ this.RemoteTimeout = 'RemoteTimeout';
79919
79940
  }
79920
- function valueOf_12(value) {
79921
- switch (value) {
79922
- case 'RemoteCancel':
79923
- return CancelReasonJS_RemoteCancel_getInstance();
79924
- case 'AnsweredElsewhere':
79925
- return CancelReasonJS_AnsweredElsewhere_getInstance();
79926
- case 'RejectedElsewhere':
79927
- return CancelReasonJS_RejectedElsewhere_getInstance();
79928
- case 'RemoteTimeout':
79929
- return CancelReasonJS_RemoteTimeout_getInstance();
79930
- default:
79931
- CancelReasonJS_initEntries();
79932
- THROW_IAE('No enum constant value.');
79933
- break;
79934
- }
79935
- }
79936
- var CancelReasonJS_entriesInitialized;
79937
- function CancelReasonJS_initEntries() {
79938
- if (CancelReasonJS_entriesInitialized)
79939
- return Unit_instance;
79940
- CancelReasonJS_entriesInitialized = true;
79941
- CancelReasonJS_RemoteCancel_instance = new CancelReasonJS('RemoteCancel', 0, 'RemoteCancel');
79942
- CancelReasonJS_AnsweredElsewhere_instance = new CancelReasonJS('AnsweredElsewhere', 1, 'AnsweredElsewhere');
79943
- CancelReasonJS_RejectedElsewhere_instance = new CancelReasonJS('RejectedElsewhere', 2, 'RejectedElsewhere');
79944
- CancelReasonJS_RemoteTimeout_instance = new CancelReasonJS('RemoteTimeout', 3, 'RemoteTimeout');
79945
- }
79946
- function CancelReasonJS(name, ordinal, reason) {
79947
- Enum.call(this, name, ordinal);
79948
- this.reason = reason;
79949
- }
79950
- protoOf(CancelReasonJS).r2m = function () {
79951
- return this.reason;
79941
+ protoOf(CancelReasonJSObject).y3x = function () {
79942
+ return this.RemoteCancel;
79943
+ };
79944
+ protoOf(CancelReasonJSObject).z3x = function () {
79945
+ return this.AnsweredElsewhere;
79952
79946
  };
79947
+ protoOf(CancelReasonJSObject).a3y = function () {
79948
+ return this.RejectedElsewhere;
79949
+ };
79950
+ protoOf(CancelReasonJSObject).b3y = function () {
79951
+ return this.RemoteTimeout;
79952
+ };
79953
+ protoOf(CancelReasonJSObject).toString = function () {
79954
+ return 'CancelReasonJSObject';
79955
+ };
79956
+ protoOf(CancelReasonJSObject).hashCode = function () {
79957
+ return 1773502666;
79958
+ };
79959
+ protoOf(CancelReasonJSObject).equals = function (other) {
79960
+ if (this === other)
79961
+ return true;
79962
+ if (!(other instanceof CancelReasonJSObject))
79963
+ return false;
79964
+ other instanceof CancelReasonJSObject || THROW_CCE();
79965
+ return true;
79966
+ };
79967
+ var CancelReasonJSObject_instance;
79968
+ function CancelReasonJSObject_getInstance() {
79969
+ return CancelReasonJSObject_instance;
79970
+ }
79953
79971
  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) {
79954
79972
  this.mos_score = mos_score;
79955
79973
  this.quality_percentage = quality_percentage;
@@ -79961,31 +79979,31 @@
79961
79979
  this.packet_cnt = packet_cnt;
79962
79980
  this.packet_loss_perc = packet_loss_perc;
79963
79981
  }
79964
- protoOf(RTCQualityJS).o3x = function () {
79982
+ protoOf(RTCQualityJS).c3y = function () {
79965
79983
  return this.mos_score;
79966
79984
  };
79967
- protoOf(RTCQualityJS).p3x = function () {
79985
+ protoOf(RTCQualityJS).d3y = function () {
79968
79986
  return this.quality_percentage;
79969
79987
  };
79970
- protoOf(RTCQualityJS).q3x = function () {
79988
+ protoOf(RTCQualityJS).e3y = function () {
79971
79989
  return this.jitter_min_var;
79972
79990
  };
79973
- protoOf(RTCQualityJS).r3x = function () {
79991
+ protoOf(RTCQualityJS).f3y = function () {
79974
79992
  return this.jitter_max_var;
79975
79993
  };
79976
- protoOf(RTCQualityJS).s3x = function () {
79994
+ protoOf(RTCQualityJS).g3y = function () {
79977
79995
  return this.jitter_loss_rate;
79978
79996
  };
79979
- protoOf(RTCQualityJS).t3x = function () {
79997
+ protoOf(RTCQualityJS).h3y = function () {
79980
79998
  return this.jitter_burst_rate;
79981
79999
  };
79982
- protoOf(RTCQualityJS).u3x = function () {
80000
+ protoOf(RTCQualityJS).i3y = function () {
79983
80001
  return this.flaw_total;
79984
80002
  };
79985
- protoOf(RTCQualityJS).v3x = function () {
80003
+ protoOf(RTCQualityJS).j3y = function () {
79986
80004
  return this.packet_cnt;
79987
80005
  };
79988
- protoOf(RTCQualityJS).w3x = function () {
80006
+ protoOf(RTCQualityJS).k3y = function () {
79989
80007
  return this.packet_loss_perc;
79990
80008
  };
79991
80009
  protoOf(RTCQualityJS).o5 = function () {
@@ -79994,28 +80012,28 @@
79994
80012
  protoOf(RTCQualityJS).p5 = function () {
79995
80013
  return this.quality_percentage;
79996
80014
  };
79997
- protoOf(RTCQualityJS).x3x = function () {
80015
+ protoOf(RTCQualityJS).l3y = function () {
79998
80016
  return this.jitter_min_var;
79999
80017
  };
80000
- protoOf(RTCQualityJS).y3x = function () {
80018
+ protoOf(RTCQualityJS).m3y = function () {
80001
80019
  return this.jitter_max_var;
80002
80020
  };
80003
- protoOf(RTCQualityJS).z3x = function () {
80021
+ protoOf(RTCQualityJS).n3y = function () {
80004
80022
  return this.jitter_loss_rate;
80005
80023
  };
80006
- protoOf(RTCQualityJS).a3y = function () {
80024
+ protoOf(RTCQualityJS).o3y = function () {
80007
80025
  return this.jitter_burst_rate;
80008
80026
  };
80009
- protoOf(RTCQualityJS).b3y = function () {
80027
+ protoOf(RTCQualityJS).p3y = function () {
80010
80028
  return this.flaw_total;
80011
80029
  };
80012
- protoOf(RTCQualityJS).c3y = function () {
80030
+ protoOf(RTCQualityJS).q3y = function () {
80013
80031
  return this.packet_cnt;
80014
80032
  };
80015
- protoOf(RTCQualityJS).d3y = function () {
80033
+ protoOf(RTCQualityJS).r3y = function () {
80016
80034
  return this.packet_loss_perc;
80017
80035
  };
80018
- protoOf(RTCQualityJS).e3y = function (mos_score, quality_percentage, jitter_min_var, jitter_max_var, jitter_loss_rate, jitter_burst_rate, flaw_total, packet_cnt, packet_loss_perc) {
80036
+ 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) {
80019
80037
  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);
80020
80038
  };
80021
80039
  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) {
@@ -80028,7 +80046,7 @@
80028
80046
  flaw_total = flaw_total === VOID ? this.flaw_total : flaw_total;
80029
80047
  packet_cnt = packet_cnt === VOID ? this.packet_cnt : packet_cnt;
80030
80048
  packet_loss_perc = packet_loss_perc === VOID ? this.packet_loss_perc : packet_loss_perc;
80031
- return this.e3y(mos_score, quality_percentage, jitter_min_var, jitter_max_var, jitter_loss_rate, jitter_burst_rate, flaw_total, packet_cnt, packet_loss_perc);
80049
+ 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);
80032
80050
  };
80033
80051
  protoOf(RTCQualityJS).toString = function () {
80034
80052
  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 + ')';
@@ -80073,7 +80091,7 @@
80073
80091
  };
80074
80092
  function Companion() {
80075
80093
  }
80076
- protoOf(Companion).u3q = function (stats) {
80094
+ protoOf(Companion).y3q = function (stats) {
80077
80095
  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);
80078
80096
  };
80079
80097
  var Companion_instance_0;
@@ -80091,34 +80109,34 @@
80091
80109
  this.audioRtt = audioRtt;
80092
80110
  this.audioSentJitter = audioSentJitter;
80093
80111
  }
80094
- protoOf(RTCStatsJS).f3y = function () {
80112
+ protoOf(RTCStatsJS).t3y = function () {
80095
80113
  return this.audioRecvPackets;
80096
80114
  };
80097
- protoOf(RTCStatsJS).g3y = function () {
80115
+ protoOf(RTCStatsJS).u3y = function () {
80098
80116
  return this.audioRecvPacketsLost;
80099
80117
  };
80100
- protoOf(RTCStatsJS).h3y = function () {
80118
+ protoOf(RTCStatsJS).v3y = function () {
80101
80119
  return this.audioRecvBytes;
80102
80120
  };
80103
- protoOf(RTCStatsJS).i3y = function () {
80121
+ protoOf(RTCStatsJS).w3y = function () {
80104
80122
  return this.audioRecvJitter;
80105
80123
  };
80106
- protoOf(RTCStatsJS).j3y = function () {
80124
+ protoOf(RTCStatsJS).x3y = function () {
80107
80125
  return this.audioSentPackets;
80108
80126
  };
80109
- protoOf(RTCStatsJS).k3y = function () {
80127
+ protoOf(RTCStatsJS).y3y = function () {
80110
80128
  return this.audioSentBytes;
80111
80129
  };
80112
- protoOf(RTCStatsJS).l3y = function () {
80130
+ protoOf(RTCStatsJS).z3y = function () {
80113
80131
  return this.audioSentPacketsLost;
80114
80132
  };
80115
- protoOf(RTCStatsJS).m3y = function () {
80133
+ protoOf(RTCStatsJS).a3z = function () {
80116
80134
  return this.audioRtt;
80117
80135
  };
80118
- protoOf(RTCStatsJS).n3y = function () {
80136
+ protoOf(RTCStatsJS).b3z = function () {
80119
80137
  return this.audioSentJitter;
80120
80138
  };
80121
- protoOf(RTCStatsJS).o3y = function () {
80139
+ protoOf(RTCStatsJS).c3z = function () {
80122
80140
  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));
80123
80141
  };
80124
80142
  protoOf(RTCStatsJS).o5 = function () {
@@ -80127,28 +80145,28 @@
80127
80145
  protoOf(RTCStatsJS).p5 = function () {
80128
80146
  return this.audioRecvPacketsLost;
80129
80147
  };
80130
- protoOf(RTCStatsJS).x3x = function () {
80148
+ protoOf(RTCStatsJS).l3y = function () {
80131
80149
  return this.audioRecvBytes;
80132
80150
  };
80133
- protoOf(RTCStatsJS).y3x = function () {
80151
+ protoOf(RTCStatsJS).m3y = function () {
80134
80152
  return this.audioRecvJitter;
80135
80153
  };
80136
- protoOf(RTCStatsJS).z3x = function () {
80154
+ protoOf(RTCStatsJS).n3y = function () {
80137
80155
  return this.audioSentPackets;
80138
80156
  };
80139
- protoOf(RTCStatsJS).a3y = function () {
80157
+ protoOf(RTCStatsJS).o3y = function () {
80140
80158
  return this.audioSentBytes;
80141
80159
  };
80142
- protoOf(RTCStatsJS).b3y = function () {
80160
+ protoOf(RTCStatsJS).p3y = function () {
80143
80161
  return this.audioSentPacketsLost;
80144
80162
  };
80145
- protoOf(RTCStatsJS).c3y = function () {
80163
+ protoOf(RTCStatsJS).q3y = function () {
80146
80164
  return this.audioRtt;
80147
80165
  };
80148
- protoOf(RTCStatsJS).d3y = function () {
80166
+ protoOf(RTCStatsJS).r3y = function () {
80149
80167
  return this.audioSentJitter;
80150
80168
  };
80151
- protoOf(RTCStatsJS).p3y = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter) {
80169
+ protoOf(RTCStatsJS).d3z = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter) {
80152
80170
  return new RTCStatsJS(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter);
80153
80171
  };
80154
80172
  protoOf(RTCStatsJS).copy = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, $super) {
@@ -80161,7 +80179,7 @@
80161
80179
  audioSentPacketsLost = audioSentPacketsLost === VOID ? this.audioSentPacketsLost : audioSentPacketsLost;
80162
80180
  audioRtt = audioRtt === VOID ? this.audioRtt : audioRtt;
80163
80181
  audioSentJitter = audioSentJitter === VOID ? this.audioSentJitter : audioSentJitter;
80164
- return this.p3y(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter);
80182
+ return this.d3z(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter);
80165
80183
  };
80166
80184
  protoOf(RTCStatsJS).toString = function () {
80167
80185
  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) + ')';
@@ -80207,20 +80225,20 @@
80207
80225
  function HttpClientJSAdapter(js) {
80208
80226
  return new HttpClientJSAdapter$1(js);
80209
80227
  }
80210
- function map_12(_this__u8e3s4) {
80228
+ function map_14(_this__u8e3s4) {
80211
80229
  var tmp;
80212
80230
  switch (_this__u8e3s4.z7_1) {
80213
80231
  case 2:
80214
- tmp = CancelReasonJS_RemoteCancel_getInstance();
80232
+ tmp = CancelReasonJSObject_instance.RemoteCancel;
80215
80233
  break;
80216
80234
  case 0:
80217
- tmp = CancelReasonJS_AnsweredElsewhere_getInstance();
80235
+ tmp = CancelReasonJSObject_instance.AnsweredElsewhere;
80218
80236
  break;
80219
80237
  case 1:
80220
- tmp = CancelReasonJS_RejectedElsewhere_getInstance();
80238
+ tmp = CancelReasonJSObject_instance.RejectedElsewhere;
80221
80239
  break;
80222
80240
  case 3:
80223
- tmp = CancelReasonJS_RemoteTimeout_getInstance();
80241
+ tmp = CancelReasonJSObject_instance.RemoteTimeout;
80224
80242
  break;
80225
80243
  default:
80226
80244
  noWhenBranchMatchedException();
@@ -80228,7 +80246,7 @@
80228
80246
  }
80229
80247
  return tmp;
80230
80248
  }
80231
- function map_13(_this__u8e3s4) {
80249
+ function map_15(_this__u8e3s4) {
80232
80250
  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);
80233
80251
  }
80234
80252
  function SocketClientJSAdapter(js) {
@@ -80280,7 +80298,7 @@
80280
80298
  };
80281
80299
  }
80282
80300
  function HttpClientJSAdapter$1($js) {
80283
- this.q3y_1 = $js;
80301
+ this.e3z_1 = $js;
80284
80302
  }
80285
80303
  protoOf(HttpClientJSAdapter$1).j3h = function (verb, url, headers, body, callback) {
80286
80304
  var tmp = verb.toString();
@@ -80288,7 +80306,7 @@
80288
80306
  // Inline function 'kotlin.contracts.contract' call
80289
80307
  // Inline function 'vonage.<no name provided>.request.<anonymous>' call
80290
80308
  var tmp_0 = fromMap(JSON, headers);
80291
- this.q3y_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
80309
+ this.e3z_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
80292
80310
  };
80293
80311
  function SocketClientJSAdapter$o$emit$lambda($callback) {
80294
80312
  return function (err, response) {
@@ -80306,11 +80324,11 @@
80306
80324
  };
80307
80325
  }
80308
80326
  function SocketClientJSAdapter$adapter$1($js) {
80309
- this.s3y_1 = $js;
80310
- this.r3y_1 = null;
80327
+ this.g3z_1 = $js;
80328
+ this.f3z_1 = null;
80311
80329
  }
80312
80330
  protoOf(SocketClientJSAdapter$adapter$1).m3h = function (_set____db54di) {
80313
- this.r3y_1 = _set____db54di;
80331
+ this.f3z_1 = _set____db54di;
80314
80332
  };
80315
80333
  protoOf(SocketClientJSAdapter$adapter$1).n3h = function (type, msg, callback) {
80316
80334
  var tmp;
@@ -80323,28 +80341,28 @@
80323
80341
  tmp = fromMap(JSON, msg);
80324
80342
  }
80325
80343
  var tmp_0 = tmp;
80326
- this.s3y_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
80344
+ this.g3z_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
80327
80345
  };
80328
80346
  protoOf(SocketClientJSAdapter$adapter$1).o3h = function (host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, sessionId, query) {
80329
- this.s3y_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, sessionId, query);
80347
+ this.g3z_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, sessionId, query);
80330
80348
  };
80331
80349
  protoOf(SocketClientJSAdapter$adapter$1).p3h = function () {
80332
- this.s3y_1.disconnect();
80350
+ this.g3z_1.disconnect();
80333
80351
  };
80334
80352
  protoOf(SocketClientJSAdapter$adapter$1).q3h = function (sessionId, token) {
80335
- this.s3y_1.setConnectParamsSocketConfig(sessionId, token);
80353
+ this.g3z_1.setConnectParamsSocketConfig(sessionId, token);
80336
80354
  };
80337
80355
  protoOf(SocketClientJSAdapter$adapter$1).r3h = function (sessionId) {
80338
- this.s3y_1.setSocketSessionId(sessionId);
80356
+ this.g3z_1.setSocketSessionId(sessionId);
80339
80357
  };
80340
80358
  protoOf(SocketClientJSAdapter$adapter$1).s3h = function (milliseconds, callback) {
80341
- this.s3y_1.startVerifyResponseTimer(milliseconds, callback);
80359
+ this.g3z_1.startVerifyResponseTimer(milliseconds, callback);
80342
80360
  };
80343
80361
  function SocketClientJSAdapter$1($adapter) {
80344
- this.t3y_1 = $adapter;
80362
+ this.h3z_1 = $adapter;
80345
80363
  }
80346
80364
  protoOf(SocketClientJSAdapter$1).didReceiveNewSocketEvent = function (body) {
80347
- var tmp0_safe_receiver = this.t3y_1.r3y_1;
80365
+ var tmp0_safe_receiver = this.h3z_1.f3z_1;
80348
80366
  if (tmp0_safe_receiver == null)
80349
80367
  ;
80350
80368
  else {
@@ -80376,31 +80394,31 @@
80376
80394
  var it = tmp1_safe_receiver;
80377
80395
  switch (reason) {
80378
80396
  case 'NXMCORE_REASON_SERVER_DISCONNECTED':
80379
- var tmp1_safe_receiver_0 = this.t3y_1.r3y_1;
80397
+ var tmp1_safe_receiver_0 = this.h3z_1.f3z_1;
80380
80398
  if (tmp1_safe_receiver_0 == null) ; else {
80381
80399
  tmp1_safe_receiver_0.u3i(it, SocketConnectionFailedReason_ServerDisconnected_getInstance(), timestamp, retryNumber);
80382
80400
  }
80383
80401
  break;
80384
80402
  case 'NXMCORE_REASON_CLIENT_DISCONNECTED':
80385
- var tmp2_safe_receiver = this.t3y_1.r3y_1;
80403
+ var tmp2_safe_receiver = this.h3z_1.f3z_1;
80386
80404
  if (tmp2_safe_receiver == null) ; else {
80387
80405
  tmp2_safe_receiver.u3i(it, SocketConnectionFailedReason_ClientDisconnected_getInstance(), timestamp, retryNumber);
80388
80406
  }
80389
80407
  break;
80390
80408
  case 'NXMCORE_CLIENT_NETWORK_ERROR':
80391
- var tmp3_safe_receiver = this.t3y_1.r3y_1;
80409
+ var tmp3_safe_receiver = this.h3z_1.f3z_1;
80392
80410
  if (tmp3_safe_receiver == null) ; else {
80393
80411
  tmp3_safe_receiver.u3i(it, SocketConnectionFailedReason_ClientNetworkError_getInstance(), timestamp, retryNumber);
80394
80412
  }
80395
80413
  break;
80396
80414
  case 'NXMCORE_REASON_PING_TIMEOUT':
80397
- var tmp4_safe_receiver = this.t3y_1.r3y_1;
80415
+ var tmp4_safe_receiver = this.h3z_1.f3z_1;
80398
80416
  if (tmp4_safe_receiver == null) ; else {
80399
80417
  tmp4_safe_receiver.u3i(it, SocketConnectionFailedReason_PingTimeout_getInstance(), timestamp, retryNumber);
80400
80418
  }
80401
80419
  break;
80402
80420
  default:
80403
- var tmp5_safe_receiver = this.t3y_1.r3y_1;
80421
+ var tmp5_safe_receiver = this.h3z_1.f3z_1;
80404
80422
  if (tmp5_safe_receiver == null) ; else {
80405
80423
  tmp5_safe_receiver.u3i(it, null, timestamp, retryNumber);
80406
80424
  }
@@ -80410,88 +80428,88 @@
80410
80428
  };
80411
80429
  function MediaClientJSAdapter$o$processAnswer$lambda($closure) {
80412
80430
  return function (it) {
80413
- $closure(it == null ? null : it.o3v());
80431
+ $closure(it == null ? null : it.x3v());
80414
80432
  return Unit_instance;
80415
80433
  };
80416
80434
  }
80417
80435
  function MediaClientJSAdapter$o$disableMedia$lambda($closure) {
80418
80436
  return function (it) {
80419
- $closure(it == null ? null : it.o3v());
80437
+ $closure(it == null ? null : it.x3v());
80420
80438
  return Unit_instance;
80421
80439
  };
80422
80440
  }
80423
80441
  function MediaClientJSAdapter$o$mute$lambda($closure) {
80424
80442
  return function (it) {
80425
- $closure(it == null ? null : it.o3v());
80443
+ $closure(it == null ? null : it.x3v());
80426
80444
  return Unit_instance;
80427
80445
  };
80428
80446
  }
80429
80447
  function MediaClientJSAdapter$o$unmute$lambda($closure) {
80430
80448
  return function (it) {
80431
- $closure(it == null ? null : it.o3v());
80449
+ $closure(it == null ? null : it.x3v());
80432
80450
  return Unit_instance;
80433
80451
  };
80434
80452
  }
80435
80453
  function MediaClientJSAdapter$o$enableRtcStatsCollection$lambda($closure) {
80436
80454
  return function (it) {
80437
- $closure(it == null ? null : it.o3v());
80455
+ $closure(it == null ? null : it.x3v());
80438
80456
  return Unit_instance;
80439
80457
  };
80440
80458
  }
80441
80459
  function MediaClientJSAdapter$adapter$1($js) {
80442
- this.v3y_1 = $js;
80443
- this.u3y_1 = null;
80460
+ this.j3z_1 = $js;
80461
+ this.i3z_1 = null;
80444
80462
  }
80445
80463
  protoOf(MediaClientJSAdapter$adapter$1).v3h = function (_set____db54di) {
80446
- this.u3y_1 = _set____db54di;
80464
+ this.i3z_1 = _set____db54di;
80447
80465
  };
80448
80466
  protoOf(MediaClientJSAdapter$adapter$1).w3h = function () {
80449
- return this.u3y_1;
80467
+ return this.i3z_1;
80450
80468
  };
80451
80469
  protoOf(MediaClientJSAdapter$adapter$1).x3h = function (closure) {
80452
- this.v3y_1.enableMediaOutbound(closure);
80470
+ this.j3z_1.enableMediaOutbound(closure);
80453
80471
  };
80454
- protoOf(MediaClientJSAdapter$adapter$1).w3y = function (rtcId, offerSDP, closure) {
80455
- this.v3y_1.enableMediaInbound(rtcId, offerSDP, closure);
80472
+ protoOf(MediaClientJSAdapter$adapter$1).k3z = function (rtcId, offerSDP, closure) {
80473
+ this.j3z_1.enableMediaInbound(rtcId, offerSDP, closure);
80456
80474
  };
80457
80475
  protoOf(MediaClientJSAdapter$adapter$1).y3h = function (rtcId, offerSDP, closure) {
80458
- return this.w3y(rtcId, offerSDP, closure);
80476
+ return this.k3z(rtcId, offerSDP, closure);
80459
80477
  };
80460
80478
  protoOf(MediaClientJSAdapter$adapter$1).z3h = function (id, sdp, closure) {
80461
- this.v3y_1.processAnswer(id, sdp, MediaClientJSAdapter$o$processAnswer$lambda(closure));
80479
+ this.j3z_1.processAnswer(id, sdp, MediaClientJSAdapter$o$processAnswer$lambda(closure));
80462
80480
  };
80463
80481
  protoOf(MediaClientJSAdapter$adapter$1).a3i = function (id, closure) {
80464
- this.v3y_1.disableMedia(id, MediaClientJSAdapter$o$disableMedia$lambda(closure));
80482
+ this.j3z_1.disableMedia(id, MediaClientJSAdapter$o$disableMedia$lambda(closure));
80465
80483
  };
80466
80484
  protoOf(MediaClientJSAdapter$adapter$1).b3i = function (id, closure) {
80467
- this.v3y_1.mute(id, MediaClientJSAdapter$o$mute$lambda(closure));
80485
+ this.j3z_1.mute(id, MediaClientJSAdapter$o$mute$lambda(closure));
80468
80486
  };
80469
80487
  protoOf(MediaClientJSAdapter$adapter$1).c3i = function (id, closure) {
80470
- this.v3y_1.unmute(id, MediaClientJSAdapter$o$unmute$lambda(closure));
80488
+ this.j3z_1.unmute(id, MediaClientJSAdapter$o$unmute$lambda(closure));
80471
80489
  };
80472
80490
  protoOf(MediaClientJSAdapter$adapter$1).e3i = function (id, closure) {
80473
80491
  };
80474
80492
  protoOf(MediaClientJSAdapter$adapter$1).f3i = function (id, closure) {
80475
80493
  };
80476
80494
  protoOf(MediaClientJSAdapter$adapter$1).d3i = function (id, interval, closure) {
80477
- this.v3y_1.enableRtcStatsCollection(id, interval, MediaClientJSAdapter$o$enableRtcStatsCollection$lambda(closure));
80495
+ this.j3z_1.enableRtcStatsCollection(id, interval, MediaClientJSAdapter$o$enableRtcStatsCollection$lambda(closure));
80478
80496
  };
80479
80497
  protoOf(MediaClientJSAdapter$adapter$1).g3i = function (id) {
80480
- return coreConnectionState(this.v3y_1.getMediaConnectionState(id));
80498
+ return coreConnectionState(this.j3z_1.getMediaConnectionState(id));
80481
80499
  };
80482
80500
  function MediaClientJSAdapter$1($adapter) {
80483
- this.x3y_1 = $adapter;
80501
+ this.l3z_1 = $adapter;
80484
80502
  }
80485
80503
  protoOf(MediaClientJSAdapter$1).onRtcStats = function (id, rtcStats) {
80486
- var tmp0_safe_receiver = this.x3y_1.u3y_1;
80504
+ var tmp0_safe_receiver = this.l3z_1.i3z_1;
80487
80505
  if (tmp0_safe_receiver == null)
80488
80506
  ;
80489
80507
  else {
80490
- tmp0_safe_receiver.x3i(id, rtcStats.o3y());
80508
+ tmp0_safe_receiver.x3i(id, rtcStats.c3z());
80491
80509
  }
80492
80510
  };
80493
80511
  protoOf(MediaClientJSAdapter$1).onConnectionChange = function (id, state) {
80494
- var tmp0_safe_receiver = this.x3y_1.u3y_1;
80512
+ var tmp0_safe_receiver = this.l3z_1.i3z_1;
80495
80513
  if (tmp0_safe_receiver == null)
80496
80514
  ;
80497
80515
  else {
@@ -80499,29 +80517,13 @@
80499
80517
  }
80500
80518
  };
80501
80519
  protoOf(MediaClientJSAdapter$1).onMediaError = function (id, error) {
80502
- var tmp0_safe_receiver = this.x3y_1.u3y_1;
80520
+ var tmp0_safe_receiver = this.l3z_1.i3z_1;
80503
80521
  if (tmp0_safe_receiver == null)
80504
80522
  ;
80505
80523
  else {
80506
- tmp0_safe_receiver.z3i(id, error.o3v());
80524
+ tmp0_safe_receiver.z3i(id, error.x3v());
80507
80525
  }
80508
80526
  };
80509
- function CancelReasonJS_RemoteCancel_getInstance() {
80510
- CancelReasonJS_initEntries();
80511
- return CancelReasonJS_RemoteCancel_instance;
80512
- }
80513
- function CancelReasonJS_AnsweredElsewhere_getInstance() {
80514
- CancelReasonJS_initEntries();
80515
- return CancelReasonJS_AnsweredElsewhere_instance;
80516
- }
80517
- function CancelReasonJS_RejectedElsewhere_getInstance() {
80518
- CancelReasonJS_initEntries();
80519
- return CancelReasonJS_RejectedElsewhere_instance;
80520
- }
80521
- function CancelReasonJS_RemoteTimeout_getInstance() {
80522
- CancelReasonJS_initEntries();
80523
- return CancelReasonJS_RemoteTimeout_instance;
80524
- }
80525
80527
  function invoke(_this__u8e3s4, optionJS) {
80526
80528
  var tmp;
80527
80529
  if (optionJS instanceof None) {
@@ -80548,7 +80550,7 @@
80548
80550
  }
80549
80551
  return tmp;
80550
80552
  }
80551
- function map_14(_this__u8e3s4) {
80553
+ function map_16(_this__u8e3s4) {
80552
80554
  var tmp1_name = _this__u8e3s4.name;
80553
80555
  var tmp2_displayName = _this__u8e3s4.displayName;
80554
80556
  var tmp3_imageUrl = _this__u8e3s4.imageUrl;
@@ -80558,7 +80560,7 @@
80558
80560
  var tmp6_customSortKey = _this__u8e3s4.customSortKey;
80559
80561
  return new CreateConversationParameters(tmp1_name, tmp2_displayName, tmp3_imageUrl, tmp4_ttl, tmp6_customSortKey, tmp5_customData);
80560
80562
  }
80561
- function map_15(_this__u8e3s4) {
80563
+ function map_17(_this__u8e3s4) {
80562
80564
  var tmp0_name = invoke(Companion_instance, _this__u8e3s4.name);
80563
80565
  var tmp1_displayName = invoke(Companion_instance, _this__u8e3s4.displayName);
80564
80566
  var tmp2_imageUrl = invoke(Companion_instance, _this__u8e3s4.imageUrl);
@@ -80567,7 +80569,7 @@
80567
80569
  var tmp5_customSortKey = invoke(Companion_instance, _this__u8e3s4.customSortKey);
80568
80570
  return new UpdateConversationParameters(tmp0_name, tmp1_displayName, tmp2_imageUrl, tmp3_ttl, tmp5_customSortKey, tmp4_customData);
80569
80571
  }
80570
- function map_16(_this__u8e3s4) {
80572
+ function map_18(_this__u8e3s4) {
80571
80573
  var tmp0_safe_receiver = _this__u8e3s4.order;
80572
80574
  var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
80573
80575
  var tmp1_safe_receiver = _this__u8e3s4.pageSize;
@@ -80577,7 +80579,7 @@
80577
80579
  var tmp2_safe_receiver = _this__u8e3s4.orderBy;
80578
80580
  return new GetConversationsParameters(tmp, tmp_0, tmp_1, tmp_2, tmp2_safe_receiver == null ? null : tmp2_safe_receiver.coreOrderBy);
80579
80581
  }
80580
- function map_17(_this__u8e3s4) {
80582
+ function map_19(_this__u8e3s4) {
80581
80583
  var tmp0_safe_receiver = _this__u8e3s4.order;
80582
80584
  var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
80583
80585
  var tmp1_safe_receiver = _this__u8e3s4.pageSize;
@@ -80606,13 +80608,13 @@
80606
80608
  var tmp3_safe_receiver = _this__u8e3s4.startId;
80607
80609
  return new GetConversationEventsParameters(tmp, tmp_0, tmp_1, tmp_3, tmp_4, tmp3_safe_receiver == null ? null : numberToInt(tmp3_safe_receiver));
80608
80610
  }
80609
- function map_18(_this__u8e3s4) {
80611
+ function map_20(_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;
80613
80615
  return new GetConversationMembersParameters(tmp, tmp1_safe_receiver == null ? null : numberToInt(tmp1_safe_receiver), _this__u8e3s4.cursor);
80614
80616
  }
80615
- function map_19(_this__u8e3s4) {
80617
+ function map_21(_this__u8e3s4) {
80616
80618
  var tmp0_safe_receiver = _this__u8e3s4.order;
80617
80619
  var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.corePresentingOrder;
80618
80620
  var tmp1_safe_receiver = _this__u8e3s4.pageSize;
@@ -80746,12 +80748,12 @@
80746
80748
  protoOf(Some).o5 = function () {
80747
80749
  return this.value;
80748
80750
  };
80749
- protoOf(Some).y3y = function (value) {
80751
+ protoOf(Some).m3z = function (value) {
80750
80752
  return new Some(value);
80751
80753
  };
80752
80754
  protoOf(Some).copy = function (value, $super) {
80753
80755
  value = value === VOID ? this.value : value;
80754
- return this.y3y(value);
80756
+ return this.m3z(value);
80755
80757
  };
80756
80758
  protoOf(Some).toString = function () {
80757
80759
  return 'Some(value=' + this.value + ')';
@@ -80965,10 +80967,10 @@
80965
80967
  protoOf(CombinedClientJS).disableEarmuff = disableEarmuff;
80966
80968
  protoOf(CombinedClientJS).sendDTMF = sendDTMF;
80967
80969
  defineProp(protoOf(CombinedClientJS), 'media', function () {
80968
- return this.w3q();
80970
+ return this.a3r();
80969
80971
  });
80970
80972
  defineProp(protoOf(CombinedClientJS), 'core', function () {
80971
- return this.x3q();
80973
+ return this.b3r();
80972
80974
  });
80973
80975
  defineProp(protoOf(EventStateTypeJS), 'name', protoOf(EventStateTypeJS).a9);
80974
80976
  defineProp(protoOf(EventStateTypeJS), 'ordinal', protoOf(EventStateTypeJS).b9);
@@ -80976,39 +80978,37 @@
80976
80978
  defineProp(protoOf(PresentingOrderJS), 'ordinal', protoOf(PresentingOrderJS).b9);
80977
80979
  defineProp(protoOf(OrderByJS), 'name', protoOf(OrderByJS).a9);
80978
80980
  defineProp(protoOf(OrderByJS), 'ordinal', protoOf(OrderByJS).b9);
80979
- defineProp(protoOf(ChannelTypeJS), 'name', protoOf(ChannelTypeJS).a9);
80980
- defineProp(protoOf(ChannelTypeJS), 'ordinal', protoOf(ChannelTypeJS).b9);
80981
80981
  defineProp(protoOf(VonageErrorTypeJS), 'name', protoOf(VonageErrorTypeJS).a9);
80982
80982
  defineProp(protoOf(VonageErrorTypeJS), 'ordinal', protoOf(VonageErrorTypeJS).b9);
80983
80983
  defineProp(protoOf(CoreClientConfigRegionJS), 'name', protoOf(CoreClientConfigRegionJS).a9);
80984
80984
  defineProp(protoOf(CoreClientConfigRegionJS), 'ordinal', protoOf(CoreClientConfigRegionJS).b9);
80985
80985
  defineProp(protoOf(CoreClientConfigJS), 'apiUrl', function () {
80986
- return this.e3w();
80986
+ return this.n3w();
80987
80987
  }, function (value) {
80988
- this.d3w(value);
80988
+ this.m3w(value);
80989
80989
  });
80990
80990
  defineProp(protoOf(CoreClientConfigJS), 'websocketUrl', function () {
80991
- return this.g3w();
80991
+ return this.p3w();
80992
80992
  }, function (value) {
80993
- this.f3w(value);
80993
+ this.o3w(value);
80994
80994
  });
80995
80995
  defineProp(protoOf(CoreClientConfigJS), 'websocketPath', function () {
80996
- return this.i3w();
80996
+ return this.r3w();
80997
80997
  }, function (value) {
80998
- this.h3w(value);
80998
+ this.q3w(value);
80999
80999
  });
81000
81000
  defineProp(protoOf(CoreClientConfigJS), 'rtcStatsTelemetry', function () {
81001
- return this.k3w();
81001
+ return this.t3w();
81002
81002
  }, function (value) {
81003
- this.j3w(value);
81003
+ this.s3w(value);
81004
81004
  });
81005
81005
  defineProp(protoOf(CoreClientConfigJS), 'autoReconnectMedia', function () {
81006
- return this.m3w();
81006
+ return this.v3w();
81007
81007
  }, function (value) {
81008
- this.l3w(value);
81008
+ this.u3w(value);
81009
81009
  });
81010
81010
  defineProp(protoOf(CoreClientConfigJS), 'noiseSuppression', function () {
81011
- return this.n3w();
81011
+ return this.w3w();
81012
81012
  });
81013
81013
  defineProp(protoOf(Topics), 'name', protoOf(Topics).a9);
81014
81014
  defineProp(protoOf(Topics), 'ordinal', protoOf(Topics).b9);
@@ -81025,28 +81025,25 @@
81025
81025
  defineProp(protoOf(createVonageLoggerJS$1), 'topics', function () {
81026
81026
  return this.k3f();
81027
81027
  });
81028
- defineProp(protoOf(LegStatusJS), 'name', protoOf(LegStatusJS).a9);
81029
- defineProp(protoOf(LegStatusJS), 'ordinal', protoOf(LegStatusJS).b9);
81030
- defineProp(protoOf(CallDisconnectReasonJS), 'name', protoOf(CallDisconnectReasonJS).a9);
81031
- defineProp(protoOf(CallDisconnectReasonJS), 'ordinal', protoOf(CallDisconnectReasonJS).b9);
81032
- defineProp(protoOf(HangupReasonJS), 'name', protoOf(HangupReasonJS).a9);
81033
- defineProp(protoOf(HangupReasonJS), 'ordinal', protoOf(HangupReasonJS).b9);
81034
81028
  defineProp(protoOf(HttpClientErrorJS), 'message', function () {
81035
81029
  return this.ra();
81036
81030
  });
81037
81031
  defineProp(protoOf(HttpClientErrorJS), 'cause', function () {
81038
81032
  return this.sa();
81039
81033
  });
81040
- defineProp(protoOf(HttpClientErrorJS), 'coreError', protoOf(HttpClientErrorJS).o3v);
81041
- defineProp(protoOf(CancelReasonJS), 'name', protoOf(CancelReasonJS).a9);
81042
- defineProp(protoOf(CancelReasonJS), 'ordinal', protoOf(CancelReasonJS).b9);
81034
+ defineProp(protoOf(HttpClientErrorJS), 'coreError', protoOf(HttpClientErrorJS).x3v);
81043
81035
  //endregion
81044
81036
  //region block: init
81037
+ VoiceChannelTypeObject_instance = new VoiceChannelTypeObject();
81045
81038
  SystemJS_instance = new SystemJS();
81046
81039
  ConversationStateJS_instance = new ConversationStateJS();
81047
81040
  MemberStateJSObj_instance = new MemberStateJSObj();
81041
+ ChannelTypeObj_instance = new ChannelTypeObj();
81048
81042
  CSErrorCodesJS_instance = new CSErrorCodesJS();
81049
81043
  SessionErrorCodesJS_instance = new SessionErrorCodesJS();
81044
+ LegStatusJSObject_instance = new LegStatusJSObject();
81045
+ CallDisconnectReasonJSObject_instance = new CallDisconnectReasonJSObject();
81046
+ HangupReasonJSObject_instance = new HangupReasonJSObject();
81050
81047
  SOCKET_CONNECTED = 'NXMCORE_SOCKET_CONNECTED';
81051
81048
  SOCKET_RECONNECTING = 'NXMCORE_SOCKET_RECONNECTING';
81052
81049
  SOCKET_DISCONNECTED = 'NXMCORE_SOCKET_DISCONNECTED';
@@ -81054,12 +81051,14 @@
81054
81051
  REASON_CLIENT_DISCONNECTED = 'NXMCORE_REASON_CLIENT_DISCONNECTED';
81055
81052
  REASON_CLIENT_NETWORK_ERROR = 'NXMCORE_CLIENT_NETWORK_ERROR';
81056
81053
  REASON_PING_TIMEOUT = 'NXMCORE_REASON_PING_TIMEOUT';
81054
+ CancelReasonJSObject_instance = new CancelReasonJSObject();
81057
81055
  Companion_instance_0 = new Companion();
81058
81056
  Companion_instance_1 = new Companion_0();
81059
81057
  //endregion
81060
81058
  //region block: exports
81061
81059
  function $jsExportAll$(_) {
81062
81060
  var $vonage = _.vonage || (_.vonage = {});
81061
+ defineProp($vonage, 'VoiceChannelTypeObject', VoiceChannelTypeObject_getInstance);
81063
81062
  $vonage.CombinedClientJS = CombinedClientJS;
81064
81063
  var $vonage = _.vonage || (_.vonage = {});
81065
81064
  $vonage.EventStateTypeJS = EventStateTypeJS;
@@ -81139,28 +81138,15 @@
81139
81138
  $vonage.MediaStateJS = MediaStateJS;
81140
81139
  $vonage.LegJS = LegJS;
81141
81140
  $vonage.LegsPageJS = LegsPageJS;
81142
- $vonage.ChannelTypeJS = ChannelTypeJS;
81143
- $vonage.ChannelTypeJS.values = values_2;
81144
- $vonage.ChannelTypeJS.valueOf = valueOf_3;
81145
- defineProp($vonage.ChannelTypeJS, 'APP', ChannelTypeJS_APP_getInstance);
81146
- defineProp($vonage.ChannelTypeJS, 'PHONE', ChannelTypeJS_PHONE_getInstance);
81147
- defineProp($vonage.ChannelTypeJS, 'PSTN', ChannelTypeJS_PSTN_getInstance);
81148
- defineProp($vonage.ChannelTypeJS, 'sip', ChannelTypeJS_SIP_getInstance);
81149
- defineProp($vonage.ChannelTypeJS, 'VBC', ChannelTypeJS_VBC_getInstance);
81150
- defineProp($vonage.ChannelTypeJS, 'WEBSOCKET', ChannelTypeJS_WEBSOCKET_getInstance);
81151
- defineProp($vonage.ChannelTypeJS, 'SMS', ChannelTypeJS_SMS_getInstance);
81152
- defineProp($vonage.ChannelTypeJS, 'MMS', ChannelTypeJS_MMS_getInstance);
81153
- defineProp($vonage.ChannelTypeJS, 'WHATSAPP', ChannelTypeJS_WHATSAPP_getInstance);
81154
- defineProp($vonage.ChannelTypeJS, 'VIBER', ChannelTypeJS_VIBER_getInstance);
81155
- defineProp($vonage.ChannelTypeJS, 'MESSENGER', ChannelTypeJS_MESSENGER_getInstance);
81141
+ defineProp($vonage, 'ChannelTypeObj', ChannelTypeObj_getInstance);
81156
81142
  var $vonage = _.vonage || (_.vonage = {});
81157
81143
  defineProp($vonage, 'CSErrorCodesJS', CSErrorCodesJS_getInstance);
81158
81144
  defineProp($vonage, 'SessionErrorCodesJS', SessionErrorCodesJS_getInstance);
81159
81145
  var $vonage = _.vonage || (_.vonage = {});
81160
81146
  $vonage.VonageErrorJS = VonageErrorJS;
81161
81147
  $vonage.VonageErrorTypeJS = VonageErrorTypeJS;
81162
- $vonage.VonageErrorTypeJS.values = values_3;
81163
- $vonage.VonageErrorTypeJS.valueOf = valueOf_4;
81148
+ $vonage.VonageErrorTypeJS.values = values_2;
81149
+ $vonage.VonageErrorTypeJS.valueOf = valueOf_3;
81164
81150
  defineProp($vonage.VonageErrorTypeJS, 'CS_ERROR', VonageErrorTypeJS_CS_ERROR_getInstance);
81165
81151
  defineProp($vonage.VonageErrorTypeJS, 'NETWORK_ERROR', VonageErrorTypeJS_NETWORK_ERROR_getInstance);
81166
81152
  defineProp($vonage.VonageErrorTypeJS, 'SESSION_ERROR', VonageErrorTypeJS_SESSION_ERROR_getInstance);
@@ -81176,16 +81162,16 @@
81176
81162
  var $vonage = _.vonage || (_.vonage = {});
81177
81163
  defineProp($vonage, 'DEFAULT_REGION', get_DEFAULT_REGION);
81178
81164
  $vonage.CoreClientConfigRegionJS = CoreClientConfigRegionJS;
81179
- $vonage.CoreClientConfigRegionJS.values = values_4;
81180
- $vonage.CoreClientConfigRegionJS.valueOf = valueOf_5;
81165
+ $vonage.CoreClientConfigRegionJS.values = values_3;
81166
+ $vonage.CoreClientConfigRegionJS.valueOf = valueOf_4;
81181
81167
  defineProp($vonage.CoreClientConfigRegionJS, 'AP', CoreClientConfigRegionJS_AP_getInstance);
81182
81168
  defineProp($vonage.CoreClientConfigRegionJS, 'EU', CoreClientConfigRegionJS_EU_getInstance);
81183
81169
  defineProp($vonage.CoreClientConfigRegionJS, 'US', CoreClientConfigRegionJS_US_getInstance);
81184
81170
  $vonage.CoreClientConfigJS = CoreClientConfigJS;
81185
81171
  $vonage.TopicJS = TopicJS;
81186
81172
  $vonage.Topics = Topics;
81187
- $vonage.Topics.values = values_5;
81188
- $vonage.Topics.valueOf = valueOf_6;
81173
+ $vonage.Topics.values = values_4;
81174
+ $vonage.Topics.valueOf = valueOf_5;
81189
81175
  defineProp($vonage.Topics, 'HTTP', Topics_HTTP_getInstance);
81190
81176
  defineProp($vonage.Topics, 'WS', Topics_WS_getInstance);
81191
81177
  defineProp($vonage.Topics, 'MEDIA', Topics_MEDIA_getInstance);
@@ -81195,8 +81181,8 @@
81195
81181
  defineProp($vonage.Topics, 'DEFAULT', Topics_DEFAULT_getInstance);
81196
81182
  $vonage.createVonageLoggerJS = createVonageLoggerJS;
81197
81183
  $vonage.LoggingLevelJS = LoggingLevelJS;
81198
- $vonage.LoggingLevelJS.values = values_6;
81199
- $vonage.LoggingLevelJS.valueOf = valueOf_7;
81184
+ $vonage.LoggingLevelJS.values = values_5;
81185
+ $vonage.LoggingLevelJS.valueOf = valueOf_6;
81200
81186
  defineProp($vonage.LoggingLevelJS, 'Verbose', LoggingLevelJS_Verbose_getInstance);
81201
81187
  defineProp($vonage.LoggingLevelJS, 'Debug', LoggingLevelJS_Debug_getInstance);
81202
81188
  defineProp($vonage.LoggingLevelJS, 'Info', LoggingLevelJS_Info_getInstance);
@@ -81206,30 +81192,15 @@
81206
81192
  defineProp($vonage, 'DEFAULT_LOGGING_LEVEL', get_DEFAULT_LOGGING_LEVEL);
81207
81193
  $vonage.setDefaultLoggingLevel = setDefaultLoggingLevel;
81208
81194
  $vonage.SessionErrorReasonJS = SessionErrorReasonJS;
81209
- $vonage.SessionErrorReasonJS.values = values_7;
81210
- $vonage.SessionErrorReasonJS.valueOf = valueOf_8;
81195
+ $vonage.SessionErrorReasonJS.values = values_6;
81196
+ $vonage.SessionErrorReasonJS.valueOf = valueOf_7;
81211
81197
  defineProp($vonage.SessionErrorReasonJS, 'EXPIRED_TOKEN', SessionErrorReasonJS_EXPIRED_TOKEN_getInstance);
81212
81198
  defineProp($vonage.SessionErrorReasonJS, 'TRANSPORT_CLOSED', SessionErrorReasonJS_TRANSPORT_CLOSED_getInstance);
81213
81199
  defineProp($vonage.SessionErrorReasonJS, 'PING_TIMEOUT', SessionErrorReasonJS_PING_TIMEOUT_getInstance);
81214
81200
  var $vonage = _.vonage || (_.vonage = {});
81215
- $vonage.LegStatusJS = LegStatusJS;
81216
- $vonage.LegStatusJS.values = values_8;
81217
- $vonage.LegStatusJS.valueOf = valueOf_9;
81218
- defineProp($vonage.LegStatusJS, 'RINGING', LegStatusJS_RINGING_getInstance);
81219
- defineProp($vonage.LegStatusJS, 'ANSWERED', LegStatusJS_ANSWERED_getInstance);
81220
- defineProp($vonage.LegStatusJS, 'COMPLETED', LegStatusJS_COMPLETED_getInstance);
81221
- $vonage.CallDisconnectReasonJS = CallDisconnectReasonJS;
81222
- $vonage.CallDisconnectReasonJS.values = values_9;
81223
- $vonage.CallDisconnectReasonJS.valueOf = valueOf_10;
81224
- defineProp($vonage.CallDisconnectReasonJS, 'networkChange', CallDisconnectReasonJS_NetworkChange_getInstance);
81225
- $vonage.HangupReasonJS = HangupReasonJS;
81226
- $vonage.HangupReasonJS.values = values_10;
81227
- $vonage.HangupReasonJS.valueOf = valueOf_11;
81228
- defineProp($vonage.HangupReasonJS, 'REMOTE_HANGUP', HangupReasonJS_REMOTE_HANGUP_getInstance);
81229
- defineProp($vonage.HangupReasonJS, 'REMOTE_REJECT', HangupReasonJS_REMOTE_REJECT_getInstance);
81230
- defineProp($vonage.HangupReasonJS, 'REMOTE_NO_ANSWER_TIMEOUT', HangupReasonJS_REMOTE_NO_ANSWER_TIMEOUT_getInstance);
81231
- defineProp($vonage.HangupReasonJS, 'LOCAL_HANGUP', HangupReasonJS_LOCAL_HANGUP_getInstance);
81232
- defineProp($vonage.HangupReasonJS, 'MEDIA_TIMEOUT', HangupReasonJS_MEDIA_TIMEOUT_getInstance);
81201
+ defineProp($vonage, 'LegStatusJSObject', LegStatusJSObject_getInstance);
81202
+ defineProp($vonage, 'CallDisconnectReasonJSObject', CallDisconnectReasonJSObject_getInstance);
81203
+ defineProp($vonage, 'HangupReasonJSObject', HangupReasonJSObject_getInstance);
81233
81204
  $vonage.VoiceInviteFromInfoJS = VoiceInviteFromInfoJS;
81234
81205
  var $vonage = _.vonage || (_.vonage = {});
81235
81206
  $vonage.HttpClientErrorJS = HttpClientErrorJS;
@@ -81241,13 +81212,7 @@
81241
81212
  defineProp($vonage, 'REASON_CLIENT_DISCONNECTED', get_REASON_CLIENT_DISCONNECTED);
81242
81213
  defineProp($vonage, 'REASON_CLIENT_NETWORK_ERROR', get_REASON_CLIENT_NETWORK_ERROR);
81243
81214
  defineProp($vonage, 'REASON_PING_TIMEOUT', get_REASON_PING_TIMEOUT);
81244
- $vonage.CancelReasonJS = CancelReasonJS;
81245
- $vonage.CancelReasonJS.values = values_11;
81246
- $vonage.CancelReasonJS.valueOf = valueOf_12;
81247
- defineProp($vonage.CancelReasonJS, 'RemoteCancel', CancelReasonJS_RemoteCancel_getInstance);
81248
- defineProp($vonage.CancelReasonJS, 'AnsweredElsewhere', CancelReasonJS_AnsweredElsewhere_getInstance);
81249
- defineProp($vonage.CancelReasonJS, 'RejectedElsewhere', CancelReasonJS_RejectedElsewhere_getInstance);
81250
- defineProp($vonage.CancelReasonJS, 'RemoteTimeout', CancelReasonJS_RemoteTimeout_getInstance);
81215
+ defineProp($vonage, 'CancelReasonJSObject', CancelReasonJSObject_getInstance);
81251
81216
  $vonage.RTCQualityJS = RTCQualityJS;
81252
81217
  $vonage.RTCStatsJS = RTCStatsJS;
81253
81218
  defineProp($vonage.RTCStatsJS, 'Companion', Companion_getInstance_1);
@@ -89830,13 +89795,30 @@
89830
89795
  */
89831
89796
  const Topics = clientsdkClientcore_jsExports.vonage.Topics;
89832
89797
  clientsdkClientcore_jsExports.vonage.TopicJS;
89833
- const LoggingLevel = clientsdkClientcore_jsExports.vonage.LoggingLevelJS;
89798
+ /**
89799
+ * The Client Logging Level.
89800
+ *
89801
+ * It can be set for the internal logger via {@link ClientInitConfigObject.loggingLevel}
89802
+ * as well as for a custom logger via {@link VonageLogger.minLogLevel}.
89803
+ *
89804
+ * @enum
89805
+ */
89806
+ const LoggingLevel = {
89807
+ Verbose: 'Verbose',
89808
+ Debug: 'Debug',
89809
+ Info: 'Info',
89810
+ Warn: 'Warn',
89811
+ Error: 'Error',
89812
+ Assert: 'Assert'
89813
+ };
89834
89814
  /**
89835
89815
  * @deprecated Use {@link ClientInitConfigObject.loggingLevel} instead.
89836
89816
  * @param level - The logging level to set.
89837
89817
  */
89838
89818
  const setDefaultLoggingLevel = (level) => {
89839
- clientsdkClientcore_jsExports.vonage.setDefaultLoggingLevel(level instanceof LoggingLevel ? level : LoggingLevel[level]);
89819
+ clientsdkClientcore_jsExports.vonage.setDefaultLoggingLevel(level instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
89820
+ ? level
89821
+ : clientsdkClientcore_jsExports.vonage.LoggingLevelJS[level]);
89840
89822
  };
89841
89823
  /**
89842
89824
  * @deprecated Use {@link ClientInitConfigObject.loggingLevel} instead.
@@ -89845,16 +89827,16 @@
89845
89827
  const setVonageClientLoggingLevel = setDefaultLoggingLevel;
89846
89828
  const convertLogger = (logger) => {
89847
89829
  var _a;
89848
- if (logger.minLogLevel instanceof LoggingLevel)
89830
+ if (logger.minLogLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS)
89849
89831
  return logger;
89850
89832
  return Object.assign(Object.assign({}, logger), { minLogLevel: logger.minLogLevel
89851
- ? LoggingLevel[logger.minLogLevel]
89833
+ ? clientsdkClientcore_jsExports.vonage.LoggingLevelJS[logger.minLogLevel]
89852
89834
  : undefined, topics: (_a = logger.topics) === null || _a === void 0 ? void 0 : _a.map((topic) => topic instanceof Topics ? topic : Topics[topic]) });
89853
89835
  };
89854
- const createVonageLogger = (name, onLog, minLogLevel, topics) => clientsdkClientcore_jsExports.vonage.createVonageLoggerJS(name, minLogLevel instanceof LoggingLevel
89836
+ const createVonageLogger = (name, onLog, minLogLevel, topics) => clientsdkClientcore_jsExports.vonage.createVonageLoggerJS(name, minLogLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
89855
89837
  ? minLogLevel
89856
89838
  : minLogLevel
89857
- ? LoggingLevel[minLogLevel]
89839
+ ? clientsdkClientcore_jsExports.vonage.LoggingLevelJS[minLogLevel]
89858
89840
  : undefined, topics === null || topics === void 0 ? void 0 : topics.map((topic) => (topic instanceof Topics ? topic : Topics[topic])), (level, topic, message) => onLog(level, topic, message));
89859
89841
 
89860
89842
  const ConfigRegion = clientsdkClientcore_jsExports.vonage.CoreClientConfigRegionJS;
@@ -89879,9 +89861,9 @@
89879
89861
  this.customLoggers = [];
89880
89862
  this.disableInternalLogger = false;
89881
89863
  this.loggingLevel =
89882
- loggingLevel instanceof LoggingLevel
89864
+ loggingLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
89883
89865
  ? loggingLevel
89884
- : LoggingLevel[loggingLevel];
89866
+ : clientsdkClientcore_jsExports.vonage.LoggingLevelJS[loggingLevel];
89885
89867
  this.region =
89886
89868
  region instanceof ConfigRegion ? region : ConfigRegion[region];
89887
89869
  if (customLoggers) {
@@ -89892,10 +89874,10 @@
89892
89874
  const convertInitConfig = (config) => {
89893
89875
  if (config instanceof ClientInitConfig)
89894
89876
  return config;
89895
- return Object.assign(Object.assign({}, config), { loggingLevel: config.loggingLevel instanceof LoggingLevel
89877
+ return Object.assign(Object.assign({}, config), { loggingLevel: config.loggingLevel instanceof clientsdkClientcore_jsExports.vonage.LoggingLevelJS
89896
89878
  ? config.loggingLevel
89897
89879
  : config.loggingLevel
89898
- ? LoggingLevel[config.loggingLevel]
89880
+ ? clientsdkClientcore_jsExports.vonage.LoggingLevelJS[config.loggingLevel]
89899
89881
  : null, region: config.region instanceof ConfigRegion
89900
89882
  ? config.region
89901
89883
  : config.region
@@ -89905,7 +89887,24 @@
89905
89887
  : null });
89906
89888
  };
89907
89889
 
89908
- const ChannelType = clientsdkClientcore_jsExports.vonage.ChannelTypeJS;
89890
+ /**
89891
+ * The type of a {@link MemberChannel}
89892
+ *
89893
+ * @enum
89894
+ */
89895
+ const ChannelType = {
89896
+ APP: 'APP',
89897
+ PHONE: 'PHONE',
89898
+ PSTN: 'PSTN',
89899
+ sip: 'sip',
89900
+ VBC: 'VBC',
89901
+ WEBSOCKET: 'WEBSOCKET',
89902
+ SMS: 'SMS',
89903
+ MMS: 'MMS',
89904
+ WHATSAPP: 'WHATSAPP',
89905
+ VIBER: 'VIBER',
89906
+ MESSENGER: 'MESSENGER'
89907
+ };
89909
89908
 
89910
89909
  const VonageError = clientsdkClientcore_jsExports.vonage.VonageErrorJS;
89911
89910
  const VonageErrorType = clientsdkClientcore_jsExports.vonage.VonageErrorTypeJS;
@@ -89954,6 +89953,54 @@
89954
89953
  */
89955
89954
  const none = () => new Option.None();
89956
89955
 
89956
+ /**
89957
+ * Hangup reasons for a call
89958
+ * @enum
89959
+ */
89960
+ const HangupReason = {
89961
+ REMOTE_HANGUP: 'REMOTE_HANGUP',
89962
+ REMOTE_REJECT: 'REMOTE_REJECT',
89963
+ REMOTE_NO_ANSWER_TIMEOUT: 'REMOTE_NO_ANSWER_TIMEOUT',
89964
+ LOCAL_HANGUP: 'LOCAL_HANGUP',
89965
+ MEDIA_TIMEOUT: 'MEDIA_TIMEOUT'
89966
+ };
89967
+ /**
89968
+ * Leg status for a call
89969
+ * @enum
89970
+ */
89971
+ const LegStatus = {
89972
+ RINGING: 'RINGING',
89973
+ ANSWERED: 'ANSWERED',
89974
+ COMPLETED: 'COMPLETED'
89975
+ };
89976
+ /**
89977
+ * Call disconnect reasons
89978
+ * @enum
89979
+ */
89980
+ const CallDisconnectReason = {
89981
+ networkChange: 'networkChange'
89982
+ };
89983
+ /**
89984
+ * Call Invite cancel reasons
89985
+ * @enum
89986
+ */
89987
+ const CancelReason = {
89988
+ RemoteCancel: 'RemoteCancel',
89989
+ RejectedElsewhere: 'RejectedElsewhere',
89990
+ RemoteTimeout: 'RemoteTimeout',
89991
+ AnsweredElsewhere: 'AnsweredElsewhere'
89992
+ };
89993
+ /**
89994
+ * Voice Channel Types
89995
+ * @enum
89996
+ */
89997
+ const VoiceChannelType = {
89998
+ app: 'app',
89999
+ phone: 'phone',
90000
+ sip: 'sip',
90001
+ websocket: 'websocket'
90002
+ };
90003
+
89957
90004
  const isKotlinType = (type, value) => value instanceof type;
89958
90005
  // converts a js enum value to a kotlin enum value
89959
90006
  // e.g. jsEnumToVonageObject(vonage.PresentingOrderJS, 'asc') => vonage.PresentingOrderJS.Asc
@@ -89971,11 +90018,7 @@
89971
90018
  return enumVal;
89972
90019
  };
89973
90020
 
89974
- const CancelReason = clientsdkClientcore_jsExports.vonage.CancelReasonJS;
89975
- const HangupReason = clientsdkClientcore_jsExports.vonage.HangupReasonJS;
89976
90021
  const SessionErrorReason = clientsdkClientcore_jsExports.vonage.SessionErrorReasonJS;
89977
- const LegStatus = clientsdkClientcore_jsExports.vonage.LegStatusJS;
89978
- const CallDisconnectReason = clientsdkClientcore_jsExports.vonage.CallDisconnectReasonJS;
89979
90022
  /**
89980
90023
  * VonageClient is the main entry point for the Vonage Client SDK.
89981
90024
  *
@@ -90742,26 +90785,6 @@
90742
90785
  return yield _super.sendMessageSeenEvent.call(this, id, conversationId);
90743
90786
  });
90744
90787
  }
90745
- /**
90746
- * Get a Member of a Conversation
90747
- *
90748
- * @example
90749
- * [[include: snippet_GetConversationMember.txt]]
90750
- *
90751
- * @group Chat
90752
- * @beta
90753
- * @param cid - the Conversation's id
90754
- * @param mid - the Member's id
90755
- * @returns the `Member`
90756
- */
90757
- getConversationMember(cid, mid) {
90758
- const _super = Object.create(null, {
90759
- getConversationMember: { get: () => super.getConversationMember }
90760
- });
90761
- return __awaiter(this, void 0, void 0, function* () {
90762
- return (yield _super.getConversationMember.call(this, cid, mid));
90763
- });
90764
- }
90765
90788
  }
90766
90789
 
90767
90790
  exports.CSErrorCodes = CSErrorCodes;
@@ -90780,6 +90803,7 @@
90780
90803
  exports.SessionErrorCodes = SessionErrorCodes;
90781
90804
  exports.SessionErrorReason = SessionErrorReason;
90782
90805
  exports.Topics = Topics;
90806
+ exports.VoiceChannelType = VoiceChannelType;
90783
90807
  exports.VonageClient = VonageClient;
90784
90808
  exports.VonageError = VonageError;
90785
90809
  exports.VonageErrorType = VonageErrorType;