@webex/plugin-meetings 3.8.0-next.27 → 3.8.0-next.28

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.
@@ -209,7 +209,7 @@ var Breakout = _webexCore.WebexPlugin.extend({
209
209
  sessionId: this.sessionId
210
210
  });
211
211
  },
212
- version: "3.8.0-next.27"
212
+ version: "3.8.0-next.28"
213
213
  });
214
214
  var _default = exports.default = Breakout;
215
215
  //# sourceMappingURL=breakout.js.map
@@ -1046,7 +1046,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
1046
1046
  this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
1047
1047
  }
1048
1048
  },
1049
- version: "3.8.0-next.27"
1049
+ version: "3.8.0-next.28"
1050
1050
  });
1051
1051
  var _default = exports.default = Breakouts;
1052
1052
  //# sourceMappingURL=index.js.map
@@ -373,7 +373,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
373
373
  throw error;
374
374
  });
375
375
  },
376
- version: "3.8.0-next.27"
376
+ version: "3.8.0-next.28"
377
377
  });
378
378
  var _default = exports.default = SimultaneousInterpretation;
379
379
  //# sourceMappingURL=index.js.map
@@ -18,7 +18,7 @@ var SILanguage = _webexCore.WebexPlugin.extend({
18
18
  languageCode: 'number',
19
19
  languageName: 'string'
20
20
  },
21
- version: "3.8.0-next.27"
21
+ version: "3.8.0-next.28"
22
22
  });
23
23
  var _default = exports.default = SILanguage;
24
24
  //# sourceMappingURL=siLanguage.js.map
@@ -11,7 +11,7 @@ var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequ
11
11
  _Object$defineProperty(exports, "__esModule", {
12
12
  value: true
13
13
  });
14
- exports.default = exports.MeetingInfoV2PolicyError = exports.MeetingInfoV2PasswordError = exports.MeetingInfoV2JoinWebinarError = exports.MeetingInfoV2JoinForbiddenError = exports.MeetingInfoV2CaptchaError = exports.MeetingInfoV2AdhocMeetingError = void 0;
14
+ exports.default = exports.MeetingInfoV2StaticMeetingLinkAlreadyExists = exports.MeetingInfoV2PolicyError = exports.MeetingInfoV2PasswordError = exports.MeetingInfoV2MeetingIsInProgressError = exports.MeetingInfoV2JoinWebinarError = exports.MeetingInfoV2JoinForbiddenError = exports.MeetingInfoV2CaptchaError = exports.MeetingInfoV2AdhocMeetingError = void 0;
15
15
  var _keys = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/keys"));
16
16
  var _regenerator = _interopRequireDefault(require("@babel/runtime-corejs2/regenerator"));
17
17
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/asyncToGenerator"));
@@ -35,6 +35,8 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_R
35
35
  var PASSWORD_ERROR_DEFAULT_MESSAGE = 'Password required. Call fetchMeetingInfo() with password argument';
36
36
  var CAPTCHA_ERROR_DEFAULT_MESSAGE = 'Captcha required. Call fetchMeetingInfo() with captchaInfo argument';
37
37
  var ADHOC_MEETING_DEFAULT_ERROR = 'Failed starting the adhoc meeting, Please contact support team ';
38
+ var MEETING_IS_IN_PROGRESS_MESSAGE = 'Meeting is in progress';
39
+ var STATIC_MEETING_LINK_ALREADY_EXISTS_MESSAGE = 'Static meeting link already exists';
38
40
  var CAPTCHA_ERROR_REQUIRES_PASSWORD_CODES = [423005, 423006];
39
41
  var CAPTCHA_ERROR_REQUIRES_REGISTRATION_ID_CODES = [423007];
40
42
  var POLICY_ERROR_CODES = [403049, 403104, 403103, 403048, 403102, 403101];
@@ -234,6 +236,64 @@ var MeetingInfoV2JoinForbiddenError = exports.MeetingInfoV2JoinForbiddenError =
234
236
  }
