@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,1271 @@
1
+ /**
2
+ * @module Calls
3
+ */
4
+ import type { Subscription } from "rxjs";
5
+ import { RBEvent } from "./event.model";
6
+ import type { Conversation } from "./conversation.model";
7
+ import { ContextMap } from "./common";
8
+ import type { User } from "./user.model";
9
+ import type { Contact } from "./contact.model";
10
+ /**
11
+ * Call events send to other services
12
+ * Can listen to it via `Call.subscribe()` API.
13
+ */
14
+ export declare enum CallEvents {
15
+ /**
16
+ * @eventProperty
17
+ * This `RBEvent` is sent when the call capabilities have been updated.<br>
18
+ * The new call capabilities can be retrieved via the 'capabilities' property.
19
+ */
20
+ ON_CALL_CAPABILITIES_UPDATED = "ON_CALL_CAPABILITIES_UPDATED",
21
+ /**
22
+ * @eventProperty
23
+ * This `RBEvent` is sent when the status of the call (from a telephone point of view) has changed.<br>
24
+ * The new call status can be retrieved via the 'callStatus' property.
25
+ */
26
+ ON_CALL_STATUS_CHANGE = "ON_CALL_STATUS_CHANGE",
27
+ /**
28
+ * @eventProperty
29
+ * This `RBEvent` is sent when the status of the mute of the call (On or Off) has changed.<br>
30
+ * The new mute status can be retrieved via the 'isMuted' property.
31
+ */
32
+ ON_CALL_MUTE_CHANGE = "ON_CALL_MUTE_CHANGE",
33
+ /**
34
+ * @eventProperty
35
+ * This `RBEvent` is sent when during a call, the network quality has changed.
36
+ *
37
+ * **Event Data**
38
+ * - **data**: The current network quality for the call
39
+ */
40
+ ON_CALL_NETWORK_QUALITY_CHANGE = "ON_CALL_NETWORK_QUALITY_CHANGE",
41
+ /**
42
+ * @internal
43
+ * @eventProperty
44
+ * This `RBEvent` is sent when a bad network quality has been detected.<br>
45
+ * The detection is currently done by Web Client component, based on internal WebClient criteria for UI purpose.
46
+ *
47
+ * **Event Data**
48
+ * - **data**: The current network quality for the call
49
+ */
50
+ ON_CALL_NETWORK_BAD_QUALITY = "ON_CALL_NETWORK_BAD_QUALITY",
51
+ /**
52
+ * @eventProperty
53
+ * This `RBEvent` is sent when there have been changes in the media used by the local or the remote user.<br>
54
+ * By change we mean the addition or removal of a media (Video/Sharing) for the current call.
55
+ */
56
+ ON_CALL_MEDIA_UPDATED = "ON_CALL_MEDIA_UPDATED",
57
+ /**
58
+ * @eventProperty
59
+ * This `RBEvent` is sent when when the call has evolved and as a result some of its properties, such as its status, have been updated.
60
+ */
61
+ ON_CALL_UPDATED_EVENT = "ON_CALL_UPDATED_EVENT",
62
+ /**
63
+ * @eventProperty
64
+ * This `RBEvent` is sent when the distant party has started / stopped the recording of the call; Only available for direct P2P calls with Rainbow user
65
+ */
66
+ ON_CALL_REMOTE_RECORDING_UPDATE = "ON_CALL_REMOTE_RECORDING_UPDATE",
67
+ /**
68
+ * @eventProperty
69
+ * This `RBEvent` is sent when the call recorder state change
70
+ * **Event Data**
71
+ * - **callRecorderState**: The new CallRecorderState of the call
72
+ */
73
+ ON_CALL_RECORDING_UPDATE = "ON_CALL_RECORDING_UPDATE"
74
+ }
75
+ /**
76
+ * Media type available in a P2P call.<br>
77
+ * Media can be combined within the same call, e.g. for a video call, both audio and video media will be used.
78
+ */
79
+ export declare enum MediaType {
80
+ /**
81
+ * Audio
82
+ */
83
+ AUDIO = "audio",
84
+ /**
85
+ * Video
86
+ */
87
+ VIDEO = "video",
88
+ /**
89
+ * Screen Sharing
90
+ */
91
+ SHARING = "sharing"
92
+ }
93
+ /**
94
+ * Type of call managed for a P2P communication.
95
+ */
96
+ export declare enum CallType {
97
+ /**
98
+ * Webrtc call
99
+ */
100
+ WEBRTC = 1,
101
+ /**
102
+ * Phone call
103
+ */
104
+ PHONE = 2
105
+ }
106
+ /**
107
+ * The possible status of the call (e.g. dialing, active, releasing...)
108
+ */
109
+ export declare enum CallStatus {
110
+ /**
111
+ * Active call
112
+ */
113
+ ACTIVE = "ACTIVE",
114
+ /**
115
+ * Call Cleared
116
+ */
117
+ ENDED = "ENDED",
118
+ /**
119
+ * In dialing
120
+ */
121
+ DIALING = "DIALING",
122
+ /**
123
+ * In queue (user side)
124
+ */
125
+ QUEUED_INCOMMING = "QUEUED_INCOMMING",
126
+ /**
127
+ * In queue (recipient side)
128
+ */
129
+ QUEUED_OUTGOING = "QUEUED_OUTGOING",
130
+ /**
131
+ * Call in ringing (user side)
132
+ */
133
+ RINGING_INCOMMING = "RINGING_INCOMMING",
134
+ /**
135
+ * Call in ringing (recipient side)
136
+ */
137
+ RINGING_OUTGOING = "RINGING_OUTGOING",
138
+ /**
139
+ * Call on hold by local party
140
+ */
141
+ HOLD = "HOLD",
142
+ /**
143
+ * Call put on hold by the distant party
144
+ */
145
+ PUT_ON_HOLD = "PUT_ON_HOLD",
146
+ /**
147
+ * Call is clearing
148
+ */
149
+ RELEASING = "RELEASING",
150
+ /**
151
+ * Call is being answered
152
+ */
153
+ ANSWERING = "ANSWERING",
154
+ /**
155
+ * Trying to connect / reconnect the call
156
+ */
157
+ CONNECTING = "CONNECTING",
158
+ /**
159
+ * Call error
160
+ */
161
+ ERROR = "ERROR"
162
+ }
163
+ /**
164
+ * Call direction
165
+ */
166
+ export declare enum CallDirection {
167
+ /**
168
+ * Default initial value.
169
+ */
170
+ UNDEFINED = "",
171
+ /**
172
+ * Incoming call.<br>
173
+ * Call in which the connected user is the call recipient.
174
+ */
175
+ INCOMING = "incoming",
176
+ /**
177
+ * Outgoing call.<br>
178
+ * Call in which the connected user initiates the call.
179
+ */
180
+ OUTGOING = "outgoing"
181
+ }
182
+ /**
183
+ * Call Redirection cause
184
+ */
185
+ export declare enum CallRedirectionCause {
186
+ /**
187
+ * Default initial value.
188
+ */
189
+ UNDEFINED = "",
190
+ /**
191
+ * The call has been forwarded.
192
+ */
193
+ FORWARDED = "forwarded",
194
+ /**
195
+ * The call is a group call : it is redirected by the group number to the group member.
196
+ */
197
+ HUNTGROUP = "hg"
198
+ }
199
+ /**
200
+ * @internal
201
+ * Media used by the local or the remote party of a WebRTC or PBX call
202
+ */
203
+ export declare const CallMedia: {
204
+ /**
205
+ * No media
206
+ */
207
+ readonly NONE: 0;
208
+ /**
209
+ * WebRTC audio call
210
+ */
211
+ readonly AUDIO: 1;
212
+ /**
213
+ * WebRTC audio and video call
214
+ */
215
+ readonly VIDEO: 2;
216
+ /**
217
+ * Telephony call (PBX) call
218
+ */
219
+ readonly PHONE: 4;
220
+ /**
221
+ * Screen Sharing
222
+ */
223
+ readonly SHARING: 8;
224
+ };
225
+ /**
226
+ * For a call, indicates for each managed media whether it is in use or not.
227
+ */
228
+ export interface CallMedias {
229
+ /**
230
+ * Indicates if the audio stream is used in the call.
231
+ */
232
+ audio?: boolean;
233
+ /**
234
+ * Indicates if the video stream is used in the call.<br>
235
+ * This stream is active for example when using a camera.
236
+ */
237
+ video?: boolean;
238
+ /**
239
+ * Indicates if the sharing stream is used in the call.<br>
240
+ * This stream is used for example when sharing a browser tab, a window or the entire screen.
241
+ */
242
+ sharing?: boolean;
243
+ }
244
+ /**
245
+ * Data associated with the destination of a call.
246
+ */
247
+ export interface CallDestination {
248
+ /**
249
+ * Peer object related to the Call destination.<br>
250
+ * If the call destination is a Rainbow user, the object is an instance of User.
251
+ */
252
+ user?: User;
253
+ /**
254
+ * Phone number to be used for the call destination.<br>
255
+ * This can be a telephone number associated with the Rainbow user profile.<br>
256
+ * Or in the case of an external destination, a public PSTN number.
257
+ */
258
+ phoneNumber?: string;
259
+ /**
260
+ * Phone number country.<br>
261
+ * This information is only relevant if the destination is external.<br>
262
+ * If not indicated, the caller's country is taken into account.
263
+ */
264
+ country?: string;
265
+ }
266
+ /**
267
+ * Data associated with the initial called party
268
+ */
269
+ export interface CalledParty {
270
+ /**
271
+ * Pbx call's initial called number
272
+ * @readonly
273
+ */
274
+ phoneNumber: string;
275
+ /**
276
+ * Pbx call's initial called display name
277
+ * @readonly
278
+ */
279
+ displayName: string;
280
+ /**
281
+ * Pbx call's initial called lastname
282
+ * @readonly
283
+ */
284
+ lastName: string;
285
+ /**
286
+ * Pbx call's initial called firstname
287
+ * @readonly
288
+ */
289
+ firstName: string;
290
+ /**
291
+ * Pbx call's initial called Jabber identifier
292
+ * @readonly
293
+ */
294
+ jid: string;
295
+ /**
296
+ * Pbx call's initial called role : "called" for forwarded calls / "called_group" for group calls
297
+ * @readonly
298
+ */
299
+ role: string;
300
+ }
301
+ /**
302
+ * Call capabilities representing all the actions that could be done for the call given the state
303
+ */
304
+ export interface CallCapabilities {
305
+ /**
306
+ * Indicates if the incoming call can be answered.
307
+ * @readonly
308
+ */
309
+ answer: boolean;
310
+ /**
311
+ * Indicates if the call can be released / ended / declined.
312
+ * @readonly
313
+ */
314
+ release: boolean;
315
+ /**
316
+ * Indicates if we can deflect the incoming call to the VoiceMail.<br>
317
+ * Only available for HYBRID systems (for Cloud telephony, the release action will follow the system/user configuration)
318
+ * @readonly
319
+ */
320
+ deflectToVoicemail: boolean;
321
+ /**
322
+ * Indicates if we can deflect the incoming call to a phone number.<br>
323
+ * The possible destinations numbers for call deflection are available in the 'deflectPhoneNumberDestinations' data.
324
+ * @readonly
325
+ */
326
+ deflectToPhoneNumber: boolean;
327
+ /**
328
+ * The list of phone numbers where we can deflect the call
329
+ * @readonly
330
+ */
331
+ deflectPhoneNumberDestinations: [{
332
+ id: string;
333
+ number: string;
334
+ }?];
335
+ /**
336
+ * Indicates if we can mute the call
337
+ * @readonly
338
+ */
339
+ mute: boolean;
340
+ /**
341
+ * Indicates if we can unmute the call
342
+ * @readonly
343
+ */
344
+ unmute: boolean;
345
+ /**
346
+ * Indicates if we can add the audio media to the call.<br>
347
+ * This could happen if there's no audio, for example in case of sharing only call.
348
+ * @readonly
349
+ */
350
+ addAudio: boolean;
351
+ /**
352
+ * Indicates if we can add the video media to the call.
353
+ * @readonly
354
+ */
355
+ addVideo: boolean;
356
+ /**
357
+ * Indicates if we can remove the video media from the call.
358
+ * @readonly
359
+ */
360
+ removeVideo: boolean;
361
+ /**
362
+ * Indicates if we can add the sharing media to the call.
363
+ * @readonly
364
+ */
365
+ addSharing: boolean;
366
+ /**
367
+ * Indicates if we can remove the sharing media from the call.
368
+ * @readonly
369
+ */
370
+ removeSharing: boolean;
371
+ /**
372
+ * Indicates if we can make a blind transfer of this call (transfer it to some other contact without having a call with them beforehand).<br>
373
+ * This will remove the current call, and the other party will be transferred to the other contact / number.
374
+ * @readonly
375
+ */
376
+ blindTransfer: boolean;
377
+ /**
378
+ * Indicates if we can make a conference call from the current call and one other call in progress for the current user (can be used to merge the 2 calls).<br>
379
+ * This will remove the 2 calls and create one single call (for hybride systems) or web conference.
380
+ * @readonly
381
+ */
382
+ mergeCalls: boolean;
383
+ /**
384
+ * Indicates if we can make a conference call from the current call by adding any other contact or number (that we dont have currently call with).<br>
385
+ * This will remove the current call and create a web conference call instead.
386
+ * @readonly
387
+ */
388
+ addParticipantsToCall: boolean;
389
+ /**
390
+ * Indicates if we can put the call on hold.
391
+ * @readonly
392
+ */
393
+ hold: boolean;
394
+ /**
395
+ * Indicates if we can retrieve the call (if it is on hold).
396
+ * @readonly
397
+ */
398
+ retrieve: boolean;
399
+ /**
400
+ * Indicates if we can send dtmf for the call.
401
+ * @readonly
402
+ */
403
+ dtmf: boolean;
404
+ /**
405
+ * Indicates if we can transfer the current call to the other call.<br>
406
+ * If the call is on HOLD, then the tranfer is always made towards the ACTIVE call.<br>
407
+ * Otherwise, we can transfer this call to any other call from the transferCallDestinations list.
408
+ * @readonly
409
+ */
410
+ transferToOtherCall: boolean;
411
+ /**
412
+ * The list of calls where we can transfer this call;
413
+ * @readonly
414
+ */
415
+ transferCallDestinations: Call[];
416
+ /**
417
+ * Indicates whether recording can be started for this call
418
+ */
419
+ startRecording: boolean;
420
+ /**
421
+ * Indicates whether recording can be stopped for this call
422
+ */
423
+ stopRecording: boolean;
424
+ /**
425
+ * Indicates whether recording can be paused for this call
426
+ */
427
+ pauseRecording: boolean;
428
+ /**
429
+ * Indicates whether recording can be resumed for this call
430
+ */
431
+ resumeRecording: boolean;
432
+ /**
433
+ * Indicates whether recording can be cancelled for this call
434
+ */
435
+ cancelRecording: boolean;
436
+ }
437
+ export interface Call {
438
+ /**
439
+ * Capabilities of the call
440
+ * @readonly
441
+ */
442
+ capabilities: CallCapabilities;
443
+ /**
444
+ * Call telephone status
445
+ * @readonly
446
+ */
447
+ callStatus: CallStatus;
448
+ /**
449
+ * The type of the call (WebRTC or Telephony)
450
+ * @readonly
451
+ */
452
+ callType: CallType;
453
+ /**
454
+ * On an incoming call, contains the subject of the call if this has been specified by the caller
455
+ * @readonly
456
+ */
457
+ subject: string;
458
+ /**
459
+ * The user reference representing the other party (as caller or callee) engaged in this call
460
+ * @readonly
461
+ */
462
+ contact: User;
463
+ /**
464
+ * Call duration in seconds
465
+ * @readonly
466
+ */
467
+ duration: number;
468
+ /**
469
+ * Call direction
470
+ * This information is relevant only for telephone (PBX) call. For WebRTC call it is undefined.
471
+ */
472
+ direction: CallDirection;
473
+ /**
474
+ * The media stream used by the local user.
475
+ * Typed as number BUT MUST follow the values defined by 'CallMedia' type or a combination thereof.
476
+ * @readonly
477
+ */
478
+ localMedias: CallMedias;
479
+ /**
480
+ * The media stream used by the remote user/party.
481
+ * Typed as number BUT MUST follow the values defined by 'CallMedia' type or a combination thereof.
482
+ * @readonly
483
+ */
484
+ remoteMedias: CallMedias;
485
+ /**
486
+ * The current mute status of the call
487
+ * @readonly
488
+ */
489
+ isMuted: boolean;
490
+ /**
491
+ * The current network quality (0 - bad, 1 - medium, 2 - good) for the call
492
+ * @readonly
493
+ */
494
+ networkQuality: number;
495
+ /**
496
+ * The original unprocessed video stream from the camera.
497
+ * This stream contains the raw video before any processing is applied, such as virtual background effects or filters.
498
+ * It is used as a reference when video effects need to be applied or removed during the call.
499
+ * @internal
500
+ */
501
+ originalStream: MediaStream | null;
502
+ /**
503
+ * Strongly-typed heterogeneous map for attaching UI or app-layer state to the call
504
+ * without polluting the SDK model with presentation concerns.
505
+ * Keys must be created via `makeContext<T>()` in the consumer layer.
506
+ * @internal
507
+ */
508
+ context: ContextMap;
509
+ /**
510
+ * Subscribe to updates on the current call (all events are of RBEvent<CallEvents>
511
+ * @param callback - The callback function that will be called when events are received
512
+ * @param eventNames - (optional) array of event to listen
513
+ * @returns Returns RxJS Subscription
514
+ */
515
+ subscribe: (callback: (event: RBEvent<CallEvents>) => any, eventNames?: CallEvents | CallEvents[]) => Subscription;
516
+ /**
517
+ * Answer the current incoming call.<br>
518
+ * This feature can be used only if the "answer" call capability is 'True'.<br>
519
+ * By default, the answer is done with AUDIO only.<br>
520
+ * If the 'withVideo' option is set to 'True' and the incoming call contains video, the answer will directly be done with audio and video.
521
+ * @param withVideo - Option to answer the call directly with audio and video. Default value is 'False'
522
+ */
523
+ answer: (withVideo?: boolean) => Promise<void>;
524
+ /**
525
+ * Release the current call.<br>
526
+ * This method allows to decline an incoming call or stop an outgoing call.<br>
527
+ * This feature can be used only if the "release" call capability is 'True'.
528
+ */
529
+ release: () => Promise<void>;
530
+ /**
531
+ * Put on hold the current call.<br>
532
+ * This feature can be used only if the "hold" call capability is 'True'.
533
+ */
534
+ hold: () => Promise<void>;
535
+ /**
536
+ * Retrieve from hold the current call.<br>
537
+ * This feature can be used only if the "retrieve" call capability is 'True'.
538
+ */
539
+ retrieve: () => Promise<void>;
540
+ /**
541
+ * Mute the current call.<br>
542
+ * This feature can be used only if the "mute" call capability is 'True'.
543
+ */
544
+ mute: () => void;
545
+ /**
546
+ * Unmute the current call.<br>
547
+ * This feature can be used only if the "unmute" call capability is 'True'.
548
+ */
549
+ unmute: () => void;
550
+ /**
551
+ * Send DTMF signal to the current call.<br>
552
+ * This feature can be used only if the "dtmf" call capability is 'True'.
553
+ * @param dialKey - The DTMF character sequences to be send
554
+ * Only the following characters are authorised: the ten single digits (0..9), the letters (a,b,c,d), the asterisk (*) and the pound sign (#).
555
+ */
556
+ sendDTMF: (dialKey: string) => void;
557
+ /**
558
+ * Add the AUDIO media to the current call.<br>
559
+ * This feature can be used only if the "addAudio" call capability is 'True' and available only for WebRTC Calls.
560
+ */
561
+ addAudio: () => Promise<void>;
562
+ /**
563
+ * Add the VIDEO media to the current call.<br>
564
+ * This feature can be used only if the "addVideo" call capability is 'True' and available only for WebRTC Calls.
565
+ */
566
+ addVideo: () => Promise<void>;
567
+ /**
568
+ * Add the SHARING media to the current call.<br>
569
+ * This feature can be used only if the "addSharing" call capability is 'True' and available only for WebRTC Calls.
570
+ */
571
+ addSharing: () => Promise<void>;
572
+ /**
573
+ * Remove the VIDEO media from the current call.<br>
574
+ * This feature can be used only if the "removeVideo" call capability is 'True' and available only for WebRTC Calls.
575
+ */
576
+ removeVideo: () => Promise<void>;
577
+ /**
578
+ * Remove the SHARING media from the current call.<br>
579
+ * This feature can be used only if the "removeSharing" call capability is 'True' and available only for WebRTC Calls.
580
+ */
581
+ removeSharing: () => Promise<void>;
582
+ /**
583
+ * Add participants to the current call.<br>
584
+ * This feature can be used only if the "addParticipantsToCall" call capability is 'True'.<br>
585
+ * The participants could be other Rainbow users or phone numbers (if the PBX system supports it).<br>
586
+ * This will result in a new conversation being created with web conference inside. The active call will be "transferred" to the bubble conference;
587
+ * @param participants - The list of participants to be added to the call
588
+ * @returns The new bubble conversation where the web conference is active
589
+ */
590
+ addParticipantsToCall: (participants: CallDestination[]) => Promise<Conversation>;
591
+ /**
592
+ * Create a conference from 2 calls, including the current call.
593
+ * This will lead to the creation of either a web conference (managed via a Rainbow bubble) or a pure telephone conference (managed by a PBX system).
594
+ * In the first case, a new conversation is created with the web conference inside. The two calls will be "transferred" to the bubble conference.
595
+ * In the second case, a new 'conference' type conversation is created. This applies only with a Rainbow Hybrid (OXO or OXE) telephone system.
596
+ * This feature can be used only if the "mergeCalls" call capability is 'True'.
597
+ * @returns The new conversation or null depending on the type of conference created
598
+ */
599
+ activateConference: () => Promise<Conversation | undefined>;
600
+ /**
601
+ * Blind transfer the current call another destination which could be any rainbow user or phone number.<br>
602
+ * A blind transfer is when you transfer a call directly to another party without consulting with the person receiving the call.<br>
603
+ * In other words, there is no need to call the other party to make the transfer.<br>
604
+ * This feature is available only if the connected user is behind a Rainbow Hub telephone system.
605
+ * @param destination - The destination of the blind transfer
606
+ */
607
+ blindTransfer: (destination: CallDestination) => Promise<void>;
608
+ /**
609
+ * Deflect the current incoming call to the voice mail.<br>
610
+ * This feature can be used only if the "deflectToVoicemail" call capability is 'True'.<br>
611
+ * The 'deflect to voice mail' is only available on HYBRID telephony systems.<br>
612
+ * For Cloud telephony systems, the release call will follow the user configuration (which could be deflect or other).
613
+ */
614
+ deflectToVoicemail: () => Promise<void>;
615
+ /**
616
+ * Deflect (redirect) the current incoming call to the specified phone number.<br>
617
+ * This feature can be used only if the "deflectToPhoneNumber" call capability is 'True'.<br>
618
+ * The list of phone numbers where we can deflect the incoming call is available in the 'deflectPhoneNumberDestinations' call capability.
619
+ * @param number - The phone number the call will be deflected to.
620
+ */
621
+ deflectToPhoneNumber: (number: string) => Promise<void>;
622
+ /**
623
+ * Transfer the current call to another call.<br>
624
+ * If the destination call is not specified, then the transfer will be done towards the current active call.<br>
625
+ * The list of destination calls to which we can deflect the call current is available in the 'transferCallDestinations' call capability.
626
+ * @param destinationCall - The destination call to which we want to transfer the current call.
627
+ */
628
+ transferToOtherCall: (destinationCall?: Call) => Promise<void>;
629
+ /**
630
+ * Attach the local video stream to a given HTML VIDEO tag element;
631
+ * @param HtmlElementId - The ID of the HTML VIDEO tag element visible on the page
632
+ */
633
+ attachLocalVideoStream: (HtmlElementId: string) => void;
634
+ /**
635
+ * Attach the local sharing stream to a given HTML VIDEO tag element;
636
+ * @param HtmlElementId - The ID of the HTML VIDEO tag element visible on the page
637
+ */
638
+ attachLocalSharingStream: (HtmlElementId: string) => void;
639
+ /**
640
+ * Attach the remote video stream to a given HTML VIDEO tag element;
641
+ * @param HtmlElementId - The ID of the HTML VIDEO tag element visible on the page
642
+ */
643
+ attachRemoteVideoStream: (HtmlElementId: string) => void;
644
+ /**
645
+ * Attach the remote sharing stream to a given HTML VIDEO tag element;
646
+ * @param HtmlElementId - The ID of the HTML VIDEO tag element visible on the page
647
+ */
648
+ attachRemoteSharingStream: (HtmlElementId: string) => void;
649
+ /**
650
+ * @internal
651
+ */
652
+ toJSON: () => any;
653
+ /**
654
+ * This API allows the user to start the recording of the current call.
655
+ */
656
+ startRecording: () => Promise<void>;
657
+ /**
658
+ * This API allows the user to stop the recording of the current call.
659
+ */
660
+ stopRecording: () => Promise<void>;
661
+ /**
662
+ * This API allows the user to pause the recording of the current call.
663
+ */
664
+ pauseRecording: () => void;
665
+ /**
666
+ * This API allows the user to resume the recording of the current call.
667
+ */
668
+ resumeRecording: () => void;
669
+ /**
670
+ * This API allows the user to get the duration of the current call recording.
671
+ */
672
+ getRecordingDuration: () => number;
673
+ /**
674
+ * This API allows the user to cancel the recording of the current call, without downloading the recording file.
675
+ */
676
+ cancelRecording: () => void;
677
+ }
678
+ /**
679
+ * This CallRecordingState enum lists all the states a record can be in.
680
+ */
681
+ export declare enum CallRecordingState {
682
+ /**
683
+ * This 'RECORDING_IN_PROGRESS' state means that the recording is in progress.
684
+ */
685
+ RECORDING_IN_PROGRESS = "RECORDING_IN_PROGRESS",
686
+ /**
687
+ * This 'RECORDING_PAUSED' state means that the recording is on pause.
688
+ */
689
+ RECORDING_PAUSED = "RECORDING_PAUSED",
690
+ /**
691
+ * This 'RECORDING_STOPPED' state means that the recording is stopped.
692
+ */
693
+ RECORDING_STOPPED = "RECORDING_STOPPED"
694
+ }
695
+ /**
696
+ * @internal
697
+ * This class represents a call. <br>
698
+ * A call is a "short" interaction between the user and one or several contacts (Rainbow users or not) that uses either a WebRTC media (audio, video or screen sharing) or a Telephony media (PBX phone). <br>
699
+ * No Rainbow users such as external users can only be engaged into a Telephony call. <br>
700
+ * A call is always attached to a conversation.
701
+ */
702
+ export declare class CallRB implements Call {
703
+ /**
704
+ * @deprecated OBSOLETE, TO BE REMOVED WHEN DESKTOP REMOVES CODE
705
+ */
706
+ static Status: {
707
+ UNKNOWN: {
708
+ key: number;
709
+ value: string;
710
+ };
711
+ DIALING: {
712
+ key: number;
713
+ value: string;
714
+ };
715
+ QUEUED_INCOMMING: {
716
+ key: number;
717
+ value: string;
718
+ };
719
+ QUEUED_OUTGOING: {
720
+ key: number;
721
+ value: string;
722
+ };
723
+ RINGING_INCOMMING: {
724
+ key: number;
725
+ value: string;
726
+ };
727
+ RINGING_OUTGOING: {
728
+ key: number;
729
+ value: string;
730
+ };
731
+ ACTIVE: {
732
+ key: number;
733
+ value: string;
734
+ };
735
+ HOLD: {
736
+ key: number;
737
+ value: string;
738
+ };
739
+ PUT_ON_HOLD: {
740
+ key: number;
741
+ value: string;
742
+ };
743
+ RELEASING: {
744
+ key: number;
745
+ value: string;
746
+ };
747
+ ANSWERING: {
748
+ key: number;
749
+ value: string;
750
+ };
751
+ CONNECTING: {
752
+ key: number;
753
+ value: string;
754
+ };
755
+ ERROR: {
756
+ key: number;
757
+ value: string;
758
+ };
759
+ ENDED: {
760
+ key: number;
761
+ value: string;
762
+ };
763
+ };
764
+ /**
765
+ * NOT TO BE USED ANYMORE !!!! Use callStatus instead !
766
+ * @deprecated -- Use {@link callStatus} instead !
767
+ */
768
+ status: any;
769
+ /**
770
+ * @deprecated OBSOLETE, TO BE REMOVED WHEN DESKTOP REMOVES CODE
771
+ */
772
+ static Type: {
773
+ /** WebRTC call */
774
+ WEBRTC: {
775
+ key: number;
776
+ value: string;
777
+ };
778
+ /** Telephony call (from PBX) */
779
+ PHONE: {
780
+ key: number;
781
+ value: string;
782
+ };
783
+ };
784
+ /**
785
+ * @deprecated OBSOLETE, TO BE REMOVED WHEN DESKTOP REMOVES CODE
786
+ */
787
+ static Media: {
788
+ /** WebRTC audio call */
789
+ AUDIO: number;
790
+ /** WebRTC audio and video call */
791
+ VIDEO: number;
792
+ /** Telephony call (from pbx) */
793
+ PHONE: number;
794
+ /** WebRTC Screen sharing call */
795
+ SHARING: number;
796
+ };
797
+ /**
798
+ * @deprecated OBSOLETE, TO BE REMOVED WHEN DESKTOP REMOVES CODE
799
+ */
800
+ get type(): {
801
+ key: number;
802
+ value: string;
803
+ };
804
+ private conversationService;
805
+ private callService;
806
+ private callRecorderService?;
807
+ private rxSubject;
808
+ private durationTimer;
809
+ readonly context: ContextMap;
810
+ id: string;
811
+ conversationId: string;
812
+ connectionId: string;
813
+ onHold: boolean;
814
+ putOnHold: boolean;
815
+ networkQualityIteration: number;
816
+ isInExternalWindow: boolean;
817
+ externalWindowRef: any;
818
+ customCommandsRequested: any;
819
+ thirdPartyInfos: string;
820
+ private _contact?;
821
+ private _status;
822
+ private _muted;
823
+ private _capabilities;
824
+ /**
825
+ * The type of the call (WebRTC or Telephony)
826
+ */
827
+ callType: CallType;
828
+ /**
829
+ * Call duration in seconds
830
+ */
831
+ duration: number;
832
+ /**
833
+ * Call direction
834
+ * This information is relevant only for telephone (PBX) call. For WebRTC call it is undefined.
835
+ */
836
+ direction: CallDirection;
837
+ /**
838
+ * Media stream associated to the local party.
839
+ * Typed as number BUT MUST follow the values defined by CallMedia type or a combination thereof.
840
+ */
841
+ localMedia: number;
842
+ /**
843
+ * Media stream associated to the remote party.
844
+ * Typed as number BUT MUST follow the values defined by CallMedia type or a combination thereof.
845
+ */
846
+ remoteMedia: number;
847
+ /**
848
+ * NetworkQuality Value (0 - bad, 1 - medium, 2 - good) representing the current network quality for the call
849
+ * @readonly
850
+ */
851
+ networkQuality: number;
852
+ /**
853
+ * On an incoming call, contains the subject of the call if this has been specified by the caller (inside purpose)
854
+ * @readonly
855
+ */
856
+ subject: string;
857
+ get localMedias(): CallMedias;
858
+ get remoteMedias(): CallMedias;
859
+ recorder: {
860
+ state: CallRecordingState;
861
+ getDuration: () => number;
862
+ };
863
+ isEscalated: boolean;
864
+ isError: boolean;
865
+ unifiedPlanActivated: boolean;
866
+ startDate: Date;
867
+ isInitiator: boolean;
868
+ correlatorData: string;
869
+ correlatorDataHex: string;
870
+ isHidden: boolean;
871
+ makecallCtiExtern: boolean;
872
+ isVm: boolean;
873
+ participants: any;
874
+ isConference: boolean;
875
+ avatars: any[];
876
+ fullJid: string;
877
+ mediaPillarCall: any;
878
+ isSecondary: boolean;
879
+ /**
880
+ * Indicates that this call comes from an OXE attendant (OPE).
881
+ * While set, the call server forbids any second call, hold, retrieve or transfer attempt,
882
+ * so the related capabilities must be disabled (see CRRAINB-53349).
883
+ */
884
+ isAttendantCall: boolean;
885
+ isSecondSharingCall: boolean;
886
+ relevant: boolean;
887
+ relevantEquipmentId: string;
888
+ deviceId: any;
889
+ isOwner: any;
890
+ isMPAudioOwner: any;
891
+ pbxConnectionDown: any;
892
+ statusInfo: any;
893
+ globalCallId: string;
894
+ activeControl: boolean;
895
+ hasRemoteControlling: boolean;
896
+ sipWiseData: any;
897
+ sipWiseEndPointDeviceList: any;
898
+ noIncomingPopup: boolean;
899
+ errorMessage: string;
900
+ autoOffHookResource: string;
901
+ autoOffHookInProgress: boolean;
902
+ mixtWebTelSingleStepTrans: boolean;
903
+ localStreams: MediaStream[];
904
+ statsInterval: any;
905
+ originalStream: MediaStream;
906
+ autoClear: any;
907
+ autoAnswer: boolean;
908
+ distantType: string;
909
+ addVideoAfterUnhold: boolean;
910
+ _redirectionCause: CallRedirectionCause;
911
+ get redirectionCause(): CallRedirectionCause;
912
+ set redirectionCause(redirectionCause: CallRedirectionCause);
913
+ private _isRecorded;
914
+ get isRecorded(): boolean;
915
+ set isRecorded(value: boolean);
916
+ private _isRemoteRecordingPaused;
917
+ get isRemoteRecordingPaused(): boolean;
918
+ set isRemoteRecordingPaused(value: boolean);
919
+ callerNumber: string;
920
+ calledParty: CalledParty;
921
+ get calledNumber(): string;
922
+ get alertingNumber(): string;
923
+ get remoteNumber(): string;
924
+ remoteParty: {
925
+ rawPhoneNumber: string;
926
+ phoneNumber: string;
927
+ contact: any;
928
+ jid: string;
929
+ };
930
+ remoteParties: {
931
+ rawPhoneNumber: string;
932
+ phoneNumber: string;
933
+ contact: any;
934
+ jid: string;
935
+ direction?: CallDirection;
936
+ }[];
937
+ isWebrtcMpIncomingCallPopup: boolean;
938
+ webConferenceRoom: any;
939
+ remoteControled: boolean;
940
+ remoteControledHybride: boolean;
941
+ transferInitiatorUserId: string;
942
+ role: string;
943
+ ccdGlobalWaitingTime: string;
944
+ private _lastCause;
945
+ get lastCause(): string;
946
+ set lastCause(cause: string);
947
+ private _PBXDisplay;
948
+ get PBXDisplay(): string;
949
+ set PBXDisplay(display: string);
950
+ get isDoorphoneCall(): boolean;
951
+ hasRemoteSharingWithAudio: boolean;
952
+ constructor(status: CallStatus, id: string, type: CallType, contact: Contact);
953
+ static create(status: any, id: string, type: CallType, contact?: any): CallRB;
954
+ get contact(): Contact;
955
+ set contact(contact: Contact);
956
+ get capabilities(): CallCapabilities;
957
+ /**
958
+ * Update globally the capabilities of the call.
959
+ * Tests are performed to check whether capabilities have been modified and whether the data needs to be updated.
960
+ * This avoids sending an 'ON_CALL_CAPABILITIES_UPDATED' event if no changement has been detected.
961
+ * @param capabilities - The new values of the capabilities
962
+ */
963
+ set capabilities(capabilities: CallCapabilities);
964
+ get isMuted(): boolean;
965
+ set isMuted(muted: boolean);
966
+ get callStatus(): CallStatus;
967
+ set callStatus(status: CallStatus);
968
+ setCallId(id: string): void;
969
+ getGlobalCallId(): string;
970
+ setGlobalCallId(id: string): void;
971
+ setConversationId(conversationId: string): void;
972
+ setStatus(status: CallStatus): void;
973
+ setCorrelatorData(correlatorData: string): void;
974
+ setCorrelatorDataHex(correlatorDataHex: string): void;
975
+ setIsVm(isVM: boolean): void;
976
+ getIsVm(): boolean;
977
+ setContact(contact: any): void;
978
+ setSubject(subject: string): void;
979
+ getRemoteParty(): {
980
+ rawPhoneNumber: string;
981
+ phoneNumber: string;
982
+ contact: any;
983
+ jid: string;
984
+ };
985
+ setRemoteParty(rawPhoneNumber: string, jid: string, contact: any, phoneNumber?: string): void;
986
+ getRemoteParties(): {
987
+ rawPhoneNumber: string;
988
+ phoneNumber: string;
989
+ contact: any;
990
+ jid: string;
991
+ direction?: CallDirection;
992
+ }[];
993
+ setRemoteParties(remoteParties: any[]): void;
994
+ getRemotePartyPhoneNumber(): string;
995
+ getRemotePartyRawPhoneNumber(): string;
996
+ setRemotePartyPhoneNumberAndJid(rawPhoneNumber: string, jid: string, phoneNumber?: string): void;
997
+ setRemotePartyContact(contact: any, jid: string): void;
998
+ setRelevantEquipmentId(relevantEquipmentId: string): void;
999
+ setParticipants(participants: any[]): void;
1000
+ setConnectionId(connectionId: string): void;
1001
+ getccdGlobalWaitingTime(): string;
1002
+ setccdGlobalWaitingTime(waitingTime: string): void;
1003
+ /**
1004
+ * @public
1005
+ * @param name - the name of the event
1006
+ * @param data - the data to be send (an object)
1007
+ * CallEvents events send to other services via sendEvent()
1008
+ * Can listen to it via Call.subscribe() API
1009
+ */
1010
+ sendEvent(name: string, data?: any): void;
1011
+ isInConversationWithMobile(): boolean;
1012
+ isInConversationWithDesktopApp(): boolean;
1013
+ toString(): string;
1014
+ toJSON(): any;
1015
+ private manageDurationTimer;
1016
+ private manageIncomingPopupData;
1017
+ startDuration(): void;
1018
+ stopDuration(): void;
1019
+ static getIdFromConnectionId(connectionId: string): string;
1020
+ static getCallIdFromConnectionId(connectionId: string): string;
1021
+ static getDeviceIdFromConnectionId(connectionId: string): string;
1022
+ getDeviceIdFromConnectionIdFromCall(): any;
1023
+ isWebRtcMediaPillar(): boolean;
1024
+ /**
1025
+ * Check if the call is linked to a media pillar context
1026
+ * Note: if it is a new call not already managed through webrtcGatewayService then not conclusive
1027
+ * (because could be linked after)
1028
+ */
1029
+ isMediaPillarCall(): boolean;
1030
+ isInCallWithMediaPillar(): boolean;
1031
+ getMediaPillarCall(): any;
1032
+ setMediaPillarCall(mediaPillarCallContext: any): void;
1033
+ setDeviceIdSipWise(deviceId: string): void;
1034
+ getDeviceIdSipWise(): any;
1035
+ setConnectionIdSipWise(connectionId: string): void;
1036
+ getConnectionIdSipWise(): string;
1037
+ resetSipWiseData(): void;
1038
+ setInitCauseSipWiseData(cause: string): void;
1039
+ getLastCause(): string;
1040
+ setLastCause(cause: string): void;
1041
+ getInitCauseSipWiseData(): any;
1042
+ setTypeSipWiseData(type: string): void;
1043
+ getTypeSipWiseData(): any;
1044
+ /**
1045
+ * For a sipwise (cloud tel) incoming call to an user who is belong to a hunting group
1046
+ * We have to known if the call is for the group or privatly for the user
1047
+ * This methode gives this info.
1048
+ * @returns Return true if the call is for the hunting group false otherwise
1049
+ */
1050
+ isHuntingGroupCallSipWise(): boolean;
1051
+ isHuntingGroupCallQueueSipWise(): boolean;
1052
+ isSipWiseSfuIncomingCall(): boolean;
1053
+ isSfuPbxCall(): boolean;
1054
+ setAssocPhoneCallId(assocPhoneCallId: any): void;
1055
+ getAssocPhoneCallId(): any;
1056
+ setEndPointDeviceListSipWise(deviceList: any): void;
1057
+ getEndPointDeviceListSipWise(): any;
1058
+ setAutoOffHookResource(resource: string): void;
1059
+ getAutoOffHookResource(): string;
1060
+ setAutoOffHookInProgress(inProgress: boolean): void;
1061
+ getAutoOffHookInProgress(): boolean;
1062
+ setMixtWebTelSingleStepTrans(flag: boolean): void;
1063
+ getMixtWebTelSingleStepTrans(): boolean;
1064
+ setDirection(direction: CallDirection): void;
1065
+ getDirection(): CallDirection;
1066
+ getRecordingDuration(): number;
1067
+ static StatusDisplay: {
1068
+ UNKNOWN: string;
1069
+ ENDED: string;
1070
+ DIALING: string;
1071
+ QUEUED_INCOMMING: string;
1072
+ QUEUED_OUTGOING: string;
1073
+ RINGING_INCOMMING: string;
1074
+ RINGING_OUTGOING: string;
1075
+ ACTIVE: string;
1076
+ HOLD: string;
1077
+ PUT_ON_HOLD: string;
1078
+ RELEASING: string;
1079
+ ANSWERING: string;
1080
+ CONNECTING: string;
1081
+ ERROR: string;
1082
+ };
1083
+ getStatusForDisplay(): string;
1084
+ /**
1085
+ * Attach the local video stream to a given HTML VIDEO tag element;
1086
+ * @param HtmlElement - TheHTML VIDEO tag element visible on the page
1087
+ */
1088
+ attachLocalVideoStreamToElement(HtmlElement: HTMLElement): void;
1089
+ /**
1090
+ * Attach the local sharing stream to a given HTML VIDEO tag element;
1091
+ * @param HtmlElementId - The HTML VIDEO tag element visible on the page
1092
+ */
1093
+ attachLocalSharingStreamToElement(HtmlElement: HTMLElement): void;
1094
+ /**
1095
+ * Attach the remote video stream to a given HTML VIDEO tag element;
1096
+ * @param HtmlElementId - The HTML VIDEO tag element visible on the page
1097
+ */
1098
+ attachRemoteVideoStreamToElement(HtmlElement: HTMLElement): void;
1099
+ /**
1100
+ * Attach the remote sharing stream to a given HTML VIDEO tag element;
1101
+ * @param HtmlElementId - The HTML VIDEO tag element visible on the page
1102
+ */
1103
+ attachRemoteSharingStreamToElement(HtmlElement: HTMLElement): void;
1104
+ /**
1105
+ * Subscribe to updates on the current call (all events are of RBEvent<CallEvents>
1106
+ * @param callback - The callback function that will be called when events are received
1107
+ * @param eventNames - (optional) array of event to listen
1108
+ * @returns Returns RxJS Subscription
1109
+ */
1110
+ subscribe(callback: (event: RBEvent<CallEvents>) => any, eventNames?: CallEvents | CallEvents[]): Subscription;
1111
+ /**
1112
+ * Answer the current incoming call.
1113
+ * This feature can be used only if the "answer" call capability is 'True'.
1114
+ * By default, the answer is done with AUDIO only.
1115
+ * If the 'withVideo' option is set to 'True' and the incoming call contains video, the answer will directly be done with audio and video.
1116
+ * @param withVideo - Option to answer the call directly with audio and video. Default value is 'False'
1117
+ */
1118
+ answer(withVideo?: boolean): Promise<void>;
1119
+ /**
1120
+ * Release the current call.
1121
+ * This method allows to decline an incoming call or stop an outgoing call.
1122
+ * This feature can be used only if the "release" call capability is 'True'.
1123
+ */
1124
+ release(): Promise<void>;
1125
+ /**
1126
+ * Put on hold the current call.
1127
+ * This feature can be used only if the "hold" call capability is 'True'.
1128
+ */
1129
+ hold(): Promise<void>;
1130
+ /**
1131
+ * Retrieve from hold the current call.
1132
+ * This feature can be used only if the "retrieve" call capability is 'True'.
1133
+ */
1134
+ retrieve(): Promise<void>;
1135
+ /**
1136
+ * Mute the call
1137
+ * This feature can be used only if the "mute" call capability is 'True'.
1138
+ */
1139
+ mute(): void;
1140
+ /**
1141
+ * Unmute the call
1142
+ * This feature can be used only if the "unmute" call capability is 'True'.
1143
+ */
1144
+ unmute(): void;
1145
+ /**
1146
+ * Send DTMF signal to the current call.
1147
+ * This feature can be used only if the "dtmf" call capability is 'True'.
1148
+ * @param dialKey - the DTMF character sequences to be send
1149
+ * Only the following characters are authorised: the ten single digits (0..9), the letters (a,b,c,d), the asterisk (*) and the pound sign (#).
1150
+ */
1151
+ sendDTMF(dialKey: string): void;
1152
+ /**
1153
+ * Add the AUDIO media to the current call.
1154
+ * This feature can be used only if the "addAudio" call capability is 'True' and available only for WebRTC Calls.
1155
+ */
1156
+ addAudio(): Promise<void>;
1157
+ /**
1158
+ * Add the VIDEO media to the current call.
1159
+ * This feature can be used only if the "addVideo" call capability is 'True' and available only for WebRTC Calls.
1160
+ */
1161
+ addVideo(): Promise<void>;
1162
+ /**
1163
+ * Add the SHARING media to the current call.
1164
+ * This feature can be used only if the "addSharing" call capability is 'True' and available only for WebRTC Calls.
1165
+ */
1166
+ addSharing(): Promise<void>;
1167
+ /**
1168
+ * Remove the VIDEO media from the current call.
1169
+ * This feature can be used only if the "removeVideo" call capability is 'True' and available only for WebRTC Calls.
1170
+ */
1171
+ removeVideo(): Promise<void>;
1172
+ /**
1173
+ * Remove the SHARING media from the current call.
1174
+ * This feature can be used only if the "removeSharing" call capability is 'True' and available only for WebRTC Calls.
1175
+ */
1176
+ removeSharing(): Promise<void>;
1177
+ /**
1178
+ * Add participants to the current call.
1179
+ * The participants could be other Rainbow users or phone numbers (if the PBX system supports it).
1180
+ * This will result in a new conversation being created with web conference inside. The active call will be "transferred" to the bubble conference.
1181
+ * @param participants - The list of participants to be added to the call
1182
+ * @returns The new bubble conversation where the web conference is active
1183
+ */
1184
+ addParticipantsToCall(participants: CallDestination[]): Promise<Conversation>;
1185
+ /**
1186
+ * Create a conference from 2 calls, including the current call.
1187
+ * This will lead to the creation of either a web conference (managed via a Rainbow bubble) or a pure telephone conference (managed by a PBX system).
1188
+ * In the first case, a new conversation is created with the web conference inside. The two calls will be "transferred" to the bubble conference.
1189
+ * In the second case, a new 'conference' type conversation is created. This applies only with a Rainbow Hybrid (OXO or OXE) telephone system.
1190
+ * This feature can be used only if the "mergeCalls" call capability is 'True'.
1191
+ * @returns The new conversation or undefined depending on the type of conference created.
1192
+ */
1193
+ activateConference(): Promise<Conversation | undefined>;
1194
+ /**
1195
+ * Blind transfer the current call another destination which could be any rainbow user or phone number.
1196
+ * A blind transfer is when you transfer a call directly to another party without consulting with the person receiving the call.
1197
+ * In other words, there is no need to call the other party to make the transfer.
1198
+ * This feature is available only if the connected user is behind a Rainbow Hub telephone system.
1199
+ * @param destination - The destination of the blind transfer
1200
+ */
1201
+ blindTransfer(destination: CallDestination): Promise<void>;
1202
+ /**
1203
+ * Deflect the incoming call to the voice mail.
1204
+ * This feature can be used only if the "deflectToVoicemail" call capability is 'True'.
1205
+ * The 'deflect to voice mail' is only available on HYBRID telephony systems.
1206
+ * For Cloud telephony systems, the release call will follow the user configuration (which could be deflect or other).
1207
+ */
1208
+ deflectToVoicemail(): Promise<void>;
1209
+ /**
1210
+ * @public
1211
+ * Deflect (redirect) the current incoming call to the specified phone number.
1212
+ * This feature can be used only if the "deflectToPhoneNumber" call capability is 'True'.
1213
+ * The list of number where we can deflect the incoming call is available in the 'deflectPhoneNumberDestinations' call capability.
1214
+ * @param number - The phone number the call will be deflected to.
1215
+ */
1216
+ deflectToPhoneNumber(number: string): Promise<void>;
1217
+ /**
1218
+ * Transfer the current call to another call.
1219
+ * If the destination call is not specified, then the transfer will be done towards the current active call.
1220
+ * The list of destination calls to which we can deflect the call current is available in the 'transferCallDestinations' call capability.
1221
+ * @param destinationCall - The destination call to which we want to transfer the current call.
1222
+ */
1223
+ transferToOtherCall(destinationCall?: Call): Promise<void>;
1224
+ /**
1225
+ * Attach the local video stream to a given HTML VIDEO tag element;
1226
+ * @param HtmlElementId - The ID of the HTML VIDEO tag element visible on the page
1227
+ */
1228
+ attachLocalVideoStream(HtmlElementId: string, HtmlElement?: HTMLElement): void;
1229
+ /**
1230
+ * Attach the local sharing stream to a given HTML VIDEO tag element;
1231
+ * @param HtmlElementId - The ID of the HTML VIDEO tag element visible on the page
1232
+ */
1233
+ attachLocalSharingStream(HtmlElementId: string): void;
1234
+ /**
1235
+ * Attach the remote video stream to a given HTML VIDEO tag element;
1236
+ * @param HtmlElementId - The ID of the HTML VIDEO tag element visible on the page
1237
+ */
1238
+ attachRemoteVideoStream(HtmlElementId: string): void;
1239
+ /**
1240
+ * Attach the remote sharing stream to a given HTML VIDEO tag element;
1241
+ * @param HtmlElementId - The ID of the HTML VIDEO tag element visible on the page
1242
+ */
1243
+ attachRemoteSharingStream(HtmlElementId: string): void;
1244
+ /**
1245
+ * Start the recording of a call
1246
+ * @param recordingName - optional name for the recording (stored as the uploaded file's fileName)
1247
+ * @returns the call updated or an error
1248
+ */
1249
+ startRecording(recordingName?: string): Promise<void>;
1250
+ /**
1251
+ * Pause the recording
1252
+ * @returns the call updated or an error
1253
+ */
1254
+ pauseRecording(): Promise<void>;
1255
+ /**
1256
+ * Resume the recording
1257
+ * @returns the call updated or an error
1258
+ */
1259
+ resumeRecording(): Promise<void>;
1260
+ /**
1261
+ * Stop the recording
1262
+ * @returns the call updated or an error
1263
+ */
1264
+ stopRecording(): Promise<void>;
1265
+ /**
1266
+ * Cancel the recording
1267
+ * @returns the call updated or an error
1268
+ */
1269
+ cancelRecording(): Promise<void>;
1270
+ }
1271
+ //# sourceMappingURL=call.model.d.ts.map