@webex/plugin-meetings 3.8.1 → 3.9.0-multipleLLM.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.
Files changed (317) hide show
  1. package/README.md +26 -13
  2. package/dist/breakouts/breakout.js +1 -1
  3. package/dist/breakouts/index.js +1 -1
  4. package/dist/constants.js +34 -3
  5. package/dist/constants.js.map +1 -1
  6. package/dist/controls-options-manager/enums.js +1 -0
  7. package/dist/controls-options-manager/enums.js.map +1 -1
  8. package/dist/controls-options-manager/types.js.map +1 -1
  9. package/dist/controls-options-manager/util.js +26 -0
  10. package/dist/controls-options-manager/util.js.map +1 -1
  11. package/dist/interpretation/index.js +1 -1
  12. package/dist/interpretation/siLanguage.js +1 -1
  13. package/dist/locus-info/controlsUtils.js +11 -3
  14. package/dist/locus-info/controlsUtils.js.map +1 -1
  15. package/dist/locus-info/index.js +107 -95
  16. package/dist/locus-info/index.js.map +1 -1
  17. package/dist/locus-info/parser.js +4 -1
  18. package/dist/locus-info/parser.js.map +1 -1
  19. package/dist/media/index.js +2 -2
  20. package/dist/media/index.js.map +1 -1
  21. package/dist/media/properties.js +53 -5
  22. package/dist/media/properties.js.map +1 -1
  23. package/dist/meeting/brbState.js +17 -14
  24. package/dist/meeting/brbState.js.map +1 -1
  25. package/dist/meeting/in-meeting-actions.js +13 -1
  26. package/dist/meeting/in-meeting-actions.js.map +1 -1
  27. package/dist/meeting/index.js +555 -296
  28. package/dist/meeting/index.js.map +1 -1
  29. package/dist/meeting/muteState.js +2 -5
  30. package/dist/meeting/muteState.js.map +1 -1
  31. package/dist/meeting/request.js +44 -0
  32. package/dist/meeting/request.js.map +1 -1
  33. package/dist/meeting/request.type.js.map +1 -1
  34. package/dist/{rtcMetrics/constants.js → meeting/type.js} +1 -5
  35. package/dist/meeting/type.js.map +1 -0
  36. package/dist/meeting/util.js +98 -13
  37. package/dist/meeting/util.js.map +1 -1
  38. package/dist/meeting-info/meeting-info-v2.js +29 -21
  39. package/dist/meeting-info/meeting-info-v2.js.map +1 -1
  40. package/dist/meetings/index.js +18 -10
  41. package/dist/meetings/index.js.map +1 -1
  42. package/dist/member/types.js.map +1 -1
  43. package/dist/members/collection.js +13 -0
  44. package/dist/members/collection.js.map +1 -1
  45. package/dist/members/index.js +53 -29
  46. package/dist/members/index.js.map +1 -1
  47. package/dist/members/request.js +3 -3
  48. package/dist/members/request.js.map +1 -1
  49. package/dist/members/util.js +25 -8
  50. package/dist/members/util.js.map +1 -1
  51. package/dist/metrics/constants.js +3 -1
  52. package/dist/metrics/constants.js.map +1 -1
  53. package/dist/multistream/mediaRequestManager.js +1 -1
  54. package/dist/multistream/mediaRequestManager.js.map +1 -1
  55. package/dist/multistream/remoteMedia.js +34 -5
  56. package/dist/multistream/remoteMedia.js.map +1 -1
  57. package/dist/multistream/remoteMediaGroup.js +42 -2
  58. package/dist/multistream/remoteMediaGroup.js.map +1 -1
  59. package/dist/multistream/sendSlotManager.js +32 -2
  60. package/dist/multistream/sendSlotManager.js.map +1 -1
  61. package/dist/reachability/index.js +8 -13
  62. package/dist/reachability/index.js.map +1 -1
  63. package/dist/types/constants.d.ts +30 -0
  64. package/dist/types/controls-options-manager/enums.d.ts +2 -1
  65. package/dist/types/controls-options-manager/types.d.ts +4 -1
  66. package/dist/types/locus-info/index.d.ts +54 -10
  67. package/dist/types/media/properties.d.ts +21 -0
  68. package/dist/types/meeting/brbState.d.ts +0 -1
  69. package/dist/types/meeting/in-meeting-actions.d.ts +12 -0
  70. package/dist/types/meeting/index.d.ts +58 -20
  71. package/dist/types/meeting/request.d.ts +18 -1
  72. package/dist/types/meeting/request.type.d.ts +74 -0
  73. package/dist/types/meeting/type.d.ts +9 -0
  74. package/dist/types/meeting/util.d.ts +13 -3
  75. package/dist/types/meeting-info/meeting-info-v2.d.ts +6 -3
  76. package/dist/types/meetings/index.d.ts +3 -1
  77. package/dist/types/member/types.d.ts +1 -0
  78. package/dist/types/members/collection.d.ts +6 -0
  79. package/dist/types/members/index.d.ts +22 -9
  80. package/dist/types/members/request.d.ts +1 -1
  81. package/dist/types/members/util.d.ts +13 -6
  82. package/dist/types/metrics/constants.d.ts +2 -0
  83. package/dist/types/multistream/remoteMedia.d.ts +20 -1
  84. package/dist/types/multistream/remoteMediaGroup.d.ts +11 -0
  85. package/dist/types/multistream/sendSlotManager.d.ts +16 -0
  86. package/dist/types/reachability/index.d.ts +2 -2
  87. package/dist/webinar/index.js +1 -1
  88. package/package.json +24 -25
  89. package/src/constants.ts +34 -2
  90. package/src/controls-options-manager/enums.ts +1 -0
  91. package/src/controls-options-manager/types.ts +6 -1
  92. package/src/controls-options-manager/util.ts +31 -0
  93. package/src/locus-info/controlsUtils.ts +15 -0
  94. package/src/locus-info/index.ts +174 -96
  95. package/src/locus-info/parser.ts +5 -1
  96. package/src/media/index.ts +2 -2
  97. package/src/media/properties.ts +43 -0
  98. package/src/meeting/brbState.ts +13 -9
  99. package/src/meeting/in-meeting-actions.ts +25 -0
  100. package/src/meeting/index.ts +362 -75
  101. package/src/meeting/muteState.ts +2 -6
  102. package/src/meeting/request.ts +39 -0
  103. package/src/meeting/request.type.ts +64 -0
  104. package/src/meeting/type.ts +9 -0
  105. package/src/meeting/util.ts +114 -22
  106. package/src/meeting-info/meeting-info-v2.ts +24 -5
  107. package/src/meetings/index.ts +12 -5
  108. package/src/member/types.ts +1 -0
  109. package/src/members/collection.ts +11 -0
  110. package/src/members/index.ts +51 -15
  111. package/src/members/request.ts +2 -2
  112. package/src/members/util.ts +34 -6
  113. package/src/metrics/constants.ts +2 -0
  114. package/src/multistream/mediaRequestManager.ts +7 -7
  115. package/src/multistream/remoteMedia.ts +34 -4
  116. package/src/multistream/remoteMediaGroup.ts +37 -2
  117. package/src/multistream/sendSlotManager.ts +34 -2
  118. package/src/reachability/index.ts +8 -16
  119. package/test/unit/spec/controls-options-manager/util.js +58 -0
  120. package/test/unit/spec/locus-info/controlsUtils.js +52 -0
  121. package/test/unit/spec/locus-info/index.js +270 -97
  122. package/test/unit/spec/locus-info/parser.js +3 -2
  123. package/test/unit/spec/media/index.ts +107 -0
  124. package/test/unit/spec/media/properties.ts +137 -0
  125. package/test/unit/spec/meeting/brbState.ts +23 -4
  126. package/test/unit/spec/meeting/in-meeting-actions.ts +12 -0
  127. package/test/unit/spec/meeting/index.js +1194 -97
  128. package/test/unit/spec/meeting/muteState.js +32 -6
  129. package/test/unit/spec/meeting/request.js +92 -0
  130. package/test/unit/spec/meeting/utils.js +167 -17
  131. package/test/unit/spec/meeting-info/meetinginfov2.js +8 -3
  132. package/test/unit/spec/meetings/index.js +12 -1
  133. package/test/unit/spec/members/collection.js +120 -0
  134. package/test/unit/spec/members/index.js +140 -12
  135. package/test/unit/spec/members/request.js +57 -2
  136. package/test/unit/spec/members/utils.js +139 -17
  137. package/test/unit/spec/multistream/mediaRequestManager.ts +19 -6
  138. package/test/unit/spec/multistream/remoteMedia.ts +66 -2
  139. package/test/unit/spec/multistream/sendSlotManager.ts +59 -0
  140. package/test/unit/spec/reachability/index.ts +160 -9
  141. package/dist/annotation/annotation.types.d.ts +0 -42
  142. package/dist/annotation/constants.d.ts +0 -31
  143. package/dist/annotation/index.d.ts +0 -117
  144. package/dist/breakouts/breakout.d.ts +0 -8
  145. package/dist/breakouts/collection.d.ts +0 -5
  146. package/dist/breakouts/edit-lock-error.d.ts +0 -15
  147. package/dist/breakouts/events.d.ts +0 -8
  148. package/dist/breakouts/index.d.ts +0 -5
  149. package/dist/breakouts/request.d.ts +0 -22
  150. package/dist/breakouts/utils.d.ts +0 -15
  151. package/dist/common/browser-detection.d.ts +0 -9
  152. package/dist/common/collection.d.ts +0 -48
  153. package/dist/common/config.d.ts +0 -2
  154. package/dist/common/errors/captcha-error.d.ts +0 -15
  155. package/dist/common/errors/intent-to-join.d.ts +0 -16
  156. package/dist/common/errors/join-meeting.d.ts +0 -17
  157. package/dist/common/errors/media.d.ts +0 -15
  158. package/dist/common/errors/no-meeting-info.d.ts +0 -14
  159. package/dist/common/errors/parameter.d.ts +0 -15
  160. package/dist/common/errors/password-error.d.ts +0 -15
  161. package/dist/common/errors/permission.d.ts +0 -14
  162. package/dist/common/errors/reclaim-host-role-error.d.ts +0 -60
  163. package/dist/common/errors/reclaim-host-role-error.js +0 -158
  164. package/dist/common/errors/reclaim-host-role-error.js.map +0 -1
  165. package/dist/common/errors/reclaim-host-role-errors.d.ts +0 -60
  166. package/dist/common/errors/reconnection-in-progress.d.ts +0 -9
  167. package/dist/common/errors/reconnection-in-progress.js +0 -35
  168. package/dist/common/errors/reconnection-in-progress.js.map +0 -1
  169. package/dist/common/errors/reconnection.d.ts +0 -15
  170. package/dist/common/errors/stats.d.ts +0 -15
  171. package/dist/common/errors/webex-errors.d.ts +0 -81
  172. package/dist/common/errors/webex-meetings-error.d.ts +0 -20
  173. package/dist/common/events/events-scope.d.ts +0 -17
  174. package/dist/common/events/events.d.ts +0 -12
  175. package/dist/common/events/trigger-proxy.d.ts +0 -2
  176. package/dist/common/events/util.d.ts +0 -2
  177. package/dist/common/logs/logger-config.d.ts +0 -2
  178. package/dist/common/logs/logger-proxy.d.ts +0 -2
  179. package/dist/common/logs/request.d.ts +0 -34
  180. package/dist/common/queue.d.ts +0 -32
  181. package/dist/config.d.ts +0 -73
  182. package/dist/constants.d.ts +0 -952
  183. package/dist/controls-options-manager/constants.d.ts +0 -4
  184. package/dist/controls-options-manager/enums.d.ts +0 -5
  185. package/dist/controls-options-manager/index.d.ts +0 -120
  186. package/dist/controls-options-manager/types.d.ts +0 -43
  187. package/dist/controls-options-manager/util.d.ts +0 -7
  188. package/dist/index.d.ts +0 -4
  189. package/dist/interceptors/index.d.ts +0 -2
  190. package/dist/interceptors/locusRetry.d.ts +0 -27
  191. package/dist/interpretation/collection.d.ts +0 -5
  192. package/dist/interpretation/index.d.ts +0 -5
  193. package/dist/interpretation/siLanguage.d.ts +0 -5
  194. package/dist/locus-info/controlsUtils.d.ts +0 -2
  195. package/dist/locus-info/embeddedAppsUtils.d.ts +0 -2
  196. package/dist/locus-info/fullState.d.ts +0 -2
  197. package/dist/locus-info/hostUtils.d.ts +0 -2
  198. package/dist/locus-info/index.d.ts +0 -269
  199. package/dist/locus-info/infoUtils.d.ts +0 -2
  200. package/dist/locus-info/mediaSharesUtils.d.ts +0 -2
  201. package/dist/locus-info/parser.d.ts +0 -212
  202. package/dist/locus-info/selfUtils.d.ts +0 -2
  203. package/dist/media/index.d.ts +0 -32
  204. package/dist/media/properties.d.ts +0 -108
  205. package/dist/media/util.d.ts +0 -2
  206. package/dist/mediaQualityMetrics/config.d.ts +0 -233
  207. package/dist/mediaQualityMetrics/config.js +0 -513
  208. package/dist/mediaQualityMetrics/config.js.map +0 -1
  209. package/dist/meeting/effectsState.d.ts +0 -42
  210. package/dist/meeting/effectsState.js +0 -260
  211. package/dist/meeting/effectsState.js.map +0 -1
  212. package/dist/meeting/in-meeting-actions.d.ts +0 -79
  213. package/dist/meeting/index.d.ts +0 -1622
  214. package/dist/meeting/locusMediaRequest.d.ts +0 -74
  215. package/dist/meeting/muteState.d.ts +0 -116
  216. package/dist/meeting/request.d.ts +0 -257
  217. package/dist/meeting/request.type.d.ts +0 -11
  218. package/dist/meeting/state.d.ts +0 -9
  219. package/dist/meeting/util.d.ts +0 -2
  220. package/dist/meeting/voicea-meeting.d.ts +0 -16
  221. package/dist/meeting-info/collection.d.ts +0 -20
  222. package/dist/meeting-info/index.d.ts +0 -57
  223. package/dist/meeting-info/meeting-info-v2.d.ts +0 -93
  224. package/dist/meeting-info/request.d.ts +0 -22
  225. package/dist/meeting-info/util.d.ts +0 -2
  226. package/dist/meeting-info/utilv2.d.ts +0 -2
  227. package/dist/meetings/collection.d.ts +0 -23
  228. package/dist/meetings/index.d.ts +0 -296
  229. package/dist/meetings/meetings.types.d.ts +0 -4
  230. package/dist/meetings/request.d.ts +0 -27
  231. package/dist/meetings/util.d.ts +0 -18
  232. package/dist/member/index.d.ts +0 -148
  233. package/dist/member/member.types.d.ts +0 -11
  234. package/dist/member/member.types.js +0 -18
  235. package/dist/member/member.types.js.map +0 -1
  236. package/dist/member/types.d.ts +0 -32
  237. package/dist/member/util.d.ts +0 -2
  238. package/dist/members/collection.d.ts +0 -24
  239. package/dist/members/index.d.ts +0 -308
  240. package/dist/members/request.d.ts +0 -58
  241. package/dist/members/types.d.ts +0 -25
  242. package/dist/members/util.d.ts +0 -2
  243. package/dist/metrics/config.d.ts +0 -169
  244. package/dist/metrics/config.js +0 -289
  245. package/dist/metrics/config.js.map +0 -1
  246. package/dist/metrics/constants.d.ts +0 -59
  247. package/dist/metrics/index.d.ts +0 -152
  248. package/dist/multistream/mediaRequestManager.d.ts +0 -119
  249. package/dist/multistream/receiveSlot.d.ts +0 -68
  250. package/dist/multistream/receiveSlotManager.d.ts +0 -56
  251. package/dist/multistream/remoteMedia.d.ts +0 -72
  252. package/dist/multistream/remoteMediaGroup.d.ts +0 -49
  253. package/dist/multistream/remoteMediaManager.d.ts +0 -300
  254. package/dist/multistream/sendSlotManager.d.ts +0 -69
  255. package/dist/networkQualityMonitor/index.d.ts +0 -70
  256. package/dist/networkQualityMonitor/index.js +0 -226
  257. package/dist/networkQualityMonitor/index.js.map +0 -1
  258. package/dist/peer-connection-manager/index.d.ts +0 -6
  259. package/dist/peer-connection-manager/index.js +0 -671
  260. package/dist/peer-connection-manager/index.js.map +0 -1
  261. package/dist/peer-connection-manager/util.d.ts +0 -6
  262. package/dist/peer-connection-manager/util.js +0 -110
  263. package/dist/peer-connection-manager/util.js.map +0 -1
  264. package/dist/personal-meeting-room/index.d.ts +0 -47
  265. package/dist/personal-meeting-room/request.d.ts +0 -14
  266. package/dist/personal-meeting-room/util.d.ts +0 -2
  267. package/dist/reachability/clusterReachability.d.ts +0 -109
  268. package/dist/reachability/index.d.ts +0 -139
  269. package/dist/reachability/request.d.ts +0 -35
  270. package/dist/reachability/util.d.ts +0 -8
  271. package/dist/reactions/constants.d.ts +0 -3
  272. package/dist/reactions/reactions.d.ts +0 -4
  273. package/dist/reactions/reactions.type.d.ts +0 -32
  274. package/dist/reconnection-manager/index.d.ts +0 -112
  275. package/dist/recording-controller/enums.d.ts +0 -7
  276. package/dist/recording-controller/index.d.ts +0 -193
  277. package/dist/recording-controller/util.d.ts +0 -13
  278. package/dist/roap/collection.d.ts +0 -10
  279. package/dist/roap/collection.js +0 -63
  280. package/dist/roap/collection.js.map +0 -1
  281. package/dist/roap/handler.d.ts +0 -47
  282. package/dist/roap/handler.js +0 -279
  283. package/dist/roap/handler.js.map +0 -1
  284. package/dist/roap/index.d.ts +0 -116
  285. package/dist/roap/request.d.ts +0 -35
  286. package/dist/roap/state.d.ts +0 -9
  287. package/dist/roap/state.js +0 -127
  288. package/dist/roap/state.js.map +0 -1
  289. package/dist/roap/turnDiscovery.d.ts +0 -81
  290. package/dist/roap/util.d.ts +0 -2
  291. package/dist/roap/util.js +0 -76
  292. package/dist/roap/util.js.map +0 -1
  293. package/dist/rtcMetrics/constants.d.ts +0 -4
  294. package/dist/rtcMetrics/constants.js.map +0 -1
  295. package/dist/rtcMetrics/index.d.ts +0 -61
  296. package/dist/rtcMetrics/index.js +0 -197
  297. package/dist/rtcMetrics/index.js.map +0 -1
  298. package/dist/statsAnalyzer/global.d.ts +0 -118
  299. package/dist/statsAnalyzer/global.js +0 -127
  300. package/dist/statsAnalyzer/global.js.map +0 -1
  301. package/dist/statsAnalyzer/index.d.ts +0 -193
  302. package/dist/statsAnalyzer/index.js +0 -1019
  303. package/dist/statsAnalyzer/index.js.map +0 -1
  304. package/dist/statsAnalyzer/mqaUtil.d.ts +0 -22
  305. package/dist/statsAnalyzer/mqaUtil.js +0 -181
  306. package/dist/statsAnalyzer/mqaUtil.js.map +0 -1
  307. package/dist/transcription/index.d.ts +0 -64
  308. package/dist/types/common/errors/reconnection-in-progress.d.ts +0 -9
  309. package/dist/types/mediaQualityMetrics/config.d.ts +0 -241
  310. package/dist/types/networkQualityMonitor/index.d.ts +0 -70
  311. package/dist/types/rtcMetrics/constants.d.ts +0 -4
  312. package/dist/types/rtcMetrics/index.d.ts +0 -71
  313. package/dist/types/statsAnalyzer/global.d.ts +0 -36
  314. package/dist/types/statsAnalyzer/index.d.ts +0 -217
  315. package/dist/types/statsAnalyzer/mqaUtil.d.ts +0 -48
  316. package/dist/webinar/collection.d.ts +0 -16
  317. package/dist/webinar/index.d.ts +0 -5
