@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,231 @@
1
+ import { BehaviorSubject } from "rxjs";
2
+ /**
3
+ * Observable that emits the current window size category ('small', 'medium', or 'large').
4
+ * Automatically updates when the window is resized and crosses size thresholds.
5
+ *
6
+ * @example
7
+ * ```typescript
8
+ * import { windowSize } from '..';
9
+ *
10
+ * windowSize.subscribe(size => {
11
+ * console.log('Window size changed to:', size);
12
+ * });
13
+ * ```
14
+ */
15
+ export declare const windowSize: BehaviorSubject<string>;
16
+ /**
17
+ * Detects if the current browser is Internet Explorer.
18
+ *
19
+ * @returns `true` if the browser is Internet Explorer (any version), `false` otherwise
20
+ *
21
+ * @example
22
+ * ```typescript
23
+ * import { isIEBrowser } from '..';
24
+ *
25
+ * if (isIEBrowser()) {
26
+ * console.warn('IE is not fully supported');
27
+ * }
28
+ * ```
29
+ */
30
+ export declare function isIEBrowser(): boolean;
31
+ /**
32
+ * Detects if the current browser is Safari.
33
+ *
34
+ * @returns `true` if the browser is Safari, `false` otherwise
35
+ *
36
+ * @remarks
37
+ * Uses the WebRTC adapter's browser detection for accurate Safari identification.
38
+ *
39
+ * @example
40
+ * ```typescript
41
+ * import { isSafari } from '..';
42
+ *
43
+ * if (isSafari()) {
44
+ * console.log('Applying Safari-specific workarounds');
45
+ * }
46
+ * ```
47
+ */
48
+ export declare function isSafari(): boolean;
49
+ /**
50
+ * Detects if the current browser is Firefox.
51
+ *
52
+ * @returns `true` if the browser is Firefox, `false` otherwise
53
+ *
54
+ * @remarks
55
+ * Uses the WebRTC adapter's browser detection for accurate Firefox identification.
56
+ *
57
+ * @example
58
+ * ```typescript
59
+ * import { isFirefox } from '..';
60
+ *
61
+ * if (isFirefox()) {
62
+ * console.log('Running in Firefox');
63
+ * }
64
+ * ```
65
+ */
66
+ export declare function isFirefox(): boolean;
67
+ /**
68
+ * Detects if the application is running in a desktop environment (Electron or Qt WebEngine).
69
+ *
70
+ * @returns `true` if running in Electron or Qt WebEngine, `false` otherwise
71
+ *
72
+ * @example
73
+ * ```typescript
74
+ * import { isDesktop } from '..';
75
+ *
76
+ * if (isDesktop()) {
77
+ * console.log('Running as desktop application');
78
+ * }
79
+ * ```
80
+ */
81
+ export declare function isDesktop(): boolean;
82
+ /**
83
+ * Detects if the application is running on localhost.
84
+ *
85
+ * @returns `true` if the hostname is 'localhost', `false` otherwise
86
+ *
87
+ * @example
88
+ * ```typescript
89
+ * import { isLocalhost } from '..';
90
+ *
91
+ * if (isLocalhost()) {
92
+ * console.log('Running in development mode');
93
+ * }
94
+ * ```
95
+ */
96
+ export declare function isLocalhost(): boolean;
97
+ /**
98
+ * Detects the operating system platform from the user agent.
99
+ *
100
+ * @returns Platform identifier: 'mac', 'win', 'linux', or 'unknown'
101
+ *
102
+ * @example
103
+ * ```typescript
104
+ * import { platform } from '..';
105
+ *
106
+ * const os = platform();
107
+ * console.log('Running on:', os);
108
+ *
109
+ * if (os === 'mac') {
110
+ * console.log('Use Cmd key for shortcuts');
111
+ * }
112
+ * ```
113
+ */
114
+ export declare function platform(): string;
115
+ /**
116
+ * Detects if the current browser is running on a Linux desktop OS.
117
+ * Android is explicitly excluded because its user agent also contains the "Linux" token.
118
+ *
119
+ * @returns `true` if running on a Linux desktop OS, `false` otherwise
120
+ *
121
+ * @remarks
122
+ * Detection is attempted in the following order:
123
+ * 1. `navigator.userAgentData.platform` — modern User-Agent Client Hints API (Chrome 90+, Edge 90+), synchronous and not frozen.
124
+ * 2. `navigator.platform` — legacy API (deprecated but still widely supported), e.g. `"Linux x86_64"`.
125
+ * 3. `navigator.userAgent` — last-resort string matching, with explicit Android exclusion.
126
+ *
127
+ * @example
128
+ * ```typescript
129
+ * import { isLinux } from '../utils/browser';
130
+ *
131
+ * if (isLinux()) {
132
+ * console.log('Applying Linux-specific workaround');
133
+ * }
134
+ * ```
135
+ */
136
+ export declare function isLinux(): boolean;
137
+ /**
138
+ * Requests access to browser media devices (camera, microphone, screen sharing) with specified constraints.
139
+ *
140
+ * @param userMedia - Array of media constraints defining which devices to request
141
+ * @returns Promise resolving to a MediaStream containing the requested media tracks
142
+ *
143
+ * @remarks
144
+ * This function applies device constraints and settings before requesting media access.
145
+ * Use {@link getBrowserMediaWithNoConstraints} if you need raw device access without constraints.
146
+ *
147
+ * @example
148
+ * ```typescript
149
+ * import { getBrowserMedia } from '..';
150
+ *
151
+ * // Request camera and microphone
152
+ * const stream = await getBrowserMedia([
153
+ * { audio: true, video: { width: 1280, height: 720 } }
154
+ * ]);
155
+ * ```
156
+ */
157
+ export declare function getBrowserMedia(userMedia: any[]): Promise<MediaStream>;
158
+ /**
159
+ * Requests access to browser media devices without applying additional constraints.
160
+ *
161
+ * @param userMedia - Array of basic media requests (audio/video flags)
162
+ * @returns Promise resolving to a MediaStream with raw device access
163
+ *
164
+ * @remarks
165
+ * Unlike {@link getBrowserMedia}, this function does not apply device-specific constraints
166
+ * or settings, providing raw access to media devices.
167
+ *
168
+ * @example
169
+ * ```typescript
170
+ * import { getBrowserMediaWithNoConstraints } from '..';
171
+ *
172
+ * // Request basic camera and microphone access
173
+ * const stream = await getBrowserMediaWithNoConstraints([
174
+ * { audio: true, video: true }
175
+ * ]);
176
+ * ```
177
+ */
178
+ export declare function getBrowserMediaWithNoConstraints(userMedia: any[]): Promise<MediaStream>;
179
+ /**
180
+ * Copies text content to the system clipboard.
181
+ *
182
+ * @param data - The text string to copy to clipboard
183
+ * @returns Promise that resolves when the text is copied
184
+ *
185
+ * @remarks
186
+ * Automatically falls back to a legacy clipboard method if the Clipboard API is not available.
187
+ * The fallback uses a temporary textarea element with document.execCommand('copy').
188
+ *
189
+ * @example
190
+ * ```typescript
191
+ * import { copyTextToClipboard } from '..';
192
+ *
193
+ * await copyTextToClipboard('Hello, World!');
194
+ * console.log('Text copied to clipboard');
195
+ * ```
196
+ */
197
+ export declare function copyTextToClipboard(data: string): Promise<void>;
198
+ /**
199
+ * Copies a ClipboardItem (which can contain multiple formats) to the system clipboard.
200
+ *
201
+ * @param data - ClipboardItem containing the data to copy (supports multiple MIME types)
202
+ * @returns Promise that resolves when the data is copied
203
+ *
204
+ * @remarks
205
+ * Supports rich clipboard content including images, HTML, and text. Falls back to text-only
206
+ * copying if the Clipboard API is not available. The ClipboardItem can contain multiple
207
+ * representations (e.g., both text and HTML) and the system will use the most appropriate one.
208
+ *
209
+ * @example
210
+ * ```typescript
211
+ * import { copyToClipboard } from '..';
212
+ *
213
+ * // Copy text and HTML to clipboard
214
+ * const item = new ClipboardItem({
215
+ * 'text/plain': new Blob(['Hello'], { type: 'text/plain' }),
216
+ * 'text/html': new Blob(['<b>Hello</b>'], { type: 'text/html' })
217
+ * });
218
+ *
219
+ * await copyToClipboard(item);
220
+ * ```
221
+ */
222
+ export declare function copyToClipboard(data: ClipboardItem): Promise<void>;
223
+ export declare function isDarkTheme(): boolean;
224
+ /**
225
+ * Detects if the Compute Pressure API (PressureObserver) is available in the current browser.
226
+ * Currently supported in Chrome, Edge, and Opera.
227
+ *
228
+ * @returns `true` if `PressureObserver` is available on `window`, `false` otherwise.
229
+ */
230
+ export declare function isComputePressureSupported(): boolean;
231
+ //# sourceMappingURL=browser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../src/utils/browser.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAGvC;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,UAAU,yBAA+C,CAAC;AAqBvE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,IAAI,OAAO,CAKrC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,QAAQ,IAAI,OAAO,CAIlC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,SAAS,IAAI,OAAO,CAInC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,SAAS,IAAI,OAAO,CAKnC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,IAAI,OAAO,CAIrC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,QAAQ,IAAI,MAAM,CAWjC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,OAAO,IAAI,OAAO,CAmBjC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,eAAe,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,WAAW,CAAC,CAG5E;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,gCAAgC,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,WAAW,CAAC,CAG7F;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,MAAM,iBAGrD;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAsB,eAAe,CAAC,IAAI,EAAE,aAAa,iBAOxD;AAmBD,wBAAgB,WAAW,IAAI,OAAO,CAKrC;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,IAAI,OAAO,CAEpD"}
@@ -0,0 +1,12 @@
1
+ export * from "./anonymizer";
2
+ export * from "./stringifyError";
3
+ export * from "./browser";
4
+ export * from "./allSettled";
5
+ export * from "./wait";
6
+ export * from "./video";
7
+ export * from "./recordingArchiveName";
8
+ export * from "./serverTimestamp";
9
+ export { default as xmlParser } from "./xmlParser";
10
+ export type { XMLElement } from "./xmlParser";
11
+ export * from "./xmlValidation";
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function isMediaPermissionDeniedError(error: unknown): error is DOMException;
2
+ //# sourceMappingURL=mediaPermissionError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mediaPermissionError.d.ts","sourceRoot":"","sources":["../../src/utils/mediaPermissionError.ts"],"names":[],"mappings":"AAAA,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,YAAY,CAKlF"}
@@ -0,0 +1,10 @@
1
+ export declare class PromiseQueue {
2
+ private queue;
3
+ private started;
4
+ private logger;
5
+ static create(): PromiseQueue;
6
+ add(promise: () => Promise<any>): void;
7
+ private execute;
8
+ private timeoutPromise;
9
+ }
10
+ //# sourceMappingURL=promiseQueue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promiseQueue.d.ts","sourceRoot":"","sources":["../../src/utils/promiseQueue.ts"],"names":[],"mappings":"AAGA,qBAAa,YAAY;IACrB,OAAO,CAAC,KAAK,CAA8B;IAC3C,OAAO,CAAC,OAAO,CAAkB;IACjC,OAAO,CAAC,MAAM,CAA8C;WAE9C,MAAM;IAEb,GAAG,CAAC,OAAO,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC;IAKtC,OAAO,CAAC,OAAO;IAqBf,OAAO,CAAC,cAAc;CAUzB"}
@@ -0,0 +1,3 @@
1
+ declare const _default: (length?: number) => string;
2
+ export default _default;
3
+ //# sourceMappingURL=randomString.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"randomString.d.ts","sourceRoot":"","sources":["../../src/utils/randomString.ts"],"names":[],"mappings":"yBAAgB,SAAQ,MAAW,KAAG,MAAM;AAA5C,wBAME"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Default name of the archive downloaded for a recording (conference or P2P recap).
3
+ *
4
+ * The date parts are taken in local time so the name matches what the user sees in the UI.
5
+ * Minutes are part of the name because two recordings of the same day would otherwise collide
6
+ * and the browser would silently suffix the second one with " (1)".
7
+ *
8
+ * `new Date()` never throws on a malformed input -- it returns an invalid date whose getters all
9
+ * yield NaN -- so the invalid case is tested explicitly and falls back to the raw start date,
10
+ * stripped of the characters that are not allowed in a file name.
11
+ */
12
+ export declare function buildRecordingArchiveName(startDate?: string): string;
13
+ //# sourceMappingURL=recordingArchiveName.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recordingArchiveName.d.ts","sourceRoot":"","sources":["../../src/utils/recordingArchiveName.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAMpE"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The server identifies a stored message by the pair (msg_id, msg_ts), where msg_ts is the
3
+ * microsecond epoch it assigned when it persisted the message. A reaction stanza has to echo
4
+ * that exact value back, so the client must keep the server's microseconds verbatim.
5
+ *
6
+ * `new Date(iso).getTime()` only yields milliseconds, so the last three digits would be lost
7
+ * and rebuilding them as `${ms}000` would produce a value the server cannot match. This reads
8
+ * the fractional-seconds digits straight from the ISO string instead, and right-pads them to
9
+ * six so `2026-09-20T09:21:20.095441Z` gives "1789896080095441".
10
+ *
11
+ * Returns null when the input is missing or not a valid date -- callers then fall back to
12
+ * whatever timestamp they already have.
13
+ */
14
+ export declare function isoToMicros(iso: string | undefined | null): string | null;
15
+ //# sourceMappingURL=serverTimestamp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverTimestamp.d.ts","sourceRoot":"","sources":["../../src/utils/serverTimestamp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAQzE"}
@@ -0,0 +1,2 @@
1
+ export declare function stringifyError(error: unknown): string;
2
+ //# sourceMappingURL=stringifyError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stringifyError.d.ts","sourceRoot":"","sources":["../../src/utils/stringifyError.ts"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAQrD"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * {@link extractNonBlackFrame} tuning options
3
+ */
4
+ interface NonBlackFrameOption {
5
+ /** How often to check for a valid frame, in milliseconds. Defaults to `200`. */
6
+ intervalMs?: number;
7
+ /** Maximum time to wait before rejecting, in milliseconds. Defaults to `5000`. */
8
+ timeoutMs?: number;
9
+ /** Minimum per-channel value (0-255) to consider a pixel bright. Defaults to `20`. */
10
+ brightnessThreshold?: number;
11
+ /** Minimum ratio of bright pixels required to accept the frame. Defaults to `0.02`. */
12
+ minBrightPixelRatio?: number;
13
+ }
14
+ /**
15
+ * Extracts the first non-black frame from a {@link MediaStream} as a JPEG data URL.
16
+ *
17
+ * Polls the stream at regular intervals until a frame with enough visible
18
+ * pixels is found, then returns it as a JPEG data URL.
19
+ *
20
+ * @param stream - The {@link MediaStream} containing a video track.
21
+ * @param options - Optional tuning parameters.
22
+ * @returns A promise that resolves with a JPEG data URL of the first non-black frame found.
23
+ * @throws If no non-black frame is found within `timeoutMs`.
24
+ */
25
+ export declare function extractNonBlackFrame(stream: MediaStream, options?: Partial<NonBlackFrameOption>): Promise<string>;
26
+ export {};
27
+ //# sourceMappingURL=video.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../src/utils/video.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,UAAU,mBAAmB;IACzB,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sFAAsF;IACtF,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uFAAuF;IACvF,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAChC,MAAM,EAAE,WAAW,EACnB,OAAO,GAAE,OAAO,CAAC,mBAAmB,CAAM,GAC3C,OAAO,CAAC,MAAM,CAAC,CAuDjB"}
@@ -0,0 +1,2 @@
1
+ export declare function wait(milliseconds: number): Promise<void>;
2
+ //# sourceMappingURL=wait.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wait.d.ts","sourceRoot":"","sources":["../../src/utils/wait.ts"],"names":[],"mappings":"AAAA,wBAAgB,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAExD"}
@@ -0,0 +1,102 @@
1
+ export declare class XMLElement {
2
+ elem: Element;
3
+ constructor(elem: Element);
4
+ /**
5
+ * Reads a single attribute, `null` if not set.
6
+ * @param name - attribute name.
7
+ */
8
+ attr(name: string): string | null;
9
+ /**
10
+ * Reads several attributes at once.
11
+ * @param names - attribute names to read.
12
+ */
13
+ attrs<K extends string>(names: readonly K[]): Record<K, string | null>;
14
+ /** The element's text content. */
15
+ text(): string;
16
+ /** The element's tag name. */
17
+ get tagName(): string;
18
+ /** The element's direct children, wrapped. */
19
+ children(): XMLElements;
20
+ /**
21
+ * CSS-selector query for descendants, wrapped.
22
+ *
23
+ * Supports jQuery-style `>child` direct-child shorthand and namespaced `[xmlns=...]` attribute selectors.
24
+ * @param selector - CSS selector.
25
+ */
26
+ find(selector: string): XMLElements;
27
+ }
28
+ export declare class XMLElements {
29
+ elems: XMLElement[];
30
+ constructor(elems: XMLElement[]);
31
+ /**
32
+ * Runs `callbackfn` over each element in the list.
33
+ * @param callbackfn - called with each element, its index, and the backing array.
34
+ */
35
+ forEach(callbackfn: (value: XMLElement, index: number, array: XMLElement[]) => void): void;
36
+ /**
37
+ * Forward the array iterator, which allow to do this
38
+ *
39
+ * ```ts
40
+ * const parent: XMLElement = getParent()
41
+ * const elements: XMLElements = parent.children()
42
+ * for (const element of elements) {
43
+ * // do things
44
+ * }
45
+ * ```
46
+ *
47
+ * The method behave the same way as `forEach`. Here is the equivalent:
48
+ * ```ts
49
+ * const parent: XMLElement = getParent()
50
+ * const elements: XMLElements = parent.children()
51
+ * elements.forEach((element) => {
52
+ * // do things
53
+ * })
54
+ * ```
55
+ *
56
+ * The main advantage of using an iterator is that we can use promise and async/await with
57
+ * it nativelly, where the `forEach` can't without causing side-effects.
58
+ *
59
+ * Here is the [Iterator documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_generators)
60
+ * @returns iterator over the wrapped elements.
61
+ */
62
+ [Symbol.iterator](): ArrayIterator<XMLElement>;
63
+ /**
64
+ * `true` if `callbackfn` returns truthy for at least one element.
65
+ * @param callbackfn - called with each element, its index, and the backing array.
66
+ */
67
+ some(callbackfn: (value: XMLElement, index: number, array: XMLElement[]) => unknown): boolean;
68
+ /**
69
+ * Maps each element through `callbackfn`.
70
+ * @param callbackfn - called with each element, its index, and the backing array.
71
+ */
72
+ map<T>(callbackfn: (value: XMLElement, index: number, array: XMLElement[]) => T): T[];
73
+ /**
74
+ * Retrieve an attribute on the first element of the list
75
+ * @param name - attribute name.
76
+ */
77
+ attr(name: string): string | null;
78
+ /**
79
+ * Reads several attributes at once.
80
+ * @param names - attribute names to read.
81
+ */
82
+ attrs<K extends string>(names: readonly K[]): Record<K, string | null>;
83
+ /** Text content of the first element of the list, `null` if empty. */
84
+ text(): string | null;
85
+ /**
86
+ * CSS-selector query for descendants of the first element of the list, empty result if the list itself is empty.
87
+ * @param selector - CSS selector.
88
+ */
89
+ find(selector: string): XMLElements;
90
+ /** The first element of the list, `null` if empty. */
91
+ first(): XMLElement | null;
92
+ /** Number of elements in the list. */
93
+ get length(): number;
94
+ }
95
+ /**
96
+ * Wraps an existing `Element` as-is, or parses `element` as `ns`-typed markup and wraps its document element.
97
+ * @param element - existing `Element`, or markup string to parse.
98
+ * @param ns - MIME type used to parse `element` when it's a string. Defaults to `"application/xml"`.
99
+ */
100
+ declare const _default: (element: string | Element, ns?: DOMParserSupportedType) => XMLElement;
101
+ export default _default;
102
+ //# sourceMappingURL=xmlParser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xmlParser.d.ts","sourceRoot":"","sources":["../../src/utils/xmlParser.ts"],"names":[],"mappings":"AAyBA,qBAAa,UAAU;IACO,IAAI,EAAE,OAAO;gBAAb,IAAI,EAAE,OAAO;IAEvC;;;OAGG;IACI,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAIxC;;;OAGG;IACI,KAAK,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,GAAG,MAAM,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAI7E,kCAAkC;IAC3B,IAAI,IAAI,MAAM;IAIrB,8BAA8B;IAC9B,IAAW,OAAO,IAAI,MAAM,CAE3B;IAED,8CAA8C;IACvC,QAAQ,IAAI,WAAW;IAI9B;;;;;OAKG;IACI,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW;CAI7C;AAED,qBAAa,WAAW;IACM,KAAK,EAAE,UAAU,EAAE;gBAAnB,KAAK,EAAE,UAAU,EAAE;IAE7C;;;OAGG;IACI,OAAO,CAAC,UAAU,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,IAAI,GAAG,IAAI;IAEjG;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACI,CAAC,MAAM,CAAC,QAAQ,CAAC;IAIxB;;;OAGG;IACI,IAAI,CAAC,UAAU,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,OAAO,GAAG,OAAO;IAIpG;;;OAGG;IACI,GAAG,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE;IAI5F;;;OAGG;IACI,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAIxC;;;OAGG;IACI,KAAK,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,GAAG,MAAM,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAI7E,sEAAsE;IAC/D,IAAI,IAAI,MAAM,GAAG,IAAI;IAI5B;;;OAGG;IACI,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW;IAI1C,sDAAsD;IAC/C,KAAK,IAAI,UAAU,GAAG,IAAI;IAIjC,sCAAsC;IACtC,IAAW,MAAM,IAAI,MAAM,CAE1B;CACJ;AAED;;;;GAIG;yBACa,SAAS,MAAM,GAAG,OAAO,EAAE,KAAI,sBAA0C,KAAG,UAAU;AAAtG,wBAKE"}
@@ -0,0 +1,119 @@
1
+ import * as v from "valibot";
2
+ import { XMLElement } from "./xmlParser";
3
+ /**
4
+ * Declarative shape passed to {@link xmlElement}.
5
+ *
6
+ * @public
7
+ */
8
+ interface XmlElementShape {
9
+ /**
10
+ * Restricts this schema to elements with this exact tag name; parsing throws otherwise.
11
+ *
12
+ * @remarks
13
+ * The tag is echoed in the output as a literal, so a `v.union([...])` of tagged schemas forms a
14
+ * discriminated union -- narrow on `result.tag` before reading `result.attrs`.
15
+ */
16
+ tag?: string;
17
+ /**
18
+ * Schema per attribute name, applied to `elem.attr(name)`.
19
+ *
20
+ * @remarks
21
+ * A missing attribute reads as `undefined` (not `null`), so `v.optional(schema, fallback)` gives
22
+ * it a default. That fallback is an *input* run through `schema`: with a coercing schema such as
23
+ * `v.pipe(v.string(), v.toNumber())` it must be `'0'`, not `0`.
24
+ */
25
+ attrs?: Record<string, v.GenericSchema<string | undefined, unknown>>;
26
+ /**
27
+ * Schema applied to `elem.text()`.
28
+ */
29
+ text?: v.GenericSchema;
30
+ /**
31
+ * Schema per child, keyed by CSS selector.
32
+ *
33
+ * @remarks
34
+ * Keys are resolved via `elem.find(key)`: a bare tag name matches any descendant, `> tag`
35
+ * restricts to direct children, deeper paths such as `> parent > child` match at any depth.
36
+ * A bare schema requires exactly one match, `v.optional(schema)` allows none, `v.array(schema)`
37
+ * takes all. Cardinality is read from the spec's own `type`, so those wrappers stay outermost:
38
+ * `v.array(v.lazy(() => self))`, never the reverse, which silently matches a single element.
39
+ */
40
+ children?: Record<string, ChildSpec>;
41
+ }
42
+ type ChildSpec = v.GenericSchema | v.OptionalSchema<v.GenericSchema, undefined> | v.ArraySchema<v.GenericSchema, undefined>;
43
+ type AttrsOutput<T extends XmlElementShape> = T["attrs"] extends Record<string, v.GenericSchema<string | undefined, unknown>> ? {
44
+ [K in keyof T["attrs"]]: v.InferOutput<T["attrs"][K]>;
45
+ } : Record<never, never>;
46
+ type ChildOutput<S extends ChildSpec> = S extends v.ArraySchema<infer Item extends v.GenericSchema, undefined> ? v.InferOutput<Item>[] : S extends v.OptionalSchema<infer Wrapped extends v.GenericSchema, undefined> ? v.InferOutput<Wrapped> | undefined : S extends v.GenericSchema ? v.InferOutput<S> : never;
47
+ type ChildrenOutput<T extends XmlElementShape> = T["children"] extends Record<string, ChildSpec> ? {
48
+ [K in keyof T["children"]]: ChildOutput<T["children"][K]>;
49
+ } : Record<never, never>;
50
+ interface TextOutput<T extends XmlElementShape> {
51
+ text: T["text"] extends v.GenericSchema ? v.InferOutput<T["text"]> : undefined;
52
+ }
53
+ interface TagOutput<T extends XmlElementShape> {
54
+ tag: T["tag"] extends string ? T["tag"] : undefined;
55
+ }
56
+ /**
57
+ * Precise output type of the schema produced by {@link xmlElement} for a given shape `T`.
58
+ *
59
+ * @public
60
+ */
61
+ export type XmlElementOutput<T extends XmlElementShape> = {
62
+ elem: XMLElement;
63
+ attrs: AttrsOutput<T>;
64
+ } & TextOutput<T> & TagOutput<T> & ChildrenOutput<T>;
65
+ /**
66
+ * Output of a self-recursive {@link xmlElement} schema: the element `T`, whose child selector `K`
67
+ * holds an array of that same element.
68
+ *
69
+ * @public
70
+ */
71
+ export type XmlElementRecursiveOutput<T extends XmlElementShape, K extends string> = XmlElementOutput<T> & {
72
+ [P in K]: XmlElementRecursiveOutput<T, K>[];
73
+ };
74
+ /**
75
+ * Annotation for a self-recursive {@link xmlElement} schema, which TypeScript cannot infer.
76
+ *
77
+ * @example
78
+ * ```ts
79
+ * const base = xmlElement({ attrs: { label: v.string() } })
80
+ * const node: XmlElementRecursiveSchema<typeof base.shape, "> node"> = xmlElement({
81
+ * ...base.shape,
82
+ * children: { "> node": v.array(v.lazy(() => node)) },
83
+ * })
84
+ * ```
85
+ *
86
+ * @public
87
+ */
88
+ export type XmlElementRecursiveSchema<T extends XmlElementShape, K extends string> = v.GenericSchema<XMLElement, XmlElementRecursiveOutput<T, K>>;
89
+ /**
90
+ * Builds a valibot schema that validates an {@link XMLElement}.
91
+ *
92
+ * @remarks
93
+ * The result always carries `elem`, so callers can fall back to manual `find`/`attr`/`text` for
94
+ * anything the shape does not declare. The returned `shape` is the counterpart of `entries` on a
95
+ * valibot object schema, making an existing element extensible as
96
+ * `xmlElement({ ...stanza.shape, tag: "message" })` -- a shallow spread, so `attrs` and `children`
97
+ * are replaced rather than merged.
98
+ *
99
+ * @example
100
+ * ```ts
101
+ * const book = xmlElement({
102
+ * attrs: { id: v.string() },
103
+ * text: v.string(),
104
+ * children: { author: v.optional(xmlElement({ text: v.string() })) },
105
+ * })
106
+ * const result = v.parse(book, elem)
107
+ * ```
108
+ *
109
+ * @param shape - Schema definition for tag, attrs, text and children.
110
+ * @returns A schema accepting an `XMLElement`, carrying the `shape` it was built from.
111
+ *
112
+ * @public
113
+ */
114
+ export declare function xmlElement<const T extends XmlElementShape>(shape: T): v.GenericSchema<XMLElement, XmlElementOutput<T>> & {
115
+ shape: T;
116
+ };
117
+ export type InferXmlElement<T extends v.GenericSchema> = v.InferOutput<T>;
118
+ export {};
119
+ //# sourceMappingURL=xmlValidation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xmlValidation.d.ts","sourceRoot":"","sources":["../../src/utils/xmlValidation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC;;;;GAIG;AACH,UAAU,eAAe;IACrB;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,aAAa,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;IAErE;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,CAAC,aAAa,CAAC;IAEvB;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACxC;AAED,KAAK,SAAS,GAAG,CAAC,CAAC,aAAa,GAAG,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,aAAa,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;AAI5H,KAAK,WAAW,CAAC,CAAC,SAAS,eAAe,IAAI,CAAC,CAAC,OAAO,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,aAAa,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,GACvH;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACzD,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAE3B,KAAK,WAAW,CAAC,CAAC,SAAS,SAAS,IAAI,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,MAAM,IAAI,SAAS,CAAC,CAAC,aAAa,EAAE,SAAS,CAAC,GACxG,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,GACrB,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC,aAAa,EAAE,SAAS,CAAC,GACxE,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,SAAS,GAClC,CAAC,SAAS,CAAC,CAAC,aAAa,GACrB,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,GAChB,KAAK,CAAC;AAEpB,KAAK,cAAc,CAAC,CAAC,SAAS,eAAe,IAAI,CAAC,CAAC,UAAU,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAC1F;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,UAAU,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GAC7D,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAE3B,UAAU,UAAU,CAAC,CAAC,SAAS,eAAe;IAC1C,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;CAClF;AAED,UAAU,SAAS,CAAC,CAAC,SAAS,eAAe;IACzC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC;CACvD;AAED;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,eAAe,IAChD;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG,UAAU,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;AAEtG;;;;;GAKG;AACH,MAAM,MAAM,yBAAyB,CAAC,CAAC,SAAS,eAAe,EAAE,CAAC,SAAS,MAAM,IAC3E,gBAAgB,CAAC,CAAC,CAAC,GAAG;KAAG,CAAC,IAAI,CAAC,GAAG,yBAAyB,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE;CAAE,CAAC;AAE5E;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,yBAAyB,CAAC,CAAC,SAAS,eAAe,EAAE,CAAC,SAAS,MAAM,IAC3E,CAAC,CAAC,aAAa,CAAC,UAAU,EAAE,yBAAyB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,UAAU,CAAC,KAAK,CAAC,CAAC,SAAS,eAAe,EACtD,KAAK,EAAE,CAAC,GACT,CAAC,CAAC,aAAa,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,GAAG;IAAE,KAAK,EAAE,CAAC,CAAC;CAAE,CA0ElE;AAED,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,aAAa,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC"}
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@ale-rainbow/web-sdk",
3
+ "type": "module",
4
+ "version": "5.1.0",
5
+ "description": "",
6
+ "author": "",
7
+ "license": "ISC",
8
+ "sideEffects": [
9
+ "./src/libs/strophe/**/*.js",
10
+ "./src/strophejs.ts",
11
+ "./src/libs/strophe/strophe.rsm.ts"
12
+ ],
13
+ "exports": {
14
+ ".": {
15
+ "types": "./lib/index.d.ts",
16
+ "import": "./lib/index.js",
17
+ "require": "./lib/index.js"
18
+ },
19
+ "./node": {
20
+ "types": "./lib/node.d.ts",
21
+ "import": "./lib/node.js",
22
+ "require": "./lib/node.js"
23
+ },
24
+ "./*": {
25
+ "types": "./lib/*.d.ts",
26
+ "import": "./lib/index.js",
27
+ "require": "./lib/index.js"
28
+ }
29
+ },
30
+ "main": "lib/index.js",
31
+ "module": "lib/index.js",
32
+ "umd": "lib/index.umd.js",
33
+ "types": "lib/",
34
+ "files": [
35
+ "/lib/**"
36
+ ],
37
+ "dependencies": {
38
+ "buffer": "^6.0.3",
39
+ "canvas": "^3.2.3",
40
+ "crypto-es": "^3.1.3",
41
+ "date-fns": "^4.4.0",
42
+ "flatted": "^3.4.2",
43
+ "jquery": "^3.7.1",
44
+ "jsdom": "^29.0.2",
45
+ "jwt-decode": "^4.0.0",
46
+ "lodash-es": "^4.18.1",
47
+ "node-localstorage": "^3.0.5",
48
+ "rxjs": "7.8.2",
49
+ "sanitize-html": "^2.17.3",
50
+ "strophe.js": "^3.1.1",
51
+ "ts-ebml": "^2.0.2",
52
+ "uuid": "14.0.0",
53
+ "valibot": "^1.3.1",
54
+ "webrtc-adapter": "7.5.1",
55
+ "ws": "^8.20.0",
56
+ "xml-rpc-ts": "^1.0.2"
57
+ }
58
+ }