@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 @@
1
+ {"version":3,"file":"support.model.d.ts","sourceRoot":"","sources":["../../../src/services/support/support.model.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG,KAAK,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM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c,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,UAAU,CAAC,EAAE,iBAAiB,CAAC;IACxC,6CAA6C;IAC7C,QAAQ,CAAC,gBAAgB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9C,gFAAgF;IAChF,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAC7C"}
@@ -0,0 +1,162 @@
1
+ /**
2
+ * @module Support
3
+ */
4
+ import { Service } from "../../services/service";
5
+ import type { CreateTicketPayload, HelpCenterArticle, SupportTicket, SupportTicketDetail, SupportTicketStatus } from "../../services/support/support.model";
6
+ export type { CreateTicketPayload, HelpCenterArticle, SupportAttachment, SupportComment, SupportDeviceInfo, SupportTicket, SupportTicketDetail, SupportTicketStatus, } from "../../services/support/support.model";
7
+ export declare const SUPPORT_SVC = "SupportService";
8
+ /** Raised when the support backend cannot be reached or fails upstream. */
9
+ export declare class SupportUnavailableError extends Error {
10
+ constructor();
11
+ }
12
+ /**
13
+ * Raised when a ticket does not exist, or when the caller is not entitled to it.
14
+ *
15
+ * The backend deliberately answers `404` rather than `403` on a denied ticket so
16
+ * ticket ids cannot be probed — the two cases are therefore indistinguishable here.
17
+ */
18
+ export declare class SupportTicketNotFoundError extends Error {
19
+ constructor();
20
+ }
21
+ /** Raised when the caller's role does not cover the requested scope. */
22
+ export declare class SupportForbiddenError extends Error {
23
+ constructor();
24
+ }
25
+ /** Raised when a ticket status transition is rejected by the backend. */
26
+ export declare class SupportInvalidTransitionError extends Error {
27
+ constructor();
28
+ }
29
+ /** Raised when an attachment exceeds the size limit or has a disallowed MIME type. */
30
+ export declare class SupportAttachmentRejectedError extends Error {
31
+ constructor();
32
+ }
33
+ /** Raised when the caller exceeds the per-user rate limit. */
34
+ export declare class SupportRateLimitError extends Error {
35
+ /** Seconds to wait before retrying, when the backend provides it. */
36
+ readonly retryAfterSeconds?: number;
37
+ constructor(retryAfterSeconds?: number);
38
+ }
39
+ export interface SupportService {
40
+ /**
41
+ * Fetches the tickets the authenticated user requested or is CC'd on,
42
+ * most recently updated first.
43
+ *
44
+ * @throws {@link SupportUnavailableError} when the backend cannot be reached.
45
+ */
46
+ getMyTickets: () => Promise<SupportTicket[]>;
47
+ /**
48
+ * Fetches the tickets of the authenticated user's company.
49
+ *
50
+ * The company is resolved from the session by the backend — it is never passed
51
+ * by the caller.
52
+ *
53
+ * @throws {@link SupportForbiddenError} when the caller's role does not cover the company.
54
+ */
55
+ getCompanyTickets: () => Promise<SupportTicket[]>;
56
+ /**
57
+ * Counts the company tickets in a given status. Counted backend-side.
58
+ *
59
+ * @param status - Status to count. Defaults to `open`.
60
+ * @throws {@link SupportForbiddenError} when the caller's role does not cover the company.
61
+ */
62
+ getOpenTicketCount: (status?: SupportTicketStatus) => Promise<number>;
63
+ /**
64
+ * Fetches a ticket with its description and public comments.
65
+ *
66
+ * @throws {@link SupportTicketNotFoundError} when the ticket does not exist or is not accessible.
67
+ */
68
+ getTicket: (ticketId: number) => Promise<SupportTicketDetail>;
69
+ /**
70
+ * Creates a ticket, requested by the authenticated user.
71
+ *
72
+ * A company admin may instead file it for one of their users by setting
73
+ * `onBehalfOfRainbowUserId` on the payload; the backend rejects that field for
74
+ * anyone else.
75
+ *
76
+ * @returns The id of the created ticket.
77
+ * @throws {@link SupportForbiddenError} when the caller may not file on behalf of the
78
+ * requested user — not a company admin, or the target is outside their company.
79
+ */
80
+ createTicket: (payload: CreateTicketPayload) => Promise<number>;
81
+ /**
82
+ * Adds a public comment to a ticket. The author is forced to the authenticated user.
83
+ *
84
+ * @param htmlBody - HTML body of the comment; sanitized backend-side.
85
+ * @param attachmentTokens - Tokens returned by {@link SupportService.uploadAttachment}.
86
+ * @throws {@link SupportTicketNotFoundError} when the ticket is not accessible.
87
+ */
88
+ addComment: (ticketId: number, htmlBody: string, attachmentTokens?: readonly string[]) => Promise<void>;
89
+ /**
90
+ * Changes the status of a ticket.
91
+ *
92
+ * @throws {@link SupportInvalidTransitionError} when the transition is not allowed for this role.
93
+ * @throws {@link SupportTicketNotFoundError} when the ticket is not accessible.
94
+ */
95
+ updateTicketStatus: (ticketId: number, status: SupportTicketStatus) => Promise<void>;
96
+ /**
97
+ * Uploads a file and returns the token to attach it to a ticket or a comment.
98
+ *
99
+ * Every file type is accepted except executables.
100
+ *
101
+ * @param groupToken - Token returned by a previous upload. Passing it back groups
102
+ * both files under that same token, so several files land on one comment.
103
+ * @throws {@link SupportAttachmentRejectedError} when the file is too large or its type is not allowed.
104
+ */
105
+ uploadAttachment: (file: File, groupToken?: string) => Promise<string>;
106
+ /**
107
+ * Downloads a ticket attachment.
108
+ *
109
+ * @returns The file contents. The caller owns the returned `Blob`.
110
+ * @throws {@link SupportTicketNotFoundError} when the ticket or the attachment is not accessible.
111
+ */
112
+ downloadAttachment: (ticketId: number, attachmentId: string) => Promise<Blob>;
113
+ /**
114
+ * Searches the Help Center knowledge base.
115
+ *
116
+ * Meant to be called on keystroke, behind a 350ms debounce and a 3-character
117
+ * minimum enforced by the caller — the backend rate-limits this route.
118
+ *
119
+ * @param query - Search terms; must be at least 3 characters long.
120
+ * @param limit - Maximum number of articles.
121
+ * @param locale - Article locale. Defaults to the connected user's language, then `en`.
122
+ */
123
+ searchKnowledgeBase: (query: string, limit?: number, locale?: string) => Promise<HelpCenterArticle[]>;
124
+ }
125
+ /** @internal */
126
+ export declare class SupportServiceRB extends Service implements SupportService {
127
+ private readonly loggerService;
128
+ static getInstance(): SupportServiceRB;
129
+ static build(): SupportServiceRB;
130
+ private get baseUrl();
131
+ /** Locale sent to the Help Center search, taken from the connected user. */
132
+ private get searchLocale();
133
+ /**
134
+ * Maps a failed {@link Response} to a typed error.
135
+ *
136
+ * The backend's `error` field is a technical message meant for diagnosis: it is
137
+ * logged, never surfaced. Callers discriminate on the error class and pick their
138
+ * own user-facing wording.
139
+ */
140
+ private toSupportError;
141
+ /**
142
+ * Runs a JSON request against the support backend.
143
+ *
144
+ * A network failure (backend down, DNS, CORS) throws before any response is
145
+ * available, hence the explicit {@link SupportUnavailableError} mapping.
146
+ *
147
+ * Every Rainbow REST answer wraps its payload in a `data` envelope, which is
148
+ * unwrapped here so callers only ever see the payload itself.
149
+ */
150
+ private request;
151
+ getMyTickets(): Promise<SupportTicket[]>;
152
+ getCompanyTickets(): Promise<SupportTicket[]>;
153
+ getOpenTicketCount(status?: SupportTicketStatus): Promise<number>;
154
+ getTicket(ticketId: number): Promise<SupportTicketDetail>;
155
+ createTicket(payload: CreateTicketPayload): Promise<number>;
156
+ addComment(ticketId: number, htmlBody: string, attachmentTokens?: readonly string[]): Promise<void>;
157
+ updateTicketStatus(ticketId: number, status: SupportTicketStatus): Promise<void>;
158
+ uploadAttachment(file: File, groupToken?: string): Promise<string>;
159
+ downloadAttachment(ticketId: number, attachmentId: string): Promise<Blob>;
160
+ searchKnowledgeBase(query: string, limit?: number, locale?: string): Promise<HelpCenterArticle[]>;
161
+ }
162
+ //# sourceMappingURL=support.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"support.service.d.ts","sourceRoot":"","sources":["../../../src/services/support/support.service.ts"],"names":[],"mappings":"AACA;;GAEG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,aAAa,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAI3K,YAAY,EACR,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,qDAAqD,CAAC;AAI7D,eAAO,MAAM,WAAW,mBAAmB,CAAC;AAQ5C,2EAA2E;AAC3E,qBAAa,uBAAwB,SAAQ,KAAK;;CAKjD;AAED;;;;;GAKG;AACH,qBAAa,0BAA2B,SAAQ,KAA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CAAC,MAAM,CAAC;IAmBlE,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAkBzE,mBAAmB,CAC5B,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,MAA6B,EACpC,MAAM,GAAE,MAA0B,GACnC,OAAO,CAAC,iBAAiB,EAAE,CAAC;CAQlC"}
@@ -0,0 +1,3 @@
1
+ export { TELEMETRY_SVC, TelemetryService } from "./telemetry.service";
2
+ export { JsonRPCRequest, JsonRPCResponse, JsonRPCService } from "./jsonRPC.service";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/telemetry/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,25 @@
1
+ export declare class JsonRPCRequest {
2
+ method: string;
3
+ params?: any;
4
+ id?: string;
5
+ jsonrpc: string;
6
+ static createFromJSONString(jsonString: string): JsonRPCRequest;
7
+ constructor(method: string, params?: any, id?: string);
8
+ json(): string;
9
+ get service(): string | undefined;
10
+ get action(): string | undefined;
11
+ }
12
+ export declare class JsonRPCResponse {
13
+ result: any;
14
+ id: string;
15
+ jsonrpc: string;
16
+ constructor(result: any, id: string);
17
+ json(): string;
18
+ }
19
+ export declare class JsonRPCService {
20
+ private static _instance?;
21
+ static getInstance(): JsonRPCService;
22
+ createRequest(method: string, params?: any): JsonRPCRequest;
23
+ createNotification(method: string, params?: any): JsonRPCRequest;
24
+ }
25
+ //# sourceMappingURL=jsonRPC.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonRPC.service.d.ts","sourceRoot":"","sources":["../../../src/services/telemetry/jsonRPC.service.ts"],"names":[],"mappings":"AAAA,qBAAa,cAAc;IAOG,MAAM,EAAE,MAAM;IAAS,MAAM,CAAC,EAAE,GAAG;IAAS,EAAE,CAAC,EAAE,MAAM;IAN1E,OAAO,EAAE,MAAM,CAAS;WACjB,oBAAoB,CAAC,UAAU,EAAE,MAAM;gBAK3B,MAAM,EAAE,MAAM,EAAS,MAAM,CAAC,EAAE,GAAG,EAAS,EAAE,CAAC,EAAE,MAAM;IAC1E,IAAI,IAAI,MAAM;IAErB,IAAW,OAAO,IAAI,MAAM,GAAG,SAAS,CAAmD;IAC3F,IAAW,MAAM,IAAI,MAAM,GAAG,SAAS,CAAmD;CAC7F;AAED,qBAAa,eAAe;IAEE,MAAM,EAAE,GAAG;IAAS,EAAE,EAAE,MAAM;IADjD,OAAO,EAAE,MAAM,CAAS;gBACL,MAAM,EAAE,GAAG,EAAS,EAAE,EAAE,MAAM;IACjD,IAAI,IAAI,MAAM;CACxB;AAED,qBAAa,cAAc;IACvB,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAAiB;WAE5B,WAAW,IAAI,cAAc;IAMpC,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,cAAc;IAK3D,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,cAAc;CAG1E"}
@@ -0,0 +1,22 @@
1
+ import type { LogEntry } from "../../models";
2
+ import { Service } from "../service";
3
+ export declare const TELEMETRY_SVC = "TelemetryService";
4
+ export declare class TelemetryService extends Service {
5
+ static getInstance(): TelemetryService;
6
+ static build(): TelemetryService;
7
+ private constructor();
8
+ private supervisedServices;
9
+ private loggerService;
10
+ private dataChannelService;
11
+ private subscription;
12
+ private dataChannelSubscription?;
13
+ private promiseQueue;
14
+ private dataChannel?;
15
+ addSupervisedService(name: string, service: Service): void;
16
+ start(): Promise<void>;
17
+ stop(): Promise<void>;
18
+ handleLogEntry(logEntry: LogEntry): Promise<void>;
19
+ private subscribeToDataChannelEvents;
20
+ private handleRPCmessage;
21
+ }
22
+ //# sourceMappingURL=telemetry.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry.service.d.ts","sourceRoot":"","sources":["../../../src/services/telemetry/telemetry.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAe,QAAQ,EAAW,MAAM,cAAc,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAOrC,eAAO,MAAM,aAAa,qBAAqB,CAAC;AAEhD,qBAAa,gBAAiB,SAAQ,OAAO;WAC3B,WAAW;WACX,KAAK;IACnB,OAAO;IACP,OAAO,CAAC,kBAAkB,CAA2B;IAErD,OAAO,CAAC,aAAa,CAA+B;IACpD,OAAO,CAAC,kBAAkB,CAAuC;IACjE,OAAO,CAAC,YAAY,CAAoC;IACxD,OAAO,CAAC,uBAAuB,CAAC,CAAe;IAC/C,OAAO,CAAC,YAAY,CAAyB;IAC7C,OAAO,CAAC,WAAW,CAAC,CAAc;IAE3B,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO;IAI7C,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IA0BtB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAMrB,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAK9D,OAAO,CAAC,4BAA4B;YA0BtB,gBAAgB;CAgBjC"}
@@ -0,0 +1,4 @@
1
+ export { TelephonyService, TELEPHONY_SVC } from "./telephony.service";
2
+ export type { TelephonyServiceSipWise } from "./telephonySipWise.service";
3
+ export { TELEPHONY_SVC_SIP_WISE } from "./telephonySipWise.service";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/telephony/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEtE,YAAY,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,277 @@
1
+ import type { Subscription } from "rxjs";
2
+ import { Subject } from "rxjs";
3
+ import { ContactService } from "../../services/core/contact.service";
4
+ import type { Contact } from "../../models/contact.model";
5
+ import { Service } from "../../services/service";
6
+ import type { CallRB } from "../../models/call.model";
7
+ import type { ConversationRB } from "../../models/conversation.model";
8
+ export declare const SUPERVISION_SVC = "SupervisionService";
9
+ export declare const SUPERVISION_CELL_ORDER_CUSTOM_DATA_KEY = "supervisionCellOrder";
10
+ export interface SupervisionGroupMember {
11
+ userId: string;
12
+ roles: string[];
13
+ inOutPermission: string;
14
+ status: string;
15
+ isDelegationEnabled: boolean;
16
+ }
17
+ export interface SupervisionGroup {
18
+ id: string;
19
+ name: string;
20
+ type: string;
21
+ isEmptyAllowed: boolean;
22
+ members: SupervisionGroupMember[];
23
+ supervisorUsers: string[];
24
+ supervisedUsers: string[];
25
+ supervisorUserContacts: Contact[];
26
+ supervisedUserContacts: Contact[];
27
+ isMyRoleSupervisor: boolean;
28
+ isMyRoleSupervisorAdmin: boolean;
29
+ isMyRoleSupervised: boolean;
30
+ avatar: string;
31
+ nbIncomingRingingCalls: number;
32
+ }
33
+ export interface CallInfo {
34
+ callId: string;
35
+ callState: string;
36
+ callerNumber: string;
37
+ callerName: string;
38
+ callType?: string;
39
+ callerJid?: string;
40
+ resource?: string;
41
+ media?: string;
42
+ type?: string;
43
+ notified?: boolean;
44
+ sid?: string;
45
+ deviceId?: string;
46
+ legType?: string;
47
+ }
48
+ export interface RingingSupervisedCall {
49
+ callInfo: CallInfo;
50
+ supervisedContact: Contact;
51
+ groupsAvatars: string[];
52
+ groupsNames: string[];
53
+ groupsIds: string[];
54
+ }
55
+ export interface SupervisionSettings {
56
+ disableSupervisionCallNotificationsOnMobiles: boolean;
57
+ }
58
+ export declare class SupervisionService extends Service {
59
+ /**
60
+ * @public
61
+ * @event ON_SUPERVISOR_ROLE_UPDATED
62
+ * @description This RB event is sent when the user supervisor role has changed.
63
+ */
64
+ static ON_SUPERVISOR_ROLE_UPDATED: string;
65
+ /**
66
+ * @public
67
+ * @event ON_SUPERVISION_CONVERSATIONS_UPDATED
68
+ * @param {string} state the global state for the supervision
69
+ * @param {CallInfo[]} callInfos [optional] the information for all calls currently in supervision (could be empty)
70
+ * @description This RB event is sent when there's update on the supervision conversation (for call shift)
71
+ */
72
+ static ON_SUPERVISION_CONVERSATIONS_UPDATED: string;
73
+ /**
74
+ * @public
75
+ * @event ON_SUPERVISION_RINGING_CONTACTS_UPDATED
76
+ * @param {RingingSupervisedCall[]} ringingSupervisedCallList array of ringing calls on supervised contacts
77
+ * @description This RB event is sent when there's update on the ringing calls on supervised contact's array
78
+ */
79
+ static ON_SUPERVISION_RINGING_CONTACTS_UPDATED: string;
80
+ /**
81
+ * @public
82
+ * @event ON_SUPERVISION_RINGING_SUPERVISED_CALL_CREATED
83
+ * @param {RingingSupervisedCall} ringingSupervisedCall new ringing call on a supervised contact
84
+ * @description This RB event is sent when there's a new ringing call on a supervised contact
85
+ */
86
+ static ON_SUPERVISION_RINGING_SUPERVISED_CALL_CREATED: string;
87
+ /**
88
+ * @public
89
+ * @event ON_SUPERVISION_RINGING_SUPERVISED_CALL_REMOVED
90
+ * @param {RingingSupervisedCall} ringingSupervisedCall removed ringing call on supervised contact
91
+ * @description This RB event is sent when a ringing call stops ringing on a supervised contact
92
+ */
93
+ static ON_SUPERVISION_RINGING_SUPERVISED_CALL_REMOVED: string;
94
+ started: boolean;
95
+ private mainService;
96
+ private xmppService;
97
+ private logger;
98
+ private authService;
99
+ private errorHelperService;
100
+ private telephonyService;
101
+ private webrtcGatewayService;
102
+ private personalRoutinesService;
103
+ private userInfoService;
104
+ private profileService;
105
+ private webrtcService;
106
+ private conversationService;
107
+ private settingsService;
108
+ private webConferenceService;
109
+ private portalURL;
110
+ private xmppHandlers;
111
+ private selectedGroupId;
112
+ private _consoleViewFilter;
113
+ private subscriptions;
114
+ private seqNum;
115
+ supervisionSubject: Subject<any>;
116
+ mySupervisedCalls: {};
117
+ private supervisionSettings;
118
+ private supervisionGroups;
119
+ private ringingSupervisedCallList;
120
+ private isMyRoleManager;
121
+ private isMyRoleAssistant;
122
+ private lastPickupDate;
123
+ private oxePickupPrefix;
124
+ private transferRemotePartyNumbers;
125
+ private hybridCallShiftAllowed;
126
+ private lastMySupervisionMessageSent;
127
+ private mySupervisionTimer;
128
+ private pendingCellOrderReorders;
129
+ private cellOrderWriteQueue;
130
+ static getInstance(): SupervisionService;
131
+ static build(): SupervisionService;
132
+ protected contactService: ContactService;
133
+ private constructor();
134
+ start(): void;
135
+ stop(): void;
136
+ reconnect(): any;
137
+ private attachListeners;
138
+ subscribe(handler: any, eventNames?: string | string[]): Subscription;
139
+ sendEvent(eventName: string, detail?: any): void;
140
+ get consoleViewFilter(): string;
141
+ set consoleViewFilter(filter: string);
142
+ private handleNewCallConversation;
143
+ sendSupervisionUpdateMessage(fullJid?: string): void;
144
+ private calculateSupervisionState;
145
+ private sendSnapshotToOtherResources;
146
+ private sendSnapshotToResource;
147
+ private onSupervisionSnapshotMessage;
148
+ makeCallShift(conversation: ConversationRB): Promise<void>;
149
+ private initSupervisionData;
150
+ private computeMyManagerAssistantRole;
151
+ private buildInitials;
152
+ getSupervisionGroups(init?: boolean): Promise<SupervisionGroup[]>;
153
+ getSupervisionGroupsMutualAid(): Promise<SupervisionGroup[]>;
154
+ getSupervisionGroup(groupId: string): Promise<SupervisionGroup>;
155
+ private getSupervisedUsers;
156
+ private getSupervisedUsersPaginated;
157
+ private loadOxePickupPrefix;
158
+ hasOxePickupPrefix(): boolean;
159
+ pickupCall(contact: Contact, callId?: string): Promise<void>;
160
+ private delay;
161
+ private waitActiveCall;
162
+ private storePendingPickup;
163
+ private removePendingPickup;
164
+ setSelectedGroupId(id: string): void;
165
+ getSelectedGroupId(): string;
166
+ initializeSupervisionSettings(): Promise<SupervisionSettings>;
167
+ updateSupervisionSettings(disableSupervisionCallNotificationsOnMobiles: boolean): Promise<SupervisionSettings>;
168
+ getSupervisionSettings(): SupervisionSettings;
169
+ private addOrUpdateSupervisionGroup;
170
+ private removeSupervisionGroup;
171
+ private removeMySelfFromMembers;
172
+ private checkAndRevokeSupervisorRole;
173
+ private updateSupervisionGroupName;
174
+ private updateSupervisionEmptyGroupAllowed;
175
+ private removeUserFromGroup;
176
+ private updateGroupMember;
177
+ private onSupervisionManagement;
178
+ private cleanSupervisedCallsForSupervisorGroup;
179
+ private cleanSupervisedCallsForSupervisedUser;
180
+ private resetSupervisionDataForSupervisedUserIfNecessary;
181
+ private removeGroupItemsForCalls;
182
+ private removeSupervisedCallsHavingNoGroupIds;
183
+ /**
184
+ * Method onSupervisionMessage
185
+ * @private
186
+ * @memberof SupervisionService
187
+ * Handler of supervision messages
188
+ * @param {any} stanza the xmpp event stanza
189
+ * @returns {boolean} true when event handling completed
190
+ */
191
+ private onSupervisionMessage;
192
+ private handleSupervisionElement;
193
+ notifySupervisionState(userFullJidTel: string, state: string, device: string, callInfos: CallInfo[]): void;
194
+ notifySupervisionCallUpdate(userFullJidTel: string, callInfos: CallInfo[]): void;
195
+ notifySupervisionVoiceForwardImm(userFullJidTel: string, activate: boolean, destinationType: string, destinationName: string): void;
196
+ notifySupervisionHybridForward(userFullJidTel: string, forwardType: string, pbxForwardType: string, forwardTo: string): void;
197
+ notifySupervisionRoutineActive(userFullJidTel: string, routineId: string): void;
198
+ notifySupervisionRoutineListModified(userFullJidTel: string): Promise<void>;
199
+ getRingingSupervisedCallList(): RingingSupervisedCall[];
200
+ private onMyUserSupervisionCallsUpdated;
201
+ setGroupLoginStatus(groupId: string, userId: string, logged: boolean): Promise<void>;
202
+ existManagerAssistantGroup(): boolean;
203
+ isMyselfManagerOrAssistant(): boolean;
204
+ isMyselfManager(): boolean;
205
+ isMyselfAssistant(): boolean;
206
+ isUserMyManager(userId: string): boolean;
207
+ setGroupManagerCallDelegation(groupId: string, managerId: string, activated: boolean): Promise<void>;
208
+ assistantJoinAllManagerAssistantGroups(): Promise<void>;
209
+ assistantLeaveAllManagerAssistantGroups(): Promise<void>;
210
+ isManagerCallDelegationEnabled(): boolean;
211
+ existIncomingCallToSupervisedManager(): boolean;
212
+ isCallFromAssistant(call: CallRB): boolean;
213
+ isCallTransferredByAssistant(call: CallRB): boolean;
214
+ storeTransferRemotePartyNumber(phoneNumber: string): void;
215
+ private removeRemotePartyTransfer;
216
+ isRemotePartyTransferred(phoneNumber: string): boolean;
217
+ /**
218
+ * Sorts group.supervisedUserContacts alphabetically by displayName, in place. This is the
219
+ * base/fallback order shown before any user-driven custom order (drag&drop/moveUp-moveDown)
220
+ * is applied by getOrderedSupervisedUserContacts() -- and is also what the "searchResults"
221
+ * aggregate view in the Attendant Console displays directly (it doesn't go through
222
+ * getOrderedSupervisedUserContacts()), so sorting is done once here at the source rather
223
+ * than only at read time.
224
+ * Scoped to "default" and "mutual_aid" groups only, per CRRAINB-52626 -- "manager_assistant"
225
+ * groups are excluded (backend request only covers the supervised-member list of these two
226
+ * types; manager_assistant typically has a single supervised manager, nothing to sort).
227
+ */
228
+ private sortSupervisedUserContactsByDisplayName;
229
+ /**
230
+ * Returns group.supervisedUserContacts reordered according to the user's persisted
231
+ * custom order for this group (Contact.customData["supervisionCellOrder"]), if any.
232
+ * - dbIds present in the stored order are placed first, in that order.
233
+ * - stored dbIds no longer present in the group (removed by admin) are dropped from the
234
+ * display AND pruned from the persisted order in the background, so a removed user's
235
+ * remembered position isn't kept forever -- if later re-added, they come back as a
236
+ * "new" member (appended at the end) rather than snapping back to their old spot.
237
+ * - group members absent from the stored order are appended at the end, in their
238
+ * current (server-provided) order.
239
+ * Never throws: on any parsing error, returns group.supervisedUserContacts unchanged.
240
+ */
241
+ getOrderedSupervisedUserContacts(group: SupervisionGroup): Contact[];
242
+ /**
243
+ * Persists the user's custom cell order for one supervision group.
244
+ * Rapid successive calls for the same group are debounced (only the latest order is
245
+ * written); writes across groups are strictly serialized to avoid a read-modify-write
246
+ * race on the whole customData object. Never rejects with an overflow condition --
247
+ * resolves `false` instead (caller should notify the user without treating it as a
248
+ * network failure). A genuine PUT failure rejects, after rolling back the local value.
249
+ */
250
+ reorderSupervisedUsers(groupId: string, orderedDbIds: string[]): Promise<boolean>;
251
+ private readSupervisionCellOrderMap;
252
+ private enqueueSupervisedUserOrderWrite;
253
+ /**
254
+ * Serializes an async customData["supervisionCellOrder"] read-modify-write against any other
255
+ * pending one (user-triggered reorder, prune, ...) so two writes never race on the whole
256
+ * customData object.
257
+ */
258
+ private enqueueCellOrderWrite;
259
+ private setSupervisedUserOrder;
260
+ /**
261
+ * Best-effort background cleanup of customData["supervisionCellOrder"] entries for groups the
262
+ * user no longer supervises (removed as supervisor, or the group itself was deleted) -- these
263
+ * are never visited again by getOrderedSupervisedUserContacts(), so nothing else would ever
264
+ * prune them. Called once per initSupervisionData(), the only place with the full up-to-date
265
+ * list of currently-supervised groups.
266
+ */
267
+ private pruneObsoleteGroupOrders;
268
+ /**
269
+ * Live-update counterpart of pruneObsoleteGroupOrders(): prunes ONE group's persisted custom
270
+ * order as soon as a real-time event (addOrUpdateSupervisionGroup, removeMySelfFromMembers,
271
+ * removeSupervisionGroup) reveals the user is no longer its supervisor -- without waiting for
272
+ * the next full initSupervisionData() sweep. No-op if still supervisor, or if nothing is stored
273
+ * for this group.
274
+ */
275
+ private pruneGroupOrderIfNoLongerSupervisor;
276
+ }
277
+ //# sourceMappingURL=supervision.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supervision.service.d.ts","sourceRoot":"","sources":["../../../src/services/telephony/supervision.service.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,OAAO,EAAU,MAAM,MAAM,CAAC;AAEvC,OAAO,EAAE,cAAc,EAA6B,MAAM,oDAAoD,CAAC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