235
237
  return (0, _createClass2.default)(MeetingInfoV2JoinForbiddenError);
236
238
  }( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
239
+ /**
240
+ * Error enabling/disabling static meeting link
241
+ */
242
+ var MeetingInfoV2MeetingIsInProgressError = exports.MeetingInfoV2MeetingIsInProgressError = /*#__PURE__*/function (_Error7) {
243
+ (0, _inherits2.default)(MeetingInfoV2MeetingIsInProgressError, _Error7);
244
+ var _super7 = _createSuper(MeetingInfoV2MeetingIsInProgressError);
245
+ /**
246
+ *
247
+ * @constructor
248
+ * @param {Number} [wbxAppApiErrorCode]
249
+ * @param {String} [message]
250
+ * @param {Boolean} [enable]
251
+ */
252
+ function MeetingInfoV2MeetingIsInProgressError(wbxAppApiErrorCode) {
253
+ var _this7;
254
+ var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : MEETING_IS_IN_PROGRESS_MESSAGE;
255
+ var enable = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
256
+ (0, _classCallCheck2.default)(this, MeetingInfoV2MeetingIsInProgressError);
257
+ _this7 = _super7.call(this, "".concat(message, ", code=").concat(wbxAppApiErrorCode, ", enable=").concat(enable));
258
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this7), "sdkMessage", void 0);
259
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this7), "wbxAppApiCode", void 0);
260
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this7), "body", void 0);
261
+ _this7.name = 'MeetingInfoV2MeetingIsInProgressError';
262
+ _this7.sdkMessage = message;
263
+ _this7.stack = new Error().stack;
264
+ _this7.wbxAppApiCode = wbxAppApiErrorCode;
265
+ return _this7;
266
+ }
267
+ return (0, _createClass2.default)(MeetingInfoV2MeetingIsInProgressError);
268
+ }( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
269
+ /**
270
+ * Error enabling/disabling static meeting link
271
+ */
272
+ var MeetingInfoV2StaticMeetingLinkAlreadyExists = exports.MeetingInfoV2StaticMeetingLinkAlreadyExists = /*#__PURE__*/function (_Error8) {
273
+ (0, _inherits2.default)(MeetingInfoV2StaticMeetingLinkAlreadyExists, _Error8);
274
+ var _super8 = _createSuper(MeetingInfoV2StaticMeetingLinkAlreadyExists);
275
+ /**
276
+ *
277
+ * @constructor
278
+ * @param {Number} [wbxAppApiErrorCode]
279
+ * @param {String} [message]
280
+ */
281
+ function MeetingInfoV2StaticMeetingLinkAlreadyExists(wbxAppApiErrorCode) {
282
+ var _this8;
283
+ var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : STATIC_MEETING_LINK_ALREADY_EXISTS_MESSAGE;
284
+ (0, _classCallCheck2.default)(this, MeetingInfoV2StaticMeetingLinkAlreadyExists);
285
+ _this8 = _super8.call(this, "".concat(message, ", code=").concat(wbxAppApiErrorCode));
286
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this8), "sdkMessage", void 0);
287
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this8), "wbxAppApiCode", void 0);
288
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this8), "body", void 0);
289
+ _this8.name = 'MeetingInfoV2StaticMeetingLinkAlreadyExists';
290
+ _this8.sdkMessage = message;
291
+ _this8.stack = new Error().stack;
292
+ _this8.wbxAppApiCode = wbxAppApiErrorCode;
293
+ return _this8;
294
+ }
295
+ return (0, _createClass2.default)(MeetingInfoV2StaticMeetingLinkAlreadyExists);
296
+ }( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
237
297
  /**
238
298
  * @class MeetingInfo
239
299
  */
@@ -321,29 +381,27 @@ var MeetingInfoV2 = exports.default = /*#__PURE__*/function () {
321
381
  });
322
382
  }
