@webex/plugin-meetings 3.0.0-beta.251 → 3.0.0-beta.252

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.0.0-beta.251"
212
+ version: "3.0.0-beta.252"
213
213
  });
214
214
  var _default = Breakout;
215
215
  exports.default = _default;
@@ -1041,7 +1041,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
1041
1041
  this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
1042
1042
  }
1043
1043
  },
1044
- version: "3.0.0-beta.251"
1044
+ version: "3.0.0-beta.252"
1045
1045
  });
1046
1046
  var _default = Breakouts;
1047
1047
  exports.default = _default;
@@ -359,7 +359,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
359
359
  throw error;
360
360
  });
361
361
  },
362
- version: "3.0.0-beta.251"
362
+ version: "3.0.0-beta.252"
363
363
  });
364
364
  var _default = SimultaneousInterpretation;
365
365
  exports.default = _default;
@@ -18,7 +18,7 @@ var SILanguage = _webexCore.WebexPlugin.extend({
18
18
  languageCode: 'number',
19
19
  languageName: 'string'
20
20
  },
21
- version: "3.0.0-beta.251"
21
+ version: "3.0.0-beta.252"
22
22
  });
23
23
  var _default = SILanguage;
24
24
  exports.default = _default;
@@ -1747,6 +1747,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1747
1747
  * @param {Object} options
1748
1748
  * @param {String} [options.password] optional
1749
1749
  * @param {String} [options.captchaCode] optional
1750
+ * @param {Boolean} [options.sendCAevents] optional - Whether to submit Call Analyzer events or not. Default: false.
1750
1751
  * @public
1751
1752
  * @memberof Meeting
1752
1753
  * @returns {Promise}
@@ -1755,11 +1756,11 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1755
1756
  key: "fetchMeetingInfo",
1756
1757
  value: function () {
1757
1758
  var _fetchMeetingInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(_ref4) {
1758
- var _ref4$password, password, _ref4$captchaCode, captchaCode, _ref4$extraParams, extraParams, captchaInfo, info, _err$body, _err$body2;
1759
+ var _ref4$password, password, _ref4$captchaCode, captchaCode, _ref4$extraParams, extraParams, _ref4$sendCAevents, sendCAevents, captchaInfo, info, _err$body, _err$body2;
1759
1760
  return _regenerator.default.wrap(function _callee3$(_context3) {
1760
1761
  while (1) switch (_context3.prev = _context3.next) {
1761
1762
  case 0:
1762
- _ref4$password = _ref4.password, password = _ref4$password === void 0 ? null : _ref4$password, _ref4$captchaCode = _ref4.captchaCode, captchaCode = _ref4$captchaCode === void 0 ? null : _ref4$captchaCode, _ref4$extraParams = _ref4.extraParams, extraParams = _ref4$extraParams === void 0 ? {} : _ref4$extraParams;
1763
+ _ref4$password = _ref4.password, password = _ref4$password === void 0 ? null : _ref4$password, _ref4$captchaCode = _ref4.captchaCode, captchaCode = _ref4$captchaCode === void 0 ? null : _ref4$captchaCode, _ref4$extraParams = _ref4.extraParams, extraParams = _ref4$extraParams === void 0 ? {} : _ref4$extraParams, _ref4$sendCAevents = _ref4.sendCAevents, sendCAevents = _ref4$sendCAevents === void 0 ? false : _ref4$sendCAevents;
1763
1764
  // when fetch meeting info is called directly by the client, we want to clear out the random timer for sdk to do it
1764
1765
  if (this.fetchMeetingInfoTimeoutId) {
1765
1766
  clearTimeout(this.fetchMeetingInfoTimeoutId);
@@ -1786,7 +1787,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1786
1787
  return this.attrs.meetingInfoProvider.fetchMeetingInfo(this.destination, this.destinationType, password, captchaInfo,
1787
1788
  // @ts-ignore - config coming from registerPlugin
1788
1789
  this.config.installedOrgID, this.locusId, extraParams, {
1789
- meetingId: this.id
1790
+ meetingId: this.id,
1791
+ sendCAevents: sendCAevents
1790
1792
  });
1791
1793
  case 10:
1792
1794
  info = _context3.sent;
@@ -1878,6 +1880,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1878
1880
  * password and captcha code were correct or not.
1879
1881
  * @param {String} password - this can be either a password or a host key, can be undefined if only captcha was required
1880
1882
  * @param {String} captchaCode - can be undefined if captcha was not required by the server
1883
+ * @param {Boolean} sendCAevents - whether Call Analyzer events should be sent when fetching meeting information
1881
1884
  * @public
1882
1885
  * @memberof Meeting
1883
1886
  * @returns {Promise<{isPasswordValid: boolean, requiredCaptcha: boolean, failureReason: MEETING_INFO_FAILURE_REASON}>}
@@ -1886,9 +1889,11 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1886
1889
  key: "verifyPassword",
1887
1890
  value: function verifyPassword(password, captchaCode) {
1888
1891
  var _this2 = this;
1892
+ var sendCAevents = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
1889
1893
  return this.fetchMeetingInfo({
1890
1894
  password: password,
1891
- captchaCode: captchaCode
1895
+ captchaCode: captchaCode,
1896
+ sendCAevents: sendCAevents
1892
1897
  }).then(function () {
1893
1898
  _metrics.default.sendBehavioralMetric(_constants2.default.VERIFY_PASSWORD_SUCCESS);
1894
1899
  return {
@@ -4560,29 +4565,6 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
4560
4565
  meetingId: this.id
4561
4566
  }
4562
4567
  });
4563
- if (!(0, _isEmpty2.default)(this.meetingInfo)) {
4564
- var _this$meetingInfo5;
4565
- // @ts-ignore
4566
- this.webex.internal.newMetrics.submitClientEvent({
4567
- name: 'client.meetinginfo.request',
4568
- options: {
4569
- meetingId: this.id
4570
- }
4571
- });
4572
-
4573
- // @ts-ignore
4574
- this.webex.internal.newMetrics.submitClientEvent({
4575
- name: 'client.meetinginfo.response',
4576
- payload: {
4577
- identifiers: {
4578
- meetingLookupUrl: (_this$meetingInfo5 = this.meetingInfo) === null || _this$meetingInfo5 === void 0 ? void 0 : _this$meetingInfo5.meetingLookupUrl
4579
- }
4580
- },
4581
- options: {
4582
- meetingId: this.id
4583
- }
4584
- });
4585
- }
4586
4568
  _loggerProxy.default.logger.log('Meeting:index#join --> Joining a meeting');
4587
4569
  if (this.meetingFiniteStateMachine.state === _constants.MEETING_STATE_MACHINE.STATES.ENDED) {
4588
4570
  this.meetingFiniteStateMachine.reset();