@webex/plugin-meetings 3.7.0-wxcc.1 → 3.8.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.
Files changed (220) hide show
  1. package/dist/annotation/annotation.types.d.ts +42 -0
  2. package/dist/annotation/constants.d.ts +31 -0
  3. package/dist/annotation/index.d.ts +117 -0
  4. package/dist/breakouts/breakout.d.ts +8 -0
  5. package/dist/breakouts/breakout.js +1 -1
  6. package/dist/breakouts/collection.d.ts +5 -0
  7. package/dist/breakouts/edit-lock-error.d.ts +15 -0
  8. package/dist/breakouts/events.d.ts +8 -0
  9. package/dist/breakouts/index.d.ts +5 -0
  10. package/dist/breakouts/index.js +1 -1
  11. package/dist/breakouts/request.d.ts +22 -0
  12. package/dist/breakouts/utils.d.ts +15 -0
  13. package/dist/common/browser-detection.d.ts +9 -0
  14. package/dist/common/collection.d.ts +48 -0
  15. package/dist/common/config.d.ts +2 -0
  16. package/dist/common/errors/captcha-error.d.ts +15 -0
  17. package/dist/common/errors/intent-to-join.d.ts +16 -0
  18. package/dist/common/errors/join-meeting.d.ts +17 -0
  19. package/dist/common/errors/media.d.ts +15 -0
  20. package/dist/common/errors/no-meeting-info.d.ts +14 -0
  21. package/dist/common/errors/parameter.d.ts +15 -0
  22. package/dist/common/errors/password-error.d.ts +15 -0
  23. package/dist/common/errors/permission.d.ts +14 -0
  24. package/dist/common/errors/reclaim-host-role-error.js +149 -0
  25. package/dist/common/errors/reclaim-host-role-error.js.map +1 -0
  26. package/dist/common/errors/reclaim-host-role-errors.d.ts +60 -0
  27. package/dist/common/errors/reconnection-in-progress.d.ts +9 -0
  28. package/dist/common/errors/reconnection-in-progress.js +33 -0
  29. package/dist/common/errors/reconnection-in-progress.js.map +1 -0
  30. package/dist/common/errors/reconnection.d.ts +15 -0
  31. package/dist/common/errors/stats.d.ts +15 -0
  32. package/dist/common/errors/webex-errors.d.ts +93 -0
  33. package/dist/common/errors/webex-meetings-error.d.ts +20 -0
  34. package/dist/common/events/events-scope.d.ts +17 -0
  35. package/dist/common/events/events.d.ts +12 -0
  36. package/dist/common/events/trigger-proxy.d.ts +2 -0
  37. package/dist/common/events/util.d.ts +2 -0
  38. package/dist/common/logs/logger-config.d.ts +2 -0
  39. package/dist/common/logs/logger-proxy.d.ts +2 -0
  40. package/dist/common/logs/request.d.ts +36 -0
  41. package/dist/common/queue.d.ts +34 -0
  42. package/dist/config.d.ts +72 -0
  43. package/dist/constants.d.ts +1088 -0
  44. package/dist/constants.js +15 -3
  45. package/dist/constants.js.map +1 -1
  46. package/dist/controls-options-manager/constants.d.ts +4 -0
  47. package/dist/controls-options-manager/enums.d.ts +15 -0
  48. package/dist/controls-options-manager/index.d.ts +136 -0
  49. package/dist/controls-options-manager/types.d.ts +43 -0
  50. package/dist/controls-options-manager/util.d.ts +1 -0
  51. package/dist/index.d.ts +7 -0
  52. package/dist/interceptors/index.d.ts +2 -0
  53. package/dist/interceptors/locusRetry.d.ts +27 -0
  54. package/dist/interpretation/collection.d.ts +5 -0
  55. package/dist/interpretation/index.d.ts +5 -0
  56. package/dist/interpretation/index.js +1 -1
  57. package/dist/interpretation/siLanguage.d.ts +5 -0
  58. package/dist/interpretation/siLanguage.js +1 -1
  59. package/dist/locus-info/controlsUtils.d.ts +2 -0
  60. package/dist/locus-info/embeddedAppsUtils.d.ts +2 -0
  61. package/dist/locus-info/fullState.d.ts +2 -0
  62. package/dist/locus-info/hostUtils.d.ts +2 -0
  63. package/dist/locus-info/index.d.ts +322 -0
  64. package/dist/locus-info/infoUtils.d.ts +2 -0
  65. package/dist/locus-info/mediaSharesUtils.d.ts +2 -0
  66. package/dist/locus-info/parser.d.ts +272 -0
  67. package/dist/locus-info/selfUtils.d.ts +2 -0
  68. package/dist/locus-info/selfUtils.js +5 -0
  69. package/dist/locus-info/selfUtils.js.map +1 -1
  70. package/dist/media/MediaConnectionAwaiter.js +1 -0
  71. package/dist/media/MediaConnectionAwaiter.js.map +1 -1
  72. package/dist/media/index.d.ts +34 -0
  73. package/dist/media/properties.d.ts +93 -0
  74. package/dist/media/properties.js +30 -16
  75. package/dist/media/properties.js.map +1 -1
  76. package/dist/media/util.d.ts +2 -0
  77. package/dist/mediaQualityMetrics/config.d.ts +241 -0
  78. package/dist/mediaQualityMetrics/config.js +502 -0
  79. package/dist/mediaQualityMetrics/config.js.map +1 -0
  80. package/dist/meeting/brbState.js +167 -0
  81. package/dist/meeting/brbState.js.map +1 -0
  82. package/dist/meeting/effectsState.js +260 -0
  83. package/dist/meeting/effectsState.js.map +1 -0
  84. package/dist/meeting/in-meeting-actions.d.ts +167 -0
  85. package/dist/meeting/index.d.ts +1825 -0
  86. package/dist/meeting/index.js +363 -295
  87. package/dist/meeting/index.js.map +1 -1
  88. package/dist/meeting/locusMediaRequest.d.ts +74 -0
  89. package/dist/meeting/muteState.d.ts +178 -0
  90. package/dist/meeting/muteState.js +1 -6
  91. package/dist/meeting/muteState.js.map +1 -1
  92. package/dist/meeting/request.d.ts +295 -0
  93. package/dist/meeting/request.type.d.ts +11 -0
  94. package/dist/meeting/state.d.ts +9 -0
  95. package/dist/meeting/util.d.ts +119 -0
  96. package/dist/meeting/voicea-meeting.d.ts +16 -0
  97. package/dist/meeting-info/collection.d.ts +20 -0
  98. package/dist/meeting-info/index.d.ts +69 -0
  99. package/dist/meeting-info/meeting-info-v2.d.ts +123 -0
  100. package/dist/meeting-info/meeting-info-v2.js +19 -12
  101. package/dist/meeting-info/meeting-info-v2.js.map +1 -1
  102. package/dist/meeting-info/request.d.ts +22 -0
  103. package/dist/meeting-info/util.d.ts +2 -0
  104. package/dist/meeting-info/utilv2.d.ts +2 -0
  105. package/dist/meeting-info/utilv2.js +5 -1
  106. package/dist/meeting-info/utilv2.js.map +1 -1
  107. package/dist/meetings/collection.d.ts +40 -0
  108. package/dist/meetings/index.d.ts +390 -0
  109. package/dist/meetings/meetings.types.d.ts +4 -0
  110. package/dist/meetings/request.d.ts +27 -0
  111. package/dist/meetings/util.d.ts +18 -0
  112. package/dist/member/index.d.ts +160 -0
  113. package/dist/member/member.types.js +17 -0
  114. package/dist/member/member.types.js.map +1 -0
  115. package/dist/member/types.d.ts +32 -0
  116. package/dist/member/util.d.ts +2 -0
  117. package/dist/members/collection.d.ts +29 -0
  118. package/dist/members/index.d.ts +353 -0
  119. package/dist/members/request.d.ts +114 -0
  120. package/dist/members/types.d.ts +25 -0
  121. package/dist/members/util.d.ts +215 -0
  122. package/dist/metrics/config.js +276 -0
  123. package/dist/metrics/config.js.map +1 -0
  124. package/dist/metrics/constants.d.ts +70 -0
  125. package/dist/metrics/constants.js +2 -0
  126. package/dist/metrics/constants.js.map +1 -1
  127. package/dist/metrics/index.d.ts +45 -0
  128. package/dist/multistream/mediaRequestManager.d.ts +119 -0
  129. package/dist/multistream/receiveSlot.d.ts +68 -0
  130. package/dist/multistream/receiveSlotManager.d.ts +56 -0
  131. package/dist/multistream/remoteMedia.d.ts +72 -0
  132. package/dist/multistream/remoteMediaGroup.d.ts +49 -0
  133. package/dist/multistream/remoteMediaManager.d.ts +300 -0
  134. package/dist/multistream/sendSlotManager.d.ts +69 -0
  135. package/dist/networkQualityMonitor/index.d.ts +70 -0
  136. package/dist/networkQualityMonitor/index.js +221 -0
  137. package/dist/networkQualityMonitor/index.js.map +1 -0
  138. package/dist/peer-connection-manager/index.js +671 -0
  139. package/dist/peer-connection-manager/index.js.map +1 -0
  140. package/dist/peer-connection-manager/util.js +109 -0
  141. package/dist/peer-connection-manager/util.js.map +1 -0
  142. package/dist/personal-meeting-room/index.d.ts +47 -0
  143. package/dist/personal-meeting-room/request.d.ts +14 -0
  144. package/dist/personal-meeting-room/util.d.ts +2 -0
  145. package/dist/reachability/clusterReachability.d.ts +109 -0
  146. package/dist/reachability/index.d.ts +105 -0
  147. package/dist/reachability/index.js +31 -3
  148. package/dist/reachability/index.js.map +1 -1
  149. package/dist/reachability/request.d.ts +39 -0
  150. package/dist/reachability/util.d.ts +8 -0
  151. package/dist/reactions/constants.d.ts +3 -0
  152. package/dist/reactions/reactions.d.ts +4 -0
  153. package/dist/reactions/reactions.type.d.ts +52 -0
  154. package/dist/reconnection-manager/index.d.ts +136 -0
  155. package/dist/recording-controller/enums.d.ts +7 -0
  156. package/dist/recording-controller/index.d.ts +207 -0
  157. package/dist/recording-controller/util.d.ts +14 -0
  158. package/dist/roap/collection.js +62 -0
  159. package/dist/roap/collection.js.map +1 -0
  160. package/dist/roap/handler.js +275 -0
  161. package/dist/roap/handler.js.map +1 -0
  162. package/dist/roap/index.d.ts +86 -0
  163. package/dist/roap/request.d.ts +39 -0
  164. package/dist/roap/state.js +126 -0
  165. package/dist/roap/state.js.map +1 -0
  166. package/dist/roap/turnDiscovery.d.ts +155 -0
  167. package/dist/roap/util.js +75 -0
  168. package/dist/roap/util.js.map +1 -0
  169. package/dist/rtcMetrics/constants.d.ts +4 -0
  170. package/dist/rtcMetrics/constants.js +11 -0
  171. package/dist/rtcMetrics/constants.js.map +1 -0
  172. package/dist/rtcMetrics/index.d.ts +61 -0
  173. package/dist/rtcMetrics/index.js +197 -0
  174. package/dist/rtcMetrics/index.js.map +1 -0
  175. package/dist/statsAnalyzer/global.d.ts +36 -0
  176. package/dist/statsAnalyzer/global.js +126 -0
  177. package/dist/statsAnalyzer/global.js.map +1 -0
  178. package/dist/statsAnalyzer/index.d.ts +217 -0
  179. package/dist/statsAnalyzer/index.js +1013 -0
  180. package/dist/statsAnalyzer/index.js.map +1 -0
  181. package/dist/statsAnalyzer/mqaUtil.d.ts +48 -0
  182. package/dist/statsAnalyzer/mqaUtil.js +179 -0
  183. package/dist/statsAnalyzer/mqaUtil.js.map +1 -0
  184. package/dist/transcription/index.d.ts +64 -0
  185. package/dist/types/common/errors/reconnection-in-progress.d.ts +9 -0
  186. package/dist/types/constants.d.ts +9 -2
  187. package/dist/types/mediaQualityMetrics/config.d.ts +241 -0
  188. package/dist/types/meeting/brbState.d.ts +54 -0
  189. package/dist/types/meeting/index.d.ts +23 -0
  190. package/dist/types/meeting-info/meeting-info-v2.d.ts +3 -1
  191. package/dist/types/metrics/constants.d.ts +2 -0
  192. package/dist/types/networkQualityMonitor/index.d.ts +70 -0
  193. package/dist/types/reachability/index.d.ts +9 -1
  194. package/dist/types/rtcMetrics/constants.d.ts +4 -0
  195. package/dist/types/rtcMetrics/index.d.ts +71 -0
  196. package/dist/types/statsAnalyzer/global.d.ts +36 -0
  197. package/dist/types/statsAnalyzer/index.d.ts +217 -0
  198. package/dist/types/statsAnalyzer/mqaUtil.d.ts +48 -0
  199. package/dist/webinar/collection.d.ts +16 -0
  200. package/dist/webinar/index.d.ts +5 -0
  201. package/dist/webinar/index.js +1 -1
  202. package/package.json +23 -23
  203. package/src/constants.ts +10 -2
  204. package/src/locus-info/selfUtils.ts +5 -0
  205. package/src/media/MediaConnectionAwaiter.ts +2 -0
  206. package/src/media/properties.ts +34 -13
  207. package/src/meeting/brbState.ts +169 -0
  208. package/src/meeting/index.ts +112 -26
  209. package/src/meeting/muteState.ts +1 -6
  210. package/src/meeting-info/meeting-info-v2.ts +9 -1
  211. package/src/meeting-info/utilv2.ts +14 -2
  212. package/src/metrics/constants.ts +2 -0
  213. package/src/reachability/index.ts +29 -1
  214. package/test/unit/spec/locus-info/selfUtils.js +10 -0
  215. package/test/unit/spec/media/properties.ts +15 -0
  216. package/test/unit/spec/meeting/brbState.ts +114 -0
  217. package/test/unit/spec/meeting/index.js +92 -30
  218. package/test/unit/spec/meeting/muteState.js +0 -24
  219. package/test/unit/spec/meeting-info/utilv2.js +9 -0
  220. package/test/unit/spec/reachability/index.ts +120 -10