323
383
  }, {
324
- key: "createAdhocSpaceMeeting",
384
+ key: "createAdhocSpaceMeetingOrEnableStaticMeetingLink",
325
385
  value: (
326
386
  /**
327
- * Creates adhoc space meetings for a space by fetching the conversation infomation
387
+ * helper function to either create an adhoc space meeting or enable static meeting link
328
388
  * @param {String} conversationUrl conversationUrl to start adhoc meeting on
329
389
  * @param {String} installedOrgID org ID of user's machine
390
+ * @param {Boolean} enableStaticMeetingLink whether or not to enable static meeting link
330
391
  * @returns {Promise} returns a meeting info object
331
392
  * @public
332
393
  * @memberof MeetingInfo
333
394
  */
334
395
  function () {
335
- var _createAdhocSpaceMeeting = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(conversationUrl, installedOrgID) {
336
- var _this7 = this;
337
- var getInvitees;
396
+ var _createAdhocSpaceMeetingOrEnableStaticMeetingLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(conversationUrl, installedOrgID) {
397
+ var _this9 = this;
398
+ var enableStaticMeetingLink,
399
+ getInvitees,
400
+ _args = arguments;
338
401
  return _regenerator.default.wrap(function _callee$(_context) {
339
402
  while (1) switch (_context.prev = _context.next) {
340
403
  case 0:
341
- if (this.webex.meetings.preferredWebexSite) {
342
- _context.next = 2;
343
- break;
344
- }
345
- throw Error('No preferred webex site found');
346
- case 2:
404
+ enableStaticMeetingLink = _args.length > 2 && _args[2] !== undefined ? _args[2] : false;
347
405
  getInvitees = function getInvitees() {
348
406
  var particpants = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
349
407
  var invitees = [];
@@ -372,42 +430,136 @@ var MeetingInfoV2 = exports.default = /*#__PURE__*/function () {
372
430
  keyUrl: conversation.encryptionKeyUrl,
373
431
  kroUrl: conversation.kmsResourceObjectUrl,
374
432
  invitees: getInvitees((_conversation$partici = conversation.participants) === null || _conversation$partici === void 0 ? void 0 : _conversation$partici.items),
375
- installedOrgID: installedOrgID
433
+ installedOrgID: installedOrgID,
434
+ schedule: enableStaticMeetingLink
376
435
  };
377
436
  if (installedOrgID) {
378
437
  body.installedOrgID = installedOrgID;
379
438
  }
380
- var uri = _this7.webex.meetings.preferredWebexSite ? "https://".concat(_this7.webex.meetings.preferredWebexSite, "/wbxappapi/v2/meetings/spaceInstant") : '';
381
- return _this7.webex.request({
439
+ var uri = _this9.webex.meetings.preferredWebexSite ? "https://".concat(_this9.webex.meetings.preferredWebexSite, "/wbxappapi/v2/meetings/spaceInstant") : '';
440
+ return _this9.webex.request({
382
441
  method: _constants.HTTP_VERBS.POST,
383
442
  uri: uri,
384
443
  body: body
385
444
  });
386
- }).then(function (requestResult) {
445
+ }));
446
+ case 3:
447
+ case "end":
448
+ return _context.stop();
449
+ }
450
+ }, _callee, this);
451
+ }));
452
+ function createAdhocSpaceMeetingOrEnableStaticMeetingLink(_x, _x2) {
453
+ return _createAdhocSpaceMeetingOrEnableStaticMeetingLink.apply(this, arguments);
454
+ }
455
+ return createAdhocSpaceMeetingOrEnableStaticMeetingLink;
456
+ }()
457
+ /**
458
+ * Creates adhoc space meetings for a space by fetching the conversation infomation
459
+ * @param {String} conversationUrl conversationUrl to start adhoc meeting on
460
+ * @param {String} installedOrgID org ID of user's machine
461
+ * @returns {Promise} returns a meeting info object
462
+ * @public
463
+ * @memberof MeetingInfo
464
+ */
465
+ )
466
+ }, {
467
+ key: "createAdhocSpaceMeeting",
468
+ value: (function () {
469
+ var _createAdhocSpaceMeeting = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(conversationUrl, installedOrgID) {
470
+ var _this10 = this;
471
+ return _regenerator.default.wrap(function _callee2$(_context2) {
472
+ while (1) switch (_context2.prev = _context2.next) {
473
+ case 0:
474
+ if (this.webex.meetings.preferredWebexSite) {
475
+ _context2.next = 2;
476
+ break;
477
+ }
478
+ throw Error('No preferred webex site found');
479
+ case 2:
480
+ return _context2.abrupt("return", this.createAdhocSpaceMeetingOrEnableStaticMeetingLink(conversationUrl, installedOrgID).then(function (requestResult) {
387
481
  _metrics.default.sendBehavioralMetric(_constants2.default.ADHOC_MEETING_SUCCESS);
388
482
  return requestResult;
389
483
  }).catch(function (err) {
390
484
  var _err$body16, _err$body17;
391
- _this7.handlePolicyError(err);
392
- _this7.handleJoinWebinarError(err);
393
- _this7.handleForbiddenError(err);
485
+ _this10.handlePolicyError(err);
486
+ _this10.handleJoinWebinarError(err);
487
+ _this10.handleForbiddenError(err);
394
488
  _metrics.default.sendBehavioralMetric(_constants2.default.ADHOC_MEETING_FAILURE, {
395
489
  reason: err.message,
396
490
  stack: err.stack
397
491
  });
398
492
  throw new MeetingInfoV2AdhocMeetingError((_err$body16 = err.body) === null || _err$body16 === void 0 ? void 0 : _err$body16.code, (_err$body17 = err.body) === null || _err$body17 === void 0 ? void 0 : _err$body17.message);
399
493
  }));
400
- case 4:
494
+ case 3:
401
495
  case "end":
402
- return _context.stop();
496
+ return _context2.stop();
403
497
  }
404
- }, _callee, this);
498
+ }, _callee2, this);
405
499
  }));
