@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,1476 @@
1
+ import type { Subscription } from "rxjs";
2
+ import { Subject } from "rxjs";
3
+ import { CallRB, CallStatus } from "../../models/call.model";
4
+ import { Contact } from "../../models/contact.model";
5
+ import { RBEvent } from "../../models/event.model";
6
+ import type { Bubble } from "../../models/bubble.model";
7
+ import type { CliOption } from "../../models/cli.model";
8
+ import { Service } from "../../services/service";
9
+ import { TelephonyServiceSipWise } from "../../services/telephony/telephonySipWise.service";
10
+ import type { ITelephonyEventHandler } from "../../services/telephony/telephonyHybridEventHandler";
11
+ import { SupervisionService } from "../../services/telephony/supervision.service";
12
+ import { TelephonyCCDAgentService } from "./telephonyCcdAgent.service";
13
+ export declare const TELEPHONY_SVC = "TelephonyService";
14
+ export interface IOxeGroup {
15
+ huntingGroupNumber: string;
16
+ huntingGroupName: string;
17
+ logged: boolean;
18
+ }
19
+ /**
20
+ * Collection of call distribution group (hunt group) types.
21
+ */
22
+ export declare enum HuntGroupType {
23
+ /**
24
+ * Hunt group.
25
+ */
26
+ HUNTING_GROUP = "hunting_group",
27
+ /**
28
+ * Hunt group with waiting queue.
29
+ */
30
+ CALL_QUEUE = "call_queue",
31
+ /**
32
+ * Manager/Assistant group.
33
+ *
34
+ * @deprecated See 'manager_assistant' subtype
35
+ */
36
+ MANAGER_ASSISTANT = "manager_assistant"
37
+ }
38
+ /**
39
+ * Collection of call distribution group (hunt group) sub-types.
40
+ */
41
+ export declare enum HuntGroupSubType {
42
+ /**
43
+ * Regular hunt group.
44
+ *
45
+ * @remarks Voice attendant users cannot be part of a 'default' group.
46
+ */
47
+ DEFAULT = "default",
48
+ /**
49
+ * Attendant hunt group.
50
+ *
51
+ * @remarks Only Voice attendant users can be part of a 'hg_attendant' group.
52
+ */
53
+ ATTENDANT = "hg_attendant",
54
+ /**
55
+ * Manager/Assistant group.
56
+ */
57
+ MANAGER_ASSISTANT = "manager_assistant"
58
+ }
59
+ /**
60
+ * Collection of call queue distribution policies.
61
+ */
62
+ export declare enum HuntGroupPolicy {
63
+ /**
64
+ * Parallel hunting.
65
+ *
66
+ * @remarks only 'parallel' policy for 'hg_attendant' hunting group.
67
+ */
68
+ PARALLEL = "parallel",
69
+ /**
70
+ * Serial hunting.
71
+ *
72
+ * @remarks only 'serial' for 'manager_assistant' group.
73
+ */
74
+ SERIAL = "serial",
75
+ /**
76
+ * Circular hunting (ie. the calls are distributed "round-robin").
77
+ */
78
+ CIRCULAR = "circular"
79
+ }
80
+ export interface HuntGroupMember {
81
+ connected: string;
82
+ displayName: string;
83
+ memberId: string;
84
+ roles: string[];
85
+ status: "active" | "idle";
86
+ }
87
+ export interface HuntGroup {
88
+ availableMembers: number;
89
+ canBeJoined: boolean;
90
+ connectedMembers: number;
91
+ id: string;
92
+ members: HuntGroupMember[];
93
+ name: string;
94
+ policy: HuntGroupPolicy;
95
+ roomId: string;
96
+ subType: HuntGroupSubType;
97
+ totalAgents: number;
98
+ totalMembers: number;
99
+ type: HuntGroupType;
100
+ }
101
+ export declare class TelephonyService extends Service {
102
+ calls: Record<string, CallRB>;
103
+ pendingMakeCalls: any[];
104
+ agentStatus: any;
105
+ starting: boolean;
106
+ started: boolean;
107
+ isOxo: boolean;
108
+ isOxe: boolean;
109
+ isThirdParty: boolean;
110
+ forwardObject: any;
111
+ nomadicObject: any;
112
+ voiceMailFeatureEnabled: boolean;
113
+ voicemailNumber: string;
114
+ /** *******************************************************/
115
+ /** LIFECYCLE STUFF */
116
+ /** *******************************************************/
117
+ private listeners;
118
+ private subscriptions;
119
+ private CALLSERVICE_NS;
120
+ private sipWise;
121
+ rxSubject: Subject<any>;
122
+ recordingPauseConfirmProvider?: () => Promise<boolean>;
123
+ private mainService;
124
+ private settingsService;
125
+ private xmppService;
126
+ private logger;
127
+ private authService;
128
+ private profileService;
129
+ private errorHelperService;
130
+ private contactService;
131
+ private eventService;
132
+ private webrtcP2PService?;
133
+ telephonyServiceSipWise?: TelephonyServiceSipWise;
134
+ supervisionService?: SupervisionService;
135
+ ccdAgentService?: TelephonyCCDAgentService;
136
+ private pbxId;
137
+ makingCall: boolean;
138
+ private mediaPillarConfigured;
139
+ private mediaPillarRemoteExtension;
140
+ private mediaPillarAlive;
141
+ private nomadicAnswerNotTakedIntoAccount;
142
+ sipWiseUserGroupsData: any;
143
+ private oxeUserGroupData;
144
+ isBasicCallAllowed: boolean;
145
+ private isSecondCallAllowed;
146
+ private isTransferAllowed;
147
+ private isConferenceAllowed;
148
+ private isDeflectCallAllowed;
149
+ private isForwardEnabled;
150
+ private isNomadicEnabled;
151
+ private isAdhocConferenceAllowed;
152
+ private isMixPstnWebRtcAllowed;
153
+ private isOXEDeskphoneNonRinging;
154
+ private isOxeSecretIdentity;
155
+ private isOxeDoNotDisturb;
156
+ isOXEDynamicStateReceived: boolean;
157
+ private isCloudPbxRejectCall;
158
+ private activeConversation;
159
+ private userJidTel;
160
+ private portalURL;
161
+ telephonyEventHandler: ITelephonyEventHandler;
162
+ private telAPIPromiseInProgress;
163
+ private cliOptions;
164
+ private currentCli;
165
+ private offlineCallManagementTimer;
166
+ autoOffHookConference: any;
167
+ webConferenceInvitDeskphoneRoom: any;
168
+ internalTestCallIndex: number;
169
+ remoteControlledPhoneCallIds: Set<string>;
170
+ private autoAnswerCorrelatorIdResourceMap;
171
+ private autoAnswerTimeout;
172
+ static getInstance(): TelephonyService;
173
+ static build(): TelephonyService;
174
+ private constructor();
175
+ publish(event: RBEvent): void;
176
+ subscribe(callback: any): Subscription;
177
+ /**
178
+ * Start service method
179
+ * @public
180
+ * @async
181
+ * @instance
182
+ * @function
183
+ */
184
+ start(): Promise<void>;
185
+ /**
186
+ * Attach the handlers : we request the event handler to start its (xmpp) handler(s)
187
+ * @private
188
+ * @instance
189
+ * @function
190
+ */
191
+ private attachHandlers;
192
+ /**
193
+ * Stop service method
194
+ * @public
195
+ * @async
196
+ * @instance
197
+ * @function
198
+ */
199
+ stop(): Promise<void>;
200
+ /**
201
+ * Handling of the telephony presence event
202
+ * @private
203
+ * @param {any} attr reference to the telephony service SipWise
204
+ * @async
205
+ * @returns {Promise<boolean>} Promise resolved with true value because it is a xmpp event handler in order to continue next events handling
206
+ * @instance
207
+ * @function
208
+ */
209
+ private onTelPresenceChange;
210
+ /**
211
+ * Laucnh telephony initilization with server
212
+ * @private
213
+ * @instance
214
+ * @function
215
+ */
216
+ launchTelephonyInitilization(attemp?: number): void;
217
+ /**
218
+ * Handling of the xmpp reconnection event
219
+ * @public
220
+ * @instance
221
+ * @function
222
+ */
223
+ reconnect(): void;
224
+ /**
225
+ * Handling of the telephony offline event
226
+ * @private
227
+ * @instance
228
+ * @function
229
+ * @param {boolean} xmppOffline True if xmpp is down
230
+ */
231
+ private telephonyOfflineCallManagement;
232
+ /**
233
+ * Retrieve and Process the telephony agent status service
234
+ * @private
235
+ * @async
236
+ * @returns {Promise<void>} Status promise resolved when the handling is complete
237
+ * @instance
238
+ * @function
239
+ */
240
+ private getAgentStatus;
241
+ /**
242
+ * Retrieve telephony config ( devices, routingInfo, groups, emergency data ), used by sipwise
243
+ * @private
244
+ * @async
245
+ * @returns {Promise<void>} Status promise resolved when the handling is complete
246
+ * @instance
247
+ * @function
248
+ */
249
+ private getTelephonyConfig;
250
+ /**
251
+ * Retrieve and Process the telephony connections snapshot service (implemented by iq request for hybrid system)
252
+ * @private
253
+ * @param {boolean} secondary True for a secondary call
254
+ * @async
255
+ * @returns {Promise<void>} Status promise resolved when the handling is complete
256
+ * @instance
257
+ * @function
258
+ */
259
+ snapshotCalls(secondary: boolean): Promise<void>;
260
+ deleteCallsNotInList(calls: CallRB[]): void;
261
+ checkCallWithLostAudio(call: CallRB): Promise<void>;
262
+ /**
263
+ * Retrieve the telephony connections snapshot service, implemented by REST api request,
264
+ * used by gatewayservice in case od parallel oxe hunting groups
265
+ * @public
266
+ * @param {boolean} secondary True for a secondary call
267
+ * @async
268
+ * @returns {Promise<any>} Promise resolved with the snaphot result data
269
+ * @instance
270
+ * @function
271
+ */
272
+ snapshotDevice(secondary: boolean): Promise<any>;
273
+ /**
274
+ * Retrieve the telephony call snapshot service
275
+ * Note: Not Used currently
276
+ * @public
277
+ * @param {string} callId Call Identfier
278
+ * @async
279
+ * @returns {Promise<void>} Promise resolved with the handling is complete
280
+ * @instance
281
+ * @function
282
+ */
283
+ /**
284
+ * Call creation for one connection element extracted from the snapshot result
285
+ * @private
286
+ * @param {any} connectionElemObj Connection element of the snapshost data
287
+ * @param {boolean} secondary True for a secondary call
288
+ * @param serverSecondary
289
+ * @async
290
+ * @returns {Promise<CallRB>} Promise resolved with the created call
291
+ * @instance
292
+ * @function
293
+ */
294
+ private createCallFromConnectionElem;
295
+ setCalledPartyFromEvent(event: any, call: CallRB, endpointPhoneNumber?: string, endpointJid?: string): Promise<boolean>;
296
+ setCalledParty(call: CallRB, phoneNumber: string, jid: string, displayName: string, firstName: string, lastName: string, role: string): boolean;
297
+ /**
298
+ * Calculate the DisplayName
299
+ * @private
300
+ * @param {string} firstname Contact firstname
301
+ * @param {string} lastname Contact lastname
302
+ * @returns {string} Computed displayName
303
+ * @instance
304
+ * @function
305
+ */
306
+ private computeDisplayName;
307
+ /**
308
+ * Contact list creation for participant elements extracted from the snapshot result
309
+ * @private
310
+ * @param {any} participants Participant elements of the snapshost data
311
+ * @async
312
+ * @returns {Promise<Contact[]>} Promise resolved with the list of contacts
313
+ * @instance
314
+ * @function
315
+ */
316
+ private getParticipantsFromParticipantsElem;
317
+ /**
318
+ * Retrieve an existing call or create a new call with the given status, connectionId and contact
319
+ * @public
320
+ * @param {any} status Call status
321
+ * @param {string} connectionId Call connection identifier
322
+ * @param {Contact} [contact] Contact identifying the other party of the call
323
+ * @returns {Call} Found call or created call
324
+ * @instance
325
+ * @function
326
+ */
327
+ getOrCreateCall(status: CallStatus, connectionId: string, contact?: Contact): CallRB;
328
+ /**
329
+ * Retrieve an existing sipwise call or create a new sipwise call with the given status, callId
330
+ * @public
331
+ * @param {any} status Call status
332
+ * @param {string} callId Call identifier
333
+ * @returns {Call} Found call or created call
334
+ * @instance
335
+ * @function
336
+ */
337
+ createCallSipWise(status: CallStatus, callId: string): CallRB;
338
+ /**
339
+ * Retrieve an existing sipwise call or create a new sipwise call with the given status, callId, legId, deviceId and contact
340
+ * @public
341
+ * @param {CallStatus} status Call status
342
+ * @param {string} callId Call identifier
343
+ * @param {string} legId Leg identifier
344
+ * @param {string} [deviceId] Device identifier
345
+ * @param {Contact} [contact] Contact identifying the other party of the call
346
+ * @returns {Call} Found call or created call
347
+ * @instance
348
+ * @function
349
+ */
350
+ getOrCreateCallSipWise(status: CallStatus, callId: string, legId: string, deviceId?: string, contact?: Contact): CallRB;
351
+ /** *******************************************************/
352
+ /** CALL HANDLERS */
353
+ /** *******************************************************/
354
+ /**
355
+ * Retrieve the active call (if one exists)
356
+ * @public
357
+ * @returns {Call} Found active call (or null if not found)
358
+ * @instance
359
+ * @function
360
+ */
361
+ getActiveCall(): CallRB;
362
+ /**
363
+ * Retrieve the call with the given searched status (if one exists)
364
+ * @public
365
+ * @param {any} searchedCallStatus Status of call to search
366
+ * @returns {Call} Found call with searched status (or null if not found)
367
+ * @instance
368
+ * @function
369
+ */
370
+ getCall(searchedCallStatus: any): CallRB;
371
+ /**
372
+ * Retrieve the ongoing outgoing call (if one exists)
373
+ * @public
374
+ * @returns {Call} Found ongoing outgoing call (or null if not found)
375
+ * @instance
376
+ * @function
377
+ */
378
+ getOngoingOutgoingCall(): CallRB;
379
+ /**
380
+ * Retrieve the ongoing outgoing call with the given contact (if one exists)
381
+ * @public
382
+ * @param {Contact} contact Contact identifying the other party of the call
383
+ * @returns {Call} Found ongoing outgoing call with given contact (or null if not found)
384
+ * @instance
385
+ * @function
386
+ */
387
+ getOngoingOutgoingCallForContact(contact: Contact): CallRB;
388
+ /**
389
+ * Retrieve the list of ringing incoming calls (if some exist)
390
+ * @public
391
+ * @returns {CallRB[]} Found ringing incoming call array (or empty array if no calls found)
392
+ * @instance
393
+ * @function
394
+ */
395
+ getRingingIncomingCalls(): CallRB[];
396
+ /**
397
+ * Retrieve the list of queued incoming calls (if some exist)
398
+ * @public
399
+ * @returns {CallRB[]} Found queued incoming call array (or empty array if no calls found)
400
+ * @instance
401
+ * @function
402
+ */
403
+ getQueuedIncomingCalls(): CallRB[];
404
+ /**
405
+ * Retrieve the list of hold (put on hold by the user) calls (if some exist)
406
+ * @public
407
+ * @returns {CallRB[]} Found hold call array (or empty array if no calls found)
408
+ * @instance
409
+ * @function
410
+ */
411
+ getCallsOnHold(): CallRB[];
412
+ /**
413
+ * Retrieve the list of calls with a status equal to a given status (or a list of given status) (if some exist)
414
+ * @public
415
+ * @param {any} [searchedCallStatus] Status (or array of status) of calls to search. If not passed, it returns all calls except incoming/queued ringing calls
416
+ * @returns {CallRB[]} List of calls matching the searched status (or empty array if no calls found)
417
+ * @instance
418
+ * @function
419
+ */
420
+ getCalls(searchedCallStatus?: CallStatus[] | CallStatus): CallRB[];
421
+ /**
422
+ * Retrieve the list of calls which are not idle (not in UNKNOWN status). Note that this method also returns the ringing/queued incoming calls
423
+ * @public
424
+ * @returns {CallRB[]} List of calls not idle (not in ENDED status)
425
+ * @instance
426
+ * @function
427
+ */
428
+ getNotIdleCalls(): CallRB[];
429
+ /**
430
+ * Is the user in idle telephony state (no current telephony calls)
431
+ * @public
432
+ * @returns {boolean} true if the user is idle (no current telephony calls)
433
+ * @instance
434
+ * @function
435
+ */
436
+ isUserIdle(): boolean;
437
+ /**
438
+ * Retrieve the list of active calls linked to a given contact (other party).
439
+ * Active calls means calls that are not idle and not in ringing/queued incoming status
440
+ * @public
441
+ * @param {Contact} contact Contact to search in the call contact
442
+ * @returns {CallRB[]} List of calls linked to the given contact
443
+ * @instance
444
+ * @function
445
+ */
446
+ getActiveCallsForContact(contact: Contact): CallRB[];
447
+ /**
448
+ * Retrieve the list of calls linked to a given contact (other party), whatever the call status is (if any)
449
+ * @public
450
+ * @param {Contact} contact Contact to search in the call contact
451
+ * @returns {CallRB[]} List of calls linked to the given contact; empty array if no calls found
452
+ * @instance
453
+ * @function
454
+ */
455
+ getCallsForContact(contact: Contact): CallRB[];
456
+ /**
457
+ * Retrieve the conference call linked to a given contact (if one exists)
458
+ * @public
459
+ * @param {Contact} contact Contact for which we search a call
460
+ * @returns {Call} Found conference call linked to the given contact (or null if not found)
461
+ * @instance
462
+ * @function
463
+ */
464
+ getConferenceCallForContact(contact: Contact): CallRB;
465
+ /**
466
+ * Retrieve another call with same global call id
467
+ * @public
468
+ * @param {Call} sourceCall Source call with the globalCallId to search for
469
+ * @returns {Call} Found call with same global call id as source call (or null if not found)
470
+ * @instance
471
+ * @function
472
+ */
473
+ getOtherCallWithSameGlobalCallId(sourceCall: CallRB): CallRB;
474
+ /**
475
+ * Log the makecall request service data
476
+ * @private
477
+ * @param {any} reqData Data body of makecall request
478
+ * @param {Contact} contact Contact for which we search a call
479
+ * @instance
480
+ * @function
481
+ */
482
+ logMakecallReqData(reqData: any, contact: Contact): void;
483
+ /** ***********************************************************/
484
+ /** ***********************************************************/
485
+ /**
486
+ * US10: a new outgoing call holds the current one, which pauses its ongoing recording, whatever the call types
487
+ * (telephony or WebRTC). Lets the UI warn the user through recordingPauseConfirmProvider.
488
+ * @returns true to proceed with the new call, false if the user declined
489
+ */
490
+ confirmNewCallWhileRecording(): Promise<boolean>;
491
+ /**
492
+ * Makecall service
493
+ * @public
494
+ * @param {Contact} contact The contact to call
495
+ * @param {string} phoneNumber The phone number to call
496
+ * @param {string} [callSubject] Call subject
497
+ * @param {any} [correlatorData] Call correlator data
498
+ * @param {any} [correlatorDataHex] Call correlator data hexa
499
+ * @param {string} [calledNumber] Called number
500
+ * @async
501
+ * @returns {Promise<string>} Promise resolved with the created call identifier (callId)
502
+ * @instance
503
+ * @function
504
+ */
505
+ makeCall(contact: Contact, phoneNumber: string, callSubject?: string, correlatorData?: any, correlatorDataHex?: any, calledNumber?: string, bubble?: Bubble): Promise<string>;
506
+ /**
507
+ * Display a notification during 5 seconds in case of makecall service failures
508
+ * @private
509
+ * @param {Contact} contact The contact to call
510
+ * @param {string} phoneNumber The phone number to call
511
+ * @instance
512
+ * @function
513
+ */
514
+ private displayNotAllowedNotification;
515
+ /**
516
+ * Make a call while no current call is in progress
517
+ * @private
518
+ * @param {Contact} contact The contact to call
519
+ * @param {string} phoneNumber The phone number to call
520
+ * @param {string} callSubject Call subject
521
+ * @param {any} correlatorData Call correlator data
522
+ * @param {any} correlatorDataHex Call correlator data hexa
523
+ * @param {string} calledNumber Called number
524
+ * @async
525
+ * @returns {Promise<string>} Promise resolved with the created call identifier (callId)
526
+ * @instance
527
+ * @function
528
+ */
529
+ private makeSimpleCall;
530
+ /**
531
+ * Make a consultation call while there is one existing active call
532
+ * @private
533
+ * @param {Contact} contact The contact to call
534
+ * @param {string} phoneNumber The phone number to call
535
+ * @param {string} callId Call identifier of the existing active call
536
+ * @param {any} correlatorData Call correlator data
537
+ * @param {any} correlatorDataHex Call correlator data hexa
538
+ * @param hidden
539
+ * @async
540
+ * @returns {Promise<string>} Promise resolved with the created call identifier (callId)
541
+ * @instance
542
+ * @function
543
+ */
544
+ private makeConsultationCall;
545
+ /**
546
+ * Send the makecall or consultation call service request to the server
547
+ * @private
548
+ * @param {Contact} contact The contact to call
549
+ * @param {string} phoneNumber The phone number to call
550
+ * @param {string} reqUrl Request url
551
+ * @param {any} reqData Service request data
552
+ * @param hidden
553
+ * @async
554
+ * @returns {Promise<string>} Promise resolved with the created call identifier (callId)
555
+ * @instance
556
+ * @function
557
+ */
558
+ private doRequestMakecall;
559
+ /**
560
+ * Makecall by phone number: this method is used to make a call to a given phone number
561
+ * (where as the makecall service is used when the called destination is identified by a contact object)
562
+ * Used by SDK (public)
563
+ * Warning when modifying this method
564
+ * @public
565
+ * @param {string} phoneNumber The phone number to call
566
+ * @param {string} [callSubject] Call subject
567
+ * @param {any} [correlatorData] Call correlator data
568
+ * @param {any} [correlatorDataHex] Call correlator data hexa
569
+ * @async
570
+ * @returns {Promise<string>} Promise resolved with the created call identifier (callId)
571
+ * @instance
572
+ * @function
573
+ */
574
+ makeCallByPhoneNumber(phoneNumber: string, callSubject?: string, correlatorData?: any, correlatorDataHex?: any): Promise<void>;
575
+ /**
576
+ * Extract phone info from given called contact and called number
577
+ * @public
578
+ * @param {Contact} contact The contact to call
579
+ * @param {string} phoneNumber The phone number to call
580
+ * @param {any} [correlatorData] Call correlator data
581
+ * @param {any} [correlatorDataHex] Call correlator data hexa
582
+ * @returns {any} The object with computed numbers
583
+ * @instance
584
+ * @function
585
+ */
586
+ getPhoneInfo(contact: Contact, phoneNumber: string, correlatorData?: any, correlatorDataHex?: any): any;
587
+ /**
588
+ * Build an error message, used by connections snapshot service
589
+ * @private
590
+ * @param {any} data Connections snapshot service response data
591
+ * @param {string} actionLabel context label
592
+ * @returns {string} The built error message
593
+ * @instance
594
+ * @function
595
+ */
596
+ private getErrorMessage;
597
+ /**
598
+ * Send the release call service to server
599
+ * Used by SDK (public)
600
+ * Warning when modifying this method
601
+ * @public
602
+ * @param {Call} call Call to relesae
603
+ * @instance
604
+ * @function
605
+ */
606
+ releaseCall(call: CallRB): Promise<void>;
607
+ /**
608
+ * Send the release call service to server
609
+ * Warning when modifying this method
610
+ * @private
611
+ * @param {Call} call Call to relesae
612
+ * @returns {Call} The relesaed call
613
+ * @instance
614
+ * @function
615
+ */
616
+ innerReleaseCall(call: CallRB): Promise<CallRB>;
617
+ /**
618
+ * release call service to server and notify event to stop ringing/popup, used to decline ringing incoming calls
619
+ * @private
620
+ * @param {Call} call Call to relesae
621
+ * @returns {Promise<void>} Status promise resolved when the call is released
622
+ * @instance
623
+ * @function
624
+ */
625
+ private releaseCallAndNotify;
626
+ /**
627
+ * Decline ringing incoming call service
628
+ * @public
629
+ * @param {Call} call Call to decline
630
+ * @returns {Promise<void>} Status promise resolved when the call is declined
631
+ * @instance
632
+ * @function
633
+ */
634
+ declineCall(call: CallRB): Promise<void>;
635
+ /**
636
+ * Delete the call in web client if it doesn't exist on server (after an service error returned by server)
637
+ * @private
638
+ * @param {Error} error received error from the server
639
+ * @param {Call} call Call to check
640
+ * @instance
641
+ * @function
642
+ */
643
+ private deleteCallIfInvalid;
644
+ /**
645
+ * Send the answer Call service request to the server
646
+ * Used by SDK (public)
647
+ * Warning when modifying this method
648
+ * @public
649
+ * @param {Call} call The call to answer
650
+ * @async
651
+ * @returns {Promise<CallRB>} Promise resolved with the answered call
652
+ * @instance
653
+ * @function
654
+ */
655
+ answerCall(call: CallRB): Promise<CallRB>;
656
+ /**
657
+ * Send the answer Call service request to the server
658
+ * @private
659
+ * @param {Call} call The call to answer
660
+ * @async
661
+ * @returns {Promise<CallRB>} Promise resolved with the answered call
662
+ * @instance
663
+ * @function
664
+ */
665
+ private doRequestAnswerCall;
666
+ /**
667
+ * Send the hold Call service request to the server
668
+ * Used by SDK (public)
669
+ * Warning when modifying this method
670
+ * @public
671
+ * @param {Call} call The call to put on hold
672
+ * @async
673
+ * @returns {Promise<CallRB>} Promise resolved with the held call
674
+ * @instance
675
+ * @function holdCall
676
+ */
677
+ holdCall(call: CallRB): Promise<CallRB>;
678
+ /**
679
+ * Send the retrieve Call service request to the server
680
+ * Used by SDK (public)
681
+ * Warning when modifying this method
682
+ * @public
683
+ * @param {Call} call The held call to retrieve
684
+ * @async
685
+ * @returns {Promise<CallRB>} Promise resolved with the held call
686
+ * @instance
687
+ * @function retrieveCall
688
+ */
689
+ retrieveCall(call: CallRB): Promise<CallRB>;
690
+ /**
691
+ * Send the alternate Call service request to the server
692
+ * Used by SDK (public)
693
+ * Warning when modifying this method
694
+ * @public
695
+ * @param {Call} activeCall The active call to alternate
696
+ * @param {Call} heldCall The held call to alternate
697
+ * @async
698
+ * @returns {Promise<void>} Status promise resolved when the alternate service is done
699
+ * @instance
700
+ * @function alternateCall
701
+ */
702
+ alternateCall(activeCall: CallRB, heldCall: CallRB): Promise<void>;
703
+ /**
704
+ * Deflect Call to voicemail service : request to the server with a voicemail destination (and stop ringing if MP call)
705
+ * Used by SDK (public)
706
+ * Warning when modifying this method
707
+ * @public
708
+ * @param {Call} call The incoming call to deflect
709
+ * @async
710
+ * @returns {Promise<void>} Status promise resolved when the call is deflected to the voicemail
711
+ * @instance
712
+ * @function deflectCallToVM
713
+ */
714
+ deflectCallToVM(call: CallRB): Promise<void>;
715
+ /**
716
+ * Send the deflect Call service request to the server with a voicemail destination
717
+ * @private
718
+ * @param {Call} call The incoming call to deflect
719
+ * @async
720
+ * @returns {Promise<void>} Status promise resolved when the call is deflected to the voicemail
721
+ * @instance
722
+ * @function innerDeflectCallToVM
723
+ */
724
+ private innerDeflectCallToVM;
725
+ /**
726
+ * Send the deflect Call service request to the server with a phone number as destination
727
+ * SipWise only
728
+ * Used by SDK (public)
729
+ * Warning when modifying this method
730
+ * @public
731
+ * @param {Call} call The active call to deflect
732
+ * @param {string} number phone number of the deflect destination
733
+ * @async
734
+ * @returns {Promise<void>} Status promise resolved when the call is deflected
735
+ * @instance
736
+ * @function deflectCallToNumber
737
+ */
738
+ deflectCallToNumber(call: CallRB, number: string): Promise<void>;
739
+ deflectCallToContact(call: CallRB, contact: Contact): Promise<void>;
740
+ /**
741
+ * Send the deflect Call service request to the server according the forward busy rule
742
+ * SipWise only
743
+ * Used by SDK (public)
744
+ * Warning when modifying this method
745
+ * @public
746
+ * @param {Call} call The active call to deflect
747
+ * @async
748
+ * @returns {Promise<void>} Status promise resolved when the call is deflected
749
+ * @instance
750
+ * @function deflectCallFollowBusyRule
751
+ */
752
+ deflectCallFollowBusyRule(call: any): Promise<void>;
753
+ /**
754
+ * Send the transfer Call service request (transfer between 2 existing calls)
755
+ * Used by SDK (public)
756
+ * Warning when modifying this method
757
+ * @public
758
+ * @param {Call} activeCall The active call to transfer: this call may have a status ACTIVE or RINGING_OUTGOING
759
+ * @param {string} heldCall The held call to transfer
760
+ * @async
761
+ * @returns {Promise<void>} Status promise resolved when the calls are transferred
762
+ * @instance
763
+ * @function transfertCall
764
+ */
765
+ transfertCall(activeCall: CallRB, heldCall: CallRB): Promise<void>;
766
+ /**
767
+ * Send the blind transfer Call service request (transfer 1 existing active call to a destination number)
768
+ * SipWise only
769
+ * Used by SDK (public)
770
+ * Warning when modifying this method
771
+ * @public
772
+ * @param {Call} activeCall The active call to transfer: this call must have a status ACTIVE
773
+ * @param {string} calleeNumber The destination number of the transfer
774
+ * @param {any} [destionationObject] Destination object containing the properties "userId" and "resource",
775
+ * which identify the destination user identifier and xmpp client resource
776
+ * @param {Contact} [contact] destination contact (used for hybrid systems)
777
+ * @async
778
+ * @returns {Promise<void>} Status promise resolved when the active call is transferred
779
+ * @instance
780
+ * @function blindTransfertCall
781
+ */
782
+ blindTransfertCall(activeCall: CallRB, calleeNumber: string, destionationObject?: any, contact?: Contact): Promise<void>;
783
+ /**
784
+ * Send the conference Call service request to the server (conferencing 2 existing calls of the current user:
785
+ * this is a 3 parties conference with the current user and the 2 other call parties)
786
+ * In case of RB Hub, the active call can also be a WEBRTC call (or PSTN), and the held can also be a WEBRTC call (or PSTN); One of both calls should be PSTN !
787
+ * NB ! In case of RB Hub, we need to have the Web Conference Service and the Room / Bubble service included the project
788
+ * @public
789
+ * @param {Call} activeCall The active call to conference: this call must have a status ACTIVE
790
+ * @param {Call} heldCall The held call to conference
791
+ * @async
792
+ * @returns {Promise<any>} Status promise resolved when the calls are conferenced; In case of RB Hub confrence call, the promise will return the bubble where the conference is started
793
+ * @instance
794
+ * @function conferenceCall
795
+ */
796
+ conferenceCall(activeCall: CallRB, heldCall: CallRB): Promise<any>;
797
+ /**
798
+ * Make an adhoc conference call with 3 participants (for RB Hub case)
799
+ * The call could be 2 PSTN calls, or 1 PSTN and 1 WEBRTC call
800
+ * @private
801
+ * @param {Call} activeCall The active call to conference: this call must have a status ACTIVE (it could be a PSTN call or WebRTC call)
802
+ * @param {Call} heldCall The held call to conference (it could be a PSTN call or WebRTC call)
803
+ * @async
804
+ * @returns {Promise<any>} The room / bubble where the conference is started
805
+ * @instance
806
+ * @function conferenceCallSipWise
807
+ */
808
+ private conferenceCallSipWise;
809
+ bargeInCall(supervisedContact: Contact): Promise<Bubble>;
810
+ /**
811
+ * Start listening for the transferred call (third party) reaching the barge-in conference (CRRAINB-54611).
812
+ * Matching rule on the "added-participants" event of the conference:
813
+ * - `<call-id>` present: the SIP Call-ID starts with the CSTA call id of the supervised call (prefix match);
814
+ * - `<call-id>` absent (older Janus gateway): the added participant is the third party's phone number.
815
+ * `waitForJoin()` resolves as soon as the event is seen, or after `timeoutMs` (logged, never rejects)
816
+ * so that a missing event degrades to the previous behaviour instead of breaking the barge-in.
817
+ */
818
+ private watchTransferredCallJoinConference;
819
+ /**
820
+ * Configure the sipwise forward to a device
821
+ * @public
822
+ * @param {string} phoneNumber phonenumber on which the call will be forwarded
823
+ * @param {string} destType Type of destination (internalNumber, externalNumber)
824
+ * @param {string} forwardType Type of forward (immediate, busy, noreply)
825
+ * @param {string} destId destination Id (if available, a contact or a HG Id) to manage the forward to welcome case
826
+ * @async
827
+ * @returns {Promise<void>} Status promise resolved when the process is complete
828
+ * @instance
829
+ * @function sipWiseForwardToDevice
830
+ */
831
+ sipWiseForwardToDevice(phoneNumber: string, destType: string, forwardType: string, destId?: string): Promise<void>;
832
+ /**
833
+ * Cancel the sipwise forward to a device
834
+ * @public
835
+ * @param {string} forwardType Type of forward (immediate, busy, noreply)
836
+ * @async
837
+ * @returns {Promise<void>} Status promise resolved when the process is complete
838
+ * @instance
839
+ * @function sipWiseCancelForward
840
+ */
841
+ sipWiseCancelForward(forwardType: string): Promise<void>;
842
+ /**
843
+ * Configure forward to a device
844
+ * @public
845
+ * @param {string} phoneNumber phonenumber on which the call will be forwarded
846
+ * @param {string} forwardType type of forward (immediate, busy, noreply)
847
+ * @param {string} destId the (optional) dest Id (a contact Id or HG id) in order to manage welcome forward
848
+ * @param {Contact} [user] user (optional) for which the forward is modified (used by supervisors only). If not set, the user modified is the logged user
849
+ * @async
850
+ * @returns {Promise<void>} Status promise resolved when the process is complete
851
+ * @instance
852
+ * @function forwardToDevice
853
+ */
854
+ forwardToDevice(phoneNumber: string, forwardType: string, destId?: string, user?: Contact): Promise<void>;
855
+ /**
856
+ * Configure the forward to the Voicemail
857
+ * @public
858
+ * @param {string} [forwardType] Type of forward (immediate, busy, noreply)
859
+ * @param {Contact} [user] user for which the forward is modified (used by supervisors only). If not set, the user modified is the logged user
860
+ * @async
861
+ * @returns {Promise<void>} Status promise resolved when the process is complete
862
+ * @instance
863
+ * @function forwardToVoicemail
864
+ */
865
+ forwardToVoicemail(forwardType?: string, user?: Contact): Promise<void>;
866
+ /**
867
+ * Cancel the forward
868
+ * @public
869
+ * @param {Contact} [user] user for which the forward is cancelled (used by supervisors only). If not set, the user modified is the logged user
870
+ * @async
871
+ * @returns {Promise<void>} Status promise resolved when the process is complete
872
+ * @instance
873
+ * @function cancelForward
874
+ */
875
+ cancelForward(user?: Contact): Promise<void>;
876
+ /**
877
+ * Cancel the forwardOnCloudIssue
878
+ * @public
879
+ * @async
880
+ * @returns {Promise<void>} Status promise resolved when the process is complete
881
+ * @instance
882
+ * @function cancelForwardOnCloudIssue
883
+ */
884
+ cancelForwardOnCloudIssue(): Promise<void>;
885
+ /**
886
+ * To know the forward Status
887
+ * @public
888
+ * @async
889
+ * @returns {Promise<void>} Status promise resolved when the process is complete
890
+ * @instance
891
+ * @function getForwardStatus
892
+ */
893
+ getForwardStatus(): Promise<void>;
894
+ /**
895
+ * Configure the sipwise Forward to a device
896
+ * @public
897
+ * @returns {any} return the forward object which defines the forward status
898
+ * @instance
899
+ * @function getForwardObject
900
+ */
901
+ getForwardObject(): any;
902
+ isImmediateForwardActivated(): boolean;
903
+ /**
904
+ * For sipwise only
905
+ * return the welcome Id associated to the targetId (a contact or HG)
906
+ * @param targetId
907
+ * @public
908
+ * @async
909
+ * @returns {Promise<any>} return the welcomeId or null
910
+ * @instance
911
+ * @function getSipWiseWelcomeInfo
912
+ */
913
+ getSipWiseWelcomeInfo(targetId: string): Promise<any>;
914
+ /**
915
+ * return if the overflow is activated to the voicemail
916
+ * @public
917
+ * @async
918
+ * @returns {Promise<boolean>} return if the overflow is activated
919
+ * @instance
920
+ * @function isOverFlowStatusActivated
921
+ */
922
+ isOverFlowStatusActivated(): Promise<boolean>;
923
+ /**
924
+ * Configure the nomadic mode
925
+ * @public
926
+ * @param {string} phoneNumber phonenumber which will be monitored
927
+ * @param {boolean} isUnchangeableNumber allow to define the phonenumber like a rainbowNumber
928
+ * @param {boolean} NotTakeIntoAccount the result won't be taken in account (above used un graphical interface)
929
+ * @async
930
+ * @returns {Promise<void>} Status promise resolved when the process is complete
931
+ * @instance
932
+ * @function nomadicLogin
933
+ */
934
+ nomadicLogin(phoneNumber: string, isUnchangeableNumber?: boolean, NotTakeIntoAccount?: boolean): Promise<void>;
935
+ /**
936
+ * Configure the nomadic mode on the office phone
937
+ * @public
938
+ * @async
939
+ * @returns {Promise<void>} Status promise resolved when the process is complete
940
+ * @instance
941
+ * @function nomadicLoginOnOfficePhone
942
+ */
943
+ nomadicLoginOnOfficePhone(): Promise<void>;
944
+ /**
945
+ * Remove the nomadic mode
946
+ * @public
947
+ * @async
948
+ * @returns {Promise<void>} Status promise resolved when the process is complete
949
+ * @instance
950
+ * @function nomadicLogout
951
+ */
952
+ nomadicLogout(): Promise<void>;
953
+ /**
954
+ * To know the nomadic Status
955
+ * @public
956
+ * @async
957
+ * @returns {Promise<void>} Status promise resolved when the process is complete
958
+ * @instance
959
+ * @function getNomadicStatus
960
+ */
961
+ getNomadicStatus(): Promise<void>;
962
+ /**
963
+ * this method is no more used
964
+ * @public
965
+ * @async
966
+ * @returns {Promise<void>} Status promise resolved when the process is complete
967
+ * @instance
968
+ * @function setNomadicState
969
+ */
970
+ setNomadicState(): Promise<void>;
971
+ /**
972
+ * Update the Nomadic Object with new data received
973
+ * @public
974
+ * @param {any} response new data received
975
+ * @async
976
+ * @returns {Promise<boolean>} return if the main device is nomadic configured
977
+ * @instance
978
+ * @function updateNomadicData
979
+ */
980
+ updateNomadicData(response: any): Promise<boolean>;
981
+ /**
982
+ * Return the nomadic object
983
+ * @public
984
+ * @returns {any} nomadic object returned
985
+ * @instance
986
+ * @function getNomadicObject
987
+ */
988
+ getNomadicObject(): any;
989
+ /**
990
+ * Return the nomadic destination
991
+ * @public
992
+ * @returns {string} nomadic destination returned
993
+ * @instance
994
+ * @function getNomadicDestination
995
+ */
996
+ getNomadicDestination(): string;
997
+ /**
998
+ * Indicates wether the user is in Office mode
999
+ * @public
1000
+ * @returns {boolean} true if the nomadic mode of the user is Office
1001
+ * @instance
1002
+ * @function isOfficeMode
1003
+ */
1004
+ isOfficeMode(): boolean;
1005
+ /**
1006
+ * Method isMediaPillarConfigured
1007
+ * @public
1008
+ * @returns {boolean} true if media pillar is configured for this user (configuration + rights)
1009
+ * @instance
1010
+ * @function isMediaPillarConfigured
1011
+ */
1012
+ isMediaPillarConfigured(): boolean;
1013
+ /**
1014
+ * Method getMyMediaPillarRemoteExtensionRefreshed
1015
+ * @public
1016
+ * @returns {string} my mediaPillar remote extension ("" if not already obtained from server )
1017
+ * @instance
1018
+ * @function getMyMediaPillarRemoteExtensionRefreshed
1019
+ */
1020
+ getMyMediaPillarRemoteExtensionRefreshed(): Promise<string>;
1021
+ /**
1022
+ * Method getMyMediaPillarRemoteExtension
1023
+ * @public
1024
+ * @returns {string} my mediaPillar remote extension ("" if not already obtained from server )
1025
+ * @instance
1026
+ * @function getMyMediaPillarRemoteExtension
1027
+ */
1028
+ getMyMediaPillarRemoteExtension(): string;
1029
+ /**
1030
+ * Method isMediaPillarAvailable
1031
+ * @public
1032
+ * @returns {boolean} true if media pillar is available for this user (configuration + infra Up)
1033
+ * @instance
1034
+ * @function isMediaPillarAvailable
1035
+ */
1036
+ isMediaPillarAvailable(): boolean;
1037
+ /**
1038
+ * Method isMediaPillarUserSelected
1039
+ * @public
1040
+ * @returns {boolean} true if media pillar (Computer mode) is selected for this user
1041
+ * @instance
1042
+ * @function isMediaPillarUserSelected
1043
+ */
1044
+ isMediaPillarUserSelected(): boolean;
1045
+ /**
1046
+ * Send DTMF to a call
1047
+ * @public
1048
+ * @param {Call} call callto send a DTMF
1049
+ * @param {string} dtmf dtmf to send
1050
+ * @async
1051
+ * @returns {Promise<any>} Promise return the dtmf status
1052
+ * @instance
1053
+ * @function sendDtmf
1054
+ */
1055
+ sendDtmf(call: CallRB, dtmf: string): Promise<any>;
1056
+ clearCall(call: CallRB, nobroadcast?: boolean): void;
1057
+ startAsPhoneNumber(phoneNumber: string): boolean;
1058
+ updateContactFromOutlookInfos(__contact: Contact, __phoneNumber: string, __reload?: any, __mode?: any): any;
1059
+ /** *******************************************************/
1060
+ /** SIPWISE STUFF */
1061
+ /** *******************************************************/
1062
+ isSipWiseRoot(): boolean;
1063
+ setSipWise(condition: boolean): void;
1064
+ isSipWise(): boolean;
1065
+ isSipWiseEmulatedRingBackTone(): boolean;
1066
+ /** *********************** DEVICE STUFF *************************/
1067
+ /**
1068
+ * getSipWiseRoutingInfo
1069
+ * get from server the main device
1070
+ * (result update with event)
1071
+ */
1072
+ getSipWiseRoutingInfo(): void;
1073
+ /**
1074
+ * setSipWiseCurrentDevice
1075
+ * set on server the current device
1076
+ * currentDeviceId : the deviceId use as main/current
1077
+ * @param {string} currentDeviceId current device identifier
1078
+ */
1079
+ setSipWiseCurrentDevice(currentDeviceId: string): void;
1080
+ /** **************************************************************************************/
1081
+ /** *********************** CLI (Call Line identification) STUFF *************************/
1082
+ /** **************************************************************************************/
1083
+ /**
1084
+ * Method returns the CLI current option (only for SipWise user)
1085
+ * @param {boolean} [forceUpdate] whether the local data is updated
1086
+ * @returns {Promise<CliOption>} Current CLI option of user
1087
+ * @instance
1088
+ * @function getSipWiseCurrentCli
1089
+ */
1090
+ getSipWiseCurrentCli(forceUpdate?: boolean): Promise<CliOption>;
1091
+ /**
1092
+ * Method returns the CLI options available (only for SipWise user)
1093
+ * @param {boolean} [forceUpdate] whether the local data is updated
1094
+ * @returns {Promise<CliOption[]>} All CLI options of user
1095
+ * @instance
1096
+ * @function getSipWiseAllCli
1097
+ */
1098
+ getSipWiseAllCli(forceUpdate?: boolean): Promise<CliOption[]>;
1099
+ /**
1100
+ * Method returns the CLI current option if editable (only for SipWise user)
1101
+ * @returns {Promise<CliOption>} Current CLI option of user
1102
+ * @instance
1103
+ * @function getSipWiseCurrentCliIfEditable
1104
+ */
1105
+ getSipWiseCurrentCliIfEditable(): Promise<CliOption>;
1106
+ setSipWiseCliOption(cliOption: CliOption): Promise<any>;
1107
+ /**
1108
+ * Method returns the current CLIR option (only for SipWise user)
1109
+ * @returns {Promise<boolean>} Current CLIR option of user
1110
+ * @instance
1111
+ * @function
1112
+ */
1113
+ getSipWiseClir(): Promise<boolean>;
1114
+ /**
1115
+ * Method used to change the value of CLIR
1116
+ * @param {boolean} clirActivation whether CLIR should be activated
1117
+ * @returns {Promise<any>} resolve when option is set
1118
+ * @instance
1119
+ * @function
1120
+ */
1121
+ setSipWiseClirOption(clirActivation: boolean): Promise<any>;
1122
+ /**
1123
+ * @public
1124
+ * @function isMonolineIncomingModeActivated
1125
+ * @instance
1126
+ * @description
1127
+ * Returns TRUE if the monoline settings is activated for user or PBX system used by the user.
1128
+ * In that case, all second incoming calls should be ignored by the device that is currently in a call
1129
+ * @returns {boolean} resolve when option is set
1130
+ */
1131
+ isMonolineIncomingModeActivated(): boolean;
1132
+ /**
1133
+ * @public
1134
+ * @function getTelephonyLinePolicy
1135
+ * @instance
1136
+ * @description
1137
+ * Returns the telephonyline policy of the current user (used for hub systems only)
1138
+ * Possible values are "mono_line" / "multi_lines" / "multi_lines_plus"
1139
+ * @returns {boolean} resolve when data is set
1140
+ */
1141
+ getTelephonyLinePolicy(): string;
1142
+ /** *********************** GROUPS STUFF *************************/
1143
+ /**
1144
+ * Retrieve the user's hunt groups
1145
+ * @public
1146
+ * @async
1147
+ * @returns {Promise<void>} Status promise resolved when the process is complete
1148
+ * @instance
1149
+ * @function getUserHuntGroupsConfig
1150
+ */
1151
+ getUserHuntGroupsConfig(): Promise<void>;
1152
+ /**
1153
+ * Retrieve the Dynamic State
1154
+ * @public
1155
+ * @async
1156
+ * @param {string} userJidTel Telephony jid identifier of the user for which we request the ringing state
1157
+ * (this param is optional : not used to get the logged user's ringing state; it is used
1158
+ * by an attendant to get the ringing state of a supervised user)
1159
+ * @returns {Promise<void>} Status promise resolved when the process is complete
1160
+ * @instance
1161
+ * @function getOxeDynamicState
1162
+ */
1163
+ getOxeDynamicState(userJidTel?: string): Promise<any>;
1164
+ handleOxeUserGroupData(inHuntingGroupAttr: boolean): Promise<any>;
1165
+ /**
1166
+ * getOxeUserGroupData
1167
+ * @returns {IOxeGroup} Oxe hunt group data of the logged user:
1168
+ * it returns undefined if the user does not belong to an Oxe hunting group
1169
+ */
1170
+ getOxeUserGroupData(): IOxeGroup;
1171
+ /**
1172
+ * setOxeUserGroupLogged
1173
+ * Modify the internal logged state in the oxeUserGroupData structure
1174
+ * @param {boolean} logged true if the user is looged in the group
1175
+ */
1176
+ setOxeUserGroupLogged(logged: boolean): void;
1177
+ /**
1178
+ * setOxeDeskPhoneNonRinging
1179
+ * Modify the OXE set Deskphone in non Ringing state
1180
+ * @param {boolean} activated true if Deskphone in non Ringing state
1181
+ * @param activated
1182
+ */
1183
+ setOxeDeskPhoneNonRinging(activated: boolean): void;
1184
+ /**
1185
+ * getOxeDeskPhoneNonRinging
1186
+ * @returns boolean OXE set Deskphone in non Ringing state:
1187
+ */
1188
+ getOxeDeskPhoneNonRinging(): boolean;
1189
+ /**
1190
+ * setOxeDynamicStateReceived
1191
+ * Modify the OXE dynamic state with true if received
1192
+ */
1193
+ setOxeDynamicStateReceived(): void;
1194
+ /**
1195
+ * getOxeDynamicStateReceived
1196
+ * @returns boolean Dynamic State Oxe is received
1197
+ */
1198
+ getOxeDynamicStateReceived(): boolean;
1199
+ getAttendantBargeInConfig(): Promise<boolean>;
1200
+ /**
1201
+ * Set the oxe user's hunt group logged state (login / logout)
1202
+ * @public
1203
+ * @param {boolean} logged true for group login, false for group logout
1204
+ * @async
1205
+ * @returns {Promise<void>} Status promise resolved when the process is complete
1206
+ * @instance
1207
+ * @function setOxeUserHuntGroupLogin
1208
+ */
1209
+ setOxeUserHuntGroupLogin(logged: boolean): Promise<void>;
1210
+ /**
1211
+ * Set the oxe user Deskphone in non ringing state
1212
+ * @public
1213
+ * @param {boolean} activated true for silence, false for ringing
1214
+ * @param {string} userJidTel Telephony jid identifier of the user for which the ringing state must be changed
1215
+ * (this param is optional : not used to change the logged user's ringing state: it is used
1216
+ * to change the ringing state of a supervised user by an attendant)
1217
+ * @async
1218
+ * @returns {Promise<void>} Status promise resolved when the process is complete
1219
+ * @instance
1220
+ * @function setOxeDeskphoneRingingState
1221
+ */
1222
+ setOxeDeskphoneRingingState(activated: boolean, userJidTel?: string): Promise<void>;
1223
+ /**
1224
+ * Set on server the oxe user's secret identity mode
1225
+ * @public
1226
+ * @param {boolean} secretIdentityActivated true if activated
1227
+ * @async
1228
+ * @returns {Promise<void>} Status promise resolved when the process is complete
1229
+ * @instance
1230
+ * @function fetchOxeSecretIdentity
1231
+ */
1232
+ fetchOxeSecretIdentity(secretIdentityActivated: boolean): Promise<void>;
1233
+ /**
1234
+ * setOxeSecretIdentity
1235
+ * Modify the local var for oxe secret identity state
1236
+ * @param {boolean} oxeSecretIdentity true if secret identity activated
1237
+ * @param activated
1238
+ */
1239
+ setOxeSecretIdentity(oxeSecretIdentity: boolean): void;
1240
+ /**
1241
+ * getOxeSecretIdentity
1242
+ * @returns boolean OXE secret identity local state:
1243
+ */
1244
+ getOxeSecretIdentity(): boolean;
1245
+ /**
1246
+ * Set the oxe user Do Not Disturb
1247
+ * @public
1248
+ * @param {boolean} activated true if activated
1249
+ * @async
1250
+ * @returns {Promise<void>} Status promise resolved when the process is complete
1251
+ * @instance
1252
+ * @function setOxeDoNotDisturbState
1253
+ */
1254
+ setOxeDoNotDisturbState(DoNotDisturbActivated: boolean): Promise<void>;
1255
+ /**
1256
+ * setOxeDoNotDisturb
1257
+ * Modify the local var for oxe Do Not Disturb
1258
+ * @param {boolean} oxeDoNotDisturb true if Do Not DIsturb activated
1259
+ * @param activated
1260
+ */
1261
+ setOxeDoNotDisturb(oxeDoNotDisturb: boolean): void;
1262
+ /**
1263
+ * getOxeDoNotDisturb
1264
+ * @returns boolean OXE Do Not Disturb:
1265
+ */
1266
+ getOxeDoNotDisturb(): boolean;
1267
+ /**
1268
+ * sipWiseUserGroupsDataClear
1269
+ * clear user's groups data
1270
+ *
1271
+ */
1272
+ sipWiseUserGroupsDataClear(): void;
1273
+ /**
1274
+ * sipWiseGetFormerManagerAssistGrId
1275
+ * @returns {string} the former only one (1:1) mng-assist group (Deprecated but for compatibility)
1276
+ */
1277
+ sipWiseGetFormerManagerAssistGrId(): string;
1278
+ /**
1279
+ * sipWiseUserGroupsDataIsManagerAssistant
1280
+ * @returns {boolean} true if manager / assistant group
1281
+ */
1282
+ sipWiseUserGroupsDataIsManagerAssistant(): boolean;
1283
+ /**
1284
+ * sipWiseManAssistGetMyRole
1285
+ * @returns {string} my role
1286
+ */
1287
+ sipWiseManAssistGetMyRole(): string;
1288
+ /**
1289
+ * sipWiseManAssistIamManagerForwarded
1290
+ * @returns {boolean} true if i'am a manager forwarded on assistant
1291
+ */
1292
+ sipWiseManAssistIamManagerForwarded(): boolean;
1293
+ /**
1294
+ * getSipWiseUsersGroupData
1295
+ * @returns {any} group data
1296
+ */
1297
+ getSipWiseUserGroupsData(): any;
1298
+ /**
1299
+ * getSipWiseUserGroups
1300
+ * get on server the user's groups
1301
+ *
1302
+ */
1303
+ getSipWiseUserGroups(): Promise<void>;
1304
+ sipWiseGetMyHuntGroups(): HuntGroup[];
1305
+ sipWiseGetMyBasicCallCenterGroups(): HuntGroup[];
1306
+ /**
1307
+ * setSipWiseJoinGroup
1308
+ * @param {string} groupId group identifier
1309
+ */
1310
+ setSipWiseJoinGroup(groupId: string): Promise<void>;
1311
+ /**
1312
+ * setSipWiseLeaveGroup
1313
+ *@param {string} groupId group identifier
1314
+ */
1315
+ setSipWiseLeaveGroup(groupId: string): Promise<void>;
1316
+ /**
1317
+ * setSipWiseJoinAllGroups
1318
+ *
1319
+ */
1320
+ setSipWiseJoinAllGroups(): Promise<void>;
1321
+ /**
1322
+ * setSipWiseLeaveAllGroups
1323
+ *
1324
+ */
1325
+ setSipWiseLeaveAllGroups(): Promise<any>;
1326
+ /**
1327
+ * getSipWiseUserGroupsForwards
1328
+ * @param {string} groupId group identifier
1329
+ */
1330
+ getSipWiseUserGroupsForwards(groupId: string): Promise<void>;
1331
+ /**
1332
+ * setSipWiseUserGroupsForwards
1333
+ * @param {string} groupId group identifier
1334
+ * @param {string} callForwardType forward type
1335
+ * @param {any} forwardData forward data
1336
+ */
1337
+ setSipWiseUserGroupsForwards(groupId: string, callForwardType: string, forwardData: any): Promise<void>;
1338
+ /**
1339
+ * sipWiseManAssistActivat
1340
+ * @param {boolean} active true to activate the manager forward to assistant
1341
+ * @param {string} groupName Name of manager assistant group
1342
+ * @description Deprecated / former mng Assist way to activate manager forward
1343
+ * for new manager-Assistant as hunting group use instead
1344
+ */
1345
+ sipWiseManAssistActivate(active: boolean, groupName?: string): void;
1346
+ /** *********************** Manager-Assistant as Hunting Group STUFF *************************/
1347
+ /**
1348
+ * sipWiseManAssistAsHGJoinLeave
1349
+ * @param {string} action from {"join" or "leave"}
1350
+ * @param {string} groupId manager-assistant group id (optional)
1351
+ * @param {string} leaderId manager-assistant leader id from assistant point of view (optional)
1352
+ * @description
1353
+ */
1354
+ sipWiseManAssistAsHGJoinLeave(action?: string, groupId?: string, leaderId?: string): Promise<any>;
1355
+ /**
1356
+ * sipWiseUserGroupsDataIsMngAssistAsHG
1357
+ * @returns {boolean} true if manager / assistant group as hunting group
1358
+ */
1359
+ sipWiseUserGroupsDataIsMngAssistAsHG(): boolean;
1360
+ isHubManagerUser(): boolean;
1361
+ private onUpdateHuntingGroupsData;
1362
+ /** *********************** MISC STUFF *************************/
1363
+ oxoMultiCallMode(): boolean;
1364
+ sipWiseMode(): string;
1365
+ resetAllSipWiseCall(): Promise<void>;
1366
+ /** ***************************************************** */
1367
+ /** ***************************************************** */
1368
+ oxopbxsUpdateIndividualPassword(newPassword: string): Promise<any>;
1369
+ /**
1370
+ * Callback method called on reception of ON_WEBRTCGATEWAY_CONFIG_CHANGE event
1371
+ * @param {Event} __event Native event
1372
+ * @param {boolean} isConfigured True if mediapillar is configured
1373
+ * @param {string} remoteExtension Remote extension number of the mediapillar user
1374
+ */
1375
+ onMediaPillarConfigChanged(__event: Event, isConfigured: boolean, remoteExtension: string): void;
1376
+ /**
1377
+ * Callback method called on reception of ON_WEBRTCGATEWAY_STATE_CHG event
1378
+ * @param {Event} __event Native event
1379
+ * @param {boolean} mediaPillarAlive true if mediapillar is alive
1380
+ */
1381
+ onMediaPillarStateChanged(__event: Event, mediaPillarAlive: boolean): void;
1382
+ /** *******************************************************/
1383
+ /** TELEPHONY CAPABILITIES */
1384
+ /** *******************************************************/
1385
+ /**
1386
+ * @param {Call} call call
1387
+ * @param {Contact} destinationContact destination contact for which some capabilities are returned (such as makecall , blindtransfer)
1388
+ * @returns {any} object capabilities
1389
+ */
1390
+ getCapabilitiesForCall(call: CallRB, destinationContact?: Contact): any;
1391
+ /**
1392
+ *
1393
+ * @param {Contact} contact contact for which capabilities are returned
1394
+ * @returns {any} object contiaining capabilities of given contact
1395
+ */
1396
+ getCapabilitiesForContact(contact: Contact): any;
1397
+ /**
1398
+ *
1399
+ * @returns {any} object containing my capabilities
1400
+ */
1401
+ getCapabilitiesForMyContact(): any;
1402
+ computeTelCapabilities(): void;
1403
+ private computeAndNotifyTelCapabilitiesForCallsContacts;
1404
+ private computeAndNotifyTelCapabilitiesForCallContact;
1405
+ private computeAndNotifyTelCapabilitiesForMyContact;
1406
+ private telCapabilitiesEquals;
1407
+ private onActiveConversationChange;
1408
+ private onCallUpdated;
1409
+ /** *************************************************************/
1410
+ /** *************************************************************/
1411
+ computeAndNotifySupervisionCapabilities(contact: Contact, createSupervisionCapabilities?: boolean): void;
1412
+ getSupervisionCapabilitiesForContact(contact: Contact): any;
1413
+ private hasActiveBargeInConference;
1414
+ /**
1415
+ * Finds a still-ongoing conference that I previously created for this supervised contact via
1416
+ * bargeInCall() (runtime marker `bargeInSupervisedUserId`, set client-side, never persisted/cleared
1417
+ * by the server -- cleared client-side on ON_CONFERENCE_STOP_EVENT, see bargeInCall()).
1418
+ * Used both to let bargeInCall() rejoin it instead of restarting the whole ad-hoc sequence, and to
1419
+ * keep the bargeIn button available for that specific case (CRRAINB-54275).
1420
+ */
1421
+ private findRejoinableBargeInConference;
1422
+ /**
1423
+ * Recompute and notify the bargeIn capability for every currently known supervised contact
1424
+ * (across all my supervision groups), not just the members of one particular conference.
1425
+ * Needed because hasActiveBargeInConference() is a global (per-supervisor) state: starting or
1426
+ * ending a barge-in conference must update the button everywhere, and each supervised
1427
+ * contact's cell only re-renders when notified on ITS OWN rxSubject (CRRAINB-54275). Called
1428
+ * from bargeInCall() above, and from sfuCallArea.component.ts once the supervisor has left
1429
+ * their barge-in conference.
1430
+ */
1431
+ refreshBargeInCapabilities(): Promise<void>;
1432
+ private existHgOrCcqOrSfuIncomingCall;
1433
+ private onWebConferenceReleased;
1434
+ /** *************************************************************************************/
1435
+ putActiveTelephonyCallOnHold(conferenceSession?: any): Promise<void>;
1436
+ waitCallState(call: CallRB, expectedStatus: any[], timeout?: number, retryPeriod?: number): Promise<void>;
1437
+ private setAutoOffHookConference;
1438
+ private setWebConferenceInvitDeskphone;
1439
+ /** *********************** Voicemail language *************************/
1440
+ /**
1441
+ * get list of supported voicemail audio languages: de, en, fr, nl, es, it, ro, ar, he...
1442
+ * @public
1443
+ * @function
1444
+ * @async
1445
+ * @returns {Promise<any[]>} Status promise resolved with the list of supported languages for voicemail
1446
+ */
1447
+ getVoicemailSupportedLanguages(): Promise<any[]>;
1448
+ /**
1449
+ * get current voicemail language of logged user, among same_as_company, de, en, fr, nl, es, it, ro, ar, he...
1450
+ * @public
1451
+ * @function
1452
+ * @async
1453
+ * @returns {Promise<string>} Status promise resolved with the current voicemail language
1454
+ */
1455
+ getVoicemailLanguage(): Promise<string>;
1456
+ /**
1457
+ * modify logged user's voicemail language
1458
+ * New language possible values: same_as_company, de, en, fr, nl, es, it, ro, ar, he...
1459
+ * @public
1460
+ * @function
1461
+ * @param {string} voicemailLanguage new voicemail language to set for the logged user
1462
+ * @async
1463
+ * @returns {Promise<string>} Status promise resolved with the new voicemail language
1464
+ */
1465
+ updateVoicemailLanguage(voicemailLanguage: string): Promise<string>;
1466
+ isRemoteControlledPhoneCallId(phoneCallId: string): boolean;
1467
+ removeRemoteControlledPhoneCallId(phoneCallId: string): boolean;
1468
+ getCorrelatorDataFromManifest(phoneNumber: string): {
1469
+ correlatorData: string;
1470
+ correlatorDataHex: string;
1471
+ };
1472
+ setAutoAnswerCorrelatorIdResourceMap(correlatorId: string, resource?: string): void;
1473
+ getAutoAnswerCorrelatorIdResourceMap(correlatorId: string): any;
1474
+ removeAutoAnswerCorrelatorId(correlatorId: string): void;
1475
+ }
1476
+ //# sourceMappingURL=telephony.service.d.ts.map