@@ -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,8 @@
1
+ /*!
2
+ * Copyright (c) 2015-2023 Cisco Systems, Inc. See LICENSE file.
3
+ */
4
+ /**
5
+ * @class
6
+ */
7
+ declare const Breakout: any;
8
+ export default Breakout;
@@ -209,7 +209,7 @@ var Breakout = _webexCore.WebexPlugin.extend({
209
209
  sessionId: this.sessionId
210
210
  });
211
211
  },
212
- version: "3.7.0-wxcc.1"
212
+ version: "3.8.0"
213
213
  });
214
214
  var _default = exports.default = Breakout;
215
215
  //# sourceMappingURL=breakout.js.map
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Copyright (c) 2015-2023 Cisco Systems, Inc. See LICENSE file.
3
+ */
4
+ declare const BreakoutCollection: any;
5
+ export default BreakoutCollection;
@@ -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;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @class Breakouts
3
+ */
4
+ declare const Breakouts: any;
5
+ export default Breakouts;
@@ -1046,7 +1046,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
1046
1046
  this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
1047
1047
  }
1048
1048
  },
1049
- version: "3.7.0-wxcc.1"
1049
+ version: "3.8.0"
1050
1050
  });
1051
1051
  var _default = exports.default = Breakouts;
1052
1052
  //# 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,2 @@
