@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,345 @@
1
+ /**
2
+ * @module FileDocuments
3
+ */
4
+ import type { FileDescriptor } from "./common/fileDescriptor";
5
+ import type { FileViewer } from "./common/fileViewer";
6
+ import type { Subscription } from "rxjs";
7
+ import type { Bubble } from "./bubble.model";
8
+ import { RBEvent } from "./event.model";
9
+ import type { User } from "./user.model";
10
+ import type { FileDocumentCapabilities } from "../services/fileDocument/fileDocument.service";
11
+ export declare enum FileDocumentState {
12
+ DELETED = "deleted",
13
+ UPLOADING = "uploading",
14
+ UPLOADED = "uploaded",
15
+ NOT_UPLOADED = "not_uploaded",
16
+ DOWNLOADING = "downloading",
17
+ UPLOADERROR = "uploadError",
18
+ UNKNOWN = "unknown"
19
+ }
20
+ export declare enum FileDocumentSearchMime {
21
+ IMAGE = "image",
22
+ AUDIO_VIDEO = "audio-video",
23
+ PDF = "pdf",
24
+ PRESENTATION = "presentation",
25
+ DOCUMENT = "document",
26
+ SPREADSHEET = "spreadsheet"
27
+ }
28
+ export declare enum FileDocumentSearchSet {
29
+ ALL = "all",
30
+ MINE = "mine",
31
+ RECEIVED = "received"
32
+ }
33
+ export declare enum FileDocumentSearchSortBy {
34
+ FILENAME = "fileName",
35
+ UPLOADED_DATA = "uploadedDate",
36
+ SIZE = "size"
37
+ }
38
+ export declare enum FileDocumentSearchSortDirection {
39
+ TOP = 1,
40
+ DOWN = -1
41
+ }
42
+ export interface FileDocumentThumbnail {
43
+ /**
44
+ *
45
+ */
46
+ possible: boolean;
47
+ /**
48
+ *
49
+ */
50
+ available: boolean;
51
+ /**
52
+ *
53
+ */
54
+ url: () => Promise<string>;
55
+ }
56
+ export interface FileDocumentSearchOptions {
57
+ /**
58
+ * Only searches for files whose name contains this string
59
+ */
60
+ name?: string;
61
+ /**
62
+ * DocumentSet, define in which collection set the search should be executed ALL, MINE or RECEIVED
63
+ * Default is ALL
64
+ */
65
+ documentSet?: FileDocumentSearchSet;
66
+ /**
67
+ * The document media type (also known as a Multipurpose Internet Mail Extensions or MIME type) indicates the nature and format
68
+ * of a document. MIME types are defined and standardized in IETF's RFC 6838
69
+ * Default is ''
70
+ */
71
+ mime?: FileDocumentSearchMime;
72
+ /**
73
+ * The search result will be sorted following the sortBy info
74
+ * Default is UPLOADED_DATA
75
+ */
76
+ sortBy?: FileDocumentSearchSortBy;
77
+ /**
78
+ * The sort direction
79
+ * Default is DOWN
80
+ */
81
+ sortDirection?: FileDocumentSearchSortDirection;
82
+ /**
83
+ * Pagination offset — number of documents to skip.
84
+ * Default is 0.
85
+ */
86
+ offset?: number;
87
+ }
88
+ /** Storage type for external file storage providers. */
89
+ export declare enum FileDocumentStorageType {
90
+ RAINBOW = "Rainbow",
91
+ OWNCLOUD = "OwnCloud",
92
+ NEXTCLOUD = "NextCloud"
93
+ }
94
+ /** Information about a connected external storage (OwnCloud/NextCloud). */
95
+ export interface FileDocumentExternalStorage {
96
+ /** The external fileserver endpoint. */
97
+ endPoint: string;
98
+ /** Set to true when the temporary token must be renewed or does not exist. */
99
+ authenticationNeeded: boolean;
100
+ /** Human readable name identifying the external storage. */
101
+ name: string;
102
+ /** Human readable description of the external storage. */
103
+ description: string;
104
+ /** The storage provider type. */
105
+ type: FileDocumentStorageType;
106
+ }
107
+ /** Options for searching files on an external storage (OwnCloud/NextCloud). */
108
+ export interface FileDocumentExternalSearchOptions {
109
+ /** The directory path to list (default: '/'). */
110
+ path?: string;
111
+ /** Sort field: 'name' | 'date' | 'size' | 'file' (default: 'date'). */
112
+ sortedBy?: string;
113
+ /** Sort direction: 'top' | 'bottom' (default: 'bottom'). */
114
+ sortDirection?: string;
115
+ /** Filter by type: 'all' | 'image' | 'audio-video' | 'pdf' | 'presentation' | 'document' | 'spreadsheet' (default: 'all'). */
116
+ filterBy?: string;
117
+ /** Filter value string (default: ''). */
118
+ filterValue?: string;
119
+ }
120
+ /**
121
+ * @eventProperty
122
+ */
123
+ export declare enum FileDocumentEvents {
124
+ /**
125
+ * @eventProperty
126
+ * When a document is uploaded, the backend will automatically generate a thumbnail whenever possible
127
+ * (this function is in place for images, video files and pdf files).
128
+ * This event is fired once when the thumbnail generation is complete and the document is available for download.
129
+ */
130
+ ON_THUMBNAIL_AVAILABLE = "ON_THUMBNAIL_AVAILABLE",
131
+ /**
132
+ * @eventProperty
133
+ * This event is fired once when the upload is complete and the document is available for download.
134
+ */
135
+ ON_UPLOADED = "ON_UPLOADED",
136
+ /**
137
+ * @eventProperty
138
+ * When a large document is uploaded, it will be sent to the backend in chunks, making it possible to monitor its progress.
139
+ * This event is fired when the transfer progress (in %) changes.
140
+ */
141
+ ON_TRANSFERT_IN_PROGRESS = "ON_TRANSFERT_IN_PROGRESS",
142
+ /**
143
+ * @eventProperty
144
+ * This event is fired when the content of the document is modified
145
+ */
146
+ ON_CONTENT_MODIFIED = "ON_CONTENT_MODIFIED"
147
+ }
148
+ export declare class FileDocumentViewer {
149
+ id: string;
150
+ type?: string;
151
+ static createFormFileViewer(fileViewer: FileViewer): FileDocumentViewer;
152
+ }
153
+ export interface FileDocument {
154
+ /**
155
+ * The document identifier
156
+ */
157
+ id: string;
158
+ /**
159
+ * The document name
160
+ */
161
+ name: string;
162
+ /**
163
+ * The document size (in bytes)
164
+ */
165
+ size: number;
166
+ /**
167
+ * The document date
168
+ */
169
+ date: Date;
170
+ /**
171
+ * The document media type (also known as a Multipurpose Internet Mail Extensions or MIME type) indicates the nature and format
172
+ * of a document. MIME types are defined and standardized in IETF's RFC 6838
173
+ */
174
+ mime: string;
175
+ /** The file extension derived from the document name (e.g. `"pdf"`, `"png"`, `"svg"`). */
176
+ extension: string;
177
+ /** Whether this document is a recording file (e.g. a webinar or call recording). Recording files cannot be downloaded via the standard URL flow. */
178
+ recordingFile: boolean;
179
+ /**
180
+ * The document current state
181
+ */
182
+ state: FileDocumentState;
183
+ /**
184
+ * To ensure the security of your data, every document uploaded to Rainbow will be scanned for viruses.
185
+ * This field reflects the security status of the document.
186
+ */
187
+ securityStatus: string;
188
+ /**
189
+ * Document thumbnail information (possible, available, url)
190
+ */
191
+ thumbnail: FileDocumentThumbnail;
192
+ /**
193
+ * When a large document is uploaded, it is sent to the backend in chunks, so its progress can be tracked.
194
+ * This progress index (in %) is updated when a document is transferred between the client and the backend
195
+ * (see event "ON_TRANSFERT_PROGRESS_UPDATED").
196
+ */
197
+ transfertProgress: number;
198
+ /**
199
+ * Whether this document is a directory entry (external storage only).
200
+ * Defaults to 'file' for standard Rainbow storage documents.
201
+ */
202
+ type: "file" | "directory";
203
+ /**
204
+ * Full path of this document in the external storage (external storage only).
205
+ * Empty string for standard Rainbow storage documents.
206
+ */
207
+ path: string;
208
+ /**
209
+ * Direct access to underlying fileDescriptor (to compatibility mode)
210
+ * @internal
211
+ */
212
+ fileDescriptor: FileDescriptor;
213
+ /**
214
+ * Optional sub-file selector when this document is a variant of its descriptor (e.g. a call-record transcript).
215
+ * @internal
216
+ */
217
+ variant?: string;
218
+ /**
219
+ * This method makes it possible to subscribe to the document events (all events are of RBEvent);
220
+ * @param handler - The call-back function that will be subscribed to the RxJS subject
221
+ * @param eventNames - array of event to listen
222
+ */
223
+ subscribe: (handler: (event: RBEvent<FileDocumentEvents>) => any, eventNames?: FileDocumentEvents | FileDocumentEvents[]) => Subscription;
224
+ /**
225
+ * Get this document owner user
226
+ */
227
+ getOwner: () => Promise<User>;
228
+ /**
229
+ * Replace the document content.
230
+ * @param data - the new content blob
231
+ */
232
+ replaceContent: (data: Blob) => void;
233
+ /**
234
+ * Uploads a document to the file server.
235
+ * It is possible to interrupt the upload of a document using the `abortDocumentTransfer` method.
236
+ */
237
+ upload: () => Promise<FileDocument>;
238
+ /**
239
+ * Download a document
240
+ * This method returns a blob that you can process as you see fit.
241
+ * It is possible to interrupt the download of a document using the `abortDocumentTransfer` method.
242
+ */
243
+ download: () => Promise<Blob>;
244
+ /**
245
+ * This method allows you to copy a document shared by another user into your own storage space.
246
+ */
247
+ copy: () => Promise<FileDocument>;
248
+ /**
249
+ * Abort a document transfert
250
+ * This method allows you to interrupt a transfer operation (upload or download).
251
+ */
252
+ abortTransfert: () => Promise<FileDocument>;
253
+ /**
254
+ * Delete a document
255
+ */
256
+ delete: () => Promise<void>;
257
+ /**
258
+ * Add a viewer to share the this document.
259
+ * @param viewer - The viewer to be added, which can be either a `User` or a `Bubble` instance.
260
+ */
261
+ addViewer: (viewer: User | Bubble) => Promise<void>;
262
+ /**
263
+ * Remove a viewer
264
+ * @param viewer - The viewer to be removed, which can be either a `User` or a `Bubble` instance.
265
+ */
266
+ removeViewer: (viewer: User | Bubble) => Promise<void>;
267
+ /**
268
+ * Return a local URL for this fileDocument (this url can be only used locally by the connectedUser)
269
+ */
270
+ getLocalUrl: () => Promise<string>;
271
+ /**
272
+ * Return a temporary public URL for this fileDocument (this url can be shared and use by everyone (TTL = 1 hour))
273
+ */
274
+ getPublicUrl: () => Promise<string>;
275
+ /**
276
+ * Return the text content of a file document
277
+ */
278
+ getTextContent: (noCache?: boolean) => Promise<string>;
279
+ /**
280
+ * Return the json content of a file document, throw an exception if typeMime is not ''
281
+ */
282
+ getJsonContent: <T = any>() => Promise<T>;
283
+ /**
284
+ * Checks whether a given capability is available for this file document.
285
+ *
286
+ * @param capability - The capability to check. Possible values:
287
+ * - `FileDocumentCapabilities.THUMBNAILS` — whether a thumbnail preview can be generated.
288
+ * - `FileDocumentCapabilities.SAVE` — whether the document can be saved locally.
289
+ * - `FileDocumentCapabilities.TRANSFERT` — whether the document can be transferred.
290
+ * @returns `true` if the capability is supported, `false` otherwise.
291
+ */
292
+ getCapability: (capability: FileDocumentCapabilities) => boolean;
293
+ /**
294
+ * Utility method for generating a human readable JSON representation of this object (debug purpose only)
295
+ */
296
+ toJSON: () => any;
297
+ }
298
+ /** @internal */
299
+ export declare class FileDocumentRB implements FileDocument {
300
+ private documentService;
301
+ private contactService;
302
+ private logger;
303
+ fd: FileDescriptor;
304
+ variant?: string;
305
+ private eventSubject;
306
+ private thumbnailSubscription?;
307
+ transfertProgressSubscription?: Subscription;
308
+ private transfertProgressValue;
309
+ get id(): string;
310
+ get name(): string;
311
+ get date(): Date;
312
+ get size(): number;
313
+ get mime(): string;
314
+ get extension(): string;
315
+ get recordingFile(): boolean;
316
+ get state(): FileDocumentState;
317
+ get securityStatus(): string;
318
+ get fileDescriptor(): FileDescriptor;
319
+ get transfertProgress(): number;
320
+ get viewers(): FileDocumentViewer[];
321
+ get type(): "file" | "directory";
322
+ get path(): string;
323
+ thumbnail: FileDocumentThumbnail;
324
+ subscribe(handler: (event: RBEvent<FileDocumentEvents>) => any, eventNames?: FileDocumentEvents | FileDocumentEvents[]): Subscription;
325
+ sendEvent(name: FileDocumentEvents, data?: any): void;
326
+ getOwner(): Promise<User>;
327
+ replaceContent(data: Blob): void;
328
+ upload(): Promise<FileDocument>;
329
+ download(): Promise<Blob>;
330
+ copy(): Promise<FileDocument>;
331
+ abortTransfert(): Promise<FileDocument>;
332
+ delete(): Promise<void>;
333
+ hasEnoughSpace(): boolean;
334
+ addViewer(viewer: User | Bubble): Promise<void>;
335
+ removeViewer(viewer: User | Bubble): Promise<void>;
336
+ getLocalUrl(): Promise<string>;
337
+ getPublicUrl(): Promise<string>;
338
+ getTextContent(noCache?: boolean): Promise<string>;
339
+ getJsonContent<T = any>(): Promise<T>;
340
+ getCapability(capability: FileDocumentCapabilities): boolean;
341
+ toJSON(): any;
342
+ handleThumbnail(): void;
343
+ handleTransferProgress(): void;
344
+ }
345
+ //# sourceMappingURL=fileDocument.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileDocument.model.d.ts","sourceRoot":"","sources":["../../src/models/fileDocument.model.ts"],"names":[],"mappings":"AAEA;;GAEG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEzC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,wBAAwB,EAAuB,MAAM,+CAA+C,CAAC;AAGnH,oBAAY,iBAAiB;IACzB,OAAO,YAAY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3
+ lon: string;
4
+ static create(latitude: string, longitude: string): GeoLoc;
5
+ }
6
+ //# sourceMappingURL=geoLoc.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geoLoc.model.d.ts","sourceRoot":"","sources":["../../src/models/geoLoc.model.ts"],"names":[],"mappings":"AACA,qBAAa,MAAM;IACR,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;WAEL,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM;CAMpE"}
@@ -0,0 +1,46 @@
1
+ export { LogEntry } from "./logEntry.model";
2
+ export { Company } from "./company.model";
3
+ export { Site } from "./site.model";
4
+ export type { ISiteDTO } from "./site.model";
5
+ export { UserProfileTemplate, UserProfileTemplateType, UserProfileTemplateVisibility, UserProfilePermission, UserProfileTemplatePermission } from "./userProfileTemplate.model";
6
+ export type { IUserProfileTemplateDTO, IUserProfileFeatureCustomizationDTO } from "./userProfileTemplate.model";
7
+ export type { CompanyCommercialModel, CompanyInfo } from "./company.model";
8
+ export { type DataChannel, DataChannelStatus, DataChannelEvents } from "./dataChannel.model";
9
+ export type { User, ConnectedUser, UserAvatar, ConnectedUserProfile } from "./user.model";
10
+ export { UserPresenceStatus } from "./user.model";
11
+ export { EmailType, PhoneNumberType, UserType, UserRole } from "./contact.model";
12
+ export type { Bubble, BubbleUser, BubbleSettings, BubbleInvitation } from "./bubble.model";
13
+ export { BubbleUserStatus, BubbleUserRole, BubbleEvents, BubbleVisibility } from "./bubble.model";
14
+ export type { Conversation, ConversationBookmark, ConversationCapabilities } from "./conversation.model";
15
+ export type { ConversationLastMessage, ConversationMissedInfoCounters, DocumentMessageData } from "./conversation.model";
16
+ export { ConversationEvents, ConversationType, ConversationStatus } from "./conversation.model";
17
+ export { TelephonyRoutingDeviceTypes, TelephonyRoutingErrors, type TelephonyRoutingDevice, type TelephonyRoutingMode } from "./telephonyConfig.model";
18
+ export type { Call, CallCapabilities, CallDestination, CallMedias, CalledParty } from "./call.model";
19
+ export { CallDirection, CallEvents, CallStatus, CallType, MediaType } from "./call.model";
20
+ export type { BubbleConference } from "./webConferenceSession.model";
21
+ export { BubbleConferenceEvents, BubbleConferenceMedia, BubbleConferenceMediaAction, BubbleConferenceVideoQuality, LiveTranscriptionMessage, type BubbleConferenceJoinParameters, BubbleConferenceStatus } from "./webConferenceSession.model";
22
+ export { BubbleConferenceParticipant } from "./webConferenceParticipant.model";
23
+ export { type BubbleConferenceRecap, BubbleConferenceRecapFile, type BubbleConferenceRecapDocumentTypes, type BubbleConferenceRecapPause, BubbleConferenceRecapTranscriptMessage, type BubbleConferenceRecapSpeakerRange, type BubbleConferenceRecapSpeakerRanges } from "./bubbleConferenceRecap.model";
24
+ export { type P2PRecap, P2PRecapFile, type P2PRecapDocumentTypes, P2PRecapEvents } from "./p2pRecap.model";
25
+ export { NetworkInvitation } from "./invitation.model";
26
+ export type { CompanyInvitation, CompanyInvitationResult, CompanyInvitationStatus } from "./company-invitation.model";
27
+ export type { LiveTranscription, LiveTranscriptionStatus } from "./transcription.model";
28
+ export type { FileDocument, FileDocumentSearchOptions, FileDocumentExternalStorage, FileDocumentExternalSearchOptions } from "./fileDocument.model";
29
+ export { FileDocumentState, FileDocumentEvents, FileDocumentSearchMime, FileDocumentStorageType, FileDocumentSearchSet, FileDocumentSearchSortBy, FileDocumentSearchSortDirection } from "./fileDocument.model";
30
+ export { ChannelConfidentiality, ChannelUserRole, ChannelVisibility } from "./channel.model";
31
+ export type { ChannelGetUsersOptions, ChannelSearchUsersOptions, ChannelSettings, ChannelUser, ChannelUserInfos } from "./channel.model";
32
+ export type { ChannelAggregated, Channel } from "./channel.model";
33
+ export { ChannelRB } from "./channel.model";
34
+ export { ChannelPostEvents, ChannelPostMessageFormat, ChannelPostReaction } from "./channelMessage.model";
35
+ export type { ChannelPostFileDocument, ChannelPost, ChannelPostPublication, ChannelPostVideoDocument, ChannelPostUserReactions } from "./channelMessage.model";
36
+ export * from "./webinar.model";
37
+ export * from "./poll.model";
38
+ export { RBEvent } from "./event.model";
39
+ export * from "./message.model";
40
+ export * from "./callLog.model";
41
+ export * from "./favorite.model";
42
+ export * from "./usersList.model";
43
+ export { makeContext, type ContextKey, ContextMap } from "./common";
44
+ export { type CustomExtensionPoint, CustomExtensionType, type CustomCommand } from "./customManifest.model";
45
+ export * from "./subscription.model";
46
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,YAAY,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAChL,YAAY,EAAE,uBAAuB,EAAE,mCAAmC,EAAE,MAAM,6BAA6B,CAAC;AAEhH,YAAY,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG3E,OAAO,EAAE,KAAK,WAAW,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAG7F,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAGjF,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAE,gBAAgB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I5G,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,88 @@
1
+ import type { User } from "./user.model";
2
+ /**
3
+ * This class is used to represent an invitation received or sent by/to user <br/>
4
+ */
5
+ export declare class NetworkInvitation {
6
+ static create(id: string, invitedUserId: string, invitedUserEmail: string, invitingUserId: string, invitingUserEmail: string, requestNotificationLanguage: string, invitingDate: string, lastNotificationDate: string, status: string, type: string, inviteToJoinMeeting: string): NetworkInvitation;
7
+ static createFromData(invitationData: any): NetworkInvitation;
8
+ /**
9
+ * The invitation ID
10
+ * @readonly
11
+ */
12
+ id: string;
13
+ /**
14
+ * The invited user
15
+ * @readonly
16
+ */
17
+ invitedUser?: User;
18
+ /**
19
+ * The invited user Rainbow id
20
+ * @readonly
21
+ */
22
+ invitedUserId: string;
23
+ /**
24
+ * The invited user email
25
+ * @readonly
26
+ */
27
+ invitedUserEmail: string;
28
+ /**
29
+ * The invited phone number
30
+ * @readonly
31
+ */
32
+ invitedPhoneNumber: string;
33
+ /**
34
+ * The inviting user
35
+ * @readonly
36
+ */
37
+ invitingUser?: User;
38
+ /**
39
+ * The inviting user identifier
40
+ * @readonly
41
+ */
42
+ invitingUserId: string;
43
+ /**
44
+ * The inviting user email adress
45
+ * @readonly
46
+ */
47
+ invitingUserEmail: string;
48
+ /**
49
+ * The request notification language
50
+ * @readonly
51
+ */
52
+ requestNotificationLanguage: string;
53
+ /**
54
+ * The date the invitation was created
55
+ * @readonly
56
+ */
57
+ invitingDate: string;
58
+ /**
59
+ * The date when the last email notification was sent.
60
+ * @readonly
61
+ */
62
+ lastNotificationDate: string;
63
+ /**
64
+ * The invitation status
65
+ * @readonly
66
+ */
67
+ status: string;
68
+ /**
69
+ * The invitation type
70
+ * @readonly
71
+ */
72
+ type: string;
73
+ /**
74
+ * True if joinRoom invitation.
75
+ * @readonly
76
+ */
77
+ inviteToJoinMeeting: string;
78
+ /**
79
+ * The invitation default avatar
80
+ * @readonly
81
+ */
82
+ defaultAvatar: any;
83
+ /** @internal */
84
+ constructor(id: string, invitedUserId: string, invitedUserEmail: string, invitingUserId: string, invitingUserEmail: string, requestNotificationLanguage: string, invitingDate: string, lastNotificationDate: string, status: string, type: string, inviteToJoinMeeting: any, invitedPhoneNumber?: string);
85
+ createDefaultAvatar(): void;
86
+ toJSON(): any;
87
+ }
88
+ //# sourceMappingURL=invitation.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invitation.model.d.ts","sourceRoot":"","sources":["../../src/models/invitation.model.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC;;GAEG;AACH,qBAAa,iBAAiB;WAIZ,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,2BAA2B,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,GAAG,iBAAiB;WAI7R,cAAc,CAAC,cAAc,EAAE,GAAG,GAAG,iBAAiB;IAMpE;;;OAGG;IACI,EAAE,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACI,WAAW,CAAC,EAAE,IAAI,CAAC;IAE1B;;;OAGG;IACI,aAAa,EAAE,MAAM,CAAC;IAE7B;;;MAGE;IACK,gBAAgB,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IACI,kBAAkB,EAAE,MAAM,CAAC;IAElC;;;OAGG;IACI,YAAY,CAAC,EAAE,IAAI,CAAC;IAE3B;;;OAGG;IACI,cAAc,EAAE,MAAM,CAAC;IAE9B;;;OAGG;IACI,iBAAiB,EAAE,MAAM,CAAC;IAEjC;;;OAGG;IACI,2BAA2B,EAAE,MAAM,CAAC;IAE3C;;;OAGG;IACI,YAAY,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IACI,oBAAoB,EAAE,MAAM,CAAC;IAEpC;;;OAGG;IACI,MAAM,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACI,IAAI,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACI,mBAAmB,EAAE,MAAM,CAAC;IAEnC;;;OAGG;IACI,aAAa,EAAE,GAAG,CAAC;IAE1B,gBAAgB;gBACJ,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,2BAA2B,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,EAAE,kBAAkB,GAAE,MAAa;IAgBvS,mBAAmB;IASnB,MAAM,IAAI,GAAG;CAgBvB"}
@@ -0,0 +1,76 @@
1
+ /**
2
+ * @module Subscription
3
+ */
4
+ /**
5
+ * Payment status of an invoice, **derived front-side** from `amount` / `balance`.
6
+ *
7
+ * The backend (Zuora) only exposes the invoice *lifecycle* status
8
+ * (`Posted` / `Draft` / `Canceled` / `Error`), not whether it has been paid.
9
+ * The UI needs a payment status, so we derive it:
10
+ * - `credit` → `amount < 0` (an "Avoir" / credit note)
11
+ * - `unpaid` → `balance > 0` (something still due)
12
+ * - `paid` → `balance === 0 && amount > 0`
13
+ */
14
+ export type InvoicePaymentStatus = "paid" | "unpaid" | "credit";
15
+ /** A downloadable file attached to an invoice (PDF, or a CSV variant). */
16
+ export interface InvoiceFileRef {
17
+ /** Id of the file — feed to `getInvoiceFilePdf`. */
18
+ readonly id: string;
19
+ /** Only set for non-PDF files (e.g. `"text/csv"`). PDF files have it undefined. */
20
+ readonly fileContentType?: string;
21
+ }
22
+ /**
23
+ * An invoice line item, as exposed to the admin UI. Mapped from a Zuora
24
+ * `invoiceItems` entry. Used to derive the "Période" and "Description"/"Module"
25
+ * columns of the invoices table (a single invoice may have several items).
26
+ */
27
+ export interface InvoiceItem {
28
+ readonly subscriptionName: string;
29
+ /** Start of the service period, `yyyy-mm-dd`. */
30
+ readonly serviceStartDate: string;
31
+ /** End of the service period, `yyyy-mm-dd`. */
32
+ readonly serviceEndDate: string;
33
+ /** Charge amount (excl. tax). */
34
+ readonly chargeAmount: number;
35
+ /** Human label of the charge (e.g. "Price per user Enterprise"). */
36
+ readonly chargeName: string;
37
+ /** Product name (used to derive the "Module" column, e.g. Guardian / Webinar). */
38
+ readonly productName: string;
39
+ readonly quantity: number;
40
+ }
41
+ /**
42
+ * An invoice, as exposed to the admin UI.
43
+ *
44
+ * Mapped from the Zuora payload returned by
45
+ * `GET /api/rainbow/subscription/v1.0/companies/:companyId/invoices?format=medium`.
46
+ */
47
+ export declare class Invoice {
48
+ /** Zuora invoice unique identifier. */
49
+ readonly id: string;
50
+ /** Human-readable invoice number (e.g. "INV00000376"). */
51
+ readonly invoiceNumber: string;
52
+ /** Invoice date, `yyyy-mm-dd`. */
53
+ readonly invoiceDate: string;
54
+ /** Payment due date, `yyyy-mm-dd`. */
55
+ readonly dueDate: string;
56
+ /** Amount before adjustments/discounts (negative for a credit note). */
57
+ readonly amount: number;
58
+ /** Balance still due (0 once fully paid). */
59
+ readonly balance: number;
60
+ /** ISO 4217 currency code of every amount on this invoice, e.g. `"EUR"`. */
61
+ readonly currency: string;
62
+ /** Company name on the invoice. */
63
+ readonly accountName: string;
64
+ /** Line items (present with `format=medium` or `full`). */
65
+ readonly items: readonly InvoiceItem[];
66
+ /** Downloadable files. The PDF is the entry **without** `fileContentType`. */
67
+ readonly files: readonly InvoiceFileRef[];
68
+ private constructor();
69
+ /** Builds an {@link Invoice} from a (mapped) backend payload. */
70
+ static createFromData(data: Partial<Invoice>): Invoice;
71
+ /** Derived payment status — see {@link InvoicePaymentStatus}. */
72
+ get paymentStatus(): InvoicePaymentStatus;
73
+ /** Id of the PDF file (the file ref without `fileContentType`), or `""` if none. */
74
+ get pdfFileId(): string;
75
+ }
76
+ //# sourceMappingURL=invoices.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoices.model.d.ts","sourceRoot":"","sources":["../../src/models/invoices.model.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;GASG;AACH,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEhE,0EAA0E;AAC1E,MAAM,WAAW,cAAc;IAC3B,oDAAoD;IACpD,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,mFAAmF;IACnF,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;CACrC;AAED;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,iDAAiD;IACjD,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,+CAA+C;IAC/C,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,iCAAiC;IACjC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,oEAAoE;IACpE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,kFAAkF;IAClF,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;GAKG;AACH,qBAAa,OAAO;IAChB,uCAAuC;IACvC,SAAgB,EAAE,EAAE,MAAM,CAAM;IAChC,0DAA0D;IAC1D,SAAgB,aAAa,EAAE,MAAM,CAAM;IAC3C,kCAAkC;IAClC,SAAgB,WAAW,EAAE,MAAM,CAAM;IACzC,sCAAsC;IACtC,SAAgB,OAAO,EAAE,MAAM,CAAM;IACrC,wEAAwE;IACxE,SAAgB,MAAM,EAAE,MAAM,CAAK;IACnC,6CAA6C;IAC7C,SAAgB,OAAO,EAAE,MAAM,CAAK;IACpC,4EAA4E;IAC5E,SAAgB,QAAQ,EAAE,MAAM,CAAS;IACzC,mCAAmC;IACnC,SAAgB,WAAW,EAAE,MAAM,CAAM;IACzC,2DAA2D;IAC3D,SAAgB,KAAK,EAAE,SAAS,WAAW,EAAE,CAAM;IACnD,8EAA8E;IAC9E,SAAgB,KAAK,EAAE,SAAS,cAAc,EAAE,CAAM;IAEtD,OAAO;IAIP,iEAAiE;WACnD,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO;IAI7D,iEAAiE;IACjE,IAAW,aAAa,IAAI,oBAAoB,CAM/C;IAED,oFAAoF;IACpF,IAAW,SAAS,IAAI,MAAM,CAE7B;CACJ"}
@@ -0,0 +1,23 @@
1
+ export declare enum LogEntryLevel {
2
+ DEBUG = "debug",
3
+ INFO = "info",
4
+ ERROR = "error"
5
+ }
6
+ export declare class LogEntry {
7
+ time: string;
8
+ level: string;
9
+ rawMethod?: string;
10
+ rawDataType?: string;
11
+ rawData?: string;
12
+ private static readonly ENTRY_REGEX;
13
+ module: string;
14
+ method: string;
15
+ params: Record<string, string>;
16
+ details: string;
17
+ date: Date;
18
+ static create(time: string, level: string, rawMethod: string, rawDataType?: string, rawData?: string): LogEntry;
19
+ static manualCreate(time: string, level: string, module: string, method: string, params: Record<string, string>, details?: string, rawDataType?: string, rawData?: string): LogEntry;
20
+ private constructor();
21
+ private extractParams;
22
+ }
23
+ //# sourceMappingURL=logEntry.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logEntry.model.d.ts","sourceRoot":"","sources":["../../src/models/logEntry.model.ts"],"names":[],"mappings":"AACA,oBAAY,aAAa;IACrB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,KAAK,UAAU;CAClB;AAED,qBAAa,QAAQ;IA8BU,IAAI,EAAE,MAAM;IAAS,KAAK,EAAE,MAAM;IAAS,SAAS,CAAC,EAAE,MAAM;IAAS,WAAW,CAAC,EAAE,MAAM;IAAS,OAAO,CAAC,EAAE,MAAM;IA7B9I,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CAA8C;IAE1E,MAAM,EAAE,MAAM,CAAM;IACpB,MAAM,EAAE,MAAM,CAAM;IACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAM;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;WAEJ,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ;WAYxG,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ;IAS3L,OAAO;IAIP,OAAO,CAAC,aAAa;CAcxB"}