@webex/plugin-meetings 3.8.1 → 3.9.0-next.2
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/README.md +26 -13
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/constants.js +32 -3
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/enums.js +1 -0
- package/dist/controls-options-manager/enums.js.map +1 -1
- package/dist/controls-options-manager/types.js.map +1 -1
- package/dist/controls-options-manager/util.js +26 -0
- package/dist/controls-options-manager/util.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/controlsUtils.js +11 -3
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/index.js +69 -85
- package/dist/locus-info/index.js.map +1 -1
- package/dist/media/index.js +2 -2
- package/dist/media/index.js.map +1 -1
- package/dist/meeting/brbState.js +17 -14
- package/dist/meeting/brbState.js.map +1 -1
- package/dist/meeting/in-meeting-actions.js +11 -1
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +476 -284
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/request.js +19 -0
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/request.type.js.map +1 -1
- package/dist/{rtcMetrics/constants.js → meeting/type.js} +1 -5
- package/dist/meeting/type.js.map +1 -0
- package/dist/meeting/util.js +68 -2
- package/dist/meeting/util.js.map +1 -1
- package/dist/meetings/index.js +35 -33
- package/dist/meetings/index.js.map +1 -1
- package/dist/members/index.js +11 -9
- package/dist/members/index.js.map +1 -1
- package/dist/members/request.js +3 -3
- package/dist/members/request.js.map +1 -1
- package/dist/members/util.js +18 -6
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/constants.js +1 -0
- package/dist/metrics/constants.js.map +1 -1
- package/dist/multistream/mediaRequestManager.js +1 -1
- package/dist/multistream/mediaRequestManager.js.map +1 -1
- package/dist/multistream/remoteMedia.js +34 -5
- package/dist/multistream/remoteMedia.js.map +1 -1
- package/dist/multistream/remoteMediaGroup.js +42 -2
- package/dist/multistream/remoteMediaGroup.js.map +1 -1
- package/dist/multistream/sendSlotManager.js +32 -2
- package/dist/multistream/sendSlotManager.js.map +1 -1
- package/dist/reachability/index.js +5 -10
- package/dist/reachability/index.js.map +1 -1
- package/dist/types/constants.d.ts +28 -0
- package/dist/types/controls-options-manager/enums.d.ts +2 -1
- package/dist/types/controls-options-manager/types.d.ts +4 -1
- package/dist/types/locus-info/index.d.ts +0 -9
- package/dist/types/meeting/brbState.d.ts +0 -1
- package/dist/types/meeting/in-meeting-actions.d.ts +10 -0
- package/dist/types/meeting/index.d.ts +47 -19
- package/dist/types/meeting/request.d.ts +9 -1
- package/dist/types/meeting/request.type.d.ts +74 -0
- package/dist/types/meeting/type.d.ts +9 -0
- package/dist/types/meeting/util.d.ts +3 -0
- package/dist/types/members/index.d.ts +10 -7
- package/dist/types/members/request.d.ts +1 -1
- package/dist/types/members/util.d.ts +7 -3
- package/dist/types/metrics/constants.d.ts +1 -0
- package/dist/types/multistream/remoteMedia.d.ts +20 -1
- package/dist/types/multistream/remoteMediaGroup.d.ts +11 -0
- package/dist/types/multistream/sendSlotManager.d.ts +16 -0
- package/dist/types/reachability/index.d.ts +2 -2
- package/dist/webinar/index.js +1 -1
- package/package.json +24 -25
- package/src/constants.ts +32 -2
- package/src/controls-options-manager/enums.ts +1 -0
- package/src/controls-options-manager/types.ts +6 -1
- package/src/controls-options-manager/util.ts +31 -0
- package/src/locus-info/controlsUtils.ts +15 -0
- package/src/locus-info/index.ts +89 -86
- package/src/media/index.ts +2 -2
- package/src/meeting/brbState.ts +13 -9
- package/src/meeting/in-meeting-actions.ts +21 -0
- package/src/meeting/index.ts +271 -71
- package/src/meeting/request.ts +16 -0
- package/src/meeting/request.type.ts +64 -0
- package/src/meeting/type.ts +9 -0
- package/src/meeting/util.ts +73 -2
- package/src/meetings/index.ts +3 -2
- package/src/members/index.ts +13 -10
- package/src/members/request.ts +2 -2
- package/src/members/util.ts +16 -4
- package/src/metrics/constants.ts +1 -0
- package/src/multistream/mediaRequestManager.ts +7 -7
- package/src/multistream/remoteMedia.ts +34 -4
- package/src/multistream/remoteMediaGroup.ts +37 -2
- package/src/multistream/sendSlotManager.ts +34 -2
- package/src/reachability/index.ts +5 -13
- package/test/unit/spec/controls-options-manager/util.js +58 -0
- package/test/unit/spec/locus-info/controlsUtils.js +52 -0
- package/test/unit/spec/locus-info/index.js +240 -82
- package/test/unit/spec/media/index.ts +107 -0
- package/test/unit/spec/meeting/brbState.ts +23 -4
- package/test/unit/spec/meeting/in-meeting-actions.ts +10 -0
- package/test/unit/spec/meeting/index.js +954 -85
- package/test/unit/spec/meeting/request.js +71 -0
- package/test/unit/spec/meeting/utils.js +122 -1
- package/test/unit/spec/meetings/index.js +2 -0
- package/test/unit/spec/members/index.js +68 -9
- package/test/unit/spec/members/request.js +2 -2
- package/test/unit/spec/members/utils.js +27 -7
- package/test/unit/spec/multistream/mediaRequestManager.ts +19 -6
- package/test/unit/spec/multistream/remoteMedia.ts +66 -2
- package/test/unit/spec/multistream/sendSlotManager.ts +59 -0
- package/test/unit/spec/reachability/index.ts +2 -6
- package/dist/annotation/annotation.types.d.ts +0 -42
- package/dist/annotation/constants.d.ts +0 -31
- package/dist/annotation/index.d.ts +0 -117
- package/dist/breakouts/breakout.d.ts +0 -8
- package/dist/breakouts/collection.d.ts +0 -5
- package/dist/breakouts/edit-lock-error.d.ts +0 -15
- package/dist/breakouts/events.d.ts +0 -8
- package/dist/breakouts/index.d.ts +0 -5
- package/dist/breakouts/request.d.ts +0 -22
- package/dist/breakouts/utils.d.ts +0 -15
- package/dist/common/browser-detection.d.ts +0 -9
- package/dist/common/collection.d.ts +0 -48
- package/dist/common/config.d.ts +0 -2
- package/dist/common/errors/captcha-error.d.ts +0 -15
- package/dist/common/errors/intent-to-join.d.ts +0 -16
- package/dist/common/errors/join-meeting.d.ts +0 -17
- package/dist/common/errors/media.d.ts +0 -15
- package/dist/common/errors/no-meeting-info.d.ts +0 -14
- package/dist/common/errors/parameter.d.ts +0 -15
- package/dist/common/errors/password-error.d.ts +0 -15
- package/dist/common/errors/permission.d.ts +0 -14
- package/dist/common/errors/reclaim-host-role-error.d.ts +0 -60
- package/dist/common/errors/reclaim-host-role-error.js +0 -158
- package/dist/common/errors/reclaim-host-role-error.js.map +0 -1
- package/dist/common/errors/reclaim-host-role-errors.d.ts +0 -60
- package/dist/common/errors/reconnection-in-progress.d.ts +0 -9
- package/dist/common/errors/reconnection-in-progress.js +0 -35
- package/dist/common/errors/reconnection-in-progress.js.map +0 -1
- package/dist/common/errors/reconnection.d.ts +0 -15
- package/dist/common/errors/stats.d.ts +0 -15
- package/dist/common/errors/webex-errors.d.ts +0 -81
- package/dist/common/errors/webex-meetings-error.d.ts +0 -20
- package/dist/common/events/events-scope.d.ts +0 -17
- package/dist/common/events/events.d.ts +0 -12
- package/dist/common/events/trigger-proxy.d.ts +0 -2
- package/dist/common/events/util.d.ts +0 -2
- package/dist/common/logs/logger-config.d.ts +0 -2
- package/dist/common/logs/logger-proxy.d.ts +0 -2
- package/dist/common/logs/request.d.ts +0 -34
- package/dist/common/queue.d.ts +0 -32
- package/dist/config.d.ts +0 -73
- package/dist/constants.d.ts +0 -952
- package/dist/controls-options-manager/constants.d.ts +0 -4
- package/dist/controls-options-manager/enums.d.ts +0 -5
- package/dist/controls-options-manager/index.d.ts +0 -120
- package/dist/controls-options-manager/types.d.ts +0 -43
- package/dist/controls-options-manager/util.d.ts +0 -7
- package/dist/index.d.ts +0 -4
- package/dist/interceptors/index.d.ts +0 -2
- package/dist/interceptors/locusRetry.d.ts +0 -27
- package/dist/interpretation/collection.d.ts +0 -5
- package/dist/interpretation/index.d.ts +0 -5
- package/dist/interpretation/siLanguage.d.ts +0 -5
- package/dist/locus-info/controlsUtils.d.ts +0 -2
- package/dist/locus-info/embeddedAppsUtils.d.ts +0 -2
- package/dist/locus-info/fullState.d.ts +0 -2
- package/dist/locus-info/hostUtils.d.ts +0 -2
- package/dist/locus-info/index.d.ts +0 -269
- package/dist/locus-info/infoUtils.d.ts +0 -2
- package/dist/locus-info/mediaSharesUtils.d.ts +0 -2
- package/dist/locus-info/parser.d.ts +0 -212
- package/dist/locus-info/selfUtils.d.ts +0 -2
- package/dist/media/index.d.ts +0 -32
- package/dist/media/properties.d.ts +0 -108
- package/dist/media/util.d.ts +0 -2
- package/dist/mediaQualityMetrics/config.d.ts +0 -233
- package/dist/mediaQualityMetrics/config.js +0 -513
- package/dist/mediaQualityMetrics/config.js.map +0 -1
- package/dist/meeting/effectsState.d.ts +0 -42
- package/dist/meeting/effectsState.js +0 -260
- package/dist/meeting/effectsState.js.map +0 -1
- package/dist/meeting/in-meeting-actions.d.ts +0 -79
- package/dist/meeting/index.d.ts +0 -1622
- package/dist/meeting/locusMediaRequest.d.ts +0 -74
- package/dist/meeting/muteState.d.ts +0 -116
- package/dist/meeting/request.d.ts +0 -257
- package/dist/meeting/request.type.d.ts +0 -11
- package/dist/meeting/state.d.ts +0 -9
- package/dist/meeting/util.d.ts +0 -2
- package/dist/meeting/voicea-meeting.d.ts +0 -16
- package/dist/meeting-info/collection.d.ts +0 -20
- package/dist/meeting-info/index.d.ts +0 -57
- package/dist/meeting-info/meeting-info-v2.d.ts +0 -93
- package/dist/meeting-info/request.d.ts +0 -22
- package/dist/meeting-info/util.d.ts +0 -2
- package/dist/meeting-info/utilv2.d.ts +0 -2
- package/dist/meetings/collection.d.ts +0 -23
- package/dist/meetings/index.d.ts +0 -296
- package/dist/meetings/meetings.types.d.ts +0 -4
- package/dist/meetings/request.d.ts +0 -27
- package/dist/meetings/util.d.ts +0 -18
- package/dist/member/index.d.ts +0 -148
- package/dist/member/member.types.d.ts +0 -11
- package/dist/member/member.types.js +0 -18
- package/dist/member/member.types.js.map +0 -1
- package/dist/member/types.d.ts +0 -32
- package/dist/member/util.d.ts +0 -2
- package/dist/members/collection.d.ts +0 -24
- package/dist/members/index.d.ts +0 -308
- package/dist/members/request.d.ts +0 -58
- package/dist/members/types.d.ts +0 -25
- package/dist/members/util.d.ts +0 -2
- package/dist/metrics/config.d.ts +0 -169
- package/dist/metrics/config.js +0 -289
- package/dist/metrics/config.js.map +0 -1
- package/dist/metrics/constants.d.ts +0 -59
- package/dist/metrics/index.d.ts +0 -152
- package/dist/multistream/mediaRequestManager.d.ts +0 -119
- package/dist/multistream/receiveSlot.d.ts +0 -68
- package/dist/multistream/receiveSlotManager.d.ts +0 -56
- package/dist/multistream/remoteMedia.d.ts +0 -72
- package/dist/multistream/remoteMediaGroup.d.ts +0 -49
- package/dist/multistream/remoteMediaManager.d.ts +0 -300
- package/dist/multistream/sendSlotManager.d.ts +0 -69
- package/dist/networkQualityMonitor/index.d.ts +0 -70
- package/dist/networkQualityMonitor/index.js +0 -226
- package/dist/networkQualityMonitor/index.js.map +0 -1
- package/dist/peer-connection-manager/index.d.ts +0 -6
- package/dist/peer-connection-manager/index.js +0 -671
- package/dist/peer-connection-manager/index.js.map +0 -1
- package/dist/peer-connection-manager/util.d.ts +0 -6
- package/dist/peer-connection-manager/util.js +0 -110
- package/dist/peer-connection-manager/util.js.map +0 -1
- package/dist/personal-meeting-room/index.d.ts +0 -47
- package/dist/personal-meeting-room/request.d.ts +0 -14
- package/dist/personal-meeting-room/util.d.ts +0 -2
- package/dist/reachability/clusterReachability.d.ts +0 -109
- package/dist/reachability/index.d.ts +0 -139
- package/dist/reachability/request.d.ts +0 -35
- package/dist/reachability/util.d.ts +0 -8
- package/dist/reactions/constants.d.ts +0 -3
- package/dist/reactions/reactions.d.ts +0 -4
- package/dist/reactions/reactions.type.d.ts +0 -32
- package/dist/reconnection-manager/index.d.ts +0 -112
- package/dist/recording-controller/enums.d.ts +0 -7
- package/dist/recording-controller/index.d.ts +0 -193
- package/dist/recording-controller/util.d.ts +0 -13
- package/dist/roap/collection.d.ts +0 -10
- package/dist/roap/collection.js +0 -63
- package/dist/roap/collection.js.map +0 -1
- package/dist/roap/handler.d.ts +0 -47
- package/dist/roap/handler.js +0 -279
- package/dist/roap/handler.js.map +0 -1
- package/dist/roap/index.d.ts +0 -116
- package/dist/roap/request.d.ts +0 -35
- package/dist/roap/state.d.ts +0 -9
- package/dist/roap/state.js +0 -127
- package/dist/roap/state.js.map +0 -1
- package/dist/roap/turnDiscovery.d.ts +0 -81
- package/dist/roap/util.d.ts +0 -2
- package/dist/roap/util.js +0 -76
- package/dist/roap/util.js.map +0 -1
- package/dist/rtcMetrics/constants.d.ts +0 -4
- package/dist/rtcMetrics/constants.js.map +0 -1
- package/dist/rtcMetrics/index.d.ts +0 -61
- package/dist/rtcMetrics/index.js +0 -197
- package/dist/rtcMetrics/index.js.map +0 -1
- package/dist/statsAnalyzer/global.d.ts +0 -118
- package/dist/statsAnalyzer/global.js +0 -127
- package/dist/statsAnalyzer/global.js.map +0 -1
- package/dist/statsAnalyzer/index.d.ts +0 -193
- package/dist/statsAnalyzer/index.js +0 -1019
- package/dist/statsAnalyzer/index.js.map +0 -1
- package/dist/statsAnalyzer/mqaUtil.d.ts +0 -22
- package/dist/statsAnalyzer/mqaUtil.js +0 -181
- package/dist/statsAnalyzer/mqaUtil.js.map +0 -1
- package/dist/transcription/index.d.ts +0 -64
- package/dist/types/common/errors/reconnection-in-progress.d.ts +0 -9
- package/dist/types/mediaQualityMetrics/config.d.ts +0 -241
- package/dist/types/networkQualityMonitor/index.d.ts +0 -70
- package/dist/types/rtcMetrics/constants.d.ts +0 -4
- package/dist/types/rtcMetrics/index.d.ts +0 -71
- package/dist/types/statsAnalyzer/global.d.ts +0 -36
- package/dist/types/statsAnalyzer/index.d.ts +0 -217
- package/dist/types/statsAnalyzer/mqaUtil.d.ts +0 -48
- package/dist/webinar/collection.d.ts +0 -16
- package/dist/webinar/index.d.ts +0 -5
@@ -272,4 +272,63 @@ describe('SendSlotsManager', () => {
|
|
272
272
|
expect(() => sendSlotsManager.getSlot(MediaType.VideoSlides)).to.throw();
|
273
273
|
});
|
274
274
|
});
|
275
|
+
|
276
|
+
describe('sourceStateOverride', () => {
|
277
|
+
let mediaConnection: MultistreamRoapMediaConnection;
|
278
|
+
beforeEach(() => {
|
279
|
+
mediaConnection = {
|
280
|
+
createSendSlot: sinon.stub().returns({
|
281
|
+
setSourceStateOverride: sinon.stub().resolves(),
|
282
|
+
clearSourceStateOverride: sinon.stub().resolves(),
|
283
|
+
}),
|
284
|
+
} as MultistreamRoapMediaConnection;
|
285
|
+
});
|
286
|
+
|
287
|
+
it(`can set source state override for ${MediaType.VideoMain}`, () => {
|
288
|
+
const slot: any = sendSlotsManager.createSlot(mediaConnection, MediaType.VideoMain);
|
289
|
+
|
290
|
+
const set = () => sendSlotsManager.setSourceStateOverride(MediaType.VideoMain, 'away');
|
291
|
+
|
292
|
+
expect(set).not.to.throw();
|
293
|
+
expect(slot.setSourceStateOverride.calledWith('away')).to.be.true;
|
294
|
+
});
|
295
|
+
|
296
|
+
[MediaType.VideoSlides, MediaType.AudioMain, MediaType.AudioSlides].forEach((mediaType) => {
|
297
|
+
it(`can't set source state override for ${mediaType}`, () => {
|
298
|
+
const slot: any = sendSlotsManager.createSlot(mediaConnection, mediaType);
|
299
|
+
|
300
|
+
const set = () => sendSlotsManager.setSourceStateOverride(mediaType, 'away');
|
301
|
+
|
302
|
+
expect(set).to.throw();
|
303
|
+
expect(slot.setSourceStateOverride.called).to.be.false;
|
304
|
+
});
|
305
|
+
});
|
306
|
+
|
307
|
+
it("can't set source state override for non-existing slot", () => {
|
308
|
+
const set = () => sendSlotsManager.setSourceStateOverride(MediaType.VideoMain, 'away');
|
309
|
+
expect(set).to.throw(`Slot for ${MediaType.VideoMain} does not exist`);
|
310
|
+
});
|
311
|
+
|
312
|
+
it('can clear source state override', () => {
|
313
|
+
const slot: any = sendSlotsManager.createSlot(mediaConnection, MediaType.VideoMain);
|
314
|
+
sendSlotsManager.setSourceStateOverride(MediaType.VideoMain, 'away');
|
315
|
+
|
316
|
+
expect(slot.setSourceStateOverride.calledWith('away')).to.be.true;
|
317
|
+
expect(slot.clearSourceStateOverride.called).to.be.false;
|
318
|
+
|
319
|
+
sendSlotsManager.setSourceStateOverride(MediaType.VideoMain, null);
|
320
|
+
expect(slot.clearSourceStateOverride.called).to.be.true;
|
321
|
+
});
|
322
|
+
|
323
|
+
it("won't set source state override if it didn't change", () => {
|
324
|
+
const slot: any = sendSlotsManager.createSlot(mediaConnection, MediaType.VideoMain);
|
325
|
+
sendSlotsManager.setSourceStateOverride(MediaType.VideoMain, 'away');
|
326
|
+
|
327
|
+
expect(slot.setSourceStateOverride.calledWith('away')).to.be.true;
|
328
|
+
slot.setSourceStateOverride.resetHistory();
|
329
|
+
|
330
|
+
sendSlotsManager.setSourceStateOverride(MediaType.VideoMain, 'away');
|
331
|
+
expect(slot.setSourceStateOverride.called).to.be.false;
|
332
|
+
});
|
333
|
+
});
|
275
334
|
});
|
@@ -2764,14 +2764,10 @@ describe('isSubnetReachable', () => {
|
|
2764
2764
|
});
|
2765
2765
|
|
2766
2766
|
it('returns true if the subnet is reachable', () => {
|
2767
|
-
assert(reachability.isSubnetReachable('1
|
2767
|
+
assert(reachability.isSubnetReachable('1'));
|
2768
2768
|
});
|
2769
2769
|
|
2770
2770
|
it(`returns false if the subnet is unreachable`, () => {
|
2771
|
-
assert(!reachability.isSubnetReachable('11
|
2772
|
-
});
|
2773
|
-
|
2774
|
-
it('returns null if the subnet is not provided', () => {
|
2775
|
-
assert.isNull(reachability.isSubnetReachable(undefined));
|
2771
|
+
assert(!reachability.isSubnetReachable('11'));
|
2776
2772
|
});
|
2777
2773
|
});
|
@@ -1,42 +0,0 @@
|
|
1
|
-
import { ANNOTATION_POLICY } from './constants';
|
2
|
-
/**
|
3
|
-
* Type for an StrokeData Object
|
4
|
-
*/
|
5
|
-
type StrokeData = {
|
6
|
-
deviceId: string;
|
7
|
-
toUserId: string;
|
8
|
-
requesterId: string;
|
9
|
-
content: string;
|
10
|
-
shareInstanceId: string;
|
11
|
-
encryptionKeyUrl: string;
|
12
|
-
version: string;
|
13
|
-
};
|
14
|
-
type RequestData = {
|
15
|
-
toUserId: string;
|
16
|
-
toDeviceUrl: string;
|
17
|
-
shareInstanceId: string;
|
18
|
-
};
|
19
|
-
type CommandRequestBody = {
|
20
|
-
actionType: string;
|
21
|
-
resourceType: string;
|
22
|
-
shareInstanceId: string;
|
23
|
-
receivers?: any[];
|
24
|
-
};
|
25
|
-
/**
|
26
|
-
* Type for an annotation Object include annotation version and privilege
|
27
|
-
*/
|
28
|
-
type AnnotationInfo = {
|
29
|
-
version: string;
|
30
|
-
policy: ANNOTATION_POLICY;
|
31
|
-
};
|
32
|
-
interface IAnnotationChannel {
|
33
|
-
acceptRequest: (approval: any) => undefined | Promise<void>;
|
34
|
-
declineRequest: (approval: any) => undefined | Promise<void>;
|
35
|
-
closeAnnotation: (requestData: RequestData) => undefined | Promise<void>;
|
36
|
-
approveAnnotation: (requestData: RequestData) => undefined | Promise<void>;
|
37
|
-
cancelApproveAnnotation: (requestData: RequestData, approval: any) => undefined | Promise<void>;
|
38
|
-
sendStrokeData: (strokeData: StrokeData) => void;
|
39
|
-
approvalUrlUpdate: (approvalUrl: string) => void;
|
40
|
-
locusUrlUpdate: (locusUrl: string) => void;
|
41
|
-
}
|
42
|
-
export type { StrokeData, RequestData, CommandRequestBody, IAnnotationChannel, AnnotationInfo };
|
@@ -1,31 +0,0 @@
|
|
1
|
-
export declare const EVENT_TRIGGERS: {
|
2
|
-
ANNOTATION_STROKE_DATA: string;
|
3
|
-
ANNOTATION_COMMAND: string;
|
4
|
-
};
|
5
|
-
export declare const ANNOTATION_RESOURCE_TYPE = "AnnotationOnShare";
|
6
|
-
export declare const ANNOTATION_RELAY_TYPES: {
|
7
|
-
ANNOTATION_CLIENT: string;
|
8
|
-
};
|
9
|
-
export declare const ANNOTATION_STATUS: {
|
10
|
-
NO_ANNOTATION: string;
|
11
|
-
RUNNING_ANNOTATION: string;
|
12
|
-
};
|
13
|
-
export declare enum ANNOTATION_POLICY {
|
14
|
-
ANYONE_CAN_ANNOTATE = "AnyoneCanAnnotate",
|
15
|
-
APPROVAL = "Approval",
|
16
|
-
ANNOTATION_NOT_ALLOWED = "AnnotationNotAllowed"
|
17
|
-
}
|
18
|
-
export declare const ANNOTATION_REQUEST_TYPE: {
|
19
|
-
ANNOTATION_MESSAGE: string;
|
20
|
-
};
|
21
|
-
export declare const enum ANNOTATION_ACTION_TYPE {
|
22
|
-
REQUESTED = "REQUESTED",
|
23
|
-
ACCEPTED = "ACCEPTED",
|
24
|
-
DECLINED = "DECLINED",
|
25
|
-
OFFERED = "OFFERED",
|
26
|
-
CANCELED = "CANCELED",
|
27
|
-
EXPIRED = "EXPIRED",
|
28
|
-
REVOKED = "REVOKED",
|
29
|
-
CLOSED = "CLOSED"
|
30
|
-
}
|
31
|
-
export declare const ANNOTATION = "annotation";
|
@@ -1,117 +0,0 @@
|
|
1
|
-
import { WebexPlugin } from '@webex/webex-core';
|
2
|
-
import { StrokeData, RequestData, IAnnotationChannel } from './annotation.types';
|
3
|
-
/**
|
4
|
-
* @description Annotation to handle LLM and Mercury message and locus API
|
5
|
-
* @class
|
6
|
-
*/
|
7
|
-
declare class AnnotationChannel extends WebexPlugin implements IAnnotationChannel {
|
8
|
-
namespace: string;
|
9
|
-
private seqNum;
|
10
|
-
hasSubscribedToEvents: boolean;
|
11
|
-
approvalUrl: string;
|
12
|
-
locusUrl: string;
|
13
|
-
deviceUrl: string;
|
14
|
-
/**
|
15
|
-
* Initializes annotation module
|
16
|
-
*/
|
17
|
-
constructor(...args: any[]);
|
18
|
-
/**
|
19
|
-
* Process Stroke Data
|
20
|
-
* @param {object} data
|
21
|
-
* @returns {void}
|
22
|
-
*/
|
23
|
-
private processStrokeMessage;
|
24
|
-
/** bind all events from mercury
|
25
|
-
* @param {Object} e
|
26
|
-
* @returns {undefined}
|
27
|
-
*/
|
28
|
-
private eventCommandProcessor;
|
29
|
-
/** bind all events from llm
|
30
|
-
* @param {Object} e
|
31
|
-
* @returns {undefined}
|
32
|
-
*/
|
33
|
-
private eventDataProcessor;
|
34
|
-
/**
|
35
|
-
* Listen to websocket messages
|
36
|
-
* @returns {undefined}
|
37
|
-
*/
|
38
|
-
private listenToEvents;
|
39
|
-
/**
|
40
|
-
* set locusUrl
|
41
|
-
* @param {string} locusUrl
|
42
|
-
* @returns {void}
|
43
|
-
*/
|
44
|
-
locusUrlUpdate(locusUrl: string): void;
|
45
|
-
/**
|
46
|
-
* set approved url
|
47
|
-
* @param {string} approvalUrl
|
48
|
-
* @returns {void}
|
49
|
-
*/
|
50
|
-
approvalUrlUpdate(approvalUrl: string): void;
|
51
|
-
/**
|
52
|
-
* accept request
|
53
|
-
* @param {object} approval
|
54
|
-
* @returns {Promise}
|
55
|
-
*/
|
56
|
-
acceptRequest(approval: any): any;
|
57
|
-
/**
|
58
|
-
* presenter declined request annotation
|
59
|
-
* @param {approval} approval
|
60
|
-
* @returns {Promise}
|
61
|
-
*/
|
62
|
-
declineRequest(approval: any): any;
|
63
|
-
/**
|
64
|
-
* request approved annotation
|
65
|
-
* @param {RequestData} requestData
|
66
|
-
* @returns {Promise}
|
67
|
-
*/
|
68
|
-
approveAnnotation(requestData: RequestData): Promise<void>;
|
69
|
-
/**
|
70
|
-
* cancel approved annotation
|
71
|
-
* @param {object} requestData
|
72
|
-
* @param {object} approval
|
73
|
-
* @returns {Promise}
|
74
|
-
*/
|
75
|
-
cancelApproveAnnotation(requestData: RequestData, approval: any): any;
|
76
|
-
/**
|
77
|
-
* close annotation
|
78
|
-
* @param {object} requestData
|
79
|
-
* @returns {Promise}
|
80
|
-
*/
|
81
|
-
closeAnnotation(requestData: RequestData): Promise<void>;
|
82
|
-
/**
|
83
|
-
* send annotation command
|
84
|
-
* @param {ANNOTATION_ACTION_TYPE} actionType
|
85
|
-
* @param {RequestData} requestData
|
86
|
-
* @returns {Promise}
|
87
|
-
*/
|
88
|
-
private sendAnnotationAction;
|
89
|
-
/**
|
90
|
-
* decrypt data
|
91
|
-
* @param {string} encryptionKeyUrl
|
92
|
-
* @param {string} content encrypted content
|
93
|
-
* @returns {string} decrypted content
|
94
|
-
*/
|
95
|
-
private decryptContent;
|
96
|
-
/**
|
97
|
-
* encrypt data
|
98
|
-
* @param {string} encryptionKeyUrl
|
99
|
-
* @param {string} content original content
|
100
|
-
* @returns {string} encrypted content
|
101
|
-
*/
|
102
|
-
private encryptContent;
|
103
|
-
/**
|
104
|
-
* Sends stroke data to presenter
|
105
|
-
* @param {StrokeData} strokeData
|
106
|
-
* @returns {void}
|
107
|
-
*/
|
108
|
-
sendStrokeData: (strokeData: StrokeData) => void;
|
109
|
-
/**
|
110
|
-
* private encrypted the strokes data
|
111
|
-
* @param {string} encryptedContent
|
112
|
-
* @param {StrokeData} strokeData
|
113
|
-
* @returns {void}
|
114
|
-
*/
|
115
|
-
private publishEncrypted;
|
116
|
-
}
|
117
|
-
export default AnnotationChannel;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Extended Error object to signify breakout related errors
|
3
|
-
*/
|
4
|
-
export default class BreakoutEditLockedError extends Error {
|
5
|
-
code: any;
|
6
|
-
error: any;
|
7
|
-
sdkMessage: any;
|
8
|
-
/**
|
9
|
-
*
|
10
|
-
* @constructor
|
11
|
-
* @param {String} [message]
|
12
|
-
* @param {Object} [error]
|
13
|
-
*/
|
14
|
-
constructor(message?: string, error?: any);
|
15
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { ClientEvent } from '@webex/internal-plugin-metrics';
|
2
|
-
declare const breakoutEvent: {
|
3
|
-
onBreakoutMoveRequest: (eventInfo: any, submitClientEvent: any) => void;
|
4
|
-
onBreakoutMoveResponse: (eventInfo: any, submitClientEvent: any) => void;
|
5
|
-
onBreakoutJoinResponse: (eventInfo: any, submitClientEvent: any) => void;
|
6
|
-
postMoveCallAnalyzer: (event: ClientEvent['name'], eventInfo: any, submitClientEvent: any) => void;
|
7
|
-
};
|
8
|
-
export default breakoutEvent;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { StatelessWebexPlugin } from '@webex/webex-core';
|
2
|
-
/**
|
3
|
-
* @class BreakoutRequest
|
4
|
-
*/
|
5
|
-
export default class BreakoutRequest extends StatelessWebexPlugin {
|
6
|
-
/**
|
7
|
-
* Broadcast message to all breakout session's participants
|
8
|
-
* @param {String} url
|
9
|
-
* @param {String} message
|
10
|
-
* @param {Object} options
|
11
|
-
* @param {string} groupId
|
12
|
-
* @param {string} sessionId
|
13
|
-
* @returns {Promise}
|
14
|
-
*/
|
15
|
-
broadcast({ url, message, options, groupId, sessionId, }: {
|
16
|
-
url: string;
|
17
|
-
message: string;
|
18
|
-
options?: object;
|
19
|
-
groupId: string;
|
20
|
-
sessionId?: string;
|
21
|
-
}): any;
|
22
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
export declare const getBroadcastRoles: (options: any) => string[];
|
2
|
-
/**
|
3
|
-
* Deals with all kinds of errors of breakout service
|
4
|
-
* @param {object} error // one of the breakout service error
|
5
|
-
* @param {string} position // position of the error occur
|
6
|
-
* @returns {object}
|
7
|
-
*/
|
8
|
-
export declare const boServiceErrorHandler: (error: any, position: string) => any;
|
9
|
-
/**
|
10
|
-
*
|
11
|
-
* @param {object} breakout
|
12
|
-
* @param {string} newSessionType
|
13
|
-
* @returns {boolean}
|
14
|
-
*/
|
15
|
-
export declare const isSessionTypeChangedFromSessionToMain: (breakout: any, newSessionType: any) => boolean;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/// <reference types="lodash" />
|
2
|
-
declare const _default: ((agent?: any) => {
|
3
|
-
getOSName: () => any;
|
4
|
-
getOSVersion: () => any;
|
5
|
-
getBrowserName: () => any;
|
6
|
-
getBrowserVersion: () => any;
|
7
|
-
isBrowser: (name: any) => boolean;
|
8
|
-
}) & import("lodash").MemoizedFunction;
|
9
|
-
export default _default;
|
@@ -1,48 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @class Collection
|
3
|
-
*/
|
4
|
-
export default class Collection {
|
5
|
-
namespace: string;
|
6
|
-
propertyName: string;
|
7
|
-
/**
|
8
|
-
* @param {String} property
|
9
|
-
* @memberof Collection
|
10
|
-
*/
|
11
|
-
constructor(property: string);
|
12
|
-
/**
|
13
|
-
* @param {String} id ID of the thing stuffed into the collection at id location
|
14
|
-
* @returns {Any} returns whatever is being stuffed into the collection
|
15
|
-
* @public
|
16
|
-
* @memberof Collection
|
17
|
-
*/
|
18
|
-
get(id: string): any;
|
19
|
-
/**
|
20
|
-
* @param {String} id the id of the meeting info instance to add to the collection
|
21
|
-
* @param {Any} value the thing to set in the collection
|
22
|
-
* @returns {Any} returns the thing just put in the collection
|
23
|
-
* @public
|
24
|
-
* @memberof Collection
|
25
|
-
*/
|
26
|
-
set(id: string, value: any): any;
|
27
|
-
/**
|
28
|
-
* remove the thing at the id
|
29
|
-
* @param {String} id ID of the thing you wish to delete from the collection
|
30
|
-
* @returns {undefined}
|
31
|
-
* @public
|
32
|
-
* @memberof Collection
|
33
|
-
*/
|
34
|
-
delete(id: string): void;
|
35
|
-
/**
|
36
|
-
* @returns {Object} returns an object map of things stuffed into the collection
|
37
|
-
* @public
|
38
|
-
* @memberof Collection
|
39
|
-
*/
|
40
|
-
getAll(): any;
|
41
|
-
/**
|
42
|
-
* @param {Object} set the replacement object
|
43
|
-
* @returns {Object} returns an object map of things stuffed into the collection
|
44
|
-
* @public
|
45
|
-
* @memberof Collection
|
46
|
-
*/
|
47
|
-
setAll(set: object): any;
|
48
|
-
}
|
package/dist/common/config.d.ts
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Extended Error object to signify captcha related errors
|
3
|
-
*/
|
4
|
-
export default class CaptchaError extends Error {
|
5
|
-
code: any;
|
6
|
-
error: any;
|
7
|
-
sdkMessage: any;
|
8
|
-
/**
|
9
|
-
*
|
10
|
-
* @constructor
|
11
|
-
* @param {String} [message]
|
12
|
-
* @param {Object} [error]
|
13
|
-
*/
|
14
|
-
constructor(message?: string, error?: any);
|
15
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Extended Error object to signify the intent to join for unclaimed PMR scenarios
|
3
|
-
*/
|
4
|
-
export default class IntentToJoinError extends Error {
|
5
|
-
code: any;
|
6
|
-
error: any;
|
7
|
-
joinIntentRequired: any;
|
8
|
-
sdkMessage: any;
|
9
|
-
/**
|
10
|
-
*
|
11
|
-
* @constructor
|
12
|
-
* @param {String} [message]
|
13
|
-
* @param {Object} [error]
|
14
|
-
*/
|
15
|
-
constructor(message?: string, error?: any);
|
16
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Extended Error object to signify a join meeting error
|
3
|
-
*/
|
4
|
-
export default class JoinMeetingError extends Error {
|
5
|
-
code: any;
|
6
|
-
error: any;
|
7
|
-
joinOptions: any;
|
8
|
-
sdkMessage: any;
|
9
|
-
/**
|
10
|
-
*
|
11
|
-
* @constructor
|
12
|
-
* @param {Object} [options]
|
13
|
-
* @param {String} [message]
|
14
|
-
* @param {Object} [error]
|
15
|
-
*/
|
16
|
-
constructor(options?: object, message?: string, error?: any);
|
17
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Extended Error object for media errors
|
3
|
-
*/
|
4
|
-
export default class MediaError extends Error {
|
5
|
-
code: any;
|
6
|
-
error: any;
|
7
|
-
sdkMessage: any;
|
8
|
-
/**
|
9
|
-
*
|
10
|
-
* @constructor
|
11
|
-
* @param {String} [message]
|
12
|
-
* @param {Object} [error]
|
13
|
-
*/
|
14
|
-
constructor(message?: string, error?: any);
|
15
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Extended Error object for general parameter errors
|
3
|
-
*/
|
4
|
-
export default class NoMeetingInfoError extends Error {
|
5
|
-
code: any;
|
6
|
-
error: any;
|
7
|
-
sdkMessage: any;
|
8
|
-
/**
|
9
|
-
* @constructor
|
10
|
-
* @param {String} [message]
|
11
|
-
* @param {Object} [error]
|
12
|
-
*/
|
13
|
-
constructor(message?: string, error?: any);
|
14
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Extended Error object for general parameter errors
|
3
|
-
*/
|
4
|
-
export default class ParameterError extends Error {
|
5
|
-
sdkMessage: string;
|
6
|
-
error: null;
|
7
|
-
code: number;
|
8
|
-
/**
|
9
|
-
*
|
10
|
-
* @constructor
|
11
|
-
* @param {String} [message]
|
12
|
-
* @param {Object} [error]
|
13
|
-
*/
|
14
|
-
constructor(message?: string, error?: any);
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Extended Error object to signify password related errors
|
3
|
-
*/
|
4
|
-
export default class PasswordError extends Error {
|
5
|
-
code: any;
|
6
|
-
error: any;
|
7
|
-
sdkMessage: any;
|
8
|
-
/**
|
9
|
-
*
|
10
|
-
* @constructor
|
11
|
-
* @param {String} [message]
|
12
|
-
* @param {Object} [error]
|
13
|
-
*/
|
14
|
-
constructor(message?: string, error?: any);
|
15
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Extended Error object for general parameter errors
|
3
|
-
*/
|
4
|
-
export default class PermissionError extends Error {
|
5
|
-
code: any;
|
6
|
-
error: any;
|
7
|
-
sdkMessage: any;
|
8
|
-
/**
|
9
|
-
* @constructor
|
10
|
-
* @param {String} [message]
|
11
|
-
* @param {Object} [error]
|
12
|
-
*/
|
13
|
-
constructor(message?: string, error?: any);
|
14
|
-
}
|
@@ -1,60 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Extended Error object for reclaim host role empty or wrong key
|
3
|
-
*/
|
4
|
-
export declare class ReclaimHostEmptyWrongKeyError extends Error {
|
5
|
-
sdkMessage: string;
|
6
|
-
error: null;
|
7
|
-
code: number;
|
8
|
-
/**
|
9
|
-
*
|
10
|
-
* @constructor
|
11
|
-
* @param {String} [message]
|
12
|
-
* @param {Object} [error]
|
13
|
-
*/
|
14
|
-
constructor(message?: string, error?: any);
|
15
|
-
}
|
16
|
-
/**
|
17
|
-
* Extended Error object for reclaim host role not supported
|
18
|
-
*/
|
19
|
-
export declare class ReclaimHostNotSupportedError extends Error {
|
20
|
-
sdkMessage: string;
|
21
|
-
error: null;
|
22
|
-
code: number;
|
23
|
-
/**
|
24
|
-
*
|
25
|
-
* @constructor
|
26
|
-
* @param {String} [message]
|
27
|
-
* @param {Object} [error]
|
28
|
-
*/
|
29
|
-
constructor(message?: string, error?: any);
|
30
|
-
}
|
31
|
-
/**
|
32
|
-
* Extended Error object for reclaim host role not allowed for other participants
|
33
|
-
*/
|
34
|
-
export declare class ReclaimHostNotAllowedError extends Error {
|
35
|
-
sdkMessage: string;
|
36
|
-
error: null;
|
37
|
-
code: number;
|
38
|
-
/**
|
39
|
-
*
|
40
|
-
* @constructor
|
41
|
-
* @param {String} [message]
|
42
|
-
* @param {Object} [error]
|
43
|
-
*/
|
44
|
-
constructor(message?: string, error?: any);
|
45
|
-
}
|
46
|
-
/**
|
47
|
-
* Extended Error object for reclaim host role when user is host already
|
48
|
-
*/
|
49
|
-
export declare class ReclaimHostIsHostAlreadyError extends Error {
|
50
|
-
sdkMessage: string;
|
51
|
-
error: null;
|
52
|
-
code: number;
|
53
|
-
/**
|
54
|
-
*
|
55
|
-
* @constructor
|
56
|
-
* @param {String} [message]
|
57
|
-
* @param {Object} [error]
|
58
|
-
*/
|
59
|
-
constructor(message?: string, error?: any);
|
60
|
-
}
|