@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,317 @@
1
+ import { BehaviorSubject } from "rxjs/internal/BehaviorSubject";
2
+ import type { Subscription } from "rxjs";
3
+ import { Subject } from "rxjs";
4
+ import type { FileViewer } from "../../models/common/fileViewer";
5
+ import type { Contact } from "../contact.model";
6
+ /**
7
+ * @enum
8
+ * @name FileStorageType
9
+ * @description This enum is used to represent the type of the storage (Rainbow or External)
10
+ */
11
+ export declare enum FileStorageType {
12
+ RAINBOW = "Rainbow",
13
+ OWNCLOUD = "OwnCloud",
14
+ NEXTCLOUD = "NextCloud"
15
+ }
16
+ export declare enum FileState {
17
+ DELETED = "deleted",
18
+ UPLOADING = "uploading",
19
+ UPLOADED = "uploaded",
20
+ NOT_UPLOADED = "not_uploaded",
21
+ DOWNLOADING = "downloading",
22
+ UPLOADERROR = "uploadError",
23
+ UNKNOWN = "unknown"
24
+ }
25
+ declare class ThumbnailPlaceholder {
26
+ icon: string;
27
+ style: string;
28
+ type: string;
29
+ constructor(icon: string, style: string, type: string);
30
+ }
31
+ interface IThumbnail {
32
+ availableThumbnail: boolean;
33
+ md5sum: string;
34
+ size: number;
35
+ wantThumbnailDate: Date;
36
+ isThumbnailAvailable: () => boolean;
37
+ }
38
+ /**
39
+ * This class is used to represent a File Descriptor or a Short File Descriptor which describes a file shared in a conversation (one-to-one or bubble).
40
+ */
41
+ export declare class FileDescriptor {
42
+ /**
43
+ * @public
44
+ * @property {string} id The file descriptor ID (File Descriptor only)
45
+ * @readonly
46
+ */
47
+ id: string;
48
+ /**
49
+ * @public
50
+ * @property {string} path The file descriptor path
51
+ * @readonly
52
+ */
53
+ path: string;
54
+ /**
55
+ * @public
56
+ * @property {string} type The file descriptor type (file or directory)
57
+ * @readonly
58
+ */
59
+ type: string;
60
+ /**
61
+ * @public
62
+ * @property {string} url The file descriptor url (File Descriptor only)
63
+ * @readonly
64
+ */
65
+ url: string;
66
+ /**
67
+ * @public
68
+ * @property {string} ownerId The ID of the owner (File Descriptor only)
69
+ * @readonly
70
+ */
71
+ ownerId: string;
72
+ /**
73
+ * @public
74
+ * @property {string} owner The owner's contact (File Descriptor only)
75
+ * @readonly
76
+ */
77
+ owner: Contact;
78
+ /**
79
+ * @public
80
+ * @property {string} fileName The name of the file
81
+ * @readonly
82
+ */
83
+ fileName: string;
84
+ /**
85
+ * @public
86
+ * @property {string} fileNameToFilter The name of the file avfter dyacritis
87
+ * @readonly
88
+ */
89
+ fileNameToFilter: string;
90
+ /**
91
+ * @public
92
+ * @property {string} extension The extension of the file
93
+ * @readonly
94
+ */
95
+ extension: string;
96
+ /**
97
+ * @public
98
+ * @property {string} typeMIME The mime type of the file ('mime' in Short File Descriptor)
99
+ * @readonly
100
+ */
101
+ typeMIME: string;
102
+ /**
103
+ * @public
104
+ * @property {string} size The size of the file (octets)
105
+ * @readonly
106
+ */
107
+ size: number;
108
+ /**
109
+ * @public
110
+ * @property {object} registrationDate The creation date (File Descriptor only)
111
+ * @readonly
112
+ */
113
+ registrationDate: Date;
114
+ /**
115
+ * @public
116
+ * @property {object} uploadedDate The upload date (File Descriptor only)
117
+ * @readonly
118
+ */
119
+ uploadedDate: Date;
120
+ /**
121
+ * @private
122
+ * @property {object} dateToSort The date to sort (?)
123
+ * @readonly
124
+ */
125
+ dateToSort: Date;
126
+ /**
127
+ * @private
128
+ * @property {boolean} externalStorage True if this fileDescriptor is linked to external storage
129
+ * @readonly
130
+ */
131
+ externalStorage: boolean;
132
+ /**
133
+ * @public
134
+ * @property {string} transcriptionStatus the state of transcription
135
+ * @readonly
136
+ */
137
+ transcriptionStatus: string;
138
+ /**
139
+ * @public
140
+ * @property {string} transcription the text of the transcription
141
+ * @readonly
142
+ */
143
+ transcription: string;
144
+ /**
145
+ * @public
146
+ * @property {boolean} transcriptionAlreadyActivated To know if the transcription has been launched
147
+ * @readonly
148
+ */
149
+ transcriptionAlreadyActivated: boolean;
150
+ /**
151
+ * @public
152
+ * @property {boolean} callRecord True when the file is a P2P call recording.
153
+ * @readonly
154
+ */
155
+ callRecord: boolean;
156
+ /**
157
+ * @public
158
+ * @property {string} callId Id of the P2P call this recording is attached to (matches the call log call_id).
159
+ * @readonly
160
+ */
161
+ callId: string;
162
+ /**
163
+ * @private
164
+ * @property {any[]} viewers The list of viewers (File Descriptor only)
165
+ * @readonly
166
+ */
167
+ private _viewers;
168
+ get viewers(): FileViewer[];
169
+ set viewers(value: FileViewer[]);
170
+ viewersSubject: BehaviorSubject<FileViewer[]>;
171
+ state: FileState;
172
+ stateSubject: BehaviorSubject<FileState>;
173
+ fileToSend?: File;
174
+ previewBlob?: Blob;
175
+ previewBlobSubject: BehaviorSubject<Blob>;
176
+ blobOrientation?: any;
177
+ blobOrientationSubject: BehaviorSubject<any>;
178
+ /**
179
+ * @public
180
+ * @property {number} original_h original image height
181
+ * @description height of original image (for image only)
182
+ */
183
+ original_h: number;
184
+ /**
185
+ * @public
186
+ * @property {number} original_w original image width
187
+ * @description weight of original image (for image only)
188
+ */
189
+ original_w: number;
190
+ /**
191
+ * @private
192
+ * @property {object} tags data for visual voice mails
193
+ * @readonly
194
+ */
195
+ tags: any;
196
+ time: number;
197
+ displayDate: any;
198
+ /**
199
+ * @public
200
+ * @property {Subject<any>} progressSubject Observable for download progress
201
+ * @readonly
202
+ */
203
+ progressSubject: Subject<any>;
204
+ /**
205
+ * @public
206
+ * @property {any} localURL ????
207
+ * @readonly
208
+ */
209
+ localURL: any;
210
+ cancelTransfertDefer: any;
211
+ abortTransferController: AbortController;
212
+ abortXMLHttpRequestArray: Function[];
213
+ fileTransferSubscription: Subscription;
214
+ loadingRef: number[];
215
+ chunkTotalNumber: number;
216
+ chunkPerformedPercent: number;
217
+ chunkPercentArray: number[];
218
+ chunkPerformed: number;
219
+ publicUrl: string;
220
+ publicUrlExpirationDate: Date;
221
+ chunkWrittenInDisk: number;
222
+ writeStream: any;
223
+ thumbnail: IThumbnail;
224
+ /**
225
+ * @public
226
+ * @property {ThumbnailPlaceholder} thumbnailPlaceholder The thumbnail icon placeholder info
227
+ * @readonly
228
+ */
229
+ thumbnailPlaceholder: ThumbnailPlaceholder;
230
+ /**
231
+ * @public
232
+ * @property {number} orientation image orientation
233
+ * @description
234
+ * There are four possible values for orientation and the image should be rotated acording to this value.
235
+ * 1 -> rotate(0deg),
236
+ * 3 -> rotate(180deg),
237
+ * 6 -> rotate(90deg),
238
+ * 8 -> rotate(270deg).
239
+ */
240
+ orientation: number;
241
+ /**
242
+ * @public
243
+ * @property {string} virusScanState Result of virus scan
244
+ * @readonly
245
+ */
246
+ virusScanState: string;
247
+ /**
248
+ * @public
249
+ * @property {boolean} cantBeScanned True when the server has confirmed this file cannot be scanned
250
+ * (either via a vscan XMPP notification with cantBeScannedYet=true, or after a timeout with no
251
+ * scan activity — indicating an old server with no virus scan support).
252
+ */
253
+ cantBeScanned: boolean;
254
+ /**
255
+ * True when the browser failed to decode/play this video for
256
+ * this session (client-derived, not server data — not reset by update()).
257
+ */
258
+ unsupportedFormat: boolean;
259
+ /**
260
+ * @public
261
+ * @property {boolean} voiceMessage True when the file is a voice message
262
+ * @readonly
263
+ */
264
+ voiceMessage: boolean;
265
+ /**
266
+ * @public
267
+ * @property {boolean} recordingFile Property indicating whether the file is a part of a recording file batch
268
+ * @readonly
269
+ */
270
+ recordingFile: boolean;
271
+ /**
272
+ * @public
273
+ * @property {string} recordingConferenceId ID of the recording conference. If the file is a recording file it indicates the ID of the conference
274
+ * @readonly
275
+ */
276
+ recordingConferenceId: string;
277
+ /**
278
+ * @public
279
+ * @property {boolean} voiceMessage True when the preview is downloaded
280
+ * @readonly
281
+ */
282
+ previewDownloaded: boolean;
283
+ private constructor();
284
+ static create(id: string, url: string, ownerId: string, fileName: string, extension: string, mime: string, size: number, registrationDate: Date, uploadedDate: Date, dateToSort: Date, viewers: any, state: FileState, thumbnail: IThumbnail, orientation: number, original_w: number, original_h: number, tags: any, virusScanState: any, voiceMessage: any, recordingFile: boolean, recordingConferenceId: string, transcriptionStatus: string, transcription: string): FileDescriptor;
285
+ static createFromExternalStorageData(data: any): FileDescriptor;
286
+ isMicrosoftFile(): boolean;
287
+ isRainbowStorage(): boolean;
288
+ isThumbnailPossible(): boolean;
289
+ isJavaScript(): boolean;
290
+ isText(): boolean;
291
+ isLog(): boolean;
292
+ isMarkdown(): boolean;
293
+ isPDF(): boolean;
294
+ isVideo(): boolean;
295
+ isSVG(): boolean;
296
+ isImage(): boolean;
297
+ isAudioVideo(): boolean;
298
+ isUploaded(): boolean;
299
+ isPublicUrlExpired(): boolean;
300
+ isAlreadyFileViewer(viewerId: string): boolean;
301
+ getDisplayName(): string;
302
+ getDisplayNameTruncated(): string[];
303
+ getExtension(): string;
304
+ getDuration(): number;
305
+ getThumbnailPlaceholderFromMimetype(mime: string): ThumbnailPlaceholder;
306
+ releaseURL(): void;
307
+ setState(newState: FileState): void;
308
+ setOriginalImageDimensions(width: number, height: number): void;
309
+ update(fd: FileDescriptor): void;
310
+ getDate(): Date;
311
+ private refreshFilePercent;
312
+ updateProgressInfo(): void;
313
+ isInfected(): boolean;
314
+ isSoleFileViewer(fileViewerId: string): boolean;
315
+ }
316
+ export {};
317
+ //# sourceMappingURL=fileDescriptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileDescriptor.d.ts","sourceRoot":"","sources":["../../../src/models/common/fileDescriptor.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAEhF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEhD;;;;GAIG;AACH,oBAAY,eAAe;IACvB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,SAAS,cAAc;CAC1B;AAED,oBAAY,SAAS;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,OAAO,YAAY;CACtB;AAED,cAAM,oBAAoB;IACH,IAAI,EAAE,MAAM;IAAS,KAAK,EAAE,MAAM;IAAS,IAAI,EAAE,MAAM;gBAA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B,UAAU,IAAI,OAAO;IAErB,KAAK,IAAI,OAAO;IAEhB,OAAO,IAAI,OAAO;IAElB,KAAK,IAAI,OAAO;IAEhB,OAAO,IAAI,OAAO;IAKlB,YAAY,IAAI,OAAO;IAKvB,UAAU,IAAI,OAAO;IAIrB,kBAAkB,IAAI,OAAO;IAQ7B,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAM9C,cAAc,IAAI,MAAM;IAIxB,uBAAuB,IAAI,MAAM,EAAE;IAKnC,YAAY,IAAI,MAAM;IAKtB,WAAW,IAAI,MAAM;IAKrB,mCAAmC,CAAC,IAAI,EAAE,MAAM,GAAG,oBAAoB;IA+DvE,UAAU;IAIV,QAAQ,CAAC,QAAQ,EAAE,SAAS;IAK5B,0BAA0B,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAKxD,MAAM,CAAC,EAAE,EAAE,cAAc;IA0BzB,OAAO,IAAI,IAAI;IAMtB,OAAO,CAAC,kBAAkB;IAUnB,kBAAkB;IAKlB,UAAU;IAIV,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO;CAMzD"}
@@ -0,0 +1,26 @@
1
+ import { Subject } from "rxjs";
2
+ /**
3
+ * @public
4
+ * @class
5
+ * @name FilePublicDownload
6
+ * @description
7
+ * This class is used to represent a File Descriptor or a Short File Descriptor which describes a file shared in a conversation (one-to-one or bubble).
8
+ */
9
+ export declare class FilePublicDownload {
10
+ url: string;
11
+ fileName: string;
12
+ totalBytes: number;
13
+ receivedBytes: number;
14
+ savePath: string;
15
+ isCanceled: boolean;
16
+ openFolderOnceDownloadFinished: boolean;
17
+ progressSubject: Subject<any>;
18
+ static create(url: string, fileName: string, totalBytes: number, receivedBytes: number, savePath: string): FilePublicDownload;
19
+ /**
20
+ * @this FilePublicDownload
21
+ */
22
+ constructor(url: string, fileName: string, totalBytes: number, receivedBytes: number, savePath: string);
23
+ isDownloadFinished(): boolean;
24
+ askCancel(): void;
25
+ }
26
+ //# sourceMappingURL=filePublicDownload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filePublicDownload.d.ts","sourceRoot":"","sources":["../../../src/models/common/filePublicDownload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAG/B;;;;;;GAMG;AACH,qBAAa,kBAAkB;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,8BAA8B,EAAE,OAAO,CAAC;IAExC,eAAe,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;WAGhB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,kBAAkB;IAIpI;;OAEG;gBACS,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAsC/F,kBAAkB;IAIlB,SAAS;CAInB"}
@@ -0,0 +1,20 @@
1
+ import type { ChannelRB } from "../../models/channel.model";
2
+ import type { Contact } from "../../models/contact.model";
3
+ declare class FileViewerType {
4
+ static USER: string;
5
+ static ROOM: string;
6
+ }
7
+ /**
8
+ * This class is used to represent a File Viewer who is the list of persons (individual or a bubble) that can access (download) the file.
9
+ */
10
+ export declare class FileViewer {
11
+ viewerId: string;
12
+ type: FileViewerType;
13
+ contact: Contact;
14
+ room: any;
15
+ channel: ChannelRB;
16
+ static createFromData(data: any): FileViewer[];
17
+ private constructor();
18
+ }
19
+ export {};
20
+ //# sourceMappingURL=fileViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileViewer.d.ts","sourceRoot":"","sources":["../../../src/models/common/fileViewer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AAEzE,cAAM,cAAc;IAChB,OAAc,IAAI,SAAU;IAC5B,OAAc,IAAI,SAAU;CAC/B;AAED;;GAEG;AACH,qBAAa,UAAU;IACZ,QAAQ,EAAE,MAAM,CAAQ;IACxB,IAAI,EAAE,cAAc,CAAQ;IAC5B,OAAO,EAAE,OAAO,CAAQ;IACxB,IAAI,EAAE,GAAG,CAAQ;IACjB,OAAO,EAAE,SAAS,CAAQ;WAEnB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,EAAE;IAMrD,OAAO;CAWV"}
@@ -0,0 +1,9 @@
1
+ export * from "./context";
2
+ export * from "./error";
3
+ export * from "./fileDescriptor";
4
+ export * from "./filePublicDownload";
5
+ export * from "./fileViewer";
6
+ export * from "./theme";
7
+ export * from "./userTheme";
8
+ export * from "./themeColor";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,185 @@
1
+ import { BehaviorSubject } from "rxjs";
2
+ import { ThemeColor } from "../../models/common/themeColor";
3
+ /**
4
+ * @enum {string}
5
+ * @public
6
+ * @readonly
7
+ * @description Enumeration of the possible theme's type.
8
+ */
9
+ export declare enum ThemeType {
10
+ LIGHT = "light",
11
+ DARK = "dark"
12
+ }
13
+ /**
14
+ * @enum {string}
15
+ * @public
16
+ * @readonly
17
+ * @description Enumeration of the possible theme's visibility.
18
+ */
19
+ export declare enum ThemeVisibility {
20
+ PRIVATE = "private",
21
+ PUBLIC = "public"
22
+ }
23
+ /**
24
+ * @enum {string}
25
+ * @public
26
+ * @readonly
27
+ * @description Enumeration of the possible theme's type.
28
+ */
29
+ export declare enum ThemeAvatarShape {
30
+ SQUARE = "square",
31
+ CIRCLE = "circle"
32
+ }
33
+ /**
34
+ * @interface IThemeDTO
35
+ * @description
36
+ * Data Transfer Object (DTO) for transferring required data that represents a Theme available for a company.
37
+ */
38
+ export interface IThemeDTO {
39
+ id?: string;
40
+ name: string;
41
+ type?: ThemeType;
42
+ ownedByCompany?: string;
43
+ website?: string;
44
+ isRainbowDefaultTheme?: boolean;
45
+ isWhiteLabelTheme?: boolean;
46
+ visibility?: ThemeVisibility;
47
+ avatarShape?: ThemeAvatarShape;
48
+ lastAvatarUpdateDate?: string | null;
49
+ UIElements?: Record<string, string>[];
50
+ }
51
+ /**
52
+ * @interface ITheme
53
+ * @description
54
+ * Interface that represents a theme that is available for a company.
55
+ */
56
+ export interface ITheme extends Omit<IThemeDTO, "UIElements"> {
57
+ displayName: string;
58
+ svgPreview: any;
59
+ logoSrc: string;
60
+ cssClassName: string;
61
+ themeColors: ThemeColor[];
62
+ getThemeColorOfKey: (cssKey: string) => ThemeColor | undefined;
63
+ }
64
+ /**
65
+ * @class
66
+ * @name Theme
67
+ * @description
68
+ * This class is used to represent a Theme intended to a Rainbow Company.
69
+ */
70
+ export declare class Theme implements Required<ITheme> {
71
+ /**
72
+ * @public
73
+ * @property {string} id The theme identifier.
74
+ * @readonly
75
+ */
76
+ id: string;
77
+ /**
78
+ * @public
79
+ * @property {string} name The theme name.
80
+ * @readonly
81
+ */
82
+ name: string;
83
+ /**
84
+ * @public
85
+ * @property {string} displayName The theme name to display.
86
+ * @readonly
87
+ */
88
+ displayName: string;
89
+ /**
90
+ * @public
91
+ * @property {ThemeType} type This string informs if the theme is a white or a dark type.
92
+ * @readonly
93
+ */
94
+ type: ThemeType;
95
+ /**
96
+ * @public
97
+ * @property {boolean} isRainbowDefaultTheme Is the rainbow default Theme.
98
+ * @readonly
99
+ */
100
+ isRainbowDefaultTheme: boolean;
101
+ /**
102
+ * @public
103
+ * @property {boolean} isWhiteLabelTheme Is a custom white label Theme published by a Business Partner.
104
+ * @readonly
105
+ */
106
+ isWhiteLabelTheme: boolean;
107
+ /**
108
+ * @public
109
+ * @property {ThemeVisibility} visibility The theme identifier.
110
+ * @readonly
111
+ */
112
+ visibility: ThemeVisibility;
113
+ /**
114
+ * @public
115
+ * @property {string} ownedByCompany This id of the company owning the theme.
116
+ * @readonly
117
+ */
118
+ ownedByCompany: string;
119
+ /**
120
+ * @public
121
+ * @property {string} website The theme web site Url.
122
+ * @readonly
123
+ */
124
+ website: string;
125
+ /**
126
+ * @public
127
+ * @property {string} lastAvatarUpdateDate The theme logo last modification date.
128
+ * @readonly
129
+ */
130
+ lastAvatarUpdateDate: string;
131
+ /**
132
+ * @public
133
+ * @property {ThemeAvatarShape} avatarShape The theme logo shape (square, round).
134
+ * @readonly
135
+ */
136
+ private _avatarShape;
137
+ avatarShapeSubject: BehaviorSubject<string>;
138
+ get avatarShape(): ThemeAvatarShape;
139
+ set avatarShape(value: ThemeAvatarShape);
140
+ /**
141
+ * @public
142
+ * @property {string} logoSrc The theme logo url to display.
143
+ * @readonly
144
+ */
145
+ private _logoSrc;
146
+ logoSrcSubject: BehaviorSubject<any>;
147
+ get logoSrc(): string;
148
+ set logoSrc(value: string);
149
+ /**
150
+ * @public
151
+ * @property {string} themeColors Array of Colors.
152
+ * @readonly
153
+ */
154
+ themeColors: ThemeColor[];
155
+ /**
156
+ * @public
157
+ * @property {any} svgPreview Theme preview SVG.
158
+ * @readonly
159
+ */
160
+ svgPreview: any;
161
+ /**
162
+ * @public
163
+ * @property {string} cssClassName The CSS Class Name.
164
+ * @readonly
165
+ */
166
+ cssClassName: string;
167
+ isPublic(): boolean;
168
+ isPrivate(): boolean;
169
+ isOwnedBy(companyId: string): boolean;
170
+ isWhiteLabel(): boolean;
171
+ isLogoAvailable(): boolean;
172
+ isWhiteType(): boolean;
173
+ getThemeColorOfKey(cssKey: string): ThemeColor | undefined;
174
+ compareTo(theme: Theme): boolean;
175
+ compareToWithoutLogo(theme: Theme): boolean;
176
+ constructor(data: Partial<ITheme>);
177
+ static createFromData(data: IThemeDTO): Theme;
178
+ static create(id: string, name: string, displayName: string, visibility: ThemeVisibility): Theme;
179
+ static createStaticWebTheme(name: string, displayName: string, visibility: ThemeVisibility): Theme;
180
+ static createNewThemeWithConfigurableThemeColors(theme: Theme, isWhiteLabel?: boolean): Theme;
181
+ static duplicateTheme(theme: Theme): Theme;
182
+ static duplicateThemeColorsFromTheme(theme: Theme, origTheme: Theme): void;
183
+ private static generateUUID24Char;
184
+ }
185
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/models/common/theme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAG3E;;;;;GAKG;AACH,oBAAY,SAAS;IAEjB,KAAK,UAAU;IAEf,IAAI,SAAS;CAChB;AAED;;;;;GAKG;AACH,oBAAY,eAAe;IAEvB,OAAO,YAAY;IAEnB,MAAM,WAAW;CACpB;AAED;;;;;GAKG;AACH,oBAAY,gBAAgB;IAExB,MAAM,WAAW;IAEjB,MAAM,WAAW;CACpB;AAED;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qBAAqB,CAAC,EAA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;CAIpC"}
@@ -0,0 +1,47 @@
1
+ /**
2
+ * @interface IThemeColor
3
+ * @description
4
+ * Represents a color declaration in Theme.
5
+ */
6
+ export interface IThemeColor {
7
+ displayName: string;
8
+ cssVariableName: string;
9
+ cssValue: string;
10
+ configurable: boolean;
11
+ }
12
+ /**
13
+ * @class
14
+ * @name ThemeColor
15
+ * @description
16
+ * This class is used to represent a color declaration in a Theme.
17
+ */
18
+ export declare class ThemeColor implements IThemeColor {
19
+ /**
20
+ * @public
21
+ * @property {string} displayName The color displayable translation name.
22
+ * @readonly
23
+ */
24
+ displayName: string;
25
+ /**
26
+ * @public
27
+ * @property {string} cssVariableName The color css name.
28
+ * @readonly
29
+ */
30
+ cssVariableName: string;
31
+ /**
32
+ * @public
33
+ * @property {string} cssValue The color css value.
34
+ * @readonly
35
+ */
36
+ cssValue: string;
37
+ /**
38
+ * @public
39
+ * @property {string} configurable is this color configurable.
40
+ * @readonly
41
+ */
42
+ configurable: boolean;
43
+ constructor(attributes: IThemeColor);
44
+ static create(displayName: string, cssVariableName: string, cssValue: string, configurable: boolean): ThemeColor;
45
+ static createFromThemeColor(themeColor: ThemeColor): ThemeColor;
46
+ }
47
+ //# sourceMappingURL=themeColor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"themeColor.d.ts","sourceRoot":"","sources":["../../../src/models/common/themeColor.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;CACzB;AAED;;;;;GAKG;AACH,qBAAa,UAAW,YAAW,WAAW;IAC1C;;;;OAIG;IACI,WAAW,EAAE,MAAM,CAAC;IAE3B;;;;OAIG;IACI,eAAe,EAAE,MAAM,CAAC;IAE/B;;;;OAIG;IACI,QAAQ,EAAE,MAAM,CAAC;IAExB;;;;OAIG;IACI,YAAY,EAAE,OAAO,CAAC;gBAMjB,UAAU,EAAE,WAAW;WAWrB,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,GAAG,UAAU;WAIzG,oBAAoB,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU;CAGzE"}
@@ -0,0 +1,42 @@
1
+ import type { ITheme, IThemeDTO, ThemeVisibility } from "./theme";
2
+ import { Theme } from "./theme";
3
+ /**
4
+ * @interface IUserThemeDTO
5
+ * @description
6
+ * Data Transfer Object (DTO) for transferring required data that represents a Theme that is available for a user.
7
+ */
8
+ export interface IUserThemeDTO extends IThemeDTO {
9
+ isThemeSelectedByUser: boolean;
10
+ isThemeSelectedByAdmin: boolean;
11
+ }
12
+ /**
13
+ * @interface IUserTheme
14
+ * @description
15
+ * Interface that represents a theme that is available for a user.
16
+ */
17
+ export interface IUserTheme extends ITheme, Omit<IUserThemeDTO, "UIElements"> {
18
+ }
19
+ /**
20
+ * @class
21
+ * @name UserTheme
22
+ * @description
23
+ * This class is used to represent a Theme that is available for a user.
24
+ */
25
+ export declare class UserTheme extends Theme implements Required<IUserTheme> {
26
+ /**
27
+ * @public
28
+ * @property {boolean} isThemeSelectedByUser This boolean informs if the user has already selected this theme (only present for a theme that is available for a specified user).
29
+ * @readonly
30
+ */
31
+ isThemeSelectedByUser: boolean;
32
+ /**
33
+ * @public
34
+ * @property {boolean} isThemeSelectedByAdmin This boolean informs if the admin has already selected this theme for the user (only present for a theme that is available for a specified user).
35
+ * @readonly
36
+ */
37
+ isThemeSelectedByAdmin: boolean;
38
+ constructor(data: Partial<IUserTheme | ITheme>);
39
+ static createFromData(data: IUserThemeDTO | IThemeDTO): UserTheme;
40
+ static create(id: string, name: string, displayName: string, visibility: ThemeVisibility): UserTheme;
41
+ }
42
+ //# sourceMappingURL=userTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"userTheme.d.ts","sourceRoot":"","sources":["../../../src/models/common/userTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;;;GAIG;AACH,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC5C,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;CACnC;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAW,SAAQ,MAAM,EAAE,IAAI,CAAC,aAAa,EAAE,YAAY,CAAC;CAC5E;AAED;;;;;GAKG;AACH,qBAAa,SAAU,SAAQ,KAAM,YAAW,QAAQ,CAAC,UAAU,CAAC;IAChE;;;;OAIG;IACI,qBAAqB,EAAE,OAAO,CAAC;IAEtC;;;;OAIG;IACI,sBAAsB,EAAE,OAAO,CAAC;gBAM3B,IAAI,EAAE,OAAO,CAAC,UAAU,GAAG,MAAM,CAAC;WAahC,cAAc,CAAC,IAAI,EAAE,aAAa,GAAG,SAAS,GAAG,SAAS;WAI1D,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,GAAG,SAAS;CAG9G"}