@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,1008 @@
1
+ import type { Subscription } from "rxjs";
2
+ import type { AdminType, ReceivedFileCustomisationValue, UserRole, UserType } from "./contact.model";
3
+ import { Contact, EmailType, PhoneNumberType } from "./contact.model";
4
+ import type { RBEvent } from "./event.model";
5
+ import type { CompanyInfo, CompanyTrialType } from "../models/company.model";
6
+ export declare enum UserProfileLimits {
7
+ /** maximum number of e-mail addresses for a user */
8
+ MAX_EMAIL_ADDRESSES = 2,
9
+ /** maximum number of phone numbers addresses for a user */
10
+ MAX_PHONE_NUMBERS = 6
11
+ }
12
+ /**
13
+ * Display format for users' full names (first and last names) data.
14
+ * - "FL": "First name, last name",
15
+ * - "LF": "Last name, first name",
16
+ */
17
+ export type DisplayOrder = "FL" | "LF";
18
+ /**
19
+ * User-specific custom data in the form of an Object with a free keys/values structure
20
+ * Restrictions on a CustomData Object (confirmed with backend team, CRRAINB-52626):
21
+ * - max 25 keys,
22
+ * - max key length: 64 characters.
23
+ * - max value length: 4096 characters.
24
+ * It is up to the client to manage the user's customData.
25
+ */
26
+ export type UserCustomData = Record<string, string>;
27
+ export interface UserAvatar {
28
+ src: string;
29
+ }
30
+ export interface UsersByEmailsResult {
31
+ contacts: Record<string, Contact>;
32
+ contactsArray: Contact[];
33
+ emails: string[];
34
+ }
35
+ export declare enum UserExternalPresenceStatus {
36
+ /**
37
+ * User goes to online by leaving any manual state.
38
+ * In case of a call in progress, the user will go to busy state;
39
+ */
40
+ ONLINE = "online",
41
+ /**
42
+ * 'Do not disturb' manual state
43
+ */
44
+ DND = "dnd",
45
+ /**
46
+ * 'Invisible' or 'Appear offline' manual state
47
+ */
48
+ INVISIBLE = "invisible",
49
+ /**
50
+ * 'Away' manual state
51
+ */
52
+ AWAY = "away",
53
+ /**
54
+ * 'Busy' manual state
55
+ */
56
+ BUSY = "busy"
57
+ }
58
+ export declare enum UserPresenceStatus {
59
+ /**
60
+ * User goes to online by leaving any manual state.
61
+ * In case of a call in progress, the user will go to busy state;
62
+ */
63
+ ONLINE = "online",
64
+ /**
65
+ * 'Do not disturb' manual state
66
+ */
67
+ DND = "dnd",
68
+ /**
69
+ * 'Invisible' or 'Appear offline' manual state
70
+ */
71
+ XA = "xa",
72
+ /**
73
+ * 'Away' manual state
74
+ */
75
+ AWAY = "away"
76
+ }
77
+ /**
78
+ * This interface represents a user's phone number with its properties, the type of number and data for managing it.
79
+ */
80
+ export interface UserPhoneNumber {
81
+ /**
82
+ * The type of the phone number (business, personal, etc.)
83
+ */
84
+ type: PhoneNumberType;
85
+ /**
86
+ * Related phone number. It can be used to make a phone call to this user
87
+ */
88
+ number: string;
89
+ /**
90
+ * Indicates if the phone number is visible by other users.
91
+ * This information is only available and managed for some phone numbers: the business mobile, the personal phone and the personal mobile numbers.
92
+ * For other phone numbers, this information is not relevant and will be ignored, particularly during an update.
93
+ * If this property is not specified, the phone number will be considered to be in shared use.
94
+ */
95
+ shared?: boolean;
96
+ /**
97
+ * Indicates if the phone number can be updated or not.
98
+ * In the absence of this property, the phone number is considered not modifiable.
99
+ * This information is not relevant and will be ignored during an update.
100
+ */
101
+ readOnly?: boolean;
102
+ }
103
+ /**
104
+ * This interface represents a user's phone number with its properties, the type of number and data for managing it.
105
+ */
106
+ export interface UserEmailAddress {
107
+ /** The type of the email (business or personal). */
108
+ type: EmailType;
109
+ /** Related email address. */
110
+ address: string;
111
+ }
112
+ /**
113
+ * This interface describes the information needed to specify the user's postal address.
114
+ */
115
+ export interface PostalAddress {
116
+ /** The number and the name of the street. */
117
+ street: string;
118
+ /** The department. */
119
+ department: string;
120
+ /** The postal code. */
121
+ postalCode: string;
122
+ /** The city . */
123
+ city: string;
124
+ /** The state . */
125
+ state: string;
126
+ }
127
+ /**
128
+ *T his interface provides additional information about a user, such as notes.
129
+ */
130
+ export interface UserNotes {
131
+ note1: string;
132
+ note2: string;
133
+ }
134
+ /**
135
+ * This interface provides media capabilites in a WebRTC Call.
136
+ */
137
+ export interface WebCallCapabilities {
138
+ /**
139
+ * Indicates if the audio media can be used at a given moment in a WebRTC Call with a defined remote party.
140
+ */
141
+ audio?: boolean;
142
+ /**
143
+ * Indicates if the video media can be used at a given moment in a WebRTC Call with a defined remote party.
144
+ */
145
+ video?: boolean;
146
+ /**
147
+ * Indicates if the sharing media can be used at a given moment in a WebRTC Call with a defined remote party.
148
+ */
149
+ sharing?: boolean;
150
+ }
151
+ /**
152
+ * This interface specifies the rights of the connected user in terms of access to certain features such as bubbles, file storage, channels...
153
+ * and permissions to use some functionalities offered by these features.
154
+ * These permissions can be granted or revoked by an administrator.
155
+ * This interface is only available for the connected user.
156
+ */
157
+ export interface UserOwnFeatureCapabilities {
158
+ /** The ability for a user to change manually his presence status. */
159
+ presenceUpdateEnabled: boolean;
160
+ /** The ability for a user to set the presence status to 'Invisible'. */
161
+ presenceSetInvisibleEnabled: boolean;
162
+ /**
163
+ * The ability for a user to use instant messages (IM).
164
+ * So, to start a chat, send and receive IMs and notifications in a P2P or bubble conversation.
165
+ */
166
+ IMEnabled: boolean;
167
+ /** The ability for the user to check if an IM message has been read by the peer. */
168
+ IMReadReceiptsEnabled: boolean;
169
+ /** The ability for the user to access the Rainbow file storage to upload/download/copy/share documents. */
170
+ documentStorageEnabled: boolean;
171
+ /** The ability for the user to share document (download and share documents). */
172
+ documentSharingEnabled: boolean;
173
+ /** The ability for the user to transfer a document from one conversation (P2P or bubble) to another. */
174
+ documentTransferEnabled: boolean;
175
+ /** The ability for the user to use the 'Channels' feature, i.e. to create or be a member of channels. */
176
+ channelEnabled: boolean;
177
+ /** The ability for the user to create a channel. */
178
+ channelCreateEnabled: boolean;
179
+ /** The ability for the user to use the 'Bubbles' feature, i.e. to create bubbles or join bubbles (chat and bubble conference). */
180
+ bubbleEnabled: boolean;
181
+ /** The ability for the user to view the speaking time for each participant in a bubble conference. */
182
+ bubbleUseSpeakingTimeStatsEnabled: boolean;
183
+ /** The ability for the user to record a bubble conference. */
184
+ bubbleConferenceRecordingEnabled: boolean;
185
+ /** The ability for the user to use transcription in a bubble conference. */
186
+ transcriptionEnabled: boolean;
187
+ /**
188
+ * The ability for the user to use Web RTC audio conversation (P2P/Bubble conference call).
189
+ * This includes the ability to make WebRTC P2P audio call, start a bubble conference call and to be joined via Web RTC audio call.
190
+ */
191
+ callWebrtcAudioEnabled: boolean;
192
+ /**
193
+ * The ability for the user to use Web RTC video conversation (P2P/Bubble conference call).
194
+ * This includes the ability to make WebRTC P2P video call, to add video in a bubble conference call and to be joined via Web RTC video call.
195
+ */
196
+ callWebrtcVideoEnabled: boolean;
197
+ /** The ability for the user to share his screen. */
198
+ callWebrtcSharingEnabled: boolean;
199
+ /** The ability for the user to record a conversation of a P2P call. */
200
+ callConversationRecordingEnabled: boolean;
201
+ /** The ability for the user to modify his entire profile. */
202
+ profileUpdateEnabled: boolean;
203
+ /** The ability for the user to modify certain data relating to its name (title, firstName, lastName) in its profile. */
204
+ profileTitleNameUpdateEnabled: boolean;
205
+ /** The ability for the user to customize his/her avatar */
206
+ profileAvatarCustomizationEnabled: boolean;
207
+ /** The ability for the user to modify all general settings. */
208
+ settingsUpdateEnabled: boolean;
209
+ /** The ability for the user to use the 'Task' feature, i.e. to create and classify tasks, such as messages or personal notes. */
210
+ taskEnabled: boolean;
211
+ /** The ability for the user to activate the 'Calendar synchronization' feature, i.e. to activate the synchro between rainbow and some calendar provider like Outlook or Gmail. */
212
+ calendarSynchEnabled: boolean;
213
+ }
214
+ /**
215
+ * This interface specifies the custom status data of user
216
+ */
217
+ export interface UserCustomStatus {
218
+ /**
219
+ * Information text. 100 char. max
220
+ */
221
+ status?: string;
222
+ /**
223
+ * Emoji icon. 10 char. max.
224
+ */
225
+ emoji?: string;
226
+ /**
227
+ * The status is valid until this date
228
+ */
229
+ expirationDate?: string;
230
+ }
231
+ /**
232
+ * This interface specifies the rights of a user in terms of access to certain features
233
+ * and permissions to use some functionalities offered by these features.
234
+ * A capacity may also require the user's company to subscribe to a dedicated offer but may also require configuration
235
+ * by an administrator in order to be allocated to the user.
236
+ * This interface is available for all users.
237
+ */
238
+ export interface UserPeerFeatureCapabilities {
239
+ /**
240
+ * The ability for a user to received alert notification sent as an emergency message.
241
+ * Note: This information is not available for the connected user.
242
+ */
243
+ IMReceiveAlertNotificationEnabled: boolean;
244
+ /** The ability for a user to receive files with possibly restricted source. */
245
+ documentReceivedFilePermission: ReceivedFileCustomisationValue;
246
+ }
247
+ export interface ConnectedUserProfile {
248
+ /**
249
+ * User title
250
+ */
251
+ title?: string;
252
+ /**
253
+ * User first name
254
+ */
255
+ firstName?: string;
256
+ /**
257
+ * User last name
258
+ */
259
+ lastName?: string;
260
+ /**
261
+ * User nickname
262
+ */
263
+ nickName?: string;
264
+ /**
265
+ * User avatar object
266
+ */
267
+ avatar?: string;
268
+ /**
269
+ * User job title
270
+ */
271
+ jobTitle?: string;
272
+ /**
273
+ * User country (ISO 3166-1 alpha3 format)
274
+ */
275
+ country?: string;
276
+ /**
277
+ * Language format is composed of localeset using format ISO 639-1, with optionally the regional variation using ISO 3166‑1 alpha-2 (separated by hyphen).
278
+ * Locale part is in lowercase, regional part is in uppercase. Examples: en, en-US, fr, fr-FR, fr-CA, es-ES, es-MX, ...
279
+ */
280
+ language?: string;
281
+ /**
282
+ * The list of phone numbers (personal and business) asssociated to the user.
283
+ * When modifying a profile, the phone number management process is as follows:
284
+ * For each provided type of number:
285
+ * - A previously undefined phone number will be added.
286
+ * - A phone number that has been changed will be updated.
287
+ * - A phone number that has not been provided but existed previously will be deleted.
288
+ * This does not applies to phone numbers defined by by the user's company administrator (The Business internal phone number for example)
289
+ * and for phone number for which the 'readOnly' property is set to 'true'.
290
+ * To delete all telephone numbers (except those that cannot be modified), simply set this property to an empty array ('[] ' value).
291
+ * Before any modification, you can validate a phone number format using API 'isPhoneNumberValid(...)'.
292
+ */
293
+ phoneNumbers?: UserPhoneNumber[];
294
+ /**
295
+ * The list of email addresses (personal and business) asssociated to the user.
296
+ * When modifying a profile, the email addresses management process is as follows:
297
+ * For each provided type of email address:
298
+ * - A previously undefined email address will be added.
299
+ * - An email address that has been changed will be updated.
300
+ * - An email address that has not been provided but existed previously will be deleted.
301
+ * To delete all email addresses, simply set this property to an empty array ('[] ' value).
302
+ * Before any modification, you can validate a e-mail address format using API 'isEmailAddressValid(...)'.
303
+ */
304
+ emailAddresses?: UserEmailAddress[];
305
+ }
306
+ export interface ConnectedUserDisplaySettings {
307
+ /**
308
+ * Display format for all users' full names (first and last names).
309
+ * Note that modifying this parameter has an impact on the 'displayName' user property, which will be updated accordingly.
310
+ */
311
+ displayOrder?: DisplayOrder;
312
+ }
313
+ /**
314
+ * Optional Hybrid(oxe only) trunk data obtained from server as user's settings data
315
+ * A list of oxe trunks allow user to select a specific trunk to be used for oxe outgoing calls.
316
+ * From user point of view, this trunk selection mainly impact the associated CLI sent to called.
317
+ */
318
+ export interface ConnectedUserOxeTrunk {
319
+ /**
320
+ * trunk prefix (used on server side)
321
+ * Allow server to make a call with the trunk
322
+ */
323
+ prefix: string;
324
+ /**
325
+ * description of the trunk (this info/label will be presented to the user in the telephonic settings)
326
+ * in order to identify/select a preferred oxe trunk to be used.
327
+ * The CLI used during outgoing oxe call will depend on this trunk selection.
328
+ */
329
+ description: string;
330
+ /**
331
+ * the trunk index (from server data) used to identify an oxe trunk from the list of trunks
332
+ * This index will be also used to store a preferred trunk to be selected by user
333
+ * and saved in oxePreferredTrunk field also shared with server
334
+ */
335
+ index: number;
336
+ }
337
+ /**
338
+ * @eventProperty
339
+ * `User` specific events
340
+ * Can listen to it via `user.subscribe()` API
341
+ */
342
+ export declare enum UserEvents {
343
+ /**
344
+ * @eventProperty
345
+ * This RBEvent is send when the user presence status is updated
346
+ */
347
+ ON_PRESENCE_CHANGE = "ON_PRESENCE_CHANGE",
348
+ /**
349
+ * @eventProperty
350
+ * This RBEvent is send when the user identity is updated (firstName, lastName, title, nickName or jobTitle)
351
+ */
352
+ ON_IDENTITY_CHANGE = "ON_IDENTITY_CHANGE",
353
+ /**
354
+ * @eventProperty
355
+ * This RBEvent is send when the user avatar is updated
356
+ */
357
+ ON_AVATAR_CHANGE = "ON_AVATAR_CHANGE",// CHECK
358
+ /**
359
+ * @eventProperty
360
+ * This RBEvent is send when the user custom status is updated
361
+ */
362
+ ON_CUSTOM_STATUS_CHANGE = "ON_CUSTOM_STATUS_CHANGE",
363
+ /**
364
+ * @eventProperty
365
+ * This RBEvent is send when the user oxe preferred trunk is updated
366
+ */
367
+ ON_OXEPREFERREDTRUNK_CHANGE = "ON_OXEPREFERREDTRUNK_CHANGE"
368
+ }
369
+ export interface ConnectedUser extends User {
370
+ /**
371
+ * Specifies the type of administration for a logged-in user with an Administrator role.
372
+ * @readonly
373
+ */
374
+ adminType: AdminType;
375
+ /**
376
+ * The different roles assigned to the connected user
377
+ * @readonly
378
+ */
379
+ roles: UserRole[];
380
+ /**
381
+ * User-specific custom data in the form of an Object with a free keys/values structure
382
+ * @readonly
383
+ */
384
+ customData?: Record<string, string>;
385
+ /**
386
+ * Display format for all users' full names (first and last names)
387
+ * @readonly
388
+ */
389
+ displayOrder: DisplayOrder;
390
+ /**
391
+ * User capabilities
392
+ * This corresponds to permissions granted by an administrator to a user to access features.
393
+ * A capacity may also require the user's company to subscribe to a dedicated offer.
394
+ * @readonly
395
+ */
396
+ ownFeatureCapabilities: UserOwnFeatureCapabilities;
397
+ /**
398
+ * Voicemail number (if the user has one).
399
+ * This feature is only available if the user is behind a PBX, i.e. a Rainbow Hub or Rainbow Hybrid (OXO or OXE) telephone system.
400
+ * In addition, a mailbox must be defined for this user.
401
+ * @readonly
402
+ */
403
+ voicemailNumber: string;
404
+ /**
405
+ * This feature enhances user experience by allowing for more expressive and relevant statuses, improving communication clarity.
406
+ * It also enables users to indicate their availability more precisely, fostering smoother interactions across the platform.
407
+ * @readonly
408
+ */
409
+ customStatus: UserCustomStatus;
410
+ /**
411
+ * Only for OXE telephonic situation, a list of telephonic trunks. This optional structure contains all the trunk's info needed to make OXE call, using a selected
412
+ * trunk that determines the used CLI for the outgoing calls. Those data are mainly provided by the server as a user's settings data set.
413
+ * User has the possibility (if available) to select a specific CLI to be used by selecting the associated trunk.
414
+ * This selected trunk will be then store in the "hereafter" field oxePreferredTrunk
415
+ * @readonly
416
+ */
417
+ oxeTrunks?: ConnectedUserOxeTrunk[];
418
+ /**
419
+ * Only for OXE situation, this optional field contains the index of current selected trunk to be used for oxe outgoing call.
420
+ * This index refers to one of the indexes contained within the structure oxeTrunkPrefixes (above)
421
+ * This trunk selection determines the associated CLI presented to called for outgoing oxe call.
422
+ * @readonly
423
+ */
424
+ oxePreferredTrunk?: number;
425
+ /**
426
+ * Set the current user presence status.
427
+ * The user must have the 'presenceUpdateEnabled' capability (available through 'ownFeatureCapabilities' property) to be able to change manually this status.
428
+ * The status list can be get at all time via getAvailablePresenceStatusList() API.
429
+ * @param status - The presence status that the user wants to set.
430
+ */
431
+ /** An object containing the list of all resources used by the connected user.*/
432
+ resources: Record<string, Resource>;
433
+ setPresenceStatus: (status: UserPresenceStatus | string) => Promise<void>;
434
+ /**
435
+ * Set the current user custom status.
436
+ * @param status - The custom status that the user wants to set
437
+ *
438
+ */
439
+ setCustomStatus: (status: UserCustomStatus) => Promise<void>;
440
+ /**
441
+ * Set the current user custom status.
442
+ * This will add a new "external" ressource to the connected user with that given custom status; Only 1 custom status can be set per user;
443
+ * @param status - The custom status that the user wants to set
444
+ * @param customMessage - The custom message that the user wants to set
445
+ *
446
+ */
447
+ setCustomExternalPresence: (status: UserExternalPresenceStatus | string, customMessage?: string) => Promise<void>;
448
+ /**
449
+ * Remove the current user custom status.
450
+ * This will remove the "external" ressource set before with setCustomExternalPresence API;
451
+ *
452
+ */
453
+ removeCustomExternalPresence: () => Promise<void>;
454
+ /**
455
+ * Return a list of status that the user can currently set via 'setPresenceStatus(...)' API.
456
+ * Possible values are 'online', 'away', 'xa', 'dnd'.
457
+ * + online: User goes to online (or can 'exit') any manual state. In case of a call in progress, the user will go to busy state.
458
+ * + away: A manual Away state.
459
+ * + xa: 'invisible' or 'appear offline' manual state.
460
+ * + dnd: Do not disturb manual state
461
+ * @returns Returns an array of all available values to be used if the user wants to change his presence
462
+ */
463
+ getAvailablePresenceStatusList: () => Promise<string[]>;
464
+ /**
465
+ * Set the user's password
466
+ * @param oldPassword - the old password
467
+ * @param newPassword - the new password
468
+ * @param async - if TRUE, the resolve of this API will be done once the change is taken into account also on XMPP side; Default value is FALSE
469
+ */
470
+ setPassword: (oldPassword: string, newPassword: string, async: boolean) => Promise<User>;
471
+ /**
472
+ * Initializes the connected user profile on first login.
473
+ * Must be called when `initialized` is `false` (i.e. first-time login, no first/last name set yet).
474
+ * Sets `isInitialized` to `true` server-side, updates profile fields, and optionally uploads an avatar.
475
+ * Throws if the user is already initialized — use `setProfile` instead.
476
+ * @param userProfile - the profile data to set; `firstName` or `lastName` is required if not already defined
477
+ */
478
+ initialize: (userProfile: ConnectedUserProfile) => Promise<User>;
479
+ /**
480
+ * Sets user profile data related to identity, mainly names, avatar, phone numbers and email addresses.
481
+ * The user must have the 'profileUpdateEnabled' capability (available through 'ownFeatureCapabilities' property) to be able to modify his profile.
482
+ * @param userProfile - the connected user'profile to update
483
+ */
484
+ setProfile: (userProfile: ConnectedUserProfile) => Promise<User>;
485
+ /**
486
+ * Sets user settings related to the display management such as the order in which first and last names are displayed.
487
+ * @param userSettings - the connected user'settings to update
488
+ */
489
+ setDisplaySettings: (userSettings: ConnectedUserDisplaySettings) => Promise<void>;
490
+ /**
491
+ * Set user-specific custom data.
492
+ * It is up to the connected user to define and manage their custom data.
493
+ * Any new custom data that is provided will overwrite the existing data.
494
+ * @param customData - the user's custom data.
495
+ */
496
+ setCustomData: (customData: UserCustomData) => Promise<User>;
497
+ /**
498
+ * Re-reads this user from the server, so everything derived from the payload — running offers,
499
+ * roles, company — reflects what the backend now holds.
500
+ *
501
+ * Needed after an action the backend answers to without pushing the new state back: subscribing
502
+ * to an offer grants roles and may create a company, and until this runs the connected user
503
+ * still describes the account as it was before.
504
+ */
505
+ refresh: () => Promise<User>;
506
+ /**
507
+ * Users have a default avatar generated from the initials of their first and/or last names.
508
+ * Ex: User John Do, will have the default avatar : JD.
509
+ * But this avatar can be overloaded by an image chosen by the user.
510
+ * @param base64AvatarImg - Base64 image to be uploaded
511
+ */
512
+ setCustomAvatar: (base64AvatarImg: string) => Promise<User>;
513
+ /**
514
+ * Remove the current user custom avatar (reset to default avatar)
515
+ */
516
+ removeCustomAvatar: () => Promise<User>;
517
+ /**
518
+ * Checks that an email address is valid.
519
+ * @param emailAddress - The email address to verify.
520
+ */
521
+ isEmailAddressValid: (emailAddress: string) => boolean;
522
+ /**
523
+ * Checks that a phone number is valid.
524
+ * @param phoneNumber - The phone number to verify.
525
+ */
526
+ isPhoneNumberValid: (phoneNumber: string) => boolean;
527
+ /**
528
+ * Delete current user account.
529
+ * This method deletes the connectedUser account and all its associated data.
530
+ * Depending on the configuration of the company hosting the connectedUser, this method may not work.
531
+ */
532
+ deleteAccount: () => Promise<void>;
533
+ /**
534
+ * Get the capabilities representing the medias that could be used for a WebRTC Call with the specified remote Rainbow user.
535
+ * The returned capabilities are a SNAPSHOT taken at the time of this API call and are valid (so guaranteed) only for the time of this call.
536
+ * @param remoteParty - The Rainbow user you want to make a WebRTC call to
537
+ */
538
+ getMakeWebCallCapabilities: (remoteParty: User) => WebCallCapabilities;
539
+ /**
540
+ * Monitor which medias can be used for a WebRTC call with the specified remote Rainbow user.
541
+ * This monitoring is done through a subscription which allows to receive real-time updates on the capabilities representing these medias.
542
+ * A callback is required to retrieve and managed the current values of these capabilities that will be returned "as parameter" of this callback.
543
+ * An error callback can also be optionally specified to handle thrown errors.
544
+ * It is important to note that, once this monitoring is no longer required, it must be stopped using the 'unsubscribe' method on this subscription.
545
+ * @param remoteParty - The Rainbow user you want to make a WebRTC call to
546
+ * @param callbackResult - Callback to manage capabilities sent in real time
547
+ * @param callbackError - Callback to manage errors
548
+ */
549
+ monitorWebCallCapabilities: (remoteParty: User, callbackResult: (arg0: WebCallCapabilities) => any, callbackError?: (error: any) => any) => Subscription;
550
+ /**
551
+ * Checks whether the user is currently engaged in any active call session on this device.
552
+ *
553
+ * Covers WebRTC peer-to-peer calls, web conference sessions, and webinar sessions.
554
+ * Does **not** account for PBX calls in office mode.
555
+ *
556
+ * @param exception - Optional call type to exclude from the check. When provided, the
557
+ * corresponding session type is ignored even if it is active:
558
+ * - `'p2p'` — ignore active WebRTC peer-to-peer calls
559
+ * - `'conference'` — ignore active web conference sessions
560
+ * - `'webinar'` — ignore active webinar sessions
561
+ * @returns `true` if the user is in at least one active session (after applying the
562
+ * exclusion), `false` otherwise.
563
+ */
564
+ isCurrentlyInCall: (exception?: "p2p" | "conference" | "webinar") => boolean;
565
+ /**
566
+ * Returns whether the user is on a time-limited webinar trial offer.
567
+ * A trial user has access to webinar features with limitations (e.g., limited number of participants or session duration).
568
+ */
569
+ isWebinarTrial: () => boolean;
570
+ /**
571
+ * Returns whether the user is on a time-limited collaboration trial offer.
572
+ * A trial user has access to collaboration features with limitations.
573
+ */
574
+ isCollaborationTrial: () => boolean;
575
+ /**
576
+ * Returns whether the user is on a running time-limited trial offer, webinar or collaboration.
577
+ * Turns false as soon as the trial is superseded by a purchase.
578
+ */
579
+ isTrialOffer: () => boolean;
580
+ /**
581
+ * Returns whether the account was created through the trial funnel — that funnel only,
582
+ * accounts from the historical self sign-up answer false.
583
+ * An origin, not a current state: unlike {@link isTrialOffer}, it stays true after a purchase.
584
+ */
585
+ hasTrialFunnelOrigin: () => boolean;
586
+ /**
587
+ * Returns whether a trial offer may be proposed to this Essential user: those in the default
588
+ * company, and the administrators of a company. An Essential user administered by someone else
589
+ * is not eligible.
590
+ */
591
+ isEssentialTrialEligible: () => boolean;
592
+ /**
593
+ * Returns whether the user is an Essential with no company of their own. Nothing to administer,
594
+ * so no admin is offered: they are sold an offer instead.
595
+ */
596
+ isStandaloneEssential: () => boolean;
597
+ /**
598
+ * Returns whether the account administers itself from inside the app — a shorter rail carrying
599
+ * its own administration entry, rather than the full rail and the historical admin bundle.
600
+ * Covers the members of a company that came in without a Business Partner, asked of the company
601
+ * so an invited member is covered too, and the Essential users eligible to a trial.
602
+ */
603
+ hasInAppAdministration: () => boolean;
604
+ /**
605
+ * Returns whether this user can host a webinar right now: their company must subscribe a webinar
606
+ * offer, and they must hold the host role. Both halves can fail on their own.
607
+ *
608
+ * Asked of the current subscription rather than of {@link isWebinarTrial}, which is rebuilt from
609
+ * the payload read at login and stays false on an offer subscribed since. Resolves false when
610
+ * the company cannot be reached.
611
+ */
612
+ canHostWebinars: () => Promise<boolean>;
613
+ /**
614
+ * Returns whether this user's company runs a collaboration offer right now, otherwise false.
615
+ * Free trial included — a trial grants the product just as a purchase does.
616
+ *
617
+ * The answer to "is this a webinar-only account?", which no capability flag gives: those stay
618
+ * on for a webinar-only company, saying what this member may do rather than what the company
619
+ * was sold. Asked of the current subscription rather than of {@link isCollaborationTrial},
620
+ * which is rebuilt from the payload read at login. Answers false when the company cannot be
621
+ * reached.
622
+ *
623
+ * Synchronous: the subscriptions are read off an in-memory cache filled before any screen runs.
624
+ */
625
+ hasCollaborationAccess: () => boolean;
626
+ /**
627
+ * Returns whether this user's company was ever granted the free trial of one product, whatever
628
+ * became of it — the backend never clears those, so this survives the trial's end and a purchase.
629
+ *
630
+ * Answers for the company, so every member reads the same thing. Use it to name what the company
631
+ * came in with; use {@link isWebinarTrial} / {@link isCollaborationTrial} for what this user's
632
+ * own login payload carried.
633
+ */
634
+ companyUsedTrialOfType: (type: CompanyTrialType) => boolean;
635
+ }
636
+ export interface Resource {
637
+ /** The presence show status (e.g., 'online', 'away'). */
638
+ show: string;
639
+ /** The presence status message. */
640
+ status: string;
641
+ /** The initial timestamp of the presence. */
642
+ initStamp?: any;
643
+ /** The current timestamp of the presence. */
644
+ stamp: any;
645
+ /** The type of resource (e.g., 'phone' for telephony). */
646
+ type?: string;
647
+ }
648
+ /**
649
+ * This interface is used to represent a Rainbow user<br/>
650
+ * A User is defined by a set of public information (name, firstname, avatar...) and a set of private information that are only shared with contacts that are in the user's network or in the same company (email, phone numbers...)
651
+ */
652
+ export interface User {
653
+ /**
654
+ * Permits to emit UserEvents events
655
+ * Can be listened via user.subscribe() API
656
+ * @param name - the name of the event
657
+ * @param data - the data to be send (an object
658
+ */
659
+ sendEvent: (name: UserEvents, data?: any) => void;
660
+ /**
661
+ * Subscribe to updates on the current contact (all events are of RBEvent type \{name: string, data:any \});
662
+ * @param handler - The call-back function that will be subscribed to the RxJS subject
663
+ * @param eventNames - A list of event names that the user wants to receive when subscribing (used a filter)
664
+ */
665
+ subscribe: (handler: (event: RBEvent<UserEvents>) => any, eventNames?: UserEvents[]) => Subscription;
666
+ /**
667
+ * User unique identifier
668
+ * @readonly
669
+ * @internal
670
+ */
671
+ id: string;
672
+ /**
673
+ * User unique database identifier
674
+ * @readonly
675
+ * @internal
676
+ */
677
+ dbId: string;
678
+ /**
679
+ * User unique xmpp identifier
680
+ * @readonly
681
+ * @internal
682
+ */
683
+ jid: string;
684
+ /**
685
+ * User unique xmpp identifier and ressource
686
+ * @readonly
687
+ * @internal
688
+ */
689
+ fullJid: string;
690
+ /**
691
+ * The User main email adress which can also be used for login.
692
+ * @readonly
693
+ */
694
+ loginEmail?: string;
695
+ /**
696
+ * The user displayName (depending of lastname/firstname order settings)
697
+ * @readonly
698
+ */
699
+ displayName?: string;
700
+ /**
701
+ * The user firstname
702
+ * @readonly
703
+ */
704
+ firstname?: string;
705
+ /**
706
+ * The user lastname
707
+ * @readonly
708
+ */
709
+ lastname?: string;
710
+ /**
711
+ * The user nickname
712
+ * @readonly
713
+ */
714
+ nickname?: string;
715
+ /**
716
+ * The user title
717
+ * @readonly
718
+ */
719
+ title?: string;
720
+ /**
721
+ * The user job title
722
+ * @readonly
723
+ */
724
+ jobTitle?: string;
725
+ /**
726
+ * Information about the company associated with the user.
727
+ * This is either the company to which the user belongs, or a company specified manually in a contact card.
728
+ * @readonly
729
+ */
730
+ companyInfo: CompanyInfo;
731
+ /**
732
+ * The user favorite language name
733
+ * @readonly
734
+ */
735
+ language?: string;
736
+ /**
737
+ * The user favorite Country
738
+ * @readonly
739
+ */
740
+ country?: string;
741
+ /**
742
+ * The addditional notes about the user.
743
+ * Notes are only available for a personal directory contact and a business directory contact.
744
+ * @readonly
745
+ */
746
+ notes: UserNotes;
747
+ /**
748
+ * The postal address of the user.
749
+ *Postal address information is only available for a personal directory contact and a business directory contact.
750
+ * @readonly
751
+ */
752
+ postalAddress: PostalAddress;
753
+ /**
754
+ * The user timezone name
755
+ * @readonly
756
+ */
757
+ timezone?: string;
758
+ /**
759
+ * The user avatar object
760
+ * @readonly
761
+ */
762
+ avatar?: UserAvatar;
763
+ /**
764
+ * The user avatar last modification date
765
+ * @readonly
766
+ */
767
+ lastAvatarUpdateDate?: Date;
768
+ /**
769
+ * The user initials (e.g. "JD" for "John Doe"), used as fallback avatar label.
770
+ * @readonly
771
+ */
772
+ initials?: string;
773
+ /**
774
+ * Whether the user is in guest mode (limited access, no persistent account).
775
+ * @readonly
776
+ */
777
+ guestMode: boolean;
778
+ /**
779
+ * The user presence status
780
+ * @readonly
781
+ */
782
+ status: "online" | "away" | "offline" | "unknown" | string;
783
+ /**
784
+ * The user presence status message
785
+ * @readonly
786
+ */
787
+ statusInfo?: string;
788
+ /**
789
+ * The list of e-mail addresses (personal and business) asssociated to the user
790
+ * @readonly
791
+ */
792
+ emails?: UserEmailAddress[];
793
+ /**
794
+ * The list of phone numbers (personal and business) asssociated to the user
795
+ * @readonly
796
+ */
797
+ phoneNumbers?: UserPhoneNumber[];
798
+ /**
799
+ * Specifies the type of user to give a more precise idea of what's behind it.
800
+ * @readonly
801
+ */
802
+ userType: UserType;
803
+ /**
804
+ * User capabilities
805
+ * This corresponds to permissions granted to a user to access functions and perform operations.
806
+ * A capacity may also require the user's company to subscribe to a dedicated offer.
807
+ * @readonly
808
+ */
809
+ peerFeatureCapabilities: UserPeerFeatureCapabilities;
810
+ /**
811
+ * The guest user's company name
812
+ * @readonly
813
+ */
814
+ companyNameOfGuest?: string;
815
+ /**
816
+ * Indicates whether the user is a guest
817
+ * @readonly
818
+ */
819
+ guest: boolean;
820
+ /**
821
+ * Indicates whether the user is in the Rainbow default company
822
+ * @readonly
823
+ */
824
+ isInDefaultCompany: boolean;
825
+ /**
826
+ * Indicates whether the user is considered initialized, i.e. whether he has entered his first and last name
827
+ * when logging in for the first time.
828
+ * @readonly
829
+ */
830
+ initialized: boolean;
831
+ /**
832
+ * Indicates whether the user account is pending deletion.
833
+ * @readonly
834
+ */
835
+ terminated: boolean;
836
+ /**
837
+ * The date when the user account was marked for deletion, if applicable.
838
+ * @readonly
839
+ */
840
+ terminatedDate?: Date;
841
+ /**
842
+ * List of subscription offer names the user is assigned to.
843
+ * @readonly
844
+ */
845
+ subscriptionNames?: string[];
846
+ /**
847
+ * The date the user was last seen online (more recent than lastLoginDate when available).
848
+ * @readonly
849
+ */
850
+ lastSeenDate?: Date;
851
+ /**
852
+ * The date of the user's last successful login.
853
+ * @readonly
854
+ */
855
+ lastLoginDate?: Date;
856
+ /**
857
+ * The user's site id
858
+ */
859
+ siteId: string;
860
+ /**
861
+ * The department the user belongs to.
862
+ * @readonly
863
+ */
864
+ department?: string;
865
+ /**
866
+ * Tags assigned to the user.
867
+ * @readonly
868
+ */
869
+ tags?: string[];
870
+ /**
871
+ * The organisation id the user belongs to.
872
+ * @readonly
873
+ */
874
+ organisationId?: string;
875
+ /**
876
+ * Syntactic sugar to check if a user is the connectedUser
877
+ */
878
+ isConnectedUser: () => boolean;
879
+ /**
880
+ * Check if a user is a directory contact.
881
+ * By contact we mean a contact present in one of the following directories:
882
+ * - The Rainbow Business directory
883
+ * - The Rainbow Personal directory
884
+ * - The PBX Phonebook
885
+ * - The Microsoft Azure Active directory
886
+ * - The Outlook contacts (Client Desktop only)
887
+ * Note that the availability of these directories depends on the configuration options on the administrator side and
888
+ * the profile feature of the connected user.
889
+ */
890
+ isDirectoryContact: () => boolean;
891
+ /**
892
+ * Checks if a user matches a given user type.
893
+ * @param userType - The type of user to be compared with the current user
894
+ */
895
+ isUserTypeOf: (userType: UserType) => boolean;
896
+ /**
897
+ * Checks if the user has a specific role.
898
+ * @param userRole - The role to check against the user's assigned roles
899
+ */
900
+ hasRole: (userRole: UserRole) => boolean;
901
+ /**
902
+ * Indicates wether the user is a telephony user or not.
903
+ * A telephony user is a user with an business phone number allocated on a PBX, i.e. a Rainbow Hub or Rainbow Hybrid (OXO or OXE) telephone system.
904
+ */
905
+ isTelephonyUser: () => boolean;
906
+ /**
907
+ * Indicates wether the user is a Rainbow Hub user or not.
908
+ * A Rainbow Hub user is a user with a Voice licence and an extension number allocated on a Rainbow Hub telephone system.
909
+ */
910
+ isRainbowHubUser: () => boolean;
911
+ /**
912
+ * Indicates wether the user is an Rainbow Hybrid user or not.
913
+ * An Rainbow Hybrid user is a user with an extension number allocated on a Hybrid PBX (OXE/OXO/Third party)
914
+ */
915
+ isRainbowHybridUser: () => boolean;
916
+ /**
917
+ * Debug Method to return a simplified JSON representation of the User object.
918
+ * @internal
919
+ */
920
+ toJSON: () => any;
921
+ /**
922
+ * Matches a user against search criteria using a smart fuzzy matching algorithm.
923
+ *
924
+ * This method performs an intelligent search by:
925
+ * - Normalizing both the user name and search criteria (removing accents, converting to lowercase)
926
+ * - Supporting multi-word searches where each word can match the beginning of any name part
927
+ * - Ensuring all search terms are found (AND logic between multiple words)
928
+ * - Matching only at the start of name parts (prefix matching)
929
+ *
930
+ * @param criteria - The search pattern (can contain multiple words separated by spaces)
931
+ * @returns `true` if all words in the criteria match the beginning of name parts, `false` otherwise
932
+ *
933
+ * @example
934
+ * // For a user "Jean-Pierre Dupont"
935
+ * user.matchesSearchCriteria("jean du") // true (matches "Jean" and "Dupont")
936
+ * user.matchesSearchCriteria("jp du") // true (matches "Jean-Pierre" and "Dupont")
937
+ * user.matchesSearchCriteria("pierre dup") // true (matches "Pierre" and "Dupont")
938
+ * user.matchesSearchCriteria("dupont j") // true (matches "Dupont" and "Jean")
939
+ * user.matchesSearchCriteria("ont jean") // false ("ont" doesn't match start of any name part)
940
+ *
941
+ * @remarks
942
+ * - Accents are normalized: "José" matches "jose"
943
+ * - Case insensitive: "JEAN" matches "jean"
944
+ * - Each query word must match at the start of a name part
945
+ */
946
+ matchesSearchCriteria: (criteria: string) => boolean;
947
+ /** `true` if the user has the `ADMIN` role (any admin type). */
948
+ isAdmin: () => boolean;
949
+ /** `true` if the user has the `ADMIN` role and `adminType === COMPANY_ADMIN`. */
950
+ isCompanyAdmin: () => boolean;
951
+ /** `true` if the user has the `ADMIN` role and `adminType === ORGANIZATION_ADMIN` (manages all companies in the org). */
952
+ isOrganizationAdmin: () => boolean;
953
+ /** `true` if the user has the `ADMIN` role and `adminType === SITE_ADMIN`. */
954
+ isSiteAdmin: () => boolean;
955
+ /** `true` if the user belongs to a BP company and has the `BP_ADMIN_OPERATIONS` role. */
956
+ isBPAdminOperations: () => boolean;
957
+ /** `true` if the user belongs to a BP company and has the `BP_ADMIN_FINANCE` role. */
958
+ isBPAdminFinance: () => boolean;
959
+ /** `true` if `isBPAdminOperations()` or `isBPAdminFinance()`. */
960
+ isBPAdmin: () => boolean;
961
+ /** `true` if the user belongs to a BP company and has the `BP_ADMIN_ANALYTICS` role. */
962
+ isBPAnalytics: () => boolean;
963
+ /** `true` if the user has the `EC_ADMIN_ANALYTICS` role. */
964
+ isECAnalytics: () => boolean;
965
+ /** `true` if the user has the `DIRECTORY_ADMIN` role. */
966
+ isDirectoryAdmin: () => boolean;
967
+ /** `true` if the user has the `WEBINAR_HOST` role, i.e. may create webinars. */
968
+ isWebinarHost: () => boolean;
969
+ }
970
+ /**
971
+ * @internal
972
+ */
973
+ export declare class ConnectedUserRB extends Contact implements ConnectedUser {
974
+ private logger;
975
+ private errorHelperService;
976
+ /**
977
+ * Checks that the type of phone numbers provided in the user profile is unique
978
+ * @param phoneNumbers - Phone numbers
979
+ */
980
+ private hasNoDuplicatesPhoneNumberType;
981
+ private processPhoneNumbers;
982
+ /**
983
+ * Checks that the type of email addresses provided in the user profile is unique
984
+ * @param emailAdresses - Email addresses
985
+ */
986
+ private hasNoDuplicatesEmailType;
987
+ private processEmailAddresses;
988
+ setPresenceStatus(status: UserPresenceStatus | string): Promise<void>;
989
+ setCustomExternalPresence(status: UserExternalPresenceStatus, customMessage?: string): Promise<void>;
990
+ removeCustomExternalPresence(): Promise<void>;
991
+ getAvailablePresenceStatusList(): Promise<string[]>;
992
+ initialize(userData: ConnectedUserProfile): Promise<User>;
993
+ setPassword(oldPassword: string, newPassword: string, async: boolean): Promise<User>;
994
+ setProfile(userData: ConnectedUserProfile): Promise<User>;
995
+ setCustomAvatar(base64AvatarImg: string): Promise<User>;
996
+ removeCustomAvatar(): Promise<User>;
997
+ setCustomData(customData: UserCustomData): Promise<User>;
998
+ refresh(): Promise<User>;
999
+ setCustomStatus(status: UserCustomStatus): Promise<void>;
1000
+ setDisplaySettings(userData: ConnectedUserDisplaySettings): Promise<void>;
1001
+ isEmailAddressValid(emailAddress: string): boolean;
1002
+ isPhoneNumberValid(phoneNumber: string): boolean;
1003
+ deleteAccount(): Promise<void>;
1004
+ getMakeWebCallCapabilities(remoteParty: User): WebCallCapabilities;
1005
+ monitorWebCallCapabilities(remoteParty: User, callbackResult: (arg0: WebCallCapabilities) => any, callbackError?: (error: any) => any): Subscription;
1006
+ isCurrentlyInCall(exception?: "p2p" | "conference" | "webinar"): boolean;
1007
+ }
1008
+ //# sourceMappingURL=user.model.d.ts.map