@vonage/client-sdk 1.1.0-alpha.3 → 1.1.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40456,17 +40456,40 @@ function requireClientsdkClientcore () {
40456
40456
  return true;
40457
40457
  };
40458
40458
  TimeoutAction.$metadata$ = classMeta('TimeoutAction', [Actionable]);
40459
- function Mute(id) {
40459
+ function MediaDisable(id) {
40460
40460
  this.j29_1 = id;
40461
40461
  }
40462
- Mute.prototype.a1l = function () {
40462
+ MediaDisable.prototype.a1l = function () {
40463
40463
  return this.j29_1;
40464
40464
  };
40465
+ MediaDisable.prototype.toString = function () {
40466
+ return 'MediaDisable(id=' + this.j29_1 + ')';
40467
+ };
40468
+ MediaDisable.prototype.hashCode = function () {
40469
+ return getStringHashCode(this.j29_1);
40470
+ };
40471
+ MediaDisable.prototype.equals = function (other) {
40472
+ if (this === other)
40473
+ return true;
40474
+ if (!(other instanceof MediaDisable))
40475
+ return false;
40476
+ var tmp0_other_with_cast = other instanceof MediaDisable ? other : THROW_CCE();
40477
+ if (!(this.j29_1 === tmp0_other_with_cast.j29_1))
40478
+ return false;
40479
+ return true;
40480
+ };
40481
+ MediaDisable.$metadata$ = classMeta('MediaDisable', [MediaEvent]);
40482
+ function Mute(id) {
40483
+ this.k29_1 = id;
40484
+ }
40485
+ Mute.prototype.a1l = function () {
40486
+ return this.k29_1;
40487
+ };
40465
40488
  Mute.prototype.toString = function () {
40466
- return 'Mute(id=' + this.j29_1 + ')';
40489
+ return 'Mute(id=' + this.k29_1 + ')';
40467
40490
  };
40468
40491
  Mute.prototype.hashCode = function () {
40469
- return getStringHashCode(this.j29_1);
40492
+ return getStringHashCode(this.k29_1);
40470
40493
  };
40471
40494
  Mute.prototype.equals = function (other) {
40472
40495
  if (this === other)
@@ -40474,22 +40497,22 @@ function requireClientsdkClientcore () {
40474
40497
  if (!(other instanceof Mute))
40475
40498
  return false;
40476
40499
  var tmp0_other_with_cast = other instanceof Mute ? other : THROW_CCE();
40477
- if (!(this.j29_1 === tmp0_other_with_cast.j29_1))
40500
+ if (!(this.k29_1 === tmp0_other_with_cast.k29_1))
40478
40501
  return false;
40479
40502
  return true;
40480
40503
  };
40481
40504
  Mute.$metadata$ = classMeta('Mute', [MediaEvent]);
40482
40505
  function Unmute(id) {
40483
- this.k29_1 = id;
40506
+ this.l29_1 = id;
40484
40507
  }
40485
40508
  Unmute.prototype.a1l = function () {
40486
- return this.k29_1;
40509
+ return this.l29_1;
40487
40510
  };
40488
40511
  Unmute.prototype.toString = function () {
40489
- return 'Unmute(id=' + this.k29_1 + ')';
40512
+ return 'Unmute(id=' + this.l29_1 + ')';
40490
40513
  };
40491
40514
  Unmute.prototype.hashCode = function () {
40492
- return getStringHashCode(this.k29_1);
40515
+ return getStringHashCode(this.l29_1);
40493
40516
  };
40494
40517
  Unmute.prototype.equals = function (other) {
40495
40518
  if (this === other)
@@ -40497,22 +40520,22 @@ function requireClientsdkClientcore () {
40497
40520
  if (!(other instanceof Unmute))
40498
40521
  return false;
40499
40522
  var tmp0_other_with_cast = other instanceof Unmute ? other : THROW_CCE();
40500
- if (!(this.k29_1 === tmp0_other_with_cast.k29_1))
40523
+ if (!(this.l29_1 === tmp0_other_with_cast.l29_1))
40501
40524
  return false;
40502
40525
  return true;
40503
40526
  };
40504
40527
  Unmute.$metadata$ = classMeta('Unmute', [MediaEvent]);
40505
40528
  function EnableEarmuff(id) {
40506
- this.l29_1 = id;
40529
+ this.m29_1 = id;
40507
40530
  }
40508
40531
  EnableEarmuff.prototype.a1l = function () {
40509
- return this.l29_1;
40532
+ return this.m29_1;
40510
40533
  };
40511
40534
  EnableEarmuff.prototype.toString = function () {
40512
- return 'EnableEarmuff(id=' + this.l29_1 + ')';
40535
+ return 'EnableEarmuff(id=' + this.m29_1 + ')';
40513
40536
  };
40514
40537
  EnableEarmuff.prototype.hashCode = function () {
40515
- return getStringHashCode(this.l29_1);
40538
+ return getStringHashCode(this.m29_1);
40516
40539
  };
40517
40540
  EnableEarmuff.prototype.equals = function (other) {
40518
40541
  if (this === other)
@@ -40520,22 +40543,22 @@ function requireClientsdkClientcore () {
40520
40543
  if (!(other instanceof EnableEarmuff))
40521
40544
  return false;
40522
40545
  var tmp0_other_with_cast = other instanceof EnableEarmuff ? other : THROW_CCE();
40523
- if (!(this.l29_1 === tmp0_other_with_cast.l29_1))
40546
+ if (!(this.m29_1 === tmp0_other_with_cast.m29_1))
40524
40547
  return false;
40525
40548
  return true;
40526
40549
  };
40527
40550
  EnableEarmuff.$metadata$ = classMeta('EnableEarmuff', [MediaEvent]);
40528
40551
  function DisableEarmuff(id) {
40529
- this.m29_1 = id;
40552
+ this.n29_1 = id;
40530
40553
  }
40531
40554
  DisableEarmuff.prototype.a1l = function () {
40532
- return this.m29_1;
40555
+ return this.n29_1;
40533
40556
  };
40534
40557
  DisableEarmuff.prototype.toString = function () {
40535
- return 'DisableEarmuff(id=' + this.m29_1 + ')';
40558
+ return 'DisableEarmuff(id=' + this.n29_1 + ')';
40536
40559
  };
40537
40560
  DisableEarmuff.prototype.hashCode = function () {
40538
- return getStringHashCode(this.m29_1);
40561
+ return getStringHashCode(this.n29_1);
40539
40562
  };
40540
40563
  DisableEarmuff.prototype.equals = function (other) {
40541
40564
  if (this === other)
@@ -40543,34 +40566,11 @@ function requireClientsdkClientcore () {
40543
40566
  if (!(other instanceof DisableEarmuff))
40544
40567
  return false;
40545
40568
  var tmp0_other_with_cast = other instanceof DisableEarmuff ? other : THROW_CCE();
40546
- if (!(this.m29_1 === tmp0_other_with_cast.m29_1))
40547
- return false;
40548
- return true;
40549
- };
40550
- DisableEarmuff.$metadata$ = classMeta('DisableEarmuff', [MediaEvent]);
40551
- function MediaDisable(id) {
40552
- this.n29_1 = id;
40553
- }
40554
- MediaDisable.prototype.a1l = function () {
40555
- return this.n29_1;
40556
- };
40557
- MediaDisable.prototype.toString = function () {
40558
- return 'MediaDisable(id=' + this.n29_1 + ')';
40559
- };
40560
- MediaDisable.prototype.hashCode = function () {
40561
- return getStringHashCode(this.n29_1);
40562
- };
40563
- MediaDisable.prototype.equals = function (other) {
40564
- if (this === other)
40565
- return true;
40566
- if (!(other instanceof MediaDisable))
40567
- return false;
40568
- var tmp0_other_with_cast = other instanceof MediaDisable ? other : THROW_CCE();
40569
40569
  if (!(this.n29_1 === tmp0_other_with_cast.n29_1))
40570
40570
  return false;
40571
40571
  return true;
40572
40572
  };
40573
- MediaDisable.$metadata$ = classMeta('MediaDisable', [MediaEvent]);
40573
+ DisableEarmuff.$metadata$ = classMeta('DisableEarmuff', [MediaEvent]);
40574
40574
  function MediaConnectionStatusUpdate(id, status) {
40575
40575
  this.o29_1 = id;
40576
40576
  this.p29_1 = status;
@@ -47263,37 +47263,33 @@ function requireClientsdkClientcore () {
47263
47263
  Unit_getInstance();
47264
47264
  break;
47265
47265
  case 5:
47266
- // Inline function 'kotlin.also' call
47267
- $callback(Companion_getInstance_107().e2g(Exception_init_$Create$_0('Media Timeout')), null);
47268
- // Inline function 'kotlin.contracts.contract' call
47269
- // Inline function 'com.vonage.clientcore.core.api.VoiceAPIImpl.serverCall.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
47270
- var tmp0_safe_receiver_0 = $cancel._v;
47271
- if (tmp0_safe_receiver_0 == null)
47266
+ var tmp4_safe_receiver = $cancel._v;
47267
+ if (tmp4_safe_receiver == null)
47272
47268
  ;
47273
47269
  else
47274
- tmp0_safe_receiver_0();
47275
-
47270
+ tmp4_safe_receiver();
47271
+ $callback(Companion_getInstance_107().e2g(Exception_init_$Create$_0('Media Timeout')), null);
47276
47272
  this$0.r2p_1.c1d(Action_init_$Create$(new CallCleanup($legId)));
47277
47273
  Unit_getInstance();
47278
47274
  break;
47279
47275
  case 6:
47280
47276
  case 4:
47281
47277
  // Inline function 'co.touchlab.kermit.Logger.w' call
47282
- var tmp1_w = this$0.t2p_1;
47283
- if (tmp1_w.g1a_1.p1a().g4(Severity_Warn_getInstance()) <= 0) {
47278
+ var tmp0_w = this$0.t2p_1;
47279
+ if (tmp0_w.g1a_1.p1a().g4(Severity_Warn_getInstance()) <= 0) {
47284
47280
  var tmp_2 = Severity_Warn_getInstance();
47285
- var tmp_3 = tmp1_w.f1a();
47286
- var tmp$ret$1;
47281
+ var tmp_3 = tmp0_w.f1a();
47282
+ var tmp$ret$0;
47287
47283
  // Inline function 'com.vonage.clientcore.core.api.VoiceAPIImpl.serverCall.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
47288
- tmp$ret$1 = 'Unexpected Media Connection Transition during setup';
47289
- tmp1_w.o1a(tmp_2, tmp_3, null, tmp$ret$1);
47284
+ tmp$ret$0 = 'Unexpected Media Connection Transition during setup';
47285
+ tmp0_w.o1a(tmp_2, tmp_3, null, tmp$ret$0);
47290
47286
  }
47291
47287
 
47292
- var tmp4_safe_receiver = $cancel._v;
47293
- if (tmp4_safe_receiver == null)
47288
+ var tmp5_safe_receiver = $cancel._v;
47289
+ if (tmp5_safe_receiver == null)
47294
47290
  ;
47295
47291
  else
47296
- tmp4_safe_receiver();
47292
+ tmp5_safe_receiver();
47297
47293
  this$0.r2p_1.c1d(Action_init_$Create$(new CallCleanup($legId)));
47298
47294
  Unit_getInstance();
47299
47295
  break;
@@ -48124,6 +48120,7 @@ function requireClientsdkClientcore () {
48124
48120
  callback(Companion_getInstance_107().e2g(InternalError_NoCallFound_getInstance()));
48125
48121
  return Unit_getInstance();
48126
48122
  }
48123
+ this.r2p_1.c1d(Action_init_$Create$(new MediaDisable(callId)));
48127
48124
  var callMemberShipState = call.k2p_1.s1();
48128
48125
  if (callMemberShipState instanceof Joined) {
48129
48126
  var tmp = new MemberKickRequest(callMemberShipState.o2p_1, callMemberShipState.p2p_1, reasonText, reasonCode);
@@ -52996,13 +52993,13 @@ function requireClientsdkClientcore () {
52996
52993
  $media.r2v(action.p1d_1.m2r_1);
52997
52994
  } else {
52998
52995
  if (tmp0_subject instanceof MediaDisable) {
52999
- $media.r2v(action.p1d_1.n29_1);
52996
+ $media.r2v(action.p1d_1.j29_1);
53000
52997
  } else {
53001
52998
  if (tmp0_subject instanceof Mute) {
53002
- $media.s2v(action.p1d_1.j29_1);
52999
+ $media.s2v(action.p1d_1.k29_1);
53003
53000
  } else {
53004
53001
  if (tmp0_subject instanceof Unmute) {
53005
- $media.t2v(action.p1d_1.k29_1);
53002
+ $media.t2v(action.p1d_1.l29_1);
53006
53003
  }
53007
53004
  }
53008
53005
  }
@@ -57054,11 +57051,11 @@ function requireClientsdkClientcore () {
57054
57051
  return true;
57055
57052
  };
57056
57053
  Resolved.$metadata$ = classMeta('Resolved', undefined, undefined, undefined, undefined, StateTransition.prototype);
57057
- function Failed(error, value) {
57054
+ function Failed(error, value, requestId) {
57058
57055
  StateTransition.call(this);
57059
57056
  this.v2o_1 = error;
57060
57057
  this.w2o_1 = value;
57061
- this.x2o_1 = null;
57058
+ this.x2o_1 = requestId;
57062
57059
  }
57063
57060
  Failed.prototype.s1 = function () {
57064
57061
  return this.w2o_1;
@@ -57067,11 +57064,12 @@ function requireClientsdkClientcore () {
57067
57064
  return this.x2o_1;
57068
57065
  };
57069
57066
  Failed.prototype.toString = function () {
57070
- return 'Failed(error=' + this.v2o_1 + ', value=' + this.w2o_1 + ')';
57067
+ return 'Failed(error=' + this.v2o_1 + ', value=' + this.w2o_1 + ', requestId=' + this.x2o_1 + ')';
57071
57068
  };
57072
57069
  Failed.prototype.hashCode = function () {
57073
57070
  var result = this.v2o_1.hashCode();
57074
57071
  result = imul(result, 31) + (this.w2o_1 == null ? 0 : hashCode(this.w2o_1)) | 0;
57072
+ result = imul(result, 31) + (this.x2o_1 == null ? 0 : getStringHashCode(this.x2o_1)) | 0;
57075
57073
  return result;
57076
57074
  };
57077
57075
  Failed.prototype.equals = function (other) {
@@ -57084,6 +57082,8 @@ function requireClientsdkClientcore () {
57084
57082
  return false;
57085
57083
  if (!equals(this.w2o_1, tmp0_other_with_cast.w2o_1))
57086
57084
  return false;
57085
+ if (!(this.x2o_1 == tmp0_other_with_cast.x2o_1))
57086
+ return false;
57087
57087
  return true;
57088
57088
  };
57089
57089
  Failed.$metadata$ = classMeta('Failed', undefined, undefined, undefined, undefined, StateTransition.prototype);
@@ -57100,7 +57100,7 @@ function requireClientsdkClientcore () {
57100
57100
  var tmp0_subject = _this__u8e3s4;
57101
57101
  var tmp;
57102
57102
  if (tmp0_subject instanceof Pending) {
57103
- tmp = new Failed(new Pair(_this__u8e3s4.w33_1, err), _this__u8e3s4.s1());
57103
+ tmp = new Failed(new Pair(_this__u8e3s4.w33_1, err), _this__u8e3s4.s1(), _this__u8e3s4.x33_1);
57104
57104
  } else {
57105
57105
  if (tmp0_subject instanceof Resolved) {
57106
57106
  tmp = _this__u8e3s4;
@@ -57473,7 +57473,7 @@ function requireClientsdkClientcore () {
57473
57473
  //endregion
57474
57474
  //region block: pre-declaration
57475
57475
  function setConfig(config) {
57476
- this.core.t1b(new SetConfig(config.j3c_1, config.k3c_1, config.i3c_1, config.m3c_1, config.h3c_1.k2h_1, config.h3c_1.l2h_1));
57476
+ this.core.t1b(new SetConfig(config.l3c_1, config.m3c_1, config.k3c_1, config.o3c_1, config.j3c_1.k2h_1, config.j3c_1.l2h_1));
57477
57477
  }
57478
57478
  function createSession(token, sessionId) {
57479
57479
  return new Promise(ICoreClientJS$createSession$lambda(this, token, sessionId));
@@ -59843,9 +59843,10 @@ function requireClientsdkClientcore () {
59843
59843
  return SessionErrorCodesJS_instance;
59844
59844
  }
59845
59845
  function VonageErrorJS(vonageError) {
59846
- extendThrowable(this, vonageError.p2j_1, vonageError.q2j_1);
59846
+ extendThrowable(this, vonageError.p2j_1, void 1);
59847
59847
  this.z3b_1 = valueOf_3(vonageError.n2j_1.d4_1);
59848
59848
  this.a3c_1 = vonageError.o2j_1;
59849
+ this.b3c_1 = vonageError.q2j_1;
59849
59850
  captureStack(this, VonageErrorJS);
59850
59851
  }
59851
59852
  VonageErrorJS.prototype.v2q = function () {
@@ -59854,6 +59855,9 @@ function requireClientsdkClientcore () {
59854
59855
  VonageErrorJS.prototype.f1e = function () {
59855
59856
  return this.a3c_1;
59856
59857
  };
59858
+ VonageErrorJS.prototype.c3c = function () {
59859
+ return this.b3c_1;
59860
+ };
59857
59861
  VonageErrorJS.$metadata$ = classMeta('VonageErrorJS', undefined, undefined, undefined, undefined, Error.prototype);
59858
59862
  Object.defineProperty(VonageErrorJS.prototype, 'type', {
59859
59863
  configurable: true,
@@ -59863,6 +59867,10 @@ function requireClientsdkClientcore () {
59863
59867
  configurable: true,
59864
59868
  get: VonageErrorJS.prototype.f1e
59865
59869
  });
59870
+ Object.defineProperty(VonageErrorJS.prototype, 'kmpCause', {
59871
+ configurable: true,
59872
+ get: VonageErrorJS.prototype.c3c
59873
+ });
59866
59874
  var VonageErrorTypeJS_CS_ERROR_instance;
59867
59875
  var VonageErrorTypeJS_HTTP_CLIENT_ERROR_instance;
59868
59876
  var VonageErrorTypeJS_SESSION_ERROR_instance;
@@ -60476,15 +60484,15 @@ function requireClientsdkClientcore () {
60476
60484
  }
60477
60485
  function CoreClientConfigRegionJS(name, ordinal, coreRegion) {
60478
60486
  Enum.call(this, name, ordinal);
60479
- this.f3c_1 = coreRegion;
60487
+ this.h3c_1 = coreRegion;
60480
60488
  }
60481
- CoreClientConfigRegionJS.prototype.g3c = function () {
60482
- return this.f3c_1;
60489
+ CoreClientConfigRegionJS.prototype.i3c = function () {
60490
+ return this.h3c_1;
60483
60491
  };
60484
60492
  CoreClientConfigRegionJS.$metadata$ = classMeta('CoreClientConfigRegionJS', undefined, undefined, undefined, undefined, Enum.prototype);
60485
60493
  Object.defineProperty(CoreClientConfigRegionJS.prototype, 'coreRegion', {
60486
60494
  configurable: true,
60487
- get: CoreClientConfigRegionJS.prototype.g3c
60495
+ get: CoreClientConfigRegionJS.prototype.i3c
60488
60496
  });
60489
60497
  Object.defineProperty(CoreClientConfigRegionJS.prototype, 'name', {
60490
60498
  configurable: true,
@@ -60495,72 +60503,72 @@ function requireClientsdkClientcore () {
60495
60503
  get: CoreClientConfigRegionJS.prototype.pe
60496
60504
  });
60497
60505
  function CoreClientConfigJS(region) {
60498
- this.h3c_1 = Companion_getInstance().d2h(region.f3c_1, 'js', 'Generic JS Navigator', true);
60499
- this.i3c_1 = this.h3c_1.e2h_1;
60500
- this.j3c_1 = this.h3c_1.f2h_1;
60501
- this.k3c_1 = this.h3c_1.g2h_1;
60502
- this.l3c_1 = this.h3c_1.h2h_1;
60503
- this.m3c_1 = this.h3c_1.j2h_1;
60506
+ this.j3c_1 = Companion_getInstance().d2h(region.h3c_1, 'js', 'Generic JS Navigator', true);
60507
+ this.k3c_1 = this.j3c_1.e2h_1;
60508
+ this.l3c_1 = this.j3c_1.f2h_1;
60509
+ this.m3c_1 = this.j3c_1.g2h_1;
60510
+ this.n3c_1 = this.j3c_1.h2h_1;
60511
+ this.o3c_1 = this.j3c_1.j2h_1;
60504
60512
  }
60505
- CoreClientConfigJS.prototype.n3c = function () {
60506
- return this.h3c_1;
60507
- };
60508
- CoreClientConfigJS.prototype.o3c = function (_set____db54di) {
60509
- this.i3c_1 = _set____db54di;
60510
- };
60511
60513
  CoreClientConfigJS.prototype.p3c = function () {
60512
- return this.i3c_1;
60514
+ return this.j3c_1;
60513
60515
  };
60514
60516
  CoreClientConfigJS.prototype.q3c = function (_set____db54di) {
60515
- this.j3c_1 = _set____db54di;
60517
+ this.k3c_1 = _set____db54di;
60516
60518
  };
60517
60519
  CoreClientConfigJS.prototype.r3c = function () {
60518
- return this.j3c_1;
60520
+ return this.k3c_1;
60519
60521
  };
60520
60522
  CoreClientConfigJS.prototype.s3c = function (_set____db54di) {
60521
- this.k3c_1 = _set____db54di;
60523
+ this.l3c_1 = _set____db54di;
60522
60524
  };
60523
60525
  CoreClientConfigJS.prototype.t3c = function () {
60524
- return this.k3c_1;
60526
+ return this.l3c_1;
60525
60527
  };
60526
60528
  CoreClientConfigJS.prototype.u3c = function (_set____db54di) {
60527
- this.l3c_1 = _set____db54di;
60529
+ this.m3c_1 = _set____db54di;
60528
60530
  };
60529
60531
  CoreClientConfigJS.prototype.v3c = function () {
60530
- return this.l3c_1;
60532
+ return this.m3c_1;
60531
60533
  };
60532
60534
  CoreClientConfigJS.prototype.w3c = function (_set____db54di) {
60533
- this.m3c_1 = _set____db54di;
60535
+ this.n3c_1 = _set____db54di;
60534
60536
  };
60535
60537
  CoreClientConfigJS.prototype.x3c = function () {
60536
- return this.m3c_1;
60538
+ return this.n3c_1;
60539
+ };
60540
+ CoreClientConfigJS.prototype.y3c = function (_set____db54di) {
60541
+ this.o3c_1 = _set____db54di;
60542
+ };
60543
+ CoreClientConfigJS.prototype.z3c = function () {
60544
+ return this.o3c_1;
60537
60545
  };
60538
60546
  CoreClientConfigJS.$metadata$ = classMeta('CoreClientConfigJS');
60539
60547
  Object.defineProperty(CoreClientConfigJS.prototype, 'apiUrl', {
60540
- configurable: true,
60541
- get: CoreClientConfigJS.prototype.p3c,
60542
- set: CoreClientConfigJS.prototype.o3c
60543
- });
60544
- Object.defineProperty(CoreClientConfigJS.prototype, 'websocketUrl', {
60545
60548
  configurable: true,
60546
60549
  get: CoreClientConfigJS.prototype.r3c,
60547
60550
  set: CoreClientConfigJS.prototype.q3c
60548
60551
  });
60549
- Object.defineProperty(CoreClientConfigJS.prototype, 'websocketPath', {
60552
+ Object.defineProperty(CoreClientConfigJS.prototype, 'websocketUrl', {
60550
60553
  configurable: true,
60551
60554
  get: CoreClientConfigJS.prototype.t3c,
60552
60555
  set: CoreClientConfigJS.prototype.s3c
60553
60556
  });
60554
- Object.defineProperty(CoreClientConfigJS.prototype, 'autoMediaReoffer', {
60557
+ Object.defineProperty(CoreClientConfigJS.prototype, 'websocketPath', {
60555
60558
  configurable: true,
60556
60559
  get: CoreClientConfigJS.prototype.v3c,
60557
60560
  set: CoreClientConfigJS.prototype.u3c
60558
60561
  });
60559
- Object.defineProperty(CoreClientConfigJS.prototype, 'enableWebsocketInvites', {
60562
+ Object.defineProperty(CoreClientConfigJS.prototype, 'autoMediaReoffer', {
60560
60563
  configurable: true,
60561
60564
  get: CoreClientConfigJS.prototype.x3c,
60562
60565
  set: CoreClientConfigJS.prototype.w3c
60563
60566
  });
60567
+ Object.defineProperty(CoreClientConfigJS.prototype, 'enableWebsocketInvites', {
60568
+ configurable: true,
60569
+ get: CoreClientConfigJS.prototype.z3c,
60570
+ set: CoreClientConfigJS.prototype.y3c
60571
+ });
60564
60572
  var LoggingLevelJS_Verbose_instance;
60565
60573
  var LoggingLevelJS_Debug_instance;
60566
60574
  var LoggingLevelJS_Info_instance;
@@ -60604,10 +60612,10 @@ function requireClientsdkClientcore () {
60604
60612
  }
60605
60613
  function LoggingLevelJS(name, ordinal, sev) {
60606
60614
  Enum.call(this, name, ordinal);
60607
- this.a3d_1 = sev;
60615
+ this.c3d_1 = sev;
60608
60616
  }
60609
60617
  LoggingLevelJS.prototype.s2g = function () {
60610
- return this.a3d_1;
60618
+ return this.c3d_1;
60611
60619
  };
60612
60620
  LoggingLevelJS.$metadata$ = classMeta('LoggingLevelJS', [ILoggingLevel], undefined, undefined, undefined, Enum.prototype);
60613
60621
  Object.defineProperty(LoggingLevelJS.prototype, 'name', {
@@ -60639,7 +60647,7 @@ function requireClientsdkClientcore () {
60639
60647
  inductionVariable = inductionVariable + 1 | 0;
60640
60648
  var tmp$ret$0;
60641
60649
  // Inline function 'vonage.Companion.getSessionErrorReason.<anonymous>' call
60642
- tmp$ret$0 = element.d3d_1.equals(reason);
60650
+ tmp$ret$0 = element.f3d_1.equals(reason);
60643
60651
  if (tmp$ret$0) {
60644
60652
  tmp$ret$1 = element;
60645
60653
  break $l$block;
@@ -60687,10 +60695,10 @@ function requireClientsdkClientcore () {
60687
60695
  }
60688
60696
  function SessionErrorReasonJS(name, ordinal, reason) {
60689
60697
  Enum.call(this, name, ordinal);
60690
- this.d3d_1 = reason;
60698
+ this.f3d_1 = reason;
60691
60699
  }
60692
60700
  SessionErrorReasonJS.prototype.k2a = function () {
60693
- return this.d3d_1;
60701
+ return this.f3d_1;
60694
60702
  };
60695
60703
  SessionErrorReasonJS.$metadata$ = classMeta('SessionErrorReasonJS', undefined, undefined, undefined, undefined, Enum.prototype);
60696
60704
  Object.defineProperty(SessionErrorReasonJS.prototype, 'reason', {
@@ -61242,40 +61250,40 @@ function requireClientsdkClientcore () {
61242
61250
  }
61243
61251
  IVoiceClientJS.$metadata$ = interfaceMeta('IVoiceClientJS', [ICoreClientJS]);
61244
61252
  function VoiceInviteFromInfoJS(id, type) {
61245
- this.i3d_1 = id;
61246
- this.j3d_1 = type;
61253
+ this.k3d_1 = id;
61254
+ this.l3d_1 = type;
61247
61255
  }
61248
61256
  VoiceInviteFromInfoJS.prototype.a1l = function () {
61249
- return this.i3d_1;
61257
+ return this.k3d_1;
61250
61258
  };
61251
61259
  VoiceInviteFromInfoJS.prototype.v2q = function () {
61252
- return this.j3d_1;
61260
+ return this.l3d_1;
61253
61261
  };
61254
61262
  VoiceInviteFromInfoJS.prototype.component1 = function () {
61255
- return this.i3d_1;
61263
+ return this.k3d_1;
61256
61264
  };
61257
61265
  VoiceInviteFromInfoJS.prototype.component2 = function () {
61258
- return this.j3d_1;
61266
+ return this.l3d_1;
61259
61267
  };
61260
61268
  VoiceInviteFromInfoJS.prototype.copy = function (id, type) {
61261
- return this.k3d(id === void 1 ? this.i3d_1 : id, type === void 1 ? this.j3d_1 : type);
61269
+ return this.m3d(id === void 1 ? this.k3d_1 : id, type === void 1 ? this.l3d_1 : type);
61262
61270
  };
61263
- VoiceInviteFromInfoJS.prototype.k3d = function (id, type) {
61271
+ VoiceInviteFromInfoJS.prototype.m3d = function (id, type) {
61264
61272
  return new VoiceInviteFromInfoJS(id, type);
61265
61273
  };
61266
- VoiceInviteFromInfoJS.prototype.l3d = function (id, type, $mask0, $handler) {
61274
+ VoiceInviteFromInfoJS.prototype.n3d = function (id, type, $mask0, $handler) {
61267
61275
  if (!(($mask0 & 1) === 0))
61268
- id = this.i3d_1;
61276
+ id = this.k3d_1;
61269
61277
  if (!(($mask0 & 2) === 0))
61270
- type = this.j3d_1;
61271
- return this.k3d(id, type);
61278
+ type = this.l3d_1;
61279
+ return this.m3d(id, type);
61272
61280
  };
61273
61281
  VoiceInviteFromInfoJS.prototype.toString = function () {
61274
- return 'VoiceInviteFromInfoJS(id=' + this.i3d_1 + ', type=' + this.j3d_1 + ')';
61282
+ return 'VoiceInviteFromInfoJS(id=' + this.k3d_1 + ', type=' + this.l3d_1 + ')';
61275
61283
  };
61276
61284
  VoiceInviteFromInfoJS.prototype.hashCode = function () {
61277
- var result = this.i3d_1 == null ? 0 : getStringHashCode(this.i3d_1);
61278
- result = imul(result, 31) + getStringHashCode(this.j3d_1) | 0;
61285
+ var result = this.k3d_1 == null ? 0 : getStringHashCode(this.k3d_1);
61286
+ result = imul(result, 31) + getStringHashCode(this.l3d_1) | 0;
61279
61287
  return result;
61280
61288
  };
61281
61289
  VoiceInviteFromInfoJS.prototype.equals = function (other) {
@@ -61284,9 +61292,9 @@ function requireClientsdkClientcore () {
61284
61292
  if (!(other instanceof VoiceInviteFromInfoJS))
61285
61293
  return false;
61286
61294
  var tmp0_other_with_cast = other instanceof VoiceInviteFromInfoJS ? other : THROW_CCE();
61287
- if (!(this.i3d_1 == tmp0_other_with_cast.i3d_1))
61295
+ if (!(this.k3d_1 == tmp0_other_with_cast.k3d_1))
61288
61296
  return false;
61289
- if (!(this.j3d_1 === tmp0_other_with_cast.j3d_1))
61297
+ if (!(this.l3d_1 === tmp0_other_with_cast.l3d_1))
61290
61298
  return false;
61291
61299
  return true;
61292
61300
  };
@@ -61333,64 +61341,64 @@ function requireClientsdkClientcore () {
61333
61341
  var responseBody_0 = responseBody === void 1 ? null : responseBody;
61334
61342
  var cause_0 = cause === void 1 ? null : cause;
61335
61343
  extendThrowable(this, void 1, void 1);
61336
- this.m3d_1 = message_0;
61337
- this.n3d_1 = responseCode_0;
61338
- this.o3d_1 = responseBody_0;
61339
- this.p3d_1 = cause_0;
61344
+ this.o3d_1 = message_0;
61345
+ this.p3d_1 = responseCode_0;
61346
+ this.q3d_1 = responseBody_0;
61347
+ this.r3d_1 = cause_0;
61340
61348
  captureStack(this, HttpClientErrorJS);
61341
61349
  }
61342
61350
  HttpClientErrorJS.prototype.g1 = function () {
61343
- return this.m3d_1;
61351
+ return this.o3d_1;
61344
61352
  };
61345
- HttpClientErrorJS.prototype.q3d = function () {
61346
- return this.n3d_1;
61353
+ HttpClientErrorJS.prototype.s3d = function () {
61354
+ return this.p3d_1;
61347
61355
  };
61348
- HttpClientErrorJS.prototype.r3d = function () {
61349
- return this.o3d_1;
61356
+ HttpClientErrorJS.prototype.t3d = function () {
61357
+ return this.q3d_1;
61350
61358
  };
61351
61359
  HttpClientErrorJS.prototype.h1 = function () {
61352
- return this.p3d_1;
61360
+ return this.r3d_1;
61353
61361
  };
61354
- HttpClientErrorJS.prototype.s3d = function () {
61355
- return new HTTPClientError(this.m3d_1, this.n3d_1, this.o3d_1, this.p3d_1);
61362
+ HttpClientErrorJS.prototype.u3d = function () {
61363
+ return new HTTPClientError(this.o3d_1, this.p3d_1, this.q3d_1, this.r3d_1);
61356
61364
  };
61357
61365
  HttpClientErrorJS.prototype.component1 = function () {
61358
- return this.m3d_1;
61366
+ return this.o3d_1;
61359
61367
  };
61360
61368
  HttpClientErrorJS.prototype.component2 = function () {
61361
- return this.n3d_1;
61369
+ return this.p3d_1;
61362
61370
  };
61363
61371
  HttpClientErrorJS.prototype.component3 = function () {
61364
- return this.o3d_1;
61372
+ return this.q3d_1;
61365
61373
  };
61366
61374
  HttpClientErrorJS.prototype.component4 = function () {
61367
- return this.p3d_1;
61375
+ return this.r3d_1;
61368
61376
  };
61369
61377
  HttpClientErrorJS.prototype.copy = function (message, responseCode, responseBody, cause) {
61370
- return this.t3d(message === void 1 ? this.m3d_1 : message, responseCode === void 1 ? this.n3d_1 : responseCode, responseBody === void 1 ? this.o3d_1 : responseBody, cause === void 1 ? this.p3d_1 : cause);
61378
+ return this.v3d(message === void 1 ? this.o3d_1 : message, responseCode === void 1 ? this.p3d_1 : responseCode, responseBody === void 1 ? this.q3d_1 : responseBody, cause === void 1 ? this.r3d_1 : cause);
61371
61379
  };
61372
- HttpClientErrorJS.prototype.t3d = function (message, responseCode, responseBody, cause) {
61380
+ HttpClientErrorJS.prototype.v3d = function (message, responseCode, responseBody, cause) {
61373
61381
  return new HttpClientErrorJS(message, responseCode, responseBody, cause);
61374
61382
  };
61375
- HttpClientErrorJS.prototype.u3d = function (message, responseCode, responseBody, cause, $mask0, $handler) {
61383
+ HttpClientErrorJS.prototype.w3d = function (message, responseCode, responseBody, cause, $mask0, $handler) {
61376
61384
  if (!(($mask0 & 1) === 0))
61377
- message = this.m3d_1;
61385
+ message = this.o3d_1;
61378
61386
  if (!(($mask0 & 2) === 0))
61379
- responseCode = this.n3d_1;
61387
+ responseCode = this.p3d_1;
61380
61388
  if (!(($mask0 & 4) === 0))
61381
- responseBody = this.o3d_1;
61389
+ responseBody = this.q3d_1;
61382
61390
  if (!(($mask0 & 8) === 0))
61383
- cause = this.p3d_1;
61384
- return this.t3d(message, responseCode, responseBody, cause);
61391
+ cause = this.r3d_1;
61392
+ return this.v3d(message, responseCode, responseBody, cause);
61385
61393
  };
61386
61394
  HttpClientErrorJS.prototype.toString = function () {
61387
- return 'HttpClientErrorJS(message=' + this.m3d_1 + ', responseCode=' + this.n3d_1 + ', responseBody=' + this.o3d_1 + ', cause=' + this.p3d_1 + ')';
61395
+ return 'HttpClientErrorJS(message=' + this.o3d_1 + ', responseCode=' + this.p3d_1 + ', responseBody=' + this.q3d_1 + ', cause=' + this.r3d_1 + ')';
61388
61396
  };
61389
61397
  HttpClientErrorJS.prototype.hashCode = function () {
61390
- var result = this.m3d_1 == null ? 0 : getStringHashCode(this.m3d_1);
61391
- result = imul(result, 31) + (this.n3d_1 == null ? 0 : this.n3d_1) | 0;
61392
- result = imul(result, 31) + (this.o3d_1 == null ? 0 : getStringHashCode(this.o3d_1)) | 0;
61393
- result = imul(result, 31) + (this.p3d_1 == null ? 0 : hashCode(this.p3d_1)) | 0;
61398
+ var result = this.o3d_1 == null ? 0 : getStringHashCode(this.o3d_1);
61399
+ result = imul(result, 31) + (this.p3d_1 == null ? 0 : this.p3d_1) | 0;
61400
+ result = imul(result, 31) + (this.q3d_1 == null ? 0 : getStringHashCode(this.q3d_1)) | 0;
61401
+ result = imul(result, 31) + (this.r3d_1 == null ? 0 : hashCode(this.r3d_1)) | 0;
61394
61402
  return result;
61395
61403
  };
61396
61404
  HttpClientErrorJS.prototype.equals = function (other) {
@@ -61399,13 +61407,13 @@ function requireClientsdkClientcore () {
61399
61407
  if (!(other instanceof HttpClientErrorJS))
61400
61408
  return false;
61401
61409
  var tmp0_other_with_cast = other instanceof HttpClientErrorJS ? other : THROW_CCE();
61402
- if (!(this.m3d_1 == tmp0_other_with_cast.m3d_1))
61410
+ if (!(this.o3d_1 == tmp0_other_with_cast.o3d_1))
61403
61411
  return false;
61404
- if (!(this.n3d_1 == tmp0_other_with_cast.n3d_1))
61412
+ if (!(this.p3d_1 == tmp0_other_with_cast.p3d_1))
61405
61413
  return false;
61406
- if (!(this.o3d_1 == tmp0_other_with_cast.o3d_1))
61414
+ if (!(this.q3d_1 == tmp0_other_with_cast.q3d_1))
61407
61415
  return false;
61408
- if (!equals(this.p3d_1, tmp0_other_with_cast.p3d_1))
61416
+ if (!equals(this.r3d_1, tmp0_other_with_cast.r3d_1))
61409
61417
  return false;
61410
61418
  return true;
61411
61419
  };
@@ -61418,11 +61426,11 @@ function requireClientsdkClientcore () {
61418
61426
  });
61419
61427
  Object.defineProperty(HttpClientErrorJS.prototype, 'responseCode', {
61420
61428
  configurable: true,
61421
- get: HttpClientErrorJS.prototype.q3d
61429
+ get: HttpClientErrorJS.prototype.s3d
61422
61430
  });
61423
61431
  Object.defineProperty(HttpClientErrorJS.prototype, 'responseBody', {
61424
61432
  configurable: true,
61425
- get: HttpClientErrorJS.prototype.r3d
61433
+ get: HttpClientErrorJS.prototype.t3d
61426
61434
  });
61427
61435
  Object.defineProperty(HttpClientErrorJS.prototype, 'cause', {
61428
61436
  configurable: true,
@@ -61432,7 +61440,7 @@ function requireClientsdkClientcore () {
61432
61440
  });
61433
61441
  Object.defineProperty(HttpClientErrorJS.prototype, 'coreError', {
61434
61442
  configurable: true,
61435
- get: HttpClientErrorJS.prototype.s3d
61443
+ get: HttpClientErrorJS.prototype.u3d
61436
61444
  });
61437
61445
  function get_SOCKET_CONNECTED() {
61438
61446
  return SOCKET_CONNECTED;
@@ -61497,10 +61505,10 @@ function requireClientsdkClientcore () {
61497
61505
  }
61498
61506
  function CancelReasonJS(name, ordinal, reason) {
61499
61507
  Enum.call(this, name, ordinal);
61500
- this.x3d_1 = reason;
61508
+ this.z3d_1 = reason;
61501
61509
  }
61502
61510
  CancelReasonJS.prototype.k2a = function () {
61503
- return this.x3d_1;
61511
+ return this.z3d_1;
61504
61512
  };
61505
61513
  CancelReasonJS.$metadata$ = classMeta('CancelReasonJS', undefined, undefined, undefined, undefined, Enum.prototype);
61506
61514
  Object.defineProperty(CancelReasonJS.prototype, 'reason', {
@@ -61516,23 +61524,17 @@ function requireClientsdkClientcore () {
61516
61524
  get: CancelReasonJS.prototype.pe
61517
61525
  });
61518
61526
  function RTCQualityJS(callQuality) {
61519
- this.y3d_1 = callQuality;
61520
- this.z3d_1 = this.y3d_1.f2u_1;
61521
- this.a3e_1 = this.y3d_1.g2u_1;
61522
- this.b3e_1 = this.y3d_1.h2u_1;
61523
- this.c3e_1 = this.y3d_1.i2u_1;
61524
- this.d3e_1 = this.y3d_1.j2u_1;
61525
- this.e3e_1 = this.y3d_1.k2u_1;
61526
- this.f3e_1 = this.y3d_1.l2u_1;
61527
- this.g3e_1 = this.y3d_1.m2u_1;
61528
- this.h3e_1 = this.y3d_1.n2u_1;
61527
+ this.a3e_1 = callQuality;
61528
+ this.b3e_1 = this.a3e_1.f2u_1;
61529
+ this.c3e_1 = this.a3e_1.g2u_1;
61530
+ this.d3e_1 = this.a3e_1.h2u_1;
61531
+ this.e3e_1 = this.a3e_1.i2u_1;
61532
+ this.f3e_1 = this.a3e_1.j2u_1;
61533
+ this.g3e_1 = this.a3e_1.k2u_1;
61534
+ this.h3e_1 = this.a3e_1.l2u_1;
61535
+ this.i3e_1 = this.a3e_1.m2u_1;
61536
+ this.j3e_1 = this.a3e_1.n2u_1;
61529
61537
  }
61530
- RTCQualityJS.prototype.i3e = function () {
61531
- return this.z3d_1;
61532
- };
61533
- RTCQualityJS.prototype.j3e = function () {
61534
- return this.a3e_1;
61535
- };
61536
61538
  RTCQualityJS.prototype.k3e = function () {
61537
61539
  return this.b3e_1;
61538
61540
  };
@@ -61554,22 +61556,28 @@ function requireClientsdkClientcore () {
61554
61556
  RTCQualityJS.prototype.q3e = function () {
61555
61557
  return this.h3e_1;
61556
61558
  };
61559
+ RTCQualityJS.prototype.r3e = function () {
61560
+ return this.i3e_1;
61561
+ };
61562
+ RTCQualityJS.prototype.s3e = function () {
61563
+ return this.j3e_1;
61564
+ };
61557
61565
  RTCQualityJS.prototype.copy = function (callQuality) {
61558
- return this.r3e(callQuality === void 1 ? this.y3d_1 : callQuality);
61566
+ return this.t3e(callQuality === void 1 ? this.a3e_1 : callQuality);
61559
61567
  };
61560
- RTCQualityJS.prototype.r3e = function (callQuality) {
61568
+ RTCQualityJS.prototype.t3e = function (callQuality) {
61561
61569
  return new RTCQualityJS(callQuality);
61562
61570
  };
61563
- RTCQualityJS.prototype.s3e = function (callQuality, $mask0, $handler) {
61571
+ RTCQualityJS.prototype.u3e = function (callQuality, $mask0, $handler) {
61564
61572
  if (!(($mask0 & 1) === 0))
61565
- callQuality = this.y3d_1;
61566
- return this.r3e(callQuality);
61573
+ callQuality = this.a3e_1;
61574
+ return this.t3e(callQuality);
61567
61575
  };
61568
61576
  RTCQualityJS.prototype.toString = function () {
61569
- return 'RTCQualityJS(callQuality=' + this.y3d_1 + ')';
61577
+ return 'RTCQualityJS(callQuality=' + this.a3e_1 + ')';
61570
61578
  };
61571
61579
  RTCQualityJS.prototype.hashCode = function () {
61572
- return this.y3d_1.hashCode();
61580
+ return this.a3e_1.hashCode();
61573
61581
  };
61574
61582
  RTCQualityJS.prototype.equals = function (other) {
61575
61583
  if (this === other)
@@ -61577,65 +61585,59 @@ function requireClientsdkClientcore () {
61577
61585
  if (!(other instanceof RTCQualityJS))
61578
61586
  return false;
61579
61587
  var tmp0_other_with_cast = other instanceof RTCQualityJS ? other : THROW_CCE();
61580
- if (!this.y3d_1.equals(tmp0_other_with_cast.y3d_1))
61588
+ if (!this.a3e_1.equals(tmp0_other_with_cast.a3e_1))
61581
61589
  return false;
61582
61590
  return true;
61583
61591
  };
61584
61592
  RTCQualityJS.$metadata$ = classMeta('RTCQualityJS');
61585
61593
  Object.defineProperty(RTCQualityJS.prototype, 'mos_score', {
61586
61594
  configurable: true,
61587
- get: RTCQualityJS.prototype.i3e
61595
+ get: RTCQualityJS.prototype.k3e
61588
61596
  });
61589
61597
  Object.defineProperty(RTCQualityJS.prototype, 'quality_percentage', {
61590
61598
  configurable: true,
61591
- get: RTCQualityJS.prototype.j3e
61599
+ get: RTCQualityJS.prototype.l3e
61592
61600
  });
61593
61601
  Object.defineProperty(RTCQualityJS.prototype, 'jitter_min_var', {
61594
61602
  configurable: true,
61595
- get: RTCQualityJS.prototype.k3e
61603
+ get: RTCQualityJS.prototype.m3e
61596
61604
  });
61597
61605
  Object.defineProperty(RTCQualityJS.prototype, 'jitter_max_var', {
61598
61606
  configurable: true,
61599
- get: RTCQualityJS.prototype.l3e
61607
+ get: RTCQualityJS.prototype.n3e
61600
61608
  });
61601
61609
  Object.defineProperty(RTCQualityJS.prototype, 'jitter_loss_rate', {
61602
61610
  configurable: true,
61603
- get: RTCQualityJS.prototype.m3e
61611
+ get: RTCQualityJS.prototype.o3e
61604
61612
  });
61605
61613
  Object.defineProperty(RTCQualityJS.prototype, 'jitter_burst_rate', {
61606
61614
  configurable: true,
61607
- get: RTCQualityJS.prototype.n3e
61615
+ get: RTCQualityJS.prototype.p3e
61608
61616
  });
61609
61617
  Object.defineProperty(RTCQualityJS.prototype, 'flaw_total', {
61610
61618
  configurable: true,
61611
- get: RTCQualityJS.prototype.o3e
61619
+ get: RTCQualityJS.prototype.q3e
61612
61620
  });
61613
61621
  Object.defineProperty(RTCQualityJS.prototype, 'packet_cnt', {
61614
61622
  configurable: true,
61615
- get: RTCQualityJS.prototype.p3e
61623
+ get: RTCQualityJS.prototype.r3e
61616
61624
  });
61617
61625
  Object.defineProperty(RTCQualityJS.prototype, 'packet_loss_perc', {
61618
61626
  configurable: true,
61619
- get: RTCQualityJS.prototype.q3e
61627
+ get: RTCQualityJS.prototype.s3e
61620
61628
  });
61621
61629
  function RTCStatsJS(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId) {
61622
- this.t3e_1 = audioRecvPackets;
61623
- this.u3e_1 = audioRecvPacketsLost;
61624
- this.v3e_1 = audioRecvBytes;
61625
- this.w3e_1 = audioRecvJitter;
61626
- this.x3e_1 = audioSentPackets;
61627
- this.y3e_1 = audioSentBytes;
61628
- this.z3e_1 = audioSentPacketsLost;
61629
- this.a3f_1 = audioRtt;
61630
- this.b3f_1 = audioSentJitter;
61631
- this.c3f_1 = legId;
61630
+ this.v3e_1 = audioRecvPackets;
61631
+ this.w3e_1 = audioRecvPacketsLost;
61632
+ this.x3e_1 = audioRecvBytes;
61633
+ this.y3e_1 = audioRecvJitter;
61634
+ this.z3e_1 = audioSentPackets;
61635
+ this.a3f_1 = audioSentBytes;
61636
+ this.b3f_1 = audioSentPacketsLost;
61637
+ this.c3f_1 = audioRtt;
61638
+ this.d3f_1 = audioSentJitter;
61639
+ this.e3f_1 = legId;
61632
61640
  }
61633
- RTCStatsJS.prototype.d3f = function () {
61634
- return this.t3e_1;
61635
- };
61636
- RTCStatsJS.prototype.e3f = function () {
61637
- return this.u3e_1;
61638
- };
61639
61641
  RTCStatsJS.prototype.f3f = function () {
61640
61642
  return this.v3e_1;
61641
61643
  };
@@ -61657,82 +61659,88 @@ function requireClientsdkClientcore () {
61657
61659
  RTCStatsJS.prototype.l3f = function () {
61658
61660
  return this.b3f_1;
61659
61661
  };
61660
- RTCStatsJS.prototype.x1f = function () {
61662
+ RTCStatsJS.prototype.m3f = function () {
61661
61663
  return this.c3f_1;
61662
61664
  };
61665
+ RTCStatsJS.prototype.n3f = function () {
61666
+ return this.d3f_1;
61667
+ };
61668
+ RTCStatsJS.prototype.x1f = function () {
61669
+ return this.e3f_1;
61670
+ };
61663
61671
  RTCStatsJS.prototype.component1 = function () {
61664
- return this.t3e_1;
61672
+ return this.v3e_1;
61665
61673
  };
61666
61674
  RTCStatsJS.prototype.component2 = function () {
61667
- return this.u3e_1;
61675
+ return this.w3e_1;
61668
61676
  };
61669
61677
  RTCStatsJS.prototype.component3 = function () {
61670
- return this.v3e_1;
61678
+ return this.x3e_1;
61671
61679
  };
61672
61680
  RTCStatsJS.prototype.component4 = function () {
61673
- return this.w3e_1;
61681
+ return this.y3e_1;
61674
61682
  };
61675
61683
  RTCStatsJS.prototype.component5 = function () {
61676
- return this.x3e_1;
61684
+ return this.z3e_1;
61677
61685
  };
61678
61686
  RTCStatsJS.prototype.component6 = function () {
61679
- return this.y3e_1;
61687
+ return this.a3f_1;
61680
61688
  };
61681
61689
  RTCStatsJS.prototype.component7 = function () {
61682
- return this.z3e_1;
61690
+ return this.b3f_1;
61683
61691
  };
61684
61692
  RTCStatsJS.prototype.component8 = function () {
61685
- return this.a3f_1;
61693
+ return this.c3f_1;
61686
61694
  };
61687
61695
  RTCStatsJS.prototype.component9 = function () {
61688
- return this.b3f_1;
61696
+ return this.d3f_1;
61689
61697
  };
61690
61698
  RTCStatsJS.prototype.component10 = function () {
61691
- return this.c3f_1;
61699
+ return this.e3f_1;
61692
61700
  };
61693
61701
  RTCStatsJS.prototype.copy = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId) {
61694
- return this.m3f(audioRecvPackets === void 1 ? this.t3e_1 : audioRecvPackets, audioRecvPacketsLost === void 1 ? this.u3e_1 : audioRecvPacketsLost, audioRecvBytes === void 1 ? this.v3e_1 : audioRecvBytes, audioRecvJitter === void 1 ? this.w3e_1 : audioRecvJitter, audioSentPackets === void 1 ? this.x3e_1 : audioSentPackets, audioSentBytes === void 1 ? this.y3e_1 : audioSentBytes, audioSentPacketsLost === void 1 ? this.z3e_1 : audioSentPacketsLost, audioRtt === void 1 ? this.a3f_1 : audioRtt, audioSentJitter === void 1 ? this.b3f_1 : audioSentJitter, legId === void 1 ? this.c3f_1 : legId);
61702
+ return this.o3f(audioRecvPackets === void 1 ? this.v3e_1 : audioRecvPackets, audioRecvPacketsLost === void 1 ? this.w3e_1 : audioRecvPacketsLost, audioRecvBytes === void 1 ? this.x3e_1 : audioRecvBytes, audioRecvJitter === void 1 ? this.y3e_1 : audioRecvJitter, audioSentPackets === void 1 ? this.z3e_1 : audioSentPackets, audioSentBytes === void 1 ? this.a3f_1 : audioSentBytes, audioSentPacketsLost === void 1 ? this.b3f_1 : audioSentPacketsLost, audioRtt === void 1 ? this.c3f_1 : audioRtt, audioSentJitter === void 1 ? this.d3f_1 : audioSentJitter, legId === void 1 ? this.e3f_1 : legId);
61695
61703
  };
61696
- RTCStatsJS.prototype.m3f = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId) {
61704
+ RTCStatsJS.prototype.o3f = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId) {
61697
61705
  return new RTCStatsJS(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId);
61698
61706
  };
61699
- RTCStatsJS.prototype.n3f = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId, $mask0, $handler) {
61707
+ RTCStatsJS.prototype.p3f = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId, $mask0, $handler) {
61700
61708
  if (!(($mask0 & 1) === 0))
61701
- audioRecvPackets = this.t3e_1;
61709
+ audioRecvPackets = this.v3e_1;
61702
61710
  if (!(($mask0 & 2) === 0))
61703
- audioRecvPacketsLost = this.u3e_1;
61711
+ audioRecvPacketsLost = this.w3e_1;
61704
61712
  if (!(($mask0 & 4) === 0))
61705
- audioRecvBytes = this.v3e_1;
61713
+ audioRecvBytes = this.x3e_1;
61706
61714
  if (!(($mask0 & 8) === 0))
61707
- audioRecvJitter = this.w3e_1;
61715
+ audioRecvJitter = this.y3e_1;
61708
61716
  if (!(($mask0 & 16) === 0))
61709
- audioSentPackets = this.x3e_1;
61717
+ audioSentPackets = this.z3e_1;
61710
61718
  if (!(($mask0 & 32) === 0))
61711
- audioSentBytes = this.y3e_1;
61719
+ audioSentBytes = this.a3f_1;
61712
61720
  if (!(($mask0 & 64) === 0))
61713
- audioSentPacketsLost = this.z3e_1;
61721
+ audioSentPacketsLost = this.b3f_1;
61714
61722
  if (!(($mask0 & 128) === 0))
61715
- audioRtt = this.a3f_1;
61723
+ audioRtt = this.c3f_1;
61716
61724
  if (!(($mask0 & 256) === 0))
61717
- audioSentJitter = this.b3f_1;
61725
+ audioSentJitter = this.d3f_1;
61718
61726
  if (!(($mask0 & 512) === 0))
61719
- legId = this.c3f_1;
61720
- return this.m3f(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId);
61727
+ legId = this.e3f_1;
61728
+ return this.o3f(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId);
61721
61729
  };
61722
61730
  RTCStatsJS.prototype.toString = function () {
61723
- return 'RTCStatsJS(audioRecvPackets=' + toString(this.t3e_1) + ', audioRecvPacketsLost=' + toString(this.u3e_1) + ', audioRecvBytes=' + toString(this.v3e_1) + ', audioRecvJitter=' + toString(this.w3e_1) + ', audioSentPackets=' + toString(this.x3e_1) + ', audioSentBytes=' + toString(this.y3e_1) + ', audioSentPacketsLost=' + toString(this.z3e_1) + ', audioRtt=' + toString(this.a3f_1) + ', audioSentJitter=' + toString(this.b3f_1) + ', legId=' + this.c3f_1 + ')';
61731
+ return 'RTCStatsJS(audioRecvPackets=' + toString(this.v3e_1) + ', audioRecvPacketsLost=' + toString(this.w3e_1) + ', audioRecvBytes=' + toString(this.x3e_1) + ', audioRecvJitter=' + toString(this.y3e_1) + ', audioSentPackets=' + toString(this.z3e_1) + ', audioSentBytes=' + toString(this.a3f_1) + ', audioSentPacketsLost=' + toString(this.b3f_1) + ', audioRtt=' + toString(this.c3f_1) + ', audioSentJitter=' + toString(this.d3f_1) + ', legId=' + this.e3f_1 + ')';
61724
61732
  };
61725
61733
  RTCStatsJS.prototype.hashCode = function () {
61726
- var result = this.t3e_1 == null ? 0 : hashCode(this.t3e_1);
61727
- result = imul(result, 31) + (this.u3e_1 == null ? 0 : hashCode(this.u3e_1)) | 0;
61728
- result = imul(result, 31) + (this.v3e_1 == null ? 0 : hashCode(this.v3e_1)) | 0;
61734
+ var result = this.v3e_1 == null ? 0 : hashCode(this.v3e_1);
61729
61735
  result = imul(result, 31) + (this.w3e_1 == null ? 0 : hashCode(this.w3e_1)) | 0;
61730
61736
  result = imul(result, 31) + (this.x3e_1 == null ? 0 : hashCode(this.x3e_1)) | 0;
61731
61737
  result = imul(result, 31) + (this.y3e_1 == null ? 0 : hashCode(this.y3e_1)) | 0;
61732
61738
  result = imul(result, 31) + (this.z3e_1 == null ? 0 : hashCode(this.z3e_1)) | 0;
61733
61739
  result = imul(result, 31) + (this.a3f_1 == null ? 0 : hashCode(this.a3f_1)) | 0;
61734
61740
  result = imul(result, 31) + (this.b3f_1 == null ? 0 : hashCode(this.b3f_1)) | 0;
61735
- result = imul(result, 31) + getStringHashCode(this.c3f_1) | 0;
61741
+ result = imul(result, 31) + (this.c3f_1 == null ? 0 : hashCode(this.c3f_1)) | 0;
61742
+ result = imul(result, 31) + (this.d3f_1 == null ? 0 : hashCode(this.d3f_1)) | 0;
61743
+ result = imul(result, 31) + getStringHashCode(this.e3f_1) | 0;
61736
61744
  return result;
61737
61745
  };
61738
61746
  RTCStatsJS.prototype.equals = function (other) {
@@ -61741,10 +61749,6 @@ function requireClientsdkClientcore () {
61741
61749
  if (!(other instanceof RTCStatsJS))
61742
61750
  return false;
61743
61751
  var tmp0_other_with_cast = other instanceof RTCStatsJS ? other : THROW_CCE();
61744
- if (!equals(this.t3e_1, tmp0_other_with_cast.t3e_1))
61745
- return false;
61746
- if (!equals(this.u3e_1, tmp0_other_with_cast.u3e_1))
61747
- return false;
61748
61752
  if (!equals(this.v3e_1, tmp0_other_with_cast.v3e_1))
61749
61753
  return false;
61750
61754
  if (!equals(this.w3e_1, tmp0_other_with_cast.w3e_1))
@@ -61759,46 +61763,50 @@ function requireClientsdkClientcore () {
61759
61763
  return false;
61760
61764
  if (!equals(this.b3f_1, tmp0_other_with_cast.b3f_1))
61761
61765
  return false;
61762
- if (!(this.c3f_1 === tmp0_other_with_cast.c3f_1))
61766
+ if (!equals(this.c3f_1, tmp0_other_with_cast.c3f_1))
61767
+ return false;
61768
+ if (!equals(this.d3f_1, tmp0_other_with_cast.d3f_1))
61769
+ return false;
61770
+ if (!(this.e3f_1 === tmp0_other_with_cast.e3f_1))
61763
61771
  return false;
61764
61772
  return true;
61765
61773
  };
61766
61774
  RTCStatsJS.$metadata$ = classMeta('RTCStatsJS');
61767
61775
  Object.defineProperty(RTCStatsJS.prototype, 'audioRecvPackets', {
61768
61776
  configurable: true,
61769
- get: RTCStatsJS.prototype.d3f
61777
+ get: RTCStatsJS.prototype.f3f
61770
61778
  });
61771
61779
  Object.defineProperty(RTCStatsJS.prototype, 'audioRecvPacketsLost', {
61772
61780
  configurable: true,
61773
- get: RTCStatsJS.prototype.e3f
61781
+ get: RTCStatsJS.prototype.g3f
61774
61782
  });
61775
61783
  Object.defineProperty(RTCStatsJS.prototype, 'audioRecvBytes', {
61776
61784
  configurable: true,
61777
- get: RTCStatsJS.prototype.f3f
61785
+ get: RTCStatsJS.prototype.h3f
61778
61786
  });
61779
61787
  Object.defineProperty(RTCStatsJS.prototype, 'audioRecvJitter', {
61780
61788
  configurable: true,
61781
- get: RTCStatsJS.prototype.g3f
61789
+ get: RTCStatsJS.prototype.i3f
61782
61790
  });
61783
61791
  Object.defineProperty(RTCStatsJS.prototype, 'audioSentPackets', {
61784
61792
  configurable: true,
61785
- get: RTCStatsJS.prototype.h3f
61793
+ get: RTCStatsJS.prototype.j3f
61786
61794
  });
61787
61795
  Object.defineProperty(RTCStatsJS.prototype, 'audioSentBytes', {
61788
61796
  configurable: true,
61789
- get: RTCStatsJS.prototype.i3f
61797
+ get: RTCStatsJS.prototype.k3f
61790
61798
  });
61791
61799
  Object.defineProperty(RTCStatsJS.prototype, 'audioSentPacketsLost', {
61792
61800
  configurable: true,
61793
- get: RTCStatsJS.prototype.j3f
61801
+ get: RTCStatsJS.prototype.l3f
61794
61802
  });
61795
61803
  Object.defineProperty(RTCStatsJS.prototype, 'audioRtt', {
61796
61804
  configurable: true,
61797
- get: RTCStatsJS.prototype.k3f
61805
+ get: RTCStatsJS.prototype.m3f
61798
61806
  });
61799
61807
  Object.defineProperty(RTCStatsJS.prototype, 'audioSentJitter', {
61800
61808
  configurable: true,
61801
- get: RTCStatsJS.prototype.l3f
61809
+ get: RTCStatsJS.prototype.n3f
61802
61810
  });
61803
61811
  Object.defineProperty(RTCStatsJS.prototype, 'legId', {
61804
61812
  configurable: true,
@@ -61836,7 +61844,7 @@ function requireClientsdkClientcore () {
61836
61844
  };
61837
61845
  }
61838
61846
  function HttpClientJSAdapter$1($js) {
61839
- this.o3f_1 = $js;
61847
+ this.q3f_1 = $js;
61840
61848
  }
61841
61849
  HttpClientJSAdapter$1.prototype.c2v = function (verb, url, headers, body, callback) {
61842
61850
  var tmp = verb.toString();
@@ -61848,7 +61856,7 @@ function requireClientsdkClientcore () {
61848
61856
  tmp$ret$0 = fromMap(JSON, headers);
61849
61857
  tmp$ret$1 = tmp$ret$0;
61850
61858
  var tmp_0 = tmp$ret$1;
61851
- this.o3f_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
61859
+ this.q3f_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
61852
61860
  };
61853
61861
  HttpClientJSAdapter$1.$metadata$ = classMeta(undefined, [HTTPClient]);
61854
61862
  function SocketClientJSAdapter$o$emit$lambda($callback) {
@@ -61872,14 +61880,14 @@ function requireClientsdkClientcore () {
61872
61880
  };
61873
61881
  }
61874
61882
  function SocketClientJSAdapter$adapter$1($js) {
61875
- this.q3f_1 = $js;
61876
- this.p3f_1 = null;
61883
+ this.s3f_1 = $js;
61884
+ this.r3f_1 = null;
61877
61885
  }
61878
61886
  SocketClientJSAdapter$adapter$1.prototype.f2v = function (_set____db54di) {
61879
- this.p3f_1 = _set____db54di;
61887
+ this.r3f_1 = _set____db54di;
61880
61888
  };
61881
- SocketClientJSAdapter$adapter$1.prototype.r3f = function () {
61882
- return this.p3f_1;
61889
+ SocketClientJSAdapter$adapter$1.prototype.t3f = function () {
61890
+ return this.r3f_1;
61883
61891
  };
61884
61892
  SocketClientJSAdapter$adapter$1.prototype.g2v = function (type, msg, callback) {
61885
61893
  var tmp0_safe_receiver = msg;
@@ -61897,26 +61905,26 @@ function requireClientsdkClientcore () {
61897
61905
  tmp = tmp$ret$1;
61898
61906
  }
61899
61907
  var tmp_0 = tmp;
61900
- this.q3f_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
61908
+ this.s3f_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
61901
61909
  };
61902
61910
  SocketClientJSAdapter$adapter$1.prototype.h2v = function (host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, session_id, query) {
61903
- this.q3f_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, query);
61911
+ this.s3f_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, query);
61904
61912
  };
61905
61913
  SocketClientJSAdapter$adapter$1.prototype.i2v = function () {
61906
- this.q3f_1.disconnect();
61914
+ this.s3f_1.disconnect();
61907
61915
  };
61908
61916
  SocketClientJSAdapter$adapter$1.prototype.j2v = function (token) {
61909
- this.q3f_1.setConnectParamsSocketConfig(token);
61917
+ this.s3f_1.setConnectParamsSocketConfig(token);
61910
61918
  };
61911
61919
  SocketClientJSAdapter$adapter$1.prototype.k2v = function (milliseconds, callback) {
61912
- this.q3f_1.startVerifyResponseTimer(milliseconds, callback);
61920
+ this.s3f_1.startVerifyResponseTimer(milliseconds, callback);
61913
61921
  };
61914
61922
  SocketClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [SocketClient]);
61915
61923
  function SocketClientJSAdapter$1($adapter) {
61916
- this.s3f_1 = $adapter;
61924
+ this.u3f_1 = $adapter;
61917
61925
  }
61918
61926
  SocketClientJSAdapter$1.prototype.didReceiveNewSocketEvent = function (type, body) {
61919
- var tmp0_safe_receiver = this.s3f_1.p3f_1;
61927
+ var tmp0_safe_receiver = this.u3f_1.r3f_1;
61920
61928
  if (tmp0_safe_receiver == null)
61921
61929
  ;
61922
61930
  else {
@@ -61949,35 +61957,35 @@ function requireClientsdkClientcore () {
61949
61957
  var tmp0_subject_0 = reason;
61950
61958
  switch (tmp0_subject_0) {
61951
61959
  case 'NXMCORE_REASON_SERVER_DISCONNECTED':
61952
- var tmp1_safe_receiver_0 = this.s3f_1.p3f_1;
61960
+ var tmp1_safe_receiver_0 = this.u3f_1.r3f_1;
61953
61961
  if (tmp1_safe_receiver_0 == null) ; else {
61954
61962
  tmp1_safe_receiver_0.e2y(tmp1_safe_receiver, SocketConnectionFailedReason_ServerDisconnected_getInstance());
61955
61963
  Unit_getInstance();
61956
61964
  }
61957
61965
  break;
61958
61966
  case 'NXMCORE_REASON_CLIENT_DISCONNECTED':
61959
- var tmp2_safe_receiver = this.s3f_1.p3f_1;
61967
+ var tmp2_safe_receiver = this.u3f_1.r3f_1;
61960
61968
  if (tmp2_safe_receiver == null) ; else {
61961
61969
  tmp2_safe_receiver.e2y(tmp1_safe_receiver, SocketConnectionFailedReason_ClientDisconnected_getInstance());
61962
61970
  Unit_getInstance();
61963
61971
  }
61964
61972
  break;
61965
61973
  case 'NXMCORE_CLIENT_NETWORK_ERROR':
61966
- var tmp3_safe_receiver = this.s3f_1.p3f_1;
61974
+ var tmp3_safe_receiver = this.u3f_1.r3f_1;
61967
61975
  if (tmp3_safe_receiver == null) ; else {
61968
61976
  tmp3_safe_receiver.e2y(tmp1_safe_receiver, SocketConnectionFailedReason_ClientNetworkError_getInstance());
61969
61977
  Unit_getInstance();
61970
61978
  }
61971
61979
  break;
61972
61980
  case 'NXMCORE_REASON_PING_TIMEOUT':
61973
- var tmp4_safe_receiver = this.s3f_1.p3f_1;
61981
+ var tmp4_safe_receiver = this.u3f_1.r3f_1;
61974
61982
  if (tmp4_safe_receiver == null) ; else {
61975
61983
  tmp4_safe_receiver.e2y(tmp1_safe_receiver, SocketConnectionFailedReason_PingTimeout_getInstance());
61976
61984
  Unit_getInstance();
61977
61985
  }
61978
61986
  break;
61979
61987
  default:
61980
- var tmp5_safe_receiver = this.s3f_1.p3f_1;
61988
+ var tmp5_safe_receiver = this.u3f_1.r3f_1;
61981
61989
  if (tmp5_safe_receiver == null) ; else {
61982
61990
  tmp5_safe_receiver.e2y(tmp1_safe_receiver, null);
61983
61991
  Unit_getInstance();
@@ -61988,43 +61996,43 @@ function requireClientsdkClientcore () {
61988
61996
  };
61989
61997
  SocketClientJSAdapter$1.$metadata$ = classMeta();
61990
61998
  function MediaClientJSAdapter$adapter$1($js) {
61991
- this.u3f_1 = $js;
61992
- this.t3f_1 = null;
61999
+ this.w3f_1 = $js;
62000
+ this.v3f_1 = null;
61993
62001
  }
61994
62002
  MediaClientJSAdapter$adapter$1.prototype.n2v = function (_set____db54di) {
61995
- this.t3f_1 = _set____db54di;
62003
+ this.v3f_1 = _set____db54di;
61996
62004
  };
61997
62005
  MediaClientJSAdapter$adapter$1.prototype.o2v = function (closure) {
61998
- this.u3f_1.enableMediaOutbound(closure);
62006
+ this.w3f_1.enableMediaOutbound(closure);
61999
62007
  };
62000
- MediaClientJSAdapter$adapter$1.prototype.v3f = function (closure, offerSDP, rtcId) {
62001
- this.u3f_1.enableMediaInbound(closure, offerSDP, rtcId);
62008
+ MediaClientJSAdapter$adapter$1.prototype.x3f = function (closure, offerSDP, rtcId) {
62009
+ this.w3f_1.enableMediaInbound(closure, offerSDP, rtcId);
62002
62010
  };
62003
62011
  MediaClientJSAdapter$adapter$1.prototype.p2v = function (closure, offerSDP, rtcId) {
62004
- return this.v3f(closure, offerSDP, rtcId);
62012
+ return this.x3f(closure, offerSDP, rtcId);
62005
62013
  };
62006
62014
  MediaClientJSAdapter$adapter$1.prototype.q2v = function (id, sdp) {
62007
- this.u3f_1.processAnswer(id, sdp);
62015
+ this.w3f_1.processAnswer(id, sdp);
62008
62016
  };
62009
62017
  MediaClientJSAdapter$adapter$1.prototype.r2v = function (id) {
62010
- this.u3f_1.disableMedia(id);
62018
+ this.w3f_1.disableMedia(id);
62011
62019
  };
62012
62020
  MediaClientJSAdapter$adapter$1.prototype.s2v = function (id) {
62013
- this.u3f_1.mute(id);
62021
+ this.w3f_1.mute(id);
62014
62022
  };
62015
62023
  MediaClientJSAdapter$adapter$1.prototype.t2v = function (id) {
62016
- this.u3f_1.unmute(id);
62024
+ this.w3f_1.unmute(id);
62017
62025
  };
62018
62026
  MediaClientJSAdapter$adapter$1.prototype.u2v = function (interval, mediaId) {
62019
- this.u3f_1.enableRtcStatsCollection(interval, mediaId);
62027
+ this.w3f_1.enableRtcStatsCollection(interval, mediaId);
62020
62028
  };
62021
62029
  MediaClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [MediaClient]);
62022
62030
  function MediaClientJSAdapter$1($adapter) {
62023
- this.w3f_1 = $adapter;
62031
+ this.y3f_1 = $adapter;
62024
62032
  }
62025
62033
  MediaClientJSAdapter$1.prototype.onRtcStats = function (rtcStats) {
62026
- var stats = new RTCStats(rtcStats.t3e_1, rtcStats.u3e_1, rtcStats.v3e_1, rtcStats.w3e_1, rtcStats.x3e_1, rtcStats.y3e_1, rtcStats.z3e_1, rtcStats.a3f_1, rtcStats.b3f_1, rtcStats.c3f_1);
62027
- var tmp0_safe_receiver = this.w3f_1.t3f_1;
62034
+ var stats = new RTCStats(rtcStats.v3e_1, rtcStats.w3e_1, rtcStats.x3e_1, rtcStats.y3e_1, rtcStats.z3e_1, rtcStats.a3f_1, rtcStats.b3f_1, rtcStats.c3f_1, rtcStats.d3f_1, rtcStats.e3f_1);
62035
+ var tmp0_safe_receiver = this.y3f_1.v3f_1;
62028
62036
  if (tmp0_safe_receiver == null)
62029
62037
  ;
62030
62038
  else {
@@ -62036,7 +62044,7 @@ function requireClientsdkClientcore () {
62036
62044
  switch (tmp0_subject) {
62037
62045
  case 'new':
62038
62046
  case 'checking':
62039
- var tmp1_safe_receiver = this.w3f_1.t3f_1;
62047
+ var tmp1_safe_receiver = this.y3f_1.v3f_1;
62040
62048
  if (tmp1_safe_receiver == null)
62041
62049
  ;
62042
62050
  else {
@@ -62044,7 +62052,7 @@ function requireClientsdkClientcore () {
62044
62052
  }
62045
62053
  break;
62046
62054
  case 'connecting':
62047
- var tmp2_safe_receiver = this.w3f_1.t3f_1;
62055
+ var tmp2_safe_receiver = this.y3f_1.v3f_1;
62048
62056
  if (tmp2_safe_receiver == null)
62049
62057
  ;
62050
62058
  else {
@@ -62052,7 +62060,7 @@ function requireClientsdkClientcore () {
62052
62060
  }
62053
62061
  break;
62054
62062
  case 'connected':
62055
- var tmp3_safe_receiver = this.w3f_1.t3f_1;
62063
+ var tmp3_safe_receiver = this.y3f_1.v3f_1;
62056
62064
  if (tmp3_safe_receiver == null)
62057
62065
  ;
62058
62066
  else {
@@ -62060,7 +62068,7 @@ function requireClientsdkClientcore () {
62060
62068
  }
62061
62069
  break;
62062
62070
  case 'disconnected':
62063
- var tmp4_safe_receiver = this.w3f_1.t3f_1;
62071
+ var tmp4_safe_receiver = this.y3f_1.v3f_1;
62064
62072
  if (tmp4_safe_receiver == null)
62065
62073
  ;
62066
62074
  else {
@@ -62068,7 +62076,7 @@ function requireClientsdkClientcore () {
62068
62076
  }
62069
62077
  break;
62070
62078
  case 'closed':
62071
- var tmp5_safe_receiver = this.w3f_1.t3f_1;
62079
+ var tmp5_safe_receiver = this.y3f_1.v3f_1;
62072
62080
  if (tmp5_safe_receiver == null)
62073
62081
  ;
62074
62082
  else {
@@ -62076,7 +62084,7 @@ function requireClientsdkClientcore () {
62076
62084
  }
62077
62085
  break;
62078
62086
  case 'failed':
62079
- var tmp6_safe_receiver = this.w3f_1.t3f_1;
62087
+ var tmp6_safe_receiver = this.y3f_1.v3f_1;
62080
62088
  if (tmp6_safe_receiver == null)
62081
62089
  ;
62082
62090
  else {
@@ -62084,7 +62092,7 @@ function requireClientsdkClientcore () {
62084
62092
  }
62085
62093
  break;
62086
62094
  default:
62087
- var tmp7_safe_receiver = this.w3f_1.t3f_1;
62095
+ var tmp7_safe_receiver = this.y3f_1.v3f_1;
62088
62096
  if (tmp7_safe_receiver == null)
62089
62097
  ;
62090
62098
  else {
@@ -66930,9 +66938,6 @@ class MediaClient {
66930
66938
  (_a = receiver.track) === null || _a === void 0 ? void 0 : _a.stop();
66931
66939
  });
66932
66940
  }
66933
- else {
66934
- throw new Error('No RTCPeerConnection established');
66935
- }
66936
66941
  }
66937
66942
  // Private Methods
66938
66943
  setMediaTracksEnabled(id, value) {
@@ -74594,9 +74599,24 @@ const HangupReason = clientsdkClientcore_jsExports.vonage.HangupReasonJS;
74594
74599
  const SessionErrorReason = clientsdkClientcore_jsExports.vonage.SessionErrorReasonJS;
74595
74600
  const LegStatus = clientsdkClientcore_jsExports.vonage.LegStatusJS;
74596
74601
  const setVonageClientLoggingLevel = setDefaultLoggingLevel;
74602
+ /**
74603
+ * VonageClient is the main entry point for the Vonage Client SDK.
74604
+ *
74605
+ * @privateRemarks
74606
+ * This class is a wrapper around the KMP `CombinedClientJS` class.
74607
+ * It provides a more JS-like API, and also provides a proxy object
74608
+ * to allow for registering callbacks via `on()`.
74609
+ *
74610
+ * Minimal Interface built on top of KMP export
74611
+ * DO NOT ADD CODE HERE UNLESS REALLY NEEDEED!!111!
74612
+ */
74597
74613
  class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS {
74598
74614
  constructor() {
74599
74615
  super(new HttpClient(), new SocketClient(), new MediaClient());
74616
+ /**
74617
+ * Proxy object to allow for registering callbacks via `on()`
74618
+ * @internal
74619
+ */
74600
74620
  this.callbacks = new Map();
74601
74621
  // eslint-disable-next-line @typescript-eslint/no-this-alias
74602
74622
  const _this = this;
@@ -74611,10 +74631,62 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
74611
74631
  }
74612
74632
  });
74613
74633
  }
74634
+ /**
74635
+ * Register a callback for an event.
74636
+ *
74637
+ * NOTE: you can only register one callback per event.
74638
+ *
74639
+ * @param event - the event to register for (e.g. 'legStatusUpdate')
74640
+ * @param callback - the callback to register for the event
74641
+ * @returns void
74642
+ */
74614
74643
  on(event, callback) {
74615
74644
  this.callbacks.set(event, callback);
74616
74645
  }
74617
- // overrides to make the JS api more JS-like
74646
+ /**
74647
+ * Create a session with a token and optional sessionId
74648
+ * If no sessionId is provided, a new one will be generated
74649
+ * and returned. If a sessionId is provided, it will be used
74650
+ * to resume an existing session.
74651
+ *
74652
+ * @param token
74653
+ * @param sessionId - optional sessionId to use
74654
+ * @returns the `sessionId` of the session
74655
+ */
74656
+ createSession(token, sessionId) {
74657
+ const _super = Object.create(null, {
74658
+ createSession: { get: () => super.createSession }
74659
+ });
74660
+ return __awaiter(this, void 0, void 0, function* () {
74661
+ return _super.createSession.call(this, token, sessionId || null);
74662
+ });
74663
+ }
74664
+ /**
74665
+ * Make a server call to the Vonage API.
74666
+ * This is used to initiate a call using the Voice API and NCCO.
74667
+ *
74668
+ * @param context - the context to send to the server passed as Custom data to the voice answer webhook
74669
+ * @returns the `callId` of the call
74670
+ */
74671
+ serverCall(context) {
74672
+ const _super = Object.create(null, {
74673
+ serverCall: { get: () => super.serverCall }
74674
+ });
74675
+ return __awaiter(this, void 0, void 0, function* () {
74676
+ return _super.serverCall.call(this, context || null);
74677
+ });
74678
+ }
74679
+ /**
74680
+ * Hangup a call.
74681
+ *
74682
+ * @remarks
74683
+ * this is a convenience method that calls `hangupWithReason` with
74684
+ *
74685
+ * @param callId - the `callId` of the call to hangup
74686
+ * @param reasonText - optional reason text to send to the other party
74687
+ * @param reasonCode - optional reason code to send to the other party
74688
+ * @returns void
74689
+ */
74618
74690
  hangup(callId, reasonText, reasonCode) {
74619
74691
  const _super = Object.create(null, {
74620
74692
  hangupWithReason: { get: () => super.hangupWithReason }
@@ -74623,6 +74695,21 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
74623
74695
  return _super.hangupWithReason.call(this, callId, reasonText || null, reasonCode || null);
74624
74696
  });
74625
74697
  }
74698
+ say(callId, params) {
74699
+ const _super = Object.create(null, {
74700
+ say: { get: () => super.say }
74701
+ });
74702
+ return __awaiter(this, void 0, void 0, function* () {
74703
+ const defaultParams = {
74704
+ voiceName: null,
74705
+ loop: null,
74706
+ level: null,
74707
+ ssml: null,
74708
+ queue: null
74709
+ };
74710
+ return _super.say.call(this, callId, Object.assign(Object.assign({}, defaultParams), (typeof params === 'string' ? { text: params } : params)));
74711
+ });
74712
+ }
74626
74713
  }
74627
74714
 
74628
74715
  export { CSErrorCodes, CancelReason, ChannelType, ClientConfig, ConfigRegion, ConversationState, CustomMessageEvent, HangupReason, LegStatus, LoggingLevel, MemberInvitedEvent, MemberJoinedEvent, MemberLeftEvent, MemberState, PresentingOrder, SessionErrorCodes, SessionErrorReason, TextMessageEvent, UnknownEvent, VonageClient, VonageError, VonageErrorType, VonageClient as default, setVonageClientLoggingLevel };