@ale-rainbow/web-sdk 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (556) hide show
  1. package/README.md +44 -0
  2. package/lib/index.d.ts +8 -0
  3. package/lib/index.d.ts.map +1 -0
  4. package/lib/index.js +501 -0
  5. package/lib/index.js.map +7 -0
  6. package/lib/libs/index.d.ts +3 -0
  7. package/lib/libs/index.d.ts.map +1 -0
  8. package/lib/libs/strophe/strophe-plugin.d.ts +13 -0
  9. package/lib/libs/strophe/strophe-plugin.d.ts.map +1 -0
  10. package/lib/libs/strophe/strophe.jingle.d.ts +35 -0
  11. package/lib/libs/strophe/strophe.jingle.d.ts.map +1 -0
  12. package/lib/libs/strophe/strophe.jingle.sdp.d.ts +44 -0
  13. package/lib/libs/strophe/strophe.jingle.sdp.d.ts.map +1 -0
  14. package/lib/libs/strophe/strophe.jingle.session.d.ts +624 -0
  15. package/lib/libs/strophe/strophe.jingle.session.d.ts.map +1 -0
  16. package/lib/libs/strophe/strophe.jingle.session.stats.d.ts +791 -0
  17. package/lib/libs/strophe/strophe.jingle.session.stats.d.ts.map +1 -0
  18. package/lib/libs/strophe/strophe.lastactivity.d.ts +9 -0
  19. package/lib/libs/strophe/strophe.lastactivity.d.ts.map +1 -0
  20. package/lib/libs/strophe/strophe.mam.d.ts +11 -0
  21. package/lib/libs/strophe/strophe.mam.d.ts.map +1 -0
  22. package/lib/libs/strophe/strophe.ping.d.ts +39 -0
  23. package/lib/libs/strophe/strophe.ping.d.ts.map +1 -0
  24. package/lib/libs/strophe/strophe.rsm.d.ts +24 -0
  25. package/lib/libs/strophe/strophe.rsm.d.ts.map +1 -0
  26. package/lib/libs/strophe/types.d.ts +23 -0
  27. package/lib/libs/strophe/types.d.ts.map +1 -0
  28. package/lib/models/authSettings.model.d.ts +38 -0
  29. package/lib/models/authSettings.model.d.ts.map +1 -0
  30. package/lib/models/bubble.model.d.ts +1114 -0
  31. package/lib/models/bubble.model.d.ts.map +1 -0
  32. package/lib/models/bubbleConferenceRecap.model.d.ts +532 -0
  33. package/lib/models/bubbleConferenceRecap.model.d.ts.map +1 -0
  34. package/lib/models/call.model.d.ts +1271 -0
  35. package/lib/models/call.model.d.ts.map +1 -0
  36. package/lib/models/callLog.model.d.ts +361 -0
  37. package/lib/models/callLog.model.d.ts.map +1 -0
  38. package/lib/models/channel.model.d.ts +692 -0
  39. package/lib/models/channel.model.d.ts.map +1 -0
  40. package/lib/models/channelMessage.model.d.ts +300 -0
  41. package/lib/models/channelMessage.model.d.ts.map +1 -0
  42. package/lib/models/cli.model.d.ts +59 -0
  43. package/lib/models/cli.model.d.ts.map +1 -0
  44. package/lib/models/common/context.d.ts +37 -0
  45. package/lib/models/common/context.d.ts.map +1 -0
  46. package/lib/models/common/error.d.ts +26 -0
  47. package/lib/models/common/error.d.ts.map +1 -0
  48. package/lib/models/common/fileDescriptor.d.ts +317 -0
  49. package/lib/models/common/fileDescriptor.d.ts.map +1 -0
  50. package/lib/models/common/filePublicDownload.d.ts +26 -0
  51. package/lib/models/common/filePublicDownload.d.ts.map +1 -0
  52. package/lib/models/common/fileViewer.d.ts +20 -0
  53. package/lib/models/common/fileViewer.d.ts.map +1 -0
  54. package/lib/models/common/index.d.ts +9 -0
  55. package/lib/models/common/index.d.ts.map +1 -0
  56. package/lib/models/common/theme.d.ts +185 -0
  57. package/lib/models/common/theme.d.ts.map +1 -0
  58. package/lib/models/common/themeColor.d.ts +47 -0
  59. package/lib/models/common/themeColor.d.ts.map +1 -0
  60. package/lib/models/common/userTheme.d.ts +42 -0
  61. package/lib/models/common/userTheme.d.ts.map +1 -0
  62. package/lib/models/company-invitation.model.d.ts +42 -0
  63. package/lib/models/company-invitation.model.d.ts.map +1 -0
  64. package/lib/models/company.model.d.ts +639 -0
  65. package/lib/models/company.model.d.ts.map +1 -0
  66. package/lib/models/contact.model.d.ts +1208 -0
  67. package/lib/models/contact.model.d.ts.map +1 -0
  68. package/lib/models/conversation.model.d.ts +768 -0
  69. package/lib/models/conversation.model.d.ts.map +1 -0
  70. package/lib/models/customManifest.model.d.ts +82 -0
  71. package/lib/models/customManifest.model.d.ts.map +1 -0
  72. package/lib/models/dataChannel.model.d.ts +178 -0
  73. package/lib/models/dataChannel.model.d.ts.map +1 -0
  74. package/lib/models/dial-in-phone-numbers.model.d.ts +18 -0
  75. package/lib/models/dial-in-phone-numbers.model.d.ts.map +1 -0
  76. package/lib/models/directoryContact.model.d.ts +205 -0
  77. package/lib/models/directoryContact.model.d.ts.map +1 -0
  78. package/lib/models/event.model.d.ts +14 -0
  79. package/lib/models/event.model.d.ts.map +1 -0
  80. package/lib/models/favorite.model.d.ts +94 -0
  81. package/lib/models/favorite.model.d.ts.map +1 -0
  82. package/lib/models/fileDocument.model.d.ts +345 -0
  83. package/lib/models/fileDocument.model.d.ts.map +1 -0
  84. package/lib/models/geoLoc.model.d.ts +6 -0
  85. package/lib/models/geoLoc.model.d.ts.map +1 -0
  86. package/lib/models/index.d.ts +46 -0
  87. package/lib/models/index.d.ts.map +1 -0
  88. package/lib/models/invitation.model.d.ts +88 -0
  89. package/lib/models/invitation.model.d.ts.map +1 -0
  90. package/lib/models/invoices.model.d.ts +76 -0
  91. package/lib/models/invoices.model.d.ts.map +1 -0
  92. package/lib/models/logEntry.model.d.ts +23 -0
  93. package/lib/models/logEntry.model.d.ts.map +1 -0
  94. package/lib/models/message.model.d.ts +400 -0
  95. package/lib/models/message.model.d.ts.map +1 -0
  96. package/lib/models/messageAdditionalContent.parsers.d.ts +32 -0
  97. package/lib/models/messageAdditionalContent.parsers.d.ts.map +1 -0
  98. package/lib/models/offer.model.d.ts +16 -0
  99. package/lib/models/offer.model.d.ts.map +1 -0
  100. package/lib/models/p2pRecap.model.d.ts +372 -0
  101. package/lib/models/p2pRecap.model.d.ts.map +1 -0
  102. package/lib/models/paymentMethods.model.d.ts +98 -0
  103. package/lib/models/paymentMethods.model.d.ts.map +1 -0
  104. package/lib/models/personalRoutine.model.d.ts +173 -0
  105. package/lib/models/personalRoutine.model.d.ts.map +1 -0
  106. package/lib/models/poll.model.d.ts +139 -0
  107. package/lib/models/poll.model.d.ts.map +1 -0
  108. package/lib/models/rainbow-auth.model.d.ts +137 -0
  109. package/lib/models/rainbow-auth.model.d.ts.map +1 -0
  110. package/lib/models/searchTextConvResults.model.d.ts +30 -0
  111. package/lib/models/searchTextConvResults.model.d.ts.map +1 -0
  112. package/lib/models/site.model.d.ts +165 -0
  113. package/lib/models/site.model.d.ts.map +1 -0
  114. package/lib/models/subscription.model.d.ts +592 -0
  115. package/lib/models/subscription.model.d.ts.map +1 -0
  116. package/lib/models/telephonyConfig.model.d.ts +144 -0
  117. package/lib/models/telephonyConfig.model.d.ts.map +1 -0
  118. package/lib/models/telephonyForward.model.d.ts +47 -0
  119. package/lib/models/telephonyForward.model.d.ts.map +1 -0
  120. package/lib/models/todo.model.d.ts +103 -0
  121. package/lib/models/todo.model.d.ts.map +1 -0
  122. package/lib/models/transcription.model.d.ts +59 -0
  123. package/lib/models/transcription.model.d.ts.map +1 -0
  124. package/lib/models/user.model.d.ts +1008 -0
  125. package/lib/models/user.model.d.ts.map +1 -0
  126. package/lib/models/userProfileTemplate.model.d.ts +735 -0
  127. package/lib/models/userProfileTemplate.model.d.ts.map +1 -0
  128. package/lib/models/usersList.model.d.ts +117 -0
  129. package/lib/models/usersList.model.d.ts.map +1 -0
  130. package/lib/models/webConferenceParticipant.model.d.ts +135 -0
  131. package/lib/models/webConferenceParticipant.model.d.ts.map +1 -0
  132. package/lib/models/webConferenceSession.model.d.ts +658 -0
  133. package/lib/models/webConferenceSession.model.d.ts.map +1 -0
  134. package/lib/models/webinar.model.d.ts +738 -0
  135. package/lib/models/webinar.model.d.ts.map +1 -0
  136. package/lib/models/webinarRecap.model.d.ts +118 -0
  137. package/lib/models/webinarRecap.model.d.ts.map +1 -0
  138. package/lib/node.d.ts +3 -0
  139. package/lib/node.d.ts.map +1 -0
  140. package/lib/node.js +423 -0
  141. package/lib/node.js.map +7 -0
  142. package/lib/node.sdk.d.ts +41 -0
  143. package/lib/node.sdk.d.ts.map +1 -0
  144. package/lib/plugins/admin.plugin.d.ts +6 -0
  145. package/lib/plugins/admin.plugin.d.ts.map +1 -0
  146. package/lib/plugins/bubbleConference.plugin.d.ts +6 -0
  147. package/lib/plugins/bubbleConference.plugin.d.ts.map +1 -0
  148. package/lib/plugins/bubbleTag.plugin.d.ts +6 -0
  149. package/lib/plugins/bubbleTag.plugin.d.ts.map +1 -0
  150. package/lib/plugins/bubbles.plugin.d.ts +6 -0
  151. package/lib/plugins/bubbles.plugin.d.ts.map +1 -0
  152. package/lib/plugins/businessDirectory.plugin.d.ts +6 -0
  153. package/lib/plugins/businessDirectory.plugin.d.ts.map +1 -0
  154. package/lib/plugins/callRecorder.plugin.d.ts +6 -0
  155. package/lib/plugins/callRecorder.plugin.d.ts.map +1 -0
  156. package/lib/plugins/calllog.plugin.d.ts +6 -0
  157. package/lib/plugins/calllog.plugin.d.ts.map +1 -0
  158. package/lib/plugins/calls.plugin.d.ts +6 -0
  159. package/lib/plugins/calls.plugin.d.ts.map +1 -0
  160. package/lib/plugins/channels.plugin.d.ts +6 -0
  161. package/lib/plugins/channels.plugin.d.ts.map +1 -0
  162. package/lib/plugins/dataChannel.plugin.d.ts +6 -0
  163. package/lib/plugins/dataChannel.plugin.d.ts.map +1 -0
  164. package/lib/plugins/deviceManagement.plugin.d.ts +6 -0
  165. package/lib/plugins/deviceManagement.plugin.d.ts.map +1 -0
  166. package/lib/plugins/favorites.plugin.d.ts +6 -0
  167. package/lib/plugins/favorites.plugin.d.ts.map +1 -0
  168. package/lib/plugins/fileDocument.plugin.d.ts +6 -0
  169. package/lib/plugins/fileDocument.plugin.d.ts.map +1 -0
  170. package/lib/plugins/helpCenter.plugin.d.ts +6 -0
  171. package/lib/plugins/helpCenter.plugin.d.ts.map +1 -0
  172. package/lib/plugins/index.d.ts +27 -0
  173. package/lib/plugins/index.d.ts.map +1 -0
  174. package/lib/plugins/microsoft0365Ad.plugin.d.ts +6 -0
  175. package/lib/plugins/microsoft0365Ad.plugin.d.ts.map +1 -0
  176. package/lib/plugins/pbxUsers.plugin.d.ts +6 -0
  177. package/lib/plugins/pbxUsers.plugin.d.ts.map +1 -0
  178. package/lib/plugins/personalDirectory.plugin.d.ts +6 -0
  179. package/lib/plugins/personalDirectory.plugin.d.ts.map +1 -0
  180. package/lib/plugins/plugin.d.ts +8 -0
  181. package/lib/plugins/plugin.d.ts.map +1 -0
  182. package/lib/plugins/polls.plugin.d.ts +6 -0
  183. package/lib/plugins/polls.plugin.d.ts.map +1 -0
  184. package/lib/plugins/rpc.plugin.d.ts +6 -0
  185. package/lib/plugins/rpc.plugin.d.ts.map +1 -0
  186. package/lib/plugins/telemetry.plugin.d.ts +6 -0
  187. package/lib/plugins/telemetry.plugin.d.ts.map +1 -0
  188. package/lib/plugins/telephony.plugin.d.ts +6 -0
  189. package/lib/plugins/telephony.plugin.d.ts.map +1 -0
  190. package/lib/plugins/telephonyConfig.plugin.d.ts +6 -0
  191. package/lib/plugins/telephonyConfig.plugin.d.ts.map +1 -0
  192. package/lib/plugins/transcription.plugin.d.ts +6 -0
  193. package/lib/plugins/transcription.plugin.d.ts.map +1 -0
  194. package/lib/plugins/usersList.plugin.d.ts +6 -0
  195. package/lib/plugins/usersList.plugin.d.ts.map +1 -0
  196. package/lib/plugins/virtualBackground.plugin.d.ts +6 -0
  197. package/lib/plugins/virtualBackground.plugin.d.ts.map +1 -0
  198. package/lib/plugins/webinar.plugin.d.ts +6 -0
  199. package/lib/plugins/webinar.plugin.d.ts.map +1 -0
  200. package/lib/rainbow.sdk.d.ts +309 -0
  201. package/lib/rainbow.sdk.d.ts.map +1 -0
  202. package/lib/services/admin/admin-alarm.service.d.ts +42 -0
  203. package/lib/services/admin/admin-alarm.service.d.ts.map +1 -0
  204. package/lib/services/admin/admin-company.service.d.ts +167 -0
  205. package/lib/services/admin/admin-company.service.d.ts.map +1 -0
  206. package/lib/services/admin/admin-department.service.d.ts +39 -0
  207. package/lib/services/admin/admin-department.service.d.ts.map +1 -0
  208. package/lib/services/admin/admin-invitation.service.d.ts +114 -0
  209. package/lib/services/admin/admin-invitation.service.d.ts.map +1 -0
  210. package/lib/services/admin/admin-management.service.d.ts +100 -0
  211. package/lib/services/admin/admin-management.service.d.ts.map +1 -0
  212. package/lib/services/admin/admin-rvcp.service.d.ts +43 -0
  213. package/lib/services/admin/admin-rvcp.service.d.ts.map +1 -0
  214. package/lib/services/admin/admin-site.service.d.ts +64 -0
  215. package/lib/services/admin/admin-site.service.d.ts.map +1 -0
  216. package/lib/services/admin/admin-subscription.service.d.ts +135 -0
  217. package/lib/services/admin/admin-subscription.service.d.ts.map +1 -0
  218. package/lib/services/admin/admin-tag.service.d.ts +79 -0
  219. package/lib/services/admin/admin-tag.service.d.ts.map +1 -0
  220. package/lib/services/admin/admin-user-profile.service.d.ts +76 -0
  221. package/lib/services/admin/admin-user-profile.service.d.ts.map +1 -0
  222. package/lib/services/admin/admin-user.service.d.ts +338 -0
  223. package/lib/services/admin/admin-user.service.d.ts.map +1 -0
  224. package/lib/services/admin/admin.common.d.ts +40 -0
  225. package/lib/services/admin/admin.common.d.ts.map +1 -0
  226. package/lib/services/admin/admin.service.d.ts +138 -0
  227. package/lib/services/admin/admin.service.d.ts.map +1 -0
  228. package/lib/services/admin/index.d.ts +14 -0
  229. package/lib/services/admin/index.d.ts.map +1 -0
  230. package/lib/services/bot/bot.service.d.ts +121 -0
  231. package/lib/services/bot/bot.service.d.ts.map +1 -0
  232. package/lib/services/bubbles/bubble.service.d.ts +889 -0
  233. package/lib/services/bubbles/bubble.service.d.ts.map +1 -0
  234. package/lib/services/bubbles/bubbleTag.service.d.ts +132 -0
  235. package/lib/services/bubbles/bubbleTag.service.d.ts.map +1 -0
  236. package/lib/services/bubbles/index.d.ts +3 -0
  237. package/lib/services/bubbles/index.d.ts.map +1 -0
  238. package/lib/services/call/call.service.d.ts +297 -0
  239. package/lib/services/call/call.service.d.ts.map +1 -0
  240. package/lib/services/call/callRecorder.service.d.ts +358 -0
  241. package/lib/services/call/callRecorder.service.d.ts.map +1 -0
  242. package/lib/services/call/index.d.ts +3 -0
  243. package/lib/services/call/index.d.ts.map +1 -0
  244. package/lib/services/callLog/callLog.service.d.ts +563 -0
  245. package/lib/services/callLog/callLog.service.d.ts.map +1 -0
  246. package/lib/services/callLog/index.d.ts +5 -0
  247. package/lib/services/callLog/index.d.ts.map +1 -0
  248. package/lib/services/callLog/p2pRecap.service.d.ts +206 -0
  249. package/lib/services/callLog/p2pRecap.service.d.ts.map +1 -0
  250. package/lib/services/channels/channel.service.d.ts +626 -0
  251. package/lib/services/channels/channel.service.d.ts.map +1 -0
  252. package/lib/services/channels/index.d.ts +3 -0
  253. package/lib/services/channels/index.d.ts.map +1 -0
  254. package/lib/services/citrix/citrix.service.d.ts +30 -0
  255. package/lib/services/citrix/citrix.service.d.ts.map +1 -0
  256. package/lib/services/citrix/index.d.ts +3 -0
  257. package/lib/services/citrix/index.d.ts.map +1 -0
  258. package/lib/services/company/company-directory.service.d.ts +222 -0
  259. package/lib/services/company/company-directory.service.d.ts.map +1 -0
  260. package/lib/services/conference/bubbleConference.service.d.ts +1237 -0
  261. package/lib/services/conference/bubbleConference.service.d.ts.map +1 -0
  262. package/lib/services/conference/bubbleConferenceRecap.service.d.ts +159 -0
  263. package/lib/services/conference/bubbleConferenceRecap.service.d.ts.map +1 -0
  264. package/lib/services/conference/index.d.ts +5 -0
  265. package/lib/services/conference/index.d.ts.map +1 -0
  266. package/lib/services/conference/webConferenceHelper.d.ts +25 -0
  267. package/lib/services/conference/webConferenceHelper.d.ts.map +1 -0
  268. package/lib/services/conversation/conversation.service.d.ts +723 -0
  269. package/lib/services/conversation/conversation.service.d.ts.map +1 -0
  270. package/lib/services/conversation/conversationServiceBulkHistoryHandler.d.ts +39 -0
  271. package/lib/services/conversation/conversationServiceBulkHistoryHandler.d.ts.map +1 -0
  272. package/lib/services/conversation/conversationServiceEventHandler.d.ts +78 -0
  273. package/lib/services/conversation/conversationServiceEventHandler.d.ts.map +1 -0
  274. package/lib/services/conversation/index.d.ts +3 -0
  275. package/lib/services/conversation/index.d.ts.map +1 -0
  276. package/lib/services/core/account.service.d.ts +98 -0
  277. package/lib/services/core/account.service.d.ts.map +1 -0
  278. package/lib/services/core/auth.service.d.ts +303 -0
  279. package/lib/services/core/auth.service.d.ts.map +1 -0
  280. package/lib/services/core/company.service.d.ts +30 -0
  281. package/lib/services/core/company.service.d.ts.map +1 -0
  282. package/lib/services/core/connection.service.d.ts +209 -0
  283. package/lib/services/core/connection.service.d.ts.map +1 -0
  284. package/lib/services/core/contact.service.d.ts +617 -0
  285. package/lib/services/core/contact.service.d.ts.map +1 -0
  286. package/lib/services/core/country.service.d.ts +66 -0
  287. package/lib/services/core/country.service.d.ts.map +1 -0
  288. package/lib/services/core/directorySearch.service.d.ts +305 -0
  289. package/lib/services/core/directorySearch.service.d.ts.map +1 -0
  290. package/lib/services/core/event.service.d.ts +31 -0
  291. package/lib/services/core/event.service.d.ts.map +1 -0
  292. package/lib/services/core/i18n.service.d.ts +19 -0
  293. package/lib/services/core/i18n.service.d.ts.map +1 -0
  294. package/lib/services/core/imageUtils.service.d.ts +15 -0
  295. package/lib/services/core/imageUtils.service.d.ts.map +1 -0
  296. package/lib/services/core/index.d.ts +19 -0
  297. package/lib/services/core/index.d.ts.map +1 -0
  298. package/lib/services/core/logger.service.d.ts +143 -0
  299. package/lib/services/core/logger.service.d.ts.map +1 -0
  300. package/lib/services/core/logging.service.d.ts +51 -0
  301. package/lib/services/core/logging.service.d.ts.map +1 -0
  302. package/lib/services/core/main.service.d.ts +124 -0
  303. package/lib/services/core/main.service.d.ts.map +1 -0
  304. package/lib/services/core/presenceHelper.service.d.ts +73 -0
  305. package/lib/services/core/presenceHelper.service.d.ts.map +1 -0
  306. package/lib/services/core/profile.service.d.ts +453 -0
  307. package/lib/services/core/profile.service.d.ts.map +1 -0
  308. package/lib/services/core/settings.service.d.ts +82 -0
  309. package/lib/services/core/settings.service.d.ts.map +1 -0
  310. package/lib/services/core/userInfo.service.d.ts +25 -0
  311. package/lib/services/core/userInfo.service.d.ts.map +1 -0
  312. package/lib/services/core/userNetwork.service.d.ts +171 -0
  313. package/lib/services/core/userNetwork.service.d.ts.map +1 -0
  314. package/lib/services/core/xmpp.service.d.ts +99 -0
  315. package/lib/services/core/xmpp.service.d.ts.map +1 -0
  316. package/lib/services/dataChannel/dataChannel.service.d.ts +102 -0
  317. package/lib/services/dataChannel/dataChannel.service.d.ts.map +1 -0
  318. package/lib/services/dataChannel/index.d.ts +3 -0
  319. package/lib/services/dataChannel/index.d.ts.map +1 -0
  320. package/lib/services/deviceManagement/deviceEchoFilter.d.ts +86 -0
  321. package/lib/services/deviceManagement/deviceEchoFilter.d.ts.map +1 -0
  322. package/lib/services/deviceManagement/deviceManagement.service.d.ts +290 -0
  323. package/lib/services/deviceManagement/deviceManagement.service.d.ts.map +1 -0
  324. package/lib/services/deviceManagement/index.d.ts +2 -0
  325. package/lib/services/deviceManagement/index.d.ts.map +1 -0
  326. package/lib/services/deviceManagement/webHidManager.service.d.ts +616 -0
  327. package/lib/services/deviceManagement/webHidManager.service.d.ts.map +1 -0
  328. package/lib/services/directory/directory.service.d.ts +108 -0
  329. package/lib/services/directory/directory.service.d.ts.map +1 -0
  330. package/lib/services/directory/index.d.ts +3 -0
  331. package/lib/services/directory/index.d.ts.map +1 -0
  332. package/lib/services/directory/office365ad.service.d.ts +74 -0
  333. package/lib/services/directory/office365ad.service.d.ts.map +1 -0
  334. package/lib/services/directory/personal-directory.service.d.ts +425 -0
  335. package/lib/services/directory/personal-directory.service.d.ts.map +1 -0
  336. package/lib/services/directory/phonebook.service.d.ts +43 -0
  337. package/lib/services/directory/phonebook.service.d.ts.map +1 -0
  338. package/lib/services/event-mixin.d.ts +75 -0
  339. package/lib/services/event-mixin.d.ts.map +1 -0
  340. package/lib/services/favorites/favorites.service.d.ts +313 -0
  341. package/lib/services/favorites/favorites.service.d.ts.map +1 -0
  342. package/lib/services/favorites/index.d.ts +3 -0
  343. package/lib/services/favorites/index.d.ts.map +1 -0
  344. package/lib/services/fileDocument/fileDocument.service.d.ts +229 -0
  345. package/lib/services/fileDocument/fileDocument.service.d.ts.map +1 -0
  346. package/lib/services/fileDocument/index.d.ts +5 -0
  347. package/lib/services/fileDocument/index.d.ts.map +1 -0
  348. package/lib/services/files/fileDescriptorEventHandler.service.d.ts +18 -0
  349. package/lib/services/files/fileDescriptorEventHandler.service.d.ts.map +1 -0
  350. package/lib/services/files/fileServer.service.d.ts +268 -0
  351. package/lib/services/files/fileServer.service.d.ts.map +1 -0
  352. package/lib/services/files/fileStorage.service.d.ts +426 -0
  353. package/lib/services/files/fileStorage.service.d.ts.map +1 -0
  354. package/lib/services/helpcenter/helpCenter.service.d.ts +207 -0
  355. package/lib/services/helpcenter/helpCenter.service.d.ts.map +1 -0
  356. package/lib/services/helpcenter/index.d.ts +4 -0
  357. package/lib/services/helpcenter/index.d.ts.map +1 -0
  358. package/lib/services/helpcenter/whatsNew.service.d.ts +47 -0
  359. package/lib/services/helpcenter/whatsNew.service.d.ts.map +1 -0
  360. package/lib/services/horizon/horizon.service.d.ts +31 -0
  361. package/lib/services/horizon/horizon.service.d.ts.map +1 -0
  362. package/lib/services/horizon/index.d.ts +3 -0
  363. package/lib/services/horizon/index.d.ts.map +1 -0
  364. package/lib/services/index.d.ts +35 -0
  365. package/lib/services/index.d.ts.map +1 -0
  366. package/lib/services/launcher/config/sdkLaunchConfig.d.ts +8 -0
  367. package/lib/services/launcher/config/sdkLaunchConfig.d.ts.map +1 -0
  368. package/lib/services/localTranslation/chromeTranslation.engine.d.ts +79 -0
  369. package/lib/services/localTranslation/chromeTranslation.engine.d.ts.map +1 -0
  370. package/lib/services/localTranslation/index.d.ts +6 -0
  371. package/lib/services/localTranslation/index.d.ts.map +1 -0
  372. package/lib/services/localTranslation/localTranslation.service.d.ts +129 -0
  373. package/lib/services/localTranslation/localTranslation.service.d.ts.map +1 -0
  374. package/lib/services/localTranslation/translationEngine.d.ts +81 -0
  375. package/lib/services/localTranslation/translationEngine.d.ts.map +1 -0
  376. package/lib/services/metrics/analytics.service.d.ts +63 -0
  377. package/lib/services/metrics/analytics.service.d.ts.map +1 -0
  378. package/lib/services/metrics/index.d.ts +2 -0
  379. package/lib/services/metrics/index.d.ts.map +1 -0
  380. package/lib/services/notifications/index.d.ts +2 -0
  381. package/lib/services/notifications/index.d.ts.map +1 -0
  382. package/lib/services/notifications/notificationCenter.service.d.ts +178 -0
  383. package/lib/services/notifications/notificationCenter.service.d.ts.map +1 -0
  384. package/lib/services/notifications/notificationsViewer.service.d.ts +46 -0
  385. package/lib/services/notifications/notificationsViewer.service.d.ts.map +1 -0
  386. package/lib/services/personalRoutines/personal-routines.service.d.ts +159 -0
  387. package/lib/services/personalRoutines/personal-routines.service.d.ts.map +1 -0
  388. package/lib/services/polls/index.d.ts +2 -0
  389. package/lib/services/polls/index.d.ts.map +1 -0
  390. package/lib/services/polls/polls.service.d.ts +139 -0
  391. package/lib/services/polls/polls.service.d.ts.map +1 -0
  392. package/lib/services/ringing/index.d.ts +2 -0
  393. package/lib/services/ringing/index.d.ts.map +1 -0
  394. package/lib/services/ringing/ringing.service.d.ts +535 -0
  395. package/lib/services/ringing/ringing.service.d.ts.map +1 -0
  396. package/lib/services/rpc/index.d.ts +2 -0
  397. package/lib/services/rpc/index.d.ts.map +1 -0
  398. package/lib/services/rpc/rpc.service.d.ts +75 -0
  399. package/lib/services/rpc/rpc.service.d.ts.map +1 -0
  400. package/lib/services/service.d.ts +9 -0
  401. package/lib/services/service.d.ts.map +1 -0
  402. package/lib/services/speechRecognitionService/speechRecognition.service.d.ts +87 -0
  403. package/lib/services/speechRecognitionService/speechRecognition.service.d.ts.map +1 -0
  404. package/lib/services/subscription/index.d.ts +4 -0
  405. package/lib/services/subscription/index.d.ts.map +1 -0
  406. package/lib/services/subscription/invoices.service.d.ts +78 -0
  407. package/lib/services/subscription/invoices.service.d.ts.map +1 -0
  408. package/lib/services/subscription/paymentMethods.service.d.ts +164 -0
  409. package/lib/services/subscription/paymentMethods.service.d.ts.map +1 -0
  410. package/lib/services/subscription/subscription.service.d.ts +510 -0
  411. package/lib/services/subscription/subscription.service.d.ts.map +1 -0
  412. package/lib/services/support/index.d.ts +2 -0
  413. package/lib/services/support/index.d.ts.map +1 -0
  414. package/lib/services/support/support.model.d.ts +143 -0
  415. package/lib/services/support/support.model.d.ts.map +1 -0
  416. package/lib/services/support/support.service.d.ts +162 -0
  417. package/lib/services/support/support.service.d.ts.map +1 -0
  418. package/lib/services/telemetry/index.d.ts +3 -0
  419. package/lib/services/telemetry/index.d.ts.map +1 -0
  420. package/lib/services/telemetry/jsonRPC.service.d.ts +25 -0
  421. package/lib/services/telemetry/jsonRPC.service.d.ts.map +1 -0
  422. package/lib/services/telemetry/telemetry.service.d.ts +22 -0
  423. package/lib/services/telemetry/telemetry.service.d.ts.map +1 -0
  424. package/lib/services/telephony/index.d.ts +4 -0
  425. package/lib/services/telephony/index.d.ts.map +1 -0
  426. package/lib/services/telephony/supervision.service.d.ts +277 -0
  427. package/lib/services/telephony/supervision.service.d.ts.map +1 -0
  428. package/lib/services/telephony/telephony.service.d.ts +1476 -0
  429. package/lib/services/telephony/telephony.service.d.ts.map +1 -0
  430. package/lib/services/telephony/telephonyCcdAgent.service.d.ts +63 -0
  431. package/lib/services/telephony/telephonyCcdAgent.service.d.ts.map +1 -0
  432. package/lib/services/telephony/telephonyHybridEventHandler.d.ts +360 -0
  433. package/lib/services/telephony/telephonyHybridEventHandler.d.ts.map +1 -0
  434. package/lib/services/telephony/telephonyKeys.service.d.ts +86 -0
  435. package/lib/services/telephony/telephonyKeys.service.d.ts.map +1 -0
  436. package/lib/services/telephony/telephonySipWise.service.d.ts +543 -0
  437. package/lib/services/telephony/telephonySipWise.service.d.ts.map +1 -0
  438. package/lib/services/telephony/telephonySipWiseEventHandler.d.ts +462 -0
  439. package/lib/services/telephony/telephonySipWiseEventHandler.d.ts.map +1 -0
  440. package/lib/services/telephonyConfig/index.d.ts +3 -0
  441. package/lib/services/telephonyConfig/index.d.ts.map +1 -0
  442. package/lib/services/telephonyConfig/telephonyConfig.service.d.ts +150 -0
  443. package/lib/services/telephonyConfig/telephonyConfig.service.d.ts.map +1 -0
  444. package/lib/services/todo/todo.service.d.ts +358 -0
  445. package/lib/services/todo/todo.service.d.ts.map +1 -0
  446. package/lib/services/transcription/index.d.ts +2 -0
  447. package/lib/services/transcription/index.d.ts.map +1 -0
  448. package/lib/services/transcription/liveTranscription.service.d.ts +94 -0
  449. package/lib/services/transcription/liveTranscription.service.d.ts.map +1 -0
  450. package/lib/services/ulrMetadata/urlMetadata.service.d.ts +51 -0
  451. package/lib/services/ulrMetadata/urlMetadata.service.d.ts.map +1 -0
  452. package/lib/services/users/index.d.ts +3 -0
  453. package/lib/services/users/index.d.ts.map +1 -0
  454. package/lib/services/users/user.service.d.ts +146 -0
  455. package/lib/services/users/user.service.d.ts.map +1 -0
  456. package/lib/services/users/usersLists.service.d.ts +239 -0
  457. package/lib/services/users/usersLists.service.d.ts.map +1 -0
  458. package/lib/services/utilities/browserDatabase.service.d.ts +69 -0
  459. package/lib/services/utilities/browserDatabase.service.d.ts.map +1 -0
  460. package/lib/services/utilities/errorHelper.service.d.ts +24 -0
  461. package/lib/services/utilities/errorHelper.service.d.ts.map +1 -0
  462. package/lib/services/utilities/index.d.ts +4 -0
  463. package/lib/services/utilities/index.d.ts.map +1 -0
  464. package/lib/services/utilities/utilities.service.d.ts +74 -0
  465. package/lib/services/utilities/utilities.service.d.ts.map +1 -0
  466. package/lib/services/virtualBackground/RBVirtualBackground.service.d.ts +228 -0
  467. package/lib/services/virtualBackground/RBVirtualBackground.service.d.ts.map +1 -0
  468. package/lib/services/virtualBackground/index.d.ts +4 -0
  469. package/lib/services/virtualBackground/index.d.ts.map +1 -0
  470. package/lib/services/virtualBackground/personalVideoBackground.d.ts +190 -0
  471. package/lib/services/virtualBackground/personalVideoBackground.d.ts.map +1 -0
  472. package/lib/services/virtualBackground/pipeline/canvas2D/canvas2DPipeline.d.ts +66 -0
  473. package/lib/services/virtualBackground/pipeline/canvas2D/canvas2DPipeline.d.ts.map +1 -0
  474. package/lib/services/virtualBackground/pipeline/webgl2/blurStage.d.ts +88 -0
  475. package/lib/services/virtualBackground/pipeline/webgl2/blurStage.d.ts.map +1 -0
  476. package/lib/services/virtualBackground/pipeline/webgl2/imageStage.d.ts +69 -0
  477. package/lib/services/virtualBackground/pipeline/webgl2/imageStage.d.ts.map +1 -0
  478. package/lib/services/virtualBackground/pipeline/webgl2/jointBilateralFilter.d.ts +55 -0
  479. package/lib/services/virtualBackground/pipeline/webgl2/jointBilateralFilter.d.ts.map +1 -0
  480. package/lib/services/virtualBackground/pipeline/webgl2/resizingStage.d.ts +59 -0
  481. package/lib/services/virtualBackground/pipeline/webgl2/resizingStage.d.ts.map +1 -0
  482. package/lib/services/virtualBackground/pipeline/webgl2/softMax.d.ts +34 -0
  483. package/lib/services/virtualBackground/pipeline/webgl2/softMax.d.ts.map +1 -0
  484. package/lib/services/virtualBackground/pipeline/webgl2/webgl2Pipeline.d.ts +62 -0
  485. package/lib/services/virtualBackground/pipeline/webgl2/webgl2Pipeline.d.ts.map +1 -0
  486. package/lib/services/virtualBackground/pipeline/webgl2/webglHelper.d.ts +56 -0
  487. package/lib/services/virtualBackground/pipeline/webgl2/webglHelper.d.ts.map +1 -0
  488. package/lib/services/virtualBackground/virtualBackground.service.d.ts +399 -0
  489. package/lib/services/virtualBackground/virtualBackground.service.d.ts.map +1 -0
  490. package/lib/services/webinars/index.d.ts +10 -0
  491. package/lib/services/webinars/index.d.ts.map +1 -0
  492. package/lib/services/webinars/telemetry/webinarTelemetry.model.d.ts +71 -0
  493. package/lib/services/webinars/telemetry/webinarTelemetry.model.d.ts.map +1 -0
  494. package/lib/services/webinars/telemetry/webinarTelemetry.service.d.ts +86 -0
  495. package/lib/services/webinars/telemetry/webinarTelemetry.service.d.ts.map +1 -0
  496. package/lib/services/webinars/telemetry/webinarTelemetryDatabase.d.ts +31 -0
  497. package/lib/services/webinars/telemetry/webinarTelemetryDatabase.d.ts.map +1 -0
  498. package/lib/services/webinars/webinarAudioMixer.d.ts +45 -0
  499. package/lib/services/webinars/webinarAudioMixer.d.ts.map +1 -0
  500. package/lib/services/webinars/webinarConference.service.d.ts +323 -0
  501. package/lib/services/webinars/webinarConference.service.d.ts.map +1 -0
  502. package/lib/services/webinars/webinarConference.utils.d.ts +24 -0
  503. package/lib/services/webinars/webinarConference.utils.d.ts.map +1 -0
  504. package/lib/services/webinars/webinarParticipants.service.d.ts +43 -0
  505. package/lib/services/webinars/webinarParticipants.service.d.ts.map +1 -0
  506. package/lib/services/webinars/webinarSpeakers.service.d.ts +25 -0
  507. package/lib/services/webinars/webinarSpeakers.service.d.ts.map +1 -0
  508. package/lib/services/webinars/webinarStoryLine.service.d.ts +117 -0
  509. package/lib/services/webinars/webinarStoryLine.service.d.ts.map +1 -0
  510. package/lib/services/webinars/webinars.service.d.ts +600 -0
  511. package/lib/services/webinars/webinars.service.d.ts.map +1 -0
  512. package/lib/services/webrtc/index.d.ts +5 -0
  513. package/lib/services/webrtc/index.d.ts.map +1 -0
  514. package/lib/services/webrtc/webrtcConfigAndUtils.d.ts +170 -0
  515. package/lib/services/webrtc/webrtcConfigAndUtils.d.ts.map +1 -0
  516. package/lib/services/webrtc/webrtcP2P.service.d.ts +521 -0
  517. package/lib/services/webrtc/webrtcP2P.service.d.ts.map +1 -0
  518. package/lib/services/webrtc/webrtcP2PEventHandler.d.ts +55 -0
  519. package/lib/services/webrtc/webrtcP2PEventHandler.d.ts.map +1 -0
  520. package/lib/services/webrtcGateway/webrtcGateway.service.d.ts +605 -0
  521. package/lib/services/webrtcGateway/webrtcGateway.service.d.ts.map +1 -0
  522. package/lib/strophejs.d.ts +3 -0
  523. package/lib/strophejs.d.ts.map +1 -0
  524. package/lib/typings/helpers.d.ts +3 -0
  525. package/lib/typings/helpers.d.ts.map +1 -0
  526. package/lib/utils/allSettled.d.ts +2 -0
  527. package/lib/utils/allSettled.d.ts.map +1 -0
  528. package/lib/utils/anonymizer.d.ts +28 -0
  529. package/lib/utils/anonymizer.d.ts.map +1 -0
  530. package/lib/utils/branded.d.ts +4 -0
  531. package/lib/utils/branded.d.ts.map +1 -0
  532. package/lib/utils/browser.d.ts +231 -0
  533. package/lib/utils/browser.d.ts.map +1 -0
  534. package/lib/utils/index.d.ts +12 -0
  535. package/lib/utils/index.d.ts.map +1 -0
  536. package/lib/utils/mediaPermissionError.d.ts +2 -0
  537. package/lib/utils/mediaPermissionError.d.ts.map +1 -0
  538. package/lib/utils/promiseQueue.d.ts +10 -0
  539. package/lib/utils/promiseQueue.d.ts.map +1 -0
  540. package/lib/utils/randomString.d.ts +3 -0
  541. package/lib/utils/randomString.d.ts.map +1 -0
  542. package/lib/utils/recordingArchiveName.d.ts +13 -0
  543. package/lib/utils/recordingArchiveName.d.ts.map +1 -0
  544. package/lib/utils/serverTimestamp.d.ts +15 -0
  545. package/lib/utils/serverTimestamp.d.ts.map +1 -0
  546. package/lib/utils/stringifyError.d.ts +2 -0
  547. package/lib/utils/stringifyError.d.ts.map +1 -0
  548. package/lib/utils/video.d.ts +27 -0
  549. package/lib/utils/video.d.ts.map +1 -0
  550. package/lib/utils/wait.d.ts +2 -0
  551. package/lib/utils/wait.d.ts.map +1 -0
  552. package/lib/utils/xmlParser.d.ts +102 -0
  553. package/lib/utils/xmlParser.d.ts.map +1 -0
  554. package/lib/utils/xmlValidation.d.ts +119 -0
  555. package/lib/utils/xmlValidation.d.ts.map +1 -0
  556. package/package.json +58 -0
