@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,372 @@
1
+ import type { FileDocument } from "./fileDocument.model";
2
+ import { RBEvent } from "./event.model";
3
+ import type { Subscription } from "rxjs";
4
+ import type { User } from "./user.model";
5
+ import type { Bubble } from "./bubble.model";
6
+ import type { BubbleConferenceRecapSpeakerRanges, RecapViewer } from "./bubbleConferenceRecap.model";
7
+ import { BubbleConferenceRecapTranscriptMessage, RecapErrorReasonEnum, RecapStatusEnum } from "./bubbleConferenceRecap.model";
8
+ export { RecapErrorReasonEnum, RecapStatusEnum };
9
+ export type { RecapViewer };
10
+ export type P2PRecapDocumentTypes = "audio" | "summary" | "transcriptionText" | "transcriptionJson" | "subtitles";
11
+ /**
12
+ * Raw viewer reference stored on a recap (server shape): the viewer's dbId and its kind ("user" / "room").
13
+ * Resolved into a {@link RecapViewer} (with the actual User/Bubble) for display via `sharedWith()`.
14
+ */
15
+ export interface RecapViewerRef {
16
+ viewerId: string;
17
+ type: string;
18
+ }
19
+ /** Serialized form of a recap (see {@link P2PRecap.toJSON}), for logging / persistence. */
20
+ export interface P2PRecapJSON {
21
+ id?: string;
22
+ callId?: string;
23
+ status: RecapStatusEnum;
24
+ records: {
25
+ fileId?: string;
26
+ fileName?: string;
27
+ typeMIME?: string;
28
+ }[];
29
+ }
30
+ /**
31
+ * Raw sub-file descriptor parsed from the wire (XMPP `<recordingfile>` or `tags.callTranscript.records`),
32
+ * before it is turned into a {@link P2PRecapFile}. Values come from `.text()` / JSON, hence nullable.
33
+ */
34
+ export interface RecapFileData {
35
+ fileId?: string | null;
36
+ variant?: string | null;
37
+ fileName?: string | null;
38
+ md5sum?: string | null;
39
+ size?: string | number | null;
40
+ typeMIME?: string | null;
41
+ }
42
+ /**
43
+ * Normalized recap payload fed to {@link P2PRecapRB.createFromData} / {@link P2PRecapRB.updateFromData},
44
+ * assembled by the service from an XMPP `<callrecord>` message or a GET /callrecord item. Status fields
45
+ * carry the raw wire strings; they are cast to their enums when applied to the recap.
46
+ */
47
+ export interface P2PRecapData {
48
+ id?: string | null;
49
+ callId?: string | null;
50
+ startDate?: string;
51
+ endDate?: string;
52
+ totalPauseDuration?: number;
53
+ callDate?: string | null;
54
+ calledUserId?: string | null;
55
+ calledDisplayName?: string | null;
56
+ userId?: string;
57
+ isOwner?: boolean;
58
+ viewers?: RecapViewerRef[];
59
+ transcription?: unknown;
60
+ summary?: unknown;
61
+ status?: string | null;
62
+ statusTranscription?: string;
63
+ statusSummary?: string;
64
+ statusMeetingRecording?: string;
65
+ transcriptionReason?: string;
66
+ retryCount?: number;
67
+ recordingAndTranscription?: {
68
+ retryCount?: number;
69
+ };
70
+ records?: P2PRecapFile[];
71
+ }
72
+ export interface P2PRecap {
73
+ /**
74
+ * Unique identifier for the P2P recap.
75
+ */
76
+ id?: string;
77
+ /**
78
+ * Identifier of the P2P call this recap belongs to (matches the call_id of the related call log entry).
79
+ * This is the correlation key: the displayed label (contact name / number / title) is resolved from
80
+ * the call log via this callId, the recap itself does not store a recording name.
81
+ */
82
+ callId?: string;
83
+ /**
84
+ * Start date of the recap in ISO format.
85
+ */
86
+ startDate?: string;
87
+ /**
88
+ * Stop date of the recap in ISO format.
89
+ */
90
+ stopDate?: string;
91
+ /**
92
+ * Time spent paused during the recording, in milliseconds. Nothing is recorded while paused,
93
+ * so it must be excluded from the duration.
94
+ */
95
+ totalPauseDuration?: number;
96
+ /**
97
+ * Date of the call itself (may be earlier than the recording).
98
+ */
99
+ callDate?: string;
100
+ /**
101
+ * Rainbow id of the other party, when it is a Rainbow user (for display fallback).
102
+ */
103
+ calledUserId?: string;
104
+ /**
105
+ * Free display name of the other party (a name or a phone number), for display fallback.
106
+ */
107
+ calledDisplayName?: string;
108
+ /**
109
+ * List of records associated with the P2P recap.
110
+ * @internal
111
+ */
112
+ records?: P2PRecapFile[];
113
+ /**
114
+ * Identifier of the user who created the recap.
115
+ */
116
+ userId?: string;
117
+ /**
118
+ * TRUE If summary is asked for this recording
119
+ */
120
+ summaryAsked: boolean;
121
+ /**
122
+ * Status of the summary.
123
+ */
124
+ summaryStatus?: RecapStatusEnum;
125
+ /**
126
+ * TRUE If transcription is asked for this recording
127
+ */
128
+ transcriptionAsked: boolean;
129
+ /**
130
+ * Status of the transcription.
131
+ */
132
+ transcriptionStatus?: RecapStatusEnum;
133
+ /**
134
+ * In case of error during the transcription, the details of the error.
135
+ */
136
+ transcriptionErrorReason: RecapErrorReasonEnum;
137
+ /**
138
+ * Status of the recording itself.
139
+ */
140
+ recordingStatus?: RecapStatusEnum;
141
+ /**
142
+ * Overall status of the P2P recap.
143
+ */
144
+ status: RecapStatusEnum;
145
+ /**
146
+ * List of actions currently possible for this recap.
147
+ */
148
+ actions: P2PRecapActions;
149
+ /**
150
+ * Delete the P2P recap.
151
+ */
152
+ delete: () => Promise<void>;
153
+ /**
154
+ * Re-trigger the AI processing (transcription/summary) of the recording.
155
+ */
156
+ retry: () => Promise<void>;
157
+ /**
158
+ * Number of times the transcription/summary processing has been retried.
159
+ * @readonly
160
+ */
161
+ retryCount?: number;
162
+ /**
163
+ * Get recap document by type.
164
+ */
165
+ getFileDocument: (type: P2PRecapDocumentTypes) => Promise<FileDocument | undefined>;
166
+ getTranscriptMessages: () => Promise<BubbleConferenceRecapTranscriptMessage[]>;
167
+ getSpeakerRanges: () => BubbleConferenceRecapSpeakerRanges[];
168
+ getSummary: () => Promise<string | undefined>;
169
+ getDuration: () => number;
170
+ getPublisher: () => Promise<User>;
171
+ /**
172
+ * Display label of the recording: the uploaded file's name (extension stripped), or a generic
173
+ * "recording_" + start date fallback. There is no server recordingName field for P2P recaps.
174
+ */
175
+ getDisplayName: () => string;
176
+ /**
177
+ * Media URL used by the recap player. A P2P recap is audio-only, so this returns the audio file URL.
178
+ */
179
+ getVideoUrl: () => Promise<string | undefined>;
180
+ /**
181
+ * Subtitles URL. Always undefined for P2P recaps (no subtitles track).
182
+ */
183
+ getSubtitlesUrl: () => Promise<string | undefined>;
184
+ /**
185
+ * Participants. Empty for P2P recaps (transcript speakers are resolved from the transcription mapping).
186
+ */
187
+ getParticipants: () => Promise<User[]>;
188
+ /**
189
+ * Control if the recap has a document of type 'type'.
190
+ */
191
+ hasDocumentOfType: (type: P2PRecapDocumentTypes) => boolean;
192
+ /** @internal */
193
+ toJSON: () => P2PRecapJSON;
194
+ getRecapStatus: () => P2PRecapStatus;
195
+ /**
196
+ * TRUE while the transcription and/or summary is still being (re)generated.
197
+ */
198
+ isAIProcessing: () => boolean;
199
+ subscribe: (handler: (event: RBEvent<P2PRecapEvents>) => void, eventNames?: P2PRecapEvents | P2PRecapEvents[]) => Subscription;
200
+ /** @internal */
201
+ updateFromData: (data: P2PRecapData) => void;
202
+ /** @internal */
203
+ isSharedWith: (destination: User | Bubble) => boolean;
204
+ /** @internal */
205
+ downloadInProgress: boolean;
206
+ /** @internal */
207
+ viewers: RecapViewerRef[];
208
+ /**
209
+ * Create an archive (zip) with all files available in the recap.
210
+ */
211
+ download: (archiveName?: string) => Promise<FileDocument>;
212
+ /**
213
+ * Share recap with another user / bubble.
214
+ */
215
+ share: (destination: User | Bubble) => Promise<void>;
216
+ /**
217
+ * Unshare the recap with the given user / bubble.
218
+ */
219
+ unshare: (recapViewer: RecapViewer) => Promise<void>;
220
+ /**
221
+ * Replace the summary content by the edited one.
222
+ */
223
+ replaceSummaryFile: (newSummary: string) => Promise<void>;
224
+ /**
225
+ * Get the current list of Users and Bubbles the recap is shared with.
226
+ */
227
+ sharedWith: () => RecapViewer[];
228
+ /**
229
+ * If this recap is mine or belongs to someone else (shared with me).
230
+ */
231
+ isMyRecap: () => boolean;
232
+ }
233
+ export interface P2PRecapStatus {
234
+ generalRecapStatus: RecapStatusEnum;
235
+ transcriptionStatus: RecapStatusEnum;
236
+ summaryStatus: RecapStatusEnum;
237
+ errorReason: RecapErrorReasonEnum;
238
+ }
239
+ /**
240
+ * P2PRecap public events
241
+ * @eventProperty
242
+ */
243
+ export declare enum P2PRecapEvents {
244
+ /**
245
+ * @eventProperty
246
+ * Fired when the P2P recap status is updated.
247
+ */
248
+ ON_STATUS_CHANGE = "ON_STATUS_CHANGE",
249
+ /**
250
+ * @eventProperty
251
+ * Fired when the recap actions are updated.
252
+ */
253
+ ON_RECAP_ACTIONS_CHANGE = "ON_RECAP_ACTIONS_CHANGE",
254
+ /**
255
+ * @eventProperty
256
+ * Fired when the list of viewers has changed.
257
+ */
258
+ ON_RECAP_VIEWERS_CHANGE = "ON_RECAP_VIEWERS_CHANGE",
259
+ /**
260
+ * @eventProperty
261
+ * Fired when the summary content has changed (local edit or XMPP update), so displays can re-fetch it.
262
+ */
263
+ ON_SUMMARY_UPDATED = "ON_SUMMARY_UPDATED"
264
+ }
265
+ export interface P2PRecapActions {
266
+ /** @readonly */
267
+ download: boolean;
268
+ /** @readonly */
269
+ share: boolean;
270
+ /** @readonly */
271
+ delete: boolean;
272
+ /** @readonly */
273
+ play: boolean;
274
+ /** @readonly */
275
+ modifySummary: boolean;
276
+ /** @readonly */
277
+ downloadTranscript: boolean;
278
+ /** @readonly */
279
+ retry: boolean;
280
+ }
281
+ /**
282
+ * @internal
283
+ */
284
+ export declare class P2PRecapRB implements P2PRecap {
285
+ id?: string;
286
+ callId?: string;
287
+ startDate?: string;
288
+ stopDate?: string;
289
+ totalPauseDuration?: number;
290
+ callDate?: string;
291
+ calledUserId?: string;
292
+ calledDisplayName?: string;
293
+ records?: P2PRecapFile[];
294
+ userId?: string;
295
+ isOwner?: boolean;
296
+ capabilities: P2PRecapDocumentTypes[];
297
+ summaryAsked: boolean;
298
+ summaryStatus: RecapStatusEnum;
299
+ transcriptionAsked: boolean;
300
+ transcriptionStatus: RecapStatusEnum;
301
+ transcriptionErrorReason: RecapErrorReasonEnum;
302
+ recordingStatus: RecapStatusEnum;
303
+ status: RecapStatusEnum;
304
+ retryCount?: number;
305
+ downloadInProgress: boolean;
306
+ private publisher?;
307
+ isMyRecap(): boolean;
308
+ sharedWith(): RecapViewer[];
309
+ private updateViewers;
310
+ private _viewers;
311
+ private _viewersList;
312
+ get viewers(): RecapViewerRef[];
313
+ private set viewers(value);
314
+ private _actions;
315
+ get actions(): P2PRecapActions;
316
+ private set actions(value);
317
+ private mainService;
318
+ private fileStorageService;
319
+ private fileServerService;
320
+ private p2pRecapService;
321
+ private documentService;
322
+ private contactService;
323
+ private bubbleService;
324
+ private loggerService;
325
+ private visualSpeakerRanges;
326
+ private eventSubject;
327
+ private constructor();
328
+ static createFromData(data: P2PRecapData): P2PRecap;
329
+ subscribe(handler: (event: RBEvent<P2PRecapEvents>) => void, eventNames?: P2PRecapEvents | P2PRecapEvents[]): Subscription;
330
+ private sendEvent;
331
+ updateFromData(data: P2PRecapData): void;
332
+ private updateActions;
333
+ share(destination: User | Bubble): Promise<void>;
334
+ unshare(recapViewer: RecapViewer): Promise<void>;
335
+ delete(): Promise<void>;
336
+ retry(): Promise<void>;
337
+ download(archiveName?: string): Promise<FileDocument>;
338
+ private parentDescriptorPromise?;
339
+ private getParentDescriptor;
340
+ getFileDocument(type: P2PRecapDocumentTypes): Promise<FileDocument | undefined>;
341
+ hasDocumentOfType(type: P2PRecapDocumentTypes): boolean;
342
+ isSharedWith(destination: User | Bubble): boolean;
343
+ getTranscriptMessages(): Promise<BubbleConferenceRecapTranscriptMessage[]>;
344
+ getSpeakerRanges(): BubbleConferenceRecapSpeakerRanges[];
345
+ getSummary(): Promise<string | undefined>;
346
+ getPublisher(): Promise<User>;
347
+ getDisplayName(): string;
348
+ getVideoUrl(): Promise<string | undefined>;
349
+ getSubtitlesUrl(): Promise<string | undefined>;
350
+ getParticipants(): Promise<User[]>;
351
+ getRecapStatus(): P2PRecapStatus;
352
+ isAIProcessing(): boolean;
353
+ /**
354
+ * Effective duration of the recording, in seconds: the paused time is excluded.
355
+ */
356
+ getDuration(): number;
357
+ toJSON(): P2PRecapJSON;
358
+ replaceSummaryFile(newSummary: string): Promise<void>;
359
+ }
360
+ /** @internal */
361
+ export declare class P2PRecapFile {
362
+ fileId?: string;
363
+ fileName?: string;
364
+ md5sum?: string;
365
+ size?: string | number;
366
+ typeMIME?: string;
367
+ variant?: string;
368
+ /** @internal */
369
+ static createFromData(data: RecapFileData): P2PRecapFile;
370
+ private constructor();
371
+ }
372
+ //# sourceMappingURL=p2pRecap.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p2pRecap.model.d.ts","sourceRoot":"","sources":["../../src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AAc,IAAI,cAAc;IAwBhC,cAAc,IAAI,OAAO;IAMhC;;OAEG;IACI,WAAW,IAAI,MAAM;IAMrB,MAAM,IAAI,YAAY;IAShB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAKrE;AAED,gBAAgB;AAChB,qBAAa,YAAY;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE,MAAM,CAAC;IAExB,gBAAgB;WACF,cAAc,CAAC,IAAI,EAAE,aAAa,GAAG,YAAY;IAiB/D,OAAO;CACV"}
@@ -0,0 +1,98 @@
1
+ /**
2
+ * @module Subscription
3
+ */
4
+ /** Credit-card brand, derived front-side from the Zuora `CreditCardType`. */
5
+ export type CreditCardBrand = "visa" | "mastercard" | "amex" | "other";
6
+ /**
7
+ * A saved credit-card payment method, as exposed to the admin UI.
8
+ *
9
+ * Mapped from the Zuora payload returned by
10
+ * `GET /api/rainbow/subscription/v1.0/companies/:companyId/payments/methods`.
11
+ * Only entries with `Type === "CreditCard"` are kept (bank transfers / SEPA are dropped).
12
+ *
13
+ * The "primary" card is the one Zuora flags as `Active: true`.
14
+ */
15
+ export declare class PaymentMethod {
16
+ /** Zuora payment-method id. */
17
+ readonly id: string;
18
+ /** Card brand, derived from `CreditCardType`. */
19
+ readonly brand: CreditCardBrand;
20
+ /** Last 4 digits, parsed from `CreditCardMaskNumber`. */
21
+ readonly last4: string;
22
+ /** Cardholder name (`CreditCardHolderName`). */
23
+ readonly holderName: string;
24
+ /** Expiration month, 1-12 (`CreditCardExpirationMonth`). */
25
+ readonly expMonth: number;
26
+ /** Expiration year, 4 digits (`CreditCardExpirationYear`). */
27
+ readonly expYear: number;
28
+ /** Whether this is the default/primary card (`Active`). */
29
+ readonly isPrimary: boolean;
30
+ /** ISO-8601 — date the card was registered (`CreatedDate`). */
31
+ readonly createdDate: string;
32
+ private constructor();
33
+ /** Builds a {@link PaymentMethod} from a (mapped) backend payload. */
34
+ static createFromData(data: Partial<PaymentMethod>): PaymentMethod;
35
+ }
36
+ /**
37
+ * Billing address + contact for a company, as exposed to the admin UI.
38
+ *
39
+ * Mapped from the `billToContact` container of
40
+ * `GET /api/rainbow/subscription/v1.0/companies/:companyId/payments/billing-info`.
41
+ */
42
+ export declare class BillingInfo {
43
+ readonly companyName: string;
44
+ readonly address1: string;
45
+ readonly address2: string;
46
+ readonly zipCode: string;
47
+ readonly city: string;
48
+ readonly country: string;
49
+ readonly vatId: string;
50
+ /** French SIRET number (14 digits) — France only, optional. */
51
+ readonly siret: string;
52
+ /** Electronic address used for billing (e.g. e-invoicing routing id) — optional. */
53
+ readonly electronicAddress: string;
54
+ readonly contactFirstName: string;
55
+ readonly contactLastName: string;
56
+ readonly contactEmail: string;
57
+ private constructor();
58
+ /** Builds a {@link BillingInfo} from a (mapped) backend payload. */
59
+ static createFromData(data: Partial<BillingInfo>): BillingInfo;
60
+ }
61
+ /** Patch shape accepted by {@link PaymentMethodsService.updateBillingInfo}. */
62
+ export interface BillingInfoPatch {
63
+ readonly contactFirstName?: string;
64
+ readonly contactLastName?: string;
65
+ readonly address1?: string;
66
+ readonly address2?: string;
67
+ readonly zipCode?: string;
68
+ readonly city?: string;
69
+ readonly country?: string;
70
+ readonly contactEmail?: string;
71
+ readonly vatId?: string;
72
+ readonly siret?: string;
73
+ readonly electronicAddress?: string;
74
+ }
75
+ /** Optional tax/billing identifiers accepted by {@link PaymentMethodsService.createZuoraAccount}. */
76
+ export interface CreateZuoraAccountTaxInfo {
77
+ readonly vatNumber?: string;
78
+ /** French SIRET number (14 digits) — France only. */
79
+ readonly siret?: string;
80
+ readonly electronicAddress?: string;
81
+ }
82
+ /**
83
+ * RSA signature payload returned by
84
+ * `GET /api/rainbow/subscription/v1.0/companies/:companyId/payments/rsa-signatures/:paymentMethod`.
85
+ *
86
+ * Used to render the Zuora Payment Pages iFrame (`Z.render`). Currently MOCKED.
87
+ */
88
+ export interface RsaSignature {
89
+ readonly signature: string;
90
+ readonly token: string;
91
+ readonly tenantId: string;
92
+ readonly key: string;
93
+ /** Zuora hosted page id (`Z.render` param `id`). */
94
+ readonly id: string;
95
+ /** Zuora hosted page endpoint (`Z.render` param `url`). */
96
+ readonly url: string;
97
+ }
98
+ //# sourceMappingURL=paymentMethods.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paymentMethods.model.d.ts","sourceRoot":"","sources":["../../src/models/paymentMethods.model.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,6EAA6E;AAC7E,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,YAAY,GAAG,MAAM,GAAG,OAAO,CAAC;AAEvE;;;;;;;;GAQG;AACH,qBAAa,aAAa;IACtB,+BAA+B;IAC/B,SAAgB,EAAE,EAAE,MAAM,CAAM;IAChC,iDAAiD;IACjD,SAAgB,KAAK,EAAE,eAAe,CAAW;IACjD,yDAAyD;IACzD,SAAgB,KAAK,EAAE,MAAM,CAAM;IACnC,gDAAgD;IAChD,SAAgB,UAAU,EAAE,MAAM,CAAM;IACxC,4DAA4D;IAC5D,SAAgB,QAAQ,EAAE,MAAM,CAAK;IACrC,8DAA8D;IAC9D,SAAgB,OAAO,EAAE,MAAM,CAAK;IACpC,2DAA2D;IAC3D,SAAgB,SAAS,EAAE,OAAO,CAAS;IAC3C,+DAA+D;IAC/D,SAAgB,WAAW,EAAE,MAAM,CAAM;IAEzC,OAAO;IAIP,sEAAsE;WACxD,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa;CAG5E;AAED;;;;;GAKG;AACH,qBAAa,WAAW;IACpB,SAAgB,WAAW,EAAE,MAAM,CAAM;IACzC,SAAgB,QAAQ,EAAE,MAAM,CAAM;IAC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,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CACvC;AAED;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IACzB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,2DAA2D;IAC3D,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,173 @@
1
+ export declare enum PersonalRoutineType {
2
+ PERSONALROUTINE_ATWORK = "At work",
3
+ PERSONALROUTINE_ONBREAK = "On break",
4
+ PERSONALROUTINE_OUTOFOFFICE = "Out of office",
5
+ PERSONALROUTINE_DND = "Do not disturb",
6
+ PERSONALROUTINE_CUSTOM = "Custom"
7
+ }
8
+ export declare class PersonalRoutine {
9
+ /**
10
+ * @public
11
+ * @property {string} A user routine unique identifier.
12
+ * @readonly
13
+ */
14
+ id: string;
15
+ /**
16
+ * @public
17
+ * @property {string} Type of routine. Could be: "At work", "Out of office", "On break", "Do not disturb", "Custom"
18
+ * @readonly
19
+ */
20
+ type: PersonalRoutineType;
21
+ /**
22
+ * @public
23
+ * @property {string} id of icon associated with routine type.
24
+ * @readonly
25
+ */
26
+ iconId: string;
27
+ /**
28
+ * @public
29
+ * @property {string} Name of the routine
30
+ */
31
+ private _name;
32
+ get name(): string;
33
+ set name(value: string);
34
+ /**
35
+ * @public
36
+ * @property {boolean} Specify whether this routine is activated or not.
37
+ */
38
+ active: boolean;
39
+ /**
40
+ * @public
41
+ * @property { { manage: boolean, value: string } } Presence mode data
42
+ * manage: Is presence mode managed on routine activation. Default value: false;
43
+ * value: Presence mode value, same choice(s) as in Rainbow GUI. Default value: "online". Allowed values: "online", "away", "dnd", "invisible"
44
+ */
45
+ presence: {
46
+ manage: boolean;
47
+ value: string;
48
+ };
49
+ /**
50
+ * @public
51
+ * @property { { manage: boolean; policy: string; phoneNumberId?: string } } CLIOptions data
52
+ * manage: Is CLI managed on routine activation. Default value: false;
53
+ * policy: Cli options policy. Default value: "company_policy". Allowed values: "company_policy", "installation_number", "user_ddi_number", "other_ddi_number"
54
+ * phoneNumberId: Phone number id in "other_ddi_number" policy
55
+ */
56
+ cliOptions: {
57
+ manage: boolean;
58
+ policy: string;
59
+ phoneNumberId?: string;
60
+ anonymous?: boolean;
61
+ };
62
+ /**
63
+ * @public
64
+ * @property { { manage: boolean, mode: string } } Device mode data
65
+ * manage: Is device mode managed on routine activation. Default value: false;
66
+ * mode: Device mode value, same choice(s) as in Rainbow GUI. Default value: "computer". Allowed values: "computer", "office_phone"
67
+ */
68
+ deviceMode: {
69
+ manage: boolean;
70
+ mode: string;
71
+ };
72
+ /**
73
+ * @public
74
+ * @property {CallForwardData} Immediate call forward data
75
+ */
76
+ immediateCallForward: CallForwardData;
77
+ /**
78
+ * @public
79
+ * @property {CallForwardData} Busy call forward data
80
+ */
81
+ busyCallForward: CallForwardData;
82
+ /**
83
+ * @public
84
+ * @property {CallForwardData} No reply call forward data
85
+ */
86
+ noreplyCallForward: CallForwardData;
87
+ /**
88
+ * @public
89
+ * @property {{ manage: boolean, withdrawAll: boolean, huntingGroupsWithdraw: { rvcpGroupId: string, status: string }[] }} Hunting groups configuration
90
+ * manage: Is huntingGroups mode managed on routine activation. Default value: false;
91
+ * withdrawAll: Not for work routine. Default value: true
92
+ * huntingGroupsWithdraw: Array of objects on user status in each hunting groups, only for work routine
93
+ * rvcpGroupId: Hunting group unique identifier
94
+ * status: User's status in the hunting group. Allowed values: active, idle
95
+ */
96
+ huntingGroups: {
97
+ manage: boolean;
98
+ withdrawAll?: boolean;
99
+ huntingGroupsWithdraw?: {
100
+ rvcpGroupId: string;
101
+ status: string;
102
+ }[];
103
+ };
104
+ /**
105
+ * @public
106
+ * @property {{ manage: boolean, active: boolean, message: string } }} Absence management
107
+ * manage: Is outOfOffice managed on routine activation. Default value: false;
108
+ * active: Is out of office active or not when managed. Default value: false;
109
+ * message: Out of Office message. Default value: "";
110
+ */
111
+ outOfOffice: {
112
+ manage: boolean;
113
+ active: boolean;
114
+ message: string;
115
+ };
116
+ /**
117
+ * @public
118
+ * @property {{ manage: boolean, active: boolean, message: string } }} Absence management
119
+ * manage: Is customStatus managed on routine activation. Default value: false;
120
+ * active: Is out of office active or not when managed. Default value: false;
121
+ * status: custom status message. Default value: "";
122
+ * emoji: emoji illusstrating the status. Default value: "💬";
123
+ * expirationDate: expiration date of custom status. For routines, it is ALWAYS null or undefined as it does not have expiration time
124
+ */
125
+ customStatus: {
126
+ manage: boolean;
127
+ active: boolean;
128
+ status: string;
129
+ emoji: string;
130
+ };
131
+ private constructor();
132
+ static createRoutineFromData(data: any): PersonalRoutine;
133
+ updateRoutineFromData(data: any): void;
134
+ static getIconIdByType(type: PersonalRoutineType): string;
135
+ }
136
+ export interface CallForwardData {
137
+ /**
138
+ * @public
139
+ * @property {boolean} Is forward managed on routine activation
140
+ */
141
+ manage: boolean;
142
+ /**
143
+ * @public
144
+ * @property {string} Type of forward
145
+ */
146
+ callForwardType: string;
147
+ /**
148
+ * @public
149
+ * @property {boolean} Is call forward activated
150
+ */
151
+ activate: boolean;
152
+ /**
153
+ * @public
154
+ * @property {string} Forward destination number
155
+ */
156
+ number: string;
157
+ /**
158
+ * @public
159
+ * @property {string} Forward destination type. Allowed values: "voicemail", "internalnumber", "externalnumber"
160
+ */
161
+ destinationType: string;
162
+ /**
163
+ * @public
164
+ * @property {number} delay in ms for no reply forward. Only applicable for callForwardType = "noreply"
165
+ */
166
+ noReplyDelay?: number;
167
+ /**
168
+ * @public
169
+ * @property {string} name name of forward destination
170
+ */
171
+ name?: string;
172
+ }
173
+ //# sourceMappingURL=personalRoutine.model.d.ts.map
@@ -0,0 +1 @@
1
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