o2g-node-sdk 1.0.1 → 2.4.1

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 (603) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +234 -5
  3. package/dist/o2g-node-sdk.js +38042 -1
  4. package/dist/o2g-node-sdk.js.map +1 -1
  5. package/dist/{ErrorInfo.d.ts → types/ErrorInfo.d.ts} +1 -0
  6. package/dist/types/ErrorInfo.d.ts.map +1 -0
  7. package/dist/{host.d.ts → types/host.d.ts} +3 -2
  8. package/dist/types/host.d.ts.map +1 -0
  9. package/dist/types/internal/access-mode.d.ts +2 -0
  10. package/dist/types/internal/access-mode.d.ts.map +1 -0
  11. package/dist/types/internal/events/chunk-eventing.d.ts +2 -0
  12. package/dist/types/internal/events/chunk-eventing.d.ts.map +1 -0
  13. package/dist/types/internal/events/event-dispatcher.d.ts +2 -0
  14. package/dist/types/internal/events/event-dispatcher.d.ts.map +1 -0
  15. package/dist/types/internal/events/event-packages.d.ts +2 -0
  16. package/dist/types/internal/events/event-packages.d.ts.map +1 -0
  17. package/dist/types/internal/o2g-application.d.ts +2 -0
  18. package/dist/types/internal/o2g-application.d.ts.map +1 -0
  19. package/dist/types/internal/rest/analytics-rest.d.ts +2 -0
  20. package/dist/types/internal/rest/analytics-rest.d.ts.map +1 -0
  21. package/dist/types/internal/rest/authentication-rest.d.ts +2 -0
  22. package/dist/types/internal/rest/authentication-rest.d.ts.map +1 -0
  23. package/dist/types/internal/rest/ccAgent-rest.d.ts +2 -0
  24. package/dist/types/internal/rest/ccAgent-rest.d.ts.map +1 -0
  25. package/dist/types/internal/rest/ccMngt-rest.d.ts +2 -0
  26. package/dist/types/internal/rest/ccMngt-rest.d.ts.map +1 -0
  27. package/dist/types/internal/rest/ccPilot-rest.d.ts +2 -0
  28. package/dist/types/internal/rest/ccPilot-rest.d.ts.map +1 -0
  29. package/dist/types/internal/rest/ccRealtime-rest.d.ts +2 -0
  30. package/dist/types/internal/rest/ccRealtime-rest.d.ts.map +1 -0
  31. package/dist/types/internal/rest/ccStatistics-rest.d.ts +45 -0
  32. package/dist/types/internal/rest/ccStatistics-rest.d.ts.map +1 -0
  33. package/dist/types/internal/rest/comlog-rest.d.ts +2 -0
  34. package/dist/types/internal/rest/comlog-rest.d.ts.map +1 -0
  35. package/dist/types/internal/rest/directory-rest.d.ts +2 -0
  36. package/dist/types/internal/rest/directory-rest.d.ts.map +1 -0
  37. package/dist/types/internal/rest/eventSummary-rest.d.ts +2 -0
  38. package/dist/types/internal/rest/eventSummary-rest.d.ts.map +1 -0
  39. package/dist/types/internal/rest/maint-rest.d.ts +2 -0
  40. package/dist/types/internal/rest/maint-rest.d.ts.map +1 -0
  41. package/dist/types/internal/rest/messaging-rest.d.ts +2 -0
  42. package/dist/types/internal/rest/messaging-rest.d.ts.map +1 -0
  43. package/dist/types/internal/rest/o2g-rest.d.ts +2 -0
  44. package/dist/types/internal/rest/o2g-rest.d.ts.map +1 -0
  45. package/dist/types/internal/rest/pbx-mngt-rest.d.ts +2 -0
  46. package/dist/types/internal/rest/pbx-mngt-rest.d.ts.map +1 -0
  47. package/dist/types/internal/rest/phone-set-prog-rest.d.ts +2 -0
  48. package/dist/types/internal/rest/phone-set-prog-rest.d.ts.map +1 -0
  49. package/dist/types/internal/rest/rest-service.d.ts +2 -0
  50. package/dist/types/internal/rest/rest-service.d.ts.map +1 -0
  51. package/dist/types/internal/rest/routing-rest.d.ts +2 -0
  52. package/dist/types/internal/rest/routing-rest.d.ts.map +1 -0
  53. package/dist/types/internal/rest/rsi-rest.d.ts +2 -0
  54. package/dist/types/internal/rest/rsi-rest.d.ts.map +1 -0
  55. package/dist/types/internal/rest/sessions-rest.d.ts +2 -0
  56. package/dist/types/internal/rest/sessions-rest.d.ts.map +1 -0
  57. package/dist/types/internal/rest/subscriptions-rest.d.ts +2 -0
  58. package/dist/types/internal/rest/subscriptions-rest.d.ts.map +1 -0
  59. package/dist/types/internal/rest/telephony-rest.d.ts +2 -0
  60. package/dist/types/internal/rest/telephony-rest.d.ts.map +1 -0
  61. package/dist/types/internal/rest/users-mngt-rest.d.ts +2 -0
  62. package/dist/types/internal/rest/users-mngt-rest.d.ts.map +1 -0
  63. package/dist/types/internal/rest/users-rest.d.ts +2 -0
  64. package/dist/types/internal/rest/users-rest.d.ts.map +1 -0
  65. package/dist/types/internal/service-end-point.d.ts +2 -0
  66. package/dist/types/internal/service-end-point.d.ts.map +1 -0
  67. package/dist/types/internal/service-factory.d.ts +2 -0
  68. package/dist/types/internal/service-factory.d.ts.map +1 -0
  69. package/dist/types/internal/session.d.ts +2 -0
  70. package/dist/types/internal/session.d.ts.map +1 -0
  71. package/dist/types/internal/types/analytics/analytics-types.d.ts +2 -0
  72. package/dist/types/internal/types/analytics/analytics-types.d.ts.map +1 -0
  73. package/dist/types/internal/types/cc-agent/cc-agent-types.d.ts +2 -0
  74. package/dist/types/internal/types/cc-agent/cc-agent-types.d.ts.map +1 -0
  75. package/dist/types/internal/types/cc-mngt/cc-mntg-types.d.ts +2 -0
  76. package/dist/types/internal/types/cc-mngt/cc-mntg-types.d.ts.map +1 -0
  77. package/dist/types/internal/types/cc-pilot/cc-pilot-types.d.ts +2 -0
  78. package/dist/types/internal/types/cc-pilot/cc-pilot-types.d.ts.map +1 -0
  79. package/dist/types/internal/types/cc-rt/cc-rt-types.d.ts +2 -0
  80. package/dist/types/internal/types/cc-rt/cc-rt-types.d.ts.map +1 -0
  81. package/dist/types/internal/types/cc-stat/abstract-filter.d.ts +2 -0
  82. package/dist/types/internal/types/cc-stat/abstract-filter.d.ts.map +1 -0
  83. package/dist/types/internal/types/cc-stat/ag-filter-impl.d.ts +2 -0
  84. package/dist/types/internal/types/cc-stat/ag-filter-impl.d.ts.map +1 -0
  85. package/dist/types/internal/types/cc-stat/cc-stat-types.d.ts +56 -0
  86. package/dist/types/internal/types/cc-stat/cc-stat-types.d.ts.map +1 -0
  87. package/dist/types/internal/types/cc-stat/context-impl.d.ts +2 -0
  88. package/dist/types/internal/types/cc-stat/context-impl.d.ts.map +1 -0
  89. package/dist/types/internal/types/cc-stat/on-stats-progress.d.ts +2 -0
  90. package/dist/types/internal/types/cc-stat/on-stats-progress.d.ts.map +1 -0
  91. package/dist/types/internal/types/cc-stat/pil-filter-impl.d.ts +2 -0
  92. package/dist/types/internal/types/cc-stat/pil-filter-impl.d.ts.map +1 -0
  93. package/dist/types/internal/types/cc-stat/requester-impl.d.ts +2 -0
  94. package/dist/types/internal/types/cc-stat/requester-impl.d.ts.map +1 -0
  95. package/dist/types/internal/types/cc-stat/scheduled-rep-impl.d.ts +2 -0
  96. package/dist/types/internal/types/cc-stat/scheduled-rep-impl.d.ts.map +1 -0
  97. package/dist/types/internal/types/comlog/comlog-types.d.ts +2 -0
  98. package/dist/types/internal/types/comlog/comlog-types.d.ts.map +1 -0
  99. package/dist/types/internal/types/common/common-types.d.ts +2 -0
  100. package/dist/types/internal/types/common/common-types.d.ts.map +1 -0
  101. package/dist/types/internal/types/directory/directory-types.d.ts +2 -0
  102. package/dist/types/internal/types/directory/directory-types.d.ts.map +1 -0
  103. package/dist/types/{eventsummary/event-summary-events.d.ts → internal/types/eventsummary/eventsummary-types.d.ts} +4 -5
  104. package/dist/types/internal/types/eventsummary/eventsummary-types.d.ts.map +1 -0
  105. package/dist/types/internal/types/maint/maint-types.d.ts +2 -0
  106. package/dist/types/internal/types/maint/maint-types.d.ts.map +1 -0
  107. package/dist/types/internal/types/messaging/messaging-types.d.ts +2 -0
  108. package/dist/types/internal/types/messaging/messaging-types.d.ts.map +1 -0
  109. package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts +2 -0
  110. package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts.map +1 -0
  111. package/dist/types/internal/types/phoneset/phoneset-types.d.ts +2 -0
  112. package/dist/types/internal/types/phoneset/phoneset-types.d.ts.map +1 -0
  113. package/dist/types/internal/types/routing/routing-types.d.ts +2 -0
  114. package/dist/types/internal/types/routing/routing-types.d.ts.map +1 -0
  115. package/dist/types/internal/types/rsi/rsi-types.d.ts +2 -0
  116. package/dist/types/internal/types/rsi/rsi-types.d.ts.map +1 -0
  117. package/dist/types/internal/types/telephony/telephony-types.d.ts +2 -0
  118. package/dist/types/internal/types/telephony/telephony-types.d.ts.map +1 -0
  119. package/dist/types/internal/types/users/users-types.d.ts +2 -0
  120. package/dist/types/internal/types/users/users-types.d.ts.map +1 -0
  121. package/dist/types/internal/util/IHttpClient.d.ts +2 -0
  122. package/dist/types/internal/util/IHttpClient.d.ts.map +1 -0
  123. package/dist/types/internal/util/assert.d.ts +2 -0
  124. package/dist/types/internal/util/assert.d.ts.map +1 -0
  125. package/dist/types/internal/util/file-utils.d.ts +2 -0
  126. package/dist/types/internal/util/file-utils.d.ts.map +1 -0
  127. package/dist/types/internal/util/format-util.d.ts +2 -0
  128. package/dist/types/internal/util/format-util.d.ts.map +1 -0
  129. package/dist/types/internal/util/hexa-string.d.ts +2 -0
  130. package/dist/types/internal/util/hexa-string.d.ts.map +1 -0
  131. package/dist/types/internal/util/http-client.d.ts +2 -0
  132. package/dist/types/internal/util/http-client.d.ts.map +1 -0
  133. package/dist/types/internal/util/http-content.d.ts +2 -0
  134. package/dist/types/internal/util/http-content.d.ts.map +1 -0
  135. package/dist/types/internal/util/http-response.d.ts +2 -0
  136. package/dist/types/internal/util/http-response.d.ts.map +1 -0
  137. package/dist/types/internal/util/injection-container.d.ts +5 -0
  138. package/dist/types/internal/util/injection-container.d.ts.map +1 -0
  139. package/dist/types/internal/util/logger.d.ts +7 -0
  140. package/dist/types/internal/util/logger.d.ts.map +1 -0
  141. package/dist/types/internal/util/util-uri.d.ts +2 -0
  142. package/dist/types/internal/util/util-uri.d.ts.map +1 -0
  143. package/dist/{o2g-analytics.d.ts → types/o2g-analytics.d.ts} +10 -15
  144. package/dist/types/o2g-analytics.d.ts.map +1 -0
  145. package/dist/types/o2g-cc-agent.d.ts +376 -0
  146. package/dist/types/o2g-cc-agent.d.ts.map +1 -0
  147. package/dist/types/o2g-cc-mngt.d.ts +213 -0
  148. package/dist/types/o2g-cc-mngt.d.ts.map +1 -0
  149. package/dist/types/o2g-cc-pilot.d.ts +71 -0
  150. package/dist/types/o2g-cc-pilot.d.ts.map +1 -0
  151. package/dist/types/o2g-cc-rt.d.ts +163 -0
  152. package/dist/types/o2g-cc-rt.d.ts.map +1 -0
  153. package/dist/types/o2g-cc-stat.d.ts +450 -0
  154. package/dist/types/o2g-cc-stat.d.ts.map +1 -0
  155. package/dist/types/o2g-comlog.d.ts +245 -0
  156. package/dist/types/o2g-comlog.d.ts.map +1 -0
  157. package/dist/types/o2g-directory.d.ts +109 -0
  158. package/dist/types/o2g-directory.d.ts.map +1 -0
  159. package/dist/types/o2g-eventSummary.d.ts +44 -0
  160. package/dist/types/o2g-eventSummary.d.ts.map +1 -0
  161. package/dist/types/o2g-maint.d.ts +82 -0
  162. package/dist/types/o2g-maint.d.ts.map +1 -0
  163. package/dist/types/o2g-messaging.d.ts +137 -0
  164. package/dist/types/o2g-messaging.d.ts.map +1 -0
  165. package/dist/types/o2g-node-sdk.d.ts +421 -0
  166. package/dist/types/o2g-node-sdk.d.ts.map +1 -0
  167. package/dist/types/o2g-pbx-mngt.d.ts +244 -0
  168. package/dist/types/o2g-pbx-mngt.d.ts.map +1 -0
  169. package/dist/types/o2g-phone-set-prog.d.ts +269 -0
  170. package/dist/types/o2g-phone-set-prog.d.ts.map +1 -0
  171. package/dist/types/o2g-routing.d.ts +313 -0
  172. package/dist/types/o2g-routing.d.ts.map +1 -0
  173. package/dist/{o2g-rsi.d.ts → types/o2g-rsi.d.ts} +7 -12
  174. package/dist/types/o2g-rsi.d.ts.map +1 -0
  175. package/dist/types/o2g-telephony.d.ts +895 -0
  176. package/dist/types/o2g-telephony.d.ts.map +1 -0
  177. package/dist/types/o2g-users-mngt.d.ts +83 -0
  178. package/dist/types/o2g-users-mngt.d.ts.map +1 -0
  179. package/dist/types/o2g-users.d.ts +127 -0
  180. package/dist/types/o2g-users.d.ts.map +1 -0
  181. package/dist/types/subscription.d.ts +379 -0
  182. package/dist/types/subscription.d.ts.map +1 -0
  183. package/dist/types/supervised-account.d.ts +40 -0
  184. package/dist/types/supervised-account.d.ts.map +1 -0
  185. package/dist/types/{analytics → types/analytics}/call-type.d.ts +1 -0
  186. package/dist/types/types/analytics/call-type.d.ts.map +1 -0
  187. package/dist/types/types/analytics/charging-file.d.ts +13 -0
  188. package/dist/types/types/analytics/charging-file.d.ts.map +1 -0
  189. package/dist/types/types/analytics/charging-result.d.ts +50 -0
  190. package/dist/types/types/analytics/charging-result.d.ts.map +1 -0
  191. package/dist/types/types/analytics/charging.d.ts +69 -0
  192. package/dist/types/types/analytics/charging.d.ts.map +1 -0
  193. package/dist/types/types/analytics/incident.d.ts +41 -0
  194. package/dist/types/types/analytics/incident.d.ts.map +1 -0
  195. package/dist/types/{analytics → types/analytics}/tel-facility.d.ts +1 -0
  196. package/dist/types/types/analytics/tel-facility.d.ts.map +1 -0
  197. package/dist/types/types/cc-agent/agent-groups.d.ts +11 -0
  198. package/dist/types/types/cc-agent/agent-groups.d.ts.map +1 -0
  199. package/dist/types/types/cc-agent/agent-skill-set.d.ts +43 -0
  200. package/dist/types/types/cc-agent/agent-skill-set.d.ts.map +1 -0
  201. package/dist/types/types/cc-agent/agent-skill.d.ts +15 -0
  202. package/dist/types/types/cc-agent/agent-skill.d.ts.map +1 -0
  203. package/dist/types/types/cc-agent/cc-agent-events.d.ts +44 -0
  204. package/dist/types/types/cc-agent/cc-agent-events.d.ts.map +1 -0
  205. package/dist/types/{cc-agent → types/cc-agent}/intrusion-mode.d.ts +3 -2
  206. package/dist/types/types/cc-agent/intrusion-mode.d.ts.map +1 -0
  207. package/dist/types/types/cc-agent/operator-config.d.ts +76 -0
  208. package/dist/types/types/cc-agent/operator-config.d.ts.map +1 -0
  209. package/dist/types/types/cc-agent/operator-state.d.ts +100 -0
  210. package/dist/types/types/cc-agent/operator-state.d.ts.map +1 -0
  211. package/dist/types/{cc-agent → types/cc-agent}/operator-type.d.ts +1 -0
  212. package/dist/types/types/cc-agent/operator-type.d.ts.map +1 -0
  213. package/dist/types/types/cc-agent/withdraw-reason.d.ts +23 -0
  214. package/dist/types/types/cc-agent/withdraw-reason.d.ts.map +1 -0
  215. package/dist/types/{cc-mngt → types/cc-mngt}/calendar/abstract-calendar.d.ts +2 -1
  216. package/dist/types/types/cc-mngt/calendar/abstract-calendar.d.ts.map +1 -0
  217. package/dist/types/types/cc-mngt/calendar/calendar.d.ts +22 -0
  218. package/dist/types/types/cc-mngt/calendar/calendar.d.ts.map +1 -0
  219. package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts +31 -0
  220. package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts.map +1 -0
  221. package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts +31 -0
  222. package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts.map +1 -0
  223. package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts +18 -0
  224. package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts.map +1 -0
  225. package/dist/types/types/cc-mngt/calendar/transition.d.ts +65 -0
  226. package/dist/types/types/cc-mngt/calendar/transition.d.ts.map +1 -0
  227. package/dist/types/types/cc-mngt/pilot-rule-set.d.ts +33 -0
  228. package/dist/types/types/cc-mngt/pilot-rule-set.d.ts.map +1 -0
  229. package/dist/types/types/cc-mngt/pilot-rule.d.ts +24 -0
  230. package/dist/types/types/cc-mngt/pilot-rule.d.ts.map +1 -0
  231. package/dist/types/types/cc-mngt/pilot.d.ts +58 -0
  232. package/dist/types/types/cc-mngt/pilot.d.ts.map +1 -0
  233. package/dist/types/types/cc-pilot/call-data-pilot.d.ts +50 -0
  234. package/dist/types/types/cc-pilot/call-data-pilot.d.ts.map +1 -0
  235. package/dist/types/types/cc-pilot/cc-pilot-events.d.ts +131 -0
  236. package/dist/types/types/cc-pilot/cc-pilot-events.d.ts.map +1 -0
  237. package/dist/types/types/cc-rt/agent-attributes.d.ts +50 -0
  238. package/dist/types/types/cc-rt/agent-attributes.d.ts.map +1 -0
  239. package/dist/types/types/cc-rt/agent-pg-attributes.d.ts +50 -0
  240. package/dist/types/types/cc-rt/agent-pg-attributes.d.ts.map +1 -0
  241. package/dist/types/types/cc-rt/agent-pg-type.d.ts +17 -0
  242. package/dist/types/types/cc-rt/agent-pg-type.d.ts.map +1 -0
  243. package/dist/types/types/cc-rt/agent-phone-state.d.ts +67 -0
  244. package/dist/types/types/cc-rt/agent-phone-state.d.ts.map +1 -0
  245. package/dist/types/types/cc-rt/agent-service-type.d.ts +16 -0
  246. package/dist/types/types/cc-rt/agent-service-type.d.ts.map +1 -0
  247. package/dist/types/types/cc-rt/agent-type.d.ts +16 -0
  248. package/dist/types/types/cc-rt/agent-type.d.ts.map +1 -0
  249. package/dist/types/types/cc-rt/cc-rt-events.d.ts +274 -0
  250. package/dist/types/types/cc-rt/cc-rt-events.d.ts.map +1 -0
  251. package/dist/types/types/cc-rt/other-pg-attributes.d.ts +18 -0
  252. package/dist/types/types/cc-rt/other-pg-attributes.d.ts.map +1 -0
  253. package/dist/types/types/cc-rt/other-pg-type.d.ts +22 -0
  254. package/dist/types/types/cc-rt/other-pg-type.d.ts.map +1 -0
  255. package/dist/types/types/cc-rt/pilot-attributes.d.ts +40 -0
  256. package/dist/types/types/cc-rt/pilot-attributes.d.ts.map +1 -0
  257. package/dist/types/types/cc-rt/queue-attributes.d.ts +30 -0
  258. package/dist/types/types/cc-rt/queue-attributes.d.ts.map +1 -0
  259. package/dist/types/types/cc-rt/queue-type.d.ts +23 -0
  260. package/dist/types/types/cc-rt/queue-type.d.ts.map +1 -0
  261. package/dist/types/types/cc-rt/rti-context.d.ts +56 -0
  262. package/dist/types/types/cc-rt/rti-context.d.ts.map +1 -0
  263. package/dist/types/types/cc-rt/rti-filter.d.ts +117 -0
  264. package/dist/types/types/cc-rt/rti-filter.d.ts.map +1 -0
  265. package/dist/types/types/cc-rt/rti-object-identifier.d.ts +34 -0
  266. package/dist/types/types/cc-rt/rti-object-identifier.d.ts.map +1 -0
  267. package/dist/types/types/cc-rt/rti-objects.d.ts +72 -0
  268. package/dist/types/types/cc-rt/rti-objects.d.ts.map +1 -0
  269. package/dist/types/types/cc-stats/agbypilot-attributes.d.ts +73 -0
  270. package/dist/types/types/cc-stats/agbypilot-attributes.d.ts.map +1 -0
  271. package/dist/types/types/cc-stats/agent-attributes.d.ts +377 -0
  272. package/dist/types/types/cc-stats/agent-attributes.d.ts.map +1 -0
  273. package/dist/types/types/cc-stats/agent-filter.d.ts +60 -0
  274. package/dist/types/types/cc-stats/agent-filter.d.ts.map +1 -0
  275. package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts +184 -0
  276. package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts.map +1 -0
  277. package/dist/types/types/cc-stats/data/ag-stats-row.d.ts +608 -0
  278. package/dist/types/types/cc-stats/data/ag-stats-row.d.ts.map +1 -0
  279. package/dist/types/types/cc-stats/data/data-obs-period.d.ts +20 -0
  280. package/dist/types/types/cc-stats/data/data-obs-period.d.ts.map +1 -0
  281. package/dist/types/types/cc-stats/data/pil-stats-row.d.ts +623 -0
  282. package/dist/types/types/cc-stats/data/pil-stats-row.d.ts.map +1 -0
  283. package/dist/types/types/cc-stats/data/selected-period.d.ts +49 -0
  284. package/dist/types/types/cc-stats/data/selected-period.d.ts.map +1 -0
  285. package/dist/types/types/cc-stats/data/stat-value.d.ts +36 -0
  286. package/dist/types/types/cc-stats/data/stat-value.d.ts.map +1 -0
  287. package/dist/types/types/cc-stats/data/stats-data.d.ts +64 -0
  288. package/dist/types/types/cc-stats/data/stats-data.d.ts.map +1 -0
  289. package/dist/types/types/cc-stats/events/progress-callback.d.ts +9 -0
  290. package/dist/types/types/cc-stats/events/progress-callback.d.ts.map +1 -0
  291. package/dist/types/types/cc-stats/events/progress-step.d.ts +20 -0
  292. package/dist/types/types/cc-stats/events/progress-step.d.ts.map +1 -0
  293. package/dist/types/types/cc-stats/language.d.ts +15 -0
  294. package/dist/types/types/cc-stats/language.d.ts.map +1 -0
  295. package/dist/types/types/cc-stats/pilot-attributes.d.ts +185 -0
  296. package/dist/types/types/cc-stats/pilot-attributes.d.ts.map +1 -0
  297. package/dist/types/types/cc-stats/pilot-filter.d.ts +45 -0
  298. package/dist/types/types/cc-stats/pilot-filter.d.ts.map +1 -0
  299. package/dist/types/types/cc-stats/requester.d.ts +33 -0
  300. package/dist/types/types/cc-stats/requester.d.ts.map +1 -0
  301. package/dist/types/types/cc-stats/scheduled/recurrence.d.ts +69 -0
  302. package/dist/types/types/cc-stats/scheduled/recurrence.d.ts.map +1 -0
  303. package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts +87 -0
  304. package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts.map +1 -0
  305. package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts +132 -0
  306. package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts.map +1 -0
  307. package/dist/types/types/cc-stats/stats-context.d.ts +66 -0
  308. package/dist/types/types/cc-stats/stats-context.d.ts.map +1 -0
  309. package/dist/types/types/cc-stats/stats-filter.d.ts +34 -0
  310. package/dist/types/types/cc-stats/stats-filter.d.ts.map +1 -0
  311. package/dist/types/types/cc-stats/stats-format.d.ts +17 -0
  312. package/dist/types/types/cc-stats/stats-format.d.ts.map +1 -0
  313. package/dist/types/types/cc-stats/time-interval.d.ts +19 -0
  314. package/dist/types/types/cc-stats/time-interval.d.ts.map +1 -0
  315. package/dist/types/types/comlog/com-record-participant.d.ts +75 -0
  316. package/dist/types/types/comlog/com-record-participant.d.ts.map +1 -0
  317. package/dist/types/types/comlog/com-record.d.ts +97 -0
  318. package/dist/types/types/comlog/com-record.d.ts.map +1 -0
  319. package/dist/types/types/comlog/comlog-events.d.ts +110 -0
  320. package/dist/types/types/comlog/comlog-events.d.ts.map +1 -0
  321. package/dist/types/{comlog/option.d.ts → types/comlog/filter-option.d.ts} +2 -1
  322. package/dist/types/types/comlog/filter-option.d.ts.map +1 -0
  323. package/dist/types/{comlog → types/comlog}/page.d.ts +2 -1
  324. package/dist/types/types/comlog/page.d.ts.map +1 -0
  325. package/dist/types/types/comlog/query-filter.d.ts +79 -0
  326. package/dist/types/types/comlog/query-filter.d.ts.map +1 -0
  327. package/dist/types/types/comlog/query-result.d.ts +55 -0
  328. package/dist/types/types/comlog/query-result.d.ts.map +1 -0
  329. package/dist/types/{comlog → types/comlog}/reason.d.ts +1 -0
  330. package/dist/types/types/comlog/reason.d.ts.map +1 -0
  331. package/dist/types/{comlog → types/comlog}/role.d.ts +1 -0
  332. package/dist/types/types/comlog/role.d.ts.map +1 -0
  333. package/dist/types/types/common/date-range.d.ts +17 -0
  334. package/dist/types/types/common/date-range.d.ts.map +1 -0
  335. package/dist/types/types/common/day-of-week.d.ts +15 -0
  336. package/dist/types/types/common/day-of-week.d.ts.map +1 -0
  337. package/dist/types/types/common/device-type.d.ts +22 -0
  338. package/dist/types/types/common/device-type.d.ts.map +1 -0
  339. package/dist/types/types/common/device.d.ts +75 -0
  340. package/dist/types/types/common/device.d.ts.map +1 -0
  341. package/dist/types/types/common/identifier.d.ts +20 -0
  342. package/dist/types/types/common/identifier.d.ts.map +1 -0
  343. package/dist/types/types/common/main-type.d.ts +26 -0
  344. package/dist/types/types/common/main-type.d.ts.map +1 -0
  345. package/dist/types/types/common/party-info-type.d.ts +22 -0
  346. package/dist/types/types/common/party-info-type.d.ts.map +1 -0
  347. package/dist/types/types/common/party-info.d.ts +28 -0
  348. package/dist/types/types/common/party-info.d.ts.map +1 -0
  349. package/dist/types/types/common/service-state.d.ts +20 -0
  350. package/dist/types/types/common/service-state.d.ts.map +1 -0
  351. package/dist/types/types/directory/criteria.d.ts +95 -0
  352. package/dist/types/types/directory/criteria.d.ts.map +1 -0
  353. package/dist/types/{directory → types/directory}/filter-item.d.ts +5 -4
  354. package/dist/types/types/directory/filter-item.d.ts.map +1 -0
  355. package/dist/types/types/directory/logical-operation.d.ts +14 -0
  356. package/dist/types/types/directory/logical-operation.d.ts.map +1 -0
  357. package/dist/types/{directory → types/directory}/operation-filter.d.ts +5 -4
  358. package/dist/types/types/directory/operation-filter.d.ts.map +1 -0
  359. package/dist/types/types/directory/result-item.d.ts +22 -0
  360. package/dist/types/types/directory/result-item.d.ts.map +1 -0
  361. package/dist/types/types/directory/search-result.d.ts +64 -0
  362. package/dist/types/types/directory/search-result.d.ts.map +1 -0
  363. package/dist/types/{events → types/events}/events.d.ts +37 -14
  364. package/dist/types/types/events/events.d.ts.map +1 -0
  365. package/dist/types/types/eventsummary/event-summary-counter.d.ts +69 -0
  366. package/dist/types/types/eventsummary/event-summary-counter.d.ts.map +1 -0
  367. package/dist/types/types/eventsummary/event-summary-events.d.ts +26 -0
  368. package/dist/types/types/eventsummary/event-summary-events.d.ts.map +1 -0
  369. package/dist/types/types/maint/configuration-type.d.ts +15 -0
  370. package/dist/types/types/maint/configuration-type.d.ts.map +1 -0
  371. package/dist/types/types/maint/cti-link-state.d.ts +19 -0
  372. package/dist/types/types/maint/cti-link-state.d.ts.map +1 -0
  373. package/dist/types/types/maint/license-status.d.ts +42 -0
  374. package/dist/types/types/maint/license-status.d.ts.map +1 -0
  375. package/dist/types/types/maint/license-type.d.ts +19 -0
  376. package/dist/types/types/maint/license-type.d.ts.map +1 -0
  377. package/dist/types/types/maint/license.d.ts +38 -0
  378. package/dist/types/types/maint/license.d.ts.map +1 -0
  379. package/dist/types/types/maint/maint-events.d.ts +105 -0
  380. package/dist/types/types/maint/maint-events.d.ts.map +1 -0
  381. package/dist/types/types/maint/pbx-status.d.ts +77 -0
  382. package/dist/types/types/maint/pbx-status.d.ts.map +1 -0
  383. package/dist/types/types/maint/server-address.d.ts +25 -0
  384. package/dist/types/types/maint/server-address.d.ts.map +1 -0
  385. package/dist/types/types/maint/service-status.d.ts +31 -0
  386. package/dist/types/types/maint/service-status.d.ts.map +1 -0
  387. package/dist/types/types/maint/subscriber-filter.d.ts +24 -0
  388. package/dist/types/types/maint/subscriber-filter.d.ts.map +1 -0
  389. package/dist/types/types/maint/sys-service-status.d.ts +33 -0
  390. package/dist/types/types/maint/sys-service-status.d.ts.map +1 -0
  391. package/dist/types/types/maint/sys-status.d.ts +79 -0
  392. package/dist/types/types/maint/sys-status.d.ts.map +1 -0
  393. package/dist/types/types/messaging/mailbox-info.d.ts +35 -0
  394. package/dist/types/types/messaging/mailbox-info.d.ts.map +1 -0
  395. package/dist/types/types/messaging/mailbox.d.ts +119 -0
  396. package/dist/types/types/messaging/mailbox.d.ts.map +1 -0
  397. package/dist/types/types/messaging/voice-message.d.ts +57 -0
  398. package/dist/types/types/messaging/voice-message.d.ts.map +1 -0
  399. package/dist/types/{pbxmngt → types/pbxmngt}/attribute-filter.d.ts +1 -0
  400. package/dist/types/types/pbxmngt/attribute-filter.d.ts.map +1 -0
  401. package/dist/types/types/pbxmngt/instance-filter.d.ts +72 -0
  402. package/dist/types/types/pbxmngt/instance-filter.d.ts.map +1 -0
  403. package/dist/types/types/pbxmngt/model.d.ts +221 -0
  404. package/dist/types/types/pbxmngt/model.d.ts.map +1 -0
  405. package/dist/types/types/pbxmngt/octet-string-length.d.ts +12 -0
  406. package/dist/types/types/pbxmngt/octet-string-length.d.ts.map +1 -0
  407. package/dist/types/types/pbxmngt/pbx-attr-map.d.ts +96 -0
  408. package/dist/types/types/pbxmngt/pbx-attr-map.d.ts.map +1 -0
  409. package/dist/types/types/pbxmngt/pbx-attribute.d.ts +182 -0
  410. package/dist/types/types/pbxmngt/pbx-attribute.d.ts.map +1 -0
  411. package/dist/types/types/pbxmngt/pbx-object.d.ts +73 -0
  412. package/dist/types/types/pbxmngt/pbx-object.d.ts.map +1 -0
  413. package/dist/types/types/pbxmngt/pbx.d.ts +23 -0
  414. package/dist/types/types/pbxmngt/pbx.d.ts.map +1 -0
  415. package/dist/types/types/pbxmngt/pbxmngt-events.d.ts +74 -0
  416. package/dist/types/types/pbxmngt/pbxmngt-events.d.ts.map +1 -0
  417. package/dist/types/types/phoneset/device-key.d.ts +36 -0
  418. package/dist/types/types/phoneset/device-key.d.ts.map +1 -0
  419. package/dist/types/types/phoneset/dynamic-state.d.ts +30 -0
  420. package/dist/types/types/phoneset/dynamic-state.d.ts.map +1 -0
  421. package/dist/types/types/phoneset/pin.d.ts +53 -0
  422. package/dist/types/types/phoneset/pin.d.ts.map +1 -0
  423. package/dist/types/types/phoneset/prog-key.d.ts +26 -0
  424. package/dist/types/types/phoneset/prog-key.d.ts.map +1 -0
  425. package/dist/types/types/phoneset/soft-key.d.ts +18 -0
  426. package/dist/types/types/phoneset/soft-key.d.ts.map +1 -0
  427. package/dist/types/{routing → types/routing}/destination.d.ts +1 -2
  428. package/dist/types/types/routing/destination.d.ts.map +1 -0
  429. package/dist/types/types/routing/dnd-state.d.ts +9 -0
  430. package/dist/types/types/routing/dnd-state.d.ts.map +1 -0
  431. package/dist/types/types/routing/forward-condition.d.ts +26 -0
  432. package/dist/types/types/routing/forward-condition.d.ts.map +1 -0
  433. package/dist/types/types/routing/forward.d.ts +53 -0
  434. package/dist/types/types/routing/forward.d.ts.map +1 -0
  435. package/dist/types/types/routing/overflow-condition.d.ts +22 -0
  436. package/dist/types/types/routing/overflow-condition.d.ts.map +1 -0
  437. package/dist/types/types/routing/overflow.d.ts +50 -0
  438. package/dist/types/types/routing/overflow.d.ts.map +1 -0
  439. package/dist/types/types/routing/routing-capabilities.d.ts +15 -0
  440. package/dist/types/types/routing/routing-capabilities.d.ts.map +1 -0
  441. package/dist/types/types/routing/routing-events.d.ts +23 -0
  442. package/dist/types/types/routing/routing-events.d.ts.map +1 -0
  443. package/dist/types/{routing → types/routing}/routing-state.d.ts +5 -20
  444. package/dist/types/types/routing/routing-state.d.ts.map +1 -0
  445. package/dist/types/{rsi → types/rsi}/add-digit-coll-criteria.d.ts +1 -0
  446. package/dist/types/types/rsi/add-digit-coll-criteria.d.ts.map +1 -0
  447. package/dist/types/{rsi → types/rsi}/collection-cause.d.ts +1 -0
  448. package/dist/types/types/rsi/collection-cause.d.ts.map +1 -0
  449. package/dist/types/types/rsi/route-session.d.ts +21 -0
  450. package/dist/types/types/rsi/route-session.d.ts.map +1 -0
  451. package/dist/types/{rsi → types/rsi}/routing-caller-type.d.ts +1 -0
  452. package/dist/types/types/rsi/routing-caller-type.d.ts.map +1 -0
  453. package/dist/types/{rsi → types/rsi}/routing-reason.d.ts +1 -0
  454. package/dist/types/types/rsi/routing-reason.d.ts.map +1 -0
  455. package/dist/types/types/rsi/rsi-events.d.ts +47 -0
  456. package/dist/types/types/rsi/rsi-events.d.ts.map +1 -0
  457. package/dist/types/types/rsi/rsi-point.d.ts +17 -0
  458. package/dist/types/types/rsi/rsi-point.d.ts.map +1 -0
  459. package/dist/types/{rsi → types/rsi}/tones.d.ts +1 -0
  460. package/dist/types/types/rsi/tones.d.ts.map +1 -0
  461. package/dist/types/{telephony → types/telephony}/RecordingAction.d.ts +1 -0
  462. package/dist/types/types/telephony/RecordingAction.d.ts.map +1 -0
  463. package/dist/types/types/telephony/call/call-cause.d.ts +123 -0
  464. package/dist/types/types/telephony/call/call-cause.d.ts.map +1 -0
  465. package/dist/types/types/telephony/call/call-data.d.ts +81 -0
  466. package/dist/types/types/telephony/call/call-data.d.ts.map +1 -0
  467. package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts +35 -0
  468. package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts.map +1 -0
  469. package/dist/types/types/telephony/call/ccd/acd-data.d.ts +50 -0
  470. package/dist/types/types/telephony/call/ccd/acd-data.d.ts.map +1 -0
  471. package/dist/types/types/telephony/call/ccd/call-profile.d.ts +112 -0
  472. package/dist/types/types/telephony/call/ccd/call-profile.d.ts.map +1 -0
  473. package/dist/types/types/telephony/call/ccd/pilot-info.d.ts +43 -0
  474. package/dist/types/types/telephony/call/ccd/pilot-info.d.ts.map +1 -0
  475. package/dist/types/types/telephony/call/ccd/pilot-status.d.ts +38 -0
  476. package/dist/types/types/telephony/call/ccd/pilot-status.d.ts.map +1 -0
  477. package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts +24 -0
  478. package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts.map +1 -0
  479. package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts +104 -0
  480. package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts.map +1 -0
  481. package/dist/types/types/telephony/call/ccd/queue-data.d.ts +23 -0
  482. package/dist/types/types/telephony/call/ccd/queue-data.d.ts.map +1 -0
  483. package/dist/types/types/telephony/call/correlator-data.d.ts +54 -0
  484. package/dist/types/types/telephony/call/correlator-data.d.ts.map +1 -0
  485. package/dist/types/types/telephony/call/leg.d.ts +57 -0
  486. package/dist/types/types/telephony/call/leg.d.ts.map +1 -0
  487. package/dist/types/types/telephony/call/media-state.d.ts +42 -0
  488. package/dist/types/types/telephony/call/media-state.d.ts.map +1 -0
  489. package/dist/types/types/telephony/call/participant.d.ts +34 -0
  490. package/dist/types/types/telephony/call/participant.d.ts.map +1 -0
  491. package/dist/types/types/telephony/call/record-state.d.ts +14 -0
  492. package/dist/types/types/telephony/call/record-state.d.ts.map +1 -0
  493. package/dist/types/types/telephony/call/tag.d.ts +37 -0
  494. package/dist/types/types/telephony/call/tag.d.ts.map +1 -0
  495. package/dist/types/types/telephony/call.d.ts +90 -0
  496. package/dist/types/types/telephony/call.d.ts.map +1 -0
  497. package/dist/types/types/telephony/callback.d.ts +33 -0
  498. package/dist/types/types/telephony/callback.d.ts.map +1 -0
  499. package/dist/types/types/telephony/device/device-state.d.ts +30 -0
  500. package/dist/types/types/telephony/device/device-state.d.ts.map +1 -0
  501. package/dist/types/types/telephony/device/operational-state.d.ts +18 -0
  502. package/dist/types/types/telephony/device/operational-state.d.ts.map +1 -0
  503. package/dist/types/types/telephony/hunting-group-status.d.ts +25 -0
  504. package/dist/types/types/telephony/hunting-group-status.d.ts.map +1 -0
  505. package/dist/types/types/telephony/hunting-groups.d.ts +33 -0
  506. package/dist/types/types/telephony/hunting-groups.d.ts.map +1 -0
  507. package/dist/types/types/telephony/mini-message.d.ts +37 -0
  508. package/dist/types/types/telephony/mini-message.d.ts.map +1 -0
  509. package/dist/types/types/telephony/telephonic-state.d.ts +34 -0
  510. package/dist/types/types/telephony/telephonic-state.d.ts.map +1 -0
  511. package/dist/types/types/telephony/telephony-events.d.ts +223 -0
  512. package/dist/types/types/telephony/telephony-events.d.ts.map +1 -0
  513. package/dist/types/types/telephony/trunk-indentification.d.ts +19 -0
  514. package/dist/types/types/telephony/trunk-indentification.d.ts.map +1 -0
  515. package/dist/types/types/telephony/user/user-state.d.ts +18 -0
  516. package/dist/types/types/telephony/user/user-state.d.ts.map +1 -0
  517. package/dist/types/types/users/preferences.d.ts +29 -0
  518. package/dist/types/types/users/preferences.d.ts.map +1 -0
  519. package/dist/types/types/users/supported-languages.d.ts +29 -0
  520. package/dist/types/types/users/supported-languages.d.ts.map +1 -0
  521. package/dist/types/types/users/user.d.ts +67 -0
  522. package/dist/types/types/users/user.d.ts.map +1 -0
  523. package/dist/types/types/users/users-events.d.ts +78 -0
  524. package/dist/types/types/users/users-events.d.ts.map +1 -0
  525. package/dist/types/types/users/voicemail-type.d.ts +18 -0
  526. package/dist/types/types/users/voicemail-type.d.ts.map +1 -0
  527. package/dist/types/types/users/voicemail.d.ts +20 -0
  528. package/dist/types/types/users/voicemail.d.ts.map +1 -0
  529. package/package.json +41 -7
  530. package/dist/o2g-cc-agent.d.ts +0 -247
  531. package/dist/o2g-cc-mngt.d.ts +0 -32
  532. package/dist/o2g-cc-pilot.d.ts +0 -42
  533. package/dist/o2g-comlog.d.ts +0 -173
  534. package/dist/o2g-directory.d.ts +0 -88
  535. package/dist/o2g-eventSummary.d.ts +0 -33
  536. package/dist/o2g-maint.d.ts +0 -48
  537. package/dist/o2g-messaging.d.ts +0 -115
  538. package/dist/o2g-node-sdk.d.ts +0 -159
  539. package/dist/o2g-pbx-mngt.d.ts +0 -146
  540. package/dist/o2g-phone-set-prog.d.ts +0 -29
  541. package/dist/o2g-routing.d.ts +0 -267
  542. package/dist/o2g-telephony.d.ts +0 -795
  543. package/dist/o2g-user-mngt.d.ts +0 -42
  544. package/dist/o2g-users.d.ts +0 -85
  545. package/dist/subscription.d.ts +0 -258
  546. package/dist/types/analytics/charging-file.d.ts +0 -27
  547. package/dist/types/analytics/charging-result.d.ts +0 -43
  548. package/dist/types/analytics/charging.d.ts +0 -105
  549. package/dist/types/analytics/incident.d.ts +0 -46
  550. package/dist/types/analytics/time-range.d.ts +0 -22
  551. package/dist/types/cc-agent/cc-agent-events.d.ts +0 -54
  552. package/dist/types/cc-agent/cc-agent-types.d.ts +0 -71
  553. package/dist/types/cc-agent/operator-dyn-state.d.ts +0 -56
  554. package/dist/types/cc-agent/operator-main-state.d.ts +0 -21
  555. package/dist/types/cc-mngt/calendar/calendar.d.ts +0 -19
  556. package/dist/types/cc-mngt/calendar/day-of-week.d.ts +0 -33
  557. package/dist/types/cc-mngt/calendar/exception-calendar.d.ts +0 -26
  558. package/dist/types/cc-mngt/calendar/normal-calendar.d.ts +0 -27
  559. package/dist/types/cc-mngt/calendar/transition.d.ts +0 -49
  560. package/dist/types/cc-mngt/cc-mngt-types.d.ts +0 -0
  561. package/dist/types/cc-mngt/pilot-rule-set.d.ts +0 -27
  562. package/dist/types/cc-mngt/pilot-rule.d.ts +0 -14
  563. package/dist/types/cc-mngt/pilot.d.ts +0 -56
  564. package/dist/types/cc-pilot/cc-pilot-events.d.ts +0 -111
  565. package/dist/types/comlog/com-record.d.ts +0 -51
  566. package/dist/types/comlog/comlog-events.d.ts +0 -74
  567. package/dist/types/comlog/comlog-types.d.ts +0 -131
  568. package/dist/types/comlog/query-filter.d.ts +0 -44
  569. package/dist/types/comlog/query-result.d.ts +0 -27
  570. package/dist/types/common/common-types.d.ts +0 -78
  571. package/dist/types/directory/criteria.d.ts +0 -90
  572. package/dist/types/directory/directory-types.d.ts +0 -44
  573. package/dist/types/events/o2g-event.d.ts +0 -3
  574. package/dist/types/eventsummary/event-summary-counter.d.ts +0 -44
  575. package/dist/types/maint/maint-events.d.ts +0 -51
  576. package/dist/types/maint/maint-types.d.ts +0 -162
  577. package/dist/types/messaging/messaging-types.d.ts +0 -120
  578. package/dist/types/pbxmngt/attribute-type.d.ts +0 -34
  579. package/dist/types/pbxmngt/filter.d.ts +0 -46
  580. package/dist/types/pbxmngt/model.d.ts +0 -63
  581. package/dist/types/pbxmngt/pbx-attr-map.d.ts +0 -91
  582. package/dist/types/pbxmngt/pbx-attribute.d.ts +0 -87
  583. package/dist/types/pbxmngt/pbx-object.d.ts +0 -45
  584. package/dist/types/pbxmngt/pbxmngt-events.d.ts +0 -59
  585. package/dist/types/pbxmngt/pbxmngt-types.d.ts +0 -14
  586. package/dist/types/phoneset/device-key.d.ts +0 -27
  587. package/dist/types/phoneset/phoneset-types.d.ts +0 -17
  588. package/dist/types/phoneset/pin-control.d.ts +0 -21
  589. package/dist/types/phoneset/pin.d.ts +0 -50
  590. package/dist/types/phoneset/programmable-key.d.ts +0 -23
  591. package/dist/types/phoneset/softkey.d.ts +0 -17
  592. package/dist/types/routing/forward.d.ts +0 -51
  593. package/dist/types/routing/overflow.d.ts +0 -42
  594. package/dist/types/routing/routing-capability.d.ts +0 -31
  595. package/dist/types/routing/routing-events.d.ts +0 -15
  596. package/dist/types/routing/routing-types.d.ts +0 -10
  597. package/dist/types/rsi/rsi-events.d.ts +0 -76
  598. package/dist/types/rsi/rsi-types.d.ts +0 -49
  599. package/dist/types/telephony/acr-skill.d.ts +0 -29
  600. package/dist/types/telephony/telephony-events.d.ts +0 -292
  601. package/dist/types/telephony/telephony-types.d.ts +0 -587
  602. package/dist/types/users/users-events.d.ts +0 -33
  603. package/dist/types/users/users-types.d.ts +0 -129
