@webex/plugin-meetings 3.0.0-bnr.4 → 3.0.0-next.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 (1035) hide show
  1. package/.eslintrc.js +6 -0
  2. package/README.md +58 -8
  3. package/babel.config.js +3 -0
  4. package/dist/annotation/annotation.types.d.ts +42 -0
  5. package/dist/annotation/annotation.types.js +7 -0
  6. package/dist/annotation/annotation.types.js.map +1 -0
  7. package/dist/annotation/constants.d.ts +31 -0
  8. package/dist/annotation/constants.js +41 -0
  9. package/dist/annotation/constants.js.map +1 -0
  10. package/dist/annotation/index.d.ts +117 -0
  11. package/dist/annotation/index.js +357 -0
  12. package/dist/annotation/index.js.map +1 -0
  13. package/dist/breakouts/breakout.js +71 -34
  14. package/dist/breakouts/breakout.js.map +1 -1
  15. package/dist/breakouts/collection.js +1 -2
  16. package/dist/breakouts/collection.js.map +1 -1
  17. package/dist/breakouts/edit-lock-error.js +1 -2
  18. package/dist/breakouts/edit-lock-error.js.map +1 -1
  19. package/dist/breakouts/events.d.ts +8 -0
  20. package/dist/breakouts/events.js +44 -0
  21. package/dist/breakouts/events.js.map +1 -0
  22. package/dist/breakouts/index.js +433 -229
  23. package/dist/breakouts/index.js.map +1 -1
  24. package/dist/breakouts/request.js +1 -2
  25. package/dist/breakouts/request.js.map +1 -1
  26. package/dist/{types/breakouts → breakouts}/utils.d.ts +7 -0
  27. package/dist/breakouts/utils.js +13 -5
  28. package/dist/breakouts/utils.js.map +1 -1
  29. package/dist/common/browser-detection.js +2 -3
  30. package/dist/common/browser-detection.js.map +1 -1
  31. package/dist/common/collection.js +3 -4
  32. package/dist/common/collection.js.map +1 -1
  33. package/dist/common/config.js +1 -2
  34. package/dist/common/config.js.map +1 -1
  35. package/dist/common/errors/captcha-error.js +1 -2
  36. package/dist/common/errors/captcha-error.js.map +1 -1
  37. package/dist/common/errors/intent-to-join.js +1 -2
  38. package/dist/common/errors/intent-to-join.js.map +1 -1
  39. package/dist/common/errors/join-meeting.js +1 -2
  40. package/dist/common/errors/join-meeting.js.map +1 -1
  41. package/dist/common/errors/media.js +1 -2
  42. package/dist/common/errors/media.js.map +1 -1
  43. package/dist/{types/common/errors/permission.d.ts → common/errors/no-meeting-info.d.ts} +1 -1
  44. package/dist/common/errors/no-meeting-info.js +50 -0
  45. package/dist/common/errors/no-meeting-info.js.map +1 -0
  46. package/dist/common/errors/parameter.js +3 -4
  47. package/dist/common/errors/parameter.js.map +1 -1
  48. package/dist/common/errors/password-error.js +1 -2
  49. package/dist/common/errors/password-error.js.map +1 -1
  50. package/dist/common/errors/permission.js +1 -2
  51. package/dist/common/errors/permission.js.map +1 -1
  52. package/dist/common/errors/reclaim-host-role-errors.d.ts +60 -0
  53. package/dist/common/errors/reclaim-host-role-errors.js +154 -0
  54. package/dist/common/errors/reclaim-host-role-errors.js.map +1 -0
  55. package/dist/common/errors/reconnection-in-progress.js +1 -2
  56. package/dist/common/errors/reconnection-in-progress.js.map +1 -1
  57. package/dist/common/errors/reconnection.js +1 -2
  58. package/dist/common/errors/reconnection.js.map +1 -1
  59. package/dist/common/errors/stats.js +1 -2
  60. package/dist/common/errors/stats.js.map +1 -1
  61. package/dist/common/errors/webex-errors.d.ts +20 -8
  62. package/dist/common/errors/webex-errors.js +57 -17
  63. package/dist/common/errors/webex-errors.js.map +1 -1
  64. package/dist/common/errors/webex-meetings-error.js +1 -2
  65. package/dist/common/errors/webex-meetings-error.js.map +1 -1
  66. package/dist/common/events/events-scope.js +1 -2
  67. package/dist/common/events/events-scope.js.map +1 -1
  68. package/dist/common/events/events.js +1 -2
  69. package/dist/common/events/events.js.map +1 -1
  70. package/dist/common/events/trigger-proxy.js +1 -2
  71. package/dist/common/events/trigger-proxy.js.map +1 -1
  72. package/dist/common/events/util.js +1 -2
  73. package/dist/common/events/util.js.map +1 -1
  74. package/dist/common/logs/logger-config.js +1 -2
  75. package/dist/common/logs/logger-config.js.map +1 -1
  76. package/dist/common/logs/logger-proxy.js +2 -3
  77. package/dist/common/logs/logger-proxy.js.map +1 -1
  78. package/dist/common/logs/request.d.ts +3 -1
  79. package/dist/common/logs/request.js +8 -5
  80. package/dist/common/logs/request.js.map +1 -1
  81. package/dist/common/queue.d.ts +9 -7
  82. package/dist/common/queue.js +22 -9
  83. package/dist/common/queue.js.map +1 -1
  84. package/dist/config.d.ts +6 -7
  85. package/dist/config.js +6 -12
  86. package/dist/config.js.map +1 -1
  87. package/dist/constants.d.ts +263 -98
  88. package/dist/constants.js +360 -377
  89. package/dist/constants.js.map +1 -1
  90. package/dist/controls-options-manager/constants.js +3 -6
  91. package/dist/controls-options-manager/constants.js.map +1 -1
  92. package/dist/controls-options-manager/enums.d.ts +11 -1
  93. package/dist/controls-options-manager/enums.js +9 -10
  94. package/dist/controls-options-manager/enums.js.map +1 -1
  95. package/dist/controls-options-manager/index.d.ts +17 -1
  96. package/dist/controls-options-manager/index.js +46 -46
  97. package/dist/controls-options-manager/index.js.map +1 -1
  98. package/dist/{types/controls-options-manager → controls-options-manager}/types.d.ts +7 -1
  99. package/dist/controls-options-manager/types.js.map +1 -1
  100. package/dist/controls-options-manager/util.d.ts +1 -7
  101. package/dist/controls-options-manager/util.js +81 -13
  102. package/dist/controls-options-manager/util.js.map +1 -1
  103. package/dist/index.d.ts +6 -3
  104. package/dist/index.js +70 -25
  105. package/dist/index.js.map +1 -1
  106. package/dist/interceptors/index.d.ts +2 -0
  107. package/dist/interceptors/index.js +15 -0
  108. package/dist/interceptors/index.js.map +1 -0
  109. package/dist/interceptors/locusRetry.d.ts +27 -0
  110. package/dist/interceptors/locusRetry.js +94 -0
  111. package/dist/interceptors/locusRetry.js.map +1 -0
  112. package/dist/interpretation/collection.d.ts +5 -0
  113. package/dist/interpretation/collection.js +22 -0
  114. package/dist/interpretation/collection.js.map +1 -0
  115. package/dist/interpretation/index.d.ts +5 -0
  116. package/dist/interpretation/index.js +379 -0
  117. package/dist/interpretation/index.js.map +1 -0
  118. package/dist/interpretation/siLanguage.d.ts +5 -0
  119. package/dist/interpretation/siLanguage.js +24 -0
  120. package/dist/interpretation/siLanguage.js.map +1 -0
  121. package/dist/locus-info/controlsUtils.js +82 -13
  122. package/dist/locus-info/controlsUtils.js.map +1 -1
  123. package/dist/locus-info/embeddedAppsUtils.js +3 -4
  124. package/dist/locus-info/embeddedAppsUtils.js.map +1 -1
  125. package/dist/locus-info/fullState.js +1 -2
  126. package/dist/locus-info/fullState.js.map +1 -1
  127. package/dist/locus-info/hostUtils.js +1 -2
  128. package/dist/locus-info/hostUtils.js.map +1 -1
  129. package/dist/locus-info/index.d.ts +57 -4
  130. package/dist/locus-info/index.js +350 -77
  131. package/dist/locus-info/index.js.map +1 -1
  132. package/dist/locus-info/infoUtils.js +10 -5
  133. package/dist/locus-info/infoUtils.js.map +1 -1
  134. package/dist/locus-info/mediaSharesUtils.js +58 -3
  135. package/dist/locus-info/mediaSharesUtils.js.map +1 -1
  136. package/dist/locus-info/parser.d.ts +66 -6
  137. package/dist/locus-info/parser.js +253 -80
  138. package/dist/locus-info/parser.js.map +1 -1
  139. package/dist/locus-info/selfUtils.js +49 -26
  140. package/dist/locus-info/selfUtils.js.map +1 -1
  141. package/dist/media/index.d.ts +2 -0
  142. package/dist/media/index.js +66 -108
  143. package/dist/media/index.js.map +1 -1
  144. package/dist/media/properties.d.ts +38 -53
  145. package/dist/media/properties.js +76 -128
  146. package/dist/media/properties.js.map +1 -1
  147. package/dist/media/util.js +1 -2
  148. package/dist/media/util.js.map +1 -1
  149. package/dist/mediaQualityMetrics/config.d.ts +239 -231
  150. package/dist/mediaQualityMetrics/config.js +135 -339
  151. package/dist/mediaQualityMetrics/config.js.map +1 -1
  152. package/dist/meeting/in-meeting-actions.d.ts +88 -0
  153. package/dist/meeting/in-meeting-actions.js +79 -5
  154. package/dist/meeting/in-meeting-actions.js.map +1 -1
  155. package/dist/meeting/index.d.ts +710 -517
  156. package/dist/meeting/index.js +4348 -3053
  157. package/dist/meeting/index.js.map +1 -1
  158. package/dist/meeting/locusMediaRequest.d.ts +74 -0
  159. package/dist/meeting/locusMediaRequest.js +291 -0
  160. package/dist/meeting/locusMediaRequest.js.map +1 -0
  161. package/dist/meeting/muteState.d.ts +93 -25
  162. package/dist/meeting/muteState.js +125 -207
  163. package/dist/meeting/muteState.js.map +1 -1
  164. package/dist/meeting/request.d.ts +84 -47
  165. package/dist/meeting/request.js +190 -165
  166. package/dist/meeting/request.js.map +1 -1
  167. package/dist/meeting/state.js +1 -2
  168. package/dist/meeting/state.js.map +1 -1
  169. package/dist/meeting/util.d.ts +118 -1
  170. package/dist/meeting/util.js +680 -447
  171. package/dist/meeting/util.js.map +1 -1
  172. package/dist/meeting/voicea-meeting.d.ts +16 -0
  173. package/dist/meeting/voicea-meeting.js +169 -0
  174. package/dist/meeting/voicea-meeting.js.map +1 -0
  175. package/dist/meeting-info/collection.js +3 -4
  176. package/dist/meeting-info/collection.js.map +1 -1
  177. package/dist/meeting-info/index.d.ts +13 -1
  178. package/dist/meeting-info/index.js +74 -7
  179. package/dist/meeting-info/index.js.map +1 -1
  180. package/dist/meeting-info/meeting-info-v2.d.ts +31 -1
  181. package/dist/meeting-info/meeting-info-v2.js +136 -61
  182. package/dist/meeting-info/meeting-info-v2.js.map +1 -1
  183. package/dist/meeting-info/request.js +1 -2
  184. package/dist/meeting-info/request.js.map +1 -1
  185. package/dist/meeting-info/util.js +9 -9
  186. package/dist/meeting-info/util.js.map +1 -1
  187. package/dist/meeting-info/utilv2.js +31 -41
  188. package/dist/meeting-info/utilv2.js.map +1 -1
  189. package/dist/meetings/collection.d.ts +17 -0
  190. package/dist/meetings/collection.js +21 -5
  191. package/dist/meetings/collection.js.map +1 -1
  192. package/dist/meetings/index.d.ts +114 -22
  193. package/dist/meetings/index.js +397 -127
  194. package/dist/meetings/index.js.map +1 -1
  195. package/dist/meetings/meetings.types.d.ts +4 -0
  196. package/dist/meetings/meetings.types.js +7 -0
  197. package/dist/meetings/meetings.types.js.map +1 -0
  198. package/dist/meetings/request.js +2 -3
  199. package/dist/meetings/request.js.map +1 -1
  200. package/dist/meetings/util.js +45 -17
  201. package/dist/meetings/util.js.map +1 -1
  202. package/dist/member/index.d.ts +15 -0
  203. package/dist/member/index.js +35 -2
  204. package/dist/member/index.js.map +1 -1
  205. package/dist/member/member.types.d.ts +11 -0
  206. package/dist/member/member.types.js +17 -0
  207. package/dist/member/member.types.js.map +1 -0
  208. package/dist/{types/member → member}/types.d.ts +11 -0
  209. package/dist/member/types.js +13 -5
  210. package/dist/member/types.js.map +1 -1
  211. package/dist/member/util.js +72 -25
  212. package/dist/member/util.js.map +1 -1
  213. package/dist/members/collection.d.ts +5 -0
  214. package/dist/members/collection.js +1 -2
  215. package/dist/members/collection.js.map +1 -1
  216. package/dist/members/index.d.ts +57 -2
  217. package/dist/members/index.js +29 -9
  218. package/dist/members/index.js.map +1 -1
  219. package/dist/members/request.d.ts +73 -9
  220. package/dist/members/request.js +77 -48
  221. package/dist/members/request.js.map +1 -1
  222. package/dist/{types/members → members}/types.d.ts +1 -0
  223. package/dist/members/types.js +3 -4
  224. package/dist/members/types.js.map +1 -1
  225. package/dist/members/util.d.ts +214 -1
  226. package/dist/members/util.js +320 -319
  227. package/dist/members/util.js.map +1 -1
  228. package/dist/metrics/constants.d.ts +17 -4
  229. package/dist/metrics/constants.js +18 -3
  230. package/dist/metrics/constants.js.map +1 -1
  231. package/dist/metrics/index.d.ts +4 -111
  232. package/dist/metrics/index.js +4 -453
  233. package/dist/metrics/index.js.map +1 -1
  234. package/dist/{types/multistream → multistream}/mediaRequestManager.d.ts +29 -10
  235. package/dist/multistream/mediaRequestManager.js +142 -48
  236. package/dist/multistream/mediaRequestManager.js.map +1 -1
  237. package/dist/{types/multistream → multistream}/receiveSlot.d.ts +3 -3
  238. package/dist/multistream/receiveSlot.js +3 -5
  239. package/dist/multistream/receiveSlot.js.map +1 -1
  240. package/dist/multistream/receiveSlotManager.js +11 -13
  241. package/dist/multistream/receiveSlotManager.js.map +1 -1
  242. package/dist/{types/multistream → multistream}/remoteMedia.d.ts +2 -2
  243. package/dist/multistream/remoteMedia.js +3 -5
  244. package/dist/multistream/remoteMedia.js.map +1 -1
  245. package/dist/{types/multistream → multistream}/remoteMediaGroup.d.ts +2 -0
  246. package/dist/multistream/remoteMediaGroup.js +78 -6
  247. package/dist/multistream/remoteMediaGroup.js.map +1 -1
  248. package/dist/{types/multistream → multistream}/remoteMediaManager.d.ts +39 -1
  249. package/dist/multistream/remoteMediaManager.js +288 -100
  250. package/dist/multistream/remoteMediaManager.js.map +1 -1
  251. package/dist/multistream/sendSlotManager.d.ts +70 -0
  252. package/dist/multistream/sendSlotManager.js +258 -0
  253. package/dist/multistream/sendSlotManager.js.map +1 -0
  254. package/dist/networkQualityMonitor/index.js +1 -2
  255. package/dist/networkQualityMonitor/index.js.map +1 -1
  256. package/dist/personal-meeting-room/index.js +2 -3
  257. package/dist/personal-meeting-room/index.js.map +1 -1
  258. package/dist/personal-meeting-room/request.js +2 -3
  259. package/dist/personal-meeting-room/request.js.map +1 -1
  260. package/dist/personal-meeting-room/util.js +1 -2
  261. package/dist/personal-meeting-room/util.js.map +1 -1
  262. package/dist/reachability/clusterReachability.d.ts +109 -0
  263. package/dist/reachability/clusterReachability.js +357 -0
  264. package/dist/reachability/clusterReachability.js.map +1 -0
  265. package/dist/reachability/index.d.ts +61 -95
  266. package/dist/reachability/index.js +280 -431
  267. package/dist/reachability/index.js.map +1 -1
  268. package/dist/reachability/request.d.ts +7 -3
  269. package/dist/reachability/request.js +18 -13
  270. package/dist/reachability/request.js.map +1 -1
  271. package/dist/reachability/util.d.ts +8 -0
  272. package/dist/reachability/util.js +29 -0
  273. package/dist/reachability/util.js.map +1 -0
  274. package/dist/reactions/constants.js +1 -2
  275. package/dist/reactions/constants.js.map +1 -1
  276. package/dist/reactions/reactions.d.ts +2 -2
  277. package/dist/reactions/reactions.js +2 -4
  278. package/dist/reactions/reactions.js.map +1 -1
  279. package/dist/reactions/reactions.type.d.ts +23 -3
  280. package/dist/reactions/reactions.type.js +6 -8
  281. package/dist/reactions/reactions.type.js.map +1 -1
  282. package/dist/reconnection-manager/index.d.ts +32 -8
  283. package/dist/reconnection-manager/index.js +264 -209
  284. package/dist/reconnection-manager/index.js.map +1 -1
  285. package/dist/recording-controller/enums.js +4 -5
  286. package/dist/recording-controller/enums.js.map +1 -1
  287. package/dist/recording-controller/index.d.ts +15 -1
  288. package/dist/recording-controller/index.js +57 -46
  289. package/dist/recording-controller/index.js.map +1 -1
  290. package/dist/recording-controller/util.d.ts +5 -4
  291. package/dist/recording-controller/util.js +10 -10
  292. package/dist/recording-controller/util.js.map +1 -1
  293. package/dist/roap/index.d.ts +9 -47
  294. package/dist/roap/index.js +53 -31
  295. package/dist/roap/index.js.map +1 -1
  296. package/dist/roap/request.d.ts +16 -12
  297. package/dist/roap/request.js +57 -73
  298. package/dist/roap/request.js.map +1 -1
  299. package/dist/roap/turnDiscovery.d.ts +46 -5
  300. package/dist/roap/turnDiscovery.js +227 -76
  301. package/dist/roap/turnDiscovery.js.map +1 -1
  302. package/dist/rtcMetrics/constants.d.ts +4 -0
  303. package/dist/rtcMetrics/constants.js +11 -0
  304. package/dist/rtcMetrics/constants.js.map +1 -0
  305. package/dist/rtcMetrics/index.d.ts +61 -0
  306. package/dist/rtcMetrics/index.js +177 -0
  307. package/dist/rtcMetrics/index.js.map +1 -0
  308. package/dist/statsAnalyzer/global.d.ts +1 -91
  309. package/dist/statsAnalyzer/global.js +1 -2
  310. package/dist/statsAnalyzer/global.js.map +1 -1
  311. package/dist/statsAnalyzer/index.d.ts +55 -28
  312. package/dist/statsAnalyzer/index.js +371 -319
  313. package/dist/statsAnalyzer/index.js.map +1 -1
  314. package/dist/statsAnalyzer/mqaUtil.d.ts +32 -6
  315. package/dist/statsAnalyzer/mqaUtil.js +295 -162
  316. package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
  317. package/dist/transcription/index.js +1 -2
  318. package/dist/transcription/index.js.map +1 -1
  319. package/dist/webinar/collection.d.ts +16 -0
  320. package/dist/webinar/collection.js +43 -0
  321. package/dist/webinar/collection.js.map +1 -0
  322. package/dist/webinar/index.d.ts +5 -0
  323. package/dist/webinar/index.js +68 -0
  324. package/dist/webinar/index.js.map +1 -0
  325. package/jest.config.js +3 -0
  326. package/package.json +44 -23
  327. package/process +1 -0
  328. package/src/annotation/annotation.types.ts +50 -0
  329. package/src/annotation/constants.ts +36 -0
  330. package/src/annotation/index.ts +328 -0
  331. package/src/breakouts/README.md +3 -2
  332. package/src/breakouts/breakout.ts +62 -27
  333. package/src/breakouts/events.ts +56 -0
  334. package/src/breakouts/index.ts +244 -64
  335. package/src/breakouts/utils.ts +13 -0
  336. package/src/common/errors/no-meeting-info.ts +24 -0
  337. package/src/common/errors/reclaim-host-role-errors.ts +134 -0
  338. package/src/common/errors/webex-errors.ts +44 -2
  339. package/src/common/logs/logger-proxy.ts +1 -1
  340. package/src/common/logs/request.ts +5 -1
  341. package/src/common/queue.ts +22 -8
  342. package/src/config.ts +5 -13
  343. package/src/constants.ts +190 -24
  344. package/src/controls-options-manager/enums.ts +2 -0
  345. package/src/controls-options-manager/index.ts +13 -10
  346. package/src/controls-options-manager/types.ts +10 -0
  347. package/src/controls-options-manager/util.ts +82 -11
  348. package/src/index.ts +22 -11
  349. package/src/interceptors/index.ts +3 -0
  350. package/src/interceptors/locusRetry.ts +67 -0
  351. package/src/interpretation/README.md +60 -0
  352. package/src/interpretation/collection.ts +19 -0
  353. package/src/interpretation/index.ts +349 -0
  354. package/src/interpretation/siLanguage.ts +18 -0
  355. package/src/locus-info/controlsUtils.ts +81 -0
  356. package/src/locus-info/index.ts +354 -57
  357. package/src/locus-info/infoUtils.ts +10 -2
  358. package/src/locus-info/mediaSharesUtils.ts +64 -0
  359. package/src/locus-info/parser.ts +258 -47
  360. package/src/locus-info/selfUtils.ts +32 -20
  361. package/src/media/index.ts +96 -108
  362. package/src/media/properties.ts +87 -112
  363. package/src/mediaQualityMetrics/config.ts +103 -238
  364. package/src/meeting/in-meeting-actions.ts +128 -4
  365. package/src/meeting/index.ts +3472 -2523
  366. package/src/meeting/locusMediaRequest.ts +313 -0
  367. package/src/meeting/muteState.ts +119 -194
  368. package/src/meeting/request.ts +155 -120
  369. package/src/meeting/util.ts +683 -412
  370. package/src/meeting/voicea-meeting.ts +122 -0
  371. package/src/meeting-info/index.ts +81 -8
  372. package/src/meeting-info/meeting-info-v2.ts +107 -26
  373. package/src/meeting-info/util.ts +13 -10
  374. package/src/meeting-info/utilv2.ts +40 -36
  375. package/src/meetings/collection.ts +13 -0
  376. package/src/meetings/index.ts +361 -116
  377. package/src/meetings/meetings.types.ts +12 -0
  378. package/src/meetings/util.ts +49 -20
  379. package/src/member/index.ts +36 -1
  380. package/src/member/member.types.ts +13 -0
  381. package/src/member/types.ts +14 -0
  382. package/src/member/util.ts +89 -26
  383. package/src/members/index.ts +36 -3
  384. package/src/members/request.ts +61 -21
  385. package/src/members/types.ts +1 -0
  386. package/src/members/util.ts +330 -326
  387. package/src/metrics/constants.ts +16 -0
  388. package/src/metrics/index.ts +1 -474
  389. package/src/multistream/mediaRequestManager.ts +186 -67
  390. package/src/multistream/receiveSlot.ts +4 -4
  391. package/src/multistream/receiveSlotManager.ts +4 -4
  392. package/src/multistream/remoteMedia.ts +2 -2
  393. package/src/multistream/remoteMediaGroup.ts +78 -0
  394. package/src/multistream/remoteMediaManager.ts +174 -18
  395. package/src/multistream/sendSlotManager.ts +199 -0
  396. package/src/reachability/clusterReachability.ts +320 -0
  397. package/src/reachability/index.ts +226 -382
  398. package/src/reachability/request.ts +8 -4
  399. package/src/reachability/util.ts +24 -0
  400. package/src/reconnection-manager/index.ts +95 -82
  401. package/src/recording-controller/index.ts +20 -3
  402. package/src/recording-controller/util.ts +26 -9
  403. package/src/roap/index.ts +52 -23
  404. package/src/roap/request.ts +49 -68
  405. package/src/roap/turnDiscovery.ts +147 -49
  406. package/src/rtcMetrics/constants.ts +3 -0
  407. package/src/rtcMetrics/index.ts +166 -0
  408. package/src/statsAnalyzer/index.ts +430 -428
  409. package/src/statsAnalyzer/mqaUtil.ts +317 -168
  410. package/src/webinar/collection.ts +31 -0
  411. package/src/webinar/index.ts +62 -0
  412. package/test/integration/spec/converged-space-meetings.js +60 -3
  413. package/test/integration/spec/journey.js +322 -263
  414. package/test/integration/spec/space-meeting.js +77 -4
  415. package/test/unit/spec/annotation/index.ts +418 -0
  416. package/test/unit/spec/breakouts/breakout.ts +86 -26
  417. package/test/unit/spec/breakouts/events.ts +89 -0
  418. package/test/unit/spec/breakouts/index.ts +639 -98
  419. package/test/unit/spec/breakouts/utils.js +19 -1
  420. package/test/unit/spec/common/queue.js +31 -2
  421. package/test/unit/spec/controls-options-manager/index.js +8 -1
  422. package/test/unit/spec/controls-options-manager/util.js +576 -397
  423. package/test/unit/spec/fixture/locus.js +1 -0
  424. package/test/unit/spec/interceptors/locusRetry.ts +131 -0
  425. package/test/unit/spec/interpretation/collection.ts +15 -0
  426. package/test/unit/spec/interpretation/index.ts +622 -0
  427. package/test/unit/spec/interpretation/siLanguage.ts +28 -0
  428. package/test/unit/spec/locus-info/controlsUtils.js +195 -1
  429. package/test/unit/spec/locus-info/index.js +1167 -69
  430. package/test/unit/spec/locus-info/infoUtils.js +37 -15
  431. package/test/unit/spec/locus-info/lib/SeqCmp.json +16 -0
  432. package/test/unit/spec/locus-info/{selfConstant.js → lib/selfConstant.js} +19 -0
  433. package/test/unit/spec/locus-info/mediaSharesUtils.ts +32 -0
  434. package/test/unit/spec/locus-info/parser.js +116 -35
  435. package/test/unit/spec/locus-info/selfUtils.js +132 -27
  436. package/test/unit/spec/media/index.ts +103 -79
  437. package/test/unit/spec/media/properties.ts +2 -2
  438. package/test/unit/spec/meeting/in-meeting-actions.ts +64 -2
  439. package/test/unit/spec/meeting/index.js +6768 -2199
  440. package/test/unit/spec/meeting/locusMediaRequest.ts +442 -0
  441. package/test/unit/spec/meeting/muteState.js +328 -417
  442. package/test/unit/spec/meeting/request.js +473 -54
  443. package/test/unit/spec/meeting/utils.js +764 -84
  444. package/test/unit/spec/meeting/voicea-meeting.ts +266 -0
  445. package/test/unit/spec/meeting-info/index.js +300 -0
  446. package/test/unit/spec/meeting-info/meetinginfov2.js +411 -25
  447. package/test/unit/spec/meeting-info/utilv2.js +21 -0
  448. package/test/unit/spec/meetings/collection.js +12 -0
  449. package/test/unit/spec/meetings/index.js +1266 -234
  450. package/test/unit/spec/meetings/utils.js +187 -9
  451. package/test/unit/spec/member/index.js +50 -19
  452. package/test/unit/spec/member/util.js +328 -155
  453. package/test/unit/spec/members/index.js +153 -20
  454. package/test/unit/spec/members/request.js +167 -35
  455. package/test/unit/spec/members/utils.js +26 -0
  456. package/test/unit/spec/metrics/index.js +2 -52
  457. package/test/unit/spec/multistream/mediaRequestManager.ts +386 -9
  458. package/test/unit/spec/multistream/receiveSlot.ts +1 -1
  459. package/test/unit/spec/multistream/remoteMediaGroup.ts +345 -0
  460. package/test/unit/spec/multistream/remoteMediaManager.ts +332 -2
  461. package/test/unit/spec/multistream/sendSlotManager.ts +274 -0
  462. package/test/unit/spec/reachability/clusterReachability.ts +279 -0
  463. package/test/unit/spec/reachability/index.ts +525 -94
  464. package/test/unit/spec/reachability/request.js +3 -1
  465. package/test/unit/spec/reachability/util.ts +40 -0
  466. package/test/unit/spec/reconnection-manager/index.js +135 -7
  467. package/test/unit/spec/recording-controller/index.js +293 -218
  468. package/test/unit/spec/recording-controller/util.js +223 -96
  469. package/test/unit/spec/roap/index.ts +180 -83
  470. package/test/unit/spec/roap/request.ts +100 -62
  471. package/test/unit/spec/roap/turnDiscovery.ts +388 -96
  472. package/test/unit/spec/rtcMetrics/index.ts +122 -0
  473. package/test/unit/spec/stats-analyzer/index.js +1225 -12
  474. package/test/unit/spec/webinar/collection.ts +13 -0
  475. package/test/unit/spec/webinar/index.ts +60 -0
  476. package/test/utils/integrationTestUtils.js +46 -0
  477. package/test/utils/testUtils.js +0 -60
  478. package/test/utils/webex-test-users.js +12 -4
  479. package/dist/docs/markdown/index.md +0 -12
  480. package/dist/docs/markdown/plugin-meetings.constants._active_.md +0 -11
  481. package/dist/docs/markdown/plugin-meetings.constants._answer_.md +0 -11
  482. package/dist/docs/markdown/plugin-meetings.constants._call_.md +0 -11
  483. package/dist/docs/markdown/plugin-meetings.constants._conflict_.md +0 -11
  484. package/dist/docs/markdown/plugin-meetings.constants._conversation_url_.md +0 -11
  485. package/dist/docs/markdown/plugin-meetings.constants._created_.md +0 -11
  486. package/dist/docs/markdown/plugin-meetings.constants._error_.md +0 -11
  487. package/dist/docs/markdown/plugin-meetings.constants._forced_.md +0 -11
  488. package/dist/docs/markdown/plugin-meetings.constants._id_.md +0 -11
  489. package/dist/docs/markdown/plugin-meetings.constants._idle_.md +0 -11
  490. package/dist/docs/markdown/plugin-meetings.constants._in_.md +0 -11
  491. package/dist/docs/markdown/plugin-meetings.constants._in_lobby_.md +0 -11
  492. package/dist/docs/markdown/plugin-meetings.constants._in_meeting_.md +0 -11
  493. package/dist/docs/markdown/plugin-meetings.constants._inactive_.md +0 -11
  494. package/dist/docs/markdown/plugin-meetings.constants._incoming_.md +0 -11
  495. package/dist/docs/markdown/plugin-meetings.constants._join_.md +0 -11
  496. package/dist/docs/markdown/plugin-meetings.constants._joined_.md +0 -11
  497. package/dist/docs/markdown/plugin-meetings.constants._left_.md +0 -11
  498. package/dist/docs/markdown/plugin-meetings.constants._locus_id_.md +0 -11
  499. package/dist/docs/markdown/plugin-meetings.constants._meeting_.md +0 -11
  500. package/dist/docs/markdown/plugin-meetings.constants._meeting_center_.md +0 -11
  501. package/dist/docs/markdown/plugin-meetings.constants._meeting_id_.md +0 -11
  502. package/dist/docs/markdown/plugin-meetings.constants._meeting_link_.md +0 -11
  503. package/dist/docs/markdown/plugin-meetings.constants._meeting_uuid_.md +0 -11
  504. package/dist/docs/markdown/plugin-meetings.constants._move_media_.md +0 -11
  505. package/dist/docs/markdown/plugin-meetings.constants._none_.md +0 -11
  506. package/dist/docs/markdown/plugin-meetings.constants._not_in_meeting_.md +0 -11
  507. package/dist/docs/markdown/plugin-meetings.constants._observe_.md +0 -11
  508. package/dist/docs/markdown/plugin-meetings.constants._people_.md +0 -11
  509. package/dist/docs/markdown/plugin-meetings.constants._personal_room_.md +0 -11
  510. package/dist/docs/markdown/plugin-meetings.constants._receive_only_.md +0 -11
  511. package/dist/docs/markdown/plugin-meetings.constants._remove_.md +0 -11
  512. package/dist/docs/markdown/plugin-meetings.constants._requested_.md +0 -11
  513. package/dist/docs/markdown/plugin-meetings.constants._resource_room_.md +0 -11
  514. package/dist/docs/markdown/plugin-meetings.constants._room_.md +0 -11
  515. package/dist/docs/markdown/plugin-meetings.constants._s_line.md +0 -11
  516. package/dist/docs/markdown/plugin-meetings.constants._send_only_.md +0 -11
  517. package/dist/docs/markdown/plugin-meetings.constants._send_receive_.md +0 -11
  518. package/dist/docs/markdown/plugin-meetings.constants._sip_bridge_.md +0 -11
  519. package/dist/docs/markdown/plugin-meetings.constants._sip_uri_.md +0 -11
  520. package/dist/docs/markdown/plugin-meetings.constants._slides_.md +0 -11
  521. package/dist/docs/markdown/plugin-meetings.constants._unknown_.md +0 -11
  522. package/dist/docs/markdown/plugin-meetings.constants._user_.md +0 -11
  523. package/dist/docs/markdown/plugin-meetings.constants._wait_.md +0 -11
  524. package/dist/docs/markdown/plugin-meetings.constants._webex_meeting_.md +0 -11
  525. package/dist/docs/markdown/plugin-meetings.constants.alert.md +0 -11
  526. package/dist/docs/markdown/plugin-meetings.constants.alternate_redirect_true.md +0 -11
  527. package/dist/docs/markdown/plugin-meetings.constants.answer.md +0 -11
  528. package/dist/docs/markdown/plugin-meetings.constants.api.md +0 -14
  529. package/dist/docs/markdown/plugin-meetings.constants.audio.md +0 -11
  530. package/dist/docs/markdown/plugin-meetings.constants.audio_input.md +0 -11
  531. package/dist/docs/markdown/plugin-meetings.constants.audio_status.md +0 -11
  532. package/dist/docs/markdown/plugin-meetings.constants.available_resolutions.md +0 -60
  533. package/dist/docs/markdown/plugin-meetings.constants.bnr_status.md +0 -16
  534. package/dist/docs/markdown/plugin-meetings.constants.breakouts.md +0 -51
  535. package/dist/docs/markdown/plugin-meetings.constants.calendar.md +0 -11
  536. package/dist/docs/markdown/plugin-meetings.constants.calendar_events.md +0 -17
  537. package/dist/docs/markdown/plugin-meetings.constants.calendar_events_api.md +0 -11
  538. package/dist/docs/markdown/plugin-meetings.constants.call.md +0 -11
  539. package/dist/docs/markdown/plugin-meetings.constants.call_removed_reason.md +0 -15
  540. package/dist/docs/markdown/plugin-meetings.constants.claim.md +0 -11
  541. package/dist/docs/markdown/plugin-meetings.constants.cmr_meetings.md +0 -11
  542. package/dist/docs/markdown/plugin-meetings.constants.complete.md +0 -11
  543. package/dist/docs/markdown/plugin-meetings.constants.connection_state.md +0 -18
  544. package/dist/docs/markdown/plugin-meetings.constants.content.md +0 -11
  545. package/dist/docs/markdown/plugin-meetings.constants.controls.md +0 -11
  546. package/dist/docs/markdown/plugin-meetings.constants.conversation_service.md +0 -11
  547. package/dist/docs/markdown/plugin-meetings.constants.conversation_url.md +0 -11
  548. package/dist/docs/markdown/plugin-meetings.constants.correlation_id.md +0 -11
  549. package/dist/docs/markdown/plugin-meetings.constants.decline.md +0 -11
  550. package/dist/docs/markdown/plugin-meetings.constants.default_excluded_stats.md +0 -11
  551. package/dist/docs/markdown/plugin-meetings.constants.default_get_stats_filter.md +0 -13
  552. package/dist/docs/markdown/plugin-meetings.constants.development.md +0 -11
  553. package/dist/docs/markdown/plugin-meetings.constants.dialer_regex.md +0 -15
  554. package/dist/docs/markdown/plugin-meetings.constants.display_hints.md +0 -51
  555. package/dist/docs/markdown/plugin-meetings.constants.embedded_app_types.md +0 -14
  556. package/dist/docs/markdown/plugin-meetings.constants.end.md +0 -11
  557. package/dist/docs/markdown/plugin-meetings.constants.ended.md +0 -11
  558. package/dist/docs/markdown/plugin-meetings.constants.error.md +0 -11
  559. package/dist/docs/markdown/plugin-meetings.constants.error_dictionary.md +0 -62
  560. package/dist/docs/markdown/plugin-meetings.constants.event_triggers.md +0 -82
  561. package/dist/docs/markdown/plugin-meetings.constants.event_types.md +0 -21
  562. package/dist/docs/markdown/plugin-meetings.constants.events.md +0 -26
  563. package/dist/docs/markdown/plugin-meetings.constants.floor_action.md +0 -15
  564. package/dist/docs/markdown/plugin-meetings.constants.full_state.md +0 -17
  565. package/dist/docs/markdown/plugin-meetings.constants.gathering.md +0 -11
  566. package/dist/docs/markdown/plugin-meetings.constants.hecate.md +0 -11
  567. package/dist/docs/markdown/plugin-meetings.constants.host.md +0 -11
  568. package/dist/docs/markdown/plugin-meetings.constants.http_verbs.md +0 -17
  569. package/dist/docs/markdown/plugin-meetings.constants.https_protocol.md +0 -11
  570. package/dist/docs/markdown/plugin-meetings.constants.ice_fail_timeout.md +0 -11
  571. package/dist/docs/markdown/plugin-meetings.constants.ice_gathering_state.md +0 -15
  572. package/dist/docs/markdown/plugin-meetings.constants.ice_state.md +0 -18
  573. package/dist/docs/markdown/plugin-meetings.constants.ice_timeout.md +0 -11
  574. package/dist/docs/markdown/plugin-meetings.constants.intent_to_join.md +0 -11
  575. package/dist/docs/markdown/plugin-meetings.constants.ipv4_regex.md +0 -11
  576. package/dist/docs/markdown/plugin-meetings.constants.join.md +0 -11
  577. package/dist/docs/markdown/plugin-meetings.constants.layout_types.md +0 -13
  578. package/dist/docs/markdown/plugin-meetings.constants.leave.md +0 -11
  579. package/dist/docs/markdown/plugin-meetings.constants.live.md +0 -11
  580. package/dist/docs/markdown/plugin-meetings.constants.local.md +0 -11
  581. package/dist/docs/markdown/plugin-meetings.constants.loci.md +0 -11
  582. package/dist/docs/markdown/plugin-meetings.constants.locus.md +0 -26
  583. package/dist/docs/markdown/plugin-meetings.constants.locus_url.md +0 -11
  584. package/dist/docs/markdown/plugin-meetings.constants.locusevent.md +0 -33
  585. package/dist/docs/markdown/plugin-meetings.constants.locusinfo.md +0 -43
  586. package/dist/docs/markdown/plugin-meetings.constants.max_random_delay_for_meeting_info.md +0 -11
  587. package/dist/docs/markdown/plugin-meetings.constants.md +0 -186
  588. package/dist/docs/markdown/plugin-meetings.constants.media.md +0 -11
  589. package/dist/docs/markdown/plugin-meetings.constants.media_devices.md +0 -15
  590. package/dist/docs/markdown/plugin-meetings.constants.media_peer_connection_name.md +0 -11
  591. package/dist/docs/markdown/plugin-meetings.constants.media_state.md +0 -14
  592. package/dist/docs/markdown/plugin-meetings.constants.media_track_constraint.md +0 -17
  593. package/dist/docs/markdown/plugin-meetings.constants.mediacontent.md +0 -14
  594. package/dist/docs/markdown/plugin-meetings.constants.meet.md +0 -11
  595. package/dist/docs/markdown/plugin-meetings.constants.meet_m.md +0 -11
  596. package/dist/docs/markdown/plugin-meetings.constants.meeting_audio_state_machine.md +0 -20
  597. package/dist/docs/markdown/plugin-meetings.constants.meeting_end_reason.md +0 -14
  598. package/dist/docs/markdown/plugin-meetings.constants.meeting_errors.md +0 -102
  599. package/dist/docs/markdown/plugin-meetings.constants.meeting_info_failure_reason.md +0 -16
  600. package/dist/docs/markdown/plugin-meetings.constants.meeting_removed_reason.md +0 -19
  601. package/dist/docs/markdown/plugin-meetings.constants.meeting_state.md +0 -25
  602. package/dist/docs/markdown/plugin-meetings.constants.meeting_state_machine.md +0 -31
  603. package/dist/docs/markdown/plugin-meetings.constants.meeting_video_state_machine.md +0 -20
  604. package/dist/docs/markdown/plugin-meetings.constants.meetinginfo.md +0 -11
  605. package/dist/docs/markdown/plugin-meetings.constants.meetings.md +0 -11
  606. package/dist/docs/markdown/plugin-meetings.constants.metrics_join_times_max_duration.md +0 -11
  607. package/dist/docs/markdown/plugin-meetings.constants.moderator_false.md +0 -11
  608. package/dist/docs/markdown/plugin-meetings.constants.moderator_true.md +0 -11
  609. package/dist/docs/markdown/plugin-meetings.constants.mqa_inteval.md +0 -11
  610. package/dist/docs/markdown/plugin-meetings.constants.mqa_stats.md +0 -82
  611. package/dist/docs/markdown/plugin-meetings.constants.network_status.md +0 -15
  612. package/dist/docs/markdown/plugin-meetings.constants.network_type.md +0 -16
  613. package/dist/docs/markdown/plugin-meetings.constants.offline.md +0 -11
  614. package/dist/docs/markdown/plugin-meetings.constants.online.md +0 -11
  615. package/dist/docs/markdown/plugin-meetings.constants.participant.md +0 -11
  616. package/dist/docs/markdown/plugin-meetings.constants.participant_deltas.md +0 -22
  617. package/dist/docs/markdown/plugin-meetings.constants.password_status.md +0 -16
  618. package/dist/docs/markdown/plugin-meetings.constants.pc_bail_timeout.md +0 -11
  619. package/dist/docs/markdown/plugin-meetings.constants.peer_connection_state.md +0 -14
  620. package/dist/docs/markdown/plugin-meetings.constants.provisional_type_dial_in.md +0 -11
  621. package/dist/docs/markdown/plugin-meetings.constants.provisional_type_dial_out.md +0 -11
  622. package/dist/docs/markdown/plugin-meetings.constants.pstn_status.md +0 -18
  623. package/dist/docs/markdown/plugin-meetings.constants.quality_levels.md +0 -19
  624. package/dist/docs/markdown/plugin-meetings.constants.reachability.md +0 -15
  625. package/dist/docs/markdown/plugin-meetings.constants.ready.md +0 -11
  626. package/dist/docs/markdown/plugin-meetings.constants.reconnection.md +0 -19
  627. package/dist/docs/markdown/plugin-meetings.constants.recording_state.md +0 -16
  628. package/dist/docs/markdown/plugin-meetings.constants.remote.md +0 -11
  629. package/dist/docs/markdown/plugin-meetings.constants.resource.md +0 -15
  630. package/dist/docs/markdown/plugin-meetings.constants.retry_timeout.md +0 -11
  631. package/dist/docs/markdown/plugin-meetings.constants.roap.md +0 -22
  632. package/dist/docs/markdown/plugin-meetings.constants.self_roles.md +0 -14
  633. package/dist/docs/markdown/plugin-meetings.constants.send_dtmf_endpoint.md +0 -11
  634. package/dist/docs/markdown/plugin-meetings.constants.sendrecv.md +0 -11
  635. package/dist/docs/markdown/plugin-meetings.constants.share.md +0 -11
  636. package/dist/docs/markdown/plugin-meetings.constants.share_peer_connection_name.md +0 -11
  637. package/dist/docs/markdown/plugin-meetings.constants.share_status.md +0 -16
  638. package/dist/docs/markdown/plugin-meetings.constants.share_stopped_reason.md +0 -14
  639. package/dist/docs/markdown/plugin-meetings.constants.sip_uri.md +0 -11
  640. package/dist/docs/markdown/plugin-meetings.constants.stats.md +0 -16
  641. package/dist/docs/markdown/plugin-meetings.constants.type.md +0 -11
  642. package/dist/docs/markdown/plugin-meetings.constants.use_uri_lookup_false.md +0 -11
  643. package/dist/docs/markdown/plugin-meetings.constants.uuid_reg.md +0 -11
  644. package/dist/docs/markdown/plugin-meetings.constants.valid_email_address.md +0 -11
  645. package/dist/docs/markdown/plugin-meetings.constants.valid_pin.md +0 -11
  646. package/dist/docs/markdown/plugin-meetings.constants.valid_pmr_address.md +0 -11
  647. package/dist/docs/markdown/plugin-meetings.constants.valid_pmr_link.md +0 -11
  648. package/dist/docs/markdown/plugin-meetings.constants.video.md +0 -11
  649. package/dist/docs/markdown/plugin-meetings.constants.video_input.md +0 -11
  650. package/dist/docs/markdown/plugin-meetings.constants.video_resolutions.md +0 -24
  651. package/dist/docs/markdown/plugin-meetings.constants.video_status.md +0 -11
  652. package/dist/docs/markdown/plugin-meetings.constants.wbxappapi_service.md +0 -11
  653. package/dist/docs/markdown/plugin-meetings.constants.webex_dot_com.md +0 -11
  654. package/dist/docs/markdown/plugin-meetings.constants.whiteboard.md +0 -11
  655. package/dist/docs/markdown/plugin-meetings.constants.www_dot.md +0 -11
  656. package/dist/docs/markdown/plugin-meetings.md +0 -28
  657. package/dist/docs/markdown/plugin-meetings.meeting.default._constructor_.md +0 -21
  658. package/dist/docs/markdown/plugin-meetings.meeting.default.acknowledge.md +0 -28
  659. package/dist/docs/markdown/plugin-meetings.meeting.default.addmedia.md +0 -28
  660. package/dist/docs/markdown/plugin-meetings.meeting.default.admit.md +0 -32
  661. package/dist/docs/markdown/plugin-meetings.meeting.default.attrs.md +0 -11
  662. package/dist/docs/markdown/plugin-meetings.meeting.default.audio.md +0 -11
  663. package/dist/docs/markdown/plugin-meetings.meeting.default.breakouts.md +0 -11
  664. package/dist/docs/markdown/plugin-meetings.meeting.default.callevents.md +0 -11
  665. package/dist/docs/markdown/plugin-meetings.meeting.default.cancelphoneinvite.md +0 -30
  666. package/dist/docs/markdown/plugin-meetings.meeting.default.canupdatemedia.md +0 -19
  667. package/dist/docs/markdown/plugin-meetings.meeting.default.changevideolayout.md +0 -38
  668. package/dist/docs/markdown/plugin-meetings.meeting.default.clearmeetingdata.md +0 -13
  669. package/dist/docs/markdown/plugin-meetings.meeting.default.closelocalshare.md +0 -21
  670. package/dist/docs/markdown/plugin-meetings.meeting.default.closelocalstream.md +0 -21
  671. package/dist/docs/markdown/plugin-meetings.meeting.default.closepeerconnections.md +0 -21
  672. package/dist/docs/markdown/plugin-meetings.meeting.default.closeremotestream.md +0 -26
  673. package/dist/docs/markdown/plugin-meetings.meeting.default.closeremotetracks.md +0 -19
  674. package/dist/docs/markdown/plugin-meetings.meeting.default.controlsoptionsmanager.md +0 -11
  675. package/dist/docs/markdown/plugin-meetings.meeting.default.conversationurl.md +0 -11
  676. package/dist/docs/markdown/plugin-meetings.meeting.default.correlationid.md +0 -11
  677. package/dist/docs/markdown/plugin-meetings.meeting.default.createmediaconnection.md +0 -26
  678. package/dist/docs/markdown/plugin-meetings.meeting.default.decline.md +0 -28
  679. package/dist/docs/markdown/plugin-meetings.meeting.default.deferjoin.md +0 -11
  680. package/dist/docs/markdown/plugin-meetings.meeting.default.destination.md +0 -11
  681. package/dist/docs/markdown/plugin-meetings.meeting.default.destinationtype.md +0 -11
  682. package/dist/docs/markdown/plugin-meetings.meeting.default.deviceurl.md +0 -11
  683. package/dist/docs/markdown/plugin-meetings.meeting.default.dialindevicestatus.md +0 -11
  684. package/dist/docs/markdown/plugin-meetings.meeting.default.dialinurl.md +0 -11
  685. package/dist/docs/markdown/plugin-meetings.meeting.default.dialoutdevicestatus.md +0 -11
  686. package/dist/docs/markdown/plugin-meetings.meeting.default.dialouturl.md +0 -11
  687. package/dist/docs/markdown/plugin-meetings.meeting.default.disconnectphoneaudio.md +0 -19
  688. package/dist/docs/markdown/plugin-meetings.meeting.default.endcallinitiatejoinreq.md +0 -11
  689. package/dist/docs/markdown/plugin-meetings.meeting.default.endjoinreqresp.md +0 -11
  690. package/dist/docs/markdown/plugin-meetings.meeting.default.endlocalsdpgenremotesdprecvdelay.md +0 -11
  691. package/dist/docs/markdown/plugin-meetings.meeting.default.endmeetingforall.md +0 -21
  692. package/dist/docs/markdown/plugin-meetings.meeting.default.fetchmeetinginfo.md +0 -29
  693. package/dist/docs/markdown/plugin-meetings.meeting.default.fetchmeetinginfotimeoutid.md +0 -11
  694. package/dist/docs/markdown/plugin-meetings.meeting.default.floorgrantpending.md +0 -11
  695. package/dist/docs/markdown/plugin-meetings.meeting.default.forwardevent.md +0 -29
  696. package/dist/docs/markdown/plugin-meetings.meeting.default.getanalyzermetricsprepayload.md +0 -32
  697. package/dist/docs/markdown/plugin-meetings.meeting.default.getcallinitiatejoinreq.md +0 -17
  698. package/dist/docs/markdown/plugin-meetings.meeting.default.getdevices.md +0 -13
  699. package/dist/docs/markdown/plugin-meetings.meeting.default.getjoinreqresp.md +0 -17
  700. package/dist/docs/markdown/plugin-meetings.meeting.default.getlocalsdpgenremotesdprecvdelay.md +0 -17
  701. package/dist/docs/markdown/plugin-meetings.meeting.default.getmediaconnectiondebugid.md +0 -15
  702. package/dist/docs/markdown/plugin-meetings.meeting.default.getmediastreams.md +0 -15
  703. package/dist/docs/markdown/plugin-meetings.meeting.default.getmembers.md +0 -21
  704. package/dist/docs/markdown/plugin-meetings.meeting.default.getsendingmediadelayduration.md +0 -24
  705. package/dist/docs/markdown/plugin-meetings.meeting.default.getsetupdelayduration.md +0 -24
  706. package/dist/docs/markdown/plugin-meetings.meeting.default.getsupporteddevices.md +0 -16
  707. package/dist/docs/markdown/plugin-meetings.meeting.default.gettotaljmt.md +0 -17
  708. package/dist/docs/markdown/plugin-meetings.meeting.default.guest.md +0 -11
  709. package/dist/docs/markdown/plugin-meetings.meeting.default.handledatachannelurlchange.md +0 -26
  710. package/dist/docs/markdown/plugin-meetings.meeting.default.handleroapfailure.md +0 -13
  711. package/dist/docs/markdown/plugin-meetings.meeting.default.hasjoinedonce.md +0 -11
  712. package/dist/docs/markdown/plugin-meetings.meeting.default.haswebsocketconnected.md +0 -11
  713. package/dist/docs/markdown/plugin-meetings.meeting.default.hostid.md +0 -11
  714. package/dist/docs/markdown/plugin-meetings.meeting.default.id.md +0 -11
  715. package/dist/docs/markdown/plugin-meetings.meeting.default.inmeetingactions.md +0 -11
  716. package/dist/docs/markdown/plugin-meetings.meeting.default.invite.md +0 -33
  717. package/dist/docs/markdown/plugin-meetings.meeting.default.isaudioconnected.md +0 -21
  718. package/dist/docs/markdown/plugin-meetings.meeting.default.isaudiomuted.md +0 -21
  719. package/dist/docs/markdown/plugin-meetings.meeting.default.isaudioself.md +0 -21
  720. package/dist/docs/markdown/plugin-meetings.meeting.default.islocalsharelive.md +0 -11
  721. package/dist/docs/markdown/plugin-meetings.meeting.default.ismultistream.md +0 -11
  722. package/dist/docs/markdown/plugin-meetings.meeting.default.isreactionssupported.md +0 -19
  723. package/dist/docs/markdown/plugin-meetings.meeting.default.isroapinprogress.md +0 -11
  724. package/dist/docs/markdown/plugin-meetings.meeting.default.issharing.md +0 -11
  725. package/dist/docs/markdown/plugin-meetings.meeting.default.istranscriptionsupported.md +0 -23
  726. package/dist/docs/markdown/plugin-meetings.meeting.default.isvideoconnected.md +0 -21
  727. package/dist/docs/markdown/plugin-meetings.meeting.default.isvideomuted.md +0 -21
  728. package/dist/docs/markdown/plugin-meetings.meeting.default.isvideoself.md +0 -21
  729. package/dist/docs/markdown/plugin-meetings.meeting.default.join.md +0 -28
  730. package/dist/docs/markdown/plugin-meetings.meeting.default.joinedwith.md +0 -11
  731. package/dist/docs/markdown/plugin-meetings.meeting.default.joinwithmedia.md +0 -36
  732. package/dist/docs/markdown/plugin-meetings.meeting.default.keepalivetimerid.md +0 -11
  733. package/dist/docs/markdown/plugin-meetings.meeting.default.lastvideolayoutinfo.md +0 -11
  734. package/dist/docs/markdown/plugin-meetings.meeting.default.leave.md +0 -31
  735. package/dist/docs/markdown/plugin-meetings.meeting.default.lockmeeting.md +0 -21
  736. package/dist/docs/markdown/plugin-meetings.meeting.default.locusid.md +0 -11
  737. package/dist/docs/markdown/plugin-meetings.meeting.default.locusinfo.md +0 -11
  738. package/dist/docs/markdown/plugin-meetings.meeting.default.locusurl.md +0 -11
  739. package/dist/docs/markdown/plugin-meetings.meeting.default.md +0 -227
  740. package/dist/docs/markdown/plugin-meetings.meeting.default.mediaconnections.md +0 -11
  741. package/dist/docs/markdown/plugin-meetings.meeting.default.mediaid.md +0 -11
  742. package/dist/docs/markdown/plugin-meetings.meeting.default.medianegotiatedevent.md +0 -13
  743. package/dist/docs/markdown/plugin-meetings.meeting.default.mediaproperties.md +0 -11
  744. package/dist/docs/markdown/plugin-meetings.meeting.default.mediarequestmanagers.md +0 -16
  745. package/dist/docs/markdown/plugin-meetings.meeting.default.meetingfinitestatemachine.md +0 -11
  746. package/dist/docs/markdown/plugin-meetings.meeting.default.meetinginfo.md +0 -11
  747. package/dist/docs/markdown/plugin-meetings.meeting.default.meetinginfofailurereason.md +0 -11
  748. package/dist/docs/markdown/plugin-meetings.meeting.default.meetingjoinurl.md +0 -11
  749. package/dist/docs/markdown/plugin-meetings.meeting.default.meetingnumber.md +0 -11
  750. package/dist/docs/markdown/plugin-meetings.meeting.default.meetingrequest.md +0 -11
  751. package/dist/docs/markdown/plugin-meetings.meeting.default.meetingstate.md +0 -11
  752. package/dist/docs/markdown/plugin-meetings.meeting.default.members.md +0 -11
  753. package/dist/docs/markdown/plugin-meetings.meeting.default.movefrom.md +0 -28
  754. package/dist/docs/markdown/plugin-meetings.meeting.default.moveto.md +0 -28
  755. package/dist/docs/markdown/plugin-meetings.meeting.default.mute.md +0 -29
  756. package/dist/docs/markdown/plugin-meetings.meeting.default.muteaudio.md +0 -21
  757. package/dist/docs/markdown/plugin-meetings.meeting.default.mutevideo.md +0 -21
  758. package/dist/docs/markdown/plugin-meetings.meeting.default.namespace.md +0 -11
  759. package/dist/docs/markdown/plugin-meetings.meeting.default.networkqualitymonitor.md +0 -11
  760. package/dist/docs/markdown/plugin-meetings.meeting.default.networkstatus.md +0 -11
  761. package/dist/docs/markdown/plugin-meetings.meeting.default.options.md +0 -11
  762. package/dist/docs/markdown/plugin-meetings.meeting.default.orgid.md +0 -11
  763. package/dist/docs/markdown/plugin-meetings.meeting.default.owner.md +0 -11
  764. package/dist/docs/markdown/plugin-meetings.meeting.default.parsemeetinginfo.md +0 -34
  765. package/dist/docs/markdown/plugin-meetings.meeting.default.partner.md +0 -11
  766. package/dist/docs/markdown/plugin-meetings.meeting.default.passwordstatus.md +0 -11
  767. package/dist/docs/markdown/plugin-meetings.meeting.default.pauserecording.md +0 -21
  768. package/dist/docs/markdown/plugin-meetings.meeting.default.permissiontoken.md +0 -11
  769. package/dist/docs/markdown/plugin-meetings.meeting.default.policy.md +0 -11
  770. package/dist/docs/markdown/plugin-meetings.meeting.default.processnextqueuedmediaupdate.md +0 -13
  771. package/dist/docs/markdown/plugin-meetings.meeting.default.publishtracks.md +0 -33
  772. package/dist/docs/markdown/plugin-meetings.meeting.default.queuedmediaupdates.md +0 -11
  773. package/dist/docs/markdown/plugin-meetings.meeting.default.receiveslotmanager.md +0 -11
  774. package/dist/docs/markdown/plugin-meetings.meeting.default.reconnect.md +0 -28
  775. package/dist/docs/markdown/plugin-meetings.meeting.default.reconnectionmanager.md +0 -11
  776. package/dist/docs/markdown/plugin-meetings.meeting.default.recording.md +0 -11
  777. package/dist/docs/markdown/plugin-meetings.meeting.default.recordingcontroller.md +0 -11
  778. package/dist/docs/markdown/plugin-meetings.meeting.default.refreshcaptcha.md +0 -21
  779. package/dist/docs/markdown/plugin-meetings.meeting.default.remotemediamanager.md +0 -11
  780. package/dist/docs/markdown/plugin-meetings.meeting.default.remove.md +0 -28
  781. package/dist/docs/markdown/plugin-meetings.meeting.default.requiredcaptcha.md +0 -11
  782. package/dist/docs/markdown/plugin-meetings.meeting.default.resource.md +0 -11
  783. package/dist/docs/markdown/plugin-meetings.meeting.default.resourceid.md +0 -11
  784. package/dist/docs/markdown/plugin-meetings.meeting.default.resourceurl.md +0 -11
  785. package/dist/docs/markdown/plugin-meetings.meeting.default.resumerecording.md +0 -21
  786. package/dist/docs/markdown/plugin-meetings.meeting.default.roap.md +0 -11
  787. package/dist/docs/markdown/plugin-meetings.meeting.default.roapseq.md +0 -11
  788. package/dist/docs/markdown/plugin-meetings.meeting.default.selfid.md +0 -11
  789. package/dist/docs/markdown/plugin-meetings.meeting.default.senddtmf.md +0 -28
  790. package/dist/docs/markdown/plugin-meetings.meeting.default.sendreaction.md +0 -29
  791. package/dist/docs/markdown/plugin-meetings.meeting.default.setdisallowunmute.md +0 -26
  792. package/dist/docs/markdown/plugin-meetings.meeting.default.setendcallinitiatejoinreq.md +0 -17
  793. package/dist/docs/markdown/plugin-meetings.meeting.default.setendjoinreqresp.md +0 -17
  794. package/dist/docs/markdown/plugin-meetings.meeting.default.setendlocalsdpgenremotesdprecvdelay.md +0 -17
  795. package/dist/docs/markdown/plugin-meetings.meeting.default.setendsendingmediadelay.md +0 -24
  796. package/dist/docs/markdown/plugin-meetings.meeting.default.setendsetupdelay.md +0 -24
  797. package/dist/docs/markdown/plugin-meetings.meeting.default.setlocalsharetrack.md +0 -28
  798. package/dist/docs/markdown/plugin-meetings.meeting.default.setlocaltracks.md +0 -28
  799. package/dist/docs/markdown/plugin-meetings.meeting.default.setlocalvideoquality.md +0 -26
  800. package/dist/docs/markdown/plugin-meetings.meeting.default.setmeetingquality.md +0 -31
  801. package/dist/docs/markdown/plugin-meetings.meeting.default.setmercurylistener.md +0 -21
  802. package/dist/docs/markdown/plugin-meetings.meeting.default.setmuteall.md +0 -28
  803. package/dist/docs/markdown/plugin-meetings.meeting.default.setmuteonentry.md +0 -26
  804. package/dist/docs/markdown/plugin-meetings.meeting.default.setremotequalitylevel.md +0 -26
  805. package/dist/docs/markdown/plugin-meetings.meeting.default.setsipuri.md +0 -26
  806. package/dist/docs/markdown/plugin-meetings.meeting.default.setstartcallinitiatejoinreq.md +0 -17
  807. package/dist/docs/markdown/plugin-meetings.meeting.default.setstartjoinreqresp.md +0 -17
  808. package/dist/docs/markdown/plugin-meetings.meeting.default.setstartlocalsdpgenremotesdprecvdelay.md +0 -17
  809. package/dist/docs/markdown/plugin-meetings.meeting.default.setstartsendingmediadelay.md +0 -24
  810. package/dist/docs/markdown/plugin-meetings.meeting.default.setstartsetupdelay.md +0 -24
  811. package/dist/docs/markdown/plugin-meetings.meeting.default.setupbreakoutslistener.md +0 -19
  812. package/dist/docs/markdown/plugin-meetings.meeting.default.setupmediaconnectionlisteners.md +0 -11
  813. package/dist/docs/markdown/plugin-meetings.meeting.default.setupstatsanalyzereventhandlers.md +0 -13
  814. package/dist/docs/markdown/plugin-meetings.meeting.default.sharescreen.md +0 -32
  815. package/dist/docs/markdown/plugin-meetings.meeting.default.sharestatus.md +0 -11
  816. package/dist/docs/markdown/plugin-meetings.meeting.default.sipuri.md +0 -11
  817. package/dist/docs/markdown/plugin-meetings.meeting.default.startcallinitiatejoinreq.md +0 -11
  818. package/dist/docs/markdown/plugin-meetings.meeting.default.startjoinreqresp.md +0 -11
  819. package/dist/docs/markdown/plugin-meetings.meeting.default.startkeepalive.md +0 -13
  820. package/dist/docs/markdown/plugin-meetings.meeting.default.startlocalsdpgenremotesdprecvdelay.md +0 -11
  821. package/dist/docs/markdown/plugin-meetings.meeting.default.startrecording.md +0 -21
  822. package/dist/docs/markdown/plugin-meetings.meeting.default.startwhiteboardshare.md +0 -29
  823. package/dist/docs/markdown/plugin-meetings.meeting.default.state.md +0 -11
  824. package/dist/docs/markdown/plugin-meetings.meeting.default.statsanalyzer.md +0 -11
  825. package/dist/docs/markdown/plugin-meetings.meeting.default.stopkeepalive.md +0 -13
  826. package/dist/docs/markdown/plugin-meetings.meeting.default.stopreceivingtranscription.md +0 -19
  827. package/dist/docs/markdown/plugin-meetings.meeting.default.stoprecording.md +0 -21
  828. package/dist/docs/markdown/plugin-meetings.meeting.default.stopshare.md +0 -28
  829. package/dist/docs/markdown/plugin-meetings.meeting.default.stopwhiteboardshare.md +0 -28
  830. package/dist/docs/markdown/plugin-meetings.meeting.default.togglereactions.md +0 -28
  831. package/dist/docs/markdown/plugin-meetings.meeting.default.transcription.md +0 -11
  832. package/dist/docs/markdown/plugin-meetings.meeting.default.transfer.md +0 -29
  833. package/dist/docs/markdown/plugin-meetings.meeting.default.type.md +0 -11
  834. package/dist/docs/markdown/plugin-meetings.meeting.default.unlockmeeting.md +0 -21
  835. package/dist/docs/markdown/plugin-meetings.meeting.default.unmuteaudio.md +0 -21
  836. package/dist/docs/markdown/plugin-meetings.meeting.default.unmutevideo.md +0 -21
  837. package/dist/docs/markdown/plugin-meetings.meeting.default.unpublishtracks.md +0 -26
  838. package/dist/docs/markdown/plugin-meetings.meeting.default.unsetlocalsharetrack.md +0 -21
  839. package/dist/docs/markdown/plugin-meetings.meeting.default.unsetlocalvideotrack.md +0 -21
  840. package/dist/docs/markdown/plugin-meetings.meeting.default.unsetpeerconnections.md +0 -21
  841. package/dist/docs/markdown/plugin-meetings.meeting.default.unsetremotestream.md +0 -26
  842. package/dist/docs/markdown/plugin-meetings.meeting.default.unsetremotetracks.md +0 -19
  843. package/dist/docs/markdown/plugin-meetings.meeting.default.updateaudio.md +0 -34
  844. package/dist/docs/markdown/plugin-meetings.meeting.default.updatellmconnection.md +0 -19
  845. package/dist/docs/markdown/plugin-meetings.meeting.default.updatemedia.md +0 -32
  846. package/dist/docs/markdown/plugin-meetings.meeting.default.updatemediaconnections.md +0 -11
  847. package/dist/docs/markdown/plugin-meetings.meeting.default.updateshare.md +0 -35
  848. package/dist/docs/markdown/plugin-meetings.meeting.default.updatevideo.md +0 -34
  849. package/dist/docs/markdown/plugin-meetings.meeting.default.uploadlogs.md +0 -28
  850. package/dist/docs/markdown/plugin-meetings.meeting.default.usephoneaudio.md +0 -28
  851. package/dist/docs/markdown/plugin-meetings.meeting.default.userid.md +0 -11
  852. package/dist/docs/markdown/plugin-meetings.meeting.default.verifypassword.md +0 -35
  853. package/dist/docs/markdown/plugin-meetings.meeting.default.video.md +0 -11
  854. package/dist/docs/markdown/plugin-meetings.meeting.default.wirelessshare.md +0 -11
  855. package/dist/docs/markdown/plugin-meetings.meeting.md +0 -18
  856. package/dist/docs/markdown/plugin-meetings.meeting.media_update_type.md +0 -17
  857. package/dist/docs/markdown/plugin-meetings.meetings._constructor_.md +0 -22
  858. package/dist/docs/markdown/plugin-meetings.meetings.create.md +0 -30
  859. package/dist/docs/markdown/plugin-meetings.meetings.fetchuserpreferredwebexsite.md +0 -19
  860. package/dist/docs/markdown/plugin-meetings.meetings.geohintinfo.md +0 -11
  861. package/dist/docs/markdown/plugin-meetings.meetings.getallmeetings.md +0 -31
  862. package/dist/docs/markdown/plugin-meetings.meetings.getgeohint.md +0 -19
  863. package/dist/docs/markdown/plugin-meetings.meetings.getlogger.md +0 -19
  864. package/dist/docs/markdown/plugin-meetings.meetings.getmeetingbytype.md +0 -29
  865. package/dist/docs/markdown/plugin-meetings.meetings.getpersonalmeetingroom.md +0 -21
  866. package/dist/docs/markdown/plugin-meetings.meetings.getreachability.md +0 -21
  867. package/dist/docs/markdown/plugin-meetings.meetings.getscheduledmeetings.md +0 -19
  868. package/dist/docs/markdown/plugin-meetings.meetings.loggerrequest.md +0 -11
  869. package/dist/docs/markdown/plugin-meetings.meetings.md +0 -57
  870. package/dist/docs/markdown/plugin-meetings.meetings.media.md +0 -11
  871. package/dist/docs/markdown/plugin-meetings.meetings.meetingcollection.md +0 -11
  872. package/dist/docs/markdown/plugin-meetings.meetings.meetinginfo.md +0 -11
  873. package/dist/docs/markdown/plugin-meetings.meetings.namespace.md +0 -11
  874. package/dist/docs/markdown/plugin-meetings.meetings.personalmeetingroom.md +0 -11
  875. package/dist/docs/markdown/plugin-meetings.meetings.preferredwebexsite.md +0 -11
  876. package/dist/docs/markdown/plugin-meetings.meetings.reachability.md +0 -11
  877. package/dist/docs/markdown/plugin-meetings.meetings.register.md +0 -21
  878. package/dist/docs/markdown/plugin-meetings.meetings.registered.md +0 -11
  879. package/dist/docs/markdown/plugin-meetings.meetings.request.md +0 -11
  880. package/dist/docs/markdown/plugin-meetings.meetings.setreachability.md +0 -21
  881. package/dist/docs/markdown/plugin-meetings.meetings.startreachability.md +0 -21
  882. package/dist/docs/markdown/plugin-meetings.meetings.syncmeetings.md +0 -21
  883. package/dist/docs/markdown/plugin-meetings.meetings.unregister.md +0 -21
  884. package/dist/docs/markdown/plugin-meetings.meetings.uploadlogs.md +0 -34
  885. package/dist/docs/markdown/plugin-meetings.reactions.md +0 -13
  886. package/dist/docs/markdown/plugin-meetings.reactions.reactions.md +0 -11
  887. package/dist/docs/markdown/plugin-meetings.reactions.skintones.md +0 -11
  888. package/dist/docs/markdown/plugin-meetings.remotemedia.getmaxfs.md +0 -26
  889. package/dist/docs/markdown/plugin-meetings.remotemedia.md +0 -31
  890. package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia._constructor_.md +0 -22
  891. package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.csi.md +0 -13
  892. package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.id.md +0 -11
  893. package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.md +0 -40
  894. package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.mediatype.md +0 -13
  895. package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.memberid.md +0 -13
  896. package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.setsizehint.md +0 -25
  897. package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.sourcestate.md +0 -13
  898. package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.stream.md +0 -13
  899. package/dist/docs/markdown/plugin-meetings.remotemedia.remotemediaevents.md +0 -14
  900. package/dist/docs/markdown/plugin-meetings.remotemedia.remotemediaid.md +0 -11
  901. package/dist/docs/markdown/plugin-meetings.remotemedia.remotevideoresolution.md +0 -11
  902. package/dist/docs/markdown/plugin-meetings.remotemediagroup.md +0 -12
  903. package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup._constructor_.md +0 -24
  904. package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.getremotemedia.md +0 -26
  905. package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.includes.md +0 -27
  906. package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.ispinned.md +0 -22
  907. package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.md +0 -28
  908. package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.pin.md +0 -25
  909. package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.unpin.md +0 -24
  910. package/dist/docs/markdown/plugin-meetings.triggerproxy.md +0 -11
  911. package/dist/docs/metadata/index.api.json +0 -14144
  912. package/dist/docs/metadata/index.api.md +0 -2075
  913. package/dist/docs/metadata/index.d.ts +0 -5594
  914. package/dist/meeting/effectsState.d.ts +0 -42
  915. package/dist/meeting/effectsState.js +0 -260
  916. package/dist/meeting/effectsState.js.map +0 -1
  917. package/dist/metrics/config.d.ts +0 -169
  918. package/dist/metrics/config.js +0 -291
  919. package/dist/metrics/config.js.map +0 -1
  920. package/dist/peer-connection-manager/index.d.ts +0 -6
  921. package/dist/peer-connection-manager/index.js +0 -671
  922. package/dist/peer-connection-manager/index.js.map +0 -1
  923. package/dist/peer-connection-manager/util.d.ts +0 -6
  924. package/dist/peer-connection-manager/util.js +0 -110
  925. package/dist/peer-connection-manager/util.js.map +0 -1
  926. package/dist/plugin-meetings.d.ts +0 -5399
  927. package/dist/roap/collection.d.ts +0 -10
  928. package/dist/roap/collection.js +0 -63
  929. package/dist/roap/collection.js.map +0 -1
  930. package/dist/roap/handler.d.ts +0 -47
  931. package/dist/roap/handler.js +0 -279
  932. package/dist/roap/handler.js.map +0 -1
  933. package/dist/roap/state.d.ts +0 -9
  934. package/dist/roap/state.js +0 -127
  935. package/dist/roap/state.js.map +0 -1
  936. package/dist/roap/util.d.ts +0 -2
  937. package/dist/roap/util.js +0 -76
  938. package/dist/roap/util.js.map +0 -1
  939. package/dist/types/common/browser-detection.d.ts +0 -9
  940. package/dist/types/common/collection.d.ts +0 -48
  941. package/dist/types/common/config.d.ts +0 -2
  942. package/dist/types/common/errors/captcha-error.d.ts +0 -15
  943. package/dist/types/common/errors/intent-to-join.d.ts +0 -16
  944. package/dist/types/common/errors/join-meeting.d.ts +0 -17
  945. package/dist/types/common/errors/media.d.ts +0 -15
  946. package/dist/types/common/errors/parameter.d.ts +0 -15
  947. package/dist/types/common/errors/password-error.d.ts +0 -15
  948. package/dist/types/common/errors/reconnection-in-progress.d.ts +0 -9
  949. package/dist/types/common/errors/reconnection.d.ts +0 -15
  950. package/dist/types/common/errors/stats.d.ts +0 -15
  951. package/dist/types/common/errors/webex-errors.d.ts +0 -69
  952. package/dist/types/common/errors/webex-meetings-error.d.ts +0 -20
  953. package/dist/types/common/events/events-scope.d.ts +0 -17
  954. package/dist/types/common/events/events.d.ts +0 -12
  955. package/dist/types/common/events/trigger-proxy.d.ts +0 -2
  956. package/dist/types/common/events/util.d.ts +0 -2
  957. package/dist/types/common/logs/logger-config.d.ts +0 -2
  958. package/dist/types/common/logs/logger-proxy.d.ts +0 -2
  959. package/dist/types/common/logs/request.d.ts +0 -34
  960. package/dist/types/common/queue.d.ts +0 -32
  961. package/dist/types/config.d.ts +0 -78
  962. package/dist/types/constants.d.ts +0 -957
  963. package/dist/types/controls-options-manager/constants.d.ts +0 -4
  964. package/dist/types/controls-options-manager/enums.d.ts +0 -13
  965. package/dist/types/controls-options-manager/index.d.ts +0 -136
  966. package/dist/types/controls-options-manager/util.d.ts +0 -1
  967. package/dist/types/index.d.ts +0 -7
  968. package/dist/types/locus-info/controlsUtils.d.ts +0 -2
  969. package/dist/types/locus-info/embeddedAppsUtils.d.ts +0 -2
  970. package/dist/types/locus-info/fullState.d.ts +0 -2
  971. package/dist/types/locus-info/hostUtils.d.ts +0 -2
  972. package/dist/types/locus-info/index.d.ts +0 -277
  973. package/dist/types/locus-info/infoUtils.d.ts +0 -2
  974. package/dist/types/locus-info/mediaSharesUtils.d.ts +0 -2
  975. package/dist/types/locus-info/parser.d.ts +0 -212
  976. package/dist/types/locus-info/selfUtils.d.ts +0 -2
  977. package/dist/types/media/index.d.ts +0 -32
  978. package/dist/types/media/properties.d.ts +0 -108
  979. package/dist/types/media/util.d.ts +0 -2
  980. package/dist/types/mediaQualityMetrics/config.d.ts +0 -365
  981. package/dist/types/meeting/effectsState.d.ts +0 -42
  982. package/dist/types/meeting/in-meeting-actions.d.ts +0 -105
  983. package/dist/types/meeting/index.d.ts +0 -1724
  984. package/dist/types/meeting/muteState.d.ts +0 -185
  985. package/dist/types/meeting/request.d.ts +0 -271
  986. package/dist/types/meeting/state.d.ts +0 -9
  987. package/dist/types/meeting/util.d.ts +0 -2
  988. package/dist/types/meeting-info/collection.d.ts +0 -20
  989. package/dist/types/meeting-info/index.d.ts +0 -57
  990. package/dist/types/meeting-info/meeting-info-v2.d.ts +0 -111
  991. package/dist/types/meeting-info/request.d.ts +0 -22
  992. package/dist/types/meeting-info/util.d.ts +0 -2
  993. package/dist/types/meeting-info/utilv2.d.ts +0 -2
  994. package/dist/types/meetings/collection.d.ts +0 -31
  995. package/dist/types/meetings/index.d.ts +0 -316
  996. package/dist/types/meetings/request.d.ts +0 -27
  997. package/dist/types/meetings/util.d.ts +0 -18
  998. package/dist/types/member/index.d.ts +0 -156
  999. package/dist/types/member/util.d.ts +0 -2
  1000. package/dist/types/members/collection.d.ts +0 -29
  1001. package/dist/types/members/index.d.ts +0 -353
  1002. package/dist/types/members/request.d.ts +0 -69
  1003. package/dist/types/members/util.d.ts +0 -2
  1004. package/dist/types/metrics/config.d.ts +0 -171
  1005. package/dist/types/metrics/constants.d.ts +0 -54
  1006. package/dist/types/metrics/index.d.ts +0 -152
  1007. package/dist/types/networkQualityMonitor/index.d.ts +0 -70
  1008. package/dist/types/personal-meeting-room/index.d.ts +0 -47
  1009. package/dist/types/personal-meeting-room/request.d.ts +0 -14
  1010. package/dist/types/personal-meeting-room/util.d.ts +0 -2
  1011. package/dist/types/reachability/index.d.ts +0 -152
  1012. package/dist/types/reachability/request.d.ts +0 -37
  1013. package/dist/types/reactions/reactions.d.ts +0 -4
  1014. package/dist/types/reactions/reactions.type.d.ts +0 -52
  1015. package/dist/types/reconnection-manager/index.d.ts +0 -126
  1016. package/dist/types/recording-controller/enums.d.ts +0 -7
  1017. package/dist/types/recording-controller/index.d.ts +0 -193
  1018. package/dist/types/recording-controller/util.d.ts +0 -13
  1019. package/dist/types/roap/index.d.ts +0 -77
  1020. package/dist/types/roap/request.d.ts +0 -38
  1021. package/dist/types/roap/turnDiscovery.d.ts +0 -74
  1022. package/dist/types/statsAnalyzer/global.d.ts +0 -36
  1023. package/dist/types/statsAnalyzer/index.d.ts +0 -200
  1024. package/dist/types/statsAnalyzer/mqaUtil.d.ts +0 -24
  1025. package/dist/types/transcription/index.d.ts +0 -64
  1026. package/dist/types/tsdoc-metadata.json +0 -11
  1027. package/src/metrics/config.ts +0 -487
  1028. /package/dist/{types/breakouts → breakouts}/breakout.d.ts +0 -0
  1029. /package/dist/{types/breakouts → breakouts}/collection.d.ts +0 -0
  1030. /package/dist/{types/breakouts → breakouts}/edit-lock-error.d.ts +0 -0
  1031. /package/dist/{types/breakouts → breakouts}/index.d.ts +0 -0
  1032. /package/dist/{types/breakouts → breakouts}/request.d.ts +0 -0
  1033. /package/dist/{types/meeting → meeting}/request.type.d.ts +0 -0
  1034. /package/dist/{types/multistream → multistream}/receiveSlotManager.d.ts +0 -0
  1035. /package/dist/{types/reactions → reactions}/constants.d.ts +0 -0
