@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,1114 @@
1
+ /**
2
+ * @module Bubbles
3
+ */
4
+ import type { Subscription } from "rxjs";
5
+ import { BehaviorSubject, Subject } from "rxjs";
6
+ import type { DialInPhoneNumber } from "../models/dial-in-phone-numbers.model";
7
+ import { RBEvent } from "../models/event.model";
8
+ import type { Contact } from "./contact.model";
9
+ import type { User } from "./user.model";
10
+ /**
11
+ * Bubble user role
12
+ * Each role gives access to different functionalities in Bubbles.
13
+ */
14
+ export declare enum BubbleUserRole {
15
+ /**
16
+ * Users are basic members who have accepted an invitation to join a Bubble.
17
+ * They can then send messages in the bubble, join a Web Conference and leave the Bubble.
18
+ * Users have no right to manage the bubble and the members in this one.
19
+ */
20
+ USER = "user",
21
+ /**
22
+ * Organizers are bubble members who have been promoted to manage the bubble and the members in this one.
23
+ * Organizers can be promoted by the owner or by another organizer.
24
+ * They can also subsequently be demoted to basic member by another owner or organizer.
25
+ * Organizers have the ability to invite or remove members/guests in the bubble, to share the bubble through a public direct link.
26
+ * They can send messages in the bubble, start/join a Web Conference and leave the Bubble.
27
+ */
28
+ ORGANIZER = "moderator",
29
+ /**
30
+ * @internal
31
+ */
32
+ GUEST = "guest"
33
+ }
34
+ /**
35
+ * Status of a user in the bubble
36
+ */
37
+ export declare enum BubbleUserStatus {
38
+ /**
39
+ * The user has been invited to join the bubble.
40
+ */
41
+ INVITED = "invited",
42
+ /**
43
+ * The user has accepted the invitation to join the bubble and is an active member.
44
+ */
45
+ ACCEPTED = "accepted",
46
+ /**
47
+ * The user has declined the invitation to join the bubble.
48
+ */
49
+ REJECTED = "rejected",
50
+ /**
51
+ * This status applies to 3 situations:
52
+ * - The user has been removed from the bubble by the owner or one of the organizers.
53
+ * - The user left the bubble on his own and has not requested the creation of an archive for this bubble.
54
+ * - The user has deleted the archive of a bubble he previously left
55
+ */
56
+ DELETED = "deleted",
57
+ /**
58
+ * The user left the bubble of his own.
59
+ * During this operation, the user has requested the creation of an archive for this bubble.
60
+ */
61
+ UNSUBSCRIBED = "unsubscribed"
62
+ }
63
+ /**
64
+ * Type of message history to be returned to a new bubble user.
65
+ */
66
+ export declare enum BubbleHistoryType {
67
+ /**
68
+ * All the previous messages history are provided to a new bubble user
69
+ */
70
+ ALL = "all",
71
+ /**
72
+ * No message history is provided to a new bubble user
73
+ */
74
+ NONE = "none"
75
+ }
76
+ /**
77
+ * Visibility of the bubble
78
+ */
79
+ export declare enum BubbleVisibility {
80
+ /**
81
+ * A private bubble can be joined only by invitation or via a public link if the bubble has been shared (bubble configuration parameter).
82
+ */
83
+ PRIVATE = 0,
84
+ /**
85
+ * A public bubble can be found via a search operation (using 'searchBubbles()' method) or get by its identifier
86
+ * even if a user is not a member of this bubble. Information on such bubbles are provided for guidance only.
87
+ */
88
+ PUBLIC = 1
89
+ }
90
+ /**
91
+ * @eventProperty
92
+ * `Bubble` specific events
93
+ * Can listen to it via `bubble.subscribe()` API
94
+ */
95
+ export declare enum BubbleEvents {
96
+ /**
97
+ * @eventProperty
98
+ * This `RBEvent` is sent when a user has accepted the invitation in the bubble.
99
+ *
100
+ * **Event Data**
101
+ * - **bubbleUser**: The bubble user who has accepted the invitation
102
+ */
103
+ ON_USER_INVITATION_ACCEPTED = "ON_USER_INVITATION_ACCEPTED",
104
+ /**
105
+ * @eventProperty
106
+ * This `RBEvent` is sent when a user has declined the invitation to join the bubble.
107
+ *
108
+ * **Event Data**
109
+ * - **bubbleUser**: The bubble user who has declined the invitation
110
+ */
111
+ ON_USER_INVITATION_DECLINED = "ON_USER_INVITATION_DECLINED",
112
+ /**
113
+ * @eventProperty
114
+ * This `RBEvent` is sent when a user has left the bubble of his own
115
+ * **Event Data**
116
+ * - **bubbleUser**: The bubble user who has left the bubble
117
+ */
118
+ ON_USER_BUBBLE_LEFT = "ON_USER_BUBBLE_LEFT",
119
+ /**
120
+ * @eventProperty
121
+ * This `RBEvent` is sent when a user has been removed from the bubble by the owner or one of the organizers
122
+ * **Event Data**
123
+ * - **bubbleUser**: The bubble user who has been removed from the bubble
124
+ */
125
+ ON_USER_BUBBLE_REMOVED = "ON_USER_BUBBLE_REMOVED",
126
+ /**
127
+ * @eventProperty
128
+ * This RBEvent is sent when the bubble avatar is updated
129
+ */
130
+ ON_AVATAR_UPDATE = "ON_AVATAR_UPDATE",
131
+ /**
132
+ * @eventProperty
133
+ * This RBEvent is sent when the dialInCode is updated
134
+ */
135
+ ON_DIAL_IN_CODE_UPDATE = "ON_DIAL_IN_CODE_UPDATE",
136
+ /**
137
+ * @eventProperty
138
+ * This RBEvent is sent when the includeAllPhoneNumber is updated
139
+ */
140
+ ON_INCLUDE_ALL_PHONENUMBER_UPDATE = "ON_INCLUDE_ALL_PHONENUMBER_UPDATE",
141
+ /**
142
+ * @eventProperty
143
+ * This RBEvent is sent when the dialInPhoneNumber is updated
144
+ */
145
+ ON_DIAL_IN_PHONENUMBER_UPDATE = "ON_DIAL_IN_PHONENUMBER_UPDATE",
146
+ /**
147
+ * @eventProperty
148
+ * This RB event is sent when the user's role is updated
149
+ */
150
+ ON_USER_ROLE_UPDATE = "ON_USER_ROLE_UPDATE",
151
+ /**
152
+ * @internal
153
+ * @eventProperty
154
+ * @param lobbyUsers - the updated list of lobby users
155
+ * This RB event is send when the list of users in the waiting lobby is updated
156
+ */
157
+ ON_USERS_IN_LOBBY_UPDATE = "ON_USERS_IN_LOBBY_UPDATE",
158
+ /**
159
+ * @internal
160
+ * @eventProperty
161
+ * @param status - The current status of the request of type AccessRequestStatus
162
+ * This RB event is send when the connected user's request to join bubble is updated (or created)
163
+ */
164
+ ON_MY_USER_IN_LOBBY_UPDATE = "ON_MY_USER_IN_LOBBY_UPDATE",
165
+ /**
166
+ * @eventProperty
167
+ * This RB event is send when the conference attached to this bubble is started
168
+ */
169
+ ON_CONFERENCE_START_EVENT = "ON_CONFERENCE_START_EVENT",
170
+ /**
171
+ * @eventProperty
172
+ * This RB event is sent when the conference attached to this bubble is Stopped
173
+ */
174
+ ON_CONFERENCE_STOP_EVENT = "ON_CONFERENCE_STOP_EVENT",
175
+ /**
176
+ * @eventProperty
177
+ * This RB event is sent when the conference attached to this bubble is Stopped
178
+ */
179
+ ON_TAGS_UPDATED = "ON_TAGS_UPDATED",
180
+ /**
181
+ * @eventProperty
182
+ * This RB event is sent when the bubble password configuration has changed (or password is reset)
183
+ */
184
+ ON_BUBBLE_PASSWORD_UPDATED = "ON_BUBBLE_PASSWORD_UPDATED",
185
+ /**
186
+ * @eventProperty
187
+ * This RB event is sent when the "hide history for new members" setting of the bubble public link has changed
188
+ */
189
+ ON_BUBBLE_HISTORY_SETTING_UPDATED = "ON_BUBBLE_HISTORY_SETTING_UPDATED",
190
+ /**
191
+ * @eventProperty
192
+ * This RB event is sent when the bubble public link (open invite) is bound, reset or unbound
193
+ */
194
+ ON_BUBBLE_OPEN_INVITE_UPDATED = "ON_BUBBLE_OPEN_INVITE_UPDATED",
195
+ /**
196
+ * @eventProperty
197
+ * This RB WTF event is sent when something happen !!!
198
+ * Temporary event, please don't use this stuff
199
+ */
200
+ ON_DATA_UPDATED = "ON_DATA_UPDATED"
201
+ }
202
+ /**
203
+ * Bubble data that can be cleaned
204
+ */
205
+ export declare enum BubbleCleanupData {
206
+ /**
207
+ * All rooms IM will be removed for all room members, all pins will also be removed
208
+ */
209
+ IM = "im",
210
+ /**
211
+ * All pools associated to that room will be removed
212
+ */
213
+ POLL = "poll",
214
+ /**
215
+ * That rooms won't be viewer of any document (Document's list will appear empty)
216
+ */
217
+ DOCUMENT = "document",
218
+ /**
219
+ * All members of this room that is not an organizer will be removed
220
+ */
221
+ MEMBER = "member",
222
+ /**
223
+ * All recordings will be removed
224
+ */
225
+ RECORD = "record"
226
+ }
227
+ export declare enum BubbleReceivedFilePolicyValue {
228
+ ENABLED = "enabled",
229
+ DISABLED = "disabled",
230
+ INTERNAL_ONLY = "internalOnly"
231
+ }
232
+ export declare enum BubbleShareFileCustomisationValue {
233
+ ENABLED = "enabled",
234
+ DISABLED = "disabled"
235
+ }
236
+ /**
237
+ * This interface defines the settings that can be sent to the setSettings bubble API
238
+ */
239
+ export interface BubbleSettings {
240
+ /**
241
+ * The bubble name
242
+ */
243
+ name?: string;
244
+ /**
245
+ * The bubble description
246
+ */
247
+ description?: string;
248
+ /**
249
+ * A user can create a bubble and not have to register users. He can share instead a public link also called 'public URL'(users public link).
250
+ * Depending on the autoRegister value, if another person uses the link to join the bubble :
251
+ * autoRegister = 'unlock':
252
+ * If this user is not yet registered inside this bubble, he is automatically included with the status 'accepted' and join the bubble.
253
+ * autoRegister = 'lock':
254
+ * If this user is not yet registered inside this bubble, he can't access to the bubble. So that he can't join the bubble.
255
+ * autoRegister = 'unlock_ack' (value not authorized yet):
256
+ * If this user is not yet registered inside this bubble, he can't access to the bubble waiting for the bubble's owner acknowledgment.
257
+ */
258
+ autoRegister?: string;
259
+ /**
260
+ * Invited users will be auto-added in the bubble
261
+ */
262
+ autoAcceptInvitation?: boolean;
263
+ /**
264
+ * In case of conference in this bubble, all participants will be muted upon join
265
+ */
266
+ muteUponEntry?: boolean;
267
+ /**
268
+ * In the event of a conference in this bubble, specify whether a local tone should be played each time a participant joins the conference.
269
+ */
270
+ playEntryTone?: boolean;
271
+ /**
272
+ * When active, only organizers appear on stage; other participants are hidden unless explicitly invited.
273
+ */
274
+ stageMode?: boolean;
275
+ /**
276
+ * Indicates if user chooses to include all Dial In phone numbers
277
+ */
278
+ includeAllPhoneNumbers?: boolean;
279
+ /**
280
+ * Content to clear automatically at conference end (only room creator can modify it)
281
+ */
282
+ contentToAutoClear?: {
283
+ im: boolean;
284
+ poll: boolean;
285
+ document: boolean;
286
+ member: boolean;
287
+ };
288
+ recordingAndTranscription?: ConferenceRecordingConfig;
289
+ }
290
+ /**
291
+ * In order to classify and find a bubble quickly and easily, a user can decide to assign tags to it.
292
+ *
293
+ * A tag is defined by a name and a color
294
+ * @module BubbleTags
295
+ */
296
+ export interface BubbleTag {
297
+ /**
298
+ * The Name of the tag
299
+ */
300
+ name: string;
301
+ /**
302
+ * The color of the tag in hexadecimal color code (ex #ff9900)
303
+ */
304
+ color?: string;
305
+ /**
306
+ * The tagged bubble identifiers
307
+ * @internal
308
+ */
309
+ bubbleIds?: string[];
310
+ }
311
+ export interface BubbleUser {
312
+ /**
313
+ * The user object related to the user
314
+ * @readonly
315
+ */
316
+ user: User;
317
+ /**
318
+ * Date when the user has been added in the bubble
319
+ * @readonly
320
+ */
321
+ date: Date;
322
+ /**
323
+ * Role of the user in the bubble
324
+ * @readonly
325
+ */
326
+ role: BubbleUserRole;
327
+ /**
328
+ * The status of the user in the bubble.
329
+ * @readonly
330
+ */
331
+ status: BubbleUserStatus;
332
+ /**
333
+ * The ID of the user that has invited us to the bubble
334
+ * @readonly
335
+ */
336
+ invitingUserId?: string;
337
+ }
338
+ export interface BubbleInvitation {
339
+ /**
340
+ * The bubble database Identifier
341
+ * @readonly
342
+ */
343
+ dbId: string;
344
+ /**
345
+ * The name of the bubble
346
+ * @readonly
347
+ */
348
+ name: string;
349
+ /**
350
+ * A description of the purpose of the bubble
351
+ * @readonly
352
+ */
353
+ description: string;
354
+ /**
355
+ * The bubble avatar
356
+ * @readonly
357
+ */
358
+ avatar: string;
359
+ /**
360
+ * Date when the user has been added in the bubble
361
+ * @readonly
362
+ */
363
+ invitationDate?: Date;
364
+ /**
365
+ * Role of the invited user in the bubble during the invitation step
366
+ * @readonly
367
+ */
368
+ invitationRole?: BubbleUserRole;
369
+ /**
370
+ * The ID of the user that has invited us to the bubble
371
+ * @readonly
372
+ */
373
+ invitingUserId?: string;
374
+ /**
375
+ * Accept invitation to join a bubble
376
+ */
377
+ acceptInvitation: () => Promise<Bubble>;
378
+ /**
379
+ * Decline invitation to join a bubble
380
+ */
381
+ declineInvitation: () => Promise<Bubble>;
382
+ /**
383
+ * Specifies whether the invitation is to join a bubble or a webinar
384
+ */
385
+ isWebinarInvitation: () => boolean;
386
+ /**
387
+ * Method to return a simplified JSON representation of the Bubble object
388
+ */
389
+ toJSON: () => any;
390
+ }
391
+ export interface ConferenceRecordingConfig {
392
+ /**
393
+ * The name of the record file
394
+ */
395
+ recordingName?: string;
396
+ /**
397
+ * Will recording be automatically deleted after 15 days? Only transcription will remains
398
+ */
399
+ persistent?: boolean;
400
+ /**
401
+ * Is transcription requested?
402
+ */
403
+ transcription?: boolean;
404
+ /**
405
+ * Is transcript requested?
406
+ */
407
+ summary?: boolean;
408
+ /**
409
+ * Prompt id for summary
410
+ */
411
+ summaryPrompt?: string;
412
+ /**
413
+ * The input language used for live transcription
414
+ */
415
+ inputLanguageLiveTranscription?: string;
416
+ /**
417
+ * The input language used for transcription
418
+ */
419
+ inputLanguageTranscription?: string;
420
+ }
421
+ /**
422
+ * The saved informations inside the bubble regarding conferences
423
+ */
424
+ export interface BubbleConferenceInfo {
425
+ /**
426
+ * If all numbers are included for the dial-in function
427
+ */
428
+ includeAllPhoneNumbers?: boolean;
429
+ /**
430
+ * Are users muted upon entry in the conference. Managed only by owner
431
+ */
432
+ muteUponEntry?: boolean;
433
+ /**
434
+ * The list of phone numbers avaialbe for dial-in
435
+ */
436
+ phoneNumbers?: string[];
437
+ /**
438
+ * If the client should play an entry tone when someone joins the conference
439
+ */
440
+ playEntryTone?: boolean;
441
+ /**
442
+ * When active, only organizers appear on stage; other participants are hidden unless explicitly invited.
443
+ */
444
+ stageMode?: boolean;
445
+ /**
446
+ * Information about the current active conference session inside this bubble
447
+ */
448
+ sessions?: any[];
449
+ /**
450
+ * Information about the current configuration regarding recording and transcription
451
+ */
452
+ recordingAndTranscription?: ConferenceRecordingConfig;
453
+ }
454
+ export interface Bubble {
455
+ conference: BubbleConferenceInfo;
456
+ /**
457
+ * The bubble database Identifier
458
+ * @readonly
459
+ */
460
+ dbId: string;
461
+ /**
462
+ * The jid associated to this bubble
463
+ * @readonly
464
+ */
465
+ jid: string;
466
+ /**
467
+ * The name of the bubble
468
+ * @readonly
469
+ */
470
+ name: string;
471
+ /**
472
+ * A description of the purpose of the bubble
473
+ * @readonly
474
+ */
475
+ description: string;
476
+ /**
477
+ * The bubble avatar
478
+ * @readonly
479
+ */
480
+ avatar: string;
481
+ /**
482
+ * The visibility of the bubble
483
+ * A public bubble can be found via a search operation (using 'searchBubbles()' method) or get by its identifier
484
+ * even if the connectedUser is not a member of this bubble.
485
+ * A private bubble can be joined only by invitation or via a public link if the bubble has been shared for this purpose.
486
+ * @readonly
487
+ */
488
+ visibility: BubbleVisibility;
489
+ /**
490
+ * Allow newcomers to access or not messages history. If the value is "all", a newcomer can retrieve the full bubble messages history
491
+ * @readonly
492
+ */
493
+ history: BubbleHistoryType;
494
+ /**
495
+ * When set to true, allows to automatically add participants in the bubble (default behavior is that participants need to accept the bubble invitation first before being a member of this bubble)
496
+ * @readonly
497
+ */
498
+ autoAcceptInvitation: boolean;
499
+ /**
500
+ * A user can create a bubble and not have to register users. He can share instead a public link also called 'public URL'(users public link).
501
+ * Depending on the autoRegister value, if another person uses the link to join the bubble :
502
+ * autoRegister = 'unlock':
503
+ * If this user is not yet registered inside this bubble, he is automatically included with the status 'accepted' and join the bubble.
504
+ * autoRegister = 'lock':
505
+ * If this user is not yet registered inside this bubble, he can't access to the bubble. So that he can't join the bubble.
506
+ * autoRegister = 'unlock_ack' (value not authorized yet):
507
+ * If this user is not yet registered inside this bubble, he can't access to the bubble waiting for the bubble's owner acknowledgment.
508
+ * @readonly
509
+ */
510
+ autoRegister: string;
511
+ /**
512
+ * If the bubble has alert notification feature enabled
513
+ * The notification feature must be enabled
514
+ * @readonly
515
+ */
516
+ isAlertNotificationEnabled: boolean;
517
+ /**
518
+ * The owner of the bubble
519
+ * @readonly
520
+ */
521
+ owner: User;
522
+ /**
523
+ * Information on the connected user in this bubble.
524
+ * @readonly
525
+ */
526
+ bubbleConnectedUser: BubbleUser;
527
+ /**
528
+ * Custom data associated to the bubble
529
+ * @readonly
530
+ */
531
+ customData: any;
532
+ /**
533
+ * The number of users of the bubble with the status 'accepted' (he joined the bubble) or 'invited'.
534
+ * They are considered to be the actual participants in the bubble.
535
+ * @readonly
536
+ */
537
+ nbParticipants: number;
538
+ /**
539
+ * The creation date of the bubble
540
+ * @readonly
541
+ */
542
+ creationDate?: Date;
543
+ /**
544
+ * last activity date of bubble
545
+ * @readonly
546
+ */
547
+ lastActivityDate?: Date;
548
+ /**
549
+ * Indicates whether the bubble is ready for chatting.
550
+ * @readonly
551
+ */
552
+ ready: boolean;
553
+ /**
554
+ * Rainbow HUB specificity for Hunting Group .
555
+ * Specifies whether the bubble is created as managed bubble.
556
+ * In this case, there is no owner of the bubble; each member acts as organizer.
557
+ * In addition, a group member cannot leave the bubble and cannot be removed from the bubble.
558
+ * @readonly
559
+ */
560
+ isHuntingGroup: boolean;
561
+ /**
562
+ * dbId of the supervised user when this conference was created via a barge-in (null otherwise).
563
+ * Used to auto-delegate the conference back to the supervised user when the supervisor hangs up.
564
+ * Runtime-only marker, not persisted.
565
+ */
566
+ bargeInSupervisedUserId: string | null;
567
+ /**
568
+ * dbIds of the supervised members of a barge-in conference (supervisee + third party if it is a
569
+ * supervised Rainbow user). Used to hide the barge-in button on those members' cells. Runtime-only.
570
+ */
571
+ bargeInMemberDbIds: string[];
572
+ /**
573
+ * The bubble is managed by a Rainbow user acting as the bubble administrator.
574
+ * This user is not a member of the bubble (It is not known to other members) and does not, by default, have the role of owner.
575
+ * But it can manage the list (settings, members), as if it were the owner. In fact, it can give itself this role.
576
+ * @readonly
577
+ */
578
+ isOwnedByBubbleAdmin: boolean;
579
+ /**
580
+ * Bubble associated tags
581
+ * @readonly
582
+ */
583
+ tags: BubbleTag[];
584
+ /**
585
+ * The bubble is managed by a Rainbow user acting as the bubble administrator.
586
+ * This user is not a member of the bubble (It is not known to other members) and does not, by default, have the role of owner.
587
+ * But it can manage the list (settings, members), as if it were the owner. In fact, it can give itself this role.
588
+ */
589
+ contentToClear: {
590
+ im: boolean;
591
+ document: boolean;
592
+ poll: boolean;
593
+ member: boolean;
594
+ record: boolean;
595
+ };
596
+ /**
597
+ * Define if the room restricts the receiving of files to protect from data coming from a foreign user of the company, for all of its users
598
+ * - ‘enabled’ Users can receive files without restrictions (default value)
599
+ * - ‘internalOnly’ Users can receive files only within internal company communications
600
+ * - ‘disabled’ Users can’t receive files under any circumstances. Best for users or roles where no file exchange is necessary or allowed. This ensures maximum protection against unauthorized or potentially harmful file transfers.
601
+ */
602
+ receivedFilePolicy: BubbleReceivedFilePolicyValue;
603
+ /**
604
+ * Defines the rights to upload file in a the bubble for the connected user
605
+ */
606
+ shareFileCustomisation: BubbleShareFileCustomisationValue;
607
+ /**
608
+ * Defined when receivedFilePolicy is internalOnly so that bubble affiliation to a given company can be checked
609
+ */
610
+ companyId: string;
611
+ /**
612
+ * True if the bubble is protected by password (when joining with external link)
613
+ */
614
+ hasPassword: boolean;
615
+ /**
616
+ * The current bubble password; Visible only for owner of the bubble
617
+ */
618
+ bubblePassword: string;
619
+ /**
620
+ * Indicates this room is a Push-To-Talk radio transceiver channel.
621
+ * The underlying conference is permanent and starts when the first participant joins.
622
+ */
623
+ isPushToTalk?: boolean;
624
+ /**
625
+ * Permits to emit BubbleEvents events
626
+ * Can be listened via bubble.subscribe() API
627
+ * @param name - the name of the event
628
+ * @param data - the data to be send (an object
629
+ */
630
+ sendEvent: (name: BubbleEvents, data?: any) => void;
631
+ /**
632
+ * Subscribe to updates on this bubble (all events are of `RBEvent` type)
633
+ * @param handler - The call-back function that will be subscribed to the RxJS subject
634
+ */
635
+ subscribe: (handler: (event: RBEvent<BubbleEvents>) => any, eventNames?: BubbleEvents | BubbleEvents[]) => Subscription;
636
+ /**
637
+ * Bubbles have a default avatar made up of the avatars of the first 4 participants in the bubble.
638
+ * But this avatar can be overloaded by an image chosen by the user
639
+ * @param base64AvatarImg - The image to be set
640
+ * @param width - The width of the image to be set
641
+ * @param height - The height of the image to be set
642
+ */
643
+ setCustomAvatar: (base64AvatarImg: string, width?: number, height?: number) => Promise<Bubble>;
644
+ /**
645
+ * Remove this bubble custom avatar (reset to default avatar)
646
+ */
647
+ removeCustomAvatar: () => Promise<Bubble>;
648
+ /**
649
+ * Update the bubble settings
650
+ * @param bubbleSettings - The settings to be updated in the bubble
651
+ */
652
+ setSettings: (bubbleSettings: BubbleSettings) => Promise<Bubble>;
653
+ /**
654
+ * Update the bubble custom data
655
+ * @param customData - the custom data to be set to the bubble
656
+ */
657
+ setCustomData: (customData: any) => Promise<Bubble>;
658
+ /**
659
+ * Update user's role in the Bubble.
660
+ * This operation is only authorised for the organizers and the owner of the bubble.
661
+ * The user can be updated to ORGANIZER or USER.
662
+ * @param user - The user that should be updated
663
+ * @param role - New user role: ORGANIZER or USER
664
+ */
665
+ setUserRole: (user: User, role: BubbleUserRole) => Promise<Bubble>;
666
+ /**
667
+ * Change the owner of the bubble
668
+ * @param newOwner - The user that should be the new owner
669
+ */
670
+ changeOwner: (newOwner: User) => Promise<Bubble>;
671
+ /**
672
+ * Add user to the bubble; Can be used to directly add user without invitation or as a organizer
673
+ * @param user - The user to add in the bubble
674
+ * @param role - The user role in this bubble ('user', 'organizer' or 'guest'), by default is 'user'
675
+ * @param reason - Text that will be join in the invitation
676
+ * @param withoutInvitation - When set to true no invitation is sent
677
+ * @param hideHistory - When set to true, this user will not have access to messages/files/polls prior to his join date
678
+ */
679
+ addUser: (user: User, role?: BubbleUserRole, reason?: string, withoutInvitation?: boolean, hideHistory?: boolean) => Promise<Bubble>;
680
+ /**
681
+ * Get all bubble users
682
+ *
683
+ * The 'role' parameter allows to get filtered user arrays (only users or only organizers)
684
+ *
685
+ * **Please note:** this method is asynchronous, as user loading is performed lazily to avoid weighing down the application.
686
+ * @param role - users role (defaut value is 'ALL')
687
+ */
688
+ getUsers: (role?: "ALL" | "USER" | "ORGANIZER") => Promise<BubbleUser[]>;
689
+ /**
690
+ * Remove a user from the Bubble.
691
+ * API only available for organizers / owner of the bubble
692
+ * The user will no longer have access to this bubble nor the history
693
+ * @param user - the contact that should be removed
694
+ */
695
+ removeUser: (user: User) => Promise<Bubble>;
696
+ /**
697
+ * Mass provisionning API, allow to invite users and guests to the bubble;
698
+ * The guests will receive an email to join the bubble.
699
+ * @param users - The users to add bubble
700
+ * @param emails - List of emails to invite to the bubble
701
+ * @param role - role to be applied to all invited users (organizer for instance)
702
+ * @param hideHistory - When set to true, none of the invited users will have access to messages/files/polls prior to their join date
703
+ */
704
+ inviteUsers: (users: User[], emails?: string[], role?: BubbleUserRole, hideHistory?: boolean) => Promise<Bubble>;
705
+ /**
706
+ * Cancel guest invitations for this bubble (chat scenario).
707
+ * Removes the provided guest emails from the list of guests attached to the room.
708
+ * All active users in the room are notified about the new list of guest emails left.
709
+ * @param emails - List of guest email addresses to cancel the invitation for
710
+ */
711
+ cancelGuestInvitations: (emails: string[]) => Promise<void>;
712
+ /**
713
+ * Promote all users (basic member) of a bubble to organizer role.
714
+ * This operation is only authorised for the owner of the bubble.
715
+ */
716
+ promoteAllUsers: () => Promise<Bubble>;
717
+ /**
718
+ * Demote all organizers of a bubble, except the owner, to user (basic member) role.
719
+ * This operation is only authorised for the owner of the bubble.
720
+ */
721
+ demoteAllUsers: () => Promise<Bubble>;
722
+ /**
723
+ * User leaves the bubble.
724
+ * If createArchive is TRUE, the bubble will be archived, i.e. the user can only read the
725
+ * content that's already in the bubble, but no further action can be done inside the bubble
726
+ * The participant will go to UNSUBSCRIBED state (read-only)
727
+ * @param createArchive - If TRUE, the bubble will be archived for my user
728
+ */
729
+ leave: (createArchive?: boolean) => Promise<Bubble | undefined>;
730
+ /**
731
+ * Delete own bubble.
732
+ * If createArchive is TRUE, the bubble will be archived, i.e. all users can only read the
733
+ * content that's already in the bubble, but no further action can be done inside the bubble
734
+ * All participants in the bubble will go to UNSUBSCRIBED state (read-only)
735
+ * @param createArchive - If TRUE, the bubble will be archived for all users (i.e. read only mode for all users still inside);
736
+ */
737
+ delete: (createArchive?: boolean) => Promise<Bubble | undefined>;
738
+ /**
739
+ * Check if the given user is the owner of the bubble
740
+ * @param user - The user to check
741
+ */
742
+ isUserOwner: (user: User) => boolean;
743
+ /**
744
+ * Check if the connected user is the owner of the bubble
745
+ */
746
+ isConnecteUserOwner: () => boolean;
747
+ /**
748
+ * Check if the given user is an organizer of the bubble
749
+ * @param user - The user to check
750
+ */
751
+ isUserOrganizer: (user: User) => boolean;
752
+ /**
753
+ * Check if the connected user is an organizer of the bubble
754
+ */
755
+ isConnecteUserOrganizer: () => boolean;
756
+ /**
757
+ * Check if the connected user is a member of the bubble
758
+ */
759
+ isConnectedUserMember: () => Promise<boolean>;
760
+ /**
761
+ * Indicates whether a conference has already been started in the bubble
762
+ */
763
+ isBubbleConferenceStarted: () => boolean;
764
+ /**
765
+ * Method helper to know if bubble is a webinar bubble
766
+ */
767
+ isWebinarBubble: () => boolean;
768
+ /**
769
+ * In case of active bubble conference, we might know the owner of the conference inside; This API will return the ID of the owner
770
+ */
771
+ getBubbleConferenceOwnerId: () => string;
772
+ /**
773
+ * Method helper retrieve the name of the bubble as displayed in the logs
774
+ */
775
+ getNameForLogs: () => string;
776
+ /**
777
+ * Get the bubble settings
778
+ */
779
+ getSettings: () => BubbleSettings;
780
+ /**
781
+ * Method to retrieve all users of the bubble that have accepted
782
+ */
783
+ getAllAcceptedUsers: () => BubbleUser[];
784
+ /**
785
+ * Method to retrieve conference.dialInCode code
786
+ */
787
+ getDialInCode: () => string;
788
+ /**
789
+ * Method to retrieve conference.phoneNumbers array status
790
+ */
791
+ getPhoneNumbers: () => DialInPhoneNumber[];
792
+ /**
793
+ * Method to create bubble "guest" access code
794
+ */
795
+ createBubbleLink: () => Promise<string>;
796
+ /**
797
+ * Method to delete bubble "guest" access code
798
+ */
799
+ deleteBubbleLink: () => Promise<void>;
800
+ /**
801
+ * Method to reset bubble "guest" access code
802
+ */
803
+ resetBubbleLink: () => Promise<string>;
804
+ /**
805
+ * Method to get bubble "guest" access code
806
+ */
807
+ getBubbleLink: () => Promise<string>;
808
+ /**
809
+ * Method to add already existing tags to bubble
810
+ * @param tagNames - array of tag names to add
811
+ */
812
+ addTags: (tagNames: string[]) => Promise<void>;
813
+ /**
814
+ * Method to remove tags from bubble
815
+ * @param tagNames - array of tag names to remove
816
+ */
817
+ removeTags: (tagNames: string[]) => Promise<void>;
818
+ /**
819
+ * Method to clear specified data from bubble
820
+ * @param clearData - array of data to clear. Possibile values are: im, poll, document, pin
821
+ */
822
+ clearBubbleData: (clearData: BubbleCleanupData[]) => Promise<void>;
823
+ /**
824
+ * Method to return a simplified JSON representation of the Bubble object
825
+ */
826
+ toJSON: () => any;
827
+ /**
828
+ * Check if the bubble is internal to the connected user
829
+ */
830
+ isInternalBubble: () => boolean;
831
+ /**
832
+ * Check if the bubble is external to the connected user
833
+ */
834
+ isExternalBubble: () => boolean;
835
+ }
836
+ /**
837
+ * @internal
838
+ */
839
+ export interface LobbyUser {
840
+ /**
841
+ * The Contact Object
842
+ * @readonly
843
+ */
844
+ contact: Contact;
845
+ /**
846
+ * The date (in string format) when the user has enterred in the lobby
847
+ * @readonly
848
+ */
849
+ additionDate: string;
850
+ }
851
+ /**
852
+ * @internal
853
+ */
854
+ export declare enum AccessRequestStatus {
855
+ /**
856
+ * The request is pending
857
+ */
858
+ PENDING = "pending",
859
+ /**
860
+ * The request is denied
861
+ */
862
+ DENIED = "denied",
863
+ /**
864
+ * The request is accepted
865
+ */
866
+ ACCEPTED = "accepted"
867
+ }
868
+ /**
869
+ * @internal
870
+ * This class represents a Bubble
871
+ * It is a group conversation that allows users to send messages to all the members, start a web conference, spread information faster
872
+ */
873
+ export declare class BubbleRB implements Bubble, BubbleInvitation {
874
+ dbId: string;
875
+ jid: string;
876
+ owner: Contact;
877
+ name: string;
878
+ avatar: string;
879
+ description: string;
880
+ autoAcceptInvitation: boolean;
881
+ history: BubbleHistoryType;
882
+ autoRegister: string;
883
+ contentToAutoClear: {
884
+ im: boolean;
885
+ poll: boolean;
886
+ document: boolean;
887
+ member: boolean;
888
+ };
889
+ visibility: BubbleVisibility;
890
+ /**
891
+ * Indicates whether the bubble is ready for chatting.
892
+ */
893
+ ready: boolean;
894
+ /**
895
+ * The number of users of the bubble with the status 'accepted' (he joined the bubble) or 'invited'.
896
+ * They are considered to be the actual participants in the bubble.
897
+ */
898
+ nbParticipants: number;
899
+ customData: any;
900
+ /**
901
+ * Rainbow HUB specificity for Hunting Group.
902
+ * Specifies whether the bubble is created as managed bubble.
903
+ * In this case, there is no owner of the bubble; each member acts as organizer.
904
+ * In addition, a group member cannot leave the bubble and cannot be removed from the bubble.
905
+ * @readonly
906
+ */
907
+ isHuntingGroup: boolean;
908
+ /**
909
+ * Indicates this room is a Push-To-Talk radio transceiver channel.
910
+ * The underlying conference is permanent and starts when the first participant joins.
911
+ * @readonly
912
+ */
913
+ isPushToTalk: boolean;
914
+ /**
915
+ * dbId of the supervised user when this conference was created via a barge-in (null otherwise).
916
+ * Used to auto-delegate the conference back to the supervised user when the supervisor hangs up.
917
+ * Runtime-only marker, not persisted.
918
+ */
919
+ bargeInSupervisedUserId: string | null;
920
+ /**
921
+ * dbIds of the supervised members of a barge-in conference (supervisee + third party if it is a
922
+ * supervised Rainbow user). Used to hide the barge-in button on those members' cells. Runtime-only.
923
+ */
924
+ bargeInMemberDbIds: string[];
925
+ /**
926
+ * The bubble is managed by a Rainbow user acting as the bubble administrator.
927
+ * This user is not a member of the bubble (It is not known to other members) and does not, by default, have the role of owner.
928
+ * But it can manage the list (settings, members), as if it were the owner. In fact, it can give itself this role.
929
+ * @readonly
930
+ */
931
+ isOwnedByBubbleAdmin: boolean;
932
+ /**
933
+ * If the bubble has alert notification feature enabled
934
+ * The notification feature must be enabled
935
+ * @readonly
936
+ */
937
+ isAlertNotificationEnabled: boolean;
938
+ /**
939
+ * Infos on the connected user in this bubble.
940
+ * Used only as a shortcut to access the information of the user connected to this bubble.
941
+ * This information is actually a ref of the 'users' entry.
942
+ */
943
+ bubbleConnectedUser: BubbleUser;
944
+ /**
945
+ * The bubble is managed by a Rainbow user acting as the bubble administrator.
946
+ * This user is not a member of the bubble (It is not known to other members) and does not, by default, have the role of owner.
947
+ * But it can manage the list (settings, members), as if it were the owner. In fact, it can give itself this role.
948
+ */
949
+ contentToClear: {
950
+ im: boolean;
951
+ document: boolean;
952
+ poll: boolean;
953
+ member: boolean;
954
+ record: boolean;
955
+ };
956
+ /**
957
+ * True if the bubble has waiting lobby activated (for guests)
958
+ */
959
+ hasLobby: boolean;
960
+ /**
961
+ * True if the bubble has password protection activated
962
+ */
963
+ private _hasPassword;
964
+ set hasPassword(value: boolean);
965
+ get hasPassword(): boolean;
966
+ /**
967
+ * True if the bubble has password protection activated
968
+ */
969
+ private _bubblePassword;
970
+ set bubblePassword(value: string);
971
+ get bubblePassword(): string;
972
+ /**
973
+ * True if new members joining this bubble via its public link should not have access to messages/files/polls prior to their join date
974
+ */
975
+ private _hasHiddenHistoryForGuests;
976
+ set hasHiddenHistoryForGuests(value: boolean);
977
+ get hasHiddenHistoryForGuests(): boolean;
978
+ receivedFilePolicy: BubbleReceivedFilePolicyValue;
979
+ shareFileCustomisation: BubbleShareFileCustomisationValue;
980
+ companyId: string;
981
+ private _creationDate?;
982
+ get creationDate(): Date;
983
+ set creationDate(date: Date);
984
+ private _lastActivityDate?;
985
+ get lastActivityDate(): Date;
986
+ set lastActivityDate(date: Date);
987
+ get lobbyUsers(): LobbyUser[];
988
+ get invitationDate(): Date;
989
+ get invitationRole(): BubbleUserRole;
990
+ get invitingUserId(): string;
991
+ initPresPromise: any;
992
+ initPresPromiseResolve: any;
993
+ initPresInterval: any;
994
+ isActive: boolean;
995
+ filterName: string;
996
+ nameForLogs: string;
997
+ tags: BubbleTag[];
998
+ lastAvatarUpdate: string;
999
+ users: BubbleUser[];
1000
+ organizers: BubbleUser[];
1001
+ members: BubbleUser[];
1002
+ guestPhoneNumbers: string[];
1003
+ guestEmails: string[];
1004
+ avatarContacts: any[];
1005
+ endOfConferenceBehavior: any;
1006
+ containerName: string;
1007
+ containerId: string;
1008
+ conference: any;
1009
+ webinarId: string;
1010
+ groupId: string;
1011
+ externalStorageAccessUrl?: string;
1012
+ rxSubject: Subject<any>;
1013
+ usersReady: BehaviorSubject<boolean>;
1014
+ noNotificationPopUp: boolean;
1015
+ selected: boolean;
1016
+ private bubbleService?;
1017
+ private bubbleTagService?;
1018
+ private userService?;
1019
+ private constructor();
1020
+ static create(): BubbleRB;
1021
+ sendEvent(name: BubbleEvents, data?: any): void;
1022
+ subscribe(handler: (event: RBEvent<BubbleEvents>) => any, eventNames?: BubbleEvents | BubbleEvents[]): Subscription;
1023
+ setCustomAvatar(base64AvatarImg: string, width?: number, height?: number): Promise<Bubble>;
1024
+ removeCustomAvatar(): Promise<Bubble>;
1025
+ setSettings(bubbleSettings: BubbleSettings): Promise<Bubble>;
1026
+ getSettings(): BubbleSettings;
1027
+ setCustomData(customData: any): Promise<Bubble>;
1028
+ setUserRole(user: User, role: BubbleUserRole): Promise<Bubble>;
1029
+ changeOwner(newOwner: User): Promise<Bubble>;
1030
+ addUser(user: User, role?: BubbleUserRole, reason?: string, withoutInvitation?: boolean, hideHistory?: boolean): Promise<Bubble>;
1031
+ inviteUsers(users: User[], emails?: string[], role?: BubbleUserRole, hideHistory?: boolean): Promise<Bubble>;
1032
+ removeUser(user: User): Promise<Bubble>;
1033
+ cancelGuestInvitations(emails: string[]): Promise<void>;
1034
+ getUsers(role?: "ALL" | "USER" | "ORGANIZER"): Promise<BubbleUser[]>;
1035
+ getAllAcceptedUsers(): BubbleUser[];
1036
+ promoteAllUsers(): Promise<Bubble>;
1037
+ demoteAllUsers(): Promise<Bubble>;
1038
+ acceptInvitation(): Promise<Bubble>;
1039
+ declineInvitation(): Promise<Bubble>;
1040
+ leave(createArchive?: boolean): Promise<Bubble | undefined>;
1041
+ delete(createArchive?: boolean): Promise<Bubble | undefined>;
1042
+ isUserOwner(user: User): boolean;
1043
+ isConnecteUserOwner(): boolean;
1044
+ isUserOrganizer(user: User): boolean;
1045
+ isConnecteUserOrganizer(): boolean;
1046
+ isConnectedUserMember(): Promise<boolean>;
1047
+ isBubbleConferenceStarted(): boolean;
1048
+ getBubbleConferenceOwnerId(): string;
1049
+ isWebinarBubble(): boolean;
1050
+ createBubbleLink(): Promise<string>;
1051
+ manageBubblePassword(activate: boolean): Promise<void>;
1052
+ resetBubblePassword(): Promise<void>;
1053
+ resetBubbleLink(): Promise<string>;
1054
+ deleteBubbleLink(): Promise<void>;
1055
+ getBubbleLink(): Promise<string>;
1056
+ getBubbleOpenInviteIdLinkFromCache(): string | null;
1057
+ /**
1058
+ * Allow access to one or many lobby users that are in the waiting lobby;
1059
+ * If the lobbyUsers is empty; then this will allow ALL users to join the bubble
1060
+ */
1061
+ allowAccessToBubbleForWaitingLobbyUsers(lobbyUsers?: LobbyUser[]): Promise<any>;
1062
+ /**
1063
+ * Deny access to the given lobby user waiting in the lobby room
1064
+ */
1065
+ allowAccessToBubbleForLobbyUser(lobbyUser: LobbyUser): Promise<any>;
1066
+ /**
1067
+ * Deny access to one or many lobby users that are in the waiting lobby;
1068
+ * If the lobbyUsers is empty; then this will DENY ALL users from joining the bubble
1069
+ */
1070
+ denyAccessToBubbleForWaitingLobbyUsers(lobbyUsers?: LobbyUser[]): Promise<any>;
1071
+ /**
1072
+ * Clear specified data from bubble
1073
+ */
1074
+ clearBubbleData(clearData: BubbleCleanupData[]): Promise<any>;
1075
+ /**
1076
+ * Deny access to the given lobby user waiting in the lobby room
1077
+ */
1078
+ denyAccessToBubbleForLobbyUser(lobbyUser: LobbyUser): Promise<any>;
1079
+ getDialInCode(): string;
1080
+ getPhoneNumbers(): DialInPhoneNumber[];
1081
+ addTags(tagNames: string[]): Promise<void>;
1082
+ removeTags(tagNames: string[]): Promise<void>;
1083
+ getNameForLogs(): string;
1084
+ isWebinarInvitation(): boolean;
1085
+ isInternalBubble(): boolean;
1086
+ isExternalBubble(): boolean;
1087
+ update(bubbleData: any): this;
1088
+ updateAvatarInfo(): void;
1089
+ addRainbowTVs(androidTVs: User[]): Promise<Bubble>;
1090
+ isUserStatusAcceptedOrInvited(contact: any): boolean;
1091
+ isUserStillBelongToBubble(userJid: string): boolean;
1092
+ getUserByJid(userJid: string): BubbleUser;
1093
+ setWebConferenceOwnerId(ownerId: string): void;
1094
+ addConferenceSession(ownerId: string): void;
1095
+ getCurrentConferenceSession(): any;
1096
+ setAutoRegister(value: string): void;
1097
+ setMuteUponEntry(value: boolean): void;
1098
+ setPlayEntryTone(value: boolean): void;
1099
+ setStageMode(value: boolean): void;
1100
+ updateStageMode(value: boolean): Promise<Bubble>;
1101
+ setDialInCode(value: string): void;
1102
+ setIncludeAllPhoneNumbers(value: boolean): void;
1103
+ setPhoneNumbers(value: DialInPhoneNumber[]): void;
1104
+ setContentToAutoclear(contentToAutoclear: {
1105
+ im: boolean;
1106
+ poll: boolean;
1107
+ document: boolean;
1108
+ member: boolean;
1109
+ }): void;
1110
+ setConferencePreConfig(value: ConferenceRecordingConfig): void;
1111
+ toString(): string;
1112
+ toJSON(): any;
1113
+ }
1114
+ //# sourceMappingURL=bubble.model.d.ts.map