@webex/plugin-meetings 3.8.0-next.60 → 3.8.0-next.61

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.
@@ -743,6 +743,7 @@ export declare enum SELF_POLICY {
743
743
  SUPPORT_NETWORK_BASED_RECORD = "supportNetworkBasedRecord",
744
744
  SUPPORT_PREMISE_RECORD = "supportPremiseRecord",
745
745
  SUPPORT_REALTIME_CLOSE_CAPTION = "supportRealtimeCloseCaption",
746
+ SUPPORT_REALTIME_CLOSE_CAPTION_MANUAL = "supportRealtimeCloseCaptionManual",
746
747
  SUPPORT_CHAT = "supportChat",
747
748
  SUPPORT_DESKTOP_SHARE_REMOTE = "supportDesktopShareRemote",
748
749
  SUPPORT_DESKTOP_SHARE = "supportDesktopShare",
@@ -77,6 +77,8 @@ interface IInMeetingActions {
77
77
  canShareDesktop?: boolean;
78
78
  canShareContent?: boolean;
79
79
  canTransferFile?: boolean;
80
+ canRealtimeCloseCaption?: boolean;
81
+ canRealtimeCloseCaptionManual?: boolean;
80
82
  canChat?: boolean;
81
83
  canDoVideo?: boolean;
82
84
  canAnnotate?: boolean;
@@ -178,6 +180,8 @@ export default class InMeetingActions implements IInMeetingActions {
178
180
  canShareDesktop: any;
179
181
  canShareContent: any;
180
182
  canTransferFile: any;
183
+ canRealtimeCloseCaption: any;
184
+ canRealtimeCloseCaptionManual: any;
181
185
  canChat: any;
182
186
  canDoVideo: any;
183
187
  canAnnotate: any;
@@ -458,7 +458,7 @@ var Webinar = _webexCore.WebexPlugin.extend({
458
458
  }, _callee7);
459
459
  }))();
460
460
  },
461
- version: "3.8.0-next.60"
461
+ version: "3.8.0-next.61"
462
462
  });
463
463
  var _default = exports.default = Webinar;
464
464
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -43,7 +43,7 @@
43
43
  "@webex/eslint-config-legacy": "0.0.0",
44
44
  "@webex/jest-config-legacy": "0.0.0",
45
45
  "@webex/legacy-tools": "0.0.0",
46
- "@webex/plugin-meetings": "3.8.0-next.60",
46
+ "@webex/plugin-meetings": "3.8.0-next.61",
47
47
  "@webex/plugin-rooms": "3.8.0-next.21",
48
48
  "@webex/test-helper-chai": "3.8.0-next.17",
49
49
  "@webex/test-helper-mocha": "3.8.0-next.17",
@@ -71,7 +71,7 @@
71
71
  "@webex/internal-plugin-metrics": "3.8.0-next.17",
72
72
  "@webex/internal-plugin-support": "3.8.0-next.21",
73
73
  "@webex/internal-plugin-user": "3.8.0-next.17",
74
- "@webex/internal-plugin-voicea": "3.8.0-next.60",
74
+ "@webex/internal-plugin-voicea": "3.8.0-next.61",
75
75
  "@webex/media-helpers": "3.8.0-next.21",
76
76
  "@webex/plugin-people": "3.8.0-next.19",
77
77
  "@webex/plugin-rooms": "3.8.0-next.21",
@@ -92,5 +92,5 @@
92
92
  "//": [
93
93
  "TODO: upgrade jwt-decode when moving to node 18"
94
94
  ],
95
- "version": "3.8.0-next.60"
95
+ "version": "3.8.0-next.61"
96
96
  }
