@webex/plugin-meetings 3.0.0-beta.327 → 3.0.0-beta.328
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.
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/meeting/index.js +45 -12
- package/dist/meeting/index.js.map +1 -1
- package/dist/meetings/index.js +17 -9
- package/dist/meetings/index.js.map +1 -1
- package/dist/types/meeting/index.d.ts +26 -3
- package/dist/types/meetings/index.d.ts +6 -4
- package/dist/webinar/index.js +1 -1
- package/package.json +19 -19
- package/src/meeting/index.ts +46 -11
- package/src/meetings/index.ts +17 -10
- package/test/unit/spec/meeting/index.js +65 -8
- package/test/unit/spec/meetings/index.js +84 -8
package/dist/breakouts/index.js
CHANGED
|
@@ -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.
|
|
1044
|
+
version: "3.0.0-beta.328"
|
|
1045
1045
|
});
|
|
1046
1046
|
var _default = Breakouts;
|
|
1047
1047
|
exports.default = _default;
|
package/dist/meeting/index.js
CHANGED
|
@@ -379,7 +379,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
379
379
|
* @memberof Meeting
|
|
380
380
|
*/
|
|
381
381
|
function Meeting(attrs, _options) {
|
|
382
|
-
var _this$locusInfo, _this$locusInfo$links, _this$locusInfo$links2, _this$locusInfo$links3, _this$locusInfo2, _this$locusInfo2$full, _this$locusInfo3, _this$locusInfo4;
|
|
382
|
+
var _attrs$callStateForMe, _this$locusInfo, _this$locusInfo$links, _this$locusInfo$links2, _this$locusInfo$links3, _this$locusInfo2, _this$locusInfo2$full, _this$locusInfo3, _this$locusInfo4;
|
|
383
383
|
var _this;
|
|
384
384
|
(0, _classCallCheck2.default)(this, Meeting);
|
|
385
385
|
_this = _super.call(this, {}, _options);
|
|
@@ -397,7 +397,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
397
397
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "annotation", void 0);
|
|
398
398
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "webinar", void 0);
|
|
399
399
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "conversationUrl", void 0);
|
|
400
|
-
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "
|
|
400
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "callStateForMetrics", void 0);
|
|
401
401
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "destination", void 0);
|
|
402
402
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "destinationType", void 0);
|
|
403
403
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "deviceUrl", void 0);
|
|
@@ -1173,18 +1173,20 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1173
1173
|
*/
|
|
1174
1174
|
_this.id = _uuid.default.v4();
|
|
1175
1175
|
/**
|
|
1176
|
-
*
|
|
1176
|
+
* Call state used for metrics
|
|
1177
1177
|
* @instance
|
|
1178
|
-
* @type {
|
|
1178
|
+
* @type {CallStateForMetrics}
|
|
1179
1179
|
* @readonly
|
|
1180
1180
|
* @public
|
|
1181
1181
|
* @memberof Meeting
|
|
1182
1182
|
*/
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1183
|
+
_this.callStateForMetrics = attrs.callStateForMetrics || {};
|
|
1184
|
+
var _correlationId = attrs.correlationId || ((_attrs$callStateForMe = attrs.callStateForMetrics) === null || _attrs$callStateForMe === void 0 ? void 0 : _attrs$callStateForMe.correlationId);
|
|
1185
|
+
if (_correlationId) {
|
|
1186
|
+
_loggerProxy.default.logger.log("Meetings:index#constructor --> Initializing the meeting object with correlation id from app ".concat(_correlationId));
|
|
1187
|
+
_this.callStateForMetrics.correlationId = _correlationId;
|
|
1186
1188
|
} else {
|
|
1187
|
-
_this.correlationId = _this.id;
|
|
1189
|
+
_this.callStateForMetrics.correlationId = _this.id;
|
|
1188
1190
|
}
|
|
1189
1191
|
/**
|
|
1190
1192
|
* @instance
|
|
@@ -1902,6 +1904,24 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1902
1904
|
return this.type === 'CALL';
|
|
1903
1905
|
}
|
|
1904
1906
|
|
|
1907
|
+
/**
|
|
1908
|
+
* Getter - Returns callStateForMetrics.correlationId
|
|
1909
|
+
* @returns {string}
|
|
1910
|
+
*/
|
|
1911
|
+
}, {
|
|
1912
|
+
key: "correlationId",
|
|
1913
|
+
get: function get() {
|
|
1914
|
+
return this.callStateForMetrics.correlationId;
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
/**
|
|
1918
|
+
* Setter - sets callStateForMetrics.correlationId
|
|
1919
|
+
* @param {string} correlationId
|
|
1920
|
+
*/,
|
|
1921
|
+
set: function set(correlationId) {
|
|
1922
|
+
this.callStateForMetrics.correlationId = correlationId;
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1905
1925
|
/**
|
|
1906
1926
|
* Internal method for fetching meeting info
|
|
1907
1927
|
*
|
|
@@ -4291,8 +4311,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4291
4311
|
}
|
|
4292
4312
|
|
|
4293
4313
|
/**
|
|
4294
|
-
* Convenience method to set the correlation id for the
|
|
4295
|
-
* @param {String} id correlation id to set on the
|
|
4314
|
+
* Convenience method to set the correlation id for the callStateForMetrics
|
|
4315
|
+
* @param {String} id correlation id to set on the callStateForMetrics
|
|
4296
4316
|
* @returns {undefined}
|
|
4297
4317
|
* @public
|
|
4298
4318
|
* @memberof Meeting
|
|
@@ -4300,7 +4320,20 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4300
4320
|
}, {
|
|
4301
4321
|
key: "setCorrelationId",
|
|
4302
4322
|
value: function setCorrelationId(id) {
|
|
4303
|
-
this.correlationId = id;
|
|
4323
|
+
this.callStateForMetrics.correlationId = id;
|
|
4324
|
+
}
|
|
4325
|
+
|
|
4326
|
+
/**
|
|
4327
|
+
* Update the callStateForMetrics
|
|
4328
|
+
* @param {CallStateForMetrics} callStateForMetrics updated values for callStateForMetrics
|
|
4329
|
+
* @returns {undefined}
|
|
4330
|
+
* @public
|
|
4331
|
+
* @memberof Meeting
|
|
4332
|
+
*/
|
|
4333
|
+
}, {
|
|
4334
|
+
key: "updateCallStateForMetrics",
|
|
4335
|
+
value: function updateCallStateForMetrics(callStateForMetrics) {
|
|
4336
|
+
this.callStateForMetrics = _objectSpread(_objectSpread({}, this.callStateForMetrics), callStateForMetrics);
|
|
4304
4337
|
}
|
|
4305
4338
|
|
|
4306
4339
|
/**
|
|
@@ -4872,7 +4905,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4872
4905
|
this.webex.internal.newMetrics.submitClientEvent({
|
|
4873
4906
|
name: 'client.call.initiated',
|
|
4874
4907
|
payload: {
|
|
4875
|
-
trigger: 'user-interaction',
|
|
4908
|
+
trigger: this.callStateForMetrics.joinTrigger || 'user-interaction',
|
|
4876
4909
|
isRoapCallEnabled: true,
|
|
4877
4910
|
pstnAudioType: options === null || options === void 0 ? void 0 : options.pstnAudioType
|
|
4878
4911
|
},
|