@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
@@ -16,17 +16,19 @@ var _values = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/obj
16
16
  var _promise = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/promise"));
17
17
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/asyncToGenerator"));
18
18
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/defineProperty"));
19
- var _forEach2 = _interopRequireDefault(require("lodash/forEach"));
20
- var _debounce2 = _interopRequireDefault(require("lodash/debounce"));
21
19
  var _webexCore = require("@webex/webex-core");
20
+ var _lodash = require("lodash");
22
21
  var _loggerProxy = _interopRequireDefault(require("../common/logs/logger-proxy"));
23
22
  var _constants = require("../constants");
24
23
  var _breakout = _interopRequireDefault(require("./breakout"));
25
24
  var _collection = _interopRequireDefault(require("./collection"));
26
25
  var _request = _interopRequireDefault(require("./request"));
26
+ var _events = _interopRequireDefault(require("./events"));
27
27
  var _utils = require("./utils");
28
- 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; }
29
- 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; }
28
+ 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; }
29
+ 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; } /*!
30
+ * Copyright (c) 2015-2023 Cisco Systems, Inc. See LICENSE file.
31
+ */
30
32
  /**
31
33
  * @class Breakouts
32
34
  */
@@ -67,18 +69,23 @@ var Breakouts = _webexCore.WebexPlugin.extend({
67
69
  // the locus url of the main session
68
70
  groups: 'array',
69
71
  // appears when create breakouts
70
- shouldFetchPreassignments: 'boolean',
71
- // Controlling the lifecycle of the pre-assign API
72
+ manageGroups: 'array',
73
+ // appears when manage breakouts
74
+ preAssignments: 'array',
75
+ // appears when getPreAssignments info hasBreakoutPreAssignments = true
72
76
  editLock: 'object',
73
77
  // appears when getBreakout info editlock = true
74
78
  intervalID: 'number',
75
- meetingId: 'string'
79
+ meetingId: 'string',
80
+ canManageBreakouts: 'boolean' // appear the ability to manage breakouts
76
81
  },
82
+
77
83
  children: {
78
84
  currentBreakoutSession: _breakout.default
79
85
  },
80
86
  derived: {
81
87
  isInMainSession: {
88
+ cache: false,
82
89
  deps: ['sessionType'],
83
90
  /**
84
91
  * Returns true if the user is in the main session
@@ -89,6 +96,8 @@ var Breakouts = _webexCore.WebexPlugin.extend({
89
96
  }
90
97
  },
91
98
  isActiveBreakout: {
99
+ cache: false,
100
+ // fix issue: sometimes the derived will not change even if the deps changed
92
101
  deps: ['sessionType', 'status'],
93
102
  /**
94
103
  * Returns true if the breakout status is active
@@ -99,18 +108,42 @@ var Breakouts = _webexCore.WebexPlugin.extend({
99
108
  }
100
109
  },
101
110
  breakoutGroupId: {
102
- deps: ['groups'],
111
+ cache: false,
112
+ deps: ['manageGroups'],
103
113
  /**
104
- * Returns the actived group id
114
+ * Returns the active group id
105
115
  * @returns {boolean}
106
116
  */
107
117
  fn: function fn() {
108
- var _this$groups;
109
- if ((_this$groups = this.groups) !== null && _this$groups !== void 0 && _this$groups.length) {
110
- return this.groups[0].id;
118
+ var _this$manageGroups;
119
+ if ((_this$manageGroups = this.manageGroups) !== null && _this$manageGroups !== void 0 && _this$manageGroups.length) {
120
+ return this.manageGroups[0].status !== _constants.BREAKOUTS.STATUS.CLOSED ? this.manageGroups[0].id : '';
111
121
  }
112
122
  return '';
113
123
  }
124
+ },
125
+ breakoutStatus: {
126
+ cache: true,
127
+ deps: ['isInMainSession', 'status', 'groups'],
128
+ /**
129
+ * Returns the breakout status
130
+ * @returns {boolean}
131
+ */
132
+ fn: function fn() {
133
+ var _this$groups, _this$groups$;
134
+ return this.isInMainSession ? (_this$groups = this.groups) === null || _this$groups === void 0 ? void 0 : (_this$groups$ = _this$groups[0]) === null || _this$groups$ === void 0 ? void 0 : _this$groups$.status : this.status;
135
+ }
136
+ },
137
+ shouldQueryPreAssignments: {
138
+ cache: false,
139
+ deps: ['canManageBreakouts', 'enableBreakoutSession', 'hasBreakoutPreAssignments'],
140
+ /**
141
+ * Returns should query preAssignments or not
142
+ * @returns {boolean}
143
+ */
144
+ fn: function fn() {
145
+ return !!(this.canManageBreakouts && this.enableBreakoutSession && this.hasBreakoutPreAssignments);
146
+ }
114
147
  }
115
148
  },
116
149
  /**
@@ -119,20 +152,31 @@ var Breakouts = _webexCore.WebexPlugin.extend({
119
152
  */
120
153
  initialize: function initialize() {
121
154
  var _this = this;
122
- this.listenTo(this, 'change:status', function () {
123
- if (_this.status === _constants.BREAKOUTS.STATUS.CLOSING) {
155
+ this.listenTo(this, 'change:breakoutStatus', function () {
156
+ if (_this.breakoutStatus === _constants.BREAKOUTS.STATUS.CLOSING) {
124
157
  _this.trigger(_constants.BREAKOUTS.EVENTS.BREAKOUTS_CLOSING);
125
158
  }
126
159
  });
127
- this.debouncedQueryRosters = (0, _debounce2.default)(this.queryRosters, 10, {
160
+ this.listenTo(this, 'change:shouldQueryPreAssignments', function () {
161
+ if (_this.shouldQueryPreAssignments && !_this.preAssignments) {
162
+ _this.queryPreAssignments();
163
+ }
164
+ });
165
+ this.debouncedQueryRosters = (0, _lodash.debounce)(this.queryRosters, 10, {
128
166
  leading: true,
129
167
  trailing: false
130
168
  });
131
- this.listenTo(this.breakouts, 'add', function () {
169
+ this.listenTo(this.breakouts, 'add', function (breakout) {
132
170
  _this.debouncedQueryRosters();
171
+ _this.triggerReturnToMainEvent(breakout);
172
+ });
173
+ this.listenTo(this.breakouts, 'change:requestedLastModifiedTime', function (breakout) {
174
+ _this.triggerReturnToMainEvent(breakout);
133
175
  });
176
+ this.listenToCurrentSessionTypeChange();
134
177
  this.listenToBroadcastMessages();
135
178
  this.listenToBreakoutRosters();
179
+ this.listenToBreakoutHelp();
136
180
  // @ts-ignore
137
181
  this.breakoutRequest = new _request.default({
138
182
  webex: this.webex
@@ -158,6 +202,14 @@ var Breakouts = _webexCore.WebexPlugin.extend({
158
202
  this.set('mainLocusUrl', locusUrl);
159
203
  }
160
204
  },
205
+ /**
206
+ * Update whether self is moderator/cohost or not
207
+ * @param {boolean} canManageBreakouts
208
+ * @returns {void}
209
+ */
210
+ updateCanManageBreakouts: function updateCanManageBreakouts(canManageBreakouts) {
211
+ this.set('canManageBreakouts', canManageBreakouts);
212
+ },
161
213
  /**
162
214
  * Update the current breakout resource url
163
215
  * @param {string} breakoutServiceUrl
@@ -203,25 +255,37 @@ var Breakouts = _webexCore.WebexPlugin.extend({
203
255
  }
204
256
  session.parseRoster(locus);
205
257
  },
258
+ /**
259
+ *Sets up listener for currentBreakoutSession sessionType changed
260
+ * @returns {void}
261
+ */
262
+ listenToCurrentSessionTypeChange: function listenToCurrentSessionTypeChange() {
263
+ var _this3 = this;
264
+ this.listenTo(this.currentBreakoutSession, 'change:sessionType', function (currentBreakoutSession, sessionType) {
265
+ if ((0, _utils.isSessionTypeChangedFromSessionToMain)(currentBreakoutSession, sessionType)) {
266
+ _this3.trigger(_constants.BREAKOUTS.EVENTS.LEAVE_BREAKOUT);
267
+ }
268
+ });
269
+ },
206
270
  /**
207
271
  * Sets up listener for broadcast messages sent to the breakout session
208
272
  * @returns {void}
209
273
  */
210
274
  listenToBroadcastMessages: function listenToBroadcastMessages() {
211
- var _this3 = this;
275
+ var _this4 = this;
212
276
  this.listenTo(this.webex.internal.llm, 'event:breakout.message', function (event) {
213
277
  var _event$data = event.data,
214
278
  senderUserId = _event$data.senderUserId,
215
279
  sentTime = _event$data.sentTime,
216
280
  message = _event$data.message;
217
- _this3.trigger(_constants.BREAKOUTS.EVENTS.MESSAGE, {
281
+ _this4.trigger(_constants.BREAKOUTS.EVENTS.MESSAGE, {
218
282
  senderUserId: senderUserId,
219
283
  sentTime: sentTime,
220
284
  message: message,
221
285
  // FIXME: This is only the current sessionId
222
286
  // We'd need to check that the dataChannelUrl is still the same
223
287
  // to guarantee that this message was sent to this session
224
- sessionId: _this3.currentBreakoutSession.sessionId
288
+ sessionId: _this4.currentBreakoutSession.sessionId
225
289
  });
226
290
  });
227
291
  },
@@ -230,34 +294,77 @@ var Breakouts = _webexCore.WebexPlugin.extend({
230
294
  * @returns {void}
231
295
  */
232
296
  listenToBreakoutRosters: function listenToBreakoutRosters() {
233
- var _this4 = this;
297
+ var _this5 = this;
234
298
  this.listenTo(this.webex.internal.mercury, 'event:breakout.roster', function (event) {
235
- _this4.handleRosterUpdate(event.data.locus);
236
- _this4.trigger(_constants.BREAKOUTS.EVENTS.MEMBERS_UPDATE);
299
+ _this5.handleRosterUpdate(event.data.locus);
300
+ _this5.trigger(_constants.BREAKOUTS.EVENTS.MEMBERS_UPDATE);
237
301
  });
238
302
  },
303
+ /**
304
+ * Sets up a listener for ask help notify from mecury
305
+ * @returns {void}
306
+ */
307
+ listenToBreakoutHelp: function listenToBreakoutHelp() {
308
+ var _this6 = this;
309
+ this.listenTo(this.webex.internal.mercury, 'event:breakout.help', function (event) {
310
+ var _event$data2 = event.data,
311
+ participant = _event$data2.participant,
312
+ sessionId = _event$data2.sessionId;
313
+ _this6.trigger(_constants.BREAKOUTS.EVENTS.ASK_FOR_HELP, {
314
+ participant: participant,
315
+ sessionId: sessionId
316
+ });
317
+ });
318
+ },
319
+ /**
320
+ * get current breakout is in progress or not
321
+ * @returns {boolean}
322
+ */
323
+ isBreakoutInProgress: function isBreakoutInProgress() {
324
+ var _this$groups2, _this$groups2$;
325
+ var currentStatus = ((_this$groups2 = this.groups) === null || _this$groups2 === void 0 ? void 0 : (_this$groups2$ = _this$groups2[0]) === null || _this$groups2$ === void 0 ? void 0 : _this$groups2$.status) || this.status;
326
+ return currentStatus === _constants.BREAKOUTS.STATUS.OPEN || currentStatus === _constants.BREAKOUTS.STATUS.CLOSING;
327
+ },
328
+ /**
329
+ * get current breakout is in closing or not
330
+ * @returns {boolean}
331
+ */
332
+ isBreakoutIClosing: function isBreakoutIClosing() {
333
+ var _this$groups3, _this$groups3$;
334
+ return (((_this$groups3 = this.groups) === null || _this$groups3 === void 0 ? void 0 : (_this$groups3$ = _this$groups3[0]) === null || _this$groups3$ === void 0 ? void 0 : _this$groups3$.status) || this.status) === _constants.BREAKOUTS.STATUS.CLOSING;
335
+ },
239
336
  /**
240
337
  * Updates the information about the current breakout
241
338
  * @param {Object} params
242
339
  * @returns {void}
243
340
  */
244
341
  updateBreakout: function updateBreakout(params) {
245
- var _this$set;
246
- var preEnableBreakoutSession = this.get('enableBreakoutSession');
247
342
  this.set(params);
343
+ // These values are set manually so they are unset when they are not included in params
248
344
  this.set('groups', params.groups);
249
- this.set('currentBreakoutSession', (_this$set = {
345
+ this.set('startTime', params.startTime);
346
+ this.set('status', params.status);
347
+ this.set('currentBreakoutSession', (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
250
348
  sessionId: params.sessionId,
251
349
  groupId: params.groupId,
252
350
  name: params.name,
253
351
  current: true,
254
352
  sessionType: params.sessionType,
255
353
  url: params.url
256
- }, (0, _defineProperty2.default)(_this$set, _constants.BREAKOUTS.SESSION_STATES.ACTIVE, false), (0, _defineProperty2.default)(_this$set, _constants.BREAKOUTS.SESSION_STATES.ALLOWED, false), (0, _defineProperty2.default)(_this$set, _constants.BREAKOUTS.SESSION_STATES.ALLOWED, false), (0, _defineProperty2.default)(_this$set, _constants.BREAKOUTS.SESSION_STATES.ASSIGNED_CURRENT, false), (0, _defineProperty2.default)(_this$set, _constants.BREAKOUTS.SESSION_STATES.REQUESTED, false), _this$set));
257
-
258
- // We need to call queryPreAssignments when enableBreakoutSession become true
259
- if (params.enableBreakoutSession && params.hasBreakoutPreAssignments && preEnableBreakoutSession !== params.enableBreakoutSession) {
260
- this.queryPreAssignments();
354
+ }, _constants.BREAKOUTS.SESSION_STATES.ACTIVE, false), _constants.BREAKOUTS.SESSION_STATES.ALLOWED, false), _constants.BREAKOUTS.SESSION_STATES.ASSIGNED, false), _constants.BREAKOUTS.SESSION_STATES.ASSIGNED_CURRENT, false), _constants.BREAKOUTS.SESSION_STATES.REQUESTED, false));
355
+ if (!this.isBreakoutInProgress()) {
356
+ this.clearBreakouts();
357
+ }
358
+ if (this.currentBreakoutSession.previous('sessionId') !== this.currentBreakoutSession.sessionId || this.currentBreakoutSession.previous('groupId') !== this.currentBreakoutSession.groupId) {
359
+ // should report joined session changed
360
+ var meeting = this.webex.meetings.getMeetingByType(_constants._ID_, this.meetingId);
361
+ _events.default.onBreakoutJoinResponse({
362
+ currentSession: this.currentBreakoutSession,
363
+ meeting: meeting,
364
+ breakoutMoveId: params.breakoutMoveId
365
+ },
366
+ // @ts-ignore
367
+ this.webex.internal.newMetrics.submitClientEvent.bind(this.webex.internal.newMetrics));
261
368
  }
262
369
  },
263
370
  /**
@@ -266,11 +373,17 @@ var Breakouts = _webexCore.WebexPlugin.extend({
266
373
  * @returns {void}
267
374
  */
268
375
  updateBreakoutSessions: function updateBreakoutSessions(payload) {
269
- var _this5 = this;
376
+ var _this7 = this;
270
377
  var breakouts = {};
378
+ if (this.isBreakoutIClosing()) {
379
+ // fix issue: don't clear/update breakouts collection when in closing since locus DTO will send undefined or
380
+ // only the MAIN session info here, if just update it, will miss the breakout roster info during
381
+ // count down to end breakouts
382
+ return;
383
+ }
271
384
  if (payload.breakoutSessions) {
272
- (0, _forEach2.default)(_constants.BREAKOUTS.SESSION_STATES, function (state) {
273
- (0, _forEach2.default)(payload.breakoutSessions[state], function (breakout) {
385
+ (0, _lodash.forEach)(_constants.BREAKOUTS.SESSION_STATES, function (state) {
386
+ (0, _lodash.forEach)(payload.breakoutSessions[state], function (breakout) {
274
387
  var sessionId = breakout.sessionId;
275
388
  if (!breakouts[sessionId]) {
276
389
  breakouts[sessionId] = breakout;
@@ -281,15 +394,27 @@ var Breakouts = _webexCore.WebexPlugin.extend({
281
394
  breakouts[sessionId][_constants.BREAKOUTS.SESSION_STATES.REQUESTED] = false;
282
395
  }
283
396
  breakouts[sessionId][state] = true;
397
+ if (state === _constants.BREAKOUTS.SESSION_STATES.REQUESTED) {
398
+ breakouts[sessionId].requestedLastModifiedTime = breakout.modifiedAt;
399
+ }
284
400
  });
285
401
  });
286
402
  }
287
- (0, _forEach2.default)(breakouts, function (breakout) {
403
+ (0, _lodash.forEach)(breakouts, function (breakout) {
288
404
  // eslint-disable-next-line no-param-reassign
289
- breakout.url = _this5.url;
405
+ breakout.url = _this7.url;
290
406
  });
291
407
  this.breakouts.set((0, _values.default)(breakouts));
292
408
  },
409
+ /**
410
+ * clear breakouts collection
411
+ * @returns {void}
412
+ */
413
+ clearBreakouts: function clearBreakouts() {
414
+ if (this.breakouts.length > 0) {
415
+ this.breakouts.reset();
416
+ }
417
+ },
293
418
  /**
294
419
  * get main session
295
420
  * @returns {Breakout}
@@ -365,34 +490,34 @@ var Breakouts = _webexCore.WebexPlugin.extend({
365
490
  * @returns {Promise}
366
491
  */
367
492
  toggleBreakout: function toggleBreakout(enable) {
368
- var _this6 = this;
493
+ var _this8 = this;
369
494
  return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
370
495
  var info;
371
496
  return _regenerator.default.wrap(function _callee$(_context) {
372
497
  while (1) switch (_context.prev = _context.next) {
373
498
  case 0:
374
- if (!(_this6.enableBreakoutSession === undefined)) {
499
+ if (!(_this8.enableBreakoutSession === undefined)) {
375
500
  _context.next = 10;
376
501
  break;
377
502
  }
378
503
  _context.next = 3;
379
- return _this6.enableBreakouts();
504
+ return _this8.enableBreakouts();
380
505
  case 3:
381
506
  info = _context.sent;
507
+ // first time enable, set the initial data
508
+ _this8.updateBreakout(info === null || info === void 0 ? void 0 : info.body);
382
509
  if (enable) {
383
510
  _context.next = 8;
384
511
  break;
385
512
  }
386
- // if enable is false, updateBreakout set the param then set enableBreakoutSession as false
387
- _this6.updateBreakout(info.body);
388
513
  _context.next = 8;
389
- return _this6.doToggleBreakout(enable);
514
+ return _this8.doToggleBreakout(enable);
390
515
  case 8:
391
516
  _context.next = 12;
392
517
  break;
393
518
  case 10:
394
519
  _context.next = 12;
395
- return _this6.doToggleBreakout(enable);
520
+ return _this8.doToggleBreakout(enable);
396
521
  case 12:
397
522
  case "end":
398
523
  return _context.stop();
@@ -421,46 +546,53 @@ var Breakouts = _webexCore.WebexPlugin.extend({
421
546
  body: body
422
547
  });
423
548
  },
549
+ /**
550
+ * set groups to manageGroups prop
551
+ * @param {Object} breakoutInfo -- breakout groups
552
+ * @returns {void}
553
+ */
554
+ _setManageGroups: function _setManageGroups(breakoutInfo) {
555
+ var _breakoutInfo$body;
556
+ if (breakoutInfo !== null && breakoutInfo !== void 0 && (_breakoutInfo$body = breakoutInfo.body) !== null && _breakoutInfo$body !== void 0 && _breakoutInfo$body.groups) {
557
+ this.set('manageGroups', breakoutInfo.body.groups);
558
+ }
559
+ },
424
560
  /**
425
561
  * Create new breakout sessions
426
- * @param {object} sessions -- breakout session group
562
+ * @param {object} params -- breakout session group
427
563
  * @returns {Promise}
428
564
  */
429
- create: function create(sessions) {
430
- var _this7 = this;
565
+ create: function create(params) {
566
+ var _this9 = this;
431
567
  return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
432
- var _breakInfo$body;
433
- var body, breakInfo;
568
+ var payload, body, breakoutInfo;
434
569
  return _regenerator.default.wrap(function _callee2$(_context2) {
435
570
  while (1) switch (_context2.prev = _context2.next) {
436
571
  case 0:
437
- body = _objectSpread(_objectSpread({}, _this7.editLock && !!_this7.editLock.token ? {
572
+ payload = _objectSpread({}, params);
573
+ body = _objectSpread(_objectSpread({}, _this9.editLock && !!_this9.editLock.token ? {
438
574
  editlock: {
439
- token: _this7.editLock.token
575
+ token: _this9.editLock.token
440
576
  }
441
577
  } : {}), {
442
- groups: [{
443
- sessions: sessions
444
- }]
578
+ groups: [payload]
445
579
  }); // @ts-ignore
446
- _context2.next = 3;
447
- return _this7.webex.request({
580
+ _context2.next = 4;
581
+ return _this9.webex.request({
448
582
  method: _constants.HTTP_VERBS.PUT,
449
- uri: _this7.url,
583
+ uri: _this9.url,
450
584
  body: body
451
585
  }).catch(function (error) {
452
586
  return _promise.default.reject((0, _utils.boServiceErrorHandler)(error, 'Breakouts#create'));
453
587
  });
454
- case 3:
455
- breakInfo = _context2.sent;
456
- if ((_breakInfo$body = breakInfo.body) !== null && _breakInfo$body !== void 0 && _breakInfo$body.groups) {
457
- _this7.set('groups', breakInfo.body.groups);
458
- }
588
+ case 4:
589
+ breakoutInfo = _context2.sent;
590
+ _this9._setManageGroups(breakoutInfo);
459
591
 
460
592
  // clear edit lock info after save breakout session info
461
- _this7._clearEditLockInfo();
462
- return _context2.abrupt("return", _promise.default.resolve(breakInfo));
463
- case 7:
593
+ _this9._clearEditLockInfo();
594
+ return _context2.abrupt("return", breakoutInfo);
595
+ case 8:
464
596
  case "end":
465
597
  return _context2.stop();
466
598
  }
@@ -472,16 +604,15 @@ var Breakouts = _webexCore.WebexPlugin.extend({
472
604
  * @returns {Promise}
473
605
  */
474
606
  clearSessions: function clearSessions() {
475
- var _this8 = this;
607
+ var _this10 = this;
476
608
  return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
477
- var _breakInfo$body2;
478
- var body, breakInfo;
609
+ var body, breakoutInfo;
479
610
  return _regenerator.default.wrap(function _callee3$(_context3) {
480
611
  while (1) switch (_context3.prev = _context3.next) {
481
612
  case 0:
482
- body = _objectSpread(_objectSpread({}, _this8.editLock && !!_this8.editLock.token ? {
613
+ body = _objectSpread(_objectSpread({}, _this10.editLock && !!_this10.editLock.token ? {
483
614
  editlock: {
484
- token: _this8.editLock.token
615
+ token: _this10.editLock.token
485
616
  }
486
617
  } : {}), {
487
618
  groups: [{
@@ -489,21 +620,18 @@ var Breakouts = _webexCore.WebexPlugin.extend({
489
620
  }]
490
621
  }); // @ts-ignore
491
622
  _context3.next = 3;
492
- return _this8.webex.request({
623
+ return _this10.webex.request({
493
624
  method: _constants.HTTP_VERBS.PUT,
494
- uri: _this8.url,
625
+ uri: _this10.url,
495
626
  body: body
496
627
  }).catch(function (error) {
497
628
  return _promise.default.reject((0, _utils.boServiceErrorHandler)(error, 'Breakouts#clearSessions'));
498
629
  });
499
630
  case 3:
500
- breakInfo = _context3.sent;
501
- if ((_breakInfo$body2 = breakInfo.body) !== null && _breakInfo$body2 !== void 0 && _breakInfo$body2.groups) {
502
- _this8.set('groups', breakInfo.body.groups);
503
- }
504
- _this8.shouldFetchPreassignments = false;
505
- return _context3.abrupt("return", _promise.default.resolve(breakInfo));
506
- case 7:
631
+ breakoutInfo = _context3.sent;
632
+ _this10._setManageGroups(breakoutInfo);
633
+ return _context3.abrupt("return", breakoutInfo);
634
+ case 6:
507
635
  case "end":
508
636
  return _context3.stop();
509
637
  }
@@ -516,30 +644,47 @@ var Breakouts = _webexCore.WebexPlugin.extend({
516
644
  * @returns {Promise}
517
645
  */
518
646
  start: function start() {
519
- var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
520
- var action = _constants.BREAKOUTS.ACTION.START;
521
- var payload = _objectSpread({
522
- id: this.breakoutGroupId,
523
- action: action,
524
- allowBackToMain: false,
525
- allowToJoinLater: false,
526
- duration: _constants.BREAKOUTS.DEFAULT_DURATION
527
- }, params);
528
- var body = _objectSpread(_objectSpread({}, this.editLock && !!this.editLock.token ? {
529
- editlock: {
530
- token: this.editLock.token,
531
- refresh: true
532
- }
533
- } : {}), {
534
- groups: [payload]
535
- });
536
- return this.request({
537
- method: _constants.HTTP_VERBS.PUT,
538
- uri: this.url,
539
- body: body
540
- }).catch(function (error) {
541
- return _promise.default.reject((0, _utils.boServiceErrorHandler)(error, 'Breakouts#start'));
542
- });
647
+ var _arguments = arguments,
648
+ _this11 = this;
649
+ return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
650
+ var params, action, payload, body, breakoutInfo;
651
+ return _regenerator.default.wrap(function _callee4$(_context4) {
652
+ while (1) switch (_context4.prev = _context4.next) {
653
+ case 0:
654
+ params = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : {};
655
+ action = _constants.BREAKOUTS.ACTION.START;
656
+ payload = _objectSpread({
657
+ id: _this11.breakoutGroupId,
658
+ action: action,
659
+ allowBackToMain: false,
660
+ allowToJoinLater: false
661
+ }, params);
662
+ body = _objectSpread(_objectSpread({}, _this11.editLock && !!_this11.editLock.token ? {
663
+ editlock: {
664
+ token: _this11.editLock.token,
665
+ refresh: true
666
+ }
667
+ } : {}), {
668
+ groups: [payload]
669
+ });
670
+ _context4.next = 6;
671
+ return _this11.request({
672
+ method: _constants.HTTP_VERBS.PUT,
673
+ uri: _this11.url,
674
+ body: body
675
+ }).catch(function (error) {
676
+ return _promise.default.reject((0, _utils.boServiceErrorHandler)(error, 'Breakouts#start'));
677
+ });
678
+ case 6:
679
+ breakoutInfo = _context4.sent;
680
+ _this11._setManageGroups(breakoutInfo);
681
+ return _context4.abrupt("return", breakoutInfo);
682
+ case 9:
683
+ case "end":
684
+ return _context4.stop();
685
+ }
686
+ }, _callee4);
687
+ }))();
543
688
  },
544
689
  /**
545
690
  * Host or cohost ends breakout sessions
@@ -547,58 +692,99 @@ var Breakouts = _webexCore.WebexPlugin.extend({
547
692
  * @returns {Promise}
548
693
  */
549
694
  end: function end() {
550
- var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
551
- var delayCloseTime = this.delayCloseTime,
552
- id = this.breakoutGroupId;
553
- var action = _constants.BREAKOUTS.ACTION.CLOSE;
554
- var payload = _objectSpread({
555
- id: id,
556
- action: action,
557
- delayCloseTime: delayCloseTime
558
- }, params);
559
- var body = _objectSpread(_objectSpread({}, this.editLock && !!this.editLock.token ? {
560
- editlock: {
561
- token: this.editLock.token,
562
- refresh: true
563
- }
564
- } : {}), {
565
- groups: [payload]
566
- });
567
- return this.request({
568
- method: _constants.HTTP_VERBS.PUT,
569
- uri: this.url,
570
- body: body
571
- }).catch(function (error) {
572
- return _promise.default.reject((0, _utils.boServiceErrorHandler)(error, 'Breakouts#end'));
573
- });
695
+ var _arguments2 = arguments,
696
+ _this12 = this;
697
+ return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
698
+ var params, delayCloseTime, id, action, payload, body, breakoutInfo;
699
+ return _regenerator.default.wrap(function _callee5$(_context5) {
700
+ while (1) switch (_context5.prev = _context5.next) {
701
+ case 0:
702
+ params = _arguments2.length > 0 && _arguments2[0] !== undefined ? _arguments2[0] : {};
703
+ delayCloseTime = _this12.delayCloseTime, id = _this12.breakoutGroupId;
704
+ action = _constants.BREAKOUTS.ACTION.CLOSE;
705
+ payload = _objectSpread({
706
+ id: id,
707
+ action: action,
708
+ delayCloseTime: delayCloseTime
709
+ }, params);
710
+ body = _objectSpread(_objectSpread({}, _this12.editLock && !!_this12.editLock.token ? {
711
+ editlock: {
712
+ token: _this12.editLock.token,
713
+ refresh: true
714
+ }
715
+ } : {}), {
716
+ groups: [payload]
717
+ });
718
+ _context5.next = 7;
719
+ return _this12.request({
720
+ method: _constants.HTTP_VERBS.PUT,
721
+ uri: _this12.url,
722
+ body: body
723
+ }).catch(function (error) {
724
+ return _promise.default.reject((0, _utils.boServiceErrorHandler)(error, 'Breakouts#end'));
725
+ });
726
+ case 7:
727
+ breakoutInfo = _context5.sent;
728
+ _this12._setManageGroups(breakoutInfo);
729
+ return _context5.abrupt("return", breakoutInfo);
730
+ case 10:
731
+ case "end":
732
+ return _context5.stop();
733
+ }
734
+ }, _callee5);
735
+ }))();
574
736
  },
575
737
  /**
576
738
  * Host or cohost update breakout sessions
577
739
  * @param {Object} params
578
740
  * @param {String} params.id
741
+ * @param {Boolean} unlockEdit
579
742
  * @returns {Promise}
580
743
  */
581
- update: function update(params) {
582
- var _this$editLock;
583
- if (!params.id) {
584
- return _promise.default.reject(new Error('Missing breakout group id'));
585
- }
586
- var payload = _objectSpread({}, params);
587
- var body = _objectSpread(_objectSpread({}, (_this$editLock = this.editLock) !== null && _this$editLock !== void 0 && _this$editLock.token ? {
588
- editlock: {
589
- token: this.editLock.token,
590
- refresh: true
591
- }
592
- } : {}), {
593
- groups: [payload]
594
- });
595
- return this.request({
596
- method: _constants.HTTP_VERBS.PUT,
597
- uri: this.url,
598
- body: body
599
- }).catch(function (error) {
600
- return _promise.default.reject((0, _utils.boServiceErrorHandler)(error, 'Breakouts#update'));
601
- });
744
+ update: function update(params, unlockEdit) {
745
+ var _this13 = this;
746
+ return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
747
+ var _this13$editLock;
748
+ var payload, body, breakoutInfo;
749
+ return _regenerator.default.wrap(function _callee6$(_context6) {
750
+ while (1) switch (_context6.prev = _context6.next) {
751
+ case 0:
752
+ if (params.id) {
753
+ _context6.next = 2;
754
+ break;
755
+ }
756
+ return _context6.abrupt("return", _promise.default.reject(new Error('Missing breakout group id')));
757
+ case 2:
758
+ payload = _objectSpread({}, params);
759
+ body = _objectSpread(_objectSpread({}, (_this13$editLock = _this13.editLock) !== null && _this13$editLock !== void 0 && _this13$editLock.token ? {
760
+ editlock: {
761
+ token: _this13.editLock.token,
762
+ refresh: !unlockEdit
763
+ }
764
+ } : {}), {
765
+ groups: [payload]
766
+ });
767
+ _context6.next = 6;
768
+ return _this13.request({
769
+ method: _constants.HTTP_VERBS.PUT,
770
+ uri: _this13.url,
771
+ body: body
772
+ }).catch(function (error) {
773
+ return _promise.default.reject((0, _utils.boServiceErrorHandler)(error, 'Breakouts#update'));
774
+ });
775
+ case 6:
776
+ breakoutInfo = _context6.sent;
777
+ if (unlockEdit) {
778
+ _this13._clearEditLockInfo();
779
+ }
780
+ _this13._setManageGroups(breakoutInfo);
781
+ return _context6.abrupt("return", breakoutInfo);
782
+ case 10:
783
+ case "end":
784
+ return _context6.stop();
785
+ }
786
+ }, _callee6);
787
+ }))();
602
788
  },
603
789
  /**
604
790
  * get existed breakout sessions
@@ -606,33 +792,31 @@ var Breakouts = _webexCore.WebexPlugin.extend({
606
792
  * @returns {Promise}
607
793
  */
608
794
  getBreakout: function getBreakout(editlock) {
609
- var _this9 = this;
610
- return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
611
- var _breakout$body, _breakout$body2, _breakout$body2$editl;
795
+ var _this14 = this;
796
+ return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
797
+ var _breakout$body, _breakout$body$editlo;
612
798
  var breakout;
613
- return _regenerator.default.wrap(function _callee4$(_context4) {
614
- while (1) switch (_context4.prev = _context4.next) {
799
+ return _regenerator.default.wrap(function _callee7$(_context7) {
800
+ while (1) switch (_context7.prev = _context7.next) {
615
801
  case 0:
616
- _context4.next = 2;
617
- return _this9.request({
802
+ _context7.next = 2;
803
+ return _this14.request({
618
804
  method: _constants.HTTP_VERBS.GET,
619
- uri: _this9.url + (editlock ? "?editlock=".concat(editlock) : '')
805
+ uri: _this14.url + (editlock ? "?editlock=".concat(editlock) : '')
620
806
  });
621
807
  case 2:
622
- breakout = _context4.sent;
623
- if ((_breakout$body = breakout.body) !== null && _breakout$body !== void 0 && _breakout$body.groups) {
624
- _this9.set('groups', breakout.body.groups);
625
- }
626
- if (editlock && (_breakout$body2 = breakout.body) !== null && _breakout$body2 !== void 0 && (_breakout$body2$editl = _breakout$body2.editlock) !== null && _breakout$body2$editl !== void 0 && _breakout$body2$editl.token) {
627
- _this9.set('editLock', breakout.body.editlock);
628
- _this9.keepEditLockAlive();
808
+ breakout = _context7.sent;
809
+ _this14._setManageGroups(breakout);
810
+ if (editlock && (_breakout$body = breakout.body) !== null && _breakout$body !== void 0 && (_breakout$body$editlo = _breakout$body.editlock) !== null && _breakout$body$editlo !== void 0 && _breakout$body$editlo.token) {
811
+ _this14.set('editLock', breakout.body.editlock);
812
+ _this14.keepEditLockAlive();
629
813
  }
630
- return _context4.abrupt("return", breakout);
814
+ return _context7.abrupt("return", breakout);
631
815
  case 6:
632
816
  case "end":
633
- return _context4.stop();
817
+ return _context7.stop();
634
818
  }
635
- }, _callee4);
819
+ }, _callee7);
636
820
  }))();
637
821
  },
638
822
  /**
@@ -640,72 +824,79 @@ var Breakouts = _webexCore.WebexPlugin.extend({
640
824
  * @returns {void}
641
825
  */
642
826
  enableAndLockBreakout: function enableAndLockBreakout() {
643
- var _this10 = this;
644
- return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
827
+ var _this15 = this;
828
+ return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
645
829
  var info;
646
- return _regenerator.default.wrap(function _callee5$(_context5) {
647
- while (1) switch (_context5.prev = _context5.next) {
830
+ return _regenerator.default.wrap(function _callee8$(_context8) {
831
+ while (1) switch (_context8.prev = _context8.next) {
648
832
  case 0:
649
- if (!_this10.enableBreakoutSession) {
650
- _context5.next = 4;
833
+ if (!_this15.enableBreakoutSession) {
834
+ _context8.next = 4;
651
835
  break;
652
836
  }
653
- _this10.lockBreakout();
654
- _context5.next = 8;
837
+ _this15.lockBreakout();
838
+ _context8.next = 8;
655
839
  break;
656
840
  case 4:
657
- _context5.next = 6;
658
- return _this10.enableBreakouts();
841
+ _context8.next = 6;
842
+ return _this15.enableBreakouts();
659
843
  case 6:
660
- info = _context5.sent;
844
+ info = _context8.sent;
661
845
  if (info.body) {
662
- _this10.lockBreakout();
846
+ _this15.lockBreakout();
663
847
  }
664
848
  case 8:
665
849
  case "end":
666
- return _context5.stop();
850
+ return _context8.stop();
667
851
  }
668
- }, _callee5);
852
+ }, _callee8);
669
853
  }))();
670
854
  },
855
+ /**
856
+ * breakout edit locked by yourself or not
857
+ * @returns {boolean}
858
+ */
859
+ hasBreakoutLocked: function hasBreakoutLocked() {
860
+ return this.editLock && this.editLock.token && this.editLock.state === _constants.BREAKOUTS.EDIT_LOCK_STATUS.LOCKED;
861
+ },
671
862
  /**
672
863
  * send breakout edit lock
673
864
  * @returns {void}
674
865
  */
675
866
  lockBreakout: function lockBreakout() {
676
- var _this11 = this;
677
- return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
678
- var _breakout$body3, breakout;
679
- return _regenerator.default.wrap(function _callee6$(_context6) {
680
- while (1) switch (_context6.prev = _context6.next) {
867
+ var _this16 = this;
868
+ return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {
869
+ var _breakout$body2, breakout;
870
+ return _regenerator.default.wrap(function _callee9$(_context9) {
871
+ while (1) switch (_context9.prev = _context9.next) {
681
872
  case 0:
682
- if (!(_this11.editLock && !!_this11.editLock.token)) {
683
- _context6.next = 8;
873
+ if (!(_this16.editLock && !!_this16.editLock.token)) {
874
+ _context9.next = 8;
684
875
  break;
685
876
  }
686
- if (!(_this11.editLock.state === _constants.BREAKOUTS.EDIT_LOCK_STATUS.LOCKED)) {
687
- _context6.next = 5;
877
+ if (!(_this16.editLock.state === _constants.BREAKOUTS.EDIT_LOCK_STATUS.LOCKED)) {
878
+ _context9.next = 5;
688
879
  break;
689
880
  }
690
881
  throw new Error('Breakout already locked');
691
882
  case 5:
692
- _this11.keepEditLockAlive();
883
+ _this16.keepEditLockAlive();
693
884
  case 6:
694
- _context6.next = 12;
885
+ _context9.next = 12;
695
886
  break;
696
887
  case 8:
697
- _context6.next = 10;
698
- return _this11.getBreakout(true);
888
+ _context9.next = 10;
889
+ return _this16.getBreakout(true);
699
890
  case 10:
700
- breakout = _context6.sent;
701
- if ((_breakout$body3 = breakout.body) !== null && _breakout$body3 !== void 0 && _breakout$body3.editlock) {
702
- _this11.keepEditLockAlive();
891
+ breakout = _context9.sent;
892
+ if ((_breakout$body2 = breakout.body) !== null && _breakout$body2 !== void 0 && _breakout$body2.editlock) {
893
+ _this16.keepEditLockAlive();
703
894
  }
704
895
  case 12:
705
896
  case "end":
706
- return _context6.stop();
897
+ return _context9.stop();
707
898
  }
708
- }, _callee6);
899
+ }, _callee9);
709
900
  }))();
710
901
  },
711
902
  /**
@@ -713,18 +904,18 @@ var Breakouts = _webexCore.WebexPlugin.extend({
713
904
  * @returns {void}
714
905
  */
715
906
  keepEditLockAlive: function keepEditLockAlive() {
716
- var _this12 = this;
907
+ var _this17 = this;
717
908
  if (this.editLock && !!this.editLock.token) {
718
909
  var ttl = this.editLock.ttl < 30 ? _constants.BREAKOUTS.DEFAULT_TTL : this.editLock.ttl;
719
910
  if (this.intervalID) {
720
911
  window.clearInterval(this.intervalID);
721
912
  }
722
913
  this.intervalID = window.setInterval(function () {
723
- _this12.request({
914
+ _this17.request({
724
915
  method: _constants.HTTP_VERBS.PUT,
725
- uri: "".concat(_this12.url, "/editlock/").concat(_this12.editLock.token)
916
+ uri: "".concat(_this17.url, "/editlock/").concat(_this17.editLock.token)
726
917
  }).catch(function (error) {
727
- _this12._clearEditLockInfo();
918
+ _this17._clearEditLockInfo();
728
919
  return _promise.default.reject((0, _utils.boServiceErrorHandler)(error, 'Breakouts#keepEditLockAlive'));
729
920
  });
730
921
  }, ttl / 2 * 1000);
@@ -735,13 +926,13 @@ var Breakouts = _webexCore.WebexPlugin.extend({
735
926
  * @returns {void}
736
927
  */
737
928
  unLockEditBreakout: function unLockEditBreakout() {
738
- var _this13 = this;
929
+ var _this18 = this;
739
930
  if (this.editLock && !!this.editLock.token) {
740
931
  this.request({
741
932
  method: _constants.HTTP_VERBS.DELETE,
742
933
  uri: "".concat(this.url, "/editlock/").concat(this.editLock.token)
743
934
  }).then(function () {
744
- _this13._clearEditLockInfo();
935
+ _this18._clearEditLockInfo();
745
936
  }).catch(function (error) {
746
937
  return _promise.default.reject((0, _utils.boServiceErrorHandler)(error, 'Breakouts#unLockEditBreakout'));
747
938
  });
@@ -772,39 +963,43 @@ var Breakouts = _webexCore.WebexPlugin.extend({
772
963
  anyoneCanJoin: !!item.anyone
773
964
  };
774
965
  });
966
+ var body = _objectSpread(_objectSpread({}, this.editLock && !!this.editLock.token ? {
967
+ editlock: {
968
+ token: this.editLock.token,
969
+ refresh: true
970
+ }
971
+ } : {}), {
972
+ groups: [{
973
+ id: this.breakoutGroupId,
974
+ sessions: internalSessions
975
+ }]
976
+ });
775
977
  return this.request({
776
978
  method: _constants.HTTP_VERBS.PUT,
777
979
  uri: this.url,
778
- body: {
779
- groups: [{
780
- id: this.breakoutGroupId,
781
- sessions: internalSessions
782
- }]
783
- }
980
+ body: body
784
981
  });
785
982
  },
786
983
  /**
787
- * The pre-assignments need to be queried when "hasBreakoutPreAssignments" is true
984
+ * query preAssignments
788
985
  * @returns {void}
789
986
  */
790
987
  queryPreAssignments: function queryPreAssignments() {
791
- var _this14 = this;
792
- if (!this.shouldFetchPreassignments) {
793
- this.webex.request({
794
- uri: "".concat(this.url, "/preassignments"),
795
- qs: {
796
- locusUrl: btoa(this.locusUrl)
797
- }
798
- }).then(function (result) {
799
- var _result$body;
800
- if ((_result$body = result.body) !== null && _result$body !== void 0 && _result$body.groups) {
801
- _this14.set('groups', result.body.groups);
802
- }
803
- }).catch(function (error) {
804
- _loggerProxy.default.logger.error('Meeting:breakouts#queryPreAssignments failed', error);
805
- });
806
- this.shouldFetchPreassignments = true;
807
- }
988
+ var _this19 = this;
989
+ this.webex.request({
990
+ uri: "".concat(this.url, "/preassignments"),
991
+ qs: {
992
+ locusUrl: btoa(this.locusUrl)
993
+ }
994
+ }).then(function (result) {
995
+ var _result$body;
996
+ if ((_result$body = result.body) !== null && _result$body !== void 0 && _result$body.groups) {
997
+ _this19.set('preAssignments', result.body.groups);
998
+ _this19.trigger(_constants.BREAKOUTS.EVENTS.PRE_ASSIGNMENTS_UPDATE);
999
+ }
1000
+ }).catch(function (error) {
1001
+ _loggerProxy.default.logger.error('Meeting:breakouts#queryPreAssignments failed', error);
1002
+ });
808
1003
  },
809
1004
  /**
810
1005
  * assign participants dynamically after breakout sessions started,
@@ -836,8 +1031,17 @@ var Breakouts = _webexCore.WebexPlugin.extend({
836
1031
  body: body
837
1032
  });
838
1033
  },
839
- version: "3.0.0-bnr.4"
1034
+ /**
1035
+ * trigger ASK_RETURN_TO_MAIN event when main session requested
1036
+ * @param {Object} breakout
1037
+ * @returns {void}
1038
+ */
1039
+ triggerReturnToMainEvent: function triggerReturnToMainEvent(breakout) {
1040
+ if (breakout.isMain && breakout.requested) {
1041
+ this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
1042
+ }
1043
+ },
1044
+ version: "3.0.0-next.1"
840
1045
  });
841
- var _default = Breakouts;
842
- exports.default = _default;
1046
+ var _default = exports.default = Breakouts;
843
1047
  //# sourceMappingURL=index.js.map