package/src/constants.ts CHANGED
@@ -911,6 +911,7 @@ export enum SELF_POLICY {
911
911
  SUPPORT_NETWORK_BASED_RECORD = 'supportNetworkBasedRecord',
912
912
  SUPPORT_PREMISE_RECORD = 'supportPremiseRecord',
913
913
  SUPPORT_REALTIME_CLOSE_CAPTION = 'supportRealtimeCloseCaption',
914
+ SUPPORT_REALTIME_CLOSE_CAPTION_MANUAL = 'supportRealtimeCloseCaptionManual',
914
915
  SUPPORT_CHAT = 'supportChat',
915
916
  SUPPORT_DESKTOP_SHARE_REMOTE = 'supportDesktopShareRemote',
916
917
  SUPPORT_DESKTOP_SHARE = 'supportDesktopShare',
@@ -81,6 +81,8 @@ interface IInMeetingActions {
81
81
  canShareDesktop?: boolean;
82
82
  canShareContent?: boolean;
83
83
  canTransferFile?: boolean;
84
+ canRealtimeCloseCaption?: boolean;
85
+ canRealtimeCloseCaptionManual?: boolean;
84
86
  canChat?: boolean;
85
87
  canDoVideo?: boolean;
86
88
  canAnnotate?: boolean;
@@ -255,6 +257,10 @@ export default class InMeetingActions implements IInMeetingActions {
255
257
 
256
258
  canTransferFile = null;
257
259
 
260
+ canRealtimeCloseCaption = null;
261
+
262
+ canRealtimeCloseCaptionManual = null;
263
+
258
264
  canChat = null;
259
265
 
260
266
  canDoVideo = null;
@@ -379,6 +385,8 @@ export default class InMeetingActions implements IInMeetingActions {
379
385
  canShareDesktop: this.canShareDesktop,
380
386
  canShareContent: this.canShareContent,
381
387
  canTransferFile: this.canTransferFile,
388
+ canRealtimeCloseCaption: this.canRealtimeCloseCaption,
389
+ canRealtimeCloseCaptionManual: this.canRealtimeCloseCaptionManual,
382
390
  canChat: this.canChat,
383
391
  canDoVideo: this.canDoVideo,
384
392
  canAnnotate: this.canAnnotate,
@@ -4261,6 +4261,14 @@ export default class Meeting extends StatelessWebexPlugin {
4261
4261
  requiredPolicies: [SELF_POLICY.SUPPORT_FILE_TRANSFER],
4262
4262
  policies: this.selfUserPolicies,
4263
4263
  }),
4264
+ canRealtimeCloseCaption: ControlsOptionsUtil.hasPolicies({
4265
+ requiredPolicies: [SELF_POLICY.SUPPORT_REALTIME_CLOSE_CAPTION],
4266
+ policies: this.selfUserPolicies,
4267
+ }),
4268
+ canRealtimeCloseCaptionManual: ControlsOptionsUtil.hasPolicies({
4269
+ requiredPolicies: [SELF_POLICY.SUPPORT_REALTIME_CLOSE_CAPTION_MANUAL],
4270
+ policies: this.selfUserPolicies,
4271
+ }),
4264
4272
  canChat: ControlsOptionsUtil.hasPolicies({
4265
4273
  requiredPolicies: [SELF_POLICY.SUPPORT_CHAT],
4266
4274
  policies: this.selfUserPolicies,
@@ -76,6 +76,8 @@ describe('plugin-meetings', () => {
76
76
  canShareDesktop: null,
77
77
  canShareContent: null,
78
78
  canTransferFile: null,
79
+ canRealtimeCloseCaption: null,
80
+ canRealtimeCloseCaptionManual: null,
79
81
  canChat: null,
80
82
  canDoVideo: null,
81
83
  canAnnotate: null,
@@ -182,6 +184,8 @@ describe('plugin-meetings', () => {
182
184
  'canShareDesktop',
183
185
  'canShareContent',
184
186
  'canTransferFile',
187
+ 'canRealtimeCloseCaption',
188
+ 'canRealtimeCloseCaptionManual',
185
189
  'canChat',
186
190
  'canDoVideo',
187
191
  'canAnnotate',
@@ -10995,6 +10995,16 @@ describe('plugin-meetings', () => {
10995
10995
  requiredDisplayHints: [],
10996
10996
  requiredPolicies: [SELF_POLICY.SUPPORT_FILE_TRANSFER],
10997
10997
  },
10998
+ {
10999
+ actionName: 'canRealtimeCloseCaption',
11000
+ requiredDisplayHints: [],
11001
+ requiredPolicies: [SELF_POLICY.SUPPORT_REALTIME_CLOSE_CAPTION],
11002
+ },
11003
+ {
11004
+ actionName: 'canRealtimeCloseCaptionManual',
11005
+ requiredDisplayHints: [],
11006
+ requiredPolicies: [SELF_POLICY.SUPPORT_REALTIME_CLOSE_CAPTION_MANUAL],
11007
+ },
10998
11008
  {
10999
11009
  actionName: 'canChat',
11000
11010
  requiredDisplayHints: [],