@@ -1,795 +0,0 @@
1
- import EventEmitter from "events";
2
- import TelephonyRest from "./internal/rest/telephony-rest";
3
- import { AcrSkill } from "./types/telephony/acr-skill";
4
- import { RecordingAction } from "./types/telephony/RecordingAction";
5
- import { HuntingGroups, Call, Leg, TelephonicState, Participant, DeviceState, HuntingGroupStatus, Callback, MiniMessage } from "./types/telephony/telephony-types";
6
- import { EventRegistry } from "./internal/events/event-dispatcher";
7
- /**
8
- * The TelephonyService allows a user to initiate a call and to activate
9
- * any kind of OmniPCX Enterprise telephony services.
10
- * <p>
11
- * Using this service requires having a <b>TELEPHONY_ADVANCED</b> license,
12
- * except for the 3 basic services
13
- * {@link basicMakeCall}, {@link basicAnswerCall} and {@link basicDropMe} that are available without any
14
- * license.
15
- *
16
- */
17
- export declare class Telephony extends EventEmitter {
18
- private readonly _telephonyRest;
19
- /**
20
- * Occurs in response to a snapshot request.
21
- * @event
22
- */
23
- static readonly ON_TELEPHONY_STATE = "OnTelephonyState";
24
- /**
25
- * Occurs when a new call is created.
26
- * @event
27
- */
28
- static readonly ON_CALL_CREATED = "OnCallCreated";
29
- /**
30
- * Occurs when an existing call is modified.
31
- * @event
32
- */
33
- static readonly ON_CALL_MODIFIED = "OnCallModified";
34
- /**
35
- * Occurs when a call has been removed.
36
- * @event
37
- */
38
- static readonly ON_CALL_REMOVED = "OnCallRemoved";
39
- /**
40
- * Occurs when a user's state has been modified.
41
- * @event
42
- */
43
- static readonly ON_USER_STATE_MODIFIED = "OnUserStateModified";
44
- /**
45
- * Occurs when a device's state has been modified.
46
- * @event
47
- */
48
- static readonly ON_DEVICE_STATE_MODIFIED = "OnDeviceStateModified";
49
- /**
50
- * Occurs when a user's dynamic state change.
51
- * @event
52
- */
53
- static readonly ON_DYNAMIC_STATE_CHANGED = "OnDynamicStateChanged";
54
- /**
55
- *
56
- * @internal
57
- */
58
- constructor(_telephonyRest: TelephonyRest, eventRegistry: EventRegistry);
59
- /**
60
- * Initiates a call from the specified device to the specified called number.
61
- * <p>
62
- * If the session is opened by a user, the device phone number must be one of
63
- * the user.
64
- * <p>
65
- * If the automatic answer on make call 'autoAnswer' parameter is set to
66
- * 'false' the deviceId is called before launching the make call to
67
- * callee, else callee is called immediately
68
- *
69
- * @param deviceId the device phone number for which the call is made
70
- * @param callee the called number
71
- * @param autoAnswer automatic answer on make call.
72
- */
73
- basicMakeCall(deviceId: string, callee: string, autoAnswer?: boolean): Promise<boolean>;
74
- /**
75
- * Answers to an incoming ringing call on the specified device.
76
- * <p>
77
- * If the session is opened by a user, the device phone number must be one of
78
- * the user.
79
- *
80
- * @param deviceId the device phone number
81
- */
82
- basicAnswerCall(deviceId: string): Promise<boolean>;
83
- /**
84
- * Exits from the call for the specified user.
85
- * <p>
86
- * If the session has been opened for a user, the 'loginName' parameter is
87
- * ignored, but it is mandatory if the session has been opened by an
88
- * administrator.
89
- * <p>
90
- * if the call is a single call, it is released; if it is a conference, the call
91
- * carries on without the user.
92
- *
93
- * @param loginName the login name for whom the drop is done
94
- */
95
- basicDropMe(loginName?: string | null): Promise<boolean>;
96
- /**
97
- * Retrieves the calls in progress for the specified user.
98
- * <p>
99
- * If the session has been opened for a user, the 'loginName' parameter is
100
- * ignored, but it is mandatory if the session has been opened by an
101
- * administrator.
102
- *
103
- * @param loginName the login name
104
- */
105
- getCalls(loginName?: string | null): Promise<Call[] | null>;
106
- /**
107
- * Returns the call specified by the call reference for the specified user.
108
- * <p>
109
- * If the session has been opened for a user, the 'loginName' parameter is
110
- * ignored, but it is mandatory if the session has been opened by an
111
- * administrator.
112
- *
113
- * @param callRef the call reference
114
- * @param loginName the login name
115
- */
116
- getCall(callRef: string, loginName?: string | null): Promise<Call | null>;
117
- /**
118
- * Initiates a call from the specified device to the specified called number for
119
- * the specified user.
120
- * <p>
121
- * If the session has been opened for a user, the 'loginName' parameter is
122
- * ignored, but it is mandatory if the session has been opened by an
123
- * administrator.
124
- * <p>
125
- * If the automatic answer on make call 'autoAnswer' parameter is set to
126
- * 'false' the deviceId is called before launching the make call to
127
- * callee, else callee is called immediately
128
- *
129
- * @param deviceId the device phone number for which the call is made
130
- * @param callee the called number
131
- * @param autoAnswer automatic answer on make call.
132
- * @param loginName the login name
133
- */
134
- makeCall(deviceId: string, callee: string, autoAnswer?: boolean, loginName?: string | null): Promise<boolean>;
135
- /**
136
- * Initiates a new call to another user (the callee), using the specified deviceId and options.
137
- * <p>
138
- * If the session has been opened for a user, the 'loginName' parameter is
139
- * ignored, but it is mandatory if the session has been opened by an
140
- * administrator.
141
- * <p>
142
- * Use the makeCallEx service to initiated a call from one of the devices of the logged user.
143
- * First, the call server initiates a call on the user 'deviceId'. Then when the call is answered the call server starts the call to the 'callee'.
144
- * an {@link ON_CALL_CREATED} is raised.
145
- * <p>
146
- * If <c>inhibitProgressTone</c> is <see langword="true"/>, progress tone is inhibited on an outbound call.
147
- * <p>
148
- * The callingNumber is used on an outbound call to to present another calling number on the public network call in order to hide the real calling extension number.
149
- *
150
- * @param deviceId the device phone number for which the call is made
151
- * @param callee the called number
152
- * @param autoAnswer automatic answer on make call
153
- * @param inhibitProgressTone allows to inhibit the progress tone on the current external call
154
- * @param associatedData correlator data to add to the call
155
- * @param callingNumber calling number to present to the public network
156
- * @param loginName the login name
157
- */
158
- makeCallEx(deviceId: string, callee: string, autoAnswer?: boolean, inhibitProgressTone?: boolean, associatedData?: string | null, callingNumber?: string | null, loginName?: string | null): Promise<boolean>;
159
- /**
160
- * Initiates a new private call to another user (the callee), using a pin code and an optional secret code.
161
- * <p>
162
- * If the session has been opened for a user, the 'loginName' parameter is
163
- * ignored, but it is mandatory if the session has been opened by an
164
- * administrator.
165
- * <p>
166
- * The private call is a service which allows a user to specify that the external call made is personal and not professional.The charging for this
167
- * type of call can then be given specific processing.
168
- * <p>
169
- * Use the 'makePrivateCall' service to initiated a private call from one of the devices of the logged user. First, the call server initiates a
170
- * call on the user 'deviceId'. Then when the call is answered the call server starts the call to the 'callee'.
171
- * an {@link ON_CALL_CREATED} is raised.
172
- * <p>
173
- * The private call requires the user enters a PIN code (Personal Identification Number).
174
- *
175
- * @param deviceId the device phone number for which the call is made
176
- * @param callee the called number
177
- * @param pin the PIN code to identify the caller
178
- * @param secretCode the optional secret code used to confirm the PIN code
179
- * @param loginName the login name
180
- */
181
- makePrivateCall(deviceId: string, callee: string, pin: string, secretCode?: string | null, loginName?: string | null): Promise<boolean>;
182
- /**
183
- * Initiates a new business call to another user (the callee), using the specified business code.
184
- * <p>
185
- * If the session has been opened for a user, the 'loginName' parameter is
186
- * ignored, but it is mandatory if the session has been opened by an
187
- * administrator.
188
- * <p>
189
- * Use the 'makeBusinessCall' service to initiated a business call from one of the devices of the logged user. First, the call server initiates a
190
- * call on the user 'deviceId'. Then when the call is answered the call server starts the call to the 'callee'.
191
- * an {@link ON_CALL_CREATED} is raised.
192
- * <p>
193
- *
194
- * @param deviceId the device phone number for which the call is made
195
- * @param callee the called number
196
- * @param businessCode the cost center on which the call will be charged
197
- * @param loginName the login name
198
- */
199
- makeBusinessCall(deviceId: string, callee: string, businessCode: string, loginName?: string | null): Promise<boolean>;
200
- /**
201
- * Initiates a call from a CCD agent to a supervisor.
202
- * <p>
203
- * If the session has been opened for a user, the 'loginName' parameter is
204
- * ignored, but it is mandatory if the session has been opened by an
205
- * administrator.
206
- * <p>
207
- * Use the 'makeSupervisorCall' service to initiated to initiated a call from an agent to a supervisor. First, the call server initiates a
208
- * call on the agent 'deviceId'. Then, when the call is answered the call server calls the supervisor.
209
- * an {@link ON_CALL_CREATED} is raised.
210
- * <p>
211
- *
212
- * @param deviceId the device phone number for which the call is made
213
- * @param autoAnswer automatic answer on make call
214
- * @param loginName the login name
215
- */
216
- makeSupervisorCall(deviceId: string, autoAnswer?: boolean, loginName?: string | null): Promise<boolean>;
217
- /**
218
- * Initiates an enquiry call from a CCD agent to a pilot or a RSI point.
219
- * <p>
220
- * If the session has been opened for a user, the 'loginName' parameter is
221
- * ignored, but it is mandatory if the session has been opened by an
222
- * administrator.
223
- * <p>
224
- * Use the 'makePilotOrRSISupervisedTransferCall' service to initiated an enquiry call to a CCD pilot or an RSI point from a CCD operator.
225
- * <p>
226
- * The CCD pilot or the RSI point performs a call distribution to select an agent that will be alerted by this call. The 'callProfile' is mandatory
227
- * in case of "Advanced Call Routing" call distribution strategy.
228
- *
229
- * @param deviceId the device phone number for which the call is made
230
- * @param pilot called CCD pilot or RSI point number
231
- * @param associatedData correlator data to add to the call
232
- * @param callProfile The call profile associated to this call
233
- * @param loginName the login name
234
- */
235
- makePilotOrRSISupervisedTransferCall(deviceId: string, pilot: string, associatedData?: string | null, callProfile?: AcrSkill[] | null, loginName?: string | null): Promise<boolean | null>;
236
- /**
237
- * Initiates an local call to a CCD pilot or a RSI point.
238
- * <p>
239
- * If the session has been opened for a user, the 'loginName' parameter is
240
- * ignored, but it is mandatory if the session has been opened by an
241
- * administrator.
242
- * <p>
243
- * Use the 'makePilotOrRSICall' service to initiated a local call to a CCD pilot or an RSI point.
244
- * <p>
245
- * The CCD pilot or the RSI point performs a call distribution to select an agent that will be alerted by this call. The 'callProfile' is mandatory
246
- * in case of "Advanced Call Routing" call distribution strategy.
247
- *
248
- * @param deviceId the device phone number for which the call is made
249
- * @param pilot called CCD pilot or RSI point number.
250
- * @param autoAnswer automatic answer on make call
251
- * @param associatedData correlator data to add to the call
252
- * @param callProfile The call profile associated to this call
253
- * @param loginName the login name
254
- */
255
- makePilotOrRSICall(deviceId: string, pilot: string, autoAnswer?: boolean, associatedData?: string | null, callProfile?: AcrSkill[] | null, loginName?: string | null): Promise<boolean | null>;
256
- /**
257
- * Puts an active call on hold and retrieve a call that has been previously put
258
- * in hold.
259
- * <p>
260
- * If the session is opened by a user, the device phone number must be one of
261
- * the user.
262
- *
263
- * @param callRef the call reference of the call on hold
264
- * @param deviceId the device phone number for which the operation is done
265
- */
266
- alternate(callRef: string, deviceId: string): Promise<boolean>;
267
- /**
268
- * Answers to an incoming ringing call specified by it reference.
269
- * <p>
270
- * If the session is opened by a user, the device phone number must be one of
271
- * the user.
272
- * <p>
273
- * Answering a call will fail if the call state is not correct. The state can be
274
- * checked by listening to the telephony events, and more specifically by
275
- * checking the capabilities of the involved leg. (answer capability on the
276
- * leg).
277
- *
278
- * @param callRef the call reference of the call on hold
279
- * @param deviceId the device phone number for which the operation is done
280
- */
281
- answer(callRef: string, deviceId: string): Promise<boolean>;
282
- /**
283
- * Associates data to a previously established call.
284
- * <p>
285
- * If the session is opened by a user, the device phone number must be one of
286
- * the user.
287
- *
288
- * @param callRef the call reference of the call on hold
289
- * @param deviceId the device phone number for which the operation is done
290
- * @param associatedData the associated data
291
- */
292
- attachData(callRef: string, deviceId: string, associatedData: string): Promise<boolean>;
293
- /**
294
- * Transfers the active call to another user, without keeping control on this
295
- * call.
296
- * <p>
297
- * If the session has been opened for a user, the 'loginName' parameter is
298
- * ignored, but it is mandatory if the session has been opened by an
299
- * administrator.
300
- *
301
- * @param callRef the reference of the active call
302
- * @param transferTo the phone number to which the call is transfered
303
- * @param anonymous anonymous transfer if this parameter is 'true', the
304
- * call will be transfered as anonymous
305
- * @param loginName the login name
306
- */
307
- blindTransfer(callRef: string, transferTo: string, anonymous?: boolean, loginName?: string | null): Promise<boolean>;
308
- /**
309
- * Requests a callback on the call specified by the call reference for the
310
- * specified user.
311
- * <p>
312
- * If the session has been opened for a user, the 'loginName' parameter is
313
- * ignored, but it is mandatory if the session has been opened by an
314
- * administrator.
315
- *
316
- * @param callRef the call reference
317
- * @param loginName the login name
318
- */
319
- callback(callRef: string, loginName?: string | null): Promise<boolean>;
320
- /**
321
- * Returns the legs involved by the call specified by the call reference for the
322
- * specified user.
323
- * <p>
324
- * If the session has been opened for a user, the 'loginName' parameter is
325
- * ignored, but it is mandatory if the session has been opened by an
326
- * administrator.
327
- *
328
- * @param callRef the call reference
329
- * @param loginName the login name
330
- */
331
- getDeviceLegs(callRef: string, loginName?: string | null): Promise<Leg[] | null>;
332
- /**
333
- * Returns the leg specified by its id, involved by the call specified by the
334
- * call reference for the specified user.
335
- * <p>
336
- * If the session has been opened for a user, the 'loginName' parameter is
337
- * ignored, but it is mandatory if the session has been opened by an
338
- * administrator.
339
- *
340
- * @param callRef the call reference
341
- * @param legId the leg identifier
342
- * @param loginName the login name
343
- */
344
- getDeviceLeg(callRef: string, legId: string, loginName?: string | null): Promise<Leg | null>;
345
- /**
346
- * Exits from the call specified by its reference for the specified user.
347
- * <p>
348
- * If the session has been opened for a user, the 'loginName' parameter is
349
- * ignored, but it is mandatory if the session has been opened by an
350
- * administrator.
351
- * <p>
352
- * if the call is a single call, it is released; if it is a conference, the call
353
- * carries on without the user.
354
- *
355
- * @param callRef the call reference
356
- * @param loginName the login name for whom the drop is done
357
- */
358
- dropme(callRef: string, loginName?: string | null): Promise<boolean>;
359
- /**
360
- * Puts on hold the call specified by its reference, on the specified device,
361
- * for the specified user.
362
- * <p>
363
- * If the session has been opened for a user, the 'loginName' parameter is
364
- * ignored, but it is mandatory if the session has been opened by an
365
- * administrator.
366
- *
367
- * @param callRef the call reference
368
- * @param deviceId the device phone number from which the call put on hold
369
- * @param loginName the login name
370
- */
371
- hold(callRef: string, deviceId: string, loginName?: string | null): Promise<boolean>;
372
- /**
373
- * Makes a 3-party conference with a specified active call and a specified held
374
- * call for the specified user.
375
- * <p>
376
- * If the session has been opened for a user, the 'loginName' parameter is
377
- * ignored, but it is mandatory if the session has been opened by an
378
- * administrator.
379
- *
380
- * @param callRef the active call reference
381
- * @param heldCallRef the held call reference
382
- * @param loginName the login name
383
- */
384
- merge(callRef: string, heldCallRef: string, loginName?: string | null): Promise<boolean>;
385
- /**
386
- * Redirects an outgoing ringing call specified by its reference to the voice
387
- * mail of the called user.
388
- * <p>
389
- * If the session has been opened for a user, the 'loginName' parameter is
390
- * ignored, but it is mandatory if the session has been opened by an
391
- * administrator.
392
- *
393
- * @param callRef the ringing call reference
394
- * @param loginName the login name
395
- */
396
- overflowToVoiceMail(callRef: string, loginName?: string | null): Promise<boolean>;
397
- /**
398
- * Gets the telephonic state and capabilities for the specified user.
399
- * <p>
400
- * If the session has been opened for a user, the 'loginName' parameter is
401
- * ignored, but it is mandatory if the session has been opened by an
402
- * administrator.
403
- *
404
- * @param loginName the login name
405
- */
406
- getState(loginName?: string | null): Promise<TelephonicState | null>;
407
- /**
408
- * Parks the specified active call to a target device. If the device is not
409
- * provided, the call will be parked on the current device.
410
- * <p>
411
- * If the session has been opened for a user, the 'loginName' parameter is
412
- * ignored, but it is mandatory if the session has been opened by an
413
- * administrator.
414
- *
415
- * @param callRef the active call reference
416
- * @param parkTo the target device
417
- * @param loginName the login name
418
- */
419
- park(callRef: string, parkTo?: string | null, loginName?: string | null): Promise<boolean>;
420
- /**
421
- * Returns the list of participants in the specified call.
422
- * <p>
423
- * If the session has been opened for a user, the 'loginName' parameter is
424
- * ignored, but it is mandatory if the session has been opened by an
425
- * administrator.
426
- *
427
- * @param callRef the call reference
428
- * @param loginName the login name
429
- */
430
- getParticipants(callRef: string, loginName?: string | null): Promise<Participant[] | null>;
431
- /**
432
- * Returns the specified participant in the specified call.
433
- * <p>
434
- * If the session has been opened for a user, the 'loginName' parameter is
435
- * ignored, but it is mandatory if the session has been opened by an
436
- * administrator.
437
- *
438
- * @param callRef the call reference
439
- * @param participantId the participant identifier
440
- * @param loginName the login name
441
- */
442
- getParticipant(callRef: string, participantId: string, loginName?: string | null): Promise<Participant | null>;
443
- /**
444
- * Drops the specified participant from the specified call for the specified
445
- * user.
446
- * <p>
447
- * If the call is a single call, it is released; if it is a conference, the call
448
- * carries on without the participant.
449
- * <p>
450
- * If the session has been opened for a user, the 'loginName' parameter is
451
- * ignored, but it is mandatory if the session has been opened by an
452
- * administrator.
453
- *
454
- * @param callRef the call reference
455
- * @param participantId the participant identifier
456
- * @param loginName the login name
457
- */
458
- dropParticipant(callRef: string, participantId: string, loginName?: string | null): Promise<boolean>;
459
- /**
460
- * Releases the current call (active or ringing) to retrieve a previously put in
461
- * hold call (cancel a consultation call).
462
- * <p>
463
- * If the session has been opened for a user, the 'loginName' parameter is
464
- * ignored, but it is mandatory if the session has been opened by an
465
- * administrator.
466
- *
467
- * @param callRef the held call reference
468
- * @param deviceId the device phone number for which the operation is done
469
- * @param enquiryCallRef the reference of the enquiry call to cancel
470
- * @param loginName the login name
471
- */
472
- reconnect(callRef: string, deviceId: string, enquiryCallRef: string, loginName?: string | null): Promise<boolean>;
473
- /**
474
- * Starts, stops, pauses or resumes the recording of a the specified call.
475
- * <p>
476
- * If the session has been opened for a user, the 'loginName' parameter is
477
- * ignored, but it is mandatory if the session has been opened by an
478
- * administrator.
479
- *
480
- * @param callRef the reference of the recorded call
481
- * @param action the recording action
482
- * @param loginName the login name
483
- */
484
- doRecordAction(callRef: string, action: RecordingAction, loginName?: string | null): Promise<boolean>;
485
- /**
486
- * Redirects an incoming ringing call to another user or number, instead of
487
- * responding to it. If 'redirectTo' is equal to 'VOICEMAIL',
488
- * redirect the incoming ringing call to the user voice mail.
489
- * <p>
490
- * If the session has been opened for a user, the 'loginName' parameter is
491
- * ignored, but it is mandatory if the session has been opened by an
492
- * administrator.
493
- *
494
- * @param callRef the incoming ringing call reference
495
- * @param redirectTo Phone number of the redirection, or "VOICEMAIL"
496
- * @param anonymous anonymous redirection if this parameter is 'true',
497
- * the call will be redirected as anonymous
498
- * @param loginName the login name
499
- */
500
- redirect(callRef: string, redirectTo: string, anonymous?: boolean, loginName?: string | null): Promise<boolean>;
501
- /**
502
- * Retrieves a call that has been previously put in hold.
503
- * <p>
504
- * This method with return {@code false} if it is invoked from a session opened
505
- * by an administrator.
506
- *
507
- * @param callRef the held call reference
508
- * @param deviceId the device phone number for which the operation is done
509
- */
510
- retrieve(callRef: string, deviceId: string, loginName?: string | null): Promise<boolean>;
511
- /**
512
- * Sends DTMF codes on the specified active call.
513
- *
514
- * @param callRef the active call reference
515
- * @param deviceId the device phone number for which the operation is done
516
- * @param number the DTMF codes to send
517
- */
518
- sendDtmf(callRef: string, deviceId: string, number: string): Promise<boolean>;
519
- /**
520
- * Sends the account info for the specified call, on the specified device.
521
- * <p>
522
- * This operation is used by a CCD agent to send the transaction code at the end
523
- * of the call. The string value MUST complain with the transaction code
524
- * accepted by OXE (that is numerical value only)
525
- *
526
- * @param callRef the call reference
527
- * @param deviceId the device phone number for which the operation is done
528
- * @param accountInfo the transaction code
529
- */
530
- sendAccountInfo(callRef: string, deviceId: string, accountInfo: string): Promise<boolean>;
531
- /**
532
- * Transfers a specified active call to a specified held call for the specified
533
- * user.
534
- * <p>
535
- * If the session has been opened for a user, the 'loginName' parameter is
536
- * ignored, but it is mandatory if the session has been opened by an
537
- * administrator.
538
- *
539
- * @param callRef the active call reference
540
- * @param heldCallRef the held call reference
541
- * @param loginName the login name
542
- */
543
- transfer(callRef: string, heldCallRef: string, loginName?: string | null): Promise<boolean>;
544
- /**
545
- * Logs the specified user on a specified desk sharing set.
546
- * <p>
547
- * The user must be configured as a Desk sharing user.
548
- * <p>
549
- * If the session has been opened for a user, the 'loginName' parameter is
550
- * ignored, but it is mandatory if the session has been opened by an
551
- * administrator.
552
- *
553
- * @param dssDeviceNumber the desk sharing set phone number
554
- * @param loginName the login name
555
- * @see {@link deskSharingLogOff}
556
- */
557
- deskSharingLogOn(dssDeviceNumber: string, loginName?: string | null): Promise<boolean>;
558
- /**
559
- * Logs off the specified user from the desk sharing set.
560
- * <p>
561
- * The user must be configured as a Desk sharing user.
562
- * <p>
563
- * If the session has been opened for a user, the 'loginName' parameter is
564
- * ignored, but it is mandatory if the session has been opened by an
565
- * administrator.
566
- *
567
- * @param loginName the login name
568
- * @see {@link deskSharingLogOn}
569
- */
570
- deskSharingLogOff(loginName?: string | null): Promise<boolean>;
571
- /**
572
- * Gets states of all devices of the specified user.
573
- * <p>
574
- * If the session has been opened for a user, the 'loginName' parameter is
575
- * ignored, but it is mandatory if the session has been opened by an
576
- * administrator.
577
- *
578
- * @param loginName the login name
579
- */
580
- getDevicesState(loginName?: string | null): Promise<DeviceState[] | null>;
581
- /**
582
- * Gets state of the specified device of the specified user.
583
- * <p>
584
- * If the session has been opened for a user, the 'loginName' parameter is
585
- * ignored, but it is mandatory if the session has been opened by an
586
- * administrator.
587
- *
588
- * @param deviceId the device phone number for which the operation is done
589
- * @param loginName the login name
590
- */
591
- getDeviceState(deviceId: string, loginName?: string | null): Promise<DeviceState | null>;
592
- /**
593
- * Picks up the specified incoming call for another user.
594
- *
595
- * @param deviceId the device phone number for which the operation is
596
- * done
597
- * @param otherCallRef reference of the call to pickup (on the remote user)
598
- * @param otherPhoneNumber the phone number on which the call is ringing
599
- * @param autoAnswer 'true' to automatically answer the call after
600
- * the pickup.
601
- */
602
- pickUp(deviceId: string, otherCallRef: string, otherPhoneNumber: string, autoAnswer?: boolean): Promise<boolean>;
603
- /**
604
- * Performs an intrusion in the active call of a called user.
605
- * <p>
606
- * No parameter is required to invoke the intrusion: it only depends on the
607
- * current capability intrusion of the current device. It is based on the fact
608
- * that the current device must be in releasing state while calling a user which
609
- * is in busy call with another user, the current device has the intrusion
610
- * capability and the 2 users engaged in the call have the capability to allow
611
- * intrusion.
612
- * </p>
613
- *
614
- * @param deviceId the device from where the unpark request is requested.
615
- * @since O2G 2.4
616
- */
617
- intrusion(deviceId: string): Promise<boolean>;
618
- /**
619
- * UnParks a call from a target device.
620
- *
621
- * @param heldCallRef Reference of the held call.
622
- * @param deviceId the device from where the unpark request is requested.
623
- */
624
- unPark(deviceId: string, heldCallRef: string): Promise<boolean>;
625
- /**
626
- * Retrieves the specified user hunting group status.
627
- * <p>
628
- * If the session has been opened for a user, the 'loginName' parameter is
629
- * ignored, but it is mandatory if the session has been opened by an
630
- * administrator.
631
- *
632
- * @param loginName the login name
633
- */
634
- getHuntingGroupStatus(loginName?: string | null): Promise<HuntingGroupStatus | null>;
635
- /**
636
- * Logs on the specified user in his current hunting group.
637
- * <p>
638
- * The user must be configured as member of a hunting group.
639
- * <p>
640
- * If the session has been opened for a user, the 'loginName' parameter is
641
- * ignored, but it is mandatory if the session has been opened by an
642
- * administrator.
643
- *
644
- * @param loginName the login name
645
- */
646
- huntingGroupLogOn(loginName?: string | null): Promise<boolean>;
647
- /**
648
- * Logs off the specified user from his current hunting group.
649
- * <p>
650
- * The user must be configured as member of a hunting group.
651
- * <p>
652
- * If the session has been opened for a user, the 'loginName' parameter is
653
- * ignored, but it is mandatory if the session has been opened by an
654
- * administrator.
655
- *
656
- * @param loginName the login name
657
- */
658
- huntingGroupLogOff(loginName?: string | null): Promise<boolean>;
659
- /**
660
- * Sets the specified user as member of an existing hunting group.
661
- * <p>
662
- * The request will fail if the hunting group does not exist. If the user
663
- * already belongs to the group, nothing is done and 'true' is returned.
664
- * <p>
665
- * If the session has been opened for a user, the 'loginName' parameter is
666
- * ignored, but it is mandatory if the session has been opened by an
667
- * administrator.
668
- *
669
- * @param hgNumber the hunting group number
670
- * @param loginName the login name
671
- */
672
- addHuntingGroupMember(hgNumber: string, loginName?: string | null): Promise<boolean>;
673
- /**
674
- * Removes the specified user from an existing hunting group.
675
- * <p>
676
- * The request will fail if the hunting group does not exist. If the user does
677
- * not belong to the group, nothing is done and 'true' is returned.
678
- * <p>
679
- * If the session has been opened for a user, the 'loginName' parameter is
680
- * ignored, but it is mandatory if the session has been opened by an
681
- * administrator.
682
- *
683
- * @param hgNumber the hunting group number
684
- * @param loginName the login name
685
- */
686
- deleteHuntingGroupMember(hgNumber: string, loginName?: string | null): Promise<boolean>;
687
- /**
688
- * Gets the list of hunting groups existing on the OXE node the specified user
689
- * belongs to.
690
- * <p>
691
- * If the session has been opened for a user, the 'loginName' parameter is
692
- * ignored, but it is mandatory if the session has been opened by an
693
- * administrator.
694
- *
695
- * @param loginName the login name
696
- */
697
- queryHuntingGroups(loginName?: string | null): Promise<HuntingGroups | null>;
698
- /**
699
- * Returns the list of callback requests for the specified user.
700
- * <p>
701
- * If the session has been opened for a user, the 'loginName' parameter is
702
- * ignored, but it is mandatory if the session has been opened by an
703
- * administrator.
704
- *
705
- * @param loginName the login name
706
- */
707
- getCallbacks(loginName?: string | null): Promise<Callback[] | null>;
708
- /**
709
- * Deletes all callback requests for the specified user.
710
- * <p>
711
- * If the session has been opened for a user, the 'loginName' parameter is
712
- * ignored, but it is mandatory if the session has been opened by an
713
- * administrator.
714
- *
715
- * @param loginName the login name
716
- */
717
- deleteCallbacks(loginName?: string | null): Promise<boolean>;
718
- /**
719
- * Deletes the specified callback requests for the specified user.
720
- * <p>
721
- * If the session has been opened for a user, the 'loginName' parameter is
722
- * ignored, but it is mandatory if the session has been opened by an
723
- * administrator.
724
- *
725
- * @param callbackId the callback identifier
726
- * @param loginName the login name
727
- */
728
- deleteCallback(callbackId: string, loginName?: string | null): Promise<boolean>;
729
- /**
730
- * Returns the current new message for the specified user.
731
- * <p>
732
- * As soon as a message is read, it is erased from OXE and cannot be read again.
733
- * The messages are retrieved in Last In First Out mode.
734
- * <p>
735
- * This method with return 'false' if all the messages have been
736
- * retrieved.
737
- * <p>
738
- * If the session has been opened for a user, the 'loginName' parameter is
739
- * ignored, but it is mandatory if the session has been opened by an
740
- * administrator.
741
- *
742
- * @param loginName the login name
743
- */
744
- getMiniMessage(loginName?: string | null): Promise<MiniMessage | null>;
745
- /**
746
- * Sends the specified mini message to the specified recipient.
747
- *
748
- * @param recipient the recipient of the mini message phone number
749
- * @param message the mini message text
750
- * <p>
751
- * If the session has been opened for a user, the
752
- * 'loginName' parameter is ignored, but it is mandatory
753
- * if the session has been opened by an administrator.
754
- *
755
- * @param loginName the login name
756
- */
757
- sendMiniMessage(recipient: string, message: string, loginName?: string | null): Promise<boolean>;
758
- /**
759
- * Requests for call back from an idle device of the specified user.
760
- * <p>
761
- * If the session has been opened for a user, the 'loginName' parameter is
762
- * ignored, but it is mandatory if the session has been opened by an
763
- * administrator.
764
- *
765
- * @param callee phone number of the called party for which a call back is
766
- * requested.
767
- * @param loginName the login name
768
- */
769
- requestCallback(callee: string, loginName?: string | null): Promise<boolean>;
770
- /**
771
- * Asks a snapshot event on the specified user.
772
- * <p>
773
- * The event OnTelephonyState will contain the TelephonicState (calls[] and
774
- * deviceCapabilities[]). If a second request is asked since the previous one is
775
- * still in progress, it has no effect.
776
- * <p>
777
- * If the session has been opened for a user, the 'loginName' parameter is
778
- * ignored.
779
- *
780
- * @param loginName the login name
781
- */
782
- requestSnapshot(loginName?: string | null): Promise<boolean>;
783
- /**
784
- * This action acts as a "flip/flop" and has the same effect than pressing the key:
785
- * <ul>
786
- * <li>it activates or deactivates the microphone if the device has an outgoing or established call
787
- * <li>it activates or deactivates the interphony if the device is idle
788
- * <li>it has no effect if the device is ringing on incoming call
789
- * <ul><p>
790
- * This operation is done in blind mode: no state event is provided on the push but when the device returns to idle after a call, the microphone comes back in the active state.
791
- *
792
- * @param deviceId the device from where the unpark request is requested.
793
- */
794
- toggleInterphony(deviceId: string): Promise<boolean>;
795
- }