@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,426 @@
1
+ import { FileDescriptor, FileStorageType } from "../../models/common/fileDescriptor";
2
+ import type { BubbleRB } from "../../models/bubble.model";
3
+ import { FileViewer } from "../../models/common/fileViewer";
4
+ import type { Subscription } from "rxjs";
5
+ import { BehaviorSubject, Subject } from "rxjs";
6
+ import { FilePublicDownload } from "../../models/common/filePublicDownload";
7
+ import { LoggerService } from "../../services/core/logger.service";
8
+ import { ContactService } from "../../services/core/contact.service";
9
+ import { ErrorHelperService } from "../../services/utilities/errorHelper.service";
10
+ import type { BubbleConferenceRecap, BubbleConferenceRecapFile } from "../../models/bubbleConferenceRecap.model";
11
+ import { Service } from "../../services/service";
12
+ import type { ConversationRB } from "../../models/conversation.model";
13
+ import type { MessageID } from "../../models/message.model";
14
+ export declare const FILE_STORAGE_SVC = "FileStorageService";
15
+ export interface GetFilesResultInterface {
16
+ fileDescriptors: FileDescriptor[];
17
+ allReceived: boolean;
18
+ }
19
+ /** Optional viewer/owner restriction of {@link FileStorageService.searchForFilesOnServer}. */
20
+ export interface SearchFilesFilters {
21
+ viewerId?: string;
22
+ ownerId?: string;
23
+ }
24
+ /**
25
+ * The user's quota and the consumption of its storage space.
26
+ */
27
+ export interface ConsumptionData {
28
+ /**
29
+ * The current consumption (in bytes). If there is no limit, this data is set to undefined.
30
+ */
31
+ currentValue: number;
32
+ /**
33
+ * The quota (in bytes) associated with the offer available to the user.
34
+ */
35
+ maxValue: number;
36
+ /**
37
+ * The offer available to the user.
38
+ */
39
+ feature: string;
40
+ /**
41
+ * The unit of measurement for consumption and quota information.
42
+ */
43
+ unit: string;
44
+ /**
45
+ * Details about the current consumption (in bytes) of its storage space.
46
+ */
47
+ details: {
48
+ /**
49
+ * Consumption of files belonging to the user, whether these files are shared or not.
50
+ */
51
+ others: number;
52
+ /**
53
+ * Consumption of recording files belonging to the user, whether these files are shared or not.
54
+ */
55
+ recordings: number;
56
+ /**
57
+ * Consumption of P2P call recording files (purpose `call_record`) belonging to the user.
58
+ */
59
+ callRecording: number;
60
+ };
61
+ }
62
+ export interface TranscriptionData {
63
+ fileId: string;
64
+ transcriptionMessage: string;
65
+ action: string;
66
+ error: string;
67
+ }
68
+ export declare class FileStorageExternalStorage {
69
+ /**
70
+ * The external fileserver endpoint
71
+ */
72
+ endPoint: string;
73
+ /**
74
+ * Set to true when the temporary token must be renewed, or not exists.
75
+ */
76
+ authenticationNeeded: boolean;
77
+ /**
78
+ * Human readable string to identify the external storage
79
+ */
80
+ name: string;
81
+ /**
82
+ * Human readable string to identify the external storage
83
+ */
84
+ description: string;
85
+ /**
86
+ * Human readable string to identify the external storage
87
+ */
88
+ type: FileStorageType;
89
+ }
90
+ export declare enum FileStorageServiceEvents {
91
+ /**
92
+ * @event RAINBOW_FILESTORAGE_NEED_POPUP
93
+ * @description
94
+ * This RB Event is send when the fileStorageService needs to open a window popup and that user has blocked the popup usage.
95
+ * This event is gnerally used to display an information message.
96
+ */
97
+ RAINBOW_FILESTORAGE_NEEDS_POPUP = "RAINBOW_FILESTORAGE_NEED_POPUP",
98
+ ON_FILE_REMOVED_FROM_STORE_EVENT = "ON_FILE_REMOVED_FROM_STORE_EVENT",
99
+ ON_FILE_DESCRIPTOR_RECEIVED_EVENT = "ON_FILE_DESCRIPTOR_RECEIVED_EVENT",
100
+ ON_CONSUMPTION_DATA_UPDATED_EVENT = "ON_CONSUMPTION_DATA_UPDATED_EVENT",
101
+ ON_CONSUMPTION_DATA_WARNING_EVENT = "ON_CONSUMPTION_DATA_WARNING_EVENT",
102
+ ON_TRANSCRIPTION_CREATED = "ON_TRANSCRIPTION_CREATED",
103
+ ON_TRANSCRIPTION_SUBMITTED = "ON_TRANSCRIPTION_SUBMITTED",
104
+ ON_TRANSCRIPTION_ABORTED = "ON_TRANSCRIPTION_ABORTED",
105
+ ON_ARCHIVE_AVAILABLE = "ON_ARCHIVE_AVAILABLE",
106
+ ON_TRANSLATION_ABORTED = "ON_TRANSLATION_ABORTED",
107
+ ON_TRANSLATION_DONE = "ON_TRANSLATION_DONE"
108
+ }
109
+ export declare enum FileStorageCapabilities {
110
+ THUMBNAILS = "THUMBNAILS",
111
+ SAVE = "SAVE",
112
+ TRANSFERT = "TRANSFERT"
113
+ }
114
+ export declare class FileStorageService extends Service {
115
+ protected started: boolean;
116
+ protected listeners: any[];
117
+ protected portalURL: string;
118
+ protected consumptionData: ConsumptionData;
119
+ protected currentOrder: string;
120
+ protected voiceMessageFileDescriptors: FileDescriptor[];
121
+ protected fileDescriptors: FileDescriptor[];
122
+ protected receivedFileDescriptors: FileDescriptor[];
123
+ protected mergedFileDescriptors: FileDescriptor[];
124
+ protected uploadingFileDescriptors: FileDescriptor[];
125
+ protected externalFileDescriptors: FileDescriptor[];
126
+ protected contactService: ContactService;
127
+ protected logger: LoggerService;
128
+ protected errorHelperService: ErrorHelperService;
129
+ private eventService;
130
+ private mainService;
131
+ private profileService;
132
+ private xmppManagementHandler;
133
+ deleteFileWoConfirm: boolean;
134
+ fileDescriptorsSubject: Subject<any>;
135
+ uploadingFileDescriptorsSubject: Subject<any>;
136
+ private readonly fileRemovedIdsSubject;
137
+ protected conferenceRecordingFiles: BubbleConferenceRecap[];
138
+ private conferenceRecordingFileDescriptors;
139
+ conferenceRecordingFilesSubject: Subject<BubbleConferenceRecap[]>;
140
+ sharedWithMeConferenceRecordingFiles: FileDescriptor[];
141
+ sharedWithMeConferenceRecordingFilesSubject: Subject<FileDescriptor[]>;
142
+ allSentFilesLoaded: boolean;
143
+ allReceivedFilesLoaded: boolean;
144
+ private externalStorageFileDescriptors?;
145
+ private externalStoragePath;
146
+ externalStorage?: FileStorageExternalStorage;
147
+ private xmppService;
148
+ protected publicFileDownload: FilePublicDownload[];
149
+ publicFileDownloadSubject: Subject<any>;
150
+ startedSubject: BehaviorSubject<boolean>;
151
+ private retrieveFileDescriptorPromises;
152
+ private authService;
153
+ private fileDescriptorsForConversationResult;
154
+ private searchForFileDescriptorsCache;
155
+ private allFilesLoaded;
156
+ private rxSubject;
157
+ static getInstance(): FileStorageService;
158
+ static build(): FileStorageService;
159
+ protected constructor();
160
+ notifyFileRemovedFromStore(id: string): void;
161
+ start(fileStorageServiceConfig?: any): Promise<void>;
162
+ stop(): Promise<void>;
163
+ reinit(): Promise<void>;
164
+ private attachHandlers;
165
+ private removeHandlers;
166
+ /**
167
+ * @public
168
+ * @function subscribe
169
+ * @instance
170
+ * @description Subscribe to updates from the fileStorageService (all events are of RBEvent type {name: string, data:any});
171
+ * @param {any} handler The call-back function that will be subscribed to the RxJS subject
172
+ * @param {string[]} eventNames (optional) array of event to listen
173
+ * @returns {Subscription} Returns RxJS Subscription
174
+ */
175
+ subscribe(handler: any, eventNames?: string | string[]): Subscription;
176
+ sendEvent(name: FileStorageServiceEvents, data?: any): void;
177
+ getLatestFilesFromServer(): Promise<void>;
178
+ private retrieveFilesAtStartUp;
179
+ removeRoomFileViewer(room: BubbleRB): void;
180
+ /**
181
+ * Method request for the list of files received by a user from a given peer (i.e. inside a given conversation)
182
+ * @param {string} peerId [optional] dbId of contact in the P2P conversation
183
+ * @param {string} roomId [required] dbId of the room
184
+ * @returns {Promise<FileDescriptor[]>} : list of received files descriptors
185
+ * @memberof FileStorageService
186
+ */
187
+ private retrieveFilesInConversation;
188
+ /**
189
+ * Method used to search for files from the cached files based on different criteria
190
+ * @param {string} fileSet [optional] fileSet, could be "all", "mine", "received"; By default it's all
191
+ * @param {string} fileName [optional] to search by filename
192
+ * @param {string} typeMIME [optional] to filter by typeMIME (values allowd: image, audio-video, pdf, presentation, document, spreadsheet)
193
+ * @param {string} sortField [optional] sortField, could be fileName, uploadedDate or size; By default it's uploadedDate
194
+ * @param {number} sortOrder [optional] sortOrder, could be 1 (normal order) or -1 (reverse order); By default, it's -1
195
+ * @returns {Promise<GetFilesResultInterface>} Object containing the { fileDescriptors: FileDescriptor[], limit: number, offset: number }
196
+ * @memberof FileStorageService
197
+ */
198
+ private searchForFilesInCache;
199
+ getFileDescriptorById(id: string): FileDescriptor;
200
+ removeFileDescriptorById(id: string): any;
201
+ /**
202
+ * Method retrieve the data usage of a given user
203
+ * @returns {Promise<ConsumptionData>} : object data with the following properties:
204
+ * - feature {String} : The feature key belonging to the user's profile
205
+ * - maxValue {number} : The quota associated to this offer [octet]
206
+ * - currentValue {number} : The user's current consumption [octet]
207
+ * - unit {String} : The unit of this counters
208
+ */
209
+ retrieveUserConsumption(): Promise<ConsumptionData>;
210
+ /**
211
+ * Method request to get the files shared in a given bubble.
212
+ * @param bubbleId -Id of the room
213
+ * @returns list of received files descriptors
214
+ */
215
+ retrieveReceivedFilesForNewRoom(bubbleId: string): Promise<void>;
216
+ /**
217
+ * Method to load more files inside a given conversation (shared or received)
218
+ * @param {ConversationRB} conversation the conversation where we want to get the latest 1000 files
219
+ * @returns {Promise<GetFilesResultInterface>} : object {fileDescriptors:FileDescriptor[], allReceived:boolean }
220
+ * list of files descriptors; And allReceived flag to indicate if we can "load" more files for the same conversation
221
+ * @memberof FileStorageService
222
+ */
223
+ loadMoreDescriptorsForConversation(conversation: ConversationRB): Promise<GetFilesResultInterface>;
224
+ /**
225
+ * Method get the list of files inside a given conversation (shared or received) Limited to the first 1000 files;
226
+ * If you need more files, you should use the loadMoreDescriptorsForConversation API;
227
+ * @param {ConversationRB} conversation the conversation where we want to get the latest 1000 files
228
+ * @returns {Promise<GetFilesResultInterface>} : object {fileDescriptors:FileDescriptor[], allReceived:boolean }
229
+ * list of received files descriptors, limited to 1000 files; And allReceived flag to indicate if we can "load" more files for the same conversation
230
+ * @memberof FileStorageService
231
+ */
232
+ getFileDescriptorsInConversation(conversation: ConversationRB): Promise<GetFilesResultInterface>;
233
+ /**
234
+ * Method used to search for files on the server based on different criteria
235
+ * @param {string} fileSet [optional] fileSet, could be "all", "mine", "received"; By default it's all
236
+ * @param {string} fileName [optional] to search by filename
237
+ * @param {string} typeMIME [optional] to filter by typeMIME (values allowd: image, audio-video, pdf, presentation, document, spreadsheet)
238
+ * @param {string} sortField [optional] sortField, could be fileName, uploadedDate or size; By default it's uploadedDate
239
+ * @param {number} sortOrder [optional] sortOrder, could be 1 (normal order) or -1 (reverse order); By default, it's -1
240
+ * @param {number} offset offset, in case of paginated result
241
+ * @param {SearchFilesFilters} filters [optional] restrict the search to one viewer (`viewerId`, a user or room dbId,
242
+ * replacing the connected user in the `viewers/{id}` path) and/or one owner (`ownerId`). Bypasses the local cache.
243
+ * @returns {Promise<GetFilesResultInterface>} Object containing the { fileDescriptors: FileDescriptor[], limit: number, offset: number }
244
+ * @memberof FileStorageService
245
+ */
246
+ searchForFilesOnServer(fileSet?: string, fileName?: string, typeMIME?: string, sortField?: string, sortOrder?: number, offset?: number, force?: boolean, onlyInternal?: boolean, filters?: SearchFilesFilters): Promise<GetFilesResultInterface>;
247
+ /**
248
+ * Method used to search for files on the server based on different criteria
249
+ * @param {string} fileSet [optional] fileSet, could be "all", "mine", "received"; By default it's all
250
+ * @returns {GetFilesResultInterface} Object containing the { fileDescriptors: FileDescriptor[], allReceived: boolean }
251
+ * @memberof FileStorageService
252
+ */
253
+ getConsumptionData(): ConsumptionData;
254
+ getVoiceMessageFileDescriptorByMsgId(msgId: string): FileDescriptor;
255
+ /**
256
+ * Method requests server to create a file descriptor this will be saved to local file descriptor list (i.e. this.fileDescriptors)
257
+ * @param {File} file [required] file for which file descriptor has to be created
258
+ * @param {FileViewer[]} viewers [required] list of viewers having access to the file (a viewer could be either be a user or a room)
259
+ * @returns {Promise<FileDescriptor>} file descriptor created by server or error
260
+ * @memberof FileStorageService
261
+ */
262
+ createFileDescriptor(file: File, viewers?: FileViewer[], voiceMessageData?: any, ccarelogs?: boolean, ccareclientlogs?: boolean, recordingMetadata?: {
263
+ callRecord?: boolean;
264
+ callId?: string;
265
+ calledUserId?: string;
266
+ calledDisplayName?: string;
267
+ callDate?: string;
268
+ startCallRecordDate?: string;
269
+ endCallRecordDate?: string;
270
+ totalPauseDuration?: number;
271
+ }): Promise<FileDescriptor>;
272
+ /**
273
+ * Reads the original pixel dimensions of an image or video file without uploading it.
274
+ * Uses `createImageBitmap` for images and a temporary `<video>` element for videos.
275
+ * Returns `{ original_w: 0, original_h: 0 }` for all other file types.
276
+ *
277
+ * @remarks These dimensions reflect the `File` actually passed in — i.e. the file
278
+ * that gets uploaded — not necessarily the file the user originally selected.
279
+ * Some flows (e.g. channel post attachment in `channelItemEdit.onAttachNewImage`)
280
+ * resize the image into a 1920×1080 box before calling this. There, the returned
281
+ * values are the post-resize dimensions, which is correct.
282
+ * The chat flow uploads the source file untouched, so the values match the original.
283
+ *
284
+ * @param file - The file to inspect.
285
+ * @returns Pixel width and height of the media, or zeros if not applicable.
286
+ */
287
+ private getMediaDimensions;
288
+ private createFileDescriptorInternal;
289
+ private createFileDescriptorFromData;
290
+ /**
291
+ * Method to delete a given File Descriptor from the server. Only usable for the FD owned by the user;
292
+ * @param {string} id [required] fthe File Descriptor id to be deleted from the server
293
+ * @returns {Promise<void>} Resovle once done
294
+ * @memberof FileStorageService
295
+ */
296
+ deleteFileDescriptor(id: string): Promise<void>;
297
+ private deleteAllFilesDescriptorsFromCache;
298
+ /**
299
+ * Method to delete all File Descriptor that belong to the user from the server.
300
+ * @returns {Promise<void>} Resolve once done
301
+ * @memberof FileStorageService
302
+ */
303
+ deleteAllFileDescriptor(): Promise<void>;
304
+ /**
305
+ * Method retrieve full list of files belonging to user making the request
306
+ * @returns {Promise<FileDescriptor[]>} return
307
+ * @memberof FileStorageService
308
+ */
309
+ retrieveVoiceMessageFileDescriptorsListPerOwner(): Promise<FileDescriptor[]>;
310
+ /**
311
+ * Method deletes a viewer from the list of viewer of a given file
312
+ * @param {string} viewerId [required] Identifier of viewer to be removed. Could be either a user or a room
313
+ * @param {string} fileId [required] Identifier of the fileDescriptor from which the viewer will be removed
314
+ * @returns {Promise<FileDescriptor>} return
315
+ * @memberof FileStorageService
316
+ */
317
+ deleteFileViewer(viewerId: string, fileId: string): Promise<FileDescriptor>;
318
+ /**
319
+ * Method adds a viewer to a given file on server if it is not already one
320
+ * @param {string} fileId [required] Identifier of file
321
+ * @param {string} viewerId [required] Identifier of viewer to be added
322
+ * @param {string} type [required] type of viewer to be added (user or room)
323
+ * @returns {Promise<FileDescriptor>} file descriptor with newly added viewer
324
+ * @memberof FileStorageService
325
+ */
326
+ addFileViewer(fileId: string, viewerId: string, type: string): Promise<FileDescriptor>;
327
+ /**
328
+ * This method is used to copy the file to user personal storage
329
+ * @param {string} fileId [required] Identifier of file descriptor to copy
330
+ * @returns {Promise<FileDescriptor>} file descriptor retrieved
331
+ * @memberof FileStorageService
332
+ */
333
+ copyFileToUserCloudStorage(fileId: string): Promise<FileDescriptor>;
334
+ /**
335
+ * Method retrieve a specific file descriptor from server
336
+ * @param {string} fileId [required] Identifier of file descriptor to retrieve
337
+ * @returns {Promise<FileDescriptor>} file descriptor retrieved
338
+ * @memberof FileStorageService
339
+ */
340
+ retrieveOneFileDescriptor(fileId: string): Promise<FileDescriptor>;
341
+ /**
342
+ * Method retrieve a specific file descriptor from server and stores it in local fileDescriptors (replace existing and add if new)
343
+ * @param {string} fileId [required] Identifier of file descriptor to retrieve
344
+ * @returns {Promise<FileDescriptor>} file descriptor retrieved or null if none found
345
+ * @memberof FileStorageService
346
+ */
347
+ retrieveAndStoreOneFileDescriptor(fileId: string, forceRetrieve?: boolean): Promise<FileDescriptor>;
348
+ /** ********************************************************/
349
+ /** Utilities */
350
+ /** ********************************************************/
351
+ deleteFileDescriptorFromCache(id: string): void;
352
+ notifyFileRemoved(id: string): void;
353
+ extractFileIdFromUrl(url: string): string;
354
+ retrieveAndStoreOneVoiceMessageFileDescriptor(fileId: string): void;
355
+ deleteVoiceMessageFileDescriptor(fileId: any): void;
356
+ updateAFileDescriptorLocally(fileDesc: FileDescriptor): void;
357
+ removeRecordFromRecordingFile(deletedFileId: string, recordingFileId: string): void;
358
+ getPublicFileDownloads(): FilePublicDownload[];
359
+ clearPublicFileDownloads(): void;
360
+ findPublicFileDownload(fileUrl: string): FilePublicDownload;
361
+ updatePublicFileDownloadArray(filesPublicDownload: [], fileSystem: any): void;
362
+ getUploadingFilesSize(): number;
363
+ removeUploadingFileFromId(fileId: string): void;
364
+ removeUploadingFileDescriptor(fileDesc: FileDescriptor): void;
365
+ isEnoughAvailableSpaceForFiles(filesToSend: any[]): boolean;
366
+ isEnoughAvailableSpaceForFileDescriptor(fileId: string, fileViewers: any): boolean;
367
+ stopAllFileTransfer(): void;
368
+ getMimeInfo(mimeType: string): any;
369
+ removePublicFileDownload(file: FilePublicDownload): void;
370
+ getRecordingFileAvatar(recordingFileId: string): Promise<string>;
371
+ getRecordingFiles(): BubbleConferenceRecap[];
372
+ getRecordingFilesFromServer(): Promise<BubbleConferenceRecap[]>;
373
+ refreshConferenceRecapFromServcer(recap: BubbleConferenceRecap): Promise<void>;
374
+ getSharedWithMeConferenceRecordingFiles(): FileDescriptor[];
375
+ getConferenceRecordingFileById(fileId: string): FileDescriptor;
376
+ getSharedWithMeConferenceRecordingFilesFromServer(): Promise<FileDescriptor[]>;
377
+ deleteConferenceRecordingFile(conferenceRecordingFileId: string): Promise<BubbleConferenceRecap[]>;
378
+ /**
379
+ *
380
+ * For a meeting a transcription may be wanted beside or not a meeting recording. For green washing need or other needs, the meeting organiser car choose whether the transcription is permanent or ephemeral. When ephemeral, the transcription is available during 15 days.
381
+ * The aim of this API is to change the status of the recording via the boolean isEphemeral
382
+ false : A meeting record and eventually its transcription and its summary are always available until the recording is deleted.
383
+ true : After 15 days after the end of the conference, the meeting record is deleted. That is to say only the transcription and the summary will remain. The date timeToLiveDate is taken in account to schedule a cleaning task.
384
+ */
385
+ changeConferenceRecapEphemeral(conferenceRecordingFile: BubbleConferenceRecap, isEphemeral: boolean): Promise<void>;
386
+ changeConferenceRecordingName(conferenceRecordingFile: BubbleConferenceRecap, recordingName: string): Promise<void>;
387
+ getConferenceRecordingAssociatedFiles(conferenceRecordingFile: BubbleConferenceRecap): Promise<FileDescriptor[]>;
388
+ authenticateExternalStorage(): Promise<any>;
389
+ logoutExternalStorage(): Promise<void>;
390
+ /**
391
+ * @function searchForFilesOnExternalStorage
392
+ * @description Method used to search for files on the external storage server based on different criteria
393
+ * Note that this method only returns my own files
394
+ * @param {string} path define the directory to search from
395
+ * @returns {Promise<FileDescriptor>} Object containing the { fileDescriptors: FileDescriptor[], limit: number, offset: number }
396
+ * @memberof FileStorageService
397
+ */
398
+ searchForFilesOnExternalStorage(path?: string, sortedBy?: string, sortDirection?: string, filterBy?: string, filterValue?: string, force?: boolean): Promise<GetFilesResultInterface>;
399
+ shareExternalStorageFiles(path: string, basename: string, fileId: string, viewerId: string, type: string): Promise<FileDescriptor>;
400
+ createExternalStorageSharingSpace(bubble: BubbleRB): Promise<void>;
401
+ getExternalStorageSharingSpaceUrl(bubble: BubbleRB): Promise<void>;
402
+ createZipFromFiles(archiveName: string, files?: FileDescriptor[] | BubbleConferenceRecapFile[]): Promise<any>;
403
+ /**
404
+ * Builds a downloadable archive of a P2P call recording via the dedicated call_record endpoint. Unlike the
405
+ * generic files archive, the server bundles the audio together with its transcript/summary variants. Returns
406
+ * the archive file descriptor id to await through the ON_ARCHIVE_AVAILABLE event.
407
+ */
408
+ createCallRecordArchive(callRecordId: string, archiveName: string): Promise<any>;
409
+ getAudioFileTranscription(messageFileId: string, messageId?: MessageID, conversation?: ConversationRB, roomId?: string): Promise<void>;
410
+ addViewerToConferenceRecording(recap: BubbleConferenceRecap, dbId: string, type: string): Promise<void>;
411
+ removeViewerToConferenceRecording(recap: BubbleConferenceRecap, dbId: string): Promise<void>;
412
+ /**
413
+ * This method is used to translate the file
414
+ * @param {string} fileId [required] Identifier of file descriptor to translate
415
+ * @param {string} lang [required] translation language
416
+ * @returns {Promise<FileDescriptor>} file descriptor retrieved
417
+ * @memberof FileStorageService
418
+ */
419
+ translateFile(fileId: string, lang: string): Promise<void>;
420
+ /**
421
+ * Management of XMPP management message
422
+ * @param stanza - The received stanza.
423
+ */
424
+ private onManagementMessageReceived;
425
+ }
426
+ //# sourceMappingURL=fileStorage.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileStorage.service.d.ts","sourceRoot":"","sources":["../../../src/services/files/fileStorage.service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAa,eAAe,EAAE,MAAM,mDAAmD,CAAC;AAC/G,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0CAA0C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Ac,CAAC;IAyBlI,iCAAiC,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAkBlE,iCAAiC,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAgBlE,kBAAkB,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,GAAE,cAAc,EAAE,GAAG,yBAAyB,EAAO;IA4B/G;;;;OAIG;IACU,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IA6BjE,yBAAyB,CAAC,aAAa,EAAE,MAAM,EAAE,SAAS,GAAE,SAAgB,EAAE,YAAY,GAAE,cAAqB,EAAE,MAAM,GAAE,MAAa;IAuCxI,8BAA8B,CAAC,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;IAevF,iCAAiC,CAAC,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,MAAM;IAczF;;;;;;OAMG;IACU,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAgBvE;;;OAGG;YACW,2BAA2B;CAgC5C"}
@@ -0,0 +1,207 @@
1
+ import { BehaviorSubject } from "rxjs";
2
+ import { Service } from "../../services/service";
3
+ /**
4
+ * SUBTITLES STRUCTURE :
5
+ * - video id (e.g. '4')
6
+ * - - video language ('en', 'fr'...)
7
+ * - - - subtitle files ('en.vtt', 'fr.vtt', 'es.vtt'...)
8
+ *
9
+ * The 'videoId' is defined in the article's labels in the HelpCenter and converted to a Chapter's parameter in the Back-End
10
+ * The 'video language' refers to language used in the audio of the video. Videos might be translated to multiple languages (French, German...). The default language is English. This is based on the article's locale.
11
+ * The 'subtitle files' are all the Subtitle files generated for a given language.
12
+ *
13
+ * If we have a video in English and French, we will have this structure:
14
+ * - 4
15
+ * - - en
16
+ * - - - en.vtt (used as captions)
17
+ * - - - fr.vtt
18
+ * - - - es.vtt
19
+ * - - - *.vtt
20
+ * - - fr
21
+ * - - - en.vtt
22
+ * - - - fr.vtt (used as captions)
23
+ * - - - es.vtt
24
+ * - - - *.vtt
25
+ */
26
+ interface Subtitle {
27
+ /** Label of the language used based on supported languages' label (e.g. "English", "Français"...) */
28
+ label: string;
29
+ /** Language code of the subtitles ("en", "fr"...) */
30
+ language: string;
31
+ /** Subtitles file */
32
+ blob: Blob;
33
+ }
34
+ export interface Course {
35
+ zendeskId: string;
36
+ completedChapters: number;
37
+ availableChapters: number;
38
+ /** Computed client-side as Math.round((completedChapters / availableChapters) * 100) */
39
+ completionPercentage: number;
40
+ name?: string;
41
+ description?: string;
42
+ thumbnailSmallUrl?: string;
43
+ thumbnailMediumUrl?: string;
44
+ thumbnailBigUrl?: string;
45
+ /** 1 = beginner, 2 = intermediate, 3 = expert */
46
+ difficulty?: 1 | 2 | 3;
47
+ device?: string;
48
+ /** Loaded lazily by getFilteredModulesAndChaptersFromCourseId */
49
+ modules?: Module[];
50
+ /** Present on new-content courses returned by /courses/new */
51
+ newCourse?: boolean;
52
+ newVideoIds?: string[];
53
+ newVideoZendeskIds?: string[];
54
+ /** Present on new-content stubs built from /chapters/new when no matching course exists */
55
+ courseId?: string;
56
+ }
57
+ export interface Chapter {
58
+ id: string;
59
+ videoId: string;
60
+ moduleId: string;
61
+ locale: string;
62
+ zendeskId: string;
63
+ courseId: string;
64
+ name: string;
65
+ duration: number;
66
+ body: string;
67
+ /** Set client-side after checking userCompletions */
68
+ completed?: boolean;
69
+ /** Set client-side: formatted duration in minutes */
70
+ minutes?: string;
71
+ [key: string]: any;
72
+ }
73
+ export interface Module {
74
+ name: string;
75
+ chapters: Chapter[];
76
+ [key: string]: any;
77
+ }
78
+ export interface KnowledgeArticle {
79
+ name: string;
80
+ labelNames: string[];
81
+ [key: string]: any;
82
+ }
83
+ export interface KnowledgeSection {
84
+ name: string;
85
+ articles: KnowledgeArticle[];
86
+ [key: string]: any;
87
+ }
88
+ export interface Completion {
89
+ videoId: string;
90
+ userId: string;
91
+ companyId: string;
92
+ moduleId: string;
93
+ courseId: string;
94
+ locale: string;
95
+ chapterMongoId: string;
96
+ [key: string]: any;
97
+ }
98
+ export interface Article {
99
+ name: string;
100
+ locale: string;
101
+ /** Zendesk label slugs used to filter carousel content (e.g. "carousel_welcome", "carousel_teams"...) */
102
+ labels: string[];
103
+ body: string;
104
+ [key: string]: any;
105
+ }
106
+ export declare const HELP_CENTER_SVC = "HelpCenterService";
107
+ export declare class HelpCenterService extends Service {
108
+ private readonly logger;
109
+ private readonly profileService;
110
+ private readonly authService;
111
+ private readonly xmppService;
112
+ private readonly settingsService;
113
+ private readonly errorHelperService;
114
+ private readonly mainService;
115
+ private readonly subscriptionService;
116
+ private get connectedUser();
117
+ private get connectedUserLanguage();
118
+ private started;
119
+ private xmppSubscription;
120
+ private subscriptions;
121
+ readonly portalName: string;
122
+ private readonly usingRainbowSectionId;
123
+ private readonly welcomeModuleId;
124
+ private userLicences;
125
+ private userFeatures;
126
+ private courseFeatures;
127
+ private coursesData;
128
+ private welcomeArticles;
129
+ private userCompletions;
130
+ private newCourses;
131
+ private newChapters;
132
+ private videos;
133
+ readonly newContent: BehaviorSubject<boolean>;
134
+ readonly newContentData: BehaviorSubject<Course[]>;
135
+ readonly filteredCarouselArticles: BehaviorSubject<Article[]>;
136
+ static getInstance(): HelpCenterService;
137
+ static build(): HelpCenterService;
138
+ private constructor();
139
+ start(): Promise<void>;
140
+ stop(): Promise<void>;
141
+ isHelpCenterAvailable(): boolean;
142
+ getAllCourses(): Promise<Course[]>;
143
+ getFilteredModulesAndChaptersFromCourseId(courseId: string): Promise<Module[]>;
144
+ private getNewContent;
145
+ private getNewCourses;
146
+ private getNewChapters;
147
+ getNewChaptersIds(courseId: string): string[];
148
+ getNewContentData(): Promise<{
149
+ newCourses: Course[];
150
+ newChapters: {
151
+ courseId: string;
152
+ chapters: Chapter[];
153
+ }[];
154
+ }>;
155
+ updateNewContent(videoId: string, courseId: string): void;
156
+ private updateLocale;
157
+ /**
158
+ * Rebuilds the course catalogue after a subscription change, the features deciding what the
159
+ * user is entitled to having just moved — a webinar offer bought mid-session adds its course,
160
+ * a collaboration one the rest of the catalogue.
161
+ *
162
+ * The course being watched is left alone: unlike a language change, the identifiers stay
163
+ * valid, so a video in progress is not dropped over an offer bought in another tab.
164
+ */
165
+ private updateSubscribedContent;
166
+ getUserCompletions(): Promise<Completion[]>;
167
+ updateCompletion(video: Chapter, courseId: string): Promise<Completion[]>;
168
+ private updateCarouselContent;
169
+ getUsingRainbow(): Promise<KnowledgeSection[]>;
170
+ getWelcomeArticles(): Promise<void>;
171
+ getSubtitlesOfVideo(videoId: string | number, srcLang: string): Promise<Subtitle[]>;
172
+ /**
173
+ * The label the backend files webinar training under.
174
+ *
175
+ * Points at the Teams content while no webinar course exists yet: a webinar-only account must
176
+ * be shown one course rather than the whole collaboration catalogue it cannot use. Swap this
177
+ * for the real label once the webinar course is published — nothing else changes.
178
+ */
179
+ private static readonly WEBINAR_COURSE_FEATURE;
180
+ /**
181
+ * The features filtering the courses and the new-content notices.
182
+ *
183
+ * Webinar training is not reached by any capability flag: no feature stands for it, so a
184
+ * company holding a webinar offer would never be shown its course. The label is therefore
185
+ * added here whenever the company subscribes webinars, and a company sold webinars alone is
186
+ * narrowed to that label, the collaboration catalogue having nothing to teach it.
187
+ *
188
+ * Whether the company subscribes is read off the subscriptions rather than the per-user
189
+ * capability flags: those stay on for a webinar-only company, saying what a member may do
190
+ * rather than what the company bought.
191
+ *
192
+ * Both adjustments are confined to a company granted the webinar trial, the webinar course
193
+ * being what that trial came in with. A company sold through the regular Business Partner
194
+ * channel is trained by its partner, and narrowing it to the single webinar label would strip
195
+ * a catalogue it was legitimately sold. Read off the company's `freemiumTypes`, which the
196
+ * backend never clears: the course is kept once the trial has run out and after the company
197
+ * has bought the offer, unlike anything read from the current subscriptions.
198
+ *
199
+ * Separate from {@link getUserFeatures}: the knowledge base keeps the plain list, so an
200
+ * account shown one course still gets the whole help.
201
+ */
202
+ private getCourseFeatures;
203
+ private getUserFeatures;
204
+ private getUserLicences;
205
+ }
206
+ export {};
207
+ //# sourceMappingURL=helpCenter.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpCenter.service.d.ts","sourceRoot":"","sources":["../../../src/services/helpcenter/helpCenter.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAGvC,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAahE;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,UAAU,QAAQ;IACd,qGAAqG;IACrG,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB;IACrB,IAAI,EAAE,IAAI,CAAC;CACd;AAUD,MAAM,WAAW,MAAM;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,wFAAwF;IACxF,oBAAoB,EAAE,MAAM,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iDAAiD;IACjD,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,MAAM,CAAC;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CAAC,QAAQ,EAAE,CAAC;IA+BhG;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,sBAAsB,CAAqB;IAEnE;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,OAAO,CAAC,iBAAiB;IAgBzB,OAAO,CAAC,eAAe;IA8BvB,OAAO,CAAC,eAAe;CAa1B"}
@@ -0,0 +1,4 @@
1
+ export { HELP_CENTER_SVC, HelpCenterService } from "./helpCenter.service";
2
+ export type { Article, Chapter, Completion, Course, KnowledgeArticle, KnowledgeSection, Module } from "./helpCenter.service";
3
+ export { WHATS_NEW_SVC, WhatsNewService } from "./whatsNew.service";
4
+ //# sourceMappingURL=index.d.ts.map