@@ -0,0 +1,379 @@
1
+ "use strict";
2
+
3
+ var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
4
+ var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
5
+ _Object$defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+ var _promise = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/promise"));
10
+ var _webexCore = require("@webex/webex-core");
11
+ var _loggerProxy = _interopRequireDefault(require("../common/logs/logger-proxy"));
12
+ var _constants = require("../constants");
13
+ var _collection = _interopRequireDefault(require("./collection"));
14
+ /*!
15
+ * Copyright (c) 2015-2023 Cisco Systems, Inc. See LICENSE file.
16
+ */
17
+
18
+ /**
19
+ * @class SimultaneousInterpretation
20
+ */
21
+ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
22
+ namespace: _constants.MEETINGS,
23
+ collections: {
24
+ siLanguages: _collection.default
25
+ },
26
+ props: {
27
+ locusUrl: 'string',
28
+ // appears current meeting's locus url
29
+ approvalUrl: 'string',
30
+ // appears current meeting's approval url for handoff between interpreters
31
+ originalLanguage: 'string',
32
+ // appears current meeting's original language
33
+ sourceLanguage: 'string',
34
+ // appears self interpreter's source language
35
+ targetLanguage: 'string',
36
+ // appears self interpreter's target language
37
+ receiveLanguage: 'string',
38
+ // appears self's receive language
39
+ order: 'number',
40
+ // appears the order of self as interpreter
41
+ isActive: 'boolean',
42
+ // appears self is interpreter and is active
43
+ selfParticipantId: 'string',
44
+ // appears the self participant id
45
+ canManageInterpreters: 'boolean',
46
+ // appears the ability to manage interpreters
47
+ supportLanguages: 'array',
48
+ // appears the support languages
49
+ meetingSIEnabled: 'boolean',
50
+ // appears the meeting support SI feature
51
+ hostSIEnabled: 'boolean',
52
+ // appears the meeting host/interpreter feature of SI enabled
53
+ selfIsInterpreter: 'boolean' // current user is interpreter or not
54
+ },
55
+
56
+ derived: {
57
+ shouldQuerySupportLanguages: {
58
+ cache: false,
59
+ deps: ['canManageInterpreters', 'hostSIEnabled'],
60
+ /**
61
+ * Returns should query support languages or not
62
+ * @returns {boolean}
63
+ */
64
+ fn: function fn() {
65
+ return !!(this.canManageInterpreters && this.hostSIEnabled);
66
+ }
67
+ }
68
+ },
69
+ /**
70
+ * initialize for interpretation
71
+ * @returns {void}
72
+ */
73
+ initialize: function initialize() {
74
+ var _this = this;
75
+ this.listenTo(this, 'change:shouldQuerySupportLanguages', function () {
76
+ if (_this.canManageInterpreters && !_this.supportLanguages) {
77
+ _this.querySupportLanguages();
78
+ }
79
+ });
80
+ this.listenToHandoffRequests();
81
+ },
82
+ /**
83
+ * Calls this to clean up listeners
84
+ * @returns {void}
85
+ */
86
+ cleanUp: function cleanUp() {
87
+ this.stopListening();
88
+ },
89
+ /**
90
+ * Update the current locus url of the meeting
91
+ * @param {string} locusUrl // locus url
92
+ * @returns {void}
93
+ */
94
+ locusUrlUpdate: function locusUrlUpdate(locusUrl) {
95
+ this.set('locusUrl', locusUrl);
96
+ },
97
+ /**
98
+ * Update the approval url for handoff
99
+ * @param {string} approvalUrl // approval url
100
+ * @returns {void}
101
+ */
102
+ approvalUrlUpdate: function approvalUrlUpdate(approvalUrl) {
103
+ this.set('approvalUrl', approvalUrl);
104
+ },
105
+ /**
106
+ * Update whether self has capability to manage interpreters (only host can manage it)
107
+ * @param {boolean} canManageInterpreters
108
+ * @returns {void}
109
+ */
110
+ updateCanManageInterpreters: function updateCanManageInterpreters(canManageInterpreters) {
111
+ this.set('canManageInterpreters', canManageInterpreters);
112
+ },
113
+ /**
114
+ * Update whether the meeting's host si is enabled or not
115
+ * @param {boolean} hostSIEnabled
116
+ * @returns {void}
117
+ */
118
+ updateHostSIEnabled: function updateHostSIEnabled(hostSIEnabled) {
119
+ this.set('hostSIEnabled', hostSIEnabled);
120
+ },
121
+ /**
122
+ * Update whether the meeting support SI feature or not from meeting info
123
+ * @param {boolean} meetingSIEnabled
124
+ * @param {boolean} selfIsInterpreter
125
+ * @returns {void}
126
+ */
127
+ updateMeetingSIEnabled: function updateMeetingSIEnabled(meetingSIEnabled, selfIsInterpreter) {
128
+ this.set('meetingSIEnabled', meetingSIEnabled);
129
+ this.set('selfIsInterpreter', selfIsInterpreter);
130
+ },
131
+ /**
132
+ * Update the interpretation languages channels which user can choose to subscribe
133
+ * @param {Object} interpretation
134
+ * @returns {void}
135
+ */
136
+ updateInterpretation: function updateInterpretation(interpretation) {
137
+ this.siLanguages.set((interpretation === null || interpretation === void 0 ? void 0 : interpretation.siLanguages) || []);
138
+ },
139
+ /**
140
+ * Update self's interpretation information (self is interpreter)
141
+ * @param {Object} interpretation
142
+ * @param {String} selfParticipantId
143
+ * @returns {bool} is target language changed
144
+ */
145
+ updateSelfInterpretation: function updateSelfInterpretation(_ref) {
146
+ var interpretation = _ref.interpretation,
147
+ selfParticipantId = _ref.selfParticipantId;
148
+ this.set('selfIsInterpreter', true);
149
+ var preTargetLanguage = this.targetLanguage;
150
+ var _ref2 = interpretation || {},
151
+ originalLanguage = _ref2.originalLanguage,
152
+ sourceLanguage = _ref2.sourceLanguage,
153
+ order = _ref2.order,
154
+ isActive = _ref2.isActive,
155
+ targetLanguage = _ref2.targetLanguage,
156
+ receiveLanguage = _ref2.receiveLanguage;
157
+ this.set({
158
+ originalLanguage: originalLanguage,
159
+ sourceLanguage: sourceLanguage,
160
+ order: order,
161
+ isActive: isActive,
162
+ targetLanguage: targetLanguage,
163
+ receiveLanguage: receiveLanguage
164
+ });
165
+ this.set('selfParticipantId', selfParticipantId);
166
+ return !!(targetLanguage && preTargetLanguage !== targetLanguage);
167
+ },
168
+ /**
169
+ * Get the language code of the interpreter target language
170
+ * @returns {number}
171
+ */
172
+ getTargetLanguageCode: function getTargetLanguageCode() {
173
+ if (this.selfIsInterpreter) {
174
+ var _this$siLanguages$get;
175
+ return (_this$siLanguages$get = this.siLanguages.get(this.targetLanguage)) === null || _this$siLanguages$get === void 0 ? void 0 : _this$siLanguages$get.languageCode;
176
+ }
177
+ return 0;
178
+ },
179
+ /**
180
+ * query interpretation languages
181
+ * @returns {Promise}
182
+ */
183
+ querySupportLanguages: function querySupportLanguages() {
184
+ var _this2 = this;
185
+ return this.request({
186
+ method: _constants.HTTP_VERBS.GET,
187
+ uri: "".concat(this.locusUrl, "/languages/interpretation")
188
+ }).then(function (result) {
189
+ var _result$body;
190
+ _this2.set('supportLanguages', (_result$body = result.body) === null || _result$body === void 0 ? void 0 : _result$body.siLanguages);
191
+ _this2.trigger(_constants.INTERPRETATION.EVENTS.SUPPORT_LANGUAGES_UPDATE);
192
+ }).catch(function (error) {
193
+ _loggerProxy.default.logger.error('Meeting:interpretation#querySupportLanguages failed', error);
194
+ throw error;
195
+ });
196
+ },
197
+ /**
198
+ * get interpreters of the meeting
199
+ * @returns {Promise}
200
+ */
201
+ getInterpreters: function getInterpreters() {
202
+ return this.request({
203
+ method: _constants.HTTP_VERBS.GET,
204
+ uri: "".concat(this.locusUrl, "/interpretation/interpreters")
205
+ }).catch(function (error) {
206
+ _loggerProxy.default.logger.error('Meeting:interpretation#getInterpreters failed', error);
207
+ throw error;
208
+ });
209
+ },
210
+ /**
211
+ * update interpreters of the meeting
212
+ * @param {Array} interpreters
213
+ * @returns {Promise}
214
+ */
215
+ updateInterpreters: function updateInterpreters(interpreters) {
216
+ return this.request({
217
+ method: _constants.HTTP_VERBS.PATCH,
218
+ uri: "".concat(this.locusUrl, "/controls"),
219
+ body: {
220
+ interpretation: {
221
+ interpreters: interpreters
222
+ }
223
+ }
224
+ }).catch(function (error) {
225
+ _loggerProxy.default.logger.error('Meeting:interpretation#updateInterpreters failed', error);
226
+ throw error;
227
+ });
228
+ },
229
+ /**
230
+ * Change direction of interpretation for an interpreter participant
231
+ * @returns {Promise}
232
+ */
233
+ changeDirection: function changeDirection() {
234
+ if (!this.sourceLanguage || !this.targetLanguage) {
235
+ return _promise.default.reject(new Error('Missing sourceLanguage or targetLanguage'));
236
+ }
237
+ if (!this.selfParticipantId) {
238
+ return _promise.default.reject(new Error('Missing self participant id'));
239
+ }
240
+ return this.request({
241
+ method: _constants.HTTP_VERBS.PATCH,
242
+ uri: "".concat(this.locusUrl, "/participant/").concat(this.selfParticipantId, "/controls"),
243
+ body: {
244
+ interpretation: {
245
+ sourceLanguage: this.targetLanguage,
246
+ targetLanguage: this.sourceLanguage,
247
+ isActive: this.isActive,
248
+ order: this.order
249
+ }
250
+ }
251
+ }).catch(function (error) {
252
+ _loggerProxy.default.logger.error('Meeting:interpretation#changeDirection failed', error);
253
+ throw error;
254
+ });
255
+ },
256
+ /**
257
+ * Sets up a listener for handoff requests from mercury
258
+ * @returns {void}
259
+ */
260
+ listenToHandoffRequests: function listenToHandoffRequests() {
261
+ var _this3 = this;
262
+ this.listenTo(this.webex.internal.mercury, 'event:locus.approval_request', function (event) {
263
+ var _event$data, _event$data$approval;
264
+ if ((event === null || event === void 0 ? void 0 : (_event$data = event.data) === null || _event$data === void 0 ? void 0 : (_event$data$approval = _event$data.approval) === null || _event$data$approval === void 0 ? void 0 : _event$data$approval.resourceType) === _constants.INTERPRETATION.RESOURCE_TYPE) {
265
+ var _receivers$;
266
+ var _event$data$approval2 = event.data.approval,
267
+ receivers = _event$data$approval2.receivers,
268
+ initiator = _event$data$approval2.initiator,
269
+ actionType = _event$data$approval2.actionType,
270
+ url = _event$data$approval2.url;
271
+ var receiverId = receivers === null || receivers === void 0 ? void 0 : (_receivers$ = receivers[0]) === null || _receivers$ === void 0 ? void 0 : _receivers$.participantId;
272
+ var isReceiver = !!receiverId && receiverId === _this3.selfParticipantId;
273
+ var senderId = initiator === null || initiator === void 0 ? void 0 : initiator.participantId;
274
+ var isSender = !!senderId && senderId === _this3.selfParticipantId;
275
+ if (!isReceiver && !isSender) {
276
+ return;
277
+ }
278
+ _this3.trigger(_constants.INTERPRETATION.EVENTS.HANDOFF_REQUESTS_ARRIVED, {
279
+ actionType: actionType,
280
+ isReceiver: isReceiver,
281
+ isSender: isSender,
282
+ senderId: senderId,
283
+ receiverId: receiverId,
284
+ url: url
285
+ });
286
+ }
287
+ });
288
+ },
289
+ /**
290
+ * handoff the active interpreter role to another interpreter in same group, only the interpreter is allowed to call this api
291
+ * @param {string} participantId the participant id you want to hand off
292
+ * @returns {Promise}
293
+ */
294
+ handoffInterpreter: function handoffInterpreter(participantId) {
295
+ if (!participantId) {
296
+ return _promise.default.reject(new Error('Missing target participant id'));
297
+ }
298
+ if (!this.approvalUrl) {
299
+ return _promise.default.reject(new Error('Missing approval url'));
300
+ }
301
+ return this.request({
302
+ method: _constants.HTTP_VERBS.POST,
303
+ uri: this.approvalUrl,
304
+ body: {
305
+ actionType: _constants.INTERPRETATION.ACTION_TYPE.OFFERED,
306
+ resourceType: _constants.INTERPRETATION.RESOURCE_TYPE,
307
+ receivers: [{
308
+ participantId: participantId
309
+ }]
310
+ }
311
+ }).catch(function (error) {
312
+ _loggerProxy.default.logger.error('Meeting:interpretation#handoffInterpreter failed', error);
313
+ throw error;
314
+ });
315
+ },
316
+ /**
317
+ * the in-active interpreter request to hand off the active role to self
318
+ * @returns {Promise}
319
+ */
320
+ requestHandoff: function requestHandoff() {
321
+ if (!this.approvalUrl) {
322
+ return _promise.default.reject(new Error('Missing approval url'));
323
+ }
324
+ return this.request({
325
+ method: _constants.HTTP_VERBS.POST,
326
+ uri: this.approvalUrl,
327
+ body: {
328
+ actionType: _constants.INTERPRETATION.ACTION_TYPE.REQUESTED,
329
+ resourceType: _constants.INTERPRETATION.RESOURCE_TYPE
330
+ }
331
+ }).catch(function (error) {
332
+ _loggerProxy.default.logger.error('Meeting:interpretation#requestHandoff failed', error);
333
+ throw error;
334
+ });
335
+ },
336
+ /**
337
+ * accept the request of handoff
338
+ * @param {String} url the url get from last approval event
339
+ * @returns {Promise}
340
+ */
341
+ acceptRequest: function acceptRequest(url) {
342
+ if (!url) {
343
+ return _promise.default.reject(new Error('Missing the url to accept'));
344
+ }
345
+ return this.request({
346
+ method: _constants.HTTP_VERBS.PUT,
347
+ uri: url,
348
+ body: {
349
+ actionType: _constants.INTERPRETATION.ACTION_TYPE.ACCEPTED
350
+ }
351
+ }).catch(function (error) {
352
+ _loggerProxy.default.logger.error('Meeting:interpretation#acceptRequest failed', error);
353
+ throw error;
354
+ });
355
+ },
356
+ /**
357
+ * decline the request of handoff
358
+ * @param {String} url the url get from last approval event
359
+ * @returns {Promise}
360
+ */
361
+ declineRequest: function declineRequest(url) {
362
+ if (!url) {
363
+ return _promise.default.reject(new Error('Missing the url to decline'));
364
+ }
365
+ return this.request({
366
+ method: _constants.HTTP_VERBS.PUT,
367
+ uri: url,
368
+ body: {
369
+ actionType: _constants.INTERPRETATION.ACTION_TYPE.DECLINED
370
+ }
371
+ }).catch(function (error) {
372
+ _loggerProxy.default.logger.error('Meeting:interpretation#declineRequest failed', error);
373
+ throw error;
374
+ });
375
+ },
376
+ version: "3.0.0-next.1"
377
+ });
378
+ var _default = exports.default = SimultaneousInterpretation;
379
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_webexCore","require","_loggerProxy","_interopRequireDefault","_constants","_collection","SimultaneousInterpretation","WebexPlugin","extend","namespace","MEETINGS","collections","siLanguages","SILanguageCollection","props","locusUrl","approvalUrl","originalLanguage","sourceLanguage","targetLanguage","receiveLanguage","order","isActive","selfParticipantId","canManageInterpreters","supportLanguages","meetingSIEnabled","hostSIEnabled","selfIsInterpreter","derived","shouldQuerySupportLanguages","cache","deps","fn","initialize","_this","listenTo","querySupportLanguages","listenToHandoffRequests","cleanUp","stopListening","locusUrlUpdate","set","approvalUrlUpdate","updateCanManageInterpreters","updateHostSIEnabled","updateMeetingSIEnabled","updateInterpretation","interpretation","updateSelfInterpretation","_ref","preTargetLanguage","_ref2","getTargetLanguageCode","_this$siLanguages$get","get","languageCode","_this2","request","method","HTTP_VERBS","GET","uri","concat","then","result","_result$body","body","trigger","INTERPRETATION","EVENTS","SUPPORT_LANGUAGES_UPDATE","catch","error","LoggerProxy","logger","getInterpreters","updateInterpreters","interpreters","PATCH","changeDirection","_promise","default","reject","Error","_this3","webex","internal","mercury","event","_event$data","_event$data$approval","data","approval","resourceType","RESOURCE_TYPE","_receivers$","_event$data$approval2","receivers","initiator","actionType","url","receiverId","participantId","isReceiver","senderId","isSender","HANDOFF_REQUESTS_ARRIVED","handoffInterpreter","POST","ACTION_TYPE","OFFERED","requestHandoff","REQUESTED","acceptRequest","PUT","ACCEPTED","declineRequest","DECLINED","version","_default","exports"],"sources":["index.ts"],"sourcesContent":["/*!\n * Copyright (c) 2015-2023 Cisco Systems, Inc. See LICENSE file.\n */\nimport {WebexPlugin} from '@webex/webex-core';\nimport LoggerProxy from '../common/logs/logger-proxy';\nimport {HTTP_VERBS, INTERPRETATION, MEETINGS} from '../constants';\n\nimport SILanguageCollection from './collection';\n\n/**\n * @class SimultaneousInterpretation\n */\nconst SimultaneousInterpretation = WebexPlugin.extend({\n namespace: MEETINGS,\n collections: {\n siLanguages: SILanguageCollection,\n },\n\n props: {\n locusUrl: 'string', // appears current meeting's locus url\n approvalUrl: 'string', // appears current meeting's approval url for handoff between interpreters\n originalLanguage: 'string', // appears current meeting's original language\n sourceLanguage: 'string', // appears self interpreter's source language\n targetLanguage: 'string', // appears self interpreter's target language\n receiveLanguage: 'string', // appears self's receive language\n order: 'number', // appears the order of self as interpreter\n isActive: 'boolean', // appears self is interpreter and is active\n selfParticipantId: 'string', // appears the self participant id\n canManageInterpreters: 'boolean', // appears the ability to manage interpreters\n supportLanguages: 'array', // appears the support languages\n meetingSIEnabled: 'boolean', // appears the meeting support SI feature\n hostSIEnabled: 'boolean', // appears the meeting host/interpreter feature of SI enabled\n selfIsInterpreter: 'boolean', // current user is interpreter or not\n },\n derived: {\n shouldQuerySupportLanguages: {\n cache: false,\n deps: ['canManageInterpreters', 'hostSIEnabled'],\n /**\n * Returns should query support languages or not\n * @returns {boolean}\n */\n fn() {\n return !!(this.canManageInterpreters && this.hostSIEnabled);\n },\n },\n },\n /**\n * initialize for interpretation\n * @returns {void}\n */\n initialize() {\n this.listenTo(this, 'change:shouldQuerySupportLanguages', () => {\n if (this.canManageInterpreters && !this.supportLanguages) {\n this.querySupportLanguages();\n }\n });\n this.listenToHandoffRequests();\n },\n\n /**\n * Calls this to clean up listeners\n * @returns {void}\n */\n cleanUp() {\n this.stopListening();\n },\n /**\n * Update the current locus url of the meeting\n * @param {string} locusUrl // locus url\n * @returns {void}\n */\n locusUrlUpdate(locusUrl) {\n this.set('locusUrl', locusUrl);\n },\n /**\n * Update the approval url for handoff\n * @param {string} approvalUrl // approval url\n * @returns {void}\n */\n approvalUrlUpdate(approvalUrl) {\n this.set('approvalUrl', approvalUrl);\n },\n /**\n * Update whether self has capability to manage interpreters (only host can manage it)\n * @param {boolean} canManageInterpreters\n * @returns {void}\n */\n updateCanManageInterpreters(canManageInterpreters) {\n this.set('canManageInterpreters', canManageInterpreters);\n },\n /**\n * Update whether the meeting's host si is enabled or not\n * @param {boolean} hostSIEnabled\n * @returns {void}\n */\n updateHostSIEnabled(hostSIEnabled) {\n this.set('hostSIEnabled', hostSIEnabled);\n },\n\n /**\n * Update whether the meeting support SI feature or not from meeting info\n * @param {boolean} meetingSIEnabled\n * @param {boolean} selfIsInterpreter\n * @returns {void}\n */\n updateMeetingSIEnabled(meetingSIEnabled: boolean, selfIsInterpreter): void {\n this.set('meetingSIEnabled', meetingSIEnabled);\n this.set('selfIsInterpreter', selfIsInterpreter);\n },\n\n /**\n * Update the interpretation languages channels which user can choose to subscribe\n * @param {Object} interpretation\n * @returns {void}\n */\n updateInterpretation(interpretation) {\n this.siLanguages.set(interpretation?.siLanguages || []);\n },\n /**\n * Update self's interpretation information (self is interpreter)\n * @param {Object} interpretation\n * @param {String} selfParticipantId\n * @returns {bool} is target language changed\n */\n updateSelfInterpretation({interpretation, selfParticipantId}) {\n this.set('selfIsInterpreter', true);\n const preTargetLanguage = this.targetLanguage;\n const {originalLanguage, sourceLanguage, order, isActive, targetLanguage, receiveLanguage} =\n interpretation || {};\n this.set({originalLanguage, sourceLanguage, order, isActive, targetLanguage, receiveLanguage});\n this.set('selfParticipantId', selfParticipantId);\n\n return !!(targetLanguage && preTargetLanguage !== targetLanguage);\n },\n\n /**\n * Get the language code of the interpreter target language\n * @returns {number}\n */\n getTargetLanguageCode() {\n if (this.selfIsInterpreter) {\n return this.siLanguages.get(this.targetLanguage)?.languageCode;\n }\n\n return 0;\n },\n\n /**\n * query interpretation languages\n * @returns {Promise}\n */\n querySupportLanguages() {\n return this.request({\n method: HTTP_VERBS.GET,\n uri: `${this.locusUrl}/languages/interpretation`,\n })\n .then((result) => {\n this.set('supportLanguages', result.body?.siLanguages);\n this.trigger(INTERPRETATION.EVENTS.SUPPORT_LANGUAGES_UPDATE);\n })\n .catch((error) => {\n LoggerProxy.logger.error('Meeting:interpretation#querySupportLanguages failed', error);\n throw error;\n });\n },\n /**\n * get interpreters of the meeting\n * @returns {Promise}\n */\n getInterpreters() {\n return this.request({\n method: HTTP_VERBS.GET,\n uri: `${this.locusUrl}/interpretation/interpreters`,\n }).catch((error) => {\n LoggerProxy.logger.error('Meeting:interpretation#getInterpreters failed', error);\n throw error;\n });\n },\n /**\n * update interpreters of the meeting\n * @param {Array} interpreters\n * @returns {Promise}\n */\n updateInterpreters(interpreters) {\n return this.request({\n method: HTTP_VERBS.PATCH,\n uri: `${this.locusUrl}/controls`,\n body: {\n interpretation: {\n interpreters,\n },\n },\n }).catch((error) => {\n LoggerProxy.logger.error('Meeting:interpretation#updateInterpreters failed', error);\n throw error;\n });\n },\n /**\n * Change direction of interpretation for an interpreter participant\n * @returns {Promise}\n */\n changeDirection() {\n if (!this.sourceLanguage || !this.targetLanguage) {\n return Promise.reject(new Error('Missing sourceLanguage or targetLanguage'));\n }\n\n if (!this.selfParticipantId) {\n return Promise.reject(new Error('Missing self participant id'));\n }\n\n return this.request({\n method: HTTP_VERBS.PATCH,\n uri: `${this.locusUrl}/participant/${this.selfParticipantId}/controls`,\n body: {\n interpretation: {\n sourceLanguage: this.targetLanguage,\n targetLanguage: this.sourceLanguage,\n isActive: this.isActive,\n order: this.order,\n },\n },\n }).catch((error) => {\n LoggerProxy.logger.error('Meeting:interpretation#changeDirection failed', error);\n throw error;\n });\n },\n /**\n * Sets up a listener for handoff requests from mercury\n * @returns {void}\n */\n listenToHandoffRequests() {\n this.listenTo(this.webex.internal.mercury, 'event:locus.approval_request', (event) => {\n if (event?.data?.approval?.resourceType === INTERPRETATION.RESOURCE_TYPE) {\n const {receivers, initiator, actionType, url} = event.data.approval;\n const receiverId = receivers?.[0]?.participantId;\n const isReceiver = !!receiverId && receiverId === this.selfParticipantId;\n const senderId = initiator?.participantId;\n const isSender = !!senderId && senderId === this.selfParticipantId;\n if (!isReceiver && !isSender) {\n return;\n }\n this.trigger(INTERPRETATION.EVENTS.HANDOFF_REQUESTS_ARRIVED, {\n actionType,\n isReceiver,\n isSender,\n senderId,\n receiverId,\n url,\n });\n }\n });\n },\n /**\n * handoff the active interpreter role to another interpreter in same group, only the interpreter is allowed to call this api\n * @param {string} participantId the participant id you want to hand off\n * @returns {Promise}\n */\n handoffInterpreter(participantId) {\n if (!participantId) {\n return Promise.reject(new Error('Missing target participant id'));\n }\n if (!this.approvalUrl) {\n return Promise.reject(new Error('Missing approval url'));\n }\n\n return this.request({\n method: HTTP_VERBS.POST,\n uri: this.approvalUrl,\n body: {\n actionType: INTERPRETATION.ACTION_TYPE.OFFERED,\n resourceType: INTERPRETATION.RESOURCE_TYPE,\n receivers: [\n {\n participantId,\n },\n ],\n },\n }).catch((error) => {\n LoggerProxy.logger.error('Meeting:interpretation#handoffInterpreter failed', error);\n throw error;\n });\n },\n /**\n * the in-active interpreter request to hand off the active role to self\n * @returns {Promise}\n */\n requestHandoff() {\n if (!this.approvalUrl) {\n return Promise.reject(new Error('Missing approval url'));\n }\n\n return this.request({\n method: HTTP_VERBS.POST,\n uri: this.approvalUrl,\n body: {\n actionType: INTERPRETATION.ACTION_TYPE.REQUESTED,\n resourceType: INTERPRETATION.RESOURCE_TYPE,\n },\n }).catch((error) => {\n LoggerProxy.logger.error('Meeting:interpretation#requestHandoff failed', error);\n throw error;\n });\n },\n /**\n * accept the request of handoff\n * @param {String} url the url get from last approval event\n * @returns {Promise}\n */\n acceptRequest(url) {\n if (!url) {\n return Promise.reject(new Error('Missing the url to accept'));\n }\n\n return this.request({\n method: HTTP_VERBS.PUT,\n uri: url,\n body: {\n actionType: INTERPRETATION.ACTION_TYPE.ACCEPTED,\n },\n }).catch((error) => {\n LoggerProxy.logger.error('Meeting:interpretation#acceptRequest failed', error);\n throw error;\n });\n },\n /**\n * decline the request of handoff\n * @param {String} url the url get from last approval event\n * @returns {Promise}\n */\n declineRequest(url) {\n if (!url) {\n return Promise.reject(new Error('Missing the url to decline'));\n }\n\n return this.request({\n method: HTTP_VERBS.PUT,\n uri: url,\n body: {\n actionType: INTERPRETATION.ACTION_TYPE.DECLINED,\n },\n }).catch((error) => {\n LoggerProxy.logger.error('Meeting:interpretation#declineRequest failed', error);\n throw error;\n });\n },\n});\n\nexport default SimultaneousInterpretation;\n"],"mappings":";;;;;;;;;AAGA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAEA,IAAAI,WAAA,GAAAF,sBAAA,CAAAF,OAAA;AAPA;AACA;AACA;;AAOA;AACA;AACA;AACA,IAAMK,0BAA0B,GAAGC,sBAAW,CAACC,MAAM,CAAC;EACpDC,SAAS,EAAEC,mBAAQ;EACnBC,WAAW,EAAE;IACXC,WAAW,EAAEC;EACf,CAAC;EAEDC,KAAK,EAAE;IACLC,QAAQ,EAAE,QAAQ;IAAE;IACpBC,WAAW,EAAE,QAAQ;IAAE;IACvBC,gBAAgB,EAAE,QAAQ;IAAE;IAC5BC,cAAc,EAAE,QAAQ;IAAE;IAC1BC,cAAc,EAAE,QAAQ;IAAE;IAC1BC,eAAe,EAAE,QAAQ;IAAE;IAC3BC,KAAK,EAAE,QAAQ;IAAE;IACjBC,QAAQ,EAAE,SAAS;IAAE;IACrBC,iBAAiB,EAAE,QAAQ;IAAE;IAC7BC,qBAAqB,EAAE,SAAS;IAAE;IAClCC,gBAAgB,EAAE,OAAO;IAAE;IAC3BC,gBAAgB,EAAE,SAAS;IAAE;IAC7BC,aAAa,EAAE,SA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F,KAAK,CAAC,6CAA6C,EAAEA,KAAK,CAAC;MAC9E,MAAMA,KAAK;IACb,CAAC,CAAC;EACJ,CAAC;EACD;AACF;AACA;AACA;AACA;EACE4C,cAAc,WAAAA,eAAChB,GAAG,EAAE;IAClB,IAAI,CAACA,GAAG,EAAE;MACR,OAAOpB,QAAA,CAAAC,OAAA,CAAQC,MAAM,CAAC,IAAIC,KAAK,CAAC,4BAA4B,CAAC,CAAC;IAChE;IAEA,OAAO,IAAI,CAAC1B,OAAO,CAAC;MAClBC,MAAM,EAAEC,qBAAU,CAACuD,GAAG;MACtBrD,GAAG,EAAEuC,GAAG;MACRlC,IAAI,EAAE;QACJiC,UAAU,EAAE/B,yBAAc,CAACyC,WAAW,CAACQ;MACzC;IACF,CAAC,CAAC,CAAC9C,KAAK,CAAC,UAACC,KAAK,EAAK;MAClBC,oBAAW,CAACC,MAAM,CAACF,KAAK,CAAC,8CAA8C,EAAEA,KAAK,CAAC;MAC/E,MAAMA,KAAK;IACb,CAAC,CAAC;EACJ,CAAC;EAAA8C,OAAA;AACH,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAvC,OAAA,GAEY5E,0BAA0B"}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Copyright (c) 2015-2023 Cisco Systems, Inc. See LICENSE file.
3
+ */
4
+ declare const SILanguage: any;
5
+ export default SILanguage;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
4
+ _Object$defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _webexCore = require("@webex/webex-core");
9
+ var _constants = require("../constants");
10
+ /*!
11
+ * Copyright (c) 2015-2023 Cisco Systems, Inc. See LICENSE file.
12
+ */
13
+
14
+ var SILanguage = _webexCore.WebexPlugin.extend({
15
+ idAttribute: 'languageName',
16
+ namespace: _constants.MEETINGS,
17
+ props: {
18
+ languageCode: 'number',
19
+ languageName: 'string'
20
+ },
21
+ version: "3.0.0-next.1"
22
+ });
23
+ var _default = exports.default = SILanguage;
24
+ //# sourceMappingURL=siLanguage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_webexCore","require","_constants","SILanguage","WebexPlugin","extend","idAttribute","namespace","MEETINGS","props","languageCode","languageName","version","_default","exports","default"],"sources":["siLanguage.ts"],"sourcesContent":["/*!\n * Copyright (c) 2015-2023 Cisco Systems, Inc. See LICENSE file.\n */\n\nimport {WebexPlugin} from '@webex/webex-core';\nimport {MEETINGS} from '../constants';\n\nconst SILanguage = WebexPlugin.extend({\n idAttribute: 'languageName',\n\n namespace: MEETINGS,\n props: {\n languageCode: 'number',\n languageName: 'string',\n },\n});\n\nexport default SILanguage;\n"],"mappings":";;;;;;;AAIA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AALA;AACA;AACA;;AAKA,IAAME,UAAU,GAAGC,sBAAW,CAACC,MAAM,CAAC;EACpCC,WAAW,EAAE,cAAc;EAE3BC,SAAS,EAAEC,mBAAQ;EACnBC,KAAK,EAAE;IACLC,YAAY,EAAE,QAAQ;IACtBC,YAAY,EAAE;EAChB,CAAC;EAAAC,OAAA;AACH,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEYZ,UAAU"}
@@ -12,9 +12,10 @@ _Object$defineProperty(exports, "__esModule", {
12
12
  });
13
13
  exports.default = void 0;
14
14
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/defineProperty"));
15
- var _isEqual2 = _interopRequireDefault(require("lodash/isEqual"));
16
- function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
17
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
15
+ var _lodash = require("lodash");
16
+ var _constants = require("../constants");
17
+ function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
18
19
  var ControlsUtils = {};
19
20
 
20
21
  /**
@@ -59,6 +60,42 @@ ControlsUtils.parse = function (controls) {
59
60
  if (controls && controls.video) {
60
61
  parsedControls.videoEnabled = controls.video.enabled;
61
62
  }
63
+ if (controls !== null && controls !== void 0 && controls.muteOnEntry) {
64
+ parsedControls.muteOnEntry = {
65
+ enabled: controls.muteOnEntry.enabled
66
+ };
67
+ }
68
+ if (controls !== null && controls !== void 0 && controls.shareControl) {
69
+ parsedControls.shareControl = {
70
+ control: controls.shareControl.control
71
+ };
72
+ }
73
+ if (controls !== null && controls !== void 0 && controls.disallowUnmute) {
74
+ parsedControls.disallowUnmute = {
75
+ enabled: controls.disallowUnmute.enabled
76
+ };
77
+ }
78
+ if (controls !== null && controls !== void 0 && controls.reactions) {
79
+ parsedControls.reactions = {
80
+ enabled: controls.reactions.enabled,
81
+ showDisplayNameWithReactions: controls.reactions.showDisplayNameWithReactions
82
+ };
83
+ }
84
+ if (controls !== null && controls !== void 0 && controls.viewTheParticipantList) {
85
+ parsedControls.viewTheParticipantList = {
86
+ enabled: controls.viewTheParticipantList.enabled
87
+ };
88
+ }
89
+ if (controls !== null && controls !== void 0 && controls.raiseHand) {
90
+ parsedControls.raiseHand = {
91
+ enabled: controls.raiseHand.enabled
92
+ };
93
+ }
94
+ if (controls !== null && controls !== void 0 && controls.video) {
95
+ parsedControls.video = {
96
+ enabled: controls.video.enabled
97
+ };
98
+ }
62
99
  return parsedControls;
63
100
  };
64
101
 
@@ -69,30 +106,39 @@ ControlsUtils.parse = function (controls) {
69
106
  * @returns {Object} combination of state plus the changes
70
107
  */
71
108
  ControlsUtils.getControls = function (oldControls, newControls) {
72
- var _previous$record, _previous$record2, _current$record, _previous$record3, _current$record2, _previous$record4, _current$record3, _previous$meetingCont, _current$meetingConta, _previous$transcribe, _current$transcribe, _previous$transcribe2, _current$transcribe2, _newControls$video;
109
+ var _current$muteOnEntry, _previous$muteOnEntry, _current$shareControl, _previous$shareContro, _current$disallowUnmu, _previous$disallowUnm, _current$reactions, _previous$reactions, _current$reactions2, _previous$reactions2, _current$viewTheParti, _previous$viewThePart, _current$raiseHand, _previous$raiseHand, _current$video, _previous$video, _previous$record, _previous$record2, _current$record, _previous$record3, _current$record2, _previous$record4, _current$record3, _previous$meetingCont, _current$meetingConta, _previous$transcribe, _current$transcribe, _previous$transcribe2, _current$transcribe2, _newControls$video;
73
110
  var previous = ControlsUtils.parse(oldControls);
74
111
  var current = ControlsUtils.parse(newControls);
75
112
  return {
76
113
  previous: previous,
77
114
  current: current,
78
115
  updates: {
79
- hasRecordingPausedChanged: (current === null || current === void 0 ? void 0 : current.record) && !(0, _isEqual2.default)(previous === null || previous === void 0 ? void 0 : (_previous$record = previous.record) === null || _previous$record === void 0 ? void 0 : _previous$record.paused, current.record.paused) && ((previous === null || previous === void 0 ? void 0 : (_previous$record2 = previous.record) === null || _previous$record2 === void 0 ? void 0 : _previous$record2.recording) || (current === null || current === void 0 ? void 0 : (_current$record = current.record) === null || _current$record === void 0 ? void 0 : _current$record.recording)),
116
+ hasMuteOnEntryChanged: (current === null || current === void 0 ? void 0 : (_current$muteOnEntry = current.muteOnEntry) === null || _current$muteOnEntry === void 0 ? void 0 : _current$muteOnEntry.enabled) !== (previous === null || previous === void 0 ? void 0 : (_previous$muteOnEntry = previous.muteOnEntry) === null || _previous$muteOnEntry === void 0 ? void 0 : _previous$muteOnEntry.enabled),
117
+ hasShareControlChanged: (current === null || current === void 0 ? void 0 : (_current$shareControl = current.shareControl) === null || _current$shareControl === void 0 ? void 0 : _current$shareControl.control) !== (previous === null || previous === void 0 ? void 0 : (_previous$shareContro = previous.shareControl) === null || _previous$shareContro === void 0 ? void 0 : _previous$shareContro.control),
118
+ hasDisallowUnmuteChanged: (current === null || current === void 0 ? void 0 : (_current$disallowUnmu = current.disallowUnmute) === null || _current$disallowUnmu === void 0 ? void 0 : _current$disallowUnmu.enabled) !== (previous === null || previous === void 0 ? void 0 : (_previous$disallowUnm = previous.disallowUnmute) === null || _previous$disallowUnm === void 0 ? void 0 : _previous$disallowUnm.enabled),
119
+ hasReactionsChanged: (current === null || current === void 0 ? void 0 : (_current$reactions = current.reactions) === null || _current$reactions === void 0 ? void 0 : _current$reactions.enabled) !== (previous === null || previous === void 0 ? void 0 : (_previous$reactions = previous.reactions) === null || _previous$reactions === void 0 ? void 0 : _previous$reactions.enabled),
120
+ hasReactionDisplayNamesChanged: (current === null || current === void 0 ? void 0 : (_current$reactions2 = current.reactions) === null || _current$reactions2 === void 0 ? void 0 : _current$reactions2.showDisplayNameWithReactions) !== (previous === null || previous === void 0 ? void 0 : (_previous$reactions2 = previous.reactions) === null || _previous$reactions2 === void 0 ? void 0 : _previous$reactions2.showDisplayNameWithReactions),
121
+ hasViewTheParticipantListChanged: (current === null || current === void 0 ? void 0 : (_current$viewTheParti = current.viewTheParticipantList) === null || _current$viewTheParti === void 0 ? void 0 : _current$viewTheParti.enabled) !== (previous === null || previous === void 0 ? void 0 : (_previous$viewThePart = previous.viewTheParticipantList) === null || _previous$viewThePart === void 0 ? void 0 : _previous$viewThePart.enabled),
122
+ hasRaiseHandChanged: (current === null || current === void 0 ? void 0 : (_current$raiseHand = current.raiseHand) === null || _current$raiseHand === void 0 ? void 0 : _current$raiseHand.enabled) !== (previous === null || previous === void 0 ? void 0 : (_previous$raiseHand = previous.raiseHand) === null || _previous$raiseHand === void 0 ? void 0 : _previous$raiseHand.enabled),
123
+ hasVideoChanged: (current === null || current === void 0 ? void 0 : (_current$video = current.video) === null || _current$video === void 0 ? void 0 : _current$video.enabled) !== (previous === null || previous === void 0 ? void 0 : (_previous$video = previous.video) === null || _previous$video === void 0 ? void 0 : _previous$video.enabled),
124
+ hasRecordingPausedChanged: (current === null || current === void 0 ? void 0 : current.record) && !(0, _lodash.isEqual)(previous === null || previous === void 0 ? void 0 : (_previous$record = previous.record) === null || _previous$record === void 0 ? void 0 : _previous$record.paused, current.record.paused) && ((previous === null || previous === void 0 ? void 0 : (_previous$record2 = previous.record) === null || _previous$record2 === void 0 ? void 0 : _previous$record2.recording) || (current === null || current === void 0 ? void 0 : (_current$record = current.record) === null || _current$record === void 0 ? void 0 : _current$record.recording)),
80
125
  // see comments directly below
81
126
 
82
- hasRecordingChanged: (current === null || current === void 0 ? void 0 : current.record) && !(0, _isEqual2.default)(previous === null || previous === void 0 ? void 0 : (_previous$record3 = previous.record) === null || _previous$record3 === void 0 ? void 0 : _previous$record3.recording, current === null || current === void 0 ? void 0 : (_current$record2 = current.record) === null || _current$record2 === void 0 ? void 0 : _current$record2.recording) && (
127
+ hasRecordingChanged: (current === null || current === void 0 ? void 0 : current.record) && !(0, _lodash.isEqual)(previous === null || previous === void 0 ? void 0 : (_previous$record3 = previous.record) === null || _previous$record3 === void 0 ? void 0 : _previous$record3.recording, current === null || current === void 0 ? void 0 : (_current$record2 = current.record) === null || _current$record2 === void 0 ? void 0 : _current$record2.recording) && (
83
128
  // upon first join, previous?.record?.recording = undefined; thus, never going to be equal and will always return true
84
129
  (previous === null || previous === void 0 ? void 0 : (_previous$record4 = previous.record) === null || _previous$record4 === void 0 ? void 0 : _previous$record4.recording) || (current === null || current === void 0 ? void 0 : (_current$record3 = current.record) === null || _current$record3 === void 0 ? void 0 : _current$record3.recording)),
85
130
  // therefore, condition added to prevent false firings of #meeting:recording:stopped upon first joining a meeting
86
131
 
87
- hasMeetingContainerChanged: (current === null || current === void 0 ? void 0 : current.meetingContainer) && !(0, _isEqual2.default)(previous === null || previous === void 0 ? void 0 : (_previous$meetingCont = previous.meetingContainer) === null || _previous$meetingCont === void 0 ? void 0 : _previous$meetingCont.meetingContainerUrl, current === null || current === void 0 ? void 0 : (_current$meetingConta = current.meetingContainer) === null || _current$meetingConta === void 0 ? void 0 : _current$meetingConta.meetingContainerUrl),
88
- hasTranscribeChanged: (current === null || current === void 0 ? void 0 : current.transcribe) && !(0, _isEqual2.default)(previous === null || previous === void 0 ? void 0 : (_previous$transcribe = previous.transcribe) === null || _previous$transcribe === void 0 ? void 0 : _previous$transcribe.transcribing, current === null || current === void 0 ? void 0 : (_current$transcribe = current.transcribe) === null || _current$transcribe === void 0 ? void 0 : _current$transcribe.transcribing) && (
132
+ hasMeetingContainerChanged: (current === null || current === void 0 ? void 0 : current.meetingContainer) && !(0, _lodash.isEqual)(previous === null || previous === void 0 ? void 0 : (_previous$meetingCont = previous.meetingContainer) === null || _previous$meetingCont === void 0 ? void 0 : _previous$meetingCont.meetingContainerUrl, current === null || current === void 0 ? void 0 : (_current$meetingConta = current.meetingContainer) === null || _current$meetingConta === void 0 ? void 0 : _current$meetingConta.meetingContainerUrl),
133
+ hasTranscribeChanged: (current === null || current === void 0 ? void 0 : current.transcribe) && !(0, _lodash.isEqual)(previous === null || previous === void 0 ? void 0 : (_previous$transcribe = previous.transcribe) === null || _previous$transcribe === void 0 ? void 0 : _previous$transcribe.transcribing, current === null || current === void 0 ? void 0 : (_current$transcribe = current.transcribe) === null || _current$transcribe === void 0 ? void 0 : _current$transcribe.transcribing) && (
89
134
  // upon first join, previous?.record?.recording = undefined; thus, never going to be equal and will always return true
90
135
  (previous === null || previous === void 0 ? void 0 : (_previous$transcribe2 = previous.transcribe) === null || _previous$transcribe2 === void 0 ? void 0 : _previous$transcribe2.transcribing) || (current === null || current === void 0 ? void 0 : (_current$transcribe2 = current.transcribe) === null || _current$transcribe2 === void 0 ? void 0 : _current$transcribe2.transcribing)),
91
136
  // therefore, condition added to prevent false firings of #meeting:recording:stopped upon first joining a meeting
92
137
 
93
- hasEntryExitToneChanged: !!(newControls.entryExitTone && !(0, _isEqual2.default)(previous === null || previous === void 0 ? void 0 : previous.entryExitTone, current === null || current === void 0 ? void 0 : current.entryExitTone) && (previous !== null && previous !== void 0 && previous.entryExitTone || current !== null && current !== void 0 && current.entryExitTone)),
94
- hasBreakoutChanged: !(0, _isEqual2.default)(previous === null || previous === void 0 ? void 0 : previous.breakout, current === null || current === void 0 ? void 0 : current.breakout),
95
- hasVideoEnabledChanged: ((_newControls$video = newControls.video) === null || _newControls$video === void 0 ? void 0 : _newControls$video.enabled) !== undefined && !(0, _isEqual2.default)(previous === null || previous === void 0 ? void 0 : previous.videoEnabled, current === null || current === void 0 ? void 0 : current.videoEnabled)
138
+ hasEntryExitToneChanged: !!(newControls.entryExitTone && !(0, _lodash.isEqual)(previous === null || previous === void 0 ? void 0 : previous.entryExitTone, current === null || current === void 0 ? void 0 : current.entryExitTone) && (previous !== null && previous !== void 0 && previous.entryExitTone || current !== null && current !== void 0 && current.entryExitTone)),
139
+ hasBreakoutChanged: !(0, _lodash.isEqual)(previous === null || previous === void 0 ? void 0 : previous.breakout, current === null || current === void 0 ? void 0 : current.breakout),
140
+ hasInterpretationChanged: !(0, _lodash.isEqual)(previous === null || previous === void 0 ? void 0 : previous.interpretation, current === null || current === void 0 ? void 0 : current.interpretation),
141
+ hasVideoEnabledChanged: ((_newControls$video = newControls.video) === null || _newControls$video === void 0 ? void 0 : _newControls$video.enabled) !== undefined && !(0, _lodash.isEqual)(previous === null || previous === void 0 ? void 0 : previous.videoEnabled, current === null || current === void 0 ? void 0 : current.videoEnabled)
96
142
  }
97
143
  };
98
144
  };
@@ -123,6 +169,29 @@ ControlsUtils.isNeedReplaceMembers = function (oldControls, controls) {
123
169
  }
124
170
  return oldControls.breakout.groupId !== controls.breakout.groupId || oldControls.breakout.sessionId !== controls.breakout.sessionId;
125
171
  };
126
- var _default = ControlsUtils;
127
- exports.default = _default;
172
+
173
+ /**
174
+ * determine the switch status between breakout session and main session.
175
+ * @param {LocusControls} oldControls
176
+ * @param {LocusControls} controls
177
+ * @returns {Object}
178
+ */
179
+ ControlsUtils.getSessionSwitchStatus = function (oldControls, controls) {
180
+ var status = {
181
+ isReturnToMain: false,
182
+ isJoinToBreakout: false
183
+ };
184
+ // no breakout case
185
+ if (!(oldControls !== null && oldControls !== void 0 && oldControls.breakout) || !(controls !== null && controls !== void 0 && controls.breakout)) {
186
+ return status;
187
+ }
188
+ status.isReturnToMain = oldControls.breakout.sessionType === _constants.BREAKOUTS.SESSION_TYPES.BREAKOUT && controls.breakout.sessionType === _constants.BREAKOUTS.SESSION_TYPES.MAIN;
189
+ status.isJoinToBreakout = oldControls.breakout.sessionType === _constants.BREAKOUTS.SESSION_TYPES.MAIN && controls.breakout.sessionType === _constants.BREAKOUTS.SESSION_TYPES.BREAKOUT;
190
+ return status;
191
+ };
192
+ ControlsUtils.isMainSessionDTO = function (locus) {
193
+ var _locus$controls, _locus$controls$break;
194
+ return (locus === null || locus === void 0 ? void 0 : (_locus$controls = locus.controls) === null || _locus$controls === void 0 ? void 0 : (_locus$controls$break = _locus$controls.breakout) === null || _locus$controls$break === void 0 ? void 0 : _locus$controls$break.sessionType) !== _constants.BREAKOUTS.SESSION_TYPES.BREAKOUT;
195
+ };
196
+ var _default = exports.default = ControlsUtils;
128
197
  //# sourceMappingURL=controlsUtils.js.map