@webex/plugin-meetings 3.8.1-next.9 → 3.8.1
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 +13 -26
- package/dist/annotation/annotation.types.d.ts +42 -0
- package/dist/annotation/constants.d.ts +31 -0
- package/dist/annotation/index.d.ts +117 -0
- package/dist/breakouts/breakout.d.ts +8 -0
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/collection.d.ts +5 -0
- package/dist/breakouts/edit-lock-error.d.ts +15 -0
- package/dist/breakouts/events.d.ts +8 -0
- package/dist/breakouts/index.d.ts +5 -0
- package/dist/breakouts/index.js +1 -1
- package/dist/breakouts/request.d.ts +22 -0
- package/dist/breakouts/utils.d.ts +15 -0
- package/dist/common/browser-detection.d.ts +9 -0
- package/dist/common/collection.d.ts +48 -0
- package/dist/common/config.d.ts +2 -0
- package/dist/common/errors/captcha-error.d.ts +15 -0
- package/dist/common/errors/intent-to-join.d.ts +16 -0
- package/dist/common/errors/join-meeting.d.ts +17 -0
- package/dist/common/errors/media.d.ts +15 -0
- package/dist/common/errors/no-meeting-info.d.ts +14 -0
- package/dist/common/errors/parameter.d.ts +15 -0
- package/dist/common/errors/password-error.d.ts +15 -0
- package/dist/common/errors/permission.d.ts +14 -0
- package/dist/common/errors/reclaim-host-role-error.d.ts +60 -0
- package/dist/common/errors/reclaim-host-role-error.js +158 -0
- package/dist/common/errors/reclaim-host-role-error.js.map +1 -0
- package/dist/common/errors/reclaim-host-role-errors.d.ts +60 -0
- package/dist/common/errors/reconnection-in-progress.d.ts +9 -0
- package/dist/common/errors/reconnection-in-progress.js +35 -0
- package/dist/common/errors/reconnection-in-progress.js.map +1 -0
- package/dist/common/errors/reconnection.d.ts +15 -0
- package/dist/common/errors/stats.d.ts +15 -0
- package/dist/common/errors/webex-errors.d.ts +81 -0
- package/dist/common/errors/webex-meetings-error.d.ts +20 -0
- package/dist/common/events/events-scope.d.ts +17 -0
- package/dist/common/events/events.d.ts +12 -0
- package/dist/common/events/trigger-proxy.d.ts +2 -0
- package/dist/common/events/util.d.ts +2 -0
- package/dist/common/logs/logger-config.d.ts +2 -0
- package/dist/common/logs/logger-proxy.d.ts +2 -0
- package/dist/common/logs/request.d.ts +34 -0
- package/dist/common/queue.d.ts +32 -0
- package/dist/config.d.ts +73 -0
- package/dist/constants.d.ts +952 -0
- package/dist/constants.js +1 -8
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/constants.d.ts +4 -0
- package/dist/controls-options-manager/enums.d.ts +5 -0
- package/dist/controls-options-manager/enums.js +0 -1
- package/dist/controls-options-manager/enums.js.map +1 -1
- package/dist/controls-options-manager/index.d.ts +120 -0
- package/dist/controls-options-manager/types.d.ts +43 -0
- package/dist/controls-options-manager/types.js.map +1 -1
- package/dist/controls-options-manager/util.d.ts +7 -0
- package/dist/controls-options-manager/util.js +0 -26
- package/dist/controls-options-manager/util.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/interceptors/index.d.ts +2 -0
- package/dist/interceptors/locusRetry.d.ts +27 -0
- package/dist/interpretation/collection.d.ts +5 -0
- package/dist/interpretation/index.d.ts +5 -0
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.d.ts +5 -0
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/controlsUtils.d.ts +2 -0
- package/dist/locus-info/controlsUtils.js +3 -11
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/embeddedAppsUtils.d.ts +2 -0
- package/dist/locus-info/fullState.d.ts +2 -0
- package/dist/locus-info/hostUtils.d.ts +2 -0
- package/dist/locus-info/index.d.ts +269 -0
- package/dist/locus-info/index.js +0 -30
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/infoUtils.d.ts +2 -0
- package/dist/locus-info/mediaSharesUtils.d.ts +2 -0
- package/dist/locus-info/parser.d.ts +212 -0
- package/dist/locus-info/selfUtils.d.ts +2 -0
- package/dist/media/index.d.ts +32 -0
- package/dist/media/properties.d.ts +108 -0
- package/dist/media/util.d.ts +2 -0
- package/dist/mediaQualityMetrics/config.d.ts +233 -0
- package/dist/mediaQualityMetrics/config.js +513 -0
- package/dist/mediaQualityMetrics/config.js.map +1 -0
- package/dist/meeting/brbState.js +2 -3
- package/dist/meeting/brbState.js.map +1 -1
- package/dist/meeting/effectsState.d.ts +42 -0
- package/dist/meeting/effectsState.js +260 -0
- package/dist/meeting/effectsState.js.map +1 -0
- package/dist/meeting/in-meeting-actions.d.ts +79 -0
- package/dist/meeting/in-meeting-actions.js +1 -5
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.d.ts +1622 -0
- package/dist/meeting/index.js +66 -88
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/locusMediaRequest.d.ts +74 -0
- package/dist/meeting/muteState.d.ts +116 -0
- package/dist/meeting/request.d.ts +257 -0
- package/dist/meeting/request.type.d.ts +11 -0
- package/dist/meeting/state.d.ts +9 -0
- package/dist/meeting/util.d.ts +2 -0
- package/dist/meeting/voicea-meeting.d.ts +16 -0
- package/dist/meeting-info/collection.d.ts +20 -0
- package/dist/meeting-info/index.d.ts +57 -0
- package/dist/meeting-info/meeting-info-v2.d.ts +93 -0
- package/dist/meeting-info/request.d.ts +22 -0
- package/dist/meeting-info/util.d.ts +2 -0
- package/dist/meeting-info/utilv2.d.ts +2 -0
- package/dist/meetings/collection.d.ts +23 -0
- package/dist/meetings/index.d.ts +296 -0
- package/dist/meetings/meetings.types.d.ts +4 -0
- package/dist/meetings/request.d.ts +27 -0
- package/dist/meetings/util.d.ts +18 -0
- package/dist/member/index.d.ts +148 -0
- package/dist/member/member.types.d.ts +11 -0
- package/dist/member/member.types.js +18 -0
- package/dist/member/member.types.js.map +1 -0
- package/dist/member/types.d.ts +32 -0
- package/dist/member/util.d.ts +2 -0
- package/dist/members/collection.d.ts +24 -0
- package/dist/members/index.d.ts +308 -0
- package/dist/members/request.d.ts +58 -0
- package/dist/members/types.d.ts +25 -0
- package/dist/members/util.d.ts +2 -0
- package/dist/metrics/config.d.ts +169 -0
- package/dist/metrics/config.js +289 -0
- package/dist/metrics/config.js.map +1 -0
- package/dist/metrics/constants.d.ts +59 -0
- package/dist/metrics/constants.js +0 -1
- package/dist/metrics/constants.js.map +1 -1
- package/dist/metrics/index.d.ts +152 -0
- package/dist/multistream/mediaRequestManager.d.ts +119 -0
- package/dist/multistream/receiveSlot.d.ts +68 -0
- package/dist/multistream/receiveSlotManager.d.ts +56 -0
- package/dist/multistream/remoteMedia.d.ts +72 -0
- package/dist/multistream/remoteMediaGroup.d.ts +49 -0
- package/dist/multistream/remoteMediaManager.d.ts +300 -0
- package/dist/multistream/sendSlotManager.d.ts +69 -0
- package/dist/networkQualityMonitor/index.d.ts +70 -0
- package/dist/networkQualityMonitor/index.js +226 -0
- package/dist/networkQualityMonitor/index.js.map +1 -0
- package/dist/peer-connection-manager/index.d.ts +6 -0
- package/dist/peer-connection-manager/index.js +671 -0
- package/dist/peer-connection-manager/index.js.map +1 -0
- package/dist/peer-connection-manager/util.d.ts +6 -0
- package/dist/peer-connection-manager/util.js +110 -0
- package/dist/peer-connection-manager/util.js.map +1 -0
- package/dist/personal-meeting-room/index.d.ts +47 -0
- package/dist/personal-meeting-room/request.d.ts +14 -0
- package/dist/personal-meeting-room/util.d.ts +2 -0
- package/dist/reachability/clusterReachability.d.ts +109 -0
- package/dist/reachability/index.d.ts +139 -0
- package/dist/reachability/index.js +10 -5
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/request.d.ts +35 -0
- package/dist/reachability/util.d.ts +8 -0
- package/dist/reactions/constants.d.ts +3 -0
- package/dist/reactions/reactions.d.ts +4 -0
- package/dist/reactions/reactions.type.d.ts +32 -0
- package/dist/reconnection-manager/index.d.ts +112 -0
- package/dist/recording-controller/enums.d.ts +7 -0
- package/dist/recording-controller/index.d.ts +193 -0
- package/dist/recording-controller/util.d.ts +13 -0
- package/dist/roap/collection.d.ts +10 -0
- package/dist/roap/collection.js +63 -0
- package/dist/roap/collection.js.map +1 -0
- package/dist/roap/handler.d.ts +47 -0
- package/dist/roap/handler.js +279 -0
- package/dist/roap/handler.js.map +1 -0
- package/dist/roap/index.d.ts +116 -0
- package/dist/roap/request.d.ts +35 -0
- package/dist/roap/state.d.ts +9 -0
- package/dist/roap/state.js +127 -0
- package/dist/roap/state.js.map +1 -0
- package/dist/roap/turnDiscovery.d.ts +81 -0
- package/dist/roap/util.d.ts +2 -0
- package/dist/roap/util.js +76 -0
- package/dist/roap/util.js.map +1 -0
- package/dist/rtcMetrics/constants.d.ts +4 -0
- package/dist/rtcMetrics/constants.js +11 -0
- package/dist/rtcMetrics/constants.js.map +1 -0
- package/dist/rtcMetrics/index.d.ts +61 -0
- package/dist/rtcMetrics/index.js +197 -0
- package/dist/rtcMetrics/index.js.map +1 -0
- package/dist/statsAnalyzer/global.d.ts +118 -0
- package/dist/statsAnalyzer/global.js +127 -0
- package/dist/statsAnalyzer/global.js.map +1 -0
- package/dist/statsAnalyzer/index.d.ts +193 -0
- package/dist/statsAnalyzer/index.js +1019 -0
- package/dist/statsAnalyzer/index.js.map +1 -0
- package/dist/statsAnalyzer/mqaUtil.d.ts +22 -0
- package/dist/statsAnalyzer/mqaUtil.js +181 -0
- package/dist/statsAnalyzer/mqaUtil.js.map +1 -0
- package/dist/transcription/index.d.ts +64 -0
- package/dist/types/common/errors/reconnection-in-progress.d.ts +9 -0
- package/dist/types/constants.d.ts +0 -6
- package/dist/types/controls-options-manager/enums.d.ts +1 -2
- package/dist/types/controls-options-manager/types.d.ts +1 -4
- package/dist/types/mediaQualityMetrics/config.d.ts +241 -0
- package/dist/types/meeting/in-meeting-actions.d.ts +0 -4
- package/dist/types/metrics/constants.d.ts +0 -1
- package/dist/types/networkQualityMonitor/index.d.ts +70 -0
- package/dist/types/reachability/index.d.ts +2 -2
- package/dist/types/rtcMetrics/constants.d.ts +4 -0
- package/dist/types/rtcMetrics/index.d.ts +71 -0
- package/dist/types/statsAnalyzer/global.d.ts +36 -0
- package/dist/types/statsAnalyzer/index.d.ts +217 -0
- package/dist/types/statsAnalyzer/mqaUtil.d.ts +48 -0
- package/dist/webinar/collection.d.ts +16 -0
- package/dist/webinar/index.d.ts +5 -0
- package/dist/webinar/index.js +1 -1
- package/package.json +23 -23
- package/src/constants.ts +0 -9
- package/src/controls-options-manager/enums.ts +0 -1
- package/src/controls-options-manager/types.ts +1 -6
- package/src/controls-options-manager/util.ts +0 -31
- package/src/locus-info/controlsUtils.ts +0 -15
- package/src/locus-info/index.ts +0 -41
- package/src/meeting/brbState.ts +2 -4
- package/src/meeting/in-meeting-actions.ts +0 -8
- package/src/meeting/index.ts +29 -62
- package/src/metrics/constants.ts +0 -1
- package/src/reachability/index.ts +13 -5
- package/test/unit/spec/controls-options-manager/util.js +0 -58
- package/test/unit/spec/locus-info/controlsUtils.js +0 -52
- package/test/unit/spec/locus-info/index.js +0 -42
- package/test/unit/spec/meeting/brbState.ts +2 -21
- package/test/unit/spec/meeting/in-meeting-actions.ts +0 -4
- package/test/unit/spec/meeting/index.js +27 -130
- package/test/unit/spec/reachability/index.ts +6 -2
package/README.md
CHANGED
@@ -30,9 +30,9 @@ This is a plugin for the Cisco Webex JS SDK . Please see our [developer portal](
|
|
30
30
|
|
31
31
|
## API Docs and Sample App
|
32
32
|
|
33
|
-
API Docs:
|
34
|
-
Hosted Sample App:
|
35
|
-
See
|
33
|
+
API Docs: https://webex.github.io/webex-js-sdk/api/
|
34
|
+
Hosted Sample App: https://webex.github.io/webex-js-sdk/samples/browser-plugin-meetings/
|
35
|
+
See https://github.com/webex/webex-js-sdk/tree/master/docs/samples/browser-plugin-meetings for the sample app code vs the readme
|
36
36
|
|
37
37
|
#### Device Registration
|
38
38
|
|
@@ -110,7 +110,6 @@ webex.meetings.syncMeetings().then(() => {
|
|
110
110
|
```
|
111
111
|
|
112
112
|
Or, to keep meetings with an locus url that is still active and any meeting without a locus url:
|
113
|
-
|
114
113
|
```js
|
115
114
|
let existingMeetings;
|
116
115
|
// Sync Meetings From Server
|
@@ -344,7 +343,6 @@ webex.meetings.on('meeting:added', (addedMeeting) => {
|
|
344
343
|
addedMeeting.join().then(() => {});
|
345
344
|
}
|
346
345
|
```
|
347
|
-
|
348
346
|
##### Reject an incoming meeting
|
349
347
|
|
350
348
|
When listening to an added meeting, to determine if it is an "incoming" meeting, check the type property of the meeting:
|
@@ -470,9 +468,7 @@ audioOutputSelect.onchange = function () {
|
|
470
468
|
attachSinkId(document.getElementById('remoteaudio'), audioOutputSelect.value);
|
471
469
|
};
|
472
470
|
```
|
473
|
-
|
474
|
-
##### Available joining options
|
475
|
-
|
471
|
+
##### Availabel joining options
|
476
472
|
```
|
477
473
|
/**
|
478
474
|
* Make a network request to join a meeting
|
@@ -494,29 +490,21 @@ audioOutputSelect.onchange = function () {
|
|
494
490
|
* @returns {Promise}
|
495
491
|
*/
|
496
492
|
```
|
497
|
-
|
498
493
|
##### options.deviceCapabilities
|
499
|
-
|
500
494
|
This option provides toggles that Locus service needs, and those toggles will control the performance or features of the meetings to be joined, see examples:
|
501
|
-
|
502
495
|
###### Breakout Sessions
|
503
|
-
|
504
496
|
```
|
505
497
|
if (breakoutsSupported) {
|
506
498
|
deviceCapabilities.push(BREAKOUTS.BREAKOUTS_SUPPORTED);
|
507
499
|
}
|
508
500
|
```
|
509
|
-
|
510
501
|
###### Live Annotation
|
511
|
-
|
512
502
|
```
|
513
503
|
if (liveAnnotationSupported) {
|
514
504
|
deviceCapabilities.push(ANNOTATION.ANNOTATION_ON_SHARE_SUPPORTED);
|
515
505
|
}
|
516
506
|
```
|
517
|
-
|
518
507
|
###### Audio Disclaimer
|
519
|
-
|
520
508
|
```
|
521
509
|
const joinOptions = {
|
522
510
|
locale: 'en_UK', // audio disclaimer language
|
@@ -707,7 +695,7 @@ webex.meetings.personalMeetingRoom.get().then((pmr) => {
|
|
707
695
|
|
708
696
|
#### Usage of Webex Devices
|
709
697
|
|
710
|
-
For details on how to use the devices see
|
698
|
+
For details on how to use the devices see https://github.com/webex/webex-js-sdk/tree/master/packages/node_modules/%40webex/plugin-device-manager
|
711
699
|
|
712
700
|
##### Leave a Meeting Using a Device
|
713
701
|
|
@@ -797,7 +785,7 @@ meeting.reconnect();
|
|
797
785
|
|
798
786
|
#### Scheduled Meetings
|
799
787
|
|
800
|
-
For scheduled meetings see
|
788
|
+
For scheduled meetings see https://github.com/webex/webex-js-sdk/tree/master/packages/node_modules/%40webex/internal-plugin-calendar
|
801
789
|
|
802
790
|
#### Member
|
803
791
|
|
@@ -1199,14 +1187,13 @@ meeting.members.on(...)
|
|
1199
1187
|
```
|
1200
1188
|
|
1201
1189
|
There are several events submitted by this package that you can subscribe to.
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
|
1205
|
-
| `members:update` | Fired when a member in the collection has been updated |
|
1190
|
+
| Event Name | Description |
|
1191
|
+
|---|---|
|
1192
|
+
| `members:update` | Fired when a member in the collection has been updated |
|
1206
1193
|
| `members:content:update` | Fired when a member in the collection has a changed content stream (share screen) |
|
1207
|
-
| `members:host:update`
|
1208
|
-
| `members:self:update`
|
1209
|
-
|
1194
|
+
| `members:host:update` | Fired when a member in the collection has a changed host value |
|
1195
|
+
| `members:self:update` | Fired when a member in the collection has a changed self value |
|
1196
|
+
|---|---|
|
1210
1197
|
|
1211
1198
|
`members:update` has the following payload
|
1212
1199
|
|
@@ -1265,4 +1252,4 @@ Pull requests welcome. Please see [CONTRIBUTING.md](https://github.com/webex/web
|
|
1265
1252
|
|
1266
1253
|
## License
|
1267
1254
|
|
1268
|
-
© 2016-
|
1255
|
+
© 2016-2020 Cisco and/or its affiliates. All Rights Reserved.
|
@@ -0,0 +1,42 @@
|
|
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 };
|
@@ -0,0 +1,31 @@
|
|
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";
|
@@ -0,0 +1,117 @@
|
|
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;
|
@@ -0,0 +1,15 @@
|
|
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
|
+
}
|
@@ -0,0 +1,8 @@
|
|
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;
|
package/dist/breakouts/index.js
CHANGED
@@ -1110,7 +1110,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
|
|
1110
1110
|
this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
|
1111
1111
|
}
|
1112
1112
|
},
|
1113
|
-
version: "3.8.1
|
1113
|
+
version: "3.8.1"
|
1114
1114
|
});
|
1115
1115
|
var _default = exports.default = Breakouts;
|
1116
1116
|
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1,22 @@
|
|
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
|
+
}
|
@@ -0,0 +1,15 @@
|
|
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;
|
@@ -0,0 +1,9 @@
|
|
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;
|
@@ -0,0 +1,48 @@
|
|
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
|
+
}
|
@@ -0,0 +1,15 @@
|
|
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
|
+
}
|
@@ -0,0 +1,16 @@
|
|
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
|
+
}
|
@@ -0,0 +1,17 @@
|
|
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
|
+
}
|
@@ -0,0 +1,15 @@
|
|
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
|
+
}
|
@@ -0,0 +1,14 @@
|
|
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
|
+
}
|
@@ -0,0 +1,15 @@
|
|
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
|
+
}
|
@@ -0,0 +1,15 @@
|
|
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
|
+
}
|
@@ -0,0 +1,14 @@
|
|
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
|
+
}
|
@@ -0,0 +1,60 @@
|
|
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
|
+
}
|