@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.
@@ -43353,17 +43353,40 @@ function requireClientsdkClientcore () {
43353
43353
  return true;
43354
43354
  };
43355
43355
  TimeoutAction.$metadata$ = classMeta('TimeoutAction', [Actionable]);
43356
- function Mute(id) {
43356
+ function MediaDisable(id) {
43357
43357
  this.j29_1 = id;
43358
43358
  }
43359
- Mute.prototype.a1l = function () {
43359
+ MediaDisable.prototype.a1l = function () {
43360
43360
  return this.j29_1;
43361
43361
  };
43362
+ MediaDisable.prototype.toString = function () {
43363
+ return 'MediaDisable(id=' + this.j29_1 + ')';
43364
+ };
43365
+ MediaDisable.prototype.hashCode = function () {
43366
+ return getStringHashCode(this.j29_1);
43367
+ };
43368
+ MediaDisable.prototype.equals = function (other) {
43369
+ if (this === other)
43370
+ return true;
43371
+ if (!(other instanceof MediaDisable))
43372
+ return false;
43373
+ var tmp0_other_with_cast = other instanceof MediaDisable ? other : THROW_CCE();
43374
+ if (!(this.j29_1 === tmp0_other_with_cast.j29_1))
43375
+ return false;
43376
+ return true;
43377
+ };
43378
+ MediaDisable.$metadata$ = classMeta('MediaDisable', [MediaEvent]);
43379
+ function Mute(id) {
43380
+ this.k29_1 = id;
43381
+ }
43382
+ Mute.prototype.a1l = function () {
43383
+ return this.k29_1;
43384
+ };
43362
43385
  Mute.prototype.toString = function () {
43363
- return 'Mute(id=' + this.j29_1 + ')';
43386
+ return 'Mute(id=' + this.k29_1 + ')';
43364
43387
  };
43365
43388
  Mute.prototype.hashCode = function () {
43366
- return getStringHashCode(this.j29_1);
43389
+ return getStringHashCode(this.k29_1);
43367
43390
  };
43368
43391
  Mute.prototype.equals = function (other) {
43369
43392
  if (this === other)
@@ -43371,22 +43394,22 @@ function requireClientsdkClientcore () {
43371
43394
  if (!(other instanceof Mute))
43372
43395
  return false;
43373
43396
  var tmp0_other_with_cast = other instanceof Mute ? other : THROW_CCE();
43374
- if (!(this.j29_1 === tmp0_other_with_cast.j29_1))
43397
+ if (!(this.k29_1 === tmp0_other_with_cast.k29_1))
43375
43398
  return false;
43376
43399
  return true;
43377
43400
  };
43378
43401
  Mute.$metadata$ = classMeta('Mute', [MediaEvent]);
43379
43402
  function Unmute(id) {
43380
- this.k29_1 = id;
43403
+ this.l29_1 = id;
43381
43404
  }
43382
43405
  Unmute.prototype.a1l = function () {
43383
- return this.k29_1;
43406
+ return this.l29_1;
43384
43407
  };
43385
43408
  Unmute.prototype.toString = function () {
43386
- return 'Unmute(id=' + this.k29_1 + ')';
43409
+ return 'Unmute(id=' + this.l29_1 + ')';
43387
43410
  };
43388
43411
  Unmute.prototype.hashCode = function () {
43389
- return getStringHashCode(this.k29_1);
43412
+ return getStringHashCode(this.l29_1);
43390
43413
  };
43391
43414
  Unmute.prototype.equals = function (other) {
43392
43415
  if (this === other)
@@ -43394,22 +43417,22 @@ function requireClientsdkClientcore () {
43394
43417
  if (!(other instanceof Unmute))
43395
43418
  return false;
43396
43419
  var tmp0_other_with_cast = other instanceof Unmute ? other : THROW_CCE();
43397
- if (!(this.k29_1 === tmp0_other_with_cast.k29_1))
43420
+ if (!(this.l29_1 === tmp0_other_with_cast.l29_1))
43398
43421
  return false;
43399
43422
  return true;
43400
43423
  };
43401
43424
  Unmute.$metadata$ = classMeta('Unmute', [MediaEvent]);
43402
43425
  function EnableEarmuff(id) {
43403
- this.l29_1 = id;
43426
+ this.m29_1 = id;
43404
43427
  }
43405
43428
  EnableEarmuff.prototype.a1l = function () {
43406
- return this.l29_1;
43429
+ return this.m29_1;
43407
43430
  };
43408
43431
  EnableEarmuff.prototype.toString = function () {
43409
- return 'EnableEarmuff(id=' + this.l29_1 + ')';
43432
+ return 'EnableEarmuff(id=' + this.m29_1 + ')';
43410
43433
  };
43411
43434
  EnableEarmuff.prototype.hashCode = function () {
43412
- return getStringHashCode(this.l29_1);
43435
+ return getStringHashCode(this.m29_1);
43413
43436
  };
43414
43437
  EnableEarmuff.prototype.equals = function (other) {
43415
43438
  if (this === other)
@@ -43417,22 +43440,22 @@ function requireClientsdkClientcore () {
43417
43440
  if (!(other instanceof EnableEarmuff))
43418
43441
  return false;
43419
43442
  var tmp0_other_with_cast = other instanceof EnableEarmuff ? other : THROW_CCE();
43420
- if (!(this.l29_1 === tmp0_other_with_cast.l29_1))
43443
+ if (!(this.m29_1 === tmp0_other_with_cast.m29_1))
43421
43444
  return false;
43422
43445
  return true;
43423
43446
  };
43424
43447
  EnableEarmuff.$metadata$ = classMeta('EnableEarmuff', [MediaEvent]);
43425
43448
  function DisableEarmuff(id) {
43426
- this.m29_1 = id;
43449
+ this.n29_1 = id;
43427
43450
  }
43428
43451
  DisableEarmuff.prototype.a1l = function () {
43429
- return this.m29_1;
43452
+ return this.n29_1;
43430
43453
  };
43431
43454
  DisableEarmuff.prototype.toString = function () {
43432
- return 'DisableEarmuff(id=' + this.m29_1 + ')';
43455
+ return 'DisableEarmuff(id=' + this.n29_1 + ')';
43433
43456
  };
43434
43457
  DisableEarmuff.prototype.hashCode = function () {
43435
- return getStringHashCode(this.m29_1);
43458
+ return getStringHashCode(this.n29_1);
43436
43459
  };
43437
43460
  DisableEarmuff.prototype.equals = function (other) {
43438
43461
  if (this === other)
@@ -43440,34 +43463,11 @@ function requireClientsdkClientcore () {
43440
43463
  if (!(other instanceof DisableEarmuff))
43441
43464
  return false;
43442
43465
  var tmp0_other_with_cast = other instanceof DisableEarmuff ? other : THROW_CCE();
43443
- if (!(this.m29_1 === tmp0_other_with_cast.m29_1))
43444
- return false;
43445
- return true;
43446
- };
43447
- DisableEarmuff.$metadata$ = classMeta('DisableEarmuff', [MediaEvent]);
43448
- function MediaDisable(id) {
43449
- this.n29_1 = id;
43450
- }
43451
- MediaDisable.prototype.a1l = function () {
43452
- return this.n29_1;
43453
- };
43454
- MediaDisable.prototype.toString = function () {
43455
- return 'MediaDisable(id=' + this.n29_1 + ')';
43456
- };
43457
- MediaDisable.prototype.hashCode = function () {
43458
- return getStringHashCode(this.n29_1);
43459
- };
43460
- MediaDisable.prototype.equals = function (other) {
43461
- if (this === other)
43462
- return true;
43463
- if (!(other instanceof MediaDisable))
43464
- return false;
43465
- var tmp0_other_with_cast = other instanceof MediaDisable ? other : THROW_CCE();
43466
43466
  if (!(this.n29_1 === tmp0_other_with_cast.n29_1))
43467
43467
  return false;
43468
43468
  return true;
43469
43469
  };
43470
- MediaDisable.$metadata$ = classMeta('MediaDisable', [MediaEvent]);
43470
+ DisableEarmuff.$metadata$ = classMeta('DisableEarmuff', [MediaEvent]);
43471
43471
  function MediaConnectionStatusUpdate(id, status) {
43472
43472
  this.o29_1 = id;
43473
43473
  this.p29_1 = status;
@@ -50380,7 +50380,7 @@ function requireClientsdkClientcore () {
50380
50380
  if (tmp0_safe_receiver == null)
50381
50381
  null;
50382
50382
  else {
50383
- var tmp$ret$2;
50383
+ var tmp$ret$1;
50384
50384
  // Inline function 'kotlin.let' call
50385
50385
  // Inline function 'kotlin.contracts.contract' call
50386
50386
  var tmp0_subject = tmp0_safe_receiver.n2p_1;
@@ -50407,45 +50407,40 @@ function requireClientsdkClientcore () {
50407
50407
  tmp = Unit_getInstance();
50408
50408
  break;
50409
50409
  case 5:
50410
- var tmp$ret$0;
50411
- // Inline function 'kotlin.also' call
50412
- var tmp0_also = $callback(Companion_getInstance_107().e2g(Exception_init_$Create$_0('Media Timeout')), null);
50413
- // Inline function 'kotlin.contracts.contract' call
50414
- // Inline function 'com.vonage.clientcore.core.api.VoiceAPIImpl.serverCall.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
50415
- var tmp0_safe_receiver_0 = $cancel._v;
50416
- if (tmp0_safe_receiver_0 == null)
50410
+ var tmp4_safe_receiver = $cancel._v;
50411
+ if (tmp4_safe_receiver == null)
50417
50412
  null;
50418
50413
  else
50419
- tmp0_safe_receiver_0();
50420
- tmp$ret$0 = tmp0_also;
50421
-
50414
+ tmp4_safe_receiver();
50415
+ ;
50416
+ $callback(Companion_getInstance_107().e2g(Exception_init_$Create$_0('Media Timeout')), null);
50422
50417
  this$0.r2p_1.c1d(Action_init_$Create$(new CallCleanup($legId)));
50423
50418
  tmp = Unit_getInstance();
50424
50419
  break;
50425
50420
  case 6:
50426
50421
  case 4:
50427
50422
  // Inline function 'co.touchlab.kermit.Logger.w' call
50428
- var tmp1_w = this$0.t2p_1;
50429
- if (tmp1_w.g1a_1.p1a().g4(Severity_Warn_getInstance()) <= 0) {
50423
+ var tmp0_w = this$0.t2p_1;
50424
+ if (tmp0_w.g1a_1.p1a().g4(Severity_Warn_getInstance()) <= 0) {
50430
50425
  var tmp_2 = Severity_Warn_getInstance();
50431
- var tmp_3 = tmp1_w.f1a();
50432
- var tmp$ret$1;
50426
+ var tmp_3 = tmp0_w.f1a();
50427
+ var tmp$ret$0;
50433
50428
  // Inline function 'com.vonage.clientcore.core.api.VoiceAPIImpl.serverCall.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
50434
- tmp$ret$1 = 'Unexpected Media Connection Transition during setup';
50435
- tmp1_w.o1a(tmp_2, tmp_3, null, tmp$ret$1);
50429
+ tmp$ret$0 = 'Unexpected Media Connection Transition during setup';
50430
+ tmp0_w.o1a(tmp_2, tmp_3, null, tmp$ret$0);
50436
50431
  }
50437
50432
 
50438
- var tmp4_safe_receiver = $cancel._v;
50439
- if (tmp4_safe_receiver == null)
50433
+ var tmp5_safe_receiver = $cancel._v;
50434
+ if (tmp5_safe_receiver == null)
50440
50435
  null;
50441
50436
  else
50442
- tmp4_safe_receiver();
50437
+ tmp5_safe_receiver();
50443
50438
  ;
50444
50439
  this$0.r2p_1.c1d(Action_init_$Create$(new CallCleanup($legId)));
50445
50440
  tmp = Unit_getInstance();
50446
50441
  break;
50447
50442
  }
50448
- tmp$ret$2 = tmp;
50443
+ tmp$ret$1 = tmp;
50449
50444
  }
50450
50445
  return Unit_getInstance();
50451
50446
  };
@@ -51317,6 +51312,7 @@ function requireClientsdkClientcore () {
51317
51312
  callback(Companion_getInstance_107().e2g(InternalError_NoCallFound_getInstance()));
51318
51313
  return Unit_getInstance();
51319
51314
  }
51315
+ this.r2p_1.c1d(Action_init_$Create$(new MediaDisable(callId)));
51320
51316
  var callMemberShipState = call.k2p_1.s1();
51321
51317
  if (callMemberShipState instanceof Joined) {
51322
51318
  var tmp = new MemberKickRequest(callMemberShipState.o2p_1, callMemberShipState.p2p_1, reasonText, reasonCode);
@@ -56247,13 +56243,13 @@ function requireClientsdkClientcore () {
56247
56243
  $media.r2v(action.p1d_1.m2r_1);
56248
56244
  } else {
56249
56245
  if (tmp0_subject instanceof MediaDisable) {
56250
- $media.r2v(action.p1d_1.n29_1);
56246
+ $media.r2v(action.p1d_1.j29_1);
56251
56247
  } else {
56252
56248
  if (tmp0_subject instanceof Mute) {
56253
- $media.s2v(action.p1d_1.j29_1);
56249
+ $media.s2v(action.p1d_1.k29_1);
56254
56250
  } else {
56255
56251
  if (tmp0_subject instanceof Unmute) {
56256
- $media.t2v(action.p1d_1.k29_1);
56252
+ $media.t2v(action.p1d_1.l29_1);
56257
56253
  } else {
56258
56254
  }
56259
56255
  }
@@ -60353,11 +60349,11 @@ function requireClientsdkClientcore () {
60353
60349
  return true;
60354
60350
  };
60355
60351
  Resolved.$metadata$ = classMeta('Resolved', undefined, undefined, undefined, undefined, StateTransition.prototype);
60356
- function Failed(error, value) {
60352
+ function Failed(error, value, requestId) {
60357
60353
  StateTransition.call(this);
60358
60354
  this.v2o_1 = error;
60359
60355
  this.w2o_1 = value;
60360
- this.x2o_1 = null;
60356
+ this.x2o_1 = requestId;
60361
60357
  }
60362
60358
  Failed.prototype.s1 = function () {
60363
60359
  return this.w2o_1;
@@ -60366,11 +60362,12 @@ function requireClientsdkClientcore () {
60366
60362
  return this.x2o_1;
60367
60363
  };
60368
60364
  Failed.prototype.toString = function () {
60369
- return 'Failed(error=' + this.v2o_1 + ', value=' + this.w2o_1 + ')';
60365
+ return 'Failed(error=' + this.v2o_1 + ', value=' + this.w2o_1 + ', requestId=' + this.x2o_1 + ')';
60370
60366
  };
60371
60367
  Failed.prototype.hashCode = function () {
60372
60368
  var result = this.v2o_1.hashCode();
60373
60369
  result = imul(result, 31) + (this.w2o_1 == null ? 0 : hashCode(this.w2o_1)) | 0;
60370
+ result = imul(result, 31) + (this.x2o_1 == null ? 0 : getStringHashCode(this.x2o_1)) | 0;
60374
60371
  return result;
60375
60372
  };
60376
60373
  Failed.prototype.equals = function (other) {
@@ -60383,6 +60380,8 @@ function requireClientsdkClientcore () {
60383
60380
  return false;
60384
60381
  if (!equals(this.w2o_1, tmp0_other_with_cast.w2o_1))
60385
60382
  return false;
60383
+ if (!(this.x2o_1 == tmp0_other_with_cast.x2o_1))
60384
+ return false;
60386
60385
  return true;
60387
60386
  };
60388
60387
  Failed.$metadata$ = classMeta('Failed', undefined, undefined, undefined, undefined, StateTransition.prototype);
@@ -60399,7 +60398,7 @@ function requireClientsdkClientcore () {
60399
60398
  var tmp0_subject = _this__u8e3s4;
60400
60399
  var tmp;
60401
60400
  if (tmp0_subject instanceof Pending) {
60402
- tmp = new Failed(new Pair(_this__u8e3s4.w33_1, err), _this__u8e3s4.s1());
60401
+ tmp = new Failed(new Pair(_this__u8e3s4.w33_1, err), _this__u8e3s4.s1(), _this__u8e3s4.x33_1);
60403
60402
  } else {
60404
60403
  if (tmp0_subject instanceof Resolved) {
60405
60404
  tmp = _this__u8e3s4;
@@ -60785,7 +60784,7 @@ function requireClientsdkClientcore () {
60785
60784
  //endregion
60786
60785
  //region block: pre-declaration
60787
60786
  function setConfig(config) {
60788
- 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));
60787
+ 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));
60789
60788
  }
60790
60789
  function createSession(token, sessionId) {
60791
60790
  return new Promise(ICoreClientJS$createSession$lambda(this, token, sessionId));
@@ -63164,9 +63163,10 @@ function requireClientsdkClientcore () {
63164
63163
  return SessionErrorCodesJS_instance;
63165
63164
  }
63166
63165
  function VonageErrorJS(vonageError) {
63167
- extendThrowable(this, vonageError.p2j_1, vonageError.q2j_1);
63166
+ extendThrowable(this, vonageError.p2j_1, void 1);
63168
63167
  this.z3b_1 = valueOf_3(vonageError.n2j_1.d4_1);
63169
63168
  this.a3c_1 = vonageError.o2j_1;
63169
+ this.b3c_1 = vonageError.q2j_1;
63170
63170
  captureStack(this, VonageErrorJS);
63171
63171
  }
63172
63172
  VonageErrorJS.prototype.v2q = function () {
@@ -63175,6 +63175,9 @@ function requireClientsdkClientcore () {
63175
63175
  VonageErrorJS.prototype.f1e = function () {
63176
63176
  return this.a3c_1;
63177
63177
  };
63178
+ VonageErrorJS.prototype.c3c = function () {
63179
+ return this.b3c_1;
63180
+ };
63178
63181
  VonageErrorJS.$metadata$ = classMeta('VonageErrorJS', undefined, undefined, undefined, undefined, Error.prototype);
63179
63182
  Object.defineProperty(VonageErrorJS.prototype, 'type', {
63180
63183
  configurable: true,
@@ -63184,6 +63187,10 @@ function requireClientsdkClientcore () {
63184
63187
  configurable: true,
63185
63188
  get: VonageErrorJS.prototype.f1e
63186
63189
  });
63190
+ Object.defineProperty(VonageErrorJS.prototype, 'kmpCause', {
63191
+ configurable: true,
63192
+ get: VonageErrorJS.prototype.c3c
63193
+ });
63187
63194
  var VonageErrorTypeJS_CS_ERROR_instance;
63188
63195
  var VonageErrorTypeJS_HTTP_CLIENT_ERROR_instance;
63189
63196
  var VonageErrorTypeJS_SESSION_ERROR_instance;
@@ -63830,15 +63837,15 @@ function requireClientsdkClientcore () {
63830
63837
  }
63831
63838
  function CoreClientConfigRegionJS(name, ordinal, coreRegion) {
63832
63839
  Enum.call(this, name, ordinal);
63833
- this.f3c_1 = coreRegion;
63840
+ this.h3c_1 = coreRegion;
63834
63841
  }
63835
- CoreClientConfigRegionJS.prototype.g3c = function () {
63836
- return this.f3c_1;
63842
+ CoreClientConfigRegionJS.prototype.i3c = function () {
63843
+ return this.h3c_1;
63837
63844
  };
63838
63845
  CoreClientConfigRegionJS.$metadata$ = classMeta('CoreClientConfigRegionJS', undefined, undefined, undefined, undefined, Enum.prototype);
63839
63846
  Object.defineProperty(CoreClientConfigRegionJS.prototype, 'coreRegion', {
63840
63847
  configurable: true,
63841
- get: CoreClientConfigRegionJS.prototype.g3c
63848
+ get: CoreClientConfigRegionJS.prototype.i3c
63842
63849
  });
63843
63850
  Object.defineProperty(CoreClientConfigRegionJS.prototype, 'name', {
63844
63851
  configurable: true,
@@ -63849,72 +63856,72 @@ function requireClientsdkClientcore () {
63849
63856
  get: CoreClientConfigRegionJS.prototype.pe
63850
63857
  });
63851
63858
  function CoreClientConfigJS(region) {
63852
- this.h3c_1 = Companion_getInstance().d2h(region.f3c_1, 'js', 'Generic JS Navigator', true);
63853
- this.i3c_1 = this.h3c_1.e2h_1;
63854
- this.j3c_1 = this.h3c_1.f2h_1;
63855
- this.k3c_1 = this.h3c_1.g2h_1;
63856
- this.l3c_1 = this.h3c_1.h2h_1;
63857
- this.m3c_1 = this.h3c_1.j2h_1;
63859
+ this.j3c_1 = Companion_getInstance().d2h(region.h3c_1, 'js', 'Generic JS Navigator', true);
63860
+ this.k3c_1 = this.j3c_1.e2h_1;
63861
+ this.l3c_1 = this.j3c_1.f2h_1;
63862
+ this.m3c_1 = this.j3c_1.g2h_1;
63863
+ this.n3c_1 = this.j3c_1.h2h_1;
63864
+ this.o3c_1 = this.j3c_1.j2h_1;
63858
63865
  }
63859
- CoreClientConfigJS.prototype.n3c = function () {
63860
- return this.h3c_1;
63861
- };
63862
- CoreClientConfigJS.prototype.o3c = function (_set____db54di) {
63863
- this.i3c_1 = _set____db54di;
63864
- };
63865
63866
  CoreClientConfigJS.prototype.p3c = function () {
63866
- return this.i3c_1;
63867
+ return this.j3c_1;
63867
63868
  };
63868
63869
  CoreClientConfigJS.prototype.q3c = function (_set____db54di) {
63869
- this.j3c_1 = _set____db54di;
63870
+ this.k3c_1 = _set____db54di;
63870
63871
  };
63871
63872
  CoreClientConfigJS.prototype.r3c = function () {
63872
- return this.j3c_1;
63873
+ return this.k3c_1;
63873
63874
  };
63874
63875
  CoreClientConfigJS.prototype.s3c = function (_set____db54di) {
63875
- this.k3c_1 = _set____db54di;
63876
+ this.l3c_1 = _set____db54di;
63876
63877
  };
63877
63878
  CoreClientConfigJS.prototype.t3c = function () {
63878
- return this.k3c_1;
63879
+ return this.l3c_1;
63879
63880
  };
63880
63881
  CoreClientConfigJS.prototype.u3c = function (_set____db54di) {
63881
- this.l3c_1 = _set____db54di;
63882
+ this.m3c_1 = _set____db54di;
63882
63883
  };
63883
63884
  CoreClientConfigJS.prototype.v3c = function () {
63884
- return this.l3c_1;
63885
+ return this.m3c_1;
63885
63886
  };
63886
63887
  CoreClientConfigJS.prototype.w3c = function (_set____db54di) {
63887
- this.m3c_1 = _set____db54di;
63888
+ this.n3c_1 = _set____db54di;
63888
63889
  };
63889
63890
  CoreClientConfigJS.prototype.x3c = function () {
63890
- return this.m3c_1;
63891
+ return this.n3c_1;
63892
+ };
63893
+ CoreClientConfigJS.prototype.y3c = function (_set____db54di) {
63894
+ this.o3c_1 = _set____db54di;
63895
+ };
63896
+ CoreClientConfigJS.prototype.z3c = function () {
63897
+ return this.o3c_1;
63891
63898
  };
63892
63899
  CoreClientConfigJS.$metadata$ = classMeta('CoreClientConfigJS');
63893
63900
  Object.defineProperty(CoreClientConfigJS.prototype, 'apiUrl', {
63894
- configurable: true,
63895
- get: CoreClientConfigJS.prototype.p3c,
63896
- set: CoreClientConfigJS.prototype.o3c
63897
- });
63898
- Object.defineProperty(CoreClientConfigJS.prototype, 'websocketUrl', {
63899
63901
  configurable: true,
63900
63902
  get: CoreClientConfigJS.prototype.r3c,
63901
63903
  set: CoreClientConfigJS.prototype.q3c
63902
63904
  });
63903
- Object.defineProperty(CoreClientConfigJS.prototype, 'websocketPath', {
63905
+ Object.defineProperty(CoreClientConfigJS.prototype, 'websocketUrl', {
63904
63906
  configurable: true,
63905
63907
  get: CoreClientConfigJS.prototype.t3c,
63906
63908
  set: CoreClientConfigJS.prototype.s3c
63907
63909
  });
63908
- Object.defineProperty(CoreClientConfigJS.prototype, 'autoMediaReoffer', {
63910
+ Object.defineProperty(CoreClientConfigJS.prototype, 'websocketPath', {
63909
63911
  configurable: true,
63910
63912
  get: CoreClientConfigJS.prototype.v3c,
63911
63913
  set: CoreClientConfigJS.prototype.u3c
63912
63914
  });
63913
- Object.defineProperty(CoreClientConfigJS.prototype, 'enableWebsocketInvites', {
63915
+ Object.defineProperty(CoreClientConfigJS.prototype, 'autoMediaReoffer', {
63914
63916
  configurable: true,
63915
63917
  get: CoreClientConfigJS.prototype.x3c,
63916
63918
  set: CoreClientConfigJS.prototype.w3c
63917
63919
  });
63920
+ Object.defineProperty(CoreClientConfigJS.prototype, 'enableWebsocketInvites', {
63921
+ configurable: true,
63922
+ get: CoreClientConfigJS.prototype.z3c,
63923
+ set: CoreClientConfigJS.prototype.y3c
63924
+ });
63918
63925
  var LoggingLevelJS_Verbose_instance;
63919
63926
  var LoggingLevelJS_Debug_instance;
63920
63927
  var LoggingLevelJS_Info_instance;
@@ -63958,10 +63965,10 @@ function requireClientsdkClientcore () {
63958
63965
  }
63959
63966
  function LoggingLevelJS(name, ordinal, sev) {
63960
63967
  Enum.call(this, name, ordinal);
63961
- this.a3d_1 = sev;
63968
+ this.c3d_1 = sev;
63962
63969
  }
63963
63970
  LoggingLevelJS.prototype.s2g = function () {
63964
- return this.a3d_1;
63971
+ return this.c3d_1;
63965
63972
  };
63966
63973
  LoggingLevelJS.$metadata$ = classMeta('LoggingLevelJS', [ILoggingLevel], undefined, undefined, undefined, Enum.prototype);
63967
63974
  Object.defineProperty(LoggingLevelJS.prototype, 'name', {
@@ -63993,7 +64000,7 @@ function requireClientsdkClientcore () {
63993
64000
  inductionVariable = inductionVariable + 1 | 0;
63994
64001
  var tmp$ret$0;
63995
64002
  // Inline function 'vonage.Companion.getSessionErrorReason.<anonymous>' call
63996
- tmp$ret$0 = element.d3d_1.equals(reason);
64003
+ tmp$ret$0 = element.f3d_1.equals(reason);
63997
64004
  if (tmp$ret$0) {
63998
64005
  tmp$ret$1 = element;
63999
64006
  break $l$block;
@@ -64041,10 +64048,10 @@ function requireClientsdkClientcore () {
64041
64048
  }
64042
64049
  function SessionErrorReasonJS(name, ordinal, reason) {
64043
64050
  Enum.call(this, name, ordinal);
64044
- this.d3d_1 = reason;
64051
+ this.f3d_1 = reason;
64045
64052
  }
64046
64053
  SessionErrorReasonJS.prototype.k2a = function () {
64047
- return this.d3d_1;
64054
+ return this.f3d_1;
64048
64055
  };
64049
64056
  SessionErrorReasonJS.$metadata$ = classMeta('SessionErrorReasonJS', undefined, undefined, undefined, undefined, Enum.prototype);
64050
64057
  Object.defineProperty(SessionErrorReasonJS.prototype, 'reason', {
@@ -64608,40 +64615,40 @@ function requireClientsdkClientcore () {
64608
64615
  }
64609
64616
  IVoiceClientJS.$metadata$ = interfaceMeta('IVoiceClientJS', [ICoreClientJS]);
64610
64617
  function VoiceInviteFromInfoJS(id, type) {
64611
- this.i3d_1 = id;
64612
- this.j3d_1 = type;
64618
+ this.k3d_1 = id;
64619
+ this.l3d_1 = type;
64613
64620
  }
64614
64621
  VoiceInviteFromInfoJS.prototype.a1l = function () {
64615
- return this.i3d_1;
64622
+ return this.k3d_1;
64616
64623
  };
64617
64624
  VoiceInviteFromInfoJS.prototype.v2q = function () {
64618
- return this.j3d_1;
64625
+ return this.l3d_1;
64619
64626
  };
64620
64627
  VoiceInviteFromInfoJS.prototype.component1 = function () {
64621
- return this.i3d_1;
64628
+ return this.k3d_1;
64622
64629
  };
64623
64630
  VoiceInviteFromInfoJS.prototype.component2 = function () {
64624
- return this.j3d_1;
64631
+ return this.l3d_1;
64625
64632
  };
64626
64633
  VoiceInviteFromInfoJS.prototype.copy = function (id, type) {
64627
- return this.k3d(id === void 1 ? this.i3d_1 : id, type === void 1 ? this.j3d_1 : type);
64634
+ return this.m3d(id === void 1 ? this.k3d_1 : id, type === void 1 ? this.l3d_1 : type);
64628
64635
  };
64629
- VoiceInviteFromInfoJS.prototype.k3d = function (id, type) {
64636
+ VoiceInviteFromInfoJS.prototype.m3d = function (id, type) {
64630
64637
  return new VoiceInviteFromInfoJS(id, type);
64631
64638
  };
64632
- VoiceInviteFromInfoJS.prototype.l3d = function (id, type, $mask0, $handler) {
64639
+ VoiceInviteFromInfoJS.prototype.n3d = function (id, type, $mask0, $handler) {
64633
64640
  if (!(($mask0 & 1) === 0))
64634
- id = this.i3d_1;
64641
+ id = this.k3d_1;
64635
64642
  if (!(($mask0 & 2) === 0))
64636
- type = this.j3d_1;
64637
- return this.k3d(id, type);
64643
+ type = this.l3d_1;
64644
+ return this.m3d(id, type);
64638
64645
  };
64639
64646
  VoiceInviteFromInfoJS.prototype.toString = function () {
64640
- return 'VoiceInviteFromInfoJS(id=' + this.i3d_1 + ', type=' + this.j3d_1 + ')';
64647
+ return 'VoiceInviteFromInfoJS(id=' + this.k3d_1 + ', type=' + this.l3d_1 + ')';
64641
64648
  };
64642
64649
  VoiceInviteFromInfoJS.prototype.hashCode = function () {
64643
- var result = this.i3d_1 == null ? 0 : getStringHashCode(this.i3d_1);
64644
- result = imul(result, 31) + getStringHashCode(this.j3d_1) | 0;
64650
+ var result = this.k3d_1 == null ? 0 : getStringHashCode(this.k3d_1);
64651
+ result = imul(result, 31) + getStringHashCode(this.l3d_1) | 0;
64645
64652
  return result;
64646
64653
  };
64647
64654
  VoiceInviteFromInfoJS.prototype.equals = function (other) {
@@ -64650,9 +64657,9 @@ function requireClientsdkClientcore () {
64650
64657
  if (!(other instanceof VoiceInviteFromInfoJS))
64651
64658
  return false;
64652
64659
  var tmp0_other_with_cast = other instanceof VoiceInviteFromInfoJS ? other : THROW_CCE();
64653
- if (!(this.i3d_1 == tmp0_other_with_cast.i3d_1))
64660
+ if (!(this.k3d_1 == tmp0_other_with_cast.k3d_1))
64654
64661
  return false;
64655
- if (!(this.j3d_1 === tmp0_other_with_cast.j3d_1))
64662
+ if (!(this.l3d_1 === tmp0_other_with_cast.l3d_1))
64656
64663
  return false;
64657
64664
  return true;
64658
64665
  };
@@ -64716,64 +64723,64 @@ function requireClientsdkClientcore () {
64716
64723
  var responseBody_0 = responseBody === void 1 ? null : responseBody;
64717
64724
  var cause_0 = cause === void 1 ? null : cause;
64718
64725
  extendThrowable(this, void 1, void 1);
64719
- this.m3d_1 = message_0;
64720
- this.n3d_1 = responseCode_0;
64721
- this.o3d_1 = responseBody_0;
64722
- this.p3d_1 = cause_0;
64726
+ this.o3d_1 = message_0;
64727
+ this.p3d_1 = responseCode_0;
64728
+ this.q3d_1 = responseBody_0;
64729
+ this.r3d_1 = cause_0;
64723
64730
  captureStack(this, HttpClientErrorJS);
64724
64731
  }
64725
64732
  HttpClientErrorJS.prototype.g1 = function () {
64726
- return this.m3d_1;
64733
+ return this.o3d_1;
64727
64734
  };
64728
- HttpClientErrorJS.prototype.q3d = function () {
64729
- return this.n3d_1;
64735
+ HttpClientErrorJS.prototype.s3d = function () {
64736
+ return this.p3d_1;
64730
64737
  };
64731
- HttpClientErrorJS.prototype.r3d = function () {
64732
- return this.o3d_1;
64738
+ HttpClientErrorJS.prototype.t3d = function () {
64739
+ return this.q3d_1;
64733
64740
  };
64734
64741
  HttpClientErrorJS.prototype.h1 = function () {
64735
- return this.p3d_1;
64742
+ return this.r3d_1;
64736
64743
  };
64737
- HttpClientErrorJS.prototype.s3d = function () {
64738
- return new HTTPClientError(this.m3d_1, this.n3d_1, this.o3d_1, this.p3d_1);
64744
+ HttpClientErrorJS.prototype.u3d = function () {
64745
+ return new HTTPClientError(this.o3d_1, this.p3d_1, this.q3d_1, this.r3d_1);
64739
64746
  };
64740
64747
  HttpClientErrorJS.prototype.component1 = function () {
64741
- return this.m3d_1;
64748
+ return this.o3d_1;
64742
64749
  };
64743
64750
  HttpClientErrorJS.prototype.component2 = function () {
64744
- return this.n3d_1;
64751
+ return this.p3d_1;
64745
64752
  };
64746
64753
  HttpClientErrorJS.prototype.component3 = function () {
64747
- return this.o3d_1;
64754
+ return this.q3d_1;
64748
64755
  };
64749
64756
  HttpClientErrorJS.prototype.component4 = function () {
64750
- return this.p3d_1;
64757
+ return this.r3d_1;
64751
64758
  };
64752
64759
  HttpClientErrorJS.prototype.copy = function (message, responseCode, responseBody, cause) {
64753
- 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);
64760
+ 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);
64754
64761
  };
64755
- HttpClientErrorJS.prototype.t3d = function (message, responseCode, responseBody, cause) {
64762
+ HttpClientErrorJS.prototype.v3d = function (message, responseCode, responseBody, cause) {
64756
64763
  return new HttpClientErrorJS(message, responseCode, responseBody, cause);
64757
64764
  };
64758
- HttpClientErrorJS.prototype.u3d = function (message, responseCode, responseBody, cause, $mask0, $handler) {
64765
+ HttpClientErrorJS.prototype.w3d = function (message, responseCode, responseBody, cause, $mask0, $handler) {
64759
64766
  if (!(($mask0 & 1) === 0))
64760
- message = this.m3d_1;
64767
+ message = this.o3d_1;
64761
64768
  if (!(($mask0 & 2) === 0))
64762
- responseCode = this.n3d_1;
64769
+ responseCode = this.p3d_1;
64763
64770
  if (!(($mask0 & 4) === 0))
64764
- responseBody = this.o3d_1;
64771
+ responseBody = this.q3d_1;
64765
64772
  if (!(($mask0 & 8) === 0))
64766
- cause = this.p3d_1;
64767
- return this.t3d(message, responseCode, responseBody, cause);
64773
+ cause = this.r3d_1;
64774
+ return this.v3d(message, responseCode, responseBody, cause);
64768
64775
  };
64769
64776
  HttpClientErrorJS.prototype.toString = function () {
64770
- return 'HttpClientErrorJS(message=' + this.m3d_1 + ', responseCode=' + this.n3d_1 + ', responseBody=' + this.o3d_1 + ', cause=' + this.p3d_1 + ')';
64777
+ return 'HttpClientErrorJS(message=' + this.o3d_1 + ', responseCode=' + this.p3d_1 + ', responseBody=' + this.q3d_1 + ', cause=' + this.r3d_1 + ')';
64771
64778
  };
64772
64779
  HttpClientErrorJS.prototype.hashCode = function () {
64773
- var result = this.m3d_1 == null ? 0 : getStringHashCode(this.m3d_1);
64774
- result = imul(result, 31) + (this.n3d_1 == null ? 0 : this.n3d_1) | 0;
64775
- result = imul(result, 31) + (this.o3d_1 == null ? 0 : getStringHashCode(this.o3d_1)) | 0;
64776
- result = imul(result, 31) + (this.p3d_1 == null ? 0 : hashCode(this.p3d_1)) | 0;
64780
+ var result = this.o3d_1 == null ? 0 : getStringHashCode(this.o3d_1);
64781
+ result = imul(result, 31) + (this.p3d_1 == null ? 0 : this.p3d_1) | 0;
64782
+ result = imul(result, 31) + (this.q3d_1 == null ? 0 : getStringHashCode(this.q3d_1)) | 0;
64783
+ result = imul(result, 31) + (this.r3d_1 == null ? 0 : hashCode(this.r3d_1)) | 0;
64777
64784
  return result;
64778
64785
  };
64779
64786
  HttpClientErrorJS.prototype.equals = function (other) {
@@ -64782,13 +64789,13 @@ function requireClientsdkClientcore () {
64782
64789
  if (!(other instanceof HttpClientErrorJS))
64783
64790
  return false;
64784
64791
  var tmp0_other_with_cast = other instanceof HttpClientErrorJS ? other : THROW_CCE();
64785
- if (!(this.m3d_1 == tmp0_other_with_cast.m3d_1))
64792
+ if (!(this.o3d_1 == tmp0_other_with_cast.o3d_1))
64786
64793
  return false;
64787
- if (!(this.n3d_1 == tmp0_other_with_cast.n3d_1))
64794
+ if (!(this.p3d_1 == tmp0_other_with_cast.p3d_1))
64788
64795
  return false;
64789
- if (!(this.o3d_1 == tmp0_other_with_cast.o3d_1))
64796
+ if (!(this.q3d_1 == tmp0_other_with_cast.q3d_1))
64790
64797
  return false;
64791
- if (!equals(this.p3d_1, tmp0_other_with_cast.p3d_1))
64798
+ if (!equals(this.r3d_1, tmp0_other_with_cast.r3d_1))
64792
64799
  return false;
64793
64800
  return true;
64794
64801
  };
@@ -64801,11 +64808,11 @@ function requireClientsdkClientcore () {
64801
64808
  });
64802
64809
  Object.defineProperty(HttpClientErrorJS.prototype, 'responseCode', {
64803
64810
  configurable: true,
64804
- get: HttpClientErrorJS.prototype.q3d
64811
+ get: HttpClientErrorJS.prototype.s3d
64805
64812
  });
64806
64813
  Object.defineProperty(HttpClientErrorJS.prototype, 'responseBody', {
64807
64814
  configurable: true,
64808
- get: HttpClientErrorJS.prototype.r3d
64815
+ get: HttpClientErrorJS.prototype.t3d
64809
64816
  });
64810
64817
  Object.defineProperty(HttpClientErrorJS.prototype, 'cause', {
64811
64818
  configurable: true,
@@ -64815,7 +64822,7 @@ function requireClientsdkClientcore () {
64815
64822
  });
64816
64823
  Object.defineProperty(HttpClientErrorJS.prototype, 'coreError', {
64817
64824
  configurable: true,
64818
- get: HttpClientErrorJS.prototype.s3d
64825
+ get: HttpClientErrorJS.prototype.u3d
64819
64826
  });
64820
64827
  function get_SOCKET_CONNECTED() {
64821
64828
  return SOCKET_CONNECTED;
@@ -64880,10 +64887,10 @@ function requireClientsdkClientcore () {
64880
64887
  }
64881
64888
  function CancelReasonJS(name, ordinal, reason) {
64882
64889
  Enum.call(this, name, ordinal);
64883
- this.x3d_1 = reason;
64890
+ this.z3d_1 = reason;
64884
64891
  }
64885
64892
  CancelReasonJS.prototype.k2a = function () {
64886
- return this.x3d_1;
64893
+ return this.z3d_1;
64887
64894
  };
64888
64895
  CancelReasonJS.$metadata$ = classMeta('CancelReasonJS', undefined, undefined, undefined, undefined, Enum.prototype);
64889
64896
  Object.defineProperty(CancelReasonJS.prototype, 'reason', {
@@ -64899,23 +64906,17 @@ function requireClientsdkClientcore () {
64899
64906
  get: CancelReasonJS.prototype.pe
64900
64907
  });
64901
64908
  function RTCQualityJS(callQuality) {
64902
- this.y3d_1 = callQuality;
64903
- this.z3d_1 = this.y3d_1.f2u_1;
64904
- this.a3e_1 = this.y3d_1.g2u_1;
64905
- this.b3e_1 = this.y3d_1.h2u_1;
64906
- this.c3e_1 = this.y3d_1.i2u_1;
64907
- this.d3e_1 = this.y3d_1.j2u_1;
64908
- this.e3e_1 = this.y3d_1.k2u_1;
64909
- this.f3e_1 = this.y3d_1.l2u_1;
64910
- this.g3e_1 = this.y3d_1.m2u_1;
64911
- this.h3e_1 = this.y3d_1.n2u_1;
64909
+ this.a3e_1 = callQuality;
64910
+ this.b3e_1 = this.a3e_1.f2u_1;
64911
+ this.c3e_1 = this.a3e_1.g2u_1;
64912
+ this.d3e_1 = this.a3e_1.h2u_1;
64913
+ this.e3e_1 = this.a3e_1.i2u_1;
64914
+ this.f3e_1 = this.a3e_1.j2u_1;
64915
+ this.g3e_1 = this.a3e_1.k2u_1;
64916
+ this.h3e_1 = this.a3e_1.l2u_1;
64917
+ this.i3e_1 = this.a3e_1.m2u_1;
64918
+ this.j3e_1 = this.a3e_1.n2u_1;
64912
64919
  }
64913
- RTCQualityJS.prototype.i3e = function () {
64914
- return this.z3d_1;
64915
- };
64916
- RTCQualityJS.prototype.j3e = function () {
64917
- return this.a3e_1;
64918
- };
64919
64920
  RTCQualityJS.prototype.k3e = function () {
64920
64921
  return this.b3e_1;
64921
64922
  };
@@ -64937,22 +64938,28 @@ function requireClientsdkClientcore () {
64937
64938
  RTCQualityJS.prototype.q3e = function () {
64938
64939
  return this.h3e_1;
64939
64940
  };
64941
+ RTCQualityJS.prototype.r3e = function () {
64942
+ return this.i3e_1;
64943
+ };
64944
+ RTCQualityJS.prototype.s3e = function () {
64945
+ return this.j3e_1;
64946
+ };
64940
64947
  RTCQualityJS.prototype.copy = function (callQuality) {
64941
- return this.r3e(callQuality === void 1 ? this.y3d_1 : callQuality);
64948
+ return this.t3e(callQuality === void 1 ? this.a3e_1 : callQuality);
64942
64949
  };
64943
- RTCQualityJS.prototype.r3e = function (callQuality) {
64950
+ RTCQualityJS.prototype.t3e = function (callQuality) {
64944
64951
  return new RTCQualityJS(callQuality);
64945
64952
  };
64946
- RTCQualityJS.prototype.s3e = function (callQuality, $mask0, $handler) {
64953
+ RTCQualityJS.prototype.u3e = function (callQuality, $mask0, $handler) {
64947
64954
  if (!(($mask0 & 1) === 0))
64948
- callQuality = this.y3d_1;
64949
- return this.r3e(callQuality);
64955
+ callQuality = this.a3e_1;
64956
+ return this.t3e(callQuality);
64950
64957
  };
64951
64958
  RTCQualityJS.prototype.toString = function () {
64952
- return 'RTCQualityJS(callQuality=' + this.y3d_1 + ')';
64959
+ return 'RTCQualityJS(callQuality=' + this.a3e_1 + ')';
64953
64960
  };
64954
64961
  RTCQualityJS.prototype.hashCode = function () {
64955
- return this.y3d_1.hashCode();
64962
+ return this.a3e_1.hashCode();
64956
64963
  };
64957
64964
  RTCQualityJS.prototype.equals = function (other) {
64958
64965
  if (this === other)
@@ -64960,65 +64967,59 @@ function requireClientsdkClientcore () {
64960
64967
  if (!(other instanceof RTCQualityJS))
64961
64968
  return false;
64962
64969
  var tmp0_other_with_cast = other instanceof RTCQualityJS ? other : THROW_CCE();
64963
- if (!this.y3d_1.equals(tmp0_other_with_cast.y3d_1))
64970
+ if (!this.a3e_1.equals(tmp0_other_with_cast.a3e_1))
64964
64971
  return false;
64965
64972
  return true;
64966
64973
  };
64967
64974
  RTCQualityJS.$metadata$ = classMeta('RTCQualityJS');
64968
64975
  Object.defineProperty(RTCQualityJS.prototype, 'mos_score', {
64969
64976
  configurable: true,
64970
- get: RTCQualityJS.prototype.i3e
64977
+ get: RTCQualityJS.prototype.k3e
64971
64978
  });
64972
64979
  Object.defineProperty(RTCQualityJS.prototype, 'quality_percentage', {
64973
64980
  configurable: true,
64974
- get: RTCQualityJS.prototype.j3e
64981
+ get: RTCQualityJS.prototype.l3e
64975
64982
  });
64976
64983
  Object.defineProperty(RTCQualityJS.prototype, 'jitter_min_var', {
64977
64984
  configurable: true,
64978
- get: RTCQualityJS.prototype.k3e
64985
+ get: RTCQualityJS.prototype.m3e
64979
64986
  });
64980
64987
  Object.defineProperty(RTCQualityJS.prototype, 'jitter_max_var', {
64981
64988
  configurable: true,
64982
- get: RTCQualityJS.prototype.l3e
64989
+ get: RTCQualityJS.prototype.n3e
64983
64990
  });
64984
64991
  Object.defineProperty(RTCQualityJS.prototype, 'jitter_loss_rate', {
64985
64992
  configurable: true,
64986
- get: RTCQualityJS.prototype.m3e
64993
+ get: RTCQualityJS.prototype.o3e
64987
64994
  });
64988
64995
  Object.defineProperty(RTCQualityJS.prototype, 'jitter_burst_rate', {
64989
64996
  configurable: true,
64990
- get: RTCQualityJS.prototype.n3e
64997
+ get: RTCQualityJS.prototype.p3e
64991
64998
  });
64992
64999
  Object.defineProperty(RTCQualityJS.prototype, 'flaw_total', {
64993
65000
  configurable: true,
64994
- get: RTCQualityJS.prototype.o3e
65001
+ get: RTCQualityJS.prototype.q3e
64995
65002
  });
64996
65003
  Object.defineProperty(RTCQualityJS.prototype, 'packet_cnt', {
64997
65004
  configurable: true,
64998
- get: RTCQualityJS.prototype.p3e
65005
+ get: RTCQualityJS.prototype.r3e
64999
65006
  });
65000
65007
  Object.defineProperty(RTCQualityJS.prototype, 'packet_loss_perc', {
65001
65008
  configurable: true,
65002
- get: RTCQualityJS.prototype.q3e
65009
+ get: RTCQualityJS.prototype.s3e
65003
65010
  });
65004
65011
  function RTCStatsJS(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId) {
65005
- this.t3e_1 = audioRecvPackets;
65006
- this.u3e_1 = audioRecvPacketsLost;
65007
- this.v3e_1 = audioRecvBytes;
65008
- this.w3e_1 = audioRecvJitter;
65009
- this.x3e_1 = audioSentPackets;
65010
- this.y3e_1 = audioSentBytes;
65011
- this.z3e_1 = audioSentPacketsLost;
65012
- this.a3f_1 = audioRtt;
65013
- this.b3f_1 = audioSentJitter;
65014
- this.c3f_1 = legId;
65012
+ this.v3e_1 = audioRecvPackets;
65013
+ this.w3e_1 = audioRecvPacketsLost;
65014
+ this.x3e_1 = audioRecvBytes;
65015
+ this.y3e_1 = audioRecvJitter;
65016
+ this.z3e_1 = audioSentPackets;
65017
+ this.a3f_1 = audioSentBytes;
65018
+ this.b3f_1 = audioSentPacketsLost;
65019
+ this.c3f_1 = audioRtt;
65020
+ this.d3f_1 = audioSentJitter;
65021
+ this.e3f_1 = legId;
65015
65022
  }
65016
- RTCStatsJS.prototype.d3f = function () {
65017
- return this.t3e_1;
65018
- };
65019
- RTCStatsJS.prototype.e3f = function () {
65020
- return this.u3e_1;
65021
- };
65022
65023
  RTCStatsJS.prototype.f3f = function () {
65023
65024
  return this.v3e_1;
65024
65025
  };
@@ -65040,82 +65041,88 @@ function requireClientsdkClientcore () {
65040
65041
  RTCStatsJS.prototype.l3f = function () {
65041
65042
  return this.b3f_1;
65042
65043
  };
65043
- RTCStatsJS.prototype.x1f = function () {
65044
+ RTCStatsJS.prototype.m3f = function () {
65044
65045
  return this.c3f_1;
65045
65046
  };
65047
+ RTCStatsJS.prototype.n3f = function () {
65048
+ return this.d3f_1;
65049
+ };
65050
+ RTCStatsJS.prototype.x1f = function () {
65051
+ return this.e3f_1;
65052
+ };
65046
65053
  RTCStatsJS.prototype.component1 = function () {
65047
- return this.t3e_1;
65054
+ return this.v3e_1;
65048
65055
  };
65049
65056
  RTCStatsJS.prototype.component2 = function () {
65050
- return this.u3e_1;
65057
+ return this.w3e_1;
65051
65058
  };
65052
65059
  RTCStatsJS.prototype.component3 = function () {
65053
- return this.v3e_1;
65060
+ return this.x3e_1;
65054
65061
  };
65055
65062
  RTCStatsJS.prototype.component4 = function () {
65056
- return this.w3e_1;
65063
+ return this.y3e_1;
65057
65064
  };
65058
65065
  RTCStatsJS.prototype.component5 = function () {
65059
- return this.x3e_1;
65066
+ return this.z3e_1;
65060
65067
  };
65061
65068
  RTCStatsJS.prototype.component6 = function () {
65062
- return this.y3e_1;
65069
+ return this.a3f_1;
65063
65070
  };
65064
65071
  RTCStatsJS.prototype.component7 = function () {
65065
- return this.z3e_1;
65072
+ return this.b3f_1;
65066
65073
  };
65067
65074
  RTCStatsJS.prototype.component8 = function () {
65068
- return this.a3f_1;
65075
+ return this.c3f_1;
65069
65076
  };
65070
65077
  RTCStatsJS.prototype.component9 = function () {
65071
- return this.b3f_1;
65078
+ return this.d3f_1;
65072
65079
  };
65073
65080
  RTCStatsJS.prototype.component10 = function () {
65074
- return this.c3f_1;
65081
+ return this.e3f_1;
65075
65082
  };
65076
65083
  RTCStatsJS.prototype.copy = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId) {
65077
- 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);
65084
+ 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);
65078
65085
  };
65079
- RTCStatsJS.prototype.m3f = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId) {
65086
+ RTCStatsJS.prototype.o3f = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId) {
65080
65087
  return new RTCStatsJS(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId);
65081
65088
  };
65082
- RTCStatsJS.prototype.n3f = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId, $mask0, $handler) {
65089
+ RTCStatsJS.prototype.p3f = function (audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId, $mask0, $handler) {
65083
65090
  if (!(($mask0 & 1) === 0))
65084
- audioRecvPackets = this.t3e_1;
65091
+ audioRecvPackets = this.v3e_1;
65085
65092
  if (!(($mask0 & 2) === 0))
65086
- audioRecvPacketsLost = this.u3e_1;
65093
+ audioRecvPacketsLost = this.w3e_1;
65087
65094
  if (!(($mask0 & 4) === 0))
65088
- audioRecvBytes = this.v3e_1;
65095
+ audioRecvBytes = this.x3e_1;
65089
65096
  if (!(($mask0 & 8) === 0))
65090
- audioRecvJitter = this.w3e_1;
65097
+ audioRecvJitter = this.y3e_1;
65091
65098
  if (!(($mask0 & 16) === 0))
65092
- audioSentPackets = this.x3e_1;
65099
+ audioSentPackets = this.z3e_1;
65093
65100
  if (!(($mask0 & 32) === 0))
65094
- audioSentBytes = this.y3e_1;
65101
+ audioSentBytes = this.a3f_1;
65095
65102
  if (!(($mask0 & 64) === 0))
65096
- audioSentPacketsLost = this.z3e_1;
65103
+ audioSentPacketsLost = this.b3f_1;
65097
65104
  if (!(($mask0 & 128) === 0))
65098
- audioRtt = this.a3f_1;
65105
+ audioRtt = this.c3f_1;
65099
65106
  if (!(($mask0 & 256) === 0))
65100
- audioSentJitter = this.b3f_1;
65107
+ audioSentJitter = this.d3f_1;
65101
65108
  if (!(($mask0 & 512) === 0))
65102
- legId = this.c3f_1;
65103
- return this.m3f(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId);
65109
+ legId = this.e3f_1;
65110
+ return this.o3f(audioRecvPackets, audioRecvPacketsLost, audioRecvBytes, audioRecvJitter, audioSentPackets, audioSentBytes, audioSentPacketsLost, audioRtt, audioSentJitter, legId);
65104
65111
  };
65105
65112
  RTCStatsJS.prototype.toString = function () {
65106
- 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 + ')';
65113
+ 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 + ')';
65107
65114
  };
65108
65115
  RTCStatsJS.prototype.hashCode = function () {
65109
- var result = this.t3e_1 == null ? 0 : hashCode(this.t3e_1);
65110
- result = imul(result, 31) + (this.u3e_1 == null ? 0 : hashCode(this.u3e_1)) | 0;
65111
- result = imul(result, 31) + (this.v3e_1 == null ? 0 : hashCode(this.v3e_1)) | 0;
65116
+ var result = this.v3e_1 == null ? 0 : hashCode(this.v3e_1);
65112
65117
  result = imul(result, 31) + (this.w3e_1 == null ? 0 : hashCode(this.w3e_1)) | 0;
65113
65118
  result = imul(result, 31) + (this.x3e_1 == null ? 0 : hashCode(this.x3e_1)) | 0;
65114
65119
  result = imul(result, 31) + (this.y3e_1 == null ? 0 : hashCode(this.y3e_1)) | 0;
65115
65120
  result = imul(result, 31) + (this.z3e_1 == null ? 0 : hashCode(this.z3e_1)) | 0;
65116
65121
  result = imul(result, 31) + (this.a3f_1 == null ? 0 : hashCode(this.a3f_1)) | 0;
65117
65122
  result = imul(result, 31) + (this.b3f_1 == null ? 0 : hashCode(this.b3f_1)) | 0;
65118
- result = imul(result, 31) + getStringHashCode(this.c3f_1) | 0;
65123
+ result = imul(result, 31) + (this.c3f_1 == null ? 0 : hashCode(this.c3f_1)) | 0;
65124
+ result = imul(result, 31) + (this.d3f_1 == null ? 0 : hashCode(this.d3f_1)) | 0;
65125
+ result = imul(result, 31) + getStringHashCode(this.e3f_1) | 0;
65119
65126
  return result;
65120
65127
  };
65121
65128
  RTCStatsJS.prototype.equals = function (other) {
@@ -65124,10 +65131,6 @@ function requireClientsdkClientcore () {
65124
65131
  if (!(other instanceof RTCStatsJS))
65125
65132
  return false;
65126
65133
  var tmp0_other_with_cast = other instanceof RTCStatsJS ? other : THROW_CCE();
65127
- if (!equals(this.t3e_1, tmp0_other_with_cast.t3e_1))
65128
- return false;
65129
- if (!equals(this.u3e_1, tmp0_other_with_cast.u3e_1))
65130
- return false;
65131
65134
  if (!equals(this.v3e_1, tmp0_other_with_cast.v3e_1))
65132
65135
  return false;
65133
65136
  if (!equals(this.w3e_1, tmp0_other_with_cast.w3e_1))
@@ -65142,46 +65145,50 @@ function requireClientsdkClientcore () {
65142
65145
  return false;
65143
65146
  if (!equals(this.b3f_1, tmp0_other_with_cast.b3f_1))
65144
65147
  return false;
65145
- if (!(this.c3f_1 === tmp0_other_with_cast.c3f_1))
65148
+ if (!equals(this.c3f_1, tmp0_other_with_cast.c3f_1))
65149
+ return false;
65150
+ if (!equals(this.d3f_1, tmp0_other_with_cast.d3f_1))
65151
+ return false;
65152
+ if (!(this.e3f_1 === tmp0_other_with_cast.e3f_1))
65146
65153
  return false;
65147
65154
  return true;
65148
65155
  };
65149
65156
  RTCStatsJS.$metadata$ = classMeta('RTCStatsJS');
65150
65157
  Object.defineProperty(RTCStatsJS.prototype, 'audioRecvPackets', {
65151
65158
  configurable: true,
65152
- get: RTCStatsJS.prototype.d3f
65159
+ get: RTCStatsJS.prototype.f3f
65153
65160
  });
65154
65161
  Object.defineProperty(RTCStatsJS.prototype, 'audioRecvPacketsLost', {
65155
65162
  configurable: true,
65156
- get: RTCStatsJS.prototype.e3f
65163
+ get: RTCStatsJS.prototype.g3f
65157
65164
  });
65158
65165
  Object.defineProperty(RTCStatsJS.prototype, 'audioRecvBytes', {
65159
65166
  configurable: true,
65160
- get: RTCStatsJS.prototype.f3f
65167
+ get: RTCStatsJS.prototype.h3f
65161
65168
  });
65162
65169
  Object.defineProperty(RTCStatsJS.prototype, 'audioRecvJitter', {
65163
65170
  configurable: true,
65164
- get: RTCStatsJS.prototype.g3f
65171
+ get: RTCStatsJS.prototype.i3f
65165
65172
  });
65166
65173
  Object.defineProperty(RTCStatsJS.prototype, 'audioSentPackets', {
65167
65174
  configurable: true,
65168
- get: RTCStatsJS.prototype.h3f
65175
+ get: RTCStatsJS.prototype.j3f
65169
65176
  });
65170
65177
  Object.defineProperty(RTCStatsJS.prototype, 'audioSentBytes', {
65171
65178
  configurable: true,
65172
- get: RTCStatsJS.prototype.i3f
65179
+ get: RTCStatsJS.prototype.k3f
65173
65180
  });
65174
65181
  Object.defineProperty(RTCStatsJS.prototype, 'audioSentPacketsLost', {
65175
65182
  configurable: true,
65176
- get: RTCStatsJS.prototype.j3f
65183
+ get: RTCStatsJS.prototype.l3f
65177
65184
  });
65178
65185
  Object.defineProperty(RTCStatsJS.prototype, 'audioRtt', {
65179
65186
  configurable: true,
65180
- get: RTCStatsJS.prototype.k3f
65187
+ get: RTCStatsJS.prototype.m3f
65181
65188
  });
65182
65189
  Object.defineProperty(RTCStatsJS.prototype, 'audioSentJitter', {
65183
65190
  configurable: true,
65184
- get: RTCStatsJS.prototype.l3f
65191
+ get: RTCStatsJS.prototype.n3f
65185
65192
  });
65186
65193
  Object.defineProperty(RTCStatsJS.prototype, 'legId', {
65187
65194
  configurable: true,
@@ -65219,7 +65226,7 @@ function requireClientsdkClientcore () {
65219
65226
  };
65220
65227
  }
65221
65228
  function HttpClientJSAdapter$1($js) {
65222
- this.o3f_1 = $js;
65229
+ this.q3f_1 = $js;
65223
65230
  }
65224
65231
  HttpClientJSAdapter$1.prototype.c2v = function (verb, url, headers, body, callback) {
65225
65232
  var tmp = verb.toString();
@@ -65231,7 +65238,7 @@ function requireClientsdkClientcore () {
65231
65238
  tmp$ret$0 = fromMap(JSON, headers);
65232
65239
  tmp$ret$1 = tmp$ret$0;
65233
65240
  var tmp_0 = tmp$ret$1;
65234
- this.o3f_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
65241
+ this.q3f_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
65235
65242
  };
65236
65243
  HttpClientJSAdapter$1.$metadata$ = classMeta(undefined, [HTTPClient]);
65237
65244
  function SocketClientJSAdapter$o$emit$lambda($callback) {
@@ -65255,14 +65262,14 @@ function requireClientsdkClientcore () {
65255
65262
  };
65256
65263
  }
65257
65264
  function SocketClientJSAdapter$adapter$1($js) {
65258
- this.q3f_1 = $js;
65259
- this.p3f_1 = null;
65265
+ this.s3f_1 = $js;
65266
+ this.r3f_1 = null;
65260
65267
  }
65261
65268
  SocketClientJSAdapter$adapter$1.prototype.f2v = function (_set____db54di) {
65262
- this.p3f_1 = _set____db54di;
65269
+ this.r3f_1 = _set____db54di;
65263
65270
  };
65264
- SocketClientJSAdapter$adapter$1.prototype.r3f = function () {
65265
- return this.p3f_1;
65271
+ SocketClientJSAdapter$adapter$1.prototype.t3f = function () {
65272
+ return this.r3f_1;
65266
65273
  };
65267
65274
  SocketClientJSAdapter$adapter$1.prototype.g2v = function (type, msg, callback) {
65268
65275
  var tmp0_safe_receiver = msg;
@@ -65280,26 +65287,26 @@ function requireClientsdkClientcore () {
65280
65287
  tmp = tmp$ret$1;
65281
65288
  }
65282
65289
  var tmp_0 = tmp;
65283
- this.q3f_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
65290
+ this.s3f_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
65284
65291
  };
65285
65292
  SocketClientJSAdapter$adapter$1.prototype.h2v = function (host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, session_id, query) {
65286
- this.q3f_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, query);
65293
+ this.s3f_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, query);
65287
65294
  };
65288
65295
  SocketClientJSAdapter$adapter$1.prototype.i2v = function () {
65289
- this.q3f_1.disconnect();
65296
+ this.s3f_1.disconnect();
65290
65297
  };
65291
65298
  SocketClientJSAdapter$adapter$1.prototype.j2v = function (token) {
65292
- this.q3f_1.setConnectParamsSocketConfig(token);
65299
+ this.s3f_1.setConnectParamsSocketConfig(token);
65293
65300
  };
65294
65301
  SocketClientJSAdapter$adapter$1.prototype.k2v = function (milliseconds, callback) {
65295
- this.q3f_1.startVerifyResponseTimer(milliseconds, callback);
65302
+ this.s3f_1.startVerifyResponseTimer(milliseconds, callback);
65296
65303
  };
65297
65304
  SocketClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [SocketClient]);
65298
65305
  function SocketClientJSAdapter$1($adapter) {
65299
- this.s3f_1 = $adapter;
65306
+ this.u3f_1 = $adapter;
65300
65307
  }
65301
65308
  SocketClientJSAdapter$1.prototype.didReceiveNewSocketEvent = function (type, body) {
65302
- var tmp0_safe_receiver = this.s3f_1.p3f_1;
65309
+ var tmp0_safe_receiver = this.u3f_1.r3f_1;
65303
65310
  if (tmp0_safe_receiver == null)
65304
65311
  null;
65305
65312
  else {
@@ -65337,7 +65344,7 @@ function requireClientsdkClientcore () {
65337
65344
  var tmp;
65338
65345
  switch (tmp0_subject_0) {
65339
65346
  case 'NXMCORE_REASON_SERVER_DISCONNECTED':
65340
- var tmp1_safe_receiver_0 = this.s3f_1.p3f_1;
65347
+ var tmp1_safe_receiver_0 = this.u3f_1.r3f_1;
65341
65348
  var tmp_0;
65342
65349
  if (tmp1_safe_receiver_0 == null) {
65343
65350
  tmp_0 = null;
@@ -65349,7 +65356,7 @@ function requireClientsdkClientcore () {
65349
65356
  tmp = tmp_0;
65350
65357
  break;
65351
65358
  case 'NXMCORE_REASON_CLIENT_DISCONNECTED':
65352
- var tmp2_safe_receiver = this.s3f_1.p3f_1;
65359
+ var tmp2_safe_receiver = this.u3f_1.r3f_1;
65353
65360
  var tmp_1;
65354
65361
  if (tmp2_safe_receiver == null) {
65355
65362
  tmp_1 = null;
@@ -65361,7 +65368,7 @@ function requireClientsdkClientcore () {
65361
65368
  tmp = tmp_1;
65362
65369
  break;
65363
65370
  case 'NXMCORE_CLIENT_NETWORK_ERROR':
65364
- var tmp3_safe_receiver = this.s3f_1.p3f_1;
65371
+ var tmp3_safe_receiver = this.u3f_1.r3f_1;
65365
65372
  var tmp_2;
65366
65373
  if (tmp3_safe_receiver == null) {
65367
65374
  tmp_2 = null;
@@ -65373,7 +65380,7 @@ function requireClientsdkClientcore () {
65373
65380
  tmp = tmp_2;
65374
65381
  break;
65375
65382
  case 'NXMCORE_REASON_PING_TIMEOUT':
65376
- var tmp4_safe_receiver = this.s3f_1.p3f_1;
65383
+ var tmp4_safe_receiver = this.u3f_1.r3f_1;
65377
65384
  var tmp_3;
65378
65385
  if (tmp4_safe_receiver == null) {
65379
65386
  tmp_3 = null;
@@ -65385,7 +65392,7 @@ function requireClientsdkClientcore () {
65385
65392
  tmp = tmp_3;
65386
65393
  break;
65387
65394
  default:
65388
- var tmp5_safe_receiver = this.s3f_1.p3f_1;
65395
+ var tmp5_safe_receiver = this.u3f_1.r3f_1;
65389
65396
  var tmp_4;
65390
65397
  if (tmp5_safe_receiver == null) {
65391
65398
  tmp_4 = null;
@@ -65403,43 +65410,43 @@ function requireClientsdkClientcore () {
65403
65410
  };
65404
65411
  SocketClientJSAdapter$1.$metadata$ = classMeta();
65405
65412
  function MediaClientJSAdapter$adapter$1($js) {
65406
- this.u3f_1 = $js;
65407
- this.t3f_1 = null;
65413
+ this.w3f_1 = $js;
65414
+ this.v3f_1 = null;
65408
65415
  }
65409
65416
  MediaClientJSAdapter$adapter$1.prototype.n2v = function (_set____db54di) {
65410
- this.t3f_1 = _set____db54di;
65417
+ this.v3f_1 = _set____db54di;
65411
65418
  };
65412
65419
  MediaClientJSAdapter$adapter$1.prototype.o2v = function (closure) {
65413
- this.u3f_1.enableMediaOutbound(closure);
65420
+ this.w3f_1.enableMediaOutbound(closure);
65414
65421
  };
65415
- MediaClientJSAdapter$adapter$1.prototype.v3f = function (closure, offerSDP, rtcId) {
65416
- this.u3f_1.enableMediaInbound(closure, offerSDP, rtcId);
65422
+ MediaClientJSAdapter$adapter$1.prototype.x3f = function (closure, offerSDP, rtcId) {
65423
+ this.w3f_1.enableMediaInbound(closure, offerSDP, rtcId);
65417
65424
  };
65418
65425
  MediaClientJSAdapter$adapter$1.prototype.p2v = function (closure, offerSDP, rtcId) {
65419
- return this.v3f(closure, offerSDP, rtcId);
65426
+ return this.x3f(closure, offerSDP, rtcId);
65420
65427
  };
65421
65428
  MediaClientJSAdapter$adapter$1.prototype.q2v = function (id, sdp) {
65422
- this.u3f_1.processAnswer(id, sdp);
65429
+ this.w3f_1.processAnswer(id, sdp);
65423
65430
  };
65424
65431
  MediaClientJSAdapter$adapter$1.prototype.r2v = function (id) {
65425
- this.u3f_1.disableMedia(id);
65432
+ this.w3f_1.disableMedia(id);
65426
65433
  };
65427
65434
  MediaClientJSAdapter$adapter$1.prototype.s2v = function (id) {
65428
- this.u3f_1.mute(id);
65435
+ this.w3f_1.mute(id);
65429
65436
  };
65430
65437
  MediaClientJSAdapter$adapter$1.prototype.t2v = function (id) {
65431
- this.u3f_1.unmute(id);
65438
+ this.w3f_1.unmute(id);
65432
65439
  };
65433
65440
  MediaClientJSAdapter$adapter$1.prototype.u2v = function (interval, mediaId) {
65434
- this.u3f_1.enableRtcStatsCollection(interval, mediaId);
65441
+ this.w3f_1.enableRtcStatsCollection(interval, mediaId);
65435
65442
  };
65436
65443
  MediaClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [MediaClient]);
65437
65444
  function MediaClientJSAdapter$1($adapter) {
65438
- this.w3f_1 = $adapter;
65445
+ this.y3f_1 = $adapter;
65439
65446
  }
65440
65447
  MediaClientJSAdapter$1.prototype.onRtcStats = function (rtcStats) {
65441
- 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);
65442
- var tmp0_safe_receiver = this.w3f_1.t3f_1;
65448
+ 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);
65449
+ var tmp0_safe_receiver = this.y3f_1.v3f_1;
65443
65450
  if (tmp0_safe_receiver == null)
65444
65451
  null;
65445
65452
  else {
@@ -65451,7 +65458,7 @@ function requireClientsdkClientcore () {
65451
65458
  switch (tmp0_subject) {
65452
65459
  case 'new':
65453
65460
  case 'checking':
65454
- var tmp1_safe_receiver = this.w3f_1.t3f_1;
65461
+ var tmp1_safe_receiver = this.y3f_1.v3f_1;
65455
65462
  if (tmp1_safe_receiver == null)
65456
65463
  null;
65457
65464
  else {
@@ -65461,7 +65468,7 @@ function requireClientsdkClientcore () {
65461
65468
  ;
65462
65469
  break;
65463
65470
  case 'connecting':
65464
- var tmp2_safe_receiver = this.w3f_1.t3f_1;
65471
+ var tmp2_safe_receiver = this.y3f_1.v3f_1;
65465
65472
  if (tmp2_safe_receiver == null)
65466
65473
  null;
65467
65474
  else {
@@ -65471,7 +65478,7 @@ function requireClientsdkClientcore () {
65471
65478
  ;
65472
65479
  break;
65473
65480
  case 'connected':
65474
- var tmp3_safe_receiver = this.w3f_1.t3f_1;
65481
+ var tmp3_safe_receiver = this.y3f_1.v3f_1;
65475
65482
  if (tmp3_safe_receiver == null)
65476
65483
  null;
65477
65484
  else {
@@ -65481,7 +65488,7 @@ function requireClientsdkClientcore () {
65481
65488
  ;
65482
65489
  break;
65483
65490
  case 'disconnected':
65484
- var tmp4_safe_receiver = this.w3f_1.t3f_1;
65491
+ var tmp4_safe_receiver = this.y3f_1.v3f_1;
65485
65492
  if (tmp4_safe_receiver == null)
65486
65493
  null;
65487
65494
  else {
@@ -65491,7 +65498,7 @@ function requireClientsdkClientcore () {
65491
65498
  ;
65492
65499
  break;
65493
65500
  case 'closed':
65494
- var tmp5_safe_receiver = this.w3f_1.t3f_1;
65501
+ var tmp5_safe_receiver = this.y3f_1.v3f_1;
65495
65502
  if (tmp5_safe_receiver == null)
65496
65503
  null;
65497
65504
  else {
@@ -65501,7 +65508,7 @@ function requireClientsdkClientcore () {
65501
65508
  ;
65502
65509
  break;
65503
65510
  case 'failed':
65504
- var tmp6_safe_receiver = this.w3f_1.t3f_1;
65511
+ var tmp6_safe_receiver = this.y3f_1.v3f_1;
65505
65512
  if (tmp6_safe_receiver == null)
65506
65513
  null;
65507
65514
  else {
@@ -65511,7 +65518,7 @@ function requireClientsdkClientcore () {
65511
65518
  ;
65512
65519
  break;
65513
65520
  default:
65514
- var tmp7_safe_receiver = this.w3f_1.t3f_1;
65521
+ var tmp7_safe_receiver = this.y3f_1.v3f_1;
65515
65522
  if (tmp7_safe_receiver == null)
65516
65523
  null;
65517
65524
  else {
@@ -66430,9 +66437,6 @@ class MediaClient {
66430
66437
  (_a = receiver.track) === null || _a === void 0 ? void 0 : _a.stop();
66431
66438
  });
66432
66439
  }
66433
- else {
66434
- throw new Error('No RTCPeerConnection established');
66435
- }
66436
66440
  }
66437
66441
  // Private Methods
66438
66442
  setMediaTracksEnabled(id, value) {
@@ -66560,9 +66564,24 @@ const HangupReason = clientsdkClientcore_jsExports.vonage.HangupReasonJS;
66560
66564
  const SessionErrorReason = clientsdkClientcore_jsExports.vonage.SessionErrorReasonJS;
66561
66565
  const LegStatus = clientsdkClientcore_jsExports.vonage.LegStatusJS;
66562
66566
  const setVonageClientLoggingLevel = setDefaultLoggingLevel;
66567
+ /**
66568
+ * VonageClient is the main entry point for the Vonage Client SDK.
66569
+ *
66570
+ * @privateRemarks
66571
+ * This class is a wrapper around the KMP `CombinedClientJS` class.
66572
+ * It provides a more JS-like API, and also provides a proxy object
66573
+ * to allow for registering callbacks via `on()`.
66574
+ *
66575
+ * Minimal Interface built on top of KMP export
66576
+ * DO NOT ADD CODE HERE UNLESS REALLY NEEDEED!!111!
66577
+ */
66563
66578
  class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS {
66564
66579
  constructor() {
66565
66580
  super(new HttpClient(), new SocketClient(), new MediaClient());
66581
+ /**
66582
+ * Proxy object to allow for registering callbacks via `on()`
66583
+ * @internal
66584
+ */
66566
66585
  this.callbacks = new Map();
66567
66586
  // eslint-disable-next-line @typescript-eslint/no-this-alias
66568
66587
  const _this = this;
@@ -66577,10 +66596,62 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
66577
66596
  }
66578
66597
  });
66579
66598
  }
66599
+ /**
66600
+ * Register a callback for an event.
66601
+ *
66602
+ * NOTE: you can only register one callback per event.
66603
+ *
66604
+ * @param event - the event to register for (e.g. 'legStatusUpdate')
66605
+ * @param callback - the callback to register for the event
66606
+ * @returns void
66607
+ */
66580
66608
  on(event, callback) {
66581
66609
  this.callbacks.set(event, callback);
66582
66610
  }
66583
- // overrides to make the JS api more JS-like
66611
+ /**
66612
+ * Create a session with a token and optional sessionId
66613
+ * If no sessionId is provided, a new one will be generated
66614
+ * and returned. If a sessionId is provided, it will be used
66615
+ * to resume an existing session.
66616
+ *
66617
+ * @param token
66618
+ * @param sessionId - optional sessionId to use
66619
+ * @returns the `sessionId` of the session
66620
+ */
66621
+ createSession(token, sessionId) {
66622
+ const _super = Object.create(null, {
66623
+ createSession: { get: () => super.createSession }
66624
+ });
66625
+ return __awaiter(this, void 0, void 0, function* () {
66626
+ return _super.createSession.call(this, token, sessionId || null);
66627
+ });
66628
+ }
66629
+ /**
66630
+ * Make a server call to the Vonage API.
66631
+ * This is used to initiate a call using the Voice API and NCCO.
66632
+ *
66633
+ * @param context - the context to send to the server passed as Custom data to the voice answer webhook
66634
+ * @returns the `callId` of the call
66635
+ */
66636
+ serverCall(context) {
66637
+ const _super = Object.create(null, {
66638
+ serverCall: { get: () => super.serverCall }
66639
+ });
66640
+ return __awaiter(this, void 0, void 0, function* () {
66641
+ return _super.serverCall.call(this, context || null);
66642
+ });
66643
+ }
66644
+ /**
66645
+ * Hangup a call.
66646
+ *
66647
+ * @remarks
66648
+ * this is a convenience method that calls `hangupWithReason` with
66649
+ *
66650
+ * @param callId - the `callId` of the call to hangup
66651
+ * @param reasonText - optional reason text to send to the other party
66652
+ * @param reasonCode - optional reason code to send to the other party
66653
+ * @returns void
66654
+ */
66584
66655
  hangup(callId, reasonText, reasonCode) {
66585
66656
  const _super = Object.create(null, {
66586
66657
  hangupWithReason: { get: () => super.hangupWithReason }
@@ -66589,6 +66660,21 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
66589
66660
  return _super.hangupWithReason.call(this, callId, reasonText || null, reasonCode || null);
66590
66661
  });
66591
66662
  }
66663
+ say(callId, params) {
66664
+ const _super = Object.create(null, {
66665
+ say: { get: () => super.say }
66666
+ });
66667
+ return __awaiter(this, void 0, void 0, function* () {
66668
+ const defaultParams = {
66669
+ voiceName: null,
66670
+ loop: null,
66671
+ level: null,
66672
+ ssml: null,
66673
+ queue: null
66674
+ };
66675
+ return _super.say.call(this, callId, Object.assign(Object.assign({}, defaultParams), (typeof params === 'string' ? { text: params } : params)));
66676
+ });
66677
+ }
66592
66678
  }
66593
66679
 
66594
66680
  exports.CSErrorCodes = CSErrorCodes;