@@ -1,308 +0,0 @@
1
- import { StatelessWebexPlugin } from '@webex/webex-core';
2
- import { ServerRoleShape } from './types';
3
- /**
4
- * Members Update Event
5
- * Emitted when something in the roster list needs to be updated
6
- * @event members:update
7
- * @instance
8
- * @property {Object} delta the changes to the members list
9
- * @property {Array} delta.updated array only the updates, includes removals, as they will have updated status and member properties
10
- * @property {Array} delta.added array added members to the meeting
11
- * @property {Array} full array the full members collection
12
- * @memberof Members
13
- */
14
- /**
15
- * Members Content Update Event
16
- * Emitted when who is sharing changes
17
- * @event members:content:update
18
- * @instance
19
- * @property {String} activeContentSharingId
20
- * @property {String} endedContentSharingId
21
- * @memberof Members
22
- */
23
- /**
24
- * Members Host Update Event
25
- * Emitted when who is the host changes
26
- * @event members:host:update
27
- * @instance
28
- * @property {String} activeHostId
29
- * @property {String} endedHostId
30
- * @memberof Members
31
- */
32
- /**
33
- * Members Self Update Event
34
- * Emitted when who is the self changes
35
- * @event members:self:update
36
- * @instance
37
- * @property {String} activeSelfId
38
- * @property {String} endedSelfId
39
- * @memberof Members
40
- */
41
- /**
42
- * @class Members
43
- */
44
- export default class Members extends StatelessWebexPlugin {
45
- hostId: any;
46
- locusUrl: any;
47
- mediaShareContentId: any;
48
- mediaShareWhiteboardId: any;
49
- membersCollection: any;
50
- membersRequest: any;
51
- recordingId: any;
52
- selfId: any;
53
- type: any;
54
- namespace: string;
55
- /**
56
- *
57
- * @param {Object} attrs
58
- * @param {Object} options
59
- * @memberof Members
60
- */
61
- constructor(attrs: any, options: object);
62
- /**
63
- * Internal update the self Id value
64
- * @param {Object} payload
65
- * @param {Object} payload.newSelf
66
- * @param {Object} payload.oldSelf
67
- * @returns {undefined}
68
- * @private
69
- * @memberof Members
70
- */
71
- locusSelfUpdate(payload: {
72
- newSelf: any;
73
- oldSelf: any;
74
- }): void;
75
- /**
76
- * Internal update the hostId value
77
- * @param {Object} payload
78
- * @param {Object} payload.newHost
79
- * @param {Object} payload.oldHost
80
- * @returns {undefined}
81
- * @private
82
- * @memberof Members
83
- */
84
- locusHostUpdate(payload: {
85
- newHost: any;
86
- oldHost: any;
87
- }): void;
88
- /**
89
- * when new participant updates come in, both delta and full participants, update them in members collection
90
- * delta object in the event will have {updated, added} and full will be the full membersCollection
91
- * @param {Object} payload
92
- * @param {Object} payload.participants
93
- * @returns {undefined}
94
- * @private
95
- * @memberof Members
96
- */
97
- locusParticipantsUpdate(payload: {
98
- participants: object;
99
- }): void;
100
- /**
101
- * Internal update the content id
102
- * @param {Object} payload
103
- * @param {Object} payload.current
104
- * @param {Object} payload.previous
105
- * @returns {undefined}
106
- * @private
107
- * @memberof Members
108
- */
109
- locusMediaSharesUpdate(payload: {
110
- current: any;
111
- previous: any;
112
- }): void;
113
- /**
114
- * Internal update the locus url value
115
- * @param {Object} payload
116
- * @param {String} payload.locusUrl
117
- * @returns {undefined}
118
- * @private
119
- * @memberof Members
120
- */
121
- locusUrlUpdate(payload: any): void;
122
- /**
123
- * Internal update the type of meeting
124
- * @param {Object} payload
125
- * @param {String} payload.type
126
- * @returns {undefined}
127
- * @private
128
- * @memberof Members
129
- */
130
- locusFullStateTypeUpdate(payload: {
131
- type: string;
132
- }): void;
133
- /**
134
- * sets values in the members collection for updated and added properties from delta
135
- * @param {Object} membersUpdate {updated: [], added: []}
136
- * @returns {Object} membersCollection
137
- * @private
138
- * @memberof Members
139
- */
140
- private handleMembersUpdate;
141
- /**
142
- * set members to the member collection from each updated/added lists as passed in
143
- * @param {Array} list
144
- * @returns {undefined}
145
- * @private
146
- * @memberof Members
147
- */
148
- private constructMembers;
149
- /**
150
- * Internal update the participants value
151
- * @param {Object} payload
152
- * @returns {Object}
153
- * @private
154
- * @memberof Members
155
- */
156
- private handleLocusInfoUpdatedParticipants;
157
- /**
158
- * Update the locus Url
159
- * @param {Object} locus
160
- * @param {String} [locusUrl] optional, takes precedence
161
- * @throws {ParameterError}
162
- * @returns {undefined}
163
- * @public
164
- * @memberof Members
165
- */
166
- setLocusUrl(locus: any, locusUrl?: string): void;
167
- /**
168
- * Update the host id
169
- * @param {Object} locus
170
- * @param {String} [hostId] optional, takes precedence
171
- * @throws {ParameterError}
172
- * @returns {undefined}
173
- * @public
174
- * @memberof Members
175
- */
176
- setHostId(locus: any, hostId?: string): void;
177
- /**
178
- * Update the type
179
- * @param {Object} fullState
180
- * @param {String} [type] optional, takes precedence
181
- * @throws {ParameterError}
182
- * @returns {undefined}
183
- * @public
184
- * @memberof Members
185
- */
186
- setType(fullState: any, type?: string): void;
187
- /**
188
- * Update the self Id
189
- * @param {Object} locus
190
- * @param {String} [selfId] optional, takes precedence
191
- * @throws {Error}
192
- * @returns {undefined}
193
- * @memberof Members
194
- */
195
- setSelfId(locus: any, selfId?: string): void;
196
- /**
197
- * Update the media share content id
198
- * @param {Object} locus
199
- * @param {String} [contentId] optional, takes precedence
200
- * @throws {Error}
201
- * @returns {undefined}
202
- * @memberof Members
203
- */
204
- setMediaShareContentId(locus: any, contentId?: string): void;
205
- /**
206
- * Update the media share whiteboard id
207
- * @param {Object} locus
208
- * @param {String} [whiteboardId] optional, takes precedence
209
- * @throws {Error}
210
- * @returns {undefined}
211
- * @memberof Members
212
- */
213
- setMediaShareWhiteboardId(locus: any, whiteboardId?: string): void;
214
- /**
215
- * Find all the updates, and added members
216
- * Removed/left members will end up in updates
217
- * Each array contains only members
218
- * @param {Array} participants the locus participants
219
- * @returns {Object} {added: {Array}, updated: {Array}}
220
- * @private
221
- * @memberof Members
222
- */
223
- private update;
224
- /**
225
- * Adds a guest Member to the associated meeting
226
- * @param {String} invitee
227
- * @param {Boolean} [alertIfActive]
228
- * @returns {Promise}
229
- * @memberof Members
230
- */
231
- addMember(invitee: any, alertIfActive?: boolean): any;
232
- /**
233
- * Assign role(s) to a member in the meeting
234
- * @param {String} memberId
235
- * @param {[ServerRoleShape]} roles - to assign an array of roles
236
- * @returns {Promise}
237
- * @public
238
- * @memberof Members
239
- */
240
- assignRoles(memberId: string, roles: Array<ServerRoleShape>): any;
241
- /**
242
- * Cancels an outgoing PSTN call to the associated meeting
243
- * @param {String} invitee
244
- * @returns {Promise}
245
- * @memberof Members
246
- */
247
- cancelPhoneInvite(invitee: any): any;
248
- /**
249
- * Admits waiting members (invited guests to meeting)
250
- * @param {Array} memberIds
251
- * @returns {Promise}
252
- * @public
253
- * @memberof Members
254
- */
255
- admitMembers(memberIds: Array<any>): any;
256
- /**
257
- * Removes a member from the meeting
258
- * @param {String} memberId
259
- * @returns {Promise}
260
- * @public
261
- * @memberof Members
262
- */
263
- removeMember(memberId: string): any;
264
- /**
265
- * Audio mutes another member in a meeting
266
- * @param {String} memberId
267
- * @param {boolean} [mute] default true
268
- * @returns {Promise}
269
- * @public
270
- * @memberof Members
271
- */
272
- muteMember(memberId: string, mute?: boolean): any;
273
- /**
274
- * Raise or lower the hand of a member in a meeting
275
- * @param {String} memberId
276
- * @param {boolean} [raise] - to raise hand (=true) or lower (=false), default: true
277
- * @returns {Promise}
278
- * @public
279
- * @memberof Members
280
- */
281
- raiseOrLowerHand(memberId: string, raise?: boolean): any;
282
- /**
283
- * Lower all hands of members in a meeting
284
- * @param {String} requestingMemberId - id of the participant which requested the lower all hands
285
- * @returns {Promise}
286
- * @public
287
- * @memberof Members
288
- */
289
- lowerAllHands(requestingMemberId: string): any;
290
- /**
291
- * Transfers the host to another member
292
- * @param {String} memberId
293
- * @param {boolean} [moderator] default true
294
- * @returns {Promise}
295
- * @public
296
- * @memberof Members
297
- */
298
- transferHostToMember(memberId: string, moderator?: boolean): any;
299
- /**
300
- * Sends DTMF tones for the PSTN member of a meeting
301
- * @param {String} tones a string of one or more DTMF tones to send
302
- * @param {String} memberId member id
303
- * @returns {Promise}
304
- * @public
305
- * @memberof Members
306
- */
307
- sendDialPadKey(tones?: string, memberId?: string): any;
308
- }
@@ -1,58 +0,0 @@
1
- import { StatelessWebexPlugin } from '@webex/webex-core';
2
- /**
3
- * @class MembersRequest
4
- */
5
- export default class MembersRequest extends StatelessWebexPlugin {
6
- namespace: string;
7
- /**
8
- *
9
- * @param {Object} options with format of {invitee: string, locusUrl: string}
10
- * @returns {Promise}
11
- * @throws {Error} if the options are not valid and complete, must have invitee with emailAddress OR email AND locusUrl
12
- * @memberof MembersRequest
13
- */
14
- addMembers(options: any): any;
15
- /**
16
- *
17
- * @param {Object} options
18
- * @returns {Promise}
19
- * @throws {Error} if the options are not valid and complete, must have memberIds AND locusUrl
20
- * @memberof MembersRequest
21
- */
22
- admitMember(options: any): any;
23
- /**
24
- * Sends a request to assign roles to a member
25
- * @param {Object} options
26
- * @param {String} options.locusUrl
27
- * @param {String} options.memberId ID of PSTN user
28
- * @returns {Promise}
29
- */
30
- assignRolesMember(options: any): any;
31
- removeMember(options: any): any;
32
- muteMember(options: any): any;
33
- raiseOrLowerHandMember(options: any): any;
34
- lowerAllHandsMember(options: any): any;
35
- transferHostToMember(options: any): any;
36
- /**
37
- * Sends a request to the DTMF endpoint to send tones
38
- * @param {Object} options
39
- * @param {String} options.locusUrl
40
- * @param {String} options.url device url SIP user
41
- * @param {String} options.tones a string of one or more DTMF tones to send
42
- * @param {String} options.memberId ID of PSTN user
43
- * @returns {Promise}
44
- */
45
- sendDialPadKey(options: {
46
- locusUrl: string;
47
- url: string;
48
- tones: string;
49
- memberId: string;
50
- }): any;
51
- /**
52
- * @param {Object} options with format of {invitee: string, locusUrl: string}
53
- * @returns {Promise}
54
- * @throws {Error} if the options are not valid and complete, must have invitee with emailAddress OR email AND locusUrl
55
- * @memberof MembersRequest
56
- */
57
- cancelPhoneInvite(options: any): any;
58
- }
@@ -1,25 +0,0 @@
1
- export declare enum ServerRoles {
2
- Cohost = "COHOST",
3
- Moderator = "MODERATOR",
4
- Presenter = "PRESENTER"
5
- }
6
- export type ServerRoleShape = {
7
- type: ServerRoles;
8
- hasRole: boolean;
9
- hostKey?: string;
10
- };
11
- export type RoleAssignmentOptions = {
12
- roles: Array<ServerRoleShape>;
13
- locusUrl: string;
14
- memberId: string;
15
- };
16
- export type RoleAssignmentBody = {
17
- role: {
18
- roles: Array<ServerRoleShape>;
19
- };
20
- };
21
- export type RoleAssignmentRequest = {
22
- method: string;
23
- uri: string;
24
- body: RoleAssignmentBody;
25
- };
@@ -1,2 +0,0 @@
1
- declare const MembersUtil: any;
2
- export default MembersUtil;
@@ -1,169 +0,0 @@
1
- export declare const eventType: {
2
- MEDIA_QUALITY: string;
3
- CALL_INITIATED: string;
4
- MERCURY_CONNECTION_LOST: string;
5
- MERCURY_CONNECTION_RESTORED: string;
6
- MOVE_MEDIA: string;
7
- LOCAL_SDP_GENERATED: string;
8
- REMOTE_SDP_RECEIVED: string;
9
- LOCUS_JOIN_REQUEST: string;
10
- LOCUS_JOIN_RESPONSE: string;
11
- ALERT_DISPLAYED: string;
12
- ICE_START: string;
13
- ICE_END: string;
14
- ICE_DISCONNECT: string;
15
- RECEIVING_MEDIA_START: string;
16
- RECEIVING_MEDIA_STOP: string;
17
- SENDING_MEDIA_START: string;
18
- SENDING_MEDIA_STOP: string;
19
- MEDIA_RENDER_START: string;
20
- MEDIA_RENDER_STOP: string;
21
- MEDIA_CAPABILITIES: string;
22
- MEDIA_RECONNECTING: string;
23
- MEDIA_RECOVERED: string;
24
- CALL_ABORTED: string;
25
- PIN_PROMPT: string;
26
- PIN_COLLECTED: string;
27
- LOBBY_ENTERED: string;
28
- LOBBY_EXITED: string;
29
- SHARE_INITIATED: string;
30
- SHARE_STOPPED: string;
31
- LOCAL_SHARE_FLOOR_GRANTED: string;
32
- SHARE_LAYOUT_DISPLAYED: string;
33
- WHITEBOARD_SHARE_INITIATED: string;
34
- WHITEBOARD_SHARE_STOPPED: string;
35
- WHITEBOARD_SHARE_FLOOR_GRANTED: string;
36
- MUTED: string;
37
- UNMUTED: string;
38
- LEAVE: string;
39
- REMOTE_ENDED: string;
40
- REMOTE_STARTED: string;
41
- MEDIA_REQUEST: string;
42
- MEDIA_RESPONSE: string;
43
- PSTN_AUDIO_ATTEMPT_START: string;
44
- PSTN_AUDIO_ATTEMPT_FINISH: string;
45
- PSTN_AUDIO_ATTEMPT_SKIP: string;
46
- };
47
- export declare const error: {
48
- name: {
49
- MEDIA_ENGINE: string;
50
- ICE_FAILED: string;
51
- LOCUS_RESPONSE: string;
52
- LOCUS_LEAVE: string;
53
- OTHER: string;
54
- };
55
- notFatalErrorList: number[];
56
- errors: {
57
- 1000: string[];
58
- 1001: string[];
59
- 1002: string[];
60
- 1003: string[];
61
- 1004: string[];
62
- 1005: string[];
63
- 1006: string[];
64
- 1007: string[];
65
- 2001: string[];
66
- 2002: string[];
67
- 2003: string[];
68
- 2004: string[];
69
- 2005: string[];
70
- 2006: string[];
71
- 3001: string[];
72
- 3002: string[];
73
- 3004: string[];
74
- 3005: string[];
75
- 3006: string[];
76
- 3007: string[];
77
- 4001: string[];
78
- 4002: string[];
79
- 4003: string[];
80
- 4004: string[];
81
- 4005: string[];
82
- 4006: string[];
83
- 4007: string[];
84
- 4008: string[];
85
- 4009: string[];
86
- 4010: string[];
87
- 4011: string[];
88
- 4012: string[];
89
- 4013: string[];
90
- 4014: string[];
91
- 4015: string[];
92
- 4016: string[];
93
- 4017: string[];
94
- 4018: string[];
95
- 4019: string[];
96
- 4020: string[];
97
- 4021: string[];
98
- 4022: string[];
99
- 4023: string[];
100
- 4024: string[];
101
- 4025: string[];
102
- 4026: string[];
103
- 4027: string[];
104
- 4028: string[];
105
- 4029: string[];
106
- 4030: string[];
107
- 5000: string[];
108
- 5001: string[];
109
- };
110
- };
111
- export declare const trigger: {
112
- USER_INTERACTION: string;
113
- MERCURY_EVENT: string;
114
- LOCI_UPDATE: string;
115
- MEDIA_ENGINE_EVENT: string;
116
- TIMEOUT: string;
117
- SIGNALING: string;
118
- OTHER: string;
119
- };
120
- export declare const pstnAudioType: {
121
- DIAL_IN: string;
122
- DIAL_OUT: string;
123
- };
124
- export declare const displayLocation: {
125
- TOAST: string;
126
- ROOM_LIST: string;
127
- CALL_PANE: string;
128
- CALL_VIEW: string;
129
- OTHER: string;
130
- };
131
- export declare const mediaType: {
132
- AUDIO: string;
133
- VIDEO: string;
134
- SHARE: string;
135
- WHITEBOARD: string;
136
- };
137
- export declare const reconnection: {
138
- RECOVERED_BY_NEW: string;
139
- RECOVERED_BY_RETRY: string;
140
- };
141
- export declare const errorCodes: {
142
- USER_CREATE_FAILED: number;
143
- USER_ALREADY_PARTICIPANT: number;
144
- CONVO_ALREADY_EXISTS: number;
145
- ALREADY_ANNOUNCEMENT_SPACE: number;
146
- NOT_ANNOUNCEMENT_SPACE: number;
147
- USER_NOT_MODERATOR_IN_ANNOUNCEMENT_SPACE: number;
148
- TEMP_ID_ALREADY_EXISTS: number;
149
- PARENT_ACTIVITY_ID_NOT_FOUND_OR_INVALID: number;
150
- };
151
- export declare const statusCodes: {
152
- NETWORK_OR_CORS: number;
153
- BAD_REQUEST: number;
154
- FORBIDDEN: number;
155
- NOT_FOUND: number;
156
- CONFLICT: number;
157
- };
158
- export declare const errorObjects: {
159
- category: {
160
- media: string;
161
- expected: string;
162
- };
163
- name: {
164
- mediaEngine: string;
165
- };
166
- };
167
- export declare const UNKNOWN = "unknown";
168
- export declare const CLIENT_NAME = "webex-js-sdk";
169
- export declare const PLATFORM = "Web";