1
+ declare const StaticConfig: any;
2
+ export default StaticConfig;
@@ -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,149 @@
1
+ "use strict";
2
+
3
+ var _typeof = require("@babel/runtime-corejs2/helpers/typeof");
4
+ var _Reflect$construct = require("@babel/runtime-corejs2/core-js/reflect/construct");
5
+ var _WeakMap = require("@babel/runtime-corejs2/core-js/weak-map");
6
+ var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
7
+ var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs2/core-js/object/get-own-property-descriptor");
8
+ var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
9
+ _Object$defineProperty(exports, "__esModule", {
10
+ value: true
11
+ });
12
+ exports.ReclaimHostNotSupportedError = exports.ReclaimHostNotAllowedError = exports.ReclaimHostIsHostAlreadyError = exports.ReclaimHostEmptyWrongKeyError = void 0;
13
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/createClass"));
14
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/classCallCheck"));
15
+ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/possibleConstructorReturn"));
16
+ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/getPrototypeOf"));
17
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/inherits"));
18
+ var _wrapNativeSuper2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/wrapNativeSuper"));
19
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/defineProperty"));
20
+ var MEETINGCONSTANTS = _interopRequireWildcard(require("../../constants"));
21
+ function _getRequireWildcardCache(e) { if ("function" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
22
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
23
+ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? _Reflect$construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
24
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
25
+ /**
26
+ * Extended Error object for reclaim host role empty or wrong key
27
+ */
28
+ var ReclaimHostEmptyWrongKeyError = exports.ReclaimHostEmptyWrongKeyError = /*#__PURE__*/function (_Error) {
29
+ /**
30
+ *
31
+ * @constructor
32
+ * @param {String} [message]
33
+ * @param {Object} [error]
34
+ */
35
+ function ReclaimHostEmptyWrongKeyError() {
36
+ var _this;
37
+ var message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_EMPTY_OR_WRONG_KEY.MESSAGE;
38
+ var error = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
39
+ (0, _classCallCheck2.default)(this, ReclaimHostEmptyWrongKeyError);
40
+ _this = _callSuper(this, ReclaimHostEmptyWrongKeyError, [message]);
41
+ (0, _defineProperty2.default)(_this, "sdkMessage", void 0);
42
+ (0, _defineProperty2.default)(_this, "error", void 0);
43
+ (0, _defineProperty2.default)(_this, "code", void 0);
44
+ if (Error.captureStackTrace) {
45
+ Error.captureStackTrace(_this, ReclaimHostEmptyWrongKeyError);
46
+ }
47
+ _this.name = MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_EMPTY_OR_WRONG_KEY.NAME;
48
+ _this.sdkMessage = message || MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_EMPTY_OR_WRONG_KEY.MESSAGE;
49
+ _this.error = error;
50
+ _this.code = MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_EMPTY_OR_WRONG_KEY.CODE;
51
+ return _this;
52
+ }
53
+ (0, _inherits2.default)(ReclaimHostEmptyWrongKeyError, _Error);
54
+ return (0, _createClass2.default)(ReclaimHostEmptyWrongKeyError);
55
+ }(/*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
56
+ /**
57
+ * Extended Error object for reclaim host role not supported
58
+ */
59
+ var ReclaimHostNotSupportedError = exports.ReclaimHostNotSupportedError = /*#__PURE__*/function (_Error2) {
60
+ /**
61
+ *
62
+ * @constructor
63
+ * @param {String} [message]
64
+ * @param {Object} [error]
65
+ */
66
+ function ReclaimHostNotSupportedError() {
67
+ var _this2;
68
+ var message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_NOT_SUPPORTED.MESSAGE;
69
+ var error = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
70
+ (0, _classCallCheck2.default)(this, ReclaimHostNotSupportedError);
71
+ _this2 = _callSuper(this, ReclaimHostNotSupportedError, [message]);
72
+ (0, _defineProperty2.default)(_this2, "sdkMessage", void 0);
73
+ (0, _defineProperty2.default)(_this2, "error", void 0);
74
+ (0, _defineProperty2.default)(_this2, "code", void 0);
75
+ if (Error.captureStackTrace) {
76
+ Error.captureStackTrace(_this2, ReclaimHostNotSupportedError);
77
+ }
78
+ _this2.name = MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_NOT_SUPPORTED.NAME;
79
+ _this2.sdkMessage = message || MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_NOT_SUPPORTED.MESSAGE;
80
+ _this2.error = error;
81
+ _this2.code = MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_NOT_SUPPORTED.CODE;
82
+ return _this2;
83
+ }
84
+ (0, _inherits2.default)(ReclaimHostNotSupportedError, _Error2);
85
+ return (0, _createClass2.default)(ReclaimHostNotSupportedError);
86
+ }(/*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
87
+ /**
88
+ * Extended Error object for reclaim host role not allowed for other participants
89
+ */
90
+ var ReclaimHostNotAllowedError = exports.ReclaimHostNotAllowedError = /*#__PURE__*/function (_Error3) {
91
+ /**
92
+ *
93
+ * @constructor
94
+ * @param {String} [message]
95
+ * @param {Object} [error]
96
+ */
97
+ function ReclaimHostNotAllowedError() {
98
+ var _this3;
99
+ var message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_NOT_ALLOWED.MESSAGE;
100
+ var error = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
101
+ (0, _classCallCheck2.default)(this, ReclaimHostNotAllowedError);
102
+ _this3 = _callSuper(this, ReclaimHostNotAllowedError, [message]);
103
+ (0, _defineProperty2.default)(_this3, "sdkMessage", void 0);
104
+ (0, _defineProperty2.default)(_this3, "error", void 0);
105
+ (0, _defineProperty2.default)(_this3, "code", void 0);
106
+ if (Error.captureStackTrace) {
107
+ Error.captureStackTrace(_this3, ReclaimHostNotAllowedError);
108
+ }
109
+ _this3.name = MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_NOT_ALLOWED.NAME;
110
+ _this3.sdkMessage = message || MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_NOT_ALLOWED.MESSAGE;
111
+ _this3.error = error;
112
+ _this3.code = MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_NOT_ALLOWED.CODE;
113
+ return _this3;
114
+ }
115
+ (0, _inherits2.default)(ReclaimHostNotAllowedError, _Error3);
116
+ return (0, _createClass2.default)(ReclaimHostNotAllowedError);
117
+ }(/*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
118
+ /**
119
+ * Extended Error object for reclaim host role when user is host already
120
+ */
121
+ var ReclaimHostIsHostAlreadyError = exports.ReclaimHostIsHostAlreadyError = /*#__PURE__*/function (_Error4) {
122
+ /**
123
+ *
124
+ * @constructor
125
+ * @param {String} [message]
126
+ * @param {Object} [error]
127
+ */
128
+ function ReclaimHostIsHostAlreadyError() {
129
+ var _this4;
130
+ var message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_IS_ALREADY_HOST.MESSAGE;
131
+ var error = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
132
+ (0, _classCallCheck2.default)(this, ReclaimHostIsHostAlreadyError);
133
+ _this4 = _callSuper(this, ReclaimHostIsHostAlreadyError, [message]);
134
+ (0, _defineProperty2.default)(_this4, "sdkMessage", void 0);
135
+ (0, _defineProperty2.default)(_this4, "error", void 0);
136
+ (0, _defineProperty2.default)(_this4, "code", void 0);
137
+ if (Error.captureStackTrace) {
138
+ Error.captureStackTrace(_this4, ReclaimHostIsHostAlreadyError);
139
+ }
140
+ _this4.name = MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_IS_ALREADY_HOST.NAME;
141
+ _this4.sdkMessage = message || MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_IS_ALREADY_HOST.MESSAGE;
142
+ _this4.error = error;
143
+ _this4.code = MEETINGCONSTANTS.ERROR_DICTIONARY.RECLAIM_HOST_ROLE_IS_ALREADY_HOST.CODE;
144
+ return _this4;
145
+ }
146
+ (0, _inherits2.default)(ReclaimHostIsHostAlreadyError, _Error4);
147
+ return (0, _createClass2.default)(ReclaimHostIsHostAlreadyError);
148
+ }(/*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
149
+ //# sourceMappingURL=reclaim-host-role-error.js.map