o2g-node-sdk 2.4.0 → 2.5.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 (534) hide show
  1. package/README.md +11 -7
  2. package/dist/o2g-node-sdk.js +2165 -4487
  3. package/dist/o2g-node-sdk.js.map +1 -1
  4. package/dist/types/ErrorInfo.d.ts +88 -0
  5. package/dist/types/ErrorInfo.d.ts.map +1 -0
  6. package/dist/types/host.d.ts +18 -0
  7. package/dist/types/host.d.ts.map +1 -0
  8. package/dist/types/internal/access-mode.d.ts +2 -0
  9. package/dist/types/internal/access-mode.d.ts.map +1 -0
  10. package/dist/types/internal/events/chunk-eventing.d.ts +2 -0
  11. package/dist/types/internal/events/chunk-eventing.d.ts.map +1 -0
  12. package/dist/types/internal/events/event-dispatcher.d.ts +2 -0
  13. package/dist/types/internal/events/event-dispatcher.d.ts.map +1 -0
  14. package/dist/types/internal/events/event-packages.d.ts +2 -0
  15. package/dist/types/internal/events/event-packages.d.ts.map +1 -0
  16. package/dist/types/internal/o2g-application.d.ts +2 -0
  17. package/dist/types/internal/o2g-application.d.ts.map +1 -0
  18. package/dist/types/internal/rest/analytics-rest.d.ts +2 -0
  19. package/dist/types/internal/rest/analytics-rest.d.ts.map +1 -0
  20. package/dist/types/internal/rest/authentication-rest.d.ts +2 -0
  21. package/dist/types/internal/rest/authentication-rest.d.ts.map +1 -0
  22. package/dist/types/internal/rest/ccAgent-rest.d.ts +2 -0
  23. package/dist/types/internal/rest/ccAgent-rest.d.ts.map +1 -0
  24. package/dist/types/internal/rest/ccMngt-rest.d.ts +2 -0
  25. package/dist/types/internal/rest/ccMngt-rest.d.ts.map +1 -0
  26. package/dist/types/internal/rest/ccPilot-rest.d.ts +2 -0
  27. package/dist/types/internal/rest/ccPilot-rest.d.ts.map +1 -0
  28. package/dist/types/internal/rest/ccRealtime-rest.d.ts +2 -0
  29. package/dist/types/internal/rest/ccRealtime-rest.d.ts.map +1 -0
  30. package/dist/types/internal/rest/ccStatistics-rest.d.ts +45 -0
  31. package/dist/types/internal/rest/ccStatistics-rest.d.ts.map +1 -0
  32. package/dist/types/internal/rest/comlog-rest.d.ts +2 -0
  33. package/dist/types/internal/rest/comlog-rest.d.ts.map +1 -0
  34. package/dist/types/internal/rest/directory-rest.d.ts +2 -0
  35. package/dist/types/internal/rest/directory-rest.d.ts.map +1 -0
  36. package/dist/types/internal/rest/eventSummary-rest.d.ts +2 -0
  37. package/dist/types/internal/rest/eventSummary-rest.d.ts.map +1 -0
  38. package/dist/types/internal/rest/maint-rest.d.ts +2 -0
  39. package/dist/types/internal/rest/maint-rest.d.ts.map +1 -0
  40. package/dist/types/internal/rest/messaging-rest.d.ts +2 -0
  41. package/dist/types/internal/rest/messaging-rest.d.ts.map +1 -0
  42. package/dist/types/internal/rest/o2g-rest.d.ts +2 -0
  43. package/dist/types/internal/rest/o2g-rest.d.ts.map +1 -0
  44. package/dist/types/internal/rest/pbx-mngt-rest.d.ts +2 -0
  45. package/dist/types/internal/rest/pbx-mngt-rest.d.ts.map +1 -0
  46. package/dist/types/internal/rest/phone-set-prog-rest.d.ts +2 -0
  47. package/dist/types/internal/rest/phone-set-prog-rest.d.ts.map +1 -0
  48. package/dist/types/internal/rest/rest-service.d.ts +2 -0
  49. package/dist/types/internal/rest/rest-service.d.ts.map +1 -0
  50. package/dist/types/internal/rest/routing-rest.d.ts +2 -0
  51. package/dist/types/internal/rest/routing-rest.d.ts.map +1 -0
  52. package/dist/types/internal/rest/rsi-rest.d.ts +2 -0
  53. package/dist/types/internal/rest/rsi-rest.d.ts.map +1 -0
  54. package/dist/types/internal/rest/sessions-rest.d.ts +2 -0
  55. package/dist/types/internal/rest/sessions-rest.d.ts.map +1 -0
  56. package/dist/types/internal/rest/subscriptions-rest.d.ts +2 -0
  57. package/dist/types/internal/rest/subscriptions-rest.d.ts.map +1 -0
  58. package/dist/types/internal/rest/telephony-rest.d.ts +2 -0
  59. package/dist/types/internal/rest/telephony-rest.d.ts.map +1 -0
  60. package/dist/types/internal/rest/users-mngt-rest.d.ts +2 -0
  61. package/dist/types/internal/rest/users-mngt-rest.d.ts.map +1 -0
  62. package/dist/types/internal/rest/users-rest.d.ts +2 -0
  63. package/dist/types/internal/rest/users-rest.d.ts.map +1 -0
  64. package/dist/types/internal/service-end-point.d.ts +2 -0
  65. package/dist/types/internal/service-end-point.d.ts.map +1 -0
  66. package/dist/types/internal/service-factory.d.ts +2 -0
  67. package/dist/types/internal/service-factory.d.ts.map +1 -0
  68. package/dist/types/internal/session.d.ts +2 -0
  69. package/dist/types/internal/session.d.ts.map +1 -0
  70. package/dist/types/internal/types/analytics/analytics-types.d.ts +2 -0
  71. package/dist/types/internal/types/analytics/analytics-types.d.ts.map +1 -0
  72. package/dist/types/internal/types/cc-agent/cc-agent-types.d.ts +2 -0
  73. package/dist/types/internal/types/cc-agent/cc-agent-types.d.ts.map +1 -0
  74. package/dist/types/internal/types/cc-mngt/cc-mntg-types.d.ts +2 -0
  75. package/dist/types/internal/types/cc-mngt/cc-mntg-types.d.ts.map +1 -0
  76. package/dist/types/internal/types/cc-pilot/cc-pilot-types.d.ts +2 -0
  77. package/dist/types/internal/types/cc-pilot/cc-pilot-types.d.ts.map +1 -0
  78. package/dist/types/internal/types/cc-rt/cc-rt-types.d.ts +2 -0
  79. package/dist/types/internal/types/cc-rt/cc-rt-types.d.ts.map +1 -0
  80. package/dist/types/internal/types/cc-stats/abstract-filter.d.ts +2 -0
  81. package/dist/types/internal/types/cc-stats/abstract-filter.d.ts.map +1 -0
  82. package/dist/types/internal/types/cc-stats/ag-filter-impl.d.ts +2 -0
  83. package/dist/types/internal/types/cc-stats/ag-filter-impl.d.ts.map +1 -0
  84. package/dist/types/internal/types/cc-stats/cc-stat-types.d.ts +57 -0
  85. package/dist/types/internal/types/cc-stats/cc-stat-types.d.ts.map +1 -0
  86. package/dist/types/internal/types/cc-stats/context-impl.d.ts +2 -0
  87. package/dist/types/internal/types/cc-stats/context-impl.d.ts.map +1 -0
  88. package/dist/types/internal/types/cc-stats/on-stats-progress.d.ts +2 -0
  89. package/dist/types/internal/types/cc-stats/on-stats-progress.d.ts.map +1 -0
  90. package/dist/types/internal/types/cc-stats/pil-aband-calls-filter-impl.d.ts +2 -0
  91. package/dist/types/internal/types/cc-stats/pil-aband-calls-filter-impl.d.ts.map +1 -0
  92. package/dist/types/internal/types/cc-stats/pil-filter-impl.d.ts +2 -0
  93. package/dist/types/internal/types/cc-stats/pil-filter-impl.d.ts.map +1 -0
  94. package/dist/types/internal/types/cc-stats/requester-impl.d.ts +2 -0
  95. package/dist/types/internal/types/cc-stats/requester-impl.d.ts.map +1 -0
  96. package/dist/types/internal/types/cc-stats/scheduled-rep-impl.d.ts +2 -0
  97. package/dist/types/internal/types/cc-stats/scheduled-rep-impl.d.ts.map +1 -0
  98. package/dist/types/internal/types/comlog/comlog-types.d.ts +2 -0
  99. package/dist/types/internal/types/comlog/comlog-types.d.ts.map +1 -0
  100. package/dist/types/internal/types/common/common-types.d.ts +2 -0
  101. package/dist/types/internal/types/common/common-types.d.ts.map +1 -0
  102. package/dist/types/internal/types/directory/directory-types.d.ts +2 -0
  103. package/dist/types/internal/types/directory/directory-types.d.ts.map +1 -0
  104. package/dist/types/internal/types/eventsummary/eventsummary-types.d.ts +14 -0
  105. package/dist/types/internal/types/eventsummary/eventsummary-types.d.ts.map +1 -0
  106. package/dist/types/internal/types/maint/maint-types.d.ts +2 -0
  107. package/dist/types/internal/types/maint/maint-types.d.ts.map +1 -0
  108. package/dist/types/internal/types/messaging/messaging-types.d.ts +2 -0
  109. package/dist/types/internal/types/messaging/messaging-types.d.ts.map +1 -0
  110. package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts +2 -0
  111. package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts.map +1 -0
  112. package/dist/types/internal/types/phoneset/phoneset-types.d.ts +2 -0
  113. package/dist/types/internal/types/phoneset/phoneset-types.d.ts.map +1 -0
  114. package/dist/types/internal/types/routing/routing-types.d.ts +2 -0
  115. package/dist/types/internal/types/routing/routing-types.d.ts.map +1 -0
  116. package/dist/types/internal/types/rsi/rsi-types.d.ts +2 -0
  117. package/dist/types/internal/types/rsi/rsi-types.d.ts.map +1 -0
  118. package/dist/types/internal/types/telephony/telephony-types.d.ts +4 -0
  119. package/dist/types/internal/types/telephony/telephony-types.d.ts.map +1 -0
  120. package/dist/types/internal/types/users/users-types.d.ts +2 -0
  121. package/dist/types/internal/types/users/users-types.d.ts.map +1 -0
  122. package/dist/types/internal/util/IHttpClient.d.ts +2 -0
  123. package/dist/types/internal/util/IHttpClient.d.ts.map +1 -0
  124. package/dist/types/internal/util/assert.d.ts +2 -0
  125. package/dist/types/internal/util/assert.d.ts.map +1 -0
  126. package/dist/types/internal/util/file-utils.d.ts +2 -0
  127. package/dist/types/internal/util/file-utils.d.ts.map +1 -0
  128. package/dist/types/internal/util/format-util.d.ts +2 -0
  129. package/dist/types/internal/util/format-util.d.ts.map +1 -0
  130. package/dist/types/internal/util/hexa-string.d.ts +2 -0
  131. package/dist/types/internal/util/hexa-string.d.ts.map +1 -0
  132. package/dist/types/internal/util/http-client.d.ts +2 -0
  133. package/dist/types/internal/util/http-client.d.ts.map +1 -0
  134. package/dist/types/internal/util/http-content.d.ts +2 -0
  135. package/dist/types/internal/util/http-content.d.ts.map +1 -0
  136. package/dist/types/internal/util/http-response.d.ts +2 -0
  137. package/dist/types/internal/util/http-response.d.ts.map +1 -0
  138. package/dist/types/internal/util/injection-container.d.ts +5 -0
  139. package/dist/types/internal/util/injection-container.d.ts.map +1 -0
  140. package/dist/types/internal/util/logger.d.ts +40 -0
  141. package/dist/types/internal/util/logger.d.ts.map +1 -0
  142. package/dist/types/internal/util/util-uri.d.ts +2 -0
  143. package/dist/types/internal/util/util-uri.d.ts.map +1 -0
  144. package/dist/types/o2g-analytics.d.ts +61 -0
  145. package/dist/types/o2g-analytics.d.ts.map +1 -0
  146. package/dist/types/o2g-cc-agent.d.ts +376 -0
  147. package/dist/types/o2g-cc-agent.d.ts.map +1 -0
  148. package/dist/types/o2g-cc-mngt.d.ts +213 -0
  149. package/dist/types/o2g-cc-mngt.d.ts.map +1 -0
  150. package/dist/types/o2g-cc-pilot.d.ts +71 -0
  151. package/dist/types/o2g-cc-pilot.d.ts.map +1 -0
  152. package/dist/types/o2g-cc-rt.d.ts +163 -0
  153. package/dist/types/o2g-cc-rt.d.ts.map +1 -0
  154. package/dist/types/o2g-cc-stat.d.ts +454 -0
  155. package/dist/types/o2g-cc-stat.d.ts.map +1 -0
  156. package/dist/types/o2g-comlog.d.ts +245 -0
  157. package/dist/types/o2g-comlog.d.ts.map +1 -0
  158. package/dist/types/o2g-directory.d.ts +109 -0
  159. package/dist/types/o2g-directory.d.ts.map +1 -0
  160. package/dist/types/o2g-eventSummary.d.ts +44 -0
  161. package/dist/types/o2g-eventSummary.d.ts.map +1 -0
  162. package/dist/types/o2g-maint.d.ts +92 -0
  163. package/dist/types/o2g-maint.d.ts.map +1 -0
  164. package/dist/types/o2g-messaging.d.ts +137 -0
  165. package/dist/types/o2g-messaging.d.ts.map +1 -0
  166. package/dist/types/o2g-node-sdk.d.ts +421 -0
  167. package/dist/types/o2g-node-sdk.d.ts.map +1 -0
  168. package/dist/types/o2g-pbx-mngt.d.ts +244 -0
  169. package/dist/types/o2g-pbx-mngt.d.ts.map +1 -0
  170. package/dist/types/o2g-phone-set-prog.d.ts +269 -0
  171. package/dist/types/o2g-phone-set-prog.d.ts.map +1 -0
  172. package/dist/types/o2g-routing.d.ts +313 -0
  173. package/dist/types/o2g-routing.d.ts.map +1 -0
  174. package/dist/types/o2g-rsi.d.ts +155 -0
  175. package/dist/types/o2g-rsi.d.ts.map +1 -0
  176. package/dist/types/o2g-telephony.d.ts +895 -0
  177. package/dist/types/o2g-telephony.d.ts.map +1 -0
  178. package/dist/types/o2g-users-mngt.d.ts +83 -0
  179. package/dist/types/o2g-users-mngt.d.ts.map +1 -0
  180. package/dist/types/o2g-users.d.ts +127 -0
  181. package/dist/types/o2g-users.d.ts.map +1 -0
  182. package/dist/types/subscription.d.ts +379 -0
  183. package/dist/types/subscription.d.ts.map +1 -0
  184. package/dist/types/supervised-account.d.ts +40 -0
  185. package/dist/types/supervised-account.d.ts.map +1 -0
  186. package/dist/types/types/analytics/call-type.d.ts +25 -0
  187. package/dist/types/types/analytics/call-type.d.ts.map +1 -0
  188. package/dist/types/types/analytics/charging-file.d.ts +13 -0
  189. package/dist/types/types/analytics/charging-file.d.ts.map +1 -0
  190. package/dist/types/types/analytics/charging-result.d.ts +50 -0
  191. package/dist/types/types/analytics/charging-result.d.ts.map +1 -0
  192. package/dist/types/types/analytics/charging.d.ts +69 -0
  193. package/dist/types/types/analytics/charging.d.ts.map +1 -0
  194. package/dist/types/types/analytics/incident.d.ts +41 -0
  195. package/dist/types/types/analytics/incident.d.ts.map +1 -0
  196. package/dist/types/types/analytics/tel-facility.d.ts +45 -0
  197. package/dist/types/types/analytics/tel-facility.d.ts.map +1 -0
  198. package/dist/types/types/cc-agent/agent-groups.d.ts +11 -0
  199. package/dist/types/types/cc-agent/agent-groups.d.ts.map +1 -0
  200. package/dist/types/types/cc-agent/agent-skill-set.d.ts +73 -0
  201. package/dist/types/types/cc-agent/agent-skill-set.d.ts.map +1 -0
  202. package/dist/types/types/cc-agent/agent-skill.d.ts +59 -0
  203. package/dist/types/types/cc-agent/agent-skill.d.ts.map +1 -0
  204. package/dist/types/types/cc-agent/cc-agent-events.d.ts +44 -0
  205. package/dist/types/types/cc-agent/cc-agent-events.d.ts.map +1 -0
  206. package/dist/types/types/cc-agent/intrusion-mode.d.ts +25 -0
  207. package/dist/types/types/cc-agent/intrusion-mode.d.ts.map +1 -0
  208. package/dist/types/types/cc-agent/operator-config.d.ts +72 -0
  209. package/dist/types/types/cc-agent/operator-config.d.ts.map +1 -0
  210. package/dist/types/types/cc-agent/operator-state.d.ts +100 -0
  211. package/dist/types/types/cc-agent/operator-state.d.ts.map +1 -0
  212. package/dist/types/types/cc-agent/operator-type.d.ts +17 -0
  213. package/dist/types/types/cc-agent/operator-type.d.ts.map +1 -0
  214. package/dist/types/types/cc-agent/withdraw-reason.d.ts +23 -0
  215. package/dist/types/types/cc-agent/withdraw-reason.d.ts.map +1 -0
  216. package/dist/types/types/cc-mngt/calendar/abstract-calendar.d.ts +8 -0
  217. package/dist/types/types/cc-mngt/calendar/abstract-calendar.d.ts.map +1 -0
  218. package/dist/types/types/cc-mngt/calendar/calendar.d.ts +22 -0
  219. package/dist/types/types/cc-mngt/calendar/calendar.d.ts.map +1 -0
  220. package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts +31 -0
  221. package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts.map +1 -0
  222. package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts +31 -0
  223. package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts.map +1 -0
  224. package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts +18 -0
  225. package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts.map +1 -0
  226. package/dist/types/types/cc-mngt/calendar/transition.d.ts +65 -0
  227. package/dist/types/types/cc-mngt/calendar/transition.d.ts.map +1 -0
  228. package/dist/types/types/cc-mngt/pilot-rule-set.d.ts +33 -0
  229. package/dist/types/types/cc-mngt/pilot-rule-set.d.ts.map +1 -0
  230. package/dist/types/types/cc-mngt/pilot-rule.d.ts +24 -0
  231. package/dist/types/types/cc-mngt/pilot-rule.d.ts.map +1 -0
  232. package/dist/types/types/cc-mngt/pilot.d.ts +58 -0
  233. package/dist/types/types/cc-mngt/pilot.d.ts.map +1 -0
  234. package/dist/types/types/cc-pilot/call-data-pilot.d.ts +50 -0
  235. package/dist/types/types/cc-pilot/call-data-pilot.d.ts.map +1 -0
  236. package/dist/types/types/cc-pilot/cc-pilot-events.d.ts +131 -0
  237. package/dist/types/types/cc-pilot/cc-pilot-events.d.ts.map +1 -0
  238. package/dist/types/types/cc-rt/agent-attributes.d.ts +50 -0
  239. package/dist/types/types/cc-rt/agent-attributes.d.ts.map +1 -0
  240. package/dist/types/types/cc-rt/agent-pg-attributes.d.ts +50 -0
  241. package/dist/types/types/cc-rt/agent-pg-attributes.d.ts.map +1 -0
  242. package/dist/types/types/cc-rt/agent-pg-type.d.ts +17 -0
  243. package/dist/types/types/cc-rt/agent-pg-type.d.ts.map +1 -0
  244. package/dist/types/types/cc-rt/agent-phone-state.d.ts +67 -0
  245. package/dist/types/types/cc-rt/agent-phone-state.d.ts.map +1 -0
  246. package/dist/types/types/cc-rt/agent-service-type.d.ts +16 -0
  247. package/dist/types/types/cc-rt/agent-service-type.d.ts.map +1 -0
  248. package/dist/types/types/cc-rt/agent-type.d.ts +16 -0
  249. package/dist/types/types/cc-rt/agent-type.d.ts.map +1 -0
  250. package/dist/types/types/cc-rt/cc-rt-events.d.ts +274 -0
  251. package/dist/types/types/cc-rt/cc-rt-events.d.ts.map +1 -0
  252. package/dist/types/types/cc-rt/other-pg-attributes.d.ts +18 -0
  253. package/dist/types/types/cc-rt/other-pg-attributes.d.ts.map +1 -0
  254. package/dist/types/types/cc-rt/other-pg-type.d.ts +22 -0
  255. package/dist/types/types/cc-rt/other-pg-type.d.ts.map +1 -0
  256. package/dist/types/types/cc-rt/pilot-attributes.d.ts +40 -0
  257. package/dist/types/types/cc-rt/pilot-attributes.d.ts.map +1 -0
  258. package/dist/types/types/cc-rt/queue-attributes.d.ts +30 -0
  259. package/dist/types/types/cc-rt/queue-attributes.d.ts.map +1 -0
  260. package/dist/types/types/cc-rt/queue-type.d.ts +23 -0
  261. package/dist/types/types/cc-rt/queue-type.d.ts.map +1 -0
  262. package/dist/types/types/cc-rt/rti-context.d.ts +56 -0
  263. package/dist/types/types/cc-rt/rti-context.d.ts.map +1 -0
  264. package/dist/types/types/cc-rt/rti-filter.d.ts +117 -0
  265. package/dist/types/types/cc-rt/rti-filter.d.ts.map +1 -0
  266. package/dist/types/types/cc-rt/rti-object-identifier.d.ts +34 -0
  267. package/dist/types/types/cc-rt/rti-object-identifier.d.ts.map +1 -0
  268. package/dist/types/types/cc-rt/rti-objects.d.ts +72 -0
  269. package/dist/types/types/cc-rt/rti-objects.d.ts.map +1 -0
  270. package/dist/types/types/cc-stats/agbypilot-attributes.d.ts +73 -0
  271. package/dist/types/types/cc-stats/agbypilot-attributes.d.ts.map +1 -0
  272. package/dist/types/types/cc-stats/agent-attributes.d.ts +377 -0
  273. package/dist/types/types/cc-stats/agent-attributes.d.ts.map +1 -0
  274. package/dist/types/types/cc-stats/agent-filter.d.ts +60 -0
  275. package/dist/types/types/cc-stats/agent-filter.d.ts.map +1 -0
  276. package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts +184 -0
  277. package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts.map +1 -0
  278. package/dist/types/types/cc-stats/data/ag-stats-row.d.ts +608 -0
  279. package/dist/types/types/cc-stats/data/ag-stats-row.d.ts.map +1 -0
  280. package/dist/types/types/cc-stats/data/data-obs-period.d.ts +20 -0
  281. package/dist/types/types/cc-stats/data/data-obs-period.d.ts.map +1 -0
  282. package/dist/types/types/cc-stats/data/pil-stats-row.d.ts +623 -0
  283. package/dist/types/types/cc-stats/data/pil-stats-row.d.ts.map +1 -0
  284. package/dist/types/types/cc-stats/data/selected-period.d.ts +49 -0
  285. package/dist/types/types/cc-stats/data/selected-period.d.ts.map +1 -0
  286. package/dist/types/types/cc-stats/data/stat-value.d.ts +36 -0
  287. package/dist/types/types/cc-stats/data/stat-value.d.ts.map +1 -0
  288. package/dist/types/types/cc-stats/data/stats-data.d.ts +64 -0
  289. package/dist/types/types/cc-stats/data/stats-data.d.ts.map +1 -0
  290. package/dist/types/types/cc-stats/events/progress-callback.d.ts +9 -0
  291. package/dist/types/types/cc-stats/events/progress-callback.d.ts.map +1 -0
  292. package/dist/types/types/cc-stats/events/progress-step.d.ts +20 -0
  293. package/dist/types/types/cc-stats/events/progress-step.d.ts.map +1 -0
  294. package/dist/types/types/cc-stats/language.d.ts +15 -0
  295. package/dist/types/types/cc-stats/language.d.ts.map +1 -0
  296. package/dist/types/types/cc-stats/pilot-abandoned-calls-attributes.d.ts +48 -0
  297. package/dist/types/types/cc-stats/pilot-abandoned-calls-attributes.d.ts.map +1 -0
  298. package/dist/types/types/cc-stats/pilot-abandonned-calls-filter.d.ts +46 -0
  299. package/dist/types/types/cc-stats/pilot-abandonned-calls-filter.d.ts.map +1 -0
  300. package/dist/types/types/cc-stats/pilot-attributes.d.ts +185 -0
  301. package/dist/types/types/cc-stats/pilot-attributes.d.ts.map +1 -0
  302. package/dist/types/types/cc-stats/pilot-filter.d.ts +45 -0
  303. package/dist/types/types/cc-stats/pilot-filter.d.ts.map +1 -0
  304. package/dist/types/types/cc-stats/requester.d.ts +33 -0
  305. package/dist/types/types/cc-stats/requester.d.ts.map +1 -0
  306. package/dist/types/types/cc-stats/scheduled/recurrence.d.ts +69 -0
  307. package/dist/types/types/cc-stats/scheduled/recurrence.d.ts.map +1 -0
  308. package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts +87 -0
  309. package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts.map +1 -0
  310. package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts +137 -0
  311. package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts.map +1 -0
  312. package/dist/types/types/cc-stats/stats-context.d.ts +72 -0
  313. package/dist/types/types/cc-stats/stats-context.d.ts.map +1 -0
  314. package/dist/types/types/cc-stats/stats-filter.d.ts +41 -0
  315. package/dist/types/types/cc-stats/stats-filter.d.ts.map +1 -0
  316. package/dist/types/types/cc-stats/stats-format.d.ts +17 -0
  317. package/dist/types/types/cc-stats/stats-format.d.ts.map +1 -0
  318. package/dist/types/types/cc-stats/time-interval.d.ts +19 -0
  319. package/dist/types/types/cc-stats/time-interval.d.ts.map +1 -0
  320. package/dist/types/types/comlog/com-record-participant.d.ts +75 -0
  321. package/dist/types/types/comlog/com-record-participant.d.ts.map +1 -0
  322. package/dist/types/types/comlog/com-record.d.ts +97 -0
  323. package/dist/types/types/comlog/com-record.d.ts.map +1 -0
  324. package/dist/types/types/comlog/comlog-events.d.ts +110 -0
  325. package/dist/types/types/comlog/comlog-events.d.ts.map +1 -0
  326. package/dist/types/types/comlog/filter-option.d.ts +24 -0
  327. package/dist/types/types/comlog/filter-option.d.ts.map +1 -0
  328. package/dist/types/types/comlog/page.d.ts +34 -0
  329. package/dist/types/types/comlog/page.d.ts.map +1 -0
  330. package/dist/types/types/comlog/query-filter.d.ts +79 -0
  331. package/dist/types/types/comlog/query-filter.d.ts.map +1 -0
  332. package/dist/types/types/comlog/query-result.d.ts +55 -0
  333. package/dist/types/types/comlog/query-result.d.ts.map +1 -0
  334. package/dist/types/types/comlog/reason.d.ts +62 -0
  335. package/dist/types/types/comlog/reason.d.ts.map +1 -0
  336. package/dist/types/types/comlog/role.d.ts +18 -0
  337. package/dist/types/types/comlog/role.d.ts.map +1 -0
  338. package/dist/types/types/common/date-range.d.ts +17 -0
  339. package/dist/types/types/common/date-range.d.ts.map +1 -0
  340. package/dist/types/types/common/day-of-week.d.ts +15 -0
  341. package/dist/types/types/common/day-of-week.d.ts.map +1 -0
  342. package/dist/types/types/common/device-type.d.ts +22 -0
  343. package/dist/types/types/common/device-type.d.ts.map +1 -0
  344. package/dist/types/types/common/device.d.ts +75 -0
  345. package/dist/types/types/common/device.d.ts.map +1 -0
  346. package/dist/types/types/common/identifier.d.ts +20 -0
  347. package/dist/types/types/common/identifier.d.ts.map +1 -0
  348. package/dist/types/types/common/main-type.d.ts +26 -0
  349. package/dist/types/types/common/main-type.d.ts.map +1 -0
  350. package/dist/types/types/common/party-info-type.d.ts +22 -0
  351. package/dist/types/types/common/party-info-type.d.ts.map +1 -0
  352. package/dist/types/types/common/party-info.d.ts +28 -0
  353. package/dist/types/types/common/party-info.d.ts.map +1 -0
  354. package/dist/types/types/common/service-state.d.ts +20 -0
  355. package/dist/types/types/common/service-state.d.ts.map +1 -0
  356. package/dist/types/types/directory/criteria.d.ts +95 -0
  357. package/dist/types/types/directory/criteria.d.ts.map +1 -0
  358. package/dist/types/types/directory/filter-item.d.ts +22 -0
  359. package/dist/types/types/directory/filter-item.d.ts.map +1 -0
  360. package/dist/types/types/directory/logical-operation.d.ts +14 -0
  361. package/dist/types/types/directory/logical-operation.d.ts.map +1 -0
  362. package/dist/types/types/directory/operation-filter.d.ts +22 -0
  363. package/dist/types/types/directory/operation-filter.d.ts.map +1 -0
  364. package/dist/types/types/directory/result-item.d.ts +22 -0
  365. package/dist/types/types/directory/result-item.d.ts.map +1 -0
  366. package/dist/types/types/directory/search-result.d.ts +64 -0
  367. package/dist/types/types/directory/search-result.d.ts.map +1 -0
  368. package/dist/types/types/events/events.d.ts +79 -0
  369. package/dist/types/types/events/events.d.ts.map +1 -0
  370. package/dist/types/types/eventsummary/event-summary-counter.d.ts +69 -0
  371. package/dist/types/types/eventsummary/event-summary-counter.d.ts.map +1 -0
  372. package/dist/types/types/eventsummary/event-summary-events.d.ts +26 -0
  373. package/dist/types/types/eventsummary/event-summary-events.d.ts.map +1 -0
  374. package/dist/types/types/maint/configuration-type.d.ts +15 -0
  375. package/dist/types/types/maint/configuration-type.d.ts.map +1 -0
  376. package/dist/types/types/maint/cti-link-state.d.ts +19 -0
  377. package/dist/types/types/maint/cti-link-state.d.ts.map +1 -0
  378. package/dist/types/types/maint/license-status.d.ts +42 -0
  379. package/dist/types/types/maint/license-status.d.ts.map +1 -0
  380. package/dist/types/types/maint/license-type.d.ts +19 -0
  381. package/dist/types/types/maint/license-type.d.ts.map +1 -0
  382. package/dist/types/types/maint/license.d.ts +38 -0
  383. package/dist/types/types/maint/license.d.ts.map +1 -0
  384. package/dist/types/types/maint/maint-events.d.ts +131 -0
  385. package/dist/types/types/maint/maint-events.d.ts.map +1 -0
  386. package/dist/types/types/maint/pbx-status.d.ts +77 -0
  387. package/dist/types/types/maint/pbx-status.d.ts.map +1 -0
  388. package/dist/types/types/maint/server-address.d.ts +25 -0
  389. package/dist/types/types/maint/server-address.d.ts.map +1 -0
  390. package/dist/types/types/maint/service-status.d.ts +31 -0
  391. package/dist/types/types/maint/service-status.d.ts.map +1 -0
  392. package/dist/types/types/maint/subscriber-filter.d.ts +24 -0
  393. package/dist/types/types/maint/subscriber-filter.d.ts.map +1 -0
  394. package/dist/types/types/maint/sys-service-status.d.ts +33 -0
  395. package/dist/types/types/maint/sys-service-status.d.ts.map +1 -0
  396. package/dist/types/types/maint/sys-status.d.ts +83 -0
  397. package/dist/types/types/maint/sys-status.d.ts.map +1 -0
  398. package/dist/types/types/messaging/mailbox-info.d.ts +35 -0
  399. package/dist/types/types/messaging/mailbox-info.d.ts.map +1 -0
  400. package/dist/types/types/messaging/mailbox.d.ts +119 -0
  401. package/dist/types/types/messaging/mailbox.d.ts.map +1 -0
  402. package/dist/types/types/messaging/voice-message.d.ts +57 -0
  403. package/dist/types/types/messaging/voice-message.d.ts.map +1 -0
  404. package/dist/types/types/pbxmngt/attribute-filter.d.ts +31 -0
  405. package/dist/types/types/pbxmngt/attribute-filter.d.ts.map +1 -0
  406. package/dist/types/types/pbxmngt/instance-filter.d.ts +72 -0
  407. package/dist/types/types/pbxmngt/instance-filter.d.ts.map +1 -0
  408. package/dist/types/types/pbxmngt/model.d.ts +221 -0
  409. package/dist/types/types/pbxmngt/model.d.ts.map +1 -0
  410. package/dist/types/types/pbxmngt/octet-string-length.d.ts +12 -0
  411. package/dist/types/types/pbxmngt/octet-string-length.d.ts.map +1 -0
  412. package/dist/types/types/pbxmngt/pbx-attr-map.d.ts +96 -0
  413. package/dist/types/types/pbxmngt/pbx-attr-map.d.ts.map +1 -0
  414. package/dist/types/types/pbxmngt/pbx-attribute.d.ts +182 -0
  415. package/dist/types/types/pbxmngt/pbx-attribute.d.ts.map +1 -0
  416. package/dist/types/types/pbxmngt/pbx-object.d.ts +73 -0
  417. package/dist/types/types/pbxmngt/pbx-object.d.ts.map +1 -0
  418. package/dist/types/types/pbxmngt/pbx.d.ts +23 -0
  419. package/dist/types/types/pbxmngt/pbx.d.ts.map +1 -0
  420. package/dist/types/types/pbxmngt/pbxmngt-events.d.ts +74 -0
  421. package/dist/types/types/pbxmngt/pbxmngt-events.d.ts.map +1 -0
  422. package/dist/types/types/phoneset/device-key.d.ts +36 -0
  423. package/dist/types/types/phoneset/device-key.d.ts.map +1 -0
  424. package/dist/types/types/phoneset/dynamic-state.d.ts +30 -0
  425. package/dist/types/types/phoneset/dynamic-state.d.ts.map +1 -0
  426. package/dist/types/types/phoneset/pin.d.ts +53 -0
  427. package/dist/types/types/phoneset/pin.d.ts.map +1 -0
  428. package/dist/types/types/phoneset/prog-key.d.ts +26 -0
  429. package/dist/types/types/phoneset/prog-key.d.ts.map +1 -0
  430. package/dist/types/types/phoneset/soft-key.d.ts +18 -0
  431. package/dist/types/types/phoneset/soft-key.d.ts.map +1 -0
  432. package/dist/types/types/routing/destination.d.ts +18 -0
  433. package/dist/types/types/routing/destination.d.ts.map +1 -0
  434. package/dist/types/types/routing/dnd-state.d.ts +9 -0
  435. package/dist/types/types/routing/dnd-state.d.ts.map +1 -0
  436. package/dist/types/types/routing/forward-condition.d.ts +26 -0
  437. package/dist/types/types/routing/forward-condition.d.ts.map +1 -0
  438. package/dist/types/types/routing/forward.d.ts +53 -0
  439. package/dist/types/types/routing/forward.d.ts.map +1 -0
  440. package/dist/types/types/routing/overflow-condition.d.ts +22 -0
  441. package/dist/types/types/routing/overflow-condition.d.ts.map +1 -0
  442. package/dist/types/types/routing/overflow.d.ts +50 -0
  443. package/dist/types/types/routing/overflow.d.ts.map +1 -0
  444. package/dist/types/types/routing/routing-capabilities.d.ts +15 -0
  445. package/dist/types/types/routing/routing-capabilities.d.ts.map +1 -0
  446. package/dist/types/types/routing/routing-events.d.ts +23 -0
  447. package/dist/types/types/routing/routing-events.d.ts.map +1 -0
  448. package/dist/types/types/routing/routing-state.d.ts +52 -0
  449. package/dist/types/types/routing/routing-state.d.ts.map +1 -0
  450. package/dist/types/types/rsi/add-digit-coll-criteria.d.ts +17 -0
  451. package/dist/types/types/rsi/add-digit-coll-criteria.d.ts.map +1 -0
  452. package/dist/types/types/rsi/collection-cause.d.ts +22 -0
  453. package/dist/types/types/rsi/collection-cause.d.ts.map +1 -0
  454. package/dist/types/types/rsi/route-session.d.ts +21 -0
  455. package/dist/types/types/rsi/route-session.d.ts.map +1 -0
  456. package/dist/types/types/rsi/routing-caller-type.d.ts +18 -0
  457. package/dist/types/types/rsi/routing-caller-type.d.ts.map +1 -0
  458. package/dist/types/types/rsi/routing-reason.d.ts +26 -0
  459. package/dist/types/types/rsi/routing-reason.d.ts.map +1 -0
  460. package/dist/types/types/rsi/rsi-events.d.ts +47 -0
  461. package/dist/types/types/rsi/rsi-events.d.ts.map +1 -0
  462. package/dist/types/types/rsi/rsi-point.d.ts +17 -0
  463. package/dist/types/types/rsi/rsi-point.d.ts.map +1 -0
  464. package/dist/types/types/rsi/tones.d.ts +26 -0
  465. package/dist/types/types/rsi/tones.d.ts.map +1 -0
  466. package/dist/types/types/telephony/RecordingAction.d.ts +7 -0
  467. package/dist/types/types/telephony/RecordingAction.d.ts.map +1 -0
  468. package/dist/types/types/telephony/call/call-cause.d.ts +123 -0
  469. package/dist/types/types/telephony/call/call-cause.d.ts.map +1 -0
  470. package/dist/types/types/telephony/call/call-data.d.ts +81 -0
  471. package/dist/types/types/telephony/call/call-data.d.ts.map +1 -0
  472. package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts +35 -0
  473. package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts.map +1 -0
  474. package/dist/types/types/telephony/call/ccd/acd-data.d.ts +50 -0
  475. package/dist/types/types/telephony/call/ccd/acd-data.d.ts.map +1 -0
  476. package/dist/types/types/telephony/call/ccd/call-profile.d.ts +112 -0
  477. package/dist/types/types/telephony/call/ccd/call-profile.d.ts.map +1 -0
  478. package/dist/types/types/telephony/call/ccd/pilot-info.d.ts +43 -0
  479. package/dist/types/types/telephony/call/ccd/pilot-info.d.ts.map +1 -0
  480. package/dist/types/types/telephony/call/ccd/pilot-status.d.ts +38 -0
  481. package/dist/types/types/telephony/call/ccd/pilot-status.d.ts.map +1 -0
  482. package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts +24 -0
  483. package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts.map +1 -0
  484. package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts +104 -0
  485. package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts.map +1 -0
  486. package/dist/types/types/telephony/call/ccd/queue-data.d.ts +23 -0
  487. package/dist/types/types/telephony/call/ccd/queue-data.d.ts.map +1 -0
  488. package/dist/types/types/telephony/call/correlator-data.d.ts +54 -0
  489. package/dist/types/types/telephony/call/correlator-data.d.ts.map +1 -0
  490. package/dist/types/types/telephony/call/leg.d.ts +57 -0
  491. package/dist/types/types/telephony/call/leg.d.ts.map +1 -0
  492. package/dist/types/types/telephony/call/media-state.d.ts +42 -0
  493. package/dist/types/types/telephony/call/media-state.d.ts.map +1 -0
  494. package/dist/types/types/telephony/call/participant.d.ts +34 -0
  495. package/dist/types/types/telephony/call/participant.d.ts.map +1 -0
  496. package/dist/types/types/telephony/call/record-state.d.ts +14 -0
  497. package/dist/types/types/telephony/call/record-state.d.ts.map +1 -0
  498. package/dist/types/types/telephony/call/tag.d.ts +37 -0
  499. package/dist/types/types/telephony/call/tag.d.ts.map +1 -0
  500. package/dist/types/types/telephony/call.d.ts +90 -0
  501. package/dist/types/types/telephony/call.d.ts.map +1 -0
  502. package/dist/types/types/telephony/callback.d.ts +33 -0
  503. package/dist/types/types/telephony/callback.d.ts.map +1 -0
  504. package/dist/types/types/telephony/device/device-state.d.ts +30 -0
  505. package/dist/types/types/telephony/device/device-state.d.ts.map +1 -0
  506. package/dist/types/types/telephony/device/operational-state.d.ts +18 -0
  507. package/dist/types/types/telephony/device/operational-state.d.ts.map +1 -0
  508. package/dist/types/types/telephony/hunting-group-status.d.ts +25 -0
  509. package/dist/types/types/telephony/hunting-group-status.d.ts.map +1 -0
  510. package/dist/types/types/telephony/hunting-groups.d.ts +33 -0
  511. package/dist/types/types/telephony/hunting-groups.d.ts.map +1 -0
  512. package/dist/types/types/telephony/mini-message.d.ts +37 -0
  513. package/dist/types/types/telephony/mini-message.d.ts.map +1 -0
  514. package/dist/types/types/telephony/telephonic-state.d.ts +41 -0
  515. package/dist/types/types/telephony/telephonic-state.d.ts.map +1 -0
  516. package/dist/types/types/telephony/telephony-events.d.ts +223 -0
  517. package/dist/types/types/telephony/telephony-events.d.ts.map +1 -0
  518. package/dist/types/types/telephony/trunk-indentification.d.ts +19 -0
  519. package/dist/types/types/telephony/trunk-indentification.d.ts.map +1 -0
  520. package/dist/types/types/telephony/user/user-state.d.ts +18 -0
  521. package/dist/types/types/telephony/user/user-state.d.ts.map +1 -0
  522. package/dist/types/types/users/preferences.d.ts +29 -0
  523. package/dist/types/types/users/preferences.d.ts.map +1 -0
  524. package/dist/types/types/users/supported-languages.d.ts +29 -0
  525. package/dist/types/types/users/supported-languages.d.ts.map +1 -0
  526. package/dist/types/types/users/user.d.ts +67 -0
  527. package/dist/types/types/users/user.d.ts.map +1 -0
  528. package/dist/types/types/users/users-events.d.ts +78 -0
  529. package/dist/types/types/users/users-events.d.ts.map +1 -0
  530. package/dist/types/types/users/voicemail-type.d.ts +18 -0
  531. package/dist/types/types/users/voicemail-type.d.ts.map +1 -0
  532. package/dist/types/types/users/voicemail.d.ts +20 -0
  533. package/dist/types/types/users/voicemail.d.ts.map +1 -0
  534. package/package.json +6 -4