406
- function createAdhocSpaceMeeting(_x, _x2) {
500
+ function createAdhocSpaceMeeting(_x3, _x4) {
407
501
  return _createAdhocSpaceMeeting.apply(this, arguments);
408
502
  }
409
503
  return createAdhocSpaceMeeting;
410
504
  }()
505
+ /**
506
+ * Enables static meeting link
507
+ * @param {String} conversationUrl conversationUrl that's required to enable static meeting link
508
+ * @returns {Promise} returns a meeting info object
509
+ * @public
510
+ * @memberof MeetingInfo
511
+ */
512
+ )
513
+ }, {
514
+ key: "enableStaticMeetingLink",
515
+ value: (function () {
516
+ var _enableStaticMeetingLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(conversationUrl) {
517
+ return _regenerator.default.wrap(function _callee3$(_context3) {
518
+ while (1) switch (_context3.prev = _context3.next) {
519
+ case 0:
520
+ if (this.webex.meetings.preferredWebexSite) {
521
+ _context3.next = 2;
522
+ break;
523
+ }
524
+ throw Error('No preferred webex site found');
525
+ case 2:
526
+ return _context3.abrupt("return", this.createAdhocSpaceMeetingOrEnableStaticMeetingLink(conversationUrl, undefined, true).then(function (requestResult) {
527
+ _metrics.default.sendBehavioralMetric(_constants2.default.ENABLE_STATIC_METTING_LINK_SUCCESS);
528
+ return requestResult;
529
+ }).catch(function (err) {
530
+ if ((err === null || err === void 0 ? void 0 : err.statusCode) === 403) {
531
+ var _err$body18, _err$body19;
532
+ _metrics.default.sendBehavioralMetric(_constants2.default.MEETING_IS_IN_PROGRESS_ERROR, {
533
+ reason: err.message,
534
+ stack: err.stack
535
+ });
536
+ throw new MeetingInfoV2MeetingIsInProgressError((_err$body18 = err.body) === null || _err$body18 === void 0 ? void 0 : _err$body18.code, (_err$body19 = err.body) === null || _err$body19 === void 0 ? void 0 : _err$body19.message, true);
537
+ }
538
+ if ((err === null || err === void 0 ? void 0 : err.statusCode) === 409) {
539
+ var _err$body20, _err$body21;
540
+ _metrics.default.sendBehavioralMetric(_constants2.default.STATIC_MEETING_LINK_ALREADY_EXISTS_ERROR, {
541
+ reason: err.message,
542
+ stack: err.stack
543
+ });
544
+ throw new MeetingInfoV2StaticMeetingLinkAlreadyExists((_err$body20 = err.body) === null || _err$body20 === void 0 ? void 0 : _err$body20.code, (_err$body21 = err.body) === null || _err$body21 === void 0 ? void 0 : _err$body21.message);
545
+ }
546
+ _metrics.default.sendBehavioralMetric(_constants2.default.ENABLE_STATIC_METTING_LINK_FAILURE, {
547
+ reason: err.message,
548
+ stack: err.stack
549
+ });
550
+ throw err;
551
+ }));
552
+ case 3:
553
+ case "end":
554
+ return _context3.stop();
555
+ }
556
+ }, _callee3, this);
557
+ }));
558
+ function enableStaticMeetingLink(_x5) {
559
+ return _enableStaticMeetingLink.apply(this, arguments);
560
+ }
561
+ return enableStaticMeetingLink;
562
+ }()
411
563
  /**
412
564
  * Fetches meeting info from the server
413
565
  * @param {String} destination one of many different types of destinations to look up info for
@@ -429,8 +581,8 @@ var MeetingInfoV2 = exports.default = /*#__PURE__*/function () {
429
581
  }, {
430
582
  key: "fetchMeetingInfo",
431
583
  value: (function () {
432
- var _fetchMeetingInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(destination) {
433
- var _this8 = this;
584
+ var _fetchMeetingInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(destination) {
585
+ var _this11 = this;
434
586
  var type,
435
587
  password,
436
588
  captchaInfo,
@@ -448,34 +600,34 @@ var MeetingInfoV2 = exports.default = /*#__PURE__*/function () {
448
600
  err,
449
601
  requestOptions,
450
602
  directURI,
451
- _args2 = arguments;
452
- return _regenerator.default.wrap(function _callee2$(_context2) {
453
- while (1) switch (_context2.prev = _context2.next) {
603
+ _args4 = arguments;
604
+ return _regenerator.default.wrap(function _callee4$(_context4) {
605
+ while (1) switch (_context4.prev = _context4.next) {
454
606
  case 0:
455
- type = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : null;
456
- password = _args2.length > 2 && _args2[2] !== undefined ? _args2[2] : null;
457
- captchaInfo = _args2.length > 3 && _args2[3] !== undefined ? _args2[3] : null;
458
- installedOrgID = _args2.length > 4 && _args2[4] !== undefined ? _args2[4] : null;
459
- locusId = _args2.length > 5 && _args2[5] !== undefined ? _args2[5] : null;
460
- extraParams = _args2.length > 6 && _args2[6] !== undefined ? _args2[6] : {};
461
- options = _args2.length > 7 && _args2[7] !== undefined ? _args2[7] : {};
462
- registrationId = _args2.length > 8 && _args2[8] !== undefined ? _args2[8] : null;
607
+ type = _args4.length > 1 && _args4[1] !== undefined ? _args4[1] : null;
608
+ password = _args4.length > 2 && _args4[2] !== undefined ? _args4[2] : null;
609
+ captchaInfo = _args4.length > 3 && _args4[3] !== undefined ? _args4[3] : null;
610
+ installedOrgID = _args4.length > 4 && _args4[4] !== undefined ? _args4[4] : null;
611
+ locusId = _args4.length > 5 && _args4[5] !== undefined ? _args4[5] : null;
612
+ extraParams = _args4.length > 6 && _args4[6] !== undefined ? _args4[6] : {};
613
+ options = _args4.length > 7 && _args4[7] !== undefined ? _args4[7] : {};
614
+ registrationId = _args4.length > 8 && _args4[8] !== undefined ? _args4[8] : null;
463
615
  meetingId = options.meetingId, sendCAevents = options.sendCAevents;
464
- _context2.next = 11;
616
+ _context4.next = 11;
465
617
  return _utilv.default.getDestinationType({
466
618
  destination: destination,
467
619
  type: type,
468
620
  webex: this.webex
469
621
  });
470
622
  case 11:
471
- destinationType = _context2.sent;
623
+ destinationType = _context4.sent;
472
624
  if (!(destinationType.type === _constants.DESTINATION_TYPE.CONVERSATION_URL && this.webex.config.meetings.experimental.enableAdhocMeetings && this.webex.meetings.preferredWebexSite)) {
473
- _context2.next = 14;
625
+ _context4.next = 14;
474
626
  break;
475
627
  }
476
- return _context2.abrupt("return", this.createAdhocSpaceMeeting(destinationType.destination, installedOrgID));
628
+ return _context4.abrupt("return", this.createAdhocSpaceMeeting(destinationType.destination, installedOrgID));
477
629
  case 14:
478
- _context2.next = 16;
630
+ _context4.next = 16;
479
631
  return _utilv.default.getRequestBody(_objectSpread(_objectSpread({}, destinationType), {}, {
480
632
  password: password,
481
633
  captchaInfo: captchaInfo,
@@ -485,9 +637,9 @@ var MeetingInfoV2 = exports.default = /*#__PURE__*/function () {
485
637
  registrationId: registrationId
486
638
  }));
487
639
  case 16:
488
- body = _context2.sent;
640
+ body = _context4.sent;
489
641
  if (_lodash.default.difference((0, _keys.default)(body), (0, _keys.default)(_constants.DEFAULT_MEETING_INFO_REQUEST_BODY)).length) {
490
- _context2.next = 21;
642
+ _context4.next = 21;
491
643
  break;
492
644
  }
493
645
  err = new Error('Not enough information to fetch meeting info');
@@ -503,10 +655,10 @@ var MeetingInfoV2 = exports.default = /*#__PURE__*/function () {
503
655
  method: _constants.HTTP_VERBS.POST,
504
656
  body: body
505
657
  };
506
- _context2.next = 24;
658
+ _context4.next = 24;
507
659
  return _utilv.default.getDirectMeetingInfoURI(destinationType);
508
660
  case 24:
509
- directURI = _context2.sent;
661
+ directURI = _context4.sent;
510
662
  if (directURI) {
511
663
  requestOptions.uri = directURI;
512
664
  } else {
@@ -524,13 +676,13 @@ var MeetingInfoV2 = exports.default = /*#__PURE__*/function () {
524
676
  }
525
677
  });
526
678
  }
527
- return _context2.abrupt("return", this.webex.request(requestOptions).then(function (response) {
679
+ return _context4.abrupt("return", this.webex.request(requestOptions).then(function (response) {
528
680
  if (meetingId && sendCAevents) {
529
681
  var _response$body, _response$body2, _response$body3;
530
- _this8.webex.internal.newMetrics.submitInternalEvent({
682
+ _this11.webex.internal.newMetrics.submitInternalEvent({
531
683
  name: 'internal.client.meetinginfo.response'
532
684
  });
533
- _this8.webex.internal.newMetrics.submitClientEvent({
685
+ _this11.webex.internal.newMetrics.submitClientEvent({
534
686
  name: 'client.meetinginfo.response',
535
687
  payload: {
536
688
  identifiers: {
@@ -548,10 +700,10 @@ var MeetingInfoV2 = exports.default = /*#__PURE__*/function () {
548
700
  return response;
549
701
  }).catch(function (err) {
550
702
  if (meetingId && sendCAevents) {
551
- _this8.webex.internal.newMetrics.submitInternalEvent({
703
+ _this11.webex.internal.newMetrics.submitInternalEvent({
552
704
  name: 'internal.client.meetinginfo.response'
553
705
  });
554
- _this8.webex.internal.newMetrics.submitClientEvent({
706
+ _this11.webex.internal.newMetrics.submitClientEvent({
555
707
  name: 'client.meetinginfo.response',
556
708
  payload: {
557
709
  identifiers: {
@@ -565,23 +717,23 @@ var MeetingInfoV2 = exports.default = /*#__PURE__*/function () {
565
717
  });
566
718
  }
567
719
  if ((err === null || err === void 0 ? void 0 : err.statusCode) === 403) {
568
- var _err$body18, _err$body19, _err$body19$data;
569
- _this8.handlePolicyError(err);
570
- _this8.handleJoinWebinarError(err);
571
- _this8.handleForbiddenError(err);
720
+ var _err$body22, _err$body23, _err$body23$data;
721
+ _this11.handlePolicyError(err);
722
+ _this11.handleJoinWebinarError(err);
723
+ _this11.handleForbiddenError(err);
572
724
  _metrics.default.sendBehavioralMetric(_constants2.default.VERIFY_PASSWORD_ERROR, {
573
725
  reason: err.message,
574
726
  stack: err.stack
575
727
  });
576
- throw new MeetingInfoV2PasswordError((_err$body18 = err.body) === null || _err$body18 === void 0 ? void 0 : _err$body18.code, (_err$body19 = err.body) === null || _err$body19 === void 0 ? void 0 : (_err$body19$data = _err$body19.data) === null || _err$body19$data === void 0 ? void 0 : _err$body19$data.meetingInfo);
728
+ throw new MeetingInfoV2PasswordError((_err$body22 = err.body) === null || _err$body22 === void 0 ? void 0 : _err$body22.code, (_err$body23 = err.body) === null || _err$body23 === void 0 ? void 0 : (_err$body23$data = _err$body23.data) === null || _err$body23$data === void 0 ? void 0 : _err$body23$data.meetingInfo);
577
729
  }
578
730
  if ((err === null || err === void 0 ? void 0 : err.statusCode) === 423) {
579
- var _err$body20;
731
+ var _err$body24;
580
732
  _metrics.default.sendBehavioralMetric(_constants2.default.VERIFY_CAPTCHA_ERROR, {
581
733
  reason: err.message,
582
734
  stack: err.stack
583
735
  });
584
- throw new MeetingInfoV2CaptchaError((_err$body20 = err.body) === null || _err$body20 === void 0 ? void 0 : _err$body20.code, {
736
+ throw new MeetingInfoV2CaptchaError((_err$body24 = err.body) === null || _err$body24 === void 0 ? void 0 : _err$body24.code, {
585
737
  captchaId: err.body.captchaID,
586
738
  verificationImageURL: err.body.verificationImageURL,
587
739
  verificationAudioURL: err.body.verificationAudioURL,
@@ -596,11 +748,11 @@ var MeetingInfoV2 = exports.default = /*#__PURE__*/function () {
596
748
  }));
597
749
  case 28:
598
750
  case "end":
599
- return _context2.stop();
751
+ return _context4.stop();
600
752
  }
601
- }, _callee2, this);
753
+ }, _callee4, this);
602
754
  }));
603
- function fetchMeetingInfo(_x3) {
755
+ function fetchMeetingInfo(_x6) {
604
756
  return _fetchMeetingInfo.apply(this, arguments);
605
757
  }
606
758
  return fetchMeetingInfo;