@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,889 @@
1
+ /**
2
+ * @module Bubbles
3
+ */
4
+ import type { Bubble, BubbleCleanupData, BubbleInvitation, BubbleSettings, BubbleUser, LobbyUser } from "../../models/bubble.model";
5
+ import { BubbleRB, BubbleUserRole, BubbleVisibility } from "../../models/bubble.model";
6
+ import type { Observable, Subscription } from "rxjs";
7
+ import { Subject } from "rxjs";
8
+ import { RBEvent } from "../../models/event.model";
9
+ import type { Contact } from "../../models/contact.model";
10
+ import type { DialInPhoneNumber } from "../../models/dial-in-phone-numbers.model";
11
+ import { Service } from "../../services/service";
12
+ import type { User } from "../../models";
13
+ import type { CallRB } from "../../models/call.model";
14
+ /** @internal */
15
+ export declare const BUBBLE_SVC = "BubbleService";
16
+ /**
17
+ * @eventProperty
18
+ * This enum lists all the `RBEvent` events generated by the BubbleService.
19
+ *
20
+ * They can be listened to using the `bubbleService.subscribe()` API.
21
+ */
22
+ export declare enum BubbleServiceEvents {
23
+ /**
24
+ * @eventProperty
25
+ * This `RBEvent` is send when the bubble service is started and ready to be used (also fired after loss of network and reconnection)
26
+ */
27
+ ON_SERVICE_STARTED = "ON_SERVICE_STARTED",
28
+ /**
29
+ * @eventProperty
30
+ * This RBEvent is send when a new bubble is created
31
+ * **Event Data**
32
+ * - **bubble**: The new created bubble
33
+ * - **invitedUsersErrors?**: Status indicating whether some/all of the invited users have not successfully been added when creating the new bubble.
34
+ * This information is relevant only for bubbles/rooms created by a user.
35
+ * - **invalidUsersIds?**: The Id(s) of the contacts that could not be invited to the bubble
36
+ */
37
+ ON_BUBBLE_CREATED = "ON_BUBBLE_CREATED",
38
+ /**
39
+ * @eventProperty
40
+ * This RBEvent is send when a bubble has been deleted by the owner.
41
+ * **Event Data**
42
+ * - **id**: The id of the bubble that has been deleted
43
+ */
44
+ ON_BUBBLE_DELETED = "ON_BUBBLE_DELETED",
45
+ /**
46
+ * @eventProperty
47
+ * This `RBEvent` is sent when a there's an update on the role of the connected user role (owner, organizer, user)
48
+ * **Event Data**
49
+ * - **bubble**: The related bubble
50
+ */
51
+ ON_CONNECTED_USER_ROLE_UPDATED = "ON_CONNECTED_USER_ROLE_UPDATED",
52
+ /**
53
+ * @eventProperty
54
+ * This RBEvent is sent when the connected user has received an invitation to join a bubble.
55
+ * **Event Data**
56
+ * - **bubble**: The bubble concerned by this event
57
+ */
58
+ ON_USER_INVITATION_RECEIVED = "ON_USER_INVITATION_RECEIVED",
59
+ /**
60
+ * @eventProperty
61
+ * This `RBEvent` is sent when a user has accepted the invitation in the bubble
62
+ * **Event Data**
63
+ * - **bubble**: The bubble concerned by this event
64
+ * - **bubbleUser**: The bubble user who has accepted the invitation
65
+ */
66
+ ON_USER_INVITATION_ACCEPTED = "ON_USER_INVITATION_ACCEPTED",
67
+ /**
68
+ * @eventProperty
69
+ * This `RBEvent` is sent when a user has declined the invitation to join the bubble
70
+ * **Event Data**
71
+ * - **bubble**: The bubble concerned by this event
72
+ * - **bubbleUser**: The bubble user who has declined the invitation
73
+ */
74
+ ON_USER_INVITATION_DECLINED = "ON_USER_INVITATION_DECLINED",
75
+ /**
76
+ * @eventProperty
77
+ * This `RBEvent` is sent when a user has left the bubble of his own
78
+ * **Event Data**
79
+ * - **bubble**: The bubble concerned by this event
80
+ * - **bubbleUser**: The bubble user who has left the bubble
81
+ */
82
+ ON_USER_BUBBLE_LEFT = "ON_USER_BUBBLE_LEFT",
83
+ /**
84
+ * @eventProperty
85
+ * This `RBEvent` is sent in the following cases:
86
+ * - if a user has been removed from the bubble by the owner or one of the organizers.
87
+ * - if the bubble in which the user was a member has been destroyed.
88
+ * **Event Data**
89
+ * - **bubble**: The bubble concerned by this event
90
+ * - **bubbleUser**: The bubble user who has been removed from the bubble
91
+ */
92
+ ON_USER_BUBBLE_REMOVED = "ON_USER_BUBBLE_REMOVED",
93
+ /**
94
+ * @internal
95
+ * @eventProperty
96
+ * This RBEvent is send when there's a request to join a bubble has been receveid
97
+ * **Event Data**
98
+ * - **bubble**: The bubble concerned by this event
99
+ * - **lobbyUser**: The newly added lobby user
100
+ */
101
+ ON_REQUEST_TO_JOIN_BUBBLE_RECEIVED = "ON_REQUEST_TO_JOIN_BUBBLE_RECEIVED",
102
+ /**
103
+ * @internal
104
+ * @eventProperty
105
+ * This RBEvent is send when there's a change in any bubble lobby list users. There's event coming inside the bubble (in case of bubble.subscribe) but this event
106
+ * helps to manage a global counter and vision on all bubbles lobby list / waiting list
107
+ */
108
+ ON_BUBBLES_LOBBY_LIST_CHANGE = "ON_BUBBLES_LOBBY_LIST_CHANGE",
109
+ /**
110
+ * @internal
111
+ * @eventProperty
112
+ * This RBEvent is send when there's a change in the current user's request to join bubbles. This event can also be received when the user ACK Read or removes the request.
113
+ * This event helps to manage a global counter and vision on all requests to join bubbles
114
+ */
115
+ ON_MY_USER_REQUESTS_TO_JOIN_BUBBLE_CHANGE = "ON_MY_USER_REQUESTS_TO_JOIN_BUBBLE_CHANGE"
116
+ }
117
+ /**
118
+ * @internal
119
+ * Conversation service internal events send to other sevices via sendInnerEvent()
120
+ * Should not be used by SDK user
121
+ */
122
+ export declare enum BubbleServiceInnerEvents {
123
+ /**
124
+ * This RB event is send when a "admin" message is added in the bubble (for hunting group voicemails etc)
125
+ * @param roomJid - the room JID
126
+ * @param userJid - the user JID
127
+ * @param eventName - the name of the event
128
+ * @param msgId - the message ID
129
+ * @param extraParameters - object with extra params
130
+ */
131
+ BUBBLE_ADMIN_MESSAGE_EVENT = "BUBBLE_ADMIN_MESSAGE_EVENT",
132
+ /**
133
+ * This event is send when the bubble history is now fully ready (on accept of new bubble for instance)
134
+ * @param bubble - the related bubble
135
+ */
136
+ BUBBLE_HISTORY_READY = "BUBBLE_HISTORY_READY"
137
+ }
138
+ /**
139
+ * The `BubbleCreationData` interface describes the options that can be sent to the createBubble() method
140
+ * @example
141
+ * ```ts
142
+ * const data = {
143
+ * "description": "my bubble description",
144
+ * "history": true,
145
+ * "autoAcceptInvitation": true
146
+ * }
147
+ * createBubble("my bubble name", data);
148
+ * ```
149
+ */
150
+ export interface BubbleCreationData {
151
+ /**
152
+ * The bubble description
153
+ */
154
+ description?: string;
155
+ /**
156
+ * Specifies whether the previous messages history are shown or not to a new bubble user.
157
+ * By default, this parameter is 'true'.
158
+ */
159
+ history?: boolean;
160
+ /**
161
+ * Avatar image for the bubble
162
+ */
163
+ bubbleAvatar?: any;
164
+ /**
165
+ * 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)
166
+ * `Default : FALSE`
167
+ */
168
+ autoAcceptInvitation?: boolean;
169
+ /**
170
+ * In case of conference in this bubble, all participants will be muted upon join
171
+ * `Default : FALSE`
172
+ */
173
+ muteUponEntry?: boolean;
174
+ /**
175
+ * In the event of a conference in this bubble, specify whether a local tone should be played each time a participant joins the conference.
176
+ * By default, this parameter is 'false'.
177
+ */
178
+ playEntryTone?: boolean;
179
+ /**
180
+ * When active, only organizers appear on stage; other participants are hidden unless explicitly invited.
181
+ * `Default : FALSE`
182
+ */
183
+ stageMode?: boolean;
184
+ /**
185
+ * List of contacts that we want to invite to the bubble
186
+ */
187
+ contacts?: Contact[];
188
+ /**
189
+ * List of emails that we want to invite to the bubble (will receive an invitation email)
190
+ */
191
+ guestEmails?: string[];
192
+ /**
193
+ * Add optional body parameter role ('user', 'organizer'). By default, all users get the simple 'user' role.
194
+ * Using 'role' parameter all invited users may have the same role in this bulk.
195
+ */
196
+ role?: BubbleUserRole;
197
+ /**
198
+ * When set to true, the contacts/guestEmails invited at creation time will not have access to messages/files/polls
199
+ * prior to their join date. This is independent from `history`, which controls the room-wide default.
200
+ */
201
+ inviteesHideHistory?: boolean;
202
+ /**
203
+ * The visibility of the bubble
204
+ * A public bubble can be found via a search operation (using 'searchBubbles()' method) or get by its identifier
205
+ * even if a user is not a member of this bubble. Information on such bubbles are provided for guidance only.
206
+ * A private bubble can be joined only by invitation or via a public link, if the bubble has been shared (bubble configuration parameter).
207
+ * By default, the visibility is 'private'.
208
+ */
209
+ visibility?: BubbleVisibility;
210
+ }
211
+ /**
212
+ * List of different ways to search for a bubble
213
+ */
214
+ export declare enum BubbleSearchScope {
215
+ /**
216
+ * The bubble search must be performed on the name of the bubble
217
+ */
218
+ SEARCH_BY_BUBBLE_NAME = "SEARCH_BY_BUBBLE_NAME",
219
+ /**
220
+ * The bubble search must be performed on the name of the tag(s) set for the bubble
221
+ */
222
+ SEARCH_BY_TAG_NAME = "SEARCH_BY_TAG_NAME",
223
+ /**
224
+ * The bubble search must be performed oin the bubble's participant(s) names.
225
+ */
226
+ SEARCH_BY_PARTICIPANT_NAME = "SEARCH_BY_PARTICIPANT_NAME"
227
+ }
228
+ export declare enum BubbleSearchSortBy {
229
+ /**
230
+ * The list of bubbles found must be returned sorted by bubble name.
231
+ */
232
+ SORT_BY_BUBBLE_NAME = "SORT_BY_BUBBLE_NAME",
233
+ /**
234
+ * The list of bubbles found must be returned sorted by date of last activity.
235
+ */
236
+ SORT_BY_LAST_ACTIVITY = "SORT_BY_LAST_ACTIVITY"
237
+ }
238
+ export declare enum BubbleSearchFoundBy {
239
+ /**
240
+ * Specifies that a bubble was found via a pattern matching on its name
241
+ */
242
+ FOUND_BY_BUBBLE_NAME = "FOUND_BY_BUBBLE_NAME",
243
+ /**
244
+ * Specifies that a bubble was found via a pattern matching on the name of some tag(s) set for the bubble
245
+
246
+ */
247
+ FOUND_BY_TAG_NAME = "FOUND_BY_TAG_NAME",
248
+ /**
249
+ * Specifies that a bubble was found via a pattern matching on the bubble's participant(s) names.
250
+ */
251
+ FOUND_BY_PARTICIPANT_NAME = "FOUND_BY_PARTICIPANT_NAME"
252
+ }
253
+ export interface BubbleSearchOptions {
254
+ /**
255
+ * Options to specify the scope of the search, i.e. the 'name' properties to be used as scope for the search
256
+ * The name properties that can be specified are:
257
+ * - The name of the bubble
258
+ * - The name of tag(s) set for the bubble
259
+ * - The name of bubble participants.
260
+ * One or more name properties can be optionally specified to define the scope of the search.
261
+ * If no scope is specified, the search is performed by default on the name of the bubble only.
262
+ */
263
+ scope?: BubbleSearchScope[];
264
+ /**
265
+ * Options for specifying how the list of bubbles returned as results should be sorted.
266
+ */
267
+ sortBy?: BubbleSearchSortBy;
268
+ }
269
+ export interface BubbleSearchResult {
270
+ /**
271
+ * The bubble found matching the search criteria.
272
+ */
273
+ bubble: Bubble;
274
+ /**
275
+ * Specifies how the bubble was found, i.e. on which name properties the pattern matched.
276
+ */
277
+ foundBy: BubbleSearchFoundBy[];
278
+ }
279
+ /**
280
+ * The `BubbleService` interface defines the Rainbow SDK BubbleService API
281
+ */
282
+ export interface BubbleService {
283
+ /**
284
+ * Emits whether the Bubble Service has been started or not.
285
+ * If this is not the case, no bubble can yet been retrieved.
286
+ */
287
+ started$: Observable<boolean>;
288
+ /**
289
+ * The Bubble Service started state at this instant.
290
+ * If this is not `true`, no bubble can yet been retrieved.
291
+ */
292
+ started: boolean;
293
+ /**
294
+ * Subscribe to the invitations updates; All events send to the callback are of type `RBEvent`
295
+ * @param callback - The callback function that will be called when events are received
296
+ * @param callback - The callback function that will be called when events are received
297
+ * @param eventNames - (optional) A list of event names that the user wants to receive when subscribing (used as filter)
298
+
299
+ */
300
+ subscribe: (callback: (event: RBEvent<BubbleServiceEvents>) => any, eventNames?: BubbleServiceEvents | BubbleServiceEvents[]) => Subscription;
301
+ /**
302
+ * Create a new bubble; This API also sends BubbleServiceEvents.ON_BUBBLE_CREATED event
303
+ * Returns a Promise with the new created bubble.
304
+ * @param bubbleName - The name of the bubble
305
+ * @param createBubbleData - Bubble settings that can be specified when it is created.
306
+ */
307
+ createBubble: (bubbleName: string, createBubbleData?: BubbleCreationData) => Promise<Bubble>;
308
+ /**
309
+ * Get a bubble from its identifier.
310
+ * @param bubbleId - The bubble dbId or bubble JID
311
+ */
312
+ getBubble: (bubbleId: string) => Promise<Bubble | undefined>;
313
+ /**
314
+ * Get all bubbles, restricted to one type if specified.
315
+ * The 'type' parameter allows to filter the type of bubbles to be returned:
316
+ * - 'IN_USE':
317
+ * Returns the active bubbles of which the connected user is a member, whether as a user or as an organizer.
318
+ * Note that a bubble is said to be ‘active’ if it has not been archived or deleted.
319
+ * - 'MINE':
320
+ * Returns the bubbles whose the connected user is the owner.
321
+ * This includes bubbles that the user has created themselves as well as bubbles for which the user has benefited from the transfer of ownership.
322
+ * - 'ARCHIVED':
323
+ * Returns the bubbles archived by the user.
324
+ * An archived bubble is a bubble that the connected user has left but has decided not to delete but to keep.
325
+ * By creating an archive, the user will no longer be able to publish information, but will retain a history of the conversations of all participants.
326
+ * - 'WITH_CONFERENCE':
327
+ * Returns the bubbles with active conference inside
328
+ * This list will contain all bubbles that current have an active conference, including the one that the user may currently participate
329
+ *
330
+ * If the 'type' parameter is not specified, this method returns all the bubbles "currently loaded".
331
+ * This means the bubbles that are loaded by default when the service is started (those with an active conversation) and
332
+ * those that are subsequently requested via the ‘type’ parameter.
333
+ *
334
+ * **Please note:** this method is asynchronous, as the time taken to retrieve bubbles may vary depending on whether or not they have already been requested.
335
+ * @param type - The type of bubbles required.
336
+ */
337
+ getBubbles: (type?: "IN_USE" | "MINE" | "ARCHIVED" | "WITH_CONFERENCE") => Promise<Bubble[]>;
338
+ /**
339
+ * Get all invitations for which the connected user is invited to join a bubble.
340
+ */
341
+ getBubbleInvitations: () => BubbleInvitation[];
342
+ /**
343
+ * Cancel guest invitations for a bubble (chat scenario).
344
+ * Removes the provided guest emails from the list of guests attached to the room.
345
+ * All active users in the room are notified about the new list of guest emails left.
346
+ * @param bubble - The bubble
347
+ * @param emails - List of guest email addresses to cancel the invitation for
348
+ */
349
+ cancelGuestInvitations: (bubble: Bubble, emails: string[]) => Promise<void>;
350
+ /**
351
+ * This API allows to search Rainbow bubbles that match a search criteria applied on some name properties such as the name of the bubble
352
+ * or the names of bubble participants for example.
353
+ * One or more name properties can be optionally specified to define the scope of the search.
354
+ * If no scope is specified, the search is performed by default on the name of the bubble only.
355
+ * It is also possible to optionally specify how the list of bubbles returned as results should be sorted.
356
+ * By default, the bubbles list will be sorted by bubble name.
357
+ * @param searchPattern - The search criteria
358
+ * @param options - Options to specify the scope of the search and how the results are to be returned.
359
+ */
360
+ searchBubbles: (searchPattern: string, options?: BubbleSearchOptions) => Promise<BubbleSearchResult[]>;
361
+ /**
362
+ * Method to find bubbles by tag
363
+ * Takes into account tags separated by space
364
+ * @param tagNames - tag names to find
365
+ * @param exactMatch - whether we find exact matching tags
366
+ */
367
+ searchBubblesByTag: (tagNames: string, exactMatch?: boolean) => Promise<Bubble[]>;
368
+ /**
369
+ * This API allows to evaluate the WEBRTC connectivity of the user with the conference in the bubble
370
+ * The results of the test may help troubleshoot connectivity issues and evaluate the quality of the connection to Rainbow infrastructure.
371
+ * @param testLength - length during wchice the timeid manually set. Drfault to 5.
372
+ *
373
+ */
374
+ startMediaEchoTest: (testLength: number) => Promise<void>;
375
+ }
376
+ /**
377
+ * @internal
378
+ * Configuration information used for tweak bubble service start
379
+ */
380
+ export declare class BubbleServiceConfig {
381
+ ignoreOpenInviteData?: any;
382
+ webinar?: boolean;
383
+ ignoreRole?: boolean;
384
+ }
385
+ /**
386
+ * @internal
387
+ */
388
+ export declare class BubbleServiceRB extends Service implements BubbleService {
389
+ openInviteIdByRoomIdSubject: Subject<any>;
390
+ starting: boolean;
391
+ private readonly startedSubject;
392
+ readonly started$: Observable<boolean>;
393
+ get started(): boolean;
394
+ context: string;
395
+ private bubbles;
396
+ private rxSubject;
397
+ private innerRxSubject;
398
+ private preload;
399
+ private portalURL?;
400
+ private roomPortalURL?;
401
+ private listeners;
402
+ private xmppConnectionSubscription;
403
+ private roomPresenceWaitingList;
404
+ private userContact?;
405
+ private bubblesByJids;
406
+ private bubblesInProgress;
407
+ private maxBubblesUsers;
408
+ private maxBubblesStartupLoad;
409
+ private openInviteIdByRoomId;
410
+ private getBubbleByJidPromises;
411
+ private createBubbleInProgress;
412
+ private bubblePresenceRef?;
413
+ private bubbleInfoMessageRef?;
414
+ private bubbleMessageConfigRef?;
415
+ private bubbleHistoryInfoRef?;
416
+ private bubbleNotificationRef?;
417
+ private bubbleErrorMessageRef?;
418
+ private bubbleServiceConfig?;
419
+ private loadAllAcceptedBubblesPromise;
420
+ private lobbyUsersPerBubble;
421
+ private connectedUserPendingRequests;
422
+ private promiseQueue;
423
+ private settingsService;
424
+ private contactService;
425
+ private profileService;
426
+ private authService;
427
+ private eventService;
428
+ private logger;
429
+ private xmppService;
430
+ private errorHelperService;
431
+ private i18n;
432
+ private mainService;
433
+ private fileStorageService?;
434
+ private webConferenceService?;
435
+ private bubbleTagService?;
436
+ static getInstance(): BubbleServiceRB;
437
+ static build(): BubbleServiceRB;
438
+ private constructor();
439
+ start(bubbleServiceConfig?: BubbleServiceConfig): Promise<void>;
440
+ stop(): Promise<void>;
441
+ attachHandlers(): void;
442
+ reconnect(attempt?: number): Promise<void>;
443
+ private onConnectionStateChange;
444
+ private getInitServerRooms;
445
+ private getInitServerRoomsByType;
446
+ /**
447
+ * Subscribe to updates from the service (All events are of RBEvent type {name: string, data: any});
448
+ * NB There might be some events that are not documented here, they're send on updates of different properties of the rooms.
449
+ * @param handler - The call-back function that will be subscribed to the RxJS subject
450
+ * @param eventNames - array of event to listen
451
+ */
452
+ subscribe(handler: (event: RBEvent<BubbleServiceEvents>) => any, eventNames?: BubbleServiceEvents | BubbleServiceEvents[]): Subscription;
453
+ /**
454
+ * Bubble service events send to other services via sendEvent()
455
+ * Can listen to it via bubbleService.subscribe() API
456
+ * @param name - the name of the event
457
+ * @param data - the data to be send (an object
458
+ */
459
+ sendEvent(name: BubbleServiceEvents, data?: any): void;
460
+ subscribeToInnerEvents(handler: (event: RBEvent<BubbleServiceInnerEvents>) => any): Subscription;
461
+ sendInnerEvent(name: BubbleServiceInnerEvents, data?: any): void;
462
+ /**
463
+ * Load all room from server in a given status
464
+ * @param status - (values: 'invited', 'accepted','unsubscribed')
465
+ */
466
+ getAllServerBubbles(status?: string): Promise<void>;
467
+ /**
468
+ *
469
+ */
470
+ private getLobbyListsFromServer;
471
+ private getMyLobbyListsAsUser;
472
+ private getMyLobbyListsAsModerator;
473
+ private getMyAccessRequestListStatus;
474
+ /**
475
+ * API not used in UCAAS, but could be useful for CPAAS once we add lobbys for SDK
476
+ * @param bubble - the bubble where we want to get the list of pending users
477
+ */
478
+ getBubbleLobbyUsersList(bubble: BubbleRB): Promise<void>;
479
+ getUsersInLobbyForBubble(bubble: Bubble): LobbyUser[];
480
+ /**
481
+ * Return an object, containing a key - value list, where key is the bubble ID
482
+ */
483
+ getAllBubblesWithUsersInLobby(): Promise<Bubble[]>;
484
+ /**
485
+ * This API allows the user to "mark as read" an access request and/or remove it from the list
486
+ * @param requestId - the request ID
487
+ * @param ackRead - if the request should be marked as READ, (allows the user to manage a notification center related to updates on his pending request) An access request with the status pending, accepted or rejected can be acknowledged. These acknowledgment can't be undo
488
+ * @param removeFromList - remove the access request from the list. Only an access request with the status accepted or rejected can be removed
489
+ */
490
+ updateUserRequestToJoinBubble(requestId: string, ackRead?: boolean, removeFromList?: boolean): Promise<void>;
491
+ denyUsersWaitingInBubbleLobby(bubble: Bubble, lobbyContacts?: LobbyUser[]): Promise<void>;
492
+ acceptUsersWaitingInBubbleLobby(bubble: Bubble, lobbyContacts?: LobbyUser[]): Promise<void>;
493
+ /**
494
+ * Add current user to the waiting lobby for a given bubble
495
+ * @param bubbleInfos - Bubbles infos that contain the current bubble DB ID, the status and the addition date
496
+ */
497
+ private addConnectedUserToWaitingListForBubble;
498
+ getMyRequestListToJoinBubbles(): Promise<{
499
+ bubble: BubbleInvitation;
500
+ requestId: string;
501
+ status: string;
502
+ additionDate: string;
503
+ bubbleName?: string;
504
+ ackRead?: boolean;
505
+ }[]>;
506
+ /**
507
+ * Add users to the lobby for a given bubble
508
+ * @param bubbleDbId - bubble DB ID
509
+ * @param contactsInfos - Contact infos that are needed to construct the lobby user
510
+ * Return an array of the NEWLY added lobby users, and not the whole list !
511
+ */
512
+ private addUsersToLobbyForBubble;
513
+ /**
514
+ * Async method which get get a bubble.
515
+ * The bubble is first search in service cache then server side.
516
+ * @param bubbleRef - a bubble dbId or bubble JID
517
+ */
518
+ getBubble(bubbleRef: string): Promise<Bubble | undefined>;
519
+ /**
520
+ * synchronous method used to get a existing bubble from the cache
521
+ * @param id - should be the bubble id or dbId
522
+ */
523
+ getBubbleFromCache(id: string): Bubble | undefined;
524
+ /**
525
+ * Return an array of all bubbles already in the cache
526
+ */
527
+ getBubblesFromCache(): Bubble[];
528
+ /**
529
+ * Get all bubbles, restricted to one type if specified.
530
+ * The 'type' parameter allows to filter the type of bubbles to be returned:
531
+ * - 'IN_USE':
532
+ * Returns the active bubbles of which the connected user is a member, whether as a user or as an organizer.
533
+ * Note that a bubble is said to be ‘active’ if it has not been archived or deleted.
534
+ * - 'MINE':
535
+ * Returns the bubbles whose the connected user is the owner.
536
+ * This includes bubbles that the user has created themselves as well as bubbles for which the user has benefited from the transfer of ownership.
537
+ * - 'ARCHIVED':
538
+ * Returns the bubbles archived by the user.
539
+ * An archived bubble is a bubble that the connected user has left but has requested the creation of an archive for this bubble.
540
+ * By archive we mean that the bubble will always be accessible to the user, but in consultation mode only.
541
+ * The user will still be able to view the bubble information (name, subject), members and the conversation history up to the moment he leave the bubble.
542
+ * But he will no longer be able to communicate in the bubble (sending messages or starting a conference).
543
+ *
544
+ * If the 'type' parameter is not specified, this method returns all the bubbles "currently loaded".
545
+ * This means the bubbles that are loaded by default when the service is started (those with an active conversation) and
546
+ * those that are subsequently requested via the ‘type’ parameter.
547
+ *
548
+ * **Please note:** this method is asynchronous, as the time taken to retrieve bubbles may vary depending on whether or not they have already been requested.
549
+ * @param type - The type of bubbles required.
550
+ */
551
+ getBubbles(type?: "IN_USE" | "MINE" | "ARCHIVED" | "WITH_CONFERENCE"): Promise<Bubble[]>;
552
+ /**
553
+ * Return an array of all bubbles with an active conference at the moment
554
+ */
555
+ getBubblesWithActiveConference(): Bubble[];
556
+ /**
557
+ * Return an array of all bubbles with an active conference at the moment that we've not yet joined
558
+ */
559
+ getBubblesWithActiveConferenceNotJoined(): Bubble[];
560
+ /**
561
+ * return an array of all MY rooms
562
+ */
563
+ getMyBubbles(): Bubble[];
564
+ searchRooms(criteria: string): Bubble[];
565
+ searchBubblesByTag(searchedTagName: string, exactMatch?: boolean): Promise<Bubble[]>;
566
+ startMediaEchoTest(testLength?: number): Promise<void>;
567
+ /**
568
+ * Get all invitations for which the connected user is invited to join a bubble.
569
+ * This means finding all the bubbles where this user has an "invited" status
570
+ */
571
+ getBubbleInvitations(): BubbleInvitation[];
572
+ /**
573
+ * return an array of all room where user is currently invited to participants (in "invited" state)
574
+ */
575
+ getWebinarInvitations(): Bubble[];
576
+ getRoomsByContainerId(containerId: string): Bubble[];
577
+ /** *
578
+ * GET ALL ROOMS ORDER BY DATE OR NAME
579
+ * DEFAULT ORDER IS BY NAME
580
+ */
581
+ getOrderedRooms(order?: string): Bubble[];
582
+ /** *
583
+ * GET MY ROOMS ORDER BY DATE OR NAME
584
+ * DEFAULT ORDER IS BY NAME
585
+ */
586
+ getMyOrderedRooms(order: string): Bubble[];
587
+ updateRoomFromServer(bubble: Bubble): Promise<void>;
588
+ private updateRoomData;
589
+ getServerBubble(roomId: string): Promise<BubbleRB>;
590
+ /**
591
+ * Get room data from server then create and store the Room instance
592
+ * @param bubbleJid - the jid of the room to get
593
+ * @param sendPresence - (default : true) When set to false the initial presence is not sent
594
+ * @param nbUsersToKeep - number of user to keep in room data
595
+ */
596
+ private getServerBubbleByJid;
597
+ getServerBubblesByIds(bubbleIds: string[], sendPresence?: boolean, webinars?: boolean): Promise<void>;
598
+ areAllServerBubblesReady(status: string): boolean;
599
+ loadAllAcceptedBubblesAtStartUp(): void;
600
+ loadAllAcceptedBubbles(): Promise<void>;
601
+ private getServerBubblesDataPage;
602
+ private getMinimalBubbleUsers;
603
+ private fetchBubbleUsersContacts;
604
+ getBubbleUsers(bubble: BubbleRB, role?: "ALL" | "USER" | "ORGANIZER"): Promise<BubbleUser[]>;
605
+ getAllBubbleUsers(bubble: BubbleRB): Promise<void>;
606
+ private getBubbleParticipants;
607
+ private getBubbleParticipantPage;
608
+ private getAllBubblesParticipants;
609
+ private createOrUpdateBubbleFromData;
610
+ private refreshMemberAndOrganizerLists;
611
+ /**
612
+ * Update the bubble avatar
613
+ * @param bubble - the bubble
614
+ * @param avatarImg - the image to be set
615
+ */
616
+ setBubbleAvatar(bubble: Bubble, avatarImg: any, width?: number, height?: number): Promise<Bubble>;
617
+ /**
618
+ * Delete the bubble avatar
619
+ * @param bubble - the bubble
620
+ */
621
+ deleteBubbleAvatar(bubble: Bubble): Promise<void>;
622
+ /**
623
+ * Create a new bubble.
624
+ * This API also sends BubbleServiceEvents.ON_BUBBLE_CREATED event.
625
+ * @param bubbleName - The name of the bubble
626
+ * @param createBubbleData - Bubble properties that can be specified when it is created.
627
+ */
628
+ createBubble(bubbleName?: string, createBubbleData?: BubbleCreationData): Promise<BubbleRB>;
629
+ /**
630
+ * Invite users and guests to the bubble; The guests will receive an email to join the bubble;
631
+ * @param bubble - the bubble to invite to
632
+ * @param users - the users to add bubble
633
+ * @param emails - list of emails to invite to the bubble
634
+ * @param role - BubbleUserRole to be applied to all invited users
635
+ * @param hideHistory - When set to true, none of the invited users will have access to messages/files/polls prior to their join date
636
+ */
637
+ inviteUsersToBubble(bubble: Bubble, users?: User[], emails?: string[], role?: BubbleUserRole, hideHistory?: boolean): Promise<Bubble>;
638
+ /**
639
+ * Add rainbow TVs to the bubble;
640
+ * @param bubble - the bubble to invite to
641
+ * @param androidTVs - the contacts of type Rainbow TV
642
+ * @returns resolves once it's done
643
+ */
644
+ addRainbowTVsToBubble(bubble: Bubble, androidTVs: User[]): Promise<Bubble>;
645
+ /**
646
+ * Add user to the bubble; Can be used to directly add user without invitation or as a organizer
647
+ * @param bubble - the bubble
648
+ * @param user - the user to add
649
+ * @param reason - [optional] the reason to add
650
+ * @param role - the role to be set ('user' or 'organizer'), by default is 'user'
651
+ * @param withoutInvitation - if TRUE, the user will be added without invitation before
652
+ * @param hideHistory - if TRUE, the user will not have access to messages/files/polls prior to his join date
653
+ */
654
+ addUserToBubble(bubble: Bubble, user: User, reason?: string, role?: BubbleUserRole, withoutInvitation?: boolean, hideHistory?: boolean): Promise<Bubble>;
655
+ /**
656
+ * Update all users to "moderators" role; CAN BE USED ONLY BY THE OWNER
657
+ * @param bubble - the bubble to update
658
+ */
659
+ promoteAllUsers(bubble: Bubble): Promise<Bubble>;
660
+ /**
661
+ * Update all users to "user" role; CAN BE USED ONLY BY THE OWNER
662
+ * @param bubble - the bubble to update
663
+ */
664
+ demoteAllUsers(bubble: Bubble): Promise<Bubble>;
665
+ /**
666
+ * This API allows to activate and deactivate the bubble's lobby
667
+ * Only the owner of the bubble can use this API
668
+ * The user must have the feature key BUBBLE_WAITING_ROOM in his service plan
669
+ * When the lobby is closed, all waiting users are automatically accepted. An event is sent to each bubble organizer about the current lobby state
670
+ * @param bubble - the bubble to update
671
+ */
672
+ manageBubbleLobby(bubble: Bubble, activate: boolean): Promise<Bubble>;
673
+ /**
674
+ * This API allows to activate and deactivate the bubble's password protection
675
+ * Only the owner of the bubble can use this API
676
+ * The user must have the feature key BUBBLE_PASSWORD in his service plan
677
+ * @param bubble - the bubble to update
678
+ */
679
+ manageBubblePassword(bubble: Bubble, activate: boolean): Promise<Bubble>;
680
+ /**
681
+ * This API allows to activate and deactivate the bubble's password protection
682
+ * Only the owner of the bubble can use this API
683
+ * The user must have the feature key BUBBLE_PASSWORD in his service plan
684
+ * @param bubble - the bubble to update
685
+ */
686
+ resetBubblePassword(bubble: Bubble): Promise<Bubble>;
687
+ /**
688
+ * This API allows to search Rainbow bubbles that match a search criteria applied on some name properties such as the name of the bubble
689
+ * or the names of bubble participants for example.
690
+ * One or more name properties can be optionally specified to define the scope of the search.
691
+ * If no scope is specified, the search is performed by default on the name of the bubble only.
692
+ * It is also possible to optionally specify how the list of bubbles returned as results should be sorted.
693
+ * By default, the bubbles list will be sorted by bubble name.
694
+ * @param searchPattern - The search criteria
695
+ * @param options - Options to specify the scope of the search and how the results are to be returned.
696
+ */
697
+ searchBubbles(searchPattern: string, options?: BubbleSearchOptions): Promise<BubbleSearchResult[]>;
698
+ /**
699
+ * Accept invitation to join a bubble
700
+ * @param bubble - the bubble to accept
701
+ */
702
+ acceptBubbleInvitation(bubble: Bubble): Promise<Bubble>;
703
+ /**
704
+ * Decline invitation to join a65a13c149cd2ae437afd46c4 bubble
705
+ * @param bubble - the bubble to decline the invitation
706
+ */
707
+ declineBubbleInvitation(bubble: Bubble): Promise<Bubble>;
708
+ /**
709
+ * User leaves the bubble. If createArchive is TRUE, the bubble will be archived, i.e. the user can only read the
710
+ * content that's already in the bubble, but no further action can be done inside the bubble
711
+ * The participant will go to UNSUBSCRIBED state (read-only)
712
+ * @param bubble - The bubble to leave
713
+ * @param createArchive - IF TRUE, the bubble will be archived for my user
714
+ */
715
+ leaveBubble(bubble: Bubble, createArchive?: boolean): Promise<Bubble | undefined>;
716
+ /**
717
+ * Delete own bubble. If createArchive is TRUE, the bubble will be archived, i.e. all users can only read the
718
+ * content that's already in the bubble, but no further action can be done inside the bubble
719
+ * All participants in the bubble will go to UNSUBSCRIBED state (read-only)
720
+ * @param bubble - The bubble to delete
721
+ * @param createArchive - IF TRUE, the bubble will be archived for all users (i.e. read only mode for all users still inside);
722
+ */
723
+ deleteMyBubble(bubble: Bubble, createArchive?: boolean): Promise<Bubble | undefined>;
724
+ /**
725
+ * Remove a user from the Bubble. API only available for moderators / owner of the bubble; The user will no longer have access to this bubble
726
+ * nor the history;
727
+ * @param bubble - the bubble
728
+ * @param user - the contact that should be removed
729
+ */
730
+ removeUserFromBubble(bubble: Bubble, user: User): Promise<Bubble>;
731
+ /**
732
+ * Cancel guest invitations for a bubble (chat scenario).
733
+ * Removes the provided guest emails from the list of guests attached to the room.
734
+ * All active users in the room are notified about the new list of guest emails left.
735
+ * @param bubble - The bubble
736
+ * @param emails - List of guest email addresses to cancel the invitation for
737
+ */
738
+ cancelGuestInvitations(bubble: Bubble, emails: string[]): Promise<void>;
739
+ /**
740
+ * Update user's role in the Bubble. API only available for moderators / owner of the bubble; The user can be updated to "moderator" or "user";
741
+ * @param bubble - The bubble
742
+ * @param user - the user that should be update
743
+ * @param role - "moderator" or "user"
744
+ */
745
+ updateUserRoleInBubble(bubble: Bubble, user: User, role: string): Promise<Bubble>;
746
+ /**
747
+ * Change the owner of the bubble
748
+ * @param bubble - The bubble
749
+ * @param newOwner - the user that should be the new owner
750
+ */
751
+ changeBubbleOwner(bubble: Bubble, newOwner: User): Promise<BubbleRB>;
752
+ /**
753
+ * Update the bubble custom data
754
+ * @param bubble - The bubble
755
+ * @param customData - the custom data to be set to the bubble
756
+ */
757
+ updateBubbleCustomData(bubble: Bubble, customData: any): Promise<void>;
758
+ /**
759
+ * Update the bubble settings
760
+ * @param bubble - The bubble
761
+ * @param bubbleSettings - the data to be updated in the bubble
762
+ */
763
+ updateBubbleSettings(bubble: Bubble, bubbleSettings: BubbleSettings): Promise<Bubble>;
764
+ /**
765
+ * Activate or deactivate the stage mode for a room
766
+ * @param bubble - The bubble
767
+ * @param stageMode - true to activate stage mode, false to deactivate
768
+ */
769
+ updateStageMode(bubble: Bubble, stageMode: boolean): Promise<Bubble>;
770
+ /**
771
+ * Get the bubble settings
772
+ * @param bubble - The bubble
773
+ */
774
+ getBubbleSettings(bubble: Bubble): BubbleSettings;
775
+ /**
776
+ * clearBubbleData
777
+ * Clear some data from bubble
778
+ * @param bubble - The bubble
779
+ * @param clearData - array containing the data to clear
780
+ */
781
+ clearBubbleData(bubble: Bubble, clearData: BubbleCleanupData[]): Promise<void>;
782
+ private createBubbleInternal;
783
+ private addUsersToBubble;
784
+ private sendInitialRoomPresence;
785
+ sendInitialBulkRoomPresence(): Promise<any>;
786
+ sendInitialRoomPresenceSync(bubble: BubbleRB, intervalDelay?: number): Promise<any>;
787
+ private sendUnavailableRoomPresence;
788
+ /**
789
+ * Performs a search on the name of participants of the bubble visible by the connected user
790
+ * @param searchPattern - The search criteria
791
+ */
792
+ getServerBubblesByParticipantsName(searchPattern: string): Promise<Bubble[]>;
793
+ /**
794
+ * Archive bubble. The bubble will be archived, i.e. all users can only read the
795
+ * content that's already in the bubble, but no further action can be done inside the bubble
796
+ * All participants in the bubble will go to UNSUBSCRIBED state (read-only)
797
+ * @param bubble - The bubble where the user wants to end the conference
798
+ */
799
+ private ownerArchiveRoom;
800
+ /**
801
+ * Internal function - get the inviting user from the bubble
802
+ * Checks bubble.users array and looks for connected user entry and finally finds its invitingUserId
803
+ * @param bubble - The bubble
804
+ */
805
+ getInvitingUser(bubble: BubbleRB): Contact;
806
+ /** *
807
+ * OWNER ROOM DELETE
808
+ * Used by SDK (public)
809
+ * Warning when modifying this method
810
+ */
811
+ private ownerDeleteRoom;
812
+ private activateAndDeleteBubble;
813
+ /** Check if a participant in bubble can be promoted to owner */
814
+ checkPromoteOwner(bubble: BubbleRB, user: User): Promise<void>;
815
+ updateRoomPhoneNumbers(bubbleId: string, dialInPhoneNumbers?: DialInPhoneNumber[]): Promise<BubbleRB>;
816
+ private updateMyUserInBubble;
817
+ /** *
818
+ * DELETE MYSELF FROM A ROOM
819
+ */
820
+ private userLeaveBubble;
821
+ /** *******************************************************/
822
+ /** ROOM XMPP EVENT HANDLERS */
823
+ /** *******************************************************/
824
+ private onBubbleErrorMessage;
825
+ private onBubbleInvitationMessage;
826
+ private onBubbleEventMessage;
827
+ private onBubbleHistoryReadyMessage;
828
+ private onRoomOpeninviteUpdates;
829
+ private manageonBubbleUpdateConfigMessage;
830
+ private onBubbleUpdateConfigMessage;
831
+ onRoomsContainerUpdate(stanza: any): void;
832
+ private extractHtmlContent;
833
+ private onBubblePresence;
834
+ private updateUserStatus;
835
+ private updateMyUserToAcceptedStatus;
836
+ private updateInviteData;
837
+ resetOpenInviteId(bubble: Bubble): Promise<string>;
838
+ bindOpenInviteIdToBubble(bubble: Bubble): Promise<string>;
839
+ unbindOpenInviteFromBubble(bubble: Bubble): Promise<void>;
840
+ joinRoomUsingOpenInviteId(openInviteId: string, roomPassword?: string): Promise<{
841
+ bubbleId: any;
842
+ isWaitingInTheLobby: any;
843
+ }>;
844
+ retrieveOpenInviteData(type?: string, roomId?: string): Promise<void>;
845
+ retrieveOpenInviteIdForBubble(bubble: Bubble): Promise<string>;
846
+ retrieveOpenInviteLinkForBubble(bubble: Bubble): Promise<string>;
847
+ /**
848
+ * Method checks the validity of an openInviteId
849
+ * @param openInvideId - to check
850
+ */
851
+ checkOpenInviteIdValidity(openInvideId: string): Promise<{
852
+ roomName: string;
853
+ roomTopic: string;
854
+ roomLocked: string;
855
+ invitingFirstName: string;
856
+ invitingLastName: string;
857
+ invitingCompanyName: string;
858
+ hasPassword?: boolean;
859
+ }>;
860
+ getOpenInviteIdLinkForRoom(roomId: string): any;
861
+ getOpenInviteIdForRoom(roomId: string): any;
862
+ getOpenInviteHistoryForRoom(roomId: string): any;
863
+ /**
864
+ * Update the "hide history for new members" setting for guests/Rainbow users joining this bubble via its public link.
865
+ * @param bubble - the bubble whose public link setting should be updated
866
+ * @param hideHistory - when true, new joiners via the public link will not have access to messages/files/polls prior to their join date
867
+ */
868
+ setOpenInviteHistoryForGuests(bubble: Bubble, hideHistory: boolean): Promise<void>;
869
+ /** *
870
+ * Method retrieve the room consumption of a given user (API request to https://api.openrainbow.org/enduser/#api-rooms-getUsersConsumption Rainbow End User portal - rooms - User Quota and Consumption)
871
+ */
872
+ retrieveRoomConsumption(): Promise<any>;
873
+ startAdHocConference(caller: any, participants: any): Promise<any>;
874
+ /**
875
+ * Helper API that is used to get the participant object from the CALL (PSTN or WebRTC) that can be used to create Ad-hoc conference via startAdHocConference API
876
+ * @param call - The active call to conference: this call must have a status ACTIVE (it could be a PSTN call or WebRTC call)
877
+ * @returns object with 2 properties, participant object that should be send to the startAdHocConference and blindTrasfer boolean if the call also needs to
878
+ * be redirected to the bubble via Blind Transfer API
879
+ */
880
+ getParticipantDataForAdhocFromCall(call: CallRB): {
881
+ participant: any;
882
+ blindTrasfer: boolean;
883
+ };
884
+ private getLanguageWithIsoCode;
885
+ bubbleLogger(log: string): void;
886
+ private getEventFromBubbleStatus;
887
+ private convertToBubbleEvents;
888
+ }
889
+ //# sourceMappingURL=bubble.service.d.ts.map