@webex/plugin-meetings 3.0.0-beta.107 → 3.0.0-beta.108

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.
@@ -169,7 +169,7 @@ var Breakout = _webexCore.WebexPlugin.extend({
169
169
  sessionId: this.sessionId
170
170
  });
171
171
  },
172
- version: "3.0.0-beta.107"
172
+ version: "3.0.0-beta.108"
173
173
  });
174
174
  var _default = Breakout;
175
175
  exports.default = _default;
@@ -935,7 +935,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
935
935
  this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
936
936
  }
937
937
  },
938
- version: "3.0.0-beta.107"
938
+ version: "3.0.0-beta.108"
939
939
  });
940
940
  var _default = Breakouts;
941
941
  exports.default = _default;
@@ -32,6 +32,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/
32
32
  var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/possibleConstructorReturn"));
33
33
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/getPrototypeOf"));
34
34
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/defineProperty"));
35
+ var _isEmpty2 = _interopRequireDefault(require("lodash/isEmpty"));
35
36
  var _defer2 = _interopRequireDefault(require("lodash/defer"));
36
37
  var _isString2 = _interopRequireDefault(require("lodash/isString"));
37
38
  var _pick2 = _interopRequireDefault(require("lodash/pick"));
@@ -1780,11 +1781,15 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1780
1781
  _context2.next = 10;
1781
1782
  return this.attrs.meetingInfoProvider.fetchMeetingInfo(this.destination, this.destinationType, password, captchaInfo,
1782
1783
  // @ts-ignore - config coming from registerPlugin
1783
- this.config.installedOrgID, this.locusId, extraParams);
1784
+ this.config.installedOrgID, this.locusId, extraParams, {
1785
+ meetingId: this.id
1786
+ });
1784
1787
  case 10:
1785
1788
  info = _context2.sent;
1786
1789
  this.parseMeetingInfo(info, this.destination);
1787
- this.meetingInfo = info ? info.body : null;
1790
+ this.meetingInfo = info ? _objectSpread(_objectSpread({}, info.body), {}, {
1791
+ meetingLookupUrl: info === null || info === void 0 ? void 0 : info.url
1792
+ }) : null;
1788
1793
  this.meetingInfoFailureReason = _constants.MEETING_INFO_FAILURE_REASON.NONE;
1789
1794
  this.requiredCaptcha = null;
1790
1795
  if (this.passwordStatus === _constants.PASSWORD_STATUS.REQUIRED || this.passwordStatus === _constants.PASSWORD_STATUS.VERIFIED) {
@@ -2126,7 +2131,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
2126
2131
  if (options) {
2127
2132
  var _event = options.event,
2128
2133
  trackingId = options.trackingId,
2129
- _mediaConnections = options.mediaConnections;
2134
+ _mediaConnections = options.mediaConnections,
2135
+ meetingLookupUrl = options.meetingLookupUrl;
2130
2136
  if (!_event) {
2131
2137
  _loggerProxy.default.logger.error('Meeting:index#getAnalyzerMetricsPrePayload --> Error [Call Analyzer Event', _event || '', "]: invalid identifers or event type! ".concat(this.correlationId));
2132
2138
  return null;
@@ -2156,6 +2162,9 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
2156
2162
  identifiers.mediaAgentGroupId = (_this$mediaConnection2 = this.mediaConnections) === null || _this$mediaConnection2 === void 0 ? void 0 : _this$mediaConnection2[0].mediaAgentGroupId;
2157
2163
  identifiers.mediaAgentCluster = (_this$mediaConnection3 = this.mediaConnections) === null || _this$mediaConnection3 === void 0 ? void 0 : _this$mediaConnection3[0].mediaAgentCluster;
2158
2164
  }
2165
+ if (meetingLookupUrl) {
2166
+ identifiers.meetingLookupUrl = meetingLookupUrl;
2167
+ }
2159
2168
  if (options.trackingId) {
2160
2169
  identifiers.trackingId = trackingId;
2161
2170
  }
@@ -4510,6 +4519,20 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
4510
4519
  isRoapCallEnabled: true
4511
4520
  }
4512
4521
  });
4522
+ if (!(0, _isEmpty2.default)(this.meetingInfo)) {
4523
+ var _this$meetingInfo;
4524
+ _metrics.default.postEvent({
4525
+ event: _config.eventType.MEETING_INFO_REQUEST,
4526
+ meeting: this
4527
+ });
4528
+ _metrics.default.postEvent({
4529
+ event: _config.eventType.MEETING_INFO_RESPONSE,
4530
+ meeting: this,
4531
+ data: {
4532
+ meetingLookupUrl: (_this$meetingInfo = this.meetingInfo) === null || _this$meetingInfo === void 0 ? void 0 : _this$meetingInfo.meetingLookupUrl
4533
+ }
4534
+ });
4535
+ }
4513
4536
  _loggerProxy.default.logger.log('Meeting:index#join --> Joining a meeting');
4514
4537
  if (this.meetingFiniteStateMachine.state === _constants.MEETING_STATE_MACHINE.STATES.ENDED) {
4515
4538
  this.meetingFiniteStateMachine.reset();