@@ -0,0 +1,57 @@
1
+ import { PartyInfo } from '../common/party-info';
2
+ /**
3
+ * VoiceMessage represents a single message stored in a user's voice mailbox.
4
+ *
5
+ * <p>This class provides information about the message, including its identifier,
6
+ * the party who left the message, duration, date, unread status, and priority.
7
+ */
8
+ export declare class VoiceMessage {
9
+ #private;
10
+ /**
11
+ * @private
12
+ * @param {string} voicemailId Unique identifier of the voicemail
13
+ * @param {PartyInfo | undefined} from Party who left the message (optional)
14
+ * @param {number} duration Duration of the message in seconds
15
+ * @param {Date} date Date when the message was deposited
16
+ * @param {boolean} unread Whether the message is unread
17
+ * @param {boolean} highPriority Whether the message has high priority
18
+ */
19
+ private constructor();
20
+ /**
21
+ * Get the unique identifier of the voicemail.
22
+ *
23
+ * @returns {string} Voicemail ID
24
+ */
25
+ get voicemailId(): string;
26
+ /**
27
+ * Get the party who left the message.
28
+ *
29
+ * @returns {PartyInfo | null} Party information or null if not available
30
+ */
31
+ get from(): PartyInfo | null;
32
+ /**
33
+ * Get the duration of the message in seconds.
34
+ *
35
+ * @returns {number} Duration in seconds
36
+ */
37
+ get duration(): number;
38
+ /**
39
+ * Get the date when the message was deposited.
40
+ *
41
+ * @returns {Date} Date of the message
42
+ */
43
+ get date(): Date;
44
+ /**
45
+ * Check if the message is unread.
46
+ *
47
+ * @returns {boolean} True if the message is unread, false otherwise
48
+ */
49
+ get unread(): boolean;
50
+ /**
51
+ * Check if the message has high priority.
52
+ *
53
+ * @returns {boolean} True if the message is high priority, false otherwise
54
+ */
55
+ get highPriority(): boolean;
56
+ }
57
+ //# sourceMappingURL=voice-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"voice-message.d.ts","sourceRoot":"","sources":["../../../../src/types/messaging/voice-message.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD;;;;;GAKG;AACH,qBAAa,YAAY;;IAQrB;;;;;;;;OAQG;IACH,OAAO;IAgBP;;;;OAIG;IACH,IAAI,WAAW,IAAI,MAAM,CAExB;IAED;;;;OAIG;IACH,IAAI,IAAI,IAAI,SAAS,GAAG,IAAI,CAE3B;IAED;;;;OAIG;IACH,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED;;;;OAIG;IACH,IAAI,IAAI,IAAI,IAAI,CAEf;IAED;;;;OAIG;IACH,IAAI,MAAM,IAAI,OAAO,CAEpB;IAED;;;;OAIG;IACH,IAAI,YAAY,IAAI,OAAO,CAE1B;CAiBJ"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * AttributeFilter represents the possible operation to apply to an attribute to build a filter.
3
+ * @see {@link PbxManagement.getObjectInstances}
4
+ */
5
+ export declare enum AttributeFilter {
6
+ /**
7
+ * The attribute is equal to the value.
8
+ */
9
+ Equals = 0,
10
+ /**
11
+ * The attribute starts with the value.
12
+ */
13
+ StartsWith = 1,
14
+ /**
15
+ * The attributes ends with the value.
16
+ */
17
+ EndsWith = 2,
18
+ /**
19
+ * The attribute is not equals to the value.
20
+ */
21
+ NotEquals = 3,
22
+ /**
23
+ * The attribute is greather than or equals to the value.
24
+ */
25
+ GreatherThanOrEquals = 4,
26
+ /**
27
+ * The attribute is Less than or equals to the value.
28
+ */
29
+ LessThanOrEquals = 5
30
+ }
31
+ //# sourceMappingURL=attribute-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attribute-filter.d.ts","sourceRoot":"","sources":["../../../../src/types/pbxmngt/attribute-filter.ts"],"names":[],"mappings":"AAmBA;;;GAGG;AACH,oBAAY,eAAe;IACvB;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,UAAU,IAAI;IAEd;;OAEG;IACH,QAAQ,IAAI;IAEZ;;OAEG;IACH,SAAS,IAAI;IAEb;;OAEG;IACH,oBAAoB,IAAI;IAExB;;OAEG;IACH,gBAAgB,IAAI;CACvB"}
@@ -0,0 +1,72 @@
1
+ import { AttributeFilter } from './attribute-filter';
2
+ import { PbxAttribute } from './pbx-attribute';
3
+ /**
4
+ * Represents a filter used to query OmniPCX Enterprise object instances.
5
+ * <p>
6
+ * Filters can be created for specific attributes using {@link create}, and
7
+ * combined using the logical operators {@link and} and {@link or}.
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * // Simple filter — all analog subscribers
12
+ * const analog = InstanceFilter.create("StationType", AttributeFilter.Equals, "ANALOG");
13
+ *
14
+ * // Combined filter — analog or ALE-300 subscribers whose name starts with "f"
15
+ * const complex = InstanceFilter.and(
16
+ * InstanceFilter.or(
17
+ * InstanceFilter.create("StationType", AttributeFilter.Equals, "ANALOG"),
18
+ * InstanceFilter.create("StationType", AttributeFilter.Equals, "ALE-300")
19
+ * ),
20
+ * InstanceFilter.create("Directory_Name", AttributeFilter.StartsWith, "f")
21
+ * );
22
+ *
23
+ * const ids = await O2G.pbxManagement.getObjectInstances(1, "Subscriber", complex);
24
+ * ```
25
+ *
26
+ * @see PbxManagement.getObjectInstances
27
+ */
28
+ export declare class InstanceFilter {
29
+ #private;
30
+ /**
31
+ * Returns the internal string representation of this filter.
32
+ *
33
+ * @returns the filter expression as a string
34
+ */
35
+ get value(): string;
36
+ /**
37
+ * Creates a new filter for a specific attribute using the given operation and value.
38
+ *
39
+ * @param attribute the attribute to filter on, either a {@link PbxAttribute} object or a string name
40
+ * @param operation the comparison operation to apply
41
+ * @param value the value to test against
42
+ * @returns a new {@link InstanceFilter} instance representing the condition
43
+ * @throws Error if an unknown operation is provided
44
+ * @see AttributeFilter
45
+ */
46
+ static create(attribute: string | PbxAttribute, operation: AttributeFilter, value: string): InstanceFilter;
47
+ /**
48
+ * Combines multiple filters with a logical AND operator.
49
+ * <p>
50
+ * All provided filters must be satisfied for the combined filter to match.
51
+ *
52
+ * @param filter1 the first filter
53
+ * @param filter2 the second filter
54
+ * @param otherFilters additional optional filters
55
+ * @returns a new {@link InstanceFilter} representing the combined condition
56
+ * @see or
57
+ */
58
+ static and(filter1: InstanceFilter, filter2: InstanceFilter, ...otherFilters: InstanceFilter[]): InstanceFilter;
59
+ /**
60
+ * Combines multiple filters with a logical OR operator.
61
+ * <p>
62
+ * At least one of the provided filters must be satisfied for the combined filter to match.
63
+ *
64
+ * @param filter1 the first filter
65
+ * @param filter2 the second filter
66
+ * @param otherFilters additional optional filters
67
+ * @returns a new {@link InstanceFilter} representing the combined condition
68
+ * @see and
69
+ */
70
+ static or(filter1: InstanceFilter, filter2: InstanceFilter, ...otherFilters: InstanceFilter[]): InstanceFilter;
71
+ }
72
+ //# sourceMappingURL=instance-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instance-filter.d.ts","sourceRoot":"","sources":["../../../../src/types/pbxmngt/instance-filter.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,cAAc;;IAUvB;;;;OAIG;IACH,IAAI,KAAK,IAAI,MAAM,CAElB;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,GAAG,cAAc;IAqB1G;;;;;;;;;;OAUG;IACH,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,YAAY,EAAE,cAAc,EAAE,GAAG,cAAc;IAI/G;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,YAAY,EAAE,cAAc,EAAE,GAAG,cAAc;CAsBjH"}
@@ -0,0 +1,221 @@
1
+ import { OctetStringLength } from './octet-string-length';
2
+ /**
3
+ * Represents the object model of an OmniPCX Enterprise object.
4
+ * <p>
5
+ * A `Model` provides the metadata of an object in the PBX object hierarchy,
6
+ * including:
7
+ * <ul>
8
+ * <li>which operations are permitted (create, delete, set, get)</li>
9
+ * <li>the list of attributes with their types, constraints and allowed values</li>
10
+ * <li>the list of child object models accessible from this object</li>
11
+ * </ul>
12
+ * <p>
13
+ * Use {@link PbxManagement.getObjectModel} to retrieve a model, then inspect
14
+ * its attributes and children before performing create or modify operations.
15
+ *
16
+ * @example
17
+ * ```typescript
18
+ * // Retrieve the model for the Subscriber object
19
+ * const model = await O2G.pbxManagement.getObjectModel(1, "Subscriber");
20
+ *
21
+ * // Check what operations are allowed
22
+ * console.log("Can create:", model?.canCreate);
23
+ * console.log("Can delete:", model?.canDelete);
24
+ *
25
+ * // List all attributes and their types
26
+ * model?.attributes().forEach(attr => {
27
+ * console.log(`${attr.name} (${attr.type}) mandatory=${attr.mandatory}`);
28
+ * if (attr.allowedValues) {
29
+ * console.log(" Allowed values:", attr.allowedValues);
30
+ * }
31
+ * });
32
+ *
33
+ * // Check if an attribute supports filtering
34
+ * const stationType = model?.attribute("StationType");
35
+ * if (stationType?.filtering) {
36
+ * const filter = InstanceFilter.create("StationType", AttributeFilter.Equals, "ANALOG");
37
+ * const ids = await O2G.pbxManagement.getObjectInstances(1, "Subscriber", filter);
38
+ * }
39
+ * ```
40
+ */
41
+ export declare class Model {
42
+ #private;
43
+ /**
44
+ * Returns the name of this object model.
45
+ *
46
+ * @returns the object model name, or `null` if undefined
47
+ */
48
+ get name(): string | null;
49
+ /**
50
+ * Returns the specified attribute model by name.
51
+ *
52
+ * @param attrName the attribute name
53
+ * @returns the {@link Model.Attribute} or `null` if no attribute exists with this name
54
+ */
55
+ attribute(attrName: string): Model.Attribute | null;
56
+ /**
57
+ * Returns all attribute models for this object.
58
+ *
59
+ * @returns the list of {@link Model.Attribute} objects
60
+ */
61
+ attributes(): Model.Attribute[];
62
+ /**
63
+ * Returns all child object models of this model.
64
+ *
65
+ * @returns the list of child {@link Model} objects
66
+ */
67
+ children(): Model[];
68
+ /**
69
+ * Returns the specified child model by name.
70
+ *
71
+ * @param name the child model name
72
+ * @returns the child {@link Model}, or `null` if no child exists with this name
73
+ */
74
+ child(name: string): Model | null;
75
+ /**
76
+ * Returns whether this object is hidden in the model.
77
+ *
78
+ * @returns `true` if the object is hidden; `false` otherwise
79
+ */
80
+ get hidden(): boolean;
81
+ /**
82
+ * Returns whether this object can be created.
83
+ *
84
+ * @returns `true` if the object can be created; `false` otherwise
85
+ */
86
+ get canCreate(): boolean;
87
+ /**
88
+ * Returns whether this object can be deleted.
89
+ *
90
+ * @returns `true` if the object can be deleted; `false` otherwise
91
+ */
92
+ get canDelete(): boolean;
93
+ /**
94
+ * Returns whether this object can be modified.
95
+ *
96
+ * @returns `true` if the object can be set; `false` otherwise
97
+ */
98
+ get canSet(): boolean;
99
+ /**
100
+ * Returns whether this object can be retrieved.
101
+ *
102
+ * @returns `true` if the object can be retrieved; `false` otherwise
103
+ */
104
+ get canGet(): boolean;
105
+ /**
106
+ * Returns the additional actions available on this object beyond the standard
107
+ * create, delete, set and get operations.
108
+ *
109
+ * @returns the list of additional action names, or `null` if none
110
+ */
111
+ get otherActions(): string[] | null;
112
+ }
113
+ export declare namespace Model {
114
+ /**
115
+ * Represents the possible types of a {@link Model.Attribute}.
116
+ *
117
+ * @see Model.Attribute
118
+ */
119
+ enum AttributeType {
120
+ /**
121
+ * An enumerated type — a limited set of string values.
122
+ */
123
+ Enumerated = "Enumerated",
124
+ /**
125
+ * An octet string type.
126
+ */
127
+ OctetString = "OctetString",
128
+ /**
129
+ * A sequence of named sub-attributes.
130
+ */
131
+ Sequence = "Sequence",
132
+ /**
133
+ * An integer type.
134
+ */
135
+ Integer = "Integer",
136
+ /**
137
+ * A boolean type.
138
+ */
139
+ Boolean = "Boolean",
140
+ /**
141
+ * A set of attributes of the same type.
142
+ */
143
+ Set = "Set",
144
+ /**
145
+ * A byte string type.
146
+ */
147
+ ByteString = "ByteString"
148
+ }
149
+ /**
150
+ * Represents the model of a single attribute within a {@link Model} object.
151
+ * <p>
152
+ * Provides metadata about the attribute including its type, whether it is
153
+ * mandatory, its allowed values or length constraints, and whether it can
154
+ * be used in filters.
155
+ */
156
+ class Attribute {
157
+ #private;
158
+ /**
159
+ * Returns the name of this attribute.
160
+ *
161
+ * @returns the attribute name, or `null` if undefined
162
+ */
163
+ get name(): string | null;
164
+ /**
165
+ * Returns whether this attribute is mandatory for object creation.
166
+ *
167
+ * @returns `true` if the attribute is mandatory; `false` otherwise
168
+ */
169
+ get mandatory(): boolean;
170
+ /**
171
+ * Returns the type of this attribute.
172
+ *
173
+ * @returns the {@link AttributeType}, or `null` if undefined
174
+ */
175
+ get type(): AttributeType | null;
176
+ /**
177
+ * Returns whether this attribute can hold multiple values.
178
+ *
179
+ * @returns `true` if the attribute is multi-value; `false` otherwise
180
+ */
181
+ get multiValue(): boolean;
182
+ /**
183
+ * Returns the allowed values for this attribute.
184
+ * <p>
185
+ * Only applies to attributes of type {@link AttributeType.Enumerated}.
186
+ *
187
+ * @returns the list of allowed values, or `null` if unrestricted
188
+ */
189
+ get allowedValues(): string[] | null;
190
+ /**
191
+ * Returns the maximum length constraint for this attribute.
192
+ * <p>
193
+ * Only applies to attributes of type {@link AttributeType.OctetString}
194
+ * or {@link AttributeType.ByteString}.
195
+ *
196
+ * @returns the {@link OctetStringLength}, or `null` if not applicable
197
+ */
198
+ get octetStringLength(): OctetStringLength | null;
199
+ /**
200
+ * Returns the default value of this attribute.
201
+ *
202
+ * @returns the default value, or `null` if none is defined
203
+ */
204
+ get defaultValue(): string | null;
205
+ /**
206
+ * Returns whether this attribute can be used in {@link InstanceFilter} expressions.
207
+ *
208
+ * @returns `true` if filtering is supported; `false` otherwise
209
+ */
210
+ get filtering(): boolean;
211
+ /**
212
+ * Returns the context in which this attribute is used.
213
+ * <p>
214
+ * Some attributes are only relevant in specific creation or modification contexts.
215
+ *
216
+ * @returns the usage context string, or `null` if undefined
217
+ */
218
+ get usedWhen(): string | null;
219
+ }
220
+ }
221
+ //# sourceMappingURL=model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../src/types/pbxmngt/model.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,qBAAa,KAAK;;IAoCd;;;;OAIG;IACH,IAAI,IAAI,IAAI,MAAM,GAAG,IAAI,CAExB;IAED;;;;;OAKG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,GAAG,IAAI;IAInD;;;;OAIG;IACH,UAAU,IAAI,KAAK,CAAC,SAAS,EAAE;IAI/B;;;;OAIG;IACH,QAAQ,IAAI,KAAK,EAAE;IAInB;;;;;OAKG;IACH,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI;IAIjC;;;;OAIG;IACH,IAAI,MAAM,IAAI,OAAO,CAEpB;IAED;;;;OAIG;IACH,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED;;;;OAIG;IACH,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED;;;;OAIG;IACH,IAAI,MAAM,IAAI,OAAO,CAEpB;IAED;;;;OAIG;IACH,IAAI,MAAM,IAAI,OAAO,CAEpB;IAED;;;;;OAKG;IACH,IAAI,YAAY,IAAI,MAAM,EAAE,GAAG,IAAI,CAElC;CAgCJ;AAED,yBAAiB,KAAK,CAAC;IACnB;;;;OAIG;IACH,KAAY,aAAa;QACrB;;WAEG;QACH,UAAU,eAAe;QAEzB;;WAEG;QACH,WAAW,gBAAgB;QAE3B;;WAEG;QACH,QAAQ,aAAa;QAErB;;WAEG;QACH,OAAO,YAAY;QAEnB;;WAEG;QACH,OAAO,YAAY;QAEnB;;WAEG;QACH,GAAG,QAAQ;QAEX;;WAEG;QACH,UAAU,eAAe;KAC5B;IAED;;;;;;OAMG;IACH,MAAa,SAAS;;QAoClB;;;;WAIG;QACH,IAAI,IAAI,IAAI,MAAM,GAAG,IAAI,CAExB;QAED;;;;WAIG;QACH,IAAI,SAAS,IAAI,OAAO,CAEvB;QAED;;;;WAIG;QACH,IAAI,IAAI,IAAI,aAAa,GAAG,IAAI,CAE/B;QAED;;;;WAIG;QACH,IAAI,UAAU,IAAI,OAAO,CAExB;QAED;;;;;;WAMG;QACH,IAAI,aAAa,IAAI,MAAM,EAAE,GAAG,IAAI,CAEnC;QAED;;;;;;;WAOG;QACH,IAAI,iBAAiB,IAAI,iBAAiB,GAAG,IAAI,CAEhD;QAED;;;;WAIG;QACH,IAAI,YAAY,IAAI,MAAM,GAAG,IAAI,CAEhC;QAED;;;;WAIG;QACH,IAAI,SAAS,IAAI,OAAO,CAEvB;QAED;;;;;;WAMG;QACH,IAAI,QAAQ,IAAI,MAAM,GAAG,IAAI,CAE5B;KAkBJ;CACJ"}
@@ -0,0 +1,12 @@
1
+ export declare class OctetStringLength {
2
+ private readonly _min;
3
+ private readonly _max;
4
+ private constructor();
5
+ get min(): number;
6
+ get max(): number;
7
+ /**
8
+ * @ignore
9
+ */
10
+ static parseLengthValue(value: string | null | undefined): OctetStringLength | null;
11
+ }
12
+ //# sourceMappingURL=octet-string-length.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"octet-string-length.d.ts","sourceRoot":"","sources":["../../../../src/types/pbxmngt/octet-string-length.ts"],"names":[],"mappings":"AAsBA,qBAAa,iBAAiB;IAEtB,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,IAAI;IAFzB,OAAO;IAKP,IAAI,GAAG,IAAI,MAAM,CAEhB;IAED,IAAI,GAAG,IAAI,MAAM,CAEhB;IAED;;OAEG;IACH,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,iBAAiB,GAAG,IAAI;CAYtF"}
@@ -0,0 +1,96 @@
1
+ import { PbxAttribute } from './pbx-attribute';
2
+ /**
3
+ * Represents a collection of named {@link PbxAttribute} objects that together
4
+ * form a structured sequence.
5
+ * <p>
6
+ * A `PbxAttributeMap` is used when building or reading back Sequence or Set
7
+ * attributes. Each attribute in the map must have a unique name.
8
+ * <p>
9
+ * Use {@link PbxAttributeMap.create} or {@link PbxAttributeMap.createWith} to
10
+ * build a map, then pass it to {@link PbxAttribute.createSequence} or
11
+ * {@link PbxAttribute.createSequenceSet}.
12
+ *
13
+ * @example
14
+ * ```typescript
15
+ * // Build a sequence using the fluent API
16
+ * const skillMap = PbxAttributeMap.create()
17
+ * .add(PbxAttribute.createInteger("Skill_Nb", 1))
18
+ * .add(PbxAttribute.createInteger("Skill_Level", 3))
19
+ * .add(PbxAttribute.createBoolean("Skill_Activate", true));
20
+ *
21
+ * // Or build it from an array
22
+ * const skillMap2 = PbxAttributeMap.createWith([
23
+ * PbxAttribute.createInteger("Skill_Nb", 1),
24
+ * PbxAttribute.createInteger("Skill_Level", 3),
25
+ * PbxAttribute.createBoolean("Skill_Activate", true)
26
+ * ]);
27
+ *
28
+ * // Use it to create a Sequence attribute
29
+ * const skill = PbxAttribute.createSequence("Skill", skillMap);
30
+ *
31
+ * // Or a Set of sequences
32
+ * const skillSet = PbxAttribute.createSequenceSet("SkillSet", [skillMap, skillMap2]);
33
+ * ```
34
+ */
35
+ export declare class PbxAttributeMap {
36
+ #private;
37
+ /**
38
+ * Returns the names of all attributes in this map.
39
+ *
40
+ * @returns the list of attribute names
41
+ */
42
+ get names(): string[];
43
+ /**
44
+ * Returns the attribute with the specified name.
45
+ *
46
+ * @param name the name of the attribute to retrieve
47
+ * @returns the {@link PbxAttribute} if found; `undefined` otherwise
48
+ */
49
+ getAttribute(name: string): PbxAttribute | undefined;
50
+ /**
51
+ * Adds an attribute to this map.
52
+ * <p>
53
+ * Attributes with undefined names are skipped. Calls can be chained to
54
+ * build a sequence fluently.
55
+ *
56
+ * @param value the attribute to add
57
+ * @returns this {@link PbxAttributeMap} for chaining
58
+ * @see create
59
+ */
60
+ add(value: PbxAttribute): PbxAttributeMap;
61
+ /**
62
+ * Creates a new empty `PbxAttributeMap`.
63
+ * <p>
64
+ * Use the fluent {@link add} method to populate it.
65
+ *
66
+ * @example
67
+ * ```typescript
68
+ * const map = PbxAttributeMap.create()
69
+ * .add(PbxAttribute.createInteger("Param1", 1))
70
+ * .add(PbxAttribute.createBoolean("Param2", true));
71
+ * ```
72
+ *
73
+ * @returns a new empty {@link PbxAttributeMap}
74
+ * @see createWith
75
+ */
76
+ static create(): PbxAttributeMap;
77
+ /**
78
+ * Creates a `PbxAttributeMap` pre-populated with the specified attributes.
79
+ * <p>
80
+ * Attributes with undefined names are skipped.
81
+ *
82
+ * @example
83
+ * ```typescript
84
+ * const map = PbxAttributeMap.createWith([
85
+ * PbxAttribute.createInteger("Param1", 1),
86
+ * PbxAttribute.createBoolean("Param2", true)
87
+ * ]);
88
+ * ```
89
+ *
90
+ * @param attributes the list of attributes to add
91
+ * @returns a new {@link PbxAttributeMap} containing the specified attributes
92
+ * @see create
93
+ */
94
+ static createWith(attributes: PbxAttribute[]): PbxAttributeMap;
95
+ }
96
+ //# sourceMappingURL=pbx-attr-map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pbx-attr-map.d.ts","sourceRoot":"","sources":["../../../../src/types/pbxmngt/pbx-attr-map.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAa,eAAe;;IAUxB;;;;OAIG;IACH,IAAI,KAAK,IAAI,MAAM,EAAE,CAEpB;IAED;;;;;OAKG;IACH,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS;IAIpD;;;;;;;;;OASG;IACH,GAAG,CAAC,KAAK,EAAE,YAAY,GAAG,eAAe;IASzC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,MAAM,IAAI,eAAe;IAIhC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,UAAU,CAAC,UAAU,EAAE,YAAY,EAAE,GAAG,eAAe;CAsDjE"}