@@ -0,0 +1,45 @@
1
+ import type { Webinar, WebinarSessionParticipant } from "../../models";
2
+ import { RBEvent } from "../../models";
3
+ import type { WebinarConferenceService } from "./webinarConference.service";
4
+ import type { Subscription } from "rxjs";
5
+ export declare enum WebinarAudioMixerEvents {
6
+ STAGE_AUDIO_LEVEL_CHANGED = "STAGE_AUDIO_LEVEL_CHANGED",
7
+ BACKSTAGE_AUDIO_LEVEL_CHANGED = "BACKSTAGE_AUDIO_LEVEL_CHANGED",
8
+ AUDIO_BALANCE_CHANGED = "AUDIO_BALANCE_CHANGED"
9
+ }
10
+ export declare class WebinarAudioMixer {
11
+ private webinarConferenceService;
12
+ private mcuAudioElement?;
13
+ private audioElements?;
14
+ private sharingElements?;
15
+ private logger;
16
+ private deviceManagement;
17
+ private audioMixerEvent;
18
+ private webinarExtendedBackstage;
19
+ backstageAudioLevel: number;
20
+ stageAudioLevel: number;
21
+ audioBalance: number;
22
+ constructor(webinarConferenceService: WebinarConferenceService);
23
+ private initialize;
24
+ destroy(): void;
25
+ subscribe(handler: (event: RBEvent<WebinarAudioMixerEvents>) => any, eventNames?: string | string[]): Subscription;
26
+ sendEvent(event: WebinarAudioMixerEvents): void;
27
+ addBackstageAudio(webinar: Webinar, webinarExtendeBackstage: boolean): Promise<void>;
28
+ muteBackstage(webinar: Webinar, muted?: boolean): void;
29
+ unmuteBackstage(webinar: Webinar): void;
30
+ manageBackstageMic(webinar: Webinar, enabled: boolean): void;
31
+ private createSilentAudioTrack;
32
+ addAudioStream(webinar: Webinar, participant: WebinarSessionParticipant, type: "audio" | "sharing", videoType?: string): Promise<void>;
33
+ removeAudioStream(participant: WebinarSessionParticipant, type: "audio" | "sharing" | "all"): Promise<void>;
34
+ mute(participant: WebinarSessionParticipant, type: "audio" | "sharing" | "all", muted?: boolean): void;
35
+ unmute(participant: WebinarSessionParticipant, type: "audio" | "sharing" | "all"): void;
36
+ activateAudio(): void;
37
+ updateAudioDevice(): Promise<void>;
38
+ private audioElemPlay;
39
+ updateAudioLevelForParticipant(participant: WebinarSessionParticipant): void;
40
+ setAudioBalance(volume: number): void;
41
+ private setStageAudioLevel;
42
+ private setBackstageAudioLevel;
43
+ private setAudioLevel;
44
+ }
45
+ //# sourceMappingURL=webinarAudioMixer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"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GAAE,OAAc,GAAG,IAAI;IAa5D,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAEvC,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IASnE,OAAO,CAAC,sBAAsB;IAgBjB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,yBAAyB,EAAE,IAAI,EAAE,OAAO,GAAG,SAAS,EAAE,SAAS,GAAE,MAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAsC1I,iBAAiB,CAAC,WAAW,EAAE,yBAAyB,EAAE,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC;IAyBjH,IAAI,CAAC,WAAW,EAAE,yBAAyB,EAAE,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,KAAK,EAAE,KAAK,GAAE,OAAc,GAAG,IAAI;IA2B5G,MAAM,CAAC,WAAW,EAAE,yBAAyB,EAAE,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,KAAK,GAAG,IAAI;IAIvF,aAAa,IAAI,IAAI;IAQf,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAsB/C,OAAO,CAAC,aAAa;IAWd,8BAA8B,CAAC,WAAW,EAAE,yBAAyB,GAAG,IAAI;IAU5E,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAS5C,OAAO,CAAC,kBAAkB;IAmB1B,OAAO,CAAC,sBAAsB;IA6B9B,OAAO,CAAC,aAAa;CAWxB"}
@@ -0,0 +1,323 @@
1
+ /** @module Webinar */
2
+ import type { Subscription } from "rxjs";
3
+ import { Subject } from "rxjs";
4
+ import type { WebinarServiceRB } from "../../services/webinars/webinars.service";
5
+ import type { PlaybackController, Webinar } from "../../models";
6
+ import { WebinarMediaType, WebinarSessionParticipant } from "../../models";
7
+ import { WebinarAudioMixer } from "./webinarAudioMixer";
8
+ import type { WebrtcStatisticsData } from "../../libs/strophe/strophe.jingle.session.stats";
9
+ import type { WebinarConstraintResolution } from "./webinarConference.utils";
10
+ export type { WebinarConstraintResolution } from "./webinarConference.utils";
11
+ export type { PlaybackController } from "../../models";
12
+ /**
13
+ * One WebRTC stats sample for one media session, timestamped on reception.
14
+ *
15
+ * `stats` is the payload the browser produced for that 5s cycle; `sid` identifies the media session
16
+ * it belongs to. The timestamp is added here because {@link WebrtcStatisticsData} carries none, and a
17
+ * history is useless without one.
18
+ */
19
+ export interface WebinarWebrtcStatsSample {
20
+ /** The media session (`RTCPeerConnection` SID) that produced this sample. */
21
+ readonly sid: string;
22
+ /** Reception time, in ms since epoch. */
23
+ readonly timestamp: number;
24
+ /** The stats payload for this cycle. */
25
+ readonly stats: WebrtcStatisticsData;
26
+ }
27
+ export interface IWebinarConferenceService {
28
+ joinWebinar: (webinar: Webinar) => Promise<Webinar>;
29
+ leaveWebinar: (webinar: Webinar) => Promise<Webinar>;
30
+ addAudioVideoMedia: (webinar: Webinar, mediaType: string, stream?: MediaStream, replaceBackground?: boolean) => Promise<Webinar>;
31
+ addSharingMedia: (webinar: Webinar, stream: MediaStream) => Promise<Webinar>;
32
+ removeLocalMedia: (webinar: Webinar, mediaType: string) => Promise<Webinar>;
33
+ muteParticipant: (webinar: Webinar, participant: WebinarSessionParticipant, mute: boolean) => Promise<Webinar>;
34
+ putOnStage: (webinar: Webinar, participantId: string, media: WebinarMediaType, onStage: boolean, master?: boolean, fullStream?: boolean) => Promise<Webinar>;
35
+ shareAudioConfig: (webinar: Webinar, audioConfig: string) => Promise<Webinar>;
36
+ startWebinar: (webinar: Webinar) => Promise<Webinar>;
37
+ allowAttendeeToTalk: (webinar: Webinar, userId: string) => Promise<Webinar>;
38
+ disableAttendeeToTalk: (webinar: Webinar, userId: string) => Promise<Webinar>;
39
+ askForStaging: (webinar: Webinar, participant: WebinarSessionParticipant, media: string) => Promise<any>;
40
+ declineStagingInvitation: (webinar: Webinar, participant: WebinarSessionParticipant, media: string) => Promise<void>;
41
+ lowerHand: (webinar: Webinar, userId: string) => Promise<Webinar>;
42
+ raiseHand: (webinar: Webinar, userId: string) => Promise<Webinar>;
43
+ isActiveWebinar: (webinar: Webinar) => boolean;
44
+ hasActiveWebinarSession: () => boolean;
45
+ disableIncomingStreams: (webinar: Webinar, media: "video" | "sharing", disabled: boolean) => Webinar;
46
+ pauseVideoStream: (webinar: Webinar, participant: WebinarSessionParticipant, media: "video" | "sharing", paused: boolean, origin: string) => Promise<Webinar>;
47
+ waitForGuestXmppReconnection: () => Promise<void>;
48
+ createPlaybackStream: (recordingUrl: string) => Promise<PlaybackController>;
49
+ getWebrtcStatsHistory: () => WebinarWebrtcStatsSample[];
50
+ subscribeToWebrtcStats: (callback: (sample: WebinarWebrtcStatsSample) => void) => Subscription;
51
+ }
52
+ /**
53
+ * This service manages webinar conferences in Rainbow.
54
+ */
55
+ export declare class WebinarConferenceService implements IWebinarConferenceService {
56
+ private webinarService;
57
+ startConferencePromiseResolvers: any;
58
+ activeWebinar: Webinar | null;
59
+ activeWebinarSubject: Subject<any>;
60
+ audioMixer: WebinarAudioMixer;
61
+ private isXmppConnected;
62
+ private reconnectingSessionIds;
63
+ private mainService;
64
+ private authService;
65
+ private logger;
66
+ private xmppService;
67
+ private contactService;
68
+ private userService;
69
+ private errorHelperService;
70
+ private eventService;
71
+ private webrtcConfigAndUtils;
72
+ private speechRecognitionService;
73
+ private utilitiesService;
74
+ private deviceManagementService;
75
+ private settingsService;
76
+ private presenceHelperService;
77
+ private profileService;
78
+ private bubbleService;
79
+ private webinarTelemetryService;
80
+ private virtualBackgroundService?;
81
+ private groupChatListener;
82
+ private conferenceListener;
83
+ private xmppJingleListener;
84
+ private xmppServiceSubscription;
85
+ private videoServiceSubscription;
86
+ private xmppConnectionSubscription;
87
+ private replaceBackgroundSubscription;
88
+ private deviceManagementSubscription;
89
+ private webinarExtendedBackstage;
90
+ private removeSharingInProgress;
91
+ private xmppStagingListener;
92
+ isInteractEventSent: boolean;
93
+ private subscribeToPublisherPromiseResolvers;
94
+ private subscribeToPublisherTimeouts;
95
+ private webrtcReadinessTimeouts;
96
+ private promiseQueue;
97
+ private connectedUser;
98
+ private readonly webrtcStatsHistory;
99
+ private readonly webrtcStatsSubject;
100
+ /**
101
+ * WebinarConferenceService static factory
102
+ * @param webinarService - the webinarService parent
103
+ */
104
+ static create(webinarService: WebinarServiceRB): WebinarConferenceService;
105
+ /**
106
+ * Private constructor method
107
+ * @param webinarService - the webinarService parent
108
+ */
109
+ private constructor();
110
+ /**
111
+ * Reconnection method, should be call when webinarService is reconnected
112
+ */
113
+ reconnect(): Promise<void>;
114
+ private updateWebinarsFromServer;
115
+ /**
116
+ * Attach all listener to different service, should be called by the webinarService attachListener method
117
+ */
118
+ attachAllListeners(): void;
119
+ detachAllListeners(): void;
120
+ private attachXmppListeners;
121
+ /**
122
+ * Allow to join a webinarSession (entering the conference and established the webrtc connection)
123
+ * @param webinar - the webinar to join
124
+ */
125
+ joinWebinar(webinar: Webinar): Promise<Webinar>;
126
+ /**
127
+ * Mark the webinar as the active one and publish the state that depends on it.
128
+ * Called on both joinWebinar exits -- the nominal one and the "alreadyConnected" (switch
129
+ * device) one, where the join succeeded too and the user is just as live.
130
+ * Every step is idempotent: the two ON_ACTIVE_WEBINAR consumers re-read activeWebinar
131
+ * instead of diffing, and armSessionEndTimer clears its own timers before re-arming.
132
+ */
133
+ private setActiveWebinarState;
134
+ /**
135
+ * Allow to leave a webinar
136
+ * - remove the user from the stage (if it was on the stage)
137
+ * - remove the user from the conference (stop the session if last user)
138
+ * @param webinar - the webinar to leave
139
+ * @param forced - when set to true this method stop the session (even if not the last user connect in conf)
140
+ * @param nowait - when set to true this method call async child methods without waiting the end of execution (used in last chance deconnection event mechanism (onunload event))
141
+ * @returns A promise that is resolved when the user has join the conference
142
+ */
143
+ leaveWebinar(webinar: Webinar, forced?: boolean, nowait?: boolean, reason?: string): Promise<Webinar>;
144
+ /**
145
+ * Allow to remove the "active" webinar
146
+ * @param webinar - the webinar to remove as active
147
+ */
148
+ removeActiveWebinar(webinar: Webinar): void;
149
+ addAudioVideoMedia(webinar: Webinar, media: string, originalStream?: MediaStream, replaceBg?: boolean): Promise<Webinar>;
150
+ getSharingMedia(webinar: Webinar, shouldGetAudioForSharing?: boolean): Promise<void>;
151
+ /**
152
+ * @param isResume - true when re-publishing a stream the speaker PiP had suspended. The share
153
+ * never actually stopped, so telemetry must not see a start/stop pair per PiP toggle.
154
+ */
155
+ addSharingMedia(webinar: Webinar, stream: MediaStream, isResume?: boolean): Promise<Webinar>;
156
+ /**
157
+ * Publish again a sharing stream that `removeLocalMedia(..., keepCapture)` kept alive.
158
+ *
159
+ * A brand new session and sid are created: `subscribeToPublisher` refuses to re-subscribe while
160
+ * a session still exists, so reusing the old one would leave every remote speaker with a black
161
+ * cell. `addSharingMedia` takes the stream as-is and never re-opens the browser picker.
162
+ */
163
+ resumeSharingPublication(webinar: Webinar, stream: MediaStream, putOnStage: boolean): Promise<Webinar>;
164
+ /** Resolve once the local sharing is webrtc-connected, or reject when it does not get there. */
165
+ private waitForSharingReadiness;
166
+ /**
167
+ * @param keepCapture - for sharing only: unpublish the media but leave the capture running.
168
+ * Used by the speaker PiP, which keeps compositing that capture into the camera after the
169
+ * share itself has stopped being published. The caller then owns the stream.
170
+ */
171
+ removeLocalMedia(webinar: Webinar, media: string, keepCapture?: boolean): Promise<Webinar>;
172
+ muteParticipant(webinar: Webinar, participant: WebinarSessionParticipant, mute?: boolean): Promise<Webinar>;
173
+ muteParticipantInternal(webinar: Webinar, participant: WebinarSessionParticipant, channel: "MCU" | "SFU", mute?: boolean, askIgnore?: boolean): Promise<string>;
174
+ /**
175
+ * Whether the participant is a remote attendee (typically one brought on stage).
176
+ * `allowedToTalk` backs up `role`: a participant rebuilt from a snapshot after a reconnect has no role,
177
+ * and only attendees are ever granted the right to talk.
178
+ */
179
+ private isRemoteAttendee;
180
+ declineUnmuteInvitation(webinar: Webinar, fromParticpant: WebinarSessionParticipant): void;
181
+ putOnStage(webinar: Webinar, participantId: string, type: WebinarMediaType, onStage: boolean, master?: boolean, fullStream?: boolean): Promise<Webinar>;
182
+ shareAudioConfig(webinar: Webinar, audioConfig: string): Promise<Webinar>;
183
+ startWebinar(webinar: Webinar): Promise<Webinar>;
184
+ /**
185
+ * Decline an incoming webinar conference invitation.
186
+ * The server notifies the other connected devices of the user so that they stop ringing.
187
+ * Never throws: declining must stay effective locally even if the request fails.
188
+ * @param webinar - The webinar whose incoming invitation is declined
189
+ */
190
+ declineWebinarInvitation(webinar: Webinar): Promise<void>;
191
+ stopWebinar(webinar: Webinar): Promise<Webinar>;
192
+ raiseHand(webinar: Webinar, userId: string): Promise<Webinar>;
193
+ lowerHand(webinar: Webinar, userId: string): Promise<Webinar>;
194
+ allowAttendeeToTalk(webinar: Webinar, userId: string): Promise<Webinar>;
195
+ disableAttendeeToTalk(webinar: Webinar, userId: string): Promise<Webinar>;
196
+ activateWebinarSound(webinar: Webinar): Promise<void>;
197
+ askForStaging(webinar: Webinar, participant: WebinarSessionParticipant, media: string): Promise<void>;
198
+ declineStagingInvitation(webinar: Webinar, participant: WebinarSessionParticipant, media: string): Promise<void>;
199
+ hasActiveWebinarSession(): boolean;
200
+ isActiveWebinar(webinar: Webinar): boolean;
201
+ removeAudioVideoMedia(webinar: Webinar, audioVideoOnly?: boolean): Promise<void>;
202
+ removeSharingMedia(webinar: Webinar): void;
203
+ enableSubtitles(webinar: Webinar, enable: boolean): void;
204
+ applyVideoConstraints(webinar: Webinar, streamType: "audioVideo" | "sharing", resolution: WebinarConstraintResolution, frameRate: number, maxBitrate: number): Promise<void>;
205
+ private resendStageEvents;
206
+ disableIncomingStreams(webinar: Webinar, media: "video" | "sharing", disabled: boolean): Webinar;
207
+ private clearIncomingStreamsDisabled;
208
+ pauseVideoStream(webinar: Webinar, participant: WebinarSessionParticipant, media: "video" | "sharing", paused: boolean, origin: string): Promise<Webinar>;
209
+ waitForGuestXmppReconnection(): Promise<void>;
210
+ private startConference;
211
+ /**
212
+ * Joins an existing webinar conference session.
213
+ *
214
+ * This method handles the process of joining a webinar conference by:
215
+ * - Sending a POST request to the conference join endpoint
216
+ * - Processing stage information for attendees
217
+ * - Handling switch device scenarios when user is already connected
218
+ *
219
+ * @param webinar - The webinar instance to join
220
+ * @returns A promise that resolves when the user has successfully joined the conference
221
+ * @throws Error with message 'alreadyConnected' if the user is already connected from another device
222
+ * @throws Error from errorHelperService if the join request fails
223
+ */
224
+ private joinConference;
225
+ private stopSession;
226
+ private disconnectParticipant;
227
+ private onGroupchatMessage;
228
+ private ackAllMessages;
229
+ private onXmppJingleMessage;
230
+ private onAskStagingMessage;
231
+ private onConferenceMessage;
232
+ private handleRemoteParticipantSharingAudio;
233
+ private handleRemoteParticipantAudioConfig;
234
+ private handleRemoteParticipantAudioConfigMCU;
235
+ private handleRecording;
236
+ private handleStage;
237
+ private updateStage;
238
+ private getWebinarSnapshot;
239
+ subscribeToPublisher(webinar: Webinar, participant: WebinarSessionParticipant, media: string, force?: boolean, retry?: boolean, subStreamLevel?: number): Promise<any>;
240
+ private subscribeToPublisherInternal;
241
+ subscribeMcuStream(webinar: Webinar, subStreamLevel?: number): Promise<void>;
242
+ unsubscribeMcuStream(webinar: Webinar): void;
243
+ unsubscribeToPublisher(webinar: Webinar, participant: WebinarSessionParticipant, media: string, disableStream?: boolean): Promise<void>;
244
+ private createSessionParticipantFromElem;
245
+ private createSessionParticipantFromAttendeeJid;
246
+ private onVideoServiceEvent;
247
+ private onSessionMessage;
248
+ /**
249
+ * Tear down a stale remote session before re-subscribing to its publisher.
250
+ * Same cleanup as the per-session ON_RECONNECT_NEEDED path in
251
+ * onSessionReconnectNeeded, so the global XMPP reconnect() heal drops the dead
252
+ * <audio> element + session reference too instead of reusing a stale element
253
+ * (updateAudioStream). Also stops the orphaned stats interval and closes the
254
+ * peerconnection, which the heal path was otherwise leaking.
255
+ *
256
+ * Clearing the session reference is what lets the re-subscribe through: while
257
+ * audioVideoSession / sharingSession is still set, subscribeToPublisher refuses
258
+ * the call with "session already exists" unless force is true.
259
+ *
260
+ * The media flags must be reset here too: onSessionTerminated -- the only other place
261
+ * doing it for a remote participant -- looks the participant up by sid, which this
262
+ * method just cleared, so it exits without touching them. Left true they make every
263
+ * subscribe guard skip the media forever (CRRAINB-53618). Same as clearWebinar does.
264
+ * medias.video is left alone on purpose: no guard reads it, but webinarStageCell gates
265
+ * the video tile on it, so clearing it would blink every tile on a transient failure.
266
+ */
267
+ private cleanupStaleRemoteSession;
268
+ /** Snapshot of the speakers' session ids vs established session objects, for diagnostics only */
269
+ private describeSpeakerSessions;
270
+ private onSessionReconnectNeeded;
271
+ private onSessionEstablished;
272
+ private onSessionStateChange;
273
+ private scheduleSubscribeToPublisher;
274
+ private scheduleTransportReplace;
275
+ private sendTransportReplaceForSession;
276
+ /**
277
+ * @param keepLocalTracks - leave the local capture running; see {@link JingleSession.terminate}.
278
+ */
279
+ private terminateSession;
280
+ private onSessionInitiate;
281
+ private onSessionTerminated;
282
+ private onJingleContentAdd;
283
+ private onJingleContentModify;
284
+ private onJingleMediaModified;
285
+ private onJingleContentRemove;
286
+ private setBusyState;
287
+ /**
288
+ * Collects one WebRTC stats cycle for a webinar media session.
289
+ *
290
+ * The event carries the whole envelope, not just the stats: `sid` is the only link back to the
291
+ * session, and it lives on the envelope rather than inside {@link WebrtcStatisticsData}.
292
+ */
293
+ private onJingleStatsChange;
294
+ /**
295
+ * Every stats sample still buffered, oldest first, across all sessions.
296
+ *
297
+ * Reading the buffer rather than only listening to the live stream is what makes a panel opened
298
+ * *after* an incident useful: the samples that explain it have already been collected.
299
+ */
300
+ getWebrtcStatsHistory(): WebinarWebrtcStatsSample[];
301
+ /** Subscribes to live stats samples. Caller owns the returned subscription. */
302
+ subscribeToWebrtcStats(callback: (sample: WebinarWebrtcStatsSample) => void): Subscription;
303
+ /** Drops the buffered history of a session; called wherever a session is torn down. */
304
+ private clearWebrtcStatsForSession;
305
+ private onJingleCheckSubscriptionStatus;
306
+ private onJingleResubscriptionNeededEvent;
307
+ private onJingleErrorEvent;
308
+ private onSessionMessageDefaultHandler;
309
+ private onXmppConnectionChangeEvent;
310
+ private onReplaceBackgroundChangeEvent;
311
+ private onMediaDeviceChangeEvent;
312
+ private addSubscribeToPublisherTimeout;
313
+ private clearSubscribeToPublisherTimeout;
314
+ private clearSubscribeToPublisherTimeouts;
315
+ private addWebrtcReadinessTimeout;
316
+ private clearWebrtcReadinessTimeout;
317
+ private clearWebrtcReadinessTimeouts;
318
+ private resubscribe;
319
+ private clearWebinar;
320
+ createPlaybackStream(recordingUrl: string): Promise<PlaybackController>;
321
+ private clearSession;
322
+ }
323
+ //# sourceMappingURL=webinarConference.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webinarConference.service.d.ts","sourceRoot":"","sources":["../../../src/services/webinars/webinarConference.service.ts"],"names":[],"mappings":"AAOA,sBAAsB;AAEtB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAc/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAKhG,OAAO,KAAK,EAAiB,kBAAkB,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAC9F,OAAO,EAAiB,gBAAgB,EAAkB,yBAAyB,EAAyI,MAAM,6BAA6B,CAAC;AAUhQ,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAKxD,OAAO,KAAK,EAAiC,oBAAoB,EAAE,MAAM,gEAAgE,CAAC;AAK1I,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAG7E,YAAY,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAE7E,YAAY,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE;;;;;;GAMG;AACH,MAAM,WAAW,wBAAwB;IACrC,6EAA6E;IAC7E,QAAQ,CAAC,GAAG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kB,CAAC;IAsDpF,OAAO,CAAC,YAAY;CAmBvB"}
@@ -0,0 +1,24 @@
1
+ import type { WebinarCodecs } from "../../models";
2
+ /**
3
+ * Encoding profiles. `high` means 720p for a camera and 1080p for a screen share -- a talking head
4
+ * needs far less definition than a slide. `detailed` is 1080p whatever the media: it exists for the
5
+ * speaker PiP, where the camera channel carries a screen share composited behind the speaker and
6
+ * the usual camera profile would make dense text unreadable.
7
+ */
8
+ export type WebinarConstraintResolution = "detailed" | "high" | "medium" | "low" | "min";
9
+ export interface WebinarScaleFactor {
10
+ scaleFactor: number;
11
+ scaleInfo: string;
12
+ }
13
+ /**
14
+ * Compute the WebRTC scale-resolution-down factor to apply on a video track so its
15
+ * encoded height matches the target resolution profile. Returns the factor plus a
16
+ * human-readable description used for logging.
17
+ */
18
+ export declare function computeScaleFactor(track: MediaStreamTrack, resolution: WebinarConstraintResolution, sharing: boolean): WebinarScaleFactor;
19
+ /**
20
+ * Resolve the video / sharing codecs to use, reading the operator overrides from
21
+ * localStorage and falling back to vp8.
22
+ */
23
+ export declare function manageCodecs(): WebinarCodecs;
24
+ //# sourceMappingURL=webinarConference.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webinarConference.utils.d.ts","sourceRoot":"","sources":["../../../src/services/webinars/webinarConference.utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE;;;;;GAKG;AACH,MAAM,MAAM,2BAA2B,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAC;AAEzF,MAAM,WAAW,kBAAkB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,2BAA2B,EAAE,OAAO,EAAE,OAAO,GAAG,kBAAkB,CA+BzI;AAED;;;GAGG;AACH,wBAAgB,YAAY,IAAI,aAAa,CAU5C"}
@@ -0,0 +1,43 @@
1
+ import type { Webinar, WebinarParticipant } from "../../models/webinar.model";
2
+ import { WebinarCSVStatus } from "../../models/webinar.model";
3
+ import type { WebinarServiceRB } from "../../services/webinars/webinars.service";
4
+ export declare abstract class AbstractWebinarService {
5
+ abstract add(webinar: Webinar, participant: WebinarParticipant): Promise<Webinar>;
6
+ abstract approve(webinar: Webinar, emails: string[]): Promise<Webinar>;
7
+ abstract reject(webinar: Webinar, emails: string[]): Promise<Webinar>;
8
+ abstract resendInvitationMail(webinar: Webinar, emails: string[]): Promise<Webinar>;
9
+ abstract getInfo(webinar: Webinar, email: string): Promise<any>;
10
+ abstract getCSVTemplateUrl(): Promise<string>;
11
+ abstract getCSVText(webinar: Webinar): Promise<string>;
12
+ abstract checkCSV(webinar: Webinar, CSVBuffer: string): Promise<any>;
13
+ abstract importCSV(webinar: Webinar, CSVBuffer: string): Promise<Webinar>;
14
+ abstract authenticate(openInviteId: string, joinUuid: string, agreement: boolean, accessCode: string): Promise<any>;
15
+ abstract joinWebinar(openInviteId: string, joinUuid: string, accessCode: string): Promise<any>;
16
+ abstract joinWebinarAsRainbowAttendee(webinarId: string): Promise<any>;
17
+ }
18
+ export declare class WebinarParticipantsService extends AbstractWebinarService {
19
+ private webinarService;
20
+ private authService;
21
+ private logger;
22
+ private errorHelperService;
23
+ static create(webinarService: WebinarServiceRB): WebinarParticipantsService;
24
+ constructor(webinarService: WebinarServiceRB);
25
+ add(webinar: Webinar, participant: WebinarParticipant): Promise<Webinar>;
26
+ approve(webinar: Webinar, emails: string[]): Promise<Webinar>;
27
+ reject(webinar: Webinar, emails: string[]): Promise<Webinar>;
28
+ resendInvitationMail(webinar: Webinar, emails: string[]): Promise<Webinar>;
29
+ getInfo(webinar: Webinar, email: string): Promise<any>;
30
+ getCSVTemplateUrl(): Promise<string>;
31
+ getCSVText(webinar: Webinar): Promise<string>;
32
+ checkCSV(webinar: Webinar, CSVBuffer: string): Promise<WebinarCSVStatus>;
33
+ importCSV(webinar: Webinar, CSVBuffer: string): Promise<Webinar>;
34
+ getImportDetails(webinar: Webinar): Promise<Webinar>;
35
+ authenticate(openInviteId: string, joinUuid: string, agreement?: boolean, accessCode?: string, userData?: any): Promise<any>;
36
+ private guestLogon;
37
+ private getAccount;
38
+ joinWebinar(openInviteId: string, joinUuid: string, accessCode?: string): Promise<any>;
39
+ joinWebinarAsRainbowAttendee(webinarId: string): Promise<any>;
40
+ declineWebinarInvitation(openInviteId: string, joinUuid: string): Promise<any>;
41
+ private unEntity;
42
+ }
43
+ //# sourceMappingURL=webinarParticipants.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webinarParticipants.service.d.ts","sourceRoot":"","sources":["../../../src/services/webinars/webinarParticipants.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAAiB,MAAM,2CAA2C,CAAC;AAK5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAGhG,8BAAsB,sBAAsB;aACxB,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;aACxE,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;aAC7D,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;aAC5D,oBAAoB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;aAC1E,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;aACtD,iBAAiB,IAAI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O,CAAC;IAgB1E,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAetD,iBAAiB,IAAI,OAAO,CAAC,MAAM,CAAC;IAkBpC,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;IAkB7C,QAAQ,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAgDxE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAkBhE,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAiBpD,YAAY,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,GAAE,OAAe,EAAE,UAAU,GAAE,MAAa,EAAE,QAAQ,GAAE,GAAU,GAAG,OAAO,CAAC,GAAG,CAAC;YAuB9I,UAAU;YAcV,UAAU;IAqCX,WAAW,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,GAAE,MAAa,GAAG,OAAO,CAAC,GAAG,CAAC;IAmB5F,4BAA4B,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAiB7D,wBAAwB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAiB3F,OAAO,CAAC,QAAQ;CAGnB"}
@@ -0,0 +1,25 @@
1
+ import type { Webinar } from "../../models/webinar.model";
2
+ import type { WebinarServiceRB } from "../../services/webinars/webinars.service";
3
+ export declare abstract class AbstractWebinarSpeakersService {
4
+ abstract get(webinar: Webinar, id: string): any;
5
+ abstract invite(webinar: Webinar, contactId: string[], emails: string[]): Promise<void>;
6
+ abstract remove(webinar: Webinar, contactId: string[], emails: string[]): Promise<void>;
7
+ abstract promoteSpeakers(webinar: Webinar, users: string[]): Promise<void>;
8
+ abstract demoteOrganizers(webinar: Webinar, users: string[]): Promise<void>;
9
+ abstract updateOrganizer(webinar: Webinar, user: string, hightlighted: boolean): Promise<void>;
10
+ }
11
+ export declare class WebinarSpeakersService extends AbstractWebinarSpeakersService {
12
+ private webinarService;
13
+ private authService;
14
+ private logger;
15
+ private errorHelperService;
16
+ static create(webinarService: WebinarServiceRB): WebinarSpeakersService;
17
+ constructor(webinarService: WebinarServiceRB);
18
+ get(webinar: Webinar, id: string): any;
19
+ invite(webinar: Webinar, users: string[], emails: string[]): Promise<any>;
20
+ remove(webinar: Webinar, users: string[], emails: string[]): Promise<void>;
21
+ promoteSpeakers(webinar: Webinar, users: string[]): Promise<void>;
22
+ demoteOrganizers(webinar: Webinar, users: string[]): Promise<void>;
23
+ updateOrganizer(webinar: Webinar, userId: string, hightlighted: boolean): Promise<void>;
24
+ }
25
+ //# sourceMappingURL=webinarSpeakers.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webinarSpeakers.service.d.ts","sourceRoot":"","sources":["../../../src/services/webinars/webinarSpeakers.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AAIzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAEhG,8BAAsB,8BAA8B;aAChC,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,GAAG,GAAG;aACtC,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;aAC9E,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;aAC9E,eAAe,CAAC,OAAO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from "../../services/webinars/webinars.service";
3
+ export type StoryLineActionType = "intro" | "outro" | "speaker-on-stage" | "media-play" | "custom";
4
+ export type StoryLineItemStatus = "pending" | "active" | "completed" | "skipped";
5
+ export interface StoryLinePerson {
6
+ id: string;
7
+ displayName: string;
8
+ avatarUrl?: string;
9
+ }
10
+ export interface StoryLineItem {
11
+ id: string;
12
+ label: string;
13
+ actionType: StoryLineActionType;
14
+ durationSeconds: number;
15
+ people: StoryLinePerson[];
16
+ status: StoryLineItemStatus;
17
+ notes?: string;
18
+ actualDurationSeconds?: number;
19
+ color?: string;
20
+ payload?: unknown;
21
+ }
22
+ export interface WebinarStoryLine {
23
+ webinarId: string;
24
+ version: number;
25
+ activeIndex: number;
26
+ maxDurationSeconds: number;
27
+ items: StoryLineItem[];
28
+ createdAt: string;
29
+ updatedAt: string;
30
+ }
31
+ export type StoryLinePatchOperation = {
32
+ type: "execute-item";
33
+ itemId: string;
34
+ activeIndex: number;
35
+ } | {
36
+ type: "add-item";
37
+ item: StoryLineItem;
38
+ insertAt: number;
39
+ } | {
40
+ type: "delete-item";
41
+ itemId: string;
42
+ } | {
43
+ type: "reorder-item";
44
+ itemId: string;
45
+ previousIndex: number;
46
+ currentIndex: number;
47
+ } | {
48
+ type: "edit-duration";
49
+ itemId: string;
50
+ durationSeconds: number;
51
+ } | {
52
+ type: "edit-label";
53
+ itemId: string;
54
+ label: string;
55
+ } | {
56
+ type: "edit-status";
57
+ itemId: string;
58
+ status: StoryLineItemStatus;
59
+ } | {
60
+ type: "set-active-index";
61
+ activeIndex: number;
62
+ };
63
+ export declare enum WebinarStoryLineEvents {
64
+ STORY_LINE_LOADED = "storyLine:loaded",
65
+ STORY_LINE_UPDATED = "storyLine:updated",
66
+ EXECUTION_STARTED = "storyLine:executionStarted",
67
+ EDIT_MODE_ENTERED = "storyLine:editModeEntered",
68
+ EDIT_MODE_EXITED = "storyLine:editModeExited"
69
+ }
70
+ /**
71
+ * Applies a {@link StoryLinePatchOperation} to a copy of the items array and
72
+ * returns the new array. The original array is never mutated.
73
+ */
74
+ export declare function applyDelta(items: StoryLineItem[], operation: StoryLinePatchOperation): StoryLineItem[];
75
+ export interface WebinarStoryLineService {
76
+ loadStoryLine: (webinar: Webinar) => Promise<WebinarStoryLine | null>;
77
+ applyPatch: (webinar: Webinar, operation: StoryLinePatchOperation) => Promise<WebinarStoryLine | null>;
78
+ saveFullStoryLine: (webinar: Webinar, storyLine: WebinarStoryLine) => Promise<WebinarStoryLine>;
79
+ getStoryLine: (webinar: Webinar) => WebinarStoryLine | null;
80
+ notifyEditModeEntered: (webinar: Webinar) => void;
81
+ notifyEditModeExited: (webinar: Webinar) => void;
82
+ attachListeners: () => void;
83
+ detachListeners: () => void;
84
+ }
85
+ export declare class WebinarStoryLineServiceRB implements WebinarStoryLineService {
86
+ private readonly webinarService;
87
+ private readonly logger;
88
+ private readonly authService;
89
+ private readonly errorHelperService;
90
+ private readonly xmppService;
91
+ /** Local cache: webinarId → WebinarStoryLine */
92
+ private readonly cache;
93
+ private storyLineXmppListener;
94
+ /** URL of the mock / real backend. Replace with config.restServerUrl once the real backend is ready. */
95
+ private readonly baseUrl;
96
+ private constructor();
97
+ static create(webinarService: WebinarServiceRB): WebinarStoryLineServiceRB;
98
+ attachListeners(): void;
99
+ detachListeners(): void;
100
+ getStoryLine(webinar: Webinar): WebinarStoryLine | null;
101
+ loadStoryLine(webinar: Webinar): Promise<WebinarStoryLine | null>;
102
+ applyPatch(webinar: Webinar, operation: StoryLinePatchOperation): Promise<WebinarStoryLine | null>;
103
+ saveFullStoryLine(webinar: Webinar, storyLine: WebinarStoryLine): Promise<WebinarStoryLine>;
104
+ /**
105
+ * Broadcasts to other organizers that this client entered live-edit mode.
106
+ * Client-to-clients only — no backend persistence.
107
+ */
108
+ notifyEditModeEntered(webinar: Webinar): void;
109
+ /**
110
+ * Broadcasts to other organizers that this client exited live-edit mode.
111
+ * Client-to-clients only — no backend persistence.
112
+ */
113
+ notifyEditModeExited(webinar: Webinar): void;
114
+ private onStoryLineXmppMessage;
115
+ private sendEditModeStanza;
116
+ }
117
+ //# sourceMappingURL=webinarStoryLine.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webinarStoryLine.service.d.ts","sourceRoot":"","sources":["../../../src/services/webinars/webinarStoryLine.service.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAQhG,MAAM,MAAM,mBAAmB,GACvB,OAAO,GACP,OAAO,GACP,kBAAkB,GAClB,YAAY,GACZ,QAAQ,CAAC;AAEjB,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,CAAC;AAEjF,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,mBAAmB,CAAC;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,MAAM,EAAE,mBAAmB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAA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