@webex/plugin-meetings 3.1.0-next.9 → 3.2.0
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/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-errors.d.ts +60 -0
- package/dist/common/errors/reconnection-in-progress.d.ts +9 -0
- package/dist/common/errors/reconnection-in-progress.js +34 -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 +93 -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 +36 -0
- package/dist/common/queue.d.ts +34 -0
- package/dist/config.d.ts +73 -0
- package/dist/constants.d.ts +1088 -0
- package/dist/constants.js +6 -3
- 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 +15 -0
- package/dist/controls-options-manager/index.d.ts +136 -0
- package/dist/controls-options-manager/types.d.ts +43 -0
- package/dist/controls-options-manager/util.d.ts +1 -0
- package/dist/index.d.ts +7 -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/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 +322 -0
- 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 +272 -0
- package/dist/locus-info/selfUtils.d.ts +2 -0
- package/dist/media/MediaConnectionAwaiter.d.ts +61 -0
- package/dist/media/index.d.ts +34 -0
- package/dist/media/properties.d.ts +93 -0
- package/dist/media/util.d.ts +2 -0
- package/dist/mediaQualityMetrics/config.d.ts +241 -0
- package/dist/mediaQualityMetrics/config.js +10 -10
- package/dist/mediaQualityMetrics/config.js.map +1 -1
- package/dist/meeting/in-meeting-actions.d.ts +167 -0
- package/dist/meeting/index.d.ts +1825 -0
- package/dist/meeting/index.js +112 -64
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/locusMediaRequest.d.ts +74 -0
- package/dist/meeting/locusMediaRequest.js +27 -0
- package/dist/meeting/locusMediaRequest.js.map +1 -1
- package/dist/meeting/muteState.d.ts +178 -0
- package/dist/meeting/request.d.ts +295 -0
- package/dist/meeting/request.type.d.ts +11 -0
- package/dist/meeting/state.d.ts +9 -0
- package/dist/meeting/util.d.ts +119 -0
- package/dist/meeting/util.js +0 -16
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting/voicea-meeting.d.ts +16 -0
- package/dist/meeting/voicea-meeting.js +37 -49
- package/dist/meeting/voicea-meeting.js.map +1 -1
- package/dist/meeting-info/collection.d.ts +20 -0
- package/dist/meeting-info/index.d.ts +69 -0
- package/dist/meeting-info/meeting-info-v2.d.ts +123 -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 +40 -0
- package/dist/meetings/index.d.ts +398 -0
- package/dist/meetings/index.js +12 -28
- package/dist/meetings/index.js.map +1 -1
- 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 +160 -0
- package/dist/member/types.d.ts +32 -0
- package/dist/member/util.d.ts +2 -0
- package/dist/members/collection.d.ts +29 -0
- package/dist/members/index.d.ts +353 -0
- package/dist/members/request.d.ts +114 -0
- package/dist/members/types.d.ts +25 -0
- package/dist/members/util.d.ts +215 -0
- package/dist/metrics/constants.d.ts +70 -0
- package/dist/metrics/index.d.ts +45 -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/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 +110 -0
- package/dist/reachability/index.d.ts +109 -0
- package/dist/reachability/index.js +88 -9
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/request.d.ts +39 -0
- package/dist/reachability/util.d.ts +15 -0
- package/dist/reactions/constants.d.ts +3 -0
- package/dist/reactions/reactions.d.ts +4 -0
- package/dist/reactions/reactions.type.d.ts +52 -0
- package/dist/reconnection-manager/index.d.ts +136 -0
- package/dist/recording-controller/enums.d.ts +7 -0
- package/dist/recording-controller/index.d.ts +207 -0
- package/dist/recording-controller/util.d.ts +14 -0
- package/dist/roap/index.d.ts +86 -0
- package/dist/roap/request.d.ts +39 -0
- package/dist/roap/request.js +3 -27
- package/dist/roap/request.js.map +1 -1
- package/dist/roap/turnDiscovery.d.ts +155 -0
- package/dist/rtcMetrics/constants.d.ts +4 -0
- package/dist/rtcMetrics/index.d.ts +61 -0
- package/dist/statsAnalyzer/global.d.ts +36 -0
- package/dist/statsAnalyzer/index.d.ts +217 -0
- package/dist/statsAnalyzer/index.js +4 -2
- package/dist/statsAnalyzer/index.js.map +1 -1
- package/dist/statsAnalyzer/mqaUtil.d.ts +48 -0
- package/dist/statsAnalyzer/mqaUtil.js +14 -0
- package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
- package/dist/transcription/index.d.ts +64 -0
- package/dist/types/constants.d.ts +3 -1
- package/dist/types/mediaQualityMetrics/config.d.ts +8 -2
- package/dist/types/meeting/index.d.ts +10 -1
- package/dist/types/meeting/locusMediaRequest.d.ts +1 -0
- package/dist/types/meeting/voicea-meeting.d.ts +3 -2
- package/dist/types/meetings/index.d.ts +1 -16
- package/dist/types/reachability/index.d.ts +11 -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 +21 -21
- package/src/constants.ts +3 -2
- package/src/mediaQualityMetrics/config.ts +13 -7
- package/src/meeting/index.ts +73 -30
- package/src/meeting/locusMediaRequest.ts +31 -0
- package/src/meeting/util.ts +1 -16
- package/src/meeting/voicea-meeting.ts +44 -46
- package/src/meetings/index.ts +15 -27
- package/src/reachability/index.ts +60 -0
- package/src/roap/request.ts +1 -24
- package/src/statsAnalyzer/index.ts +6 -3
- package/src/statsAnalyzer/mqaUtil.ts +18 -0
- package/test/unit/spec/meeting/index.js +70 -33
- package/test/unit/spec/meeting/locusMediaRequest.ts +49 -0
- package/test/unit/spec/meeting/utils.js +0 -10
- package/test/unit/spec/meeting/voicea-meeting.ts +5 -14
- package/test/unit/spec/meetings/index.js +59 -17
- package/test/unit/spec/reachability/index.ts +266 -0
- package/test/unit/spec/roap/request.ts +0 -37
- package/test/unit/spec/stats-analyzer/index.js +89 -8
|
@@ -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
|
@@ -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.
|
|
1044
|
+
version: "3.2.0"
|
|
1045
1045
|
});
|
|
1046
1046
|
var _default = exports.default = Breakouts;
|
|
1047
1047
|
//# 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
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Reflect$construct = require("@babel/runtime-corejs2/core-js/reflect/construct");
|
|
4
|
+
var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
|
|
5
|
+
var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
|
|
6
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/createClass"));
|
|
11
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/classCallCheck"));
|
|
12
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/inherits"));
|
|
13
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/possibleConstructorReturn"));
|
|
14
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/getPrototypeOf"));
|
|
15
|
+
var _wrapNativeSuper2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/wrapNativeSuper"));
|
|
16
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
17
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @class ReconnectInProgress
|
|
23
|
+
* @extends {Error}
|
|
24
|
+
*/
|
|
25
|
+
var ReconnectInProgress = exports.default = /*#__PURE__*/function (_Error) {
|
|
26
|
+
(0, _inherits2.default)(ReconnectInProgress, _Error);
|
|
27
|
+
var _super = _createSuper(ReconnectInProgress);
|
|
28
|
+
function ReconnectInProgress() {
|
|
29
|
+
(0, _classCallCheck2.default)(this, ReconnectInProgress);
|
|
30
|
+
return _super.apply(this, arguments);
|
|
31
|
+
}
|
|
32
|
+
return (0, _createClass2.default)(ReconnectInProgress);
|
|
33
|
+
}( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
|
|
34
|
+
//# sourceMappingURL=reconnection-in-progress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ReconnectInProgress","exports","default","_Error","_inherits2","_super","_createSuper","_classCallCheck2","apply","arguments","_createClass2","_wrapNativeSuper2","Error"],"sources":["reconnection-in-progress.ts"],"sourcesContent":["/**\n *\n *\n * @export\n * @class ReconnectInProgress\n * @extends {Error}\n */\nexport default class ReconnectInProgress extends Error {}\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AANA,IAOqBA,mBAAmB,GAAAC,OAAA,CAAAC,OAAA,0BAAAC,MAAA;EAAA,IAAAC,UAAA,CAAAF,OAAA,EAAAF,mBAAA,EAAAG,MAAA;EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAN,mBAAA;EAAA,SAAAA,oBAAA;IAAA,IAAAO,gBAAA,CAAAL,OAAA,QAAAF,mBAAA;IAAA,OAAAK,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAA,WAAAC,aAAA,CAAAR,OAAA,EAAAF,mBAAA;AAAA,oBAAAW,iBAAA,CAAAT,OAAA,EAASU,KAAK"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extended Error object to signify the intent to join for unclaimed PMR scenarios
|
|
3
|
+
*/
|
|
4
|
+
export default class ReconnectionError 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,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extended Error object for Stats Errors
|
|
3
|
+
*/
|
|
4
|
+
export default class StatsError 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
|
+
}
|