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
@@ -0,0 +1,79 @@
1
+ import { FilterOption } from './filter-option';
2
+ import { Role } from './role';
3
+ /**
4
+ * Represents a filter used to query communication log records.
5
+ * <p>
6
+ * This filter can be applied when retrieving records via
7
+ * {@link CommunicationLog.getComRecords}. All parameters are optional —
8
+ * omitted parameters are not applied to the query.
9
+ * <p>
10
+ * The filter allows specifying:
11
+ * <ul>
12
+ * <li>a date range (`after` / `before`)</li>
13
+ * <li>a call reference</li>
14
+ * <li>a remote party identifier</li>
15
+ * <li>a participant role</li>
16
+ * <li>additional search options (e.g. unanswered calls)</li>
17
+ * </ul>
18
+ *
19
+ * @example
20
+ * ```typescript
21
+ * // Filter unanswered records in January 2026
22
+ * const filter = new QueryFilter({
23
+ * after: new Date('2026-01-01'),
24
+ * before: new Date('2026-01-31'),
25
+ * options: [FilterOption.UNANSWERED]
26
+ * });
27
+ *
28
+ * const result = await O2G.comlog.getComRecords(filter);
29
+ *
30
+ * // Filter by call reference and role
31
+ * const filter2 = new QueryFilter({
32
+ * callRef: '12345',
33
+ * role: Role.CALLER
34
+ * });
35
+ * ```
36
+ *
37
+ * @see CommunicationLog.getComRecords
38
+ */
39
+ export declare class QueryFilter {
40
+ #private;
41
+ /**
42
+ * Creates a new `QueryFilter`.
43
+ *
44
+ * @param params optional filter parameters
45
+ */
46
+ constructor(params: {
47
+ after?: Date;
48
+ before?: Date;
49
+ options?: Set<FilterOption> | FilterOption[];
50
+ callRef?: string;
51
+ remotePartyId?: string;
52
+ role?: Role;
53
+ });
54
+ /**
55
+ * The start date of the query filter — records created after this date are included.
56
+ */
57
+ get after(): Date | null;
58
+ /**
59
+ * The end date of the query filter — records created before this date are included.
60
+ */
61
+ get before(): Date | null;
62
+ /**
63
+ * The set of filter options applied to the query (e.g. unanswered calls only).
64
+ */
65
+ get options(): ReadonlySet<FilterOption>;
66
+ /**
67
+ * The call reference used for filtering.
68
+ */
69
+ get callRef(): string | null;
70
+ /**
71
+ * The remote party identifier used for filtering.
72
+ */
73
+ get remotePartyId(): string | null;
74
+ /**
75
+ * The participant role used for filtering.
76
+ */
77
+ get role(): Role;
78
+ }
79
+ //# sourceMappingURL=query-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-filter.d.ts","sourceRoot":"","sources":["../../../../src/types/comlog/query-filter.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,qBAAa,WAAW;;IAQpB;;;;OAIG;gBACS,MAAM,EAAE;QAChB,KAAK,CAAC,EAAE,IAAI,CAAC;QACb,MAAM,CAAC,EAAE,IAAI,CAAC;QACd,OAAO,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,GAAG,YAAY,EAAE,CAAC;QAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,IAAI,CAAC,EAAE,IAAI,CAAC;KACf;IASD;;OAEG;IACH,IAAI,KAAK,IAAI,IAAI,GAAG,IAAI,CAEvB;IAED;;OAEG;IACH,IAAI,MAAM,IAAI,IAAI,GAAG,IAAI,CAExB;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,WAAW,CAAC,YAAY,CAAC,CAEvC;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,MAAM,GAAG,IAAI,CAE3B;IAED;;OAEG;IACH,IAAI,aAAa,IAAI,MAAM,GAAG,IAAI,CAEjC;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,IAAI,CAEf;CACJ"}
@@ -0,0 +1,55 @@
1
+ import { ComRecord } from './com-record';
2
+ import { Page } from './page';
3
+ /**
4
+ * `QueryResult` represents the result of a communication log query.
5
+ *
6
+ * Instances of this class contain the records returned by a query, along with
7
+ * paging information and the total count of matching records.
8
+ *
9
+ * The associated {@link Page} object provides details about the current page,
10
+ * including the offset and limit, and can be used to navigate through pages
11
+ * of results.
12
+ *
13
+ * Each `QueryResult` contains:
14
+ * - The total number of records matching the query (`count`)
15
+ * - Paging information for the current result set (`page`)
16
+ * - The list of communication records (`records`)
17
+ *
18
+ * <p><b>Usage example:</b></p>
19
+ *
20
+ * ```ts
21
+ * const result: QueryResult = QueryResult.fromJson(rawJson);
22
+ *
23
+ * console.log(result.count); // total number of matching records
24
+ * console.log(result.page.offset); // current page offset
25
+ * console.log(result.records); // array of ComRecord objects
26
+ * ```
27
+ *
28
+ * <p>
29
+ * Instances are immutable. The `fromJson` static method should be used
30
+ * to create a `QueryResult` from raw JSON returned by the O2G API.
31
+ * </p>
32
+ *
33
+ * @see CommunicationLogService#getComRecords
34
+ */
35
+ export declare class QueryResult {
36
+ #private;
37
+ /**
38
+ * Returns the total number of records in this result.
39
+ *
40
+ * @return the number of records
41
+ */
42
+ get count(): number;
43
+ /**
44
+ * Returns the page information associated with this result.
45
+ * <p>
46
+ * The {@link Page} object provides the offset and limit used to retrieve
47
+ * this set of records and can be used to navigate through the pages.
48
+ *
49
+ * @return the page
50
+ */
51
+ get page(): Page;
52
+ /** Gets the list of communication records returned by the query. */
53
+ get records(): ComRecord[];
54
+ }
55
+ //# sourceMappingURL=query-result.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-result.d.ts","sourceRoot":"","sources":["../../../../src/types/comlog/query-result.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qBAAa,WAAW;;IAcpB;;;;OAIG;IACH,IAAI,KAAK,IAAI,MAAM,CAElB;IAED;;;;;;;OAOG;IACH,IAAI,IAAI,IAAI,IAAI,CAEf;IAED,oEAAoE;IACpE,IAAI,OAAO,IAAI,SAAS,EAAE,CAEzB;CAeJ"}
@@ -59,3 +59,4 @@ export declare enum Reason {
59
59
  */
60
60
  UNKNOWN = "UNKNOWN"
61
61
  }
62
+ //# sourceMappingURL=reason.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reason.d.ts","sourceRoot":"","sources":["../../../../src/types/comlog/reason.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,MAAM;IACd;;OAEG;IACH,cAAc,mBAAmB;IAEjC;;OAEG;IACH,cAAc,mBAAmB;IAEjC;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,WAAW,gBAAgB;IAE3B;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,UAAU,eAAe;IAEzB;;OAEG;IACH,oBAAoB,yBAAyB;IAE7C;;OAEG;IACH,WAAW,gBAAgB;IAE3B;;OAEG;IACH,oBAAoB,yBAAyB;IAE7C;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,OAAO,YAAY;CACtB"}
@@ -15,3 +15,4 @@ export declare enum Role {
15
15
  */
16
16
  UNKNOWN = "UNKNOWN"
17
17
  }
18
+ //# sourceMappingURL=role.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role.d.ts","sourceRoot":"","sources":["../../../../src/types/comlog/role.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,IAAI;IACZ;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,OAAO,YAAY;CACtB"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * DateRange represents an interval between two dates.
3
+ */
4
+ export declare class DateRange {
5
+ #private;
6
+ /**
7
+ * Constructs a new DateRange, with the specified "from" date and "to" date.
8
+ * @param from the beginning of the range
9
+ * @param to the end of the range
10
+ */
11
+ constructor(from: Date, to: Date);
12
+ /** Returns the "from" date. */
13
+ get from(): Date;
14
+ /** Returns the "to" date. */
15
+ get to(): Date;
16
+ }
17
+ //# sourceMappingURL=date-range.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-range.d.ts","sourceRoot":"","sources":["../../../../src/types/common/date-range.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,qBAAa,SAAS;;IAIlB;;;;OAIG;gBACS,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI;IAQhC,+BAA+B;IAC/B,IAAI,IAAI,IAAI,IAAI,CAEf;IAED,6BAA6B;IAC7B,IAAI,EAAE,IAAI,IAAI,CAEb;CACJ"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Defines the day of a week.
3
+ */
4
+ export declare enum DayOfWeek {
5
+ MONDAY = "MONDAY",
6
+ TUESDAY = "TUESDAY",
7
+ WEDNESDAY = "WEDNESDAY",
8
+ THURSDAY = "THURSDAY",
9
+ FRIDAY = "FRIDAY",
10
+ SATURDAY = "SATURDAY",
11
+ SUNDAY = "SUNDAY"
12
+ }
13
+ export declare namespace DayOfWeek {
14
+ }
15
+ //# sourceMappingURL=day-of-week.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"day-of-week.d.ts","sourceRoot":"","sources":["../../../../src/types/common/day-of-week.ts"],"names":[],"mappings":"AAqBA;;GAEG;AACH,oBAAY,SAAS;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;CACpB;AAGD,yBAAiB,SAAS,CAAC;CAoC1B"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Define the device type
3
+ */
4
+ export declare enum DeviceType {
5
+ /**
6
+ * The device is a DECT device
7
+ */
8
+ DECT = "DECT",
9
+ /**
10
+ * The device is a deskphone
11
+ */
12
+ DESKPHONE = "DESKPHONE",
13
+ /**
14
+ * The device is a mobile device
15
+ */
16
+ MOBILE = "MOBILE",
17
+ /**
18
+ * The device is a softphone
19
+ */
20
+ SOFTPHONE = "SOFTPHONE"
21
+ }
22
+ //# sourceMappingURL=device-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device-type.d.ts","sourceRoot":"","sources":["../../../../src/types/common/device-type.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,UAAU;IAClB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,SAAS,cAAc;CAC1B"}
@@ -0,0 +1,75 @@
1
+ import { DeviceType } from './device-type';
2
+ /**
3
+ * Represents a telephony device for a user.
4
+ */
5
+ export declare class Device {
6
+ #private;
7
+ /**
8
+ * Private constructor. Use `Device.fromJson()` to create instances.
9
+ * @param type - The device type
10
+ * @param id - The device identifier
11
+ * @param subType - Optional device sub-type
12
+ */
13
+ private constructor();
14
+ /** Get the device type */
15
+ get type(): DeviceType | null;
16
+ /** Get the device identifier */
17
+ get id(): string | null;
18
+ /** Get the device sub-type, if any */
19
+ get subType(): string | null;
20
+ }
21
+ /**
22
+ * Namespace for device-related types.
23
+ */
24
+ export declare namespace Device {
25
+ /**
26
+ * Represents the capabilities of a device.
27
+ *
28
+ * Each device has a unique `deviceId` and may support various telephony
29
+ * operations, such as making calls, business calls, private calls, or
30
+ * unparking calls. Use `Capabilities.fromJson()` to create instances
31
+ * from JSON data.
32
+ */
33
+ class Capabilities {
34
+ #private;
35
+ /**
36
+ * Private constructor. Use `Capabilities.fromJson()` to create instances.
37
+ *
38
+ * @param deviceId - The unique identifier of the device
39
+ * @param makeCall - Whether the device can make a call
40
+ * @param makeBusinessCall - Whether the device can make a business call
41
+ * @param makePrivateCall - Whether the device can make a private call
42
+ * @param unParkCall - Whether the device can unpark a call
43
+ */
44
+ private constructor();
45
+ /**
46
+ * Returns the unique identifier of the device.
47
+ */
48
+ get deviceId(): string;
49
+ /**
50
+ * Indicates whether the device can make a regular call.
51
+ *
52
+ * @returns `true` if the device can make calls; otherwise `false` (default `false`)
53
+ */
54
+ get canMakeCall(): boolean;
55
+ /**
56
+ * Indicates whether the device can make a business call.
57
+ *
58
+ * @returns `true` if the device can make business calls; otherwise `false` (default `false`)
59
+ */
60
+ get canMakeBusinessCall(): boolean;
61
+ /**
62
+ * Indicates whether the device can make a private call.
63
+ *
64
+ * @returns `true` if the device can make private calls; otherwise `false` (default `false`)
65
+ */
66
+ get canMakePrivateCall(): boolean;
67
+ /**
68
+ * Indicates whether the device can unpark a call.
69
+ *
70
+ * @returns `true` if the device can unpark calls; otherwise `false` (default `false`)
71
+ */
72
+ get canUnParkCall(): boolean;
73
+ }
74
+ }
75
+ //# sourceMappingURL=device.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../../../src/types/common/device.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;GAEG;AACH,qBAAa,MAAM;;IAKf;;;;;OAKG;IACH,OAAO;IAMP,0BAA0B;IAC1B,IAAI,IAAI,IAAI,UAAU,GAAG,IAAI,CAE5B;IAED,gCAAgC;IAChC,IAAI,EAAE,IAAI,MAAM,GAAG,IAAI,CAEtB;IAED,sCAAsC;IACtC,IAAI,OAAO,IAAI,MAAM,GAAG,IAAI,CAE3B;CAWJ;AAED;;GAEG;AACH,yBAAiB,MAAM,CAAC;IACpB;;;;;;;OAOG;IACH,MAAa,YAAY;;QAOrB;;;;;;;;WAQG;QACH,OAAO;QAcP;;WAEG;QACH,IAAI,QAAQ,IAAI,MAAM,CAErB;QAED;;;;WAIG;QACH,IAAI,WAAW,IAAI,OAAO,CAEzB;QAED;;;;WAIG;QACH,IAAI,mBAAmB,IAAI,OAAO,CAEjC;QAED;;;;WAIG;QACH,IAAI,kBAAkB,IAAI,OAAO,CAEhC;QAED;;;;WAIG;QACH,IAAI,aAAa,IAAI,OAAO,CAE3B;KAmBJ;CACJ"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Represents the information used to uniquely identify a participant; either the login name or the phone number.
3
+ */
4
+ export declare class Identifier {
5
+ #private;
6
+ private constructor();
7
+ /**
8
+ * Returns the login name of the participant.
9
+ *
10
+ * @return the login name, or `null` if not available
11
+ */
12
+ get loginName(): string | null;
13
+ /**
14
+ * Returns the phone number of the participant.
15
+ *
16
+ * @return the phone number, or `null` if not available
17
+ */
18
+ get phoneNumber(): string | null;
19
+ }
20
+ //# sourceMappingURL=identifier.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identifier.d.ts","sourceRoot":"","sources":["../../../../src/types/common/identifier.ts"],"names":[],"mappings":"AAqBA;;GAEG;AACH,qBAAa,UAAU;;IAInB,OAAO;IAKP;;;;OAIG;IACH,IAAI,SAAS,IAAI,MAAM,GAAG,IAAI,CAE7B;IAED;;;;OAIG;IACH,IAAI,WAAW,IAAI,MAAM,GAAG,IAAI,CAE/B;CAWJ"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * MainType represents the main type a participant can be.
3
+ */
4
+ export declare enum MainType {
5
+ /**
6
+ * The participant is a user of the system.
7
+ */
8
+ USER = "USER",
9
+ /**
10
+ * The participant is a device of the system.
11
+ */
12
+ DEVICE = "DEVICE",
13
+ /**
14
+ * The participant is a service of the system. For exemple the voice mail.
15
+ */
16
+ SERVICE = "SERVICE",
17
+ /**
18
+ * The participant is not a user of the system.
19
+ */
20
+ EXTERNAL = "EXTERNAL",
21
+ /**
22
+ * The participant type has not been identified.
23
+ */
24
+ UNKNOWN = "UNKNOWN"
25
+ }
26
+ //# sourceMappingURL=main-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main-type.d.ts","sourceRoot":"","sources":["../../../../src/types/common/main-type.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,QAAQ;IAChB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,OAAO,YAAY;CACtB"}
@@ -0,0 +1,22 @@
1
+ import { MainType } from './main-type';
2
+ /**
3
+ * Represents the type of a party in a call, composed of a main type and an
4
+ * optional sub-type.
5
+ * <p>
6
+ * Available via {@link PartyInfo.type} on call participants and party information.
7
+ *
8
+ * @see PartyInfo
9
+ */
10
+ export declare class PartyInfoType {
11
+ #private;
12
+ /**
13
+ * The main type of this party.
14
+ */
15
+ get main(): MainType;
16
+ /**
17
+ * The sub-type of this party, providing additional classification.
18
+ * `null` if no sub-type is defined.
19
+ */
20
+ get subType(): string | null;
21
+ }
22
+ //# sourceMappingURL=party-info-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"party-info-type.d.ts","sourceRoot":"","sources":["../../../../src/types/common/party-info-type.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;;;;;GAOG;AACH,qBAAa,aAAa;;IAYtB;;OAEG;IACH,IAAI,IAAI,IAAI,QAAQ,CAEnB;IAED;;;OAGG;IACH,IAAI,OAAO,IAAI,MAAM,GAAG,IAAI,CAE3B;CAQJ"}
@@ -0,0 +1,28 @@
1
+ import { Identifier } from './identifier';
2
+ import { PartyInfoType } from './party-info-type';
3
+ /**
4
+ * Represents a party involved in a call.
5
+ */
6
+ export declare class PartyInfo {
7
+ #private;
8
+ /**
9
+ * Private constructor. Use `PartyInfo.fromJson()` to create instances.
10
+ * @param id - Participant identifier
11
+ * @param firstName - First name
12
+ * @param lastName - Last name
13
+ * @param displayName - Display name
14
+ * @param type - Participant type
15
+ */
16
+ private constructor();
17
+ /** Get the participant identifier */
18
+ get id(): Identifier;
19
+ /** Get the participant's first name */
20
+ get firstName(): string | null;
21
+ /** Get the participant's last name */
22
+ get lastName(): string | null;
23
+ /** Get the participant's display name */
24
+ get displayName(): string | null;
25
+ /** Get the participant's type */
26
+ get type(): PartyInfoType | null;
27
+ }
28
+ //# sourceMappingURL=party-info.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"party-info.d.ts","sourceRoot":"","sources":["../../../../src/types/common/party-info.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD;;GAEG;AACH,qBAAa,SAAS;;IAOlB;;;;;;;OAOG;IACH,OAAO;IAcP,qCAAqC;IACrC,IAAI,EAAE,IAAI,UAAU,CAEnB;IAED,uCAAuC;IACvC,IAAI,SAAS,IAAI,MAAM,GAAG,IAAI,CAE7B;IAED,sCAAsC;IACtC,IAAI,QAAQ,IAAI,MAAM,GAAG,IAAI,CAE5B;IAED,yCAAyC;IACzC,IAAI,WAAW,IAAI,MAAM,GAAG,IAAI,CAE/B;IAED,iCAAiC;IACjC,IAAI,IAAI,IAAI,aAAa,GAAG,IAAI,CAE/B;CAiBJ"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * ServiceState represents the possible operational states of a CCD entity,
3
+ * such as a pilot, queue, or processing group.
4
+ *
5
+ * The service state indicates whether the entity is available to handle calls or
6
+ * otherwise engaged.
7
+ *
8
+ * @since 2.7.4
9
+ */
10
+ export declare enum ServiceState {
11
+ /** The service is closed and not available for call handling. */
12
+ Closed = "Closed",
13
+ /** The service is opened and available to handle calls. */
14
+ Opened = "Opened",
15
+ /** The service is blocked and temporarily unavailable. */
16
+ Blocked = "Blocked",
17
+ /** The state of the service is unknown. */
18
+ Unknown = "unknown"
19
+ }
20
+ //# sourceMappingURL=service-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service-state.d.ts","sourceRoot":"","sources":["../../../../src/types/common/service-state.ts"],"names":[],"mappings":"AAmBA;;;;;;;;GAQG;AACH,oBAAY,YAAY;IACpB,iEAAiE;IACjE,MAAM,WAAW;IAEjB,2DAA2D;IAC3D,MAAM,WAAW;IAEjB,0DAA0D;IAC1D,OAAO,YAAY;IAEnB,2CAA2C;IAC3C,OAAO,YAAY;CACtB"}
@@ -0,0 +1,95 @@
1
+ import { FilterItem } from './filter-item';
2
+ import { OperationFilter } from './operation-filter';
3
+ /**
4
+ * Represents a filter criteria to apply on a directory search.
5
+ *
6
+ * A simple criteria is a tuple of the form: `[Attribute, Operation, Value]`.
7
+ * Example: `[LAST_NAME, BEGINS_WITH, "fr"]`.
8
+ *
9
+ * A `Criteria` can also be a logical combination (AND / OR) of multiple other `Criteria` objects.
10
+ *
11
+ * ## Acceptable values for attributes
12
+ * | Value | Description |
13
+ * |--------------|---------------------|
14
+ * | LAST_NAME | The last name |
15
+ * | FIRST_NAME | The first name |
16
+ * | LOGIN_NAME | The login name |
17
+ * | PHONE_NUMBER | The phone number |
18
+ *
19
+ * ## Acceptable values for operations
20
+ * | Value | Description |
21
+ * |------------------|-----------------------------------------------------|
22
+ * | BEGINS_WITH | Attribute must begin with the given value |
23
+ * | ENDS_WITH | Attribute must end with the given value |
24
+ * | CONTAINS | Attribute must contain the given value |
25
+ * | EQUAL_IGNORE_CASE| Attribute equals the value (case-insensitive) |
26
+ *
27
+ * ## Examples
28
+ * ```ts
29
+ * // Search users whose last name begins with 'b'
30
+ * const criteria = Criteria.create(
31
+ * FilterItem.LAST_NAME,
32
+ * OperationFilter.BEGINS_WITH,
33
+ * 'b'
34
+ * );
35
+ *
36
+ * // Search users whose last name begins with 'b' AND first name contains 'ja'
37
+ * const criteria2 = Criteria.and(
38
+ * Criteria.create(
39
+ * FilterItem.LAST_NAME,
40
+ * OperationFilter.BEGINS_WITH,
41
+ * 'b'
42
+ * ),
43
+ * Criteria.create(
44
+ * FilterItem.FIRST_NAME,
45
+ * OperationFilter.CONTAINS,
46
+ * 'ja'
47
+ * )
48
+ * );
49
+ * ```
50
+ */
51
+ export declare class Criteria {
52
+ #private;
53
+ /**
54
+ * Creates a new search `Criteria` with the specified attribute, operation, and value.
55
+ *
56
+ * @param field - The attribute to filter
57
+ * @param operation - The operation to apply
58
+ * @param value - The value to match
59
+ * @returns A new `Criteria` instance
60
+ */
61
+ static create(field: FilterItem, operation: OperationFilter, value: string): Criteria;
62
+ /**
63
+ * Creates a `Criteria` that is the logical OR of multiple criteria.
64
+ *
65
+ * @param criterias - One or more `Criteria` objects
66
+ * @returns A new `Criteria` representing the OR combination
67
+ */
68
+ static or(...criterias: Criteria[]): Criteria;
69
+ /**
70
+ * Creates a `Criteria` that is the logical AND of multiple criteria.
71
+ *
72
+ * @param criterias - One or more `Criteria` objects
73
+ * @returns A new `Criteria` representing the AND combination
74
+ */
75
+ static and(...criterias: Criteria[]): Criteria;
76
+ /**
77
+ * Returns the operation of this filter.
78
+ *
79
+ * @returns The operation as a string (or "AND"/"OR" for logical combinations)
80
+ */
81
+ get operation(): string;
82
+ /**
83
+ * Returns the field of this filter.
84
+ *
85
+ * @returns The field as a string, or `null` for logical combinations
86
+ */
87
+ get field(): string | null;
88
+ /**
89
+ * Returns the operand of this `Criteria`.
90
+ *
91
+ * @returns The operand value (`string` for single filters, `Criteria[]` for logical combinations)
92
+ */
93
+ get operand(): string | Criteria[];
94
+ }
95
+ //# sourceMappingURL=criteria.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"criteria.d.ts","sourceRoot":"","sources":["../../../../src/types/directory/criteria.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,qBAAa,QAAQ;;IAmBjB;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,GAAG,QAAQ;IAIrF;;;;;OAKG;IACH,MAAM,CAAC,EAAE,CAAC,GAAG,SAAS,EAAE,QAAQ,EAAE,GAAG,QAAQ;IAI7C;;;;;OAKG;IACH,MAAM,CAAC,GAAG,CAAC,GAAG,SAAS,EAAE,QAAQ,EAAE,GAAG,QAAQ;IAI9C;;;;OAIG;IACH,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;OAIG;IACH,IAAI,KAAK,IAAI,MAAM,GAAG,IAAI,CAEzB;IAED;;;;OAIG;IACH,IAAI,OAAO,IAAI,MAAM,GAAG,QAAQ,EAAE,CAEjC;CAgBJ"}
@@ -5,17 +5,18 @@ export declare enum FilterItem {
5
5
  /**
6
6
  * The last name.
7
7
  */
8
- LAST_NAME = 0,
8
+ LAST_NAME = "lastName",
9
9
  /**
10
10
  * The first name.
11
11
  */
12
- FIRST_NAME = 1,
12
+ FIRST_NAME = "firstName",
13
13
  /**
14
14
  * The phone number.
15
15
  */
16
- PHONE_NUMBER = 2,
16
+ PHONE_NUMBER = "id.phoneNumber",
17
17
  /**
18
18
  * The login name.
19
19
  */
20
- LOGIN_NAME = 3
20
+ LOGIN_NAME = "id.loginName"
21
21
  }
22
+ //# sourceMappingURL=filter-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-item.d.ts","sourceRoot":"","sources":["../../../../src/types/directory/filter-item.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,UAAU;IAClB;;OAEG;IACH,SAAS,aAAa;IAEtB;;OAEG;IACH,UAAU,cAAc;IAExB;;OAEG;IACH,YAAY,mBAAmB;IAE/B;;OAEG;IACH,UAAU,iBAAiB;CAC9B"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * LogicalOperation represents a logical operation AND or OR.
3
+ */
4
+ export declare enum LogicalOperation {
5
+ /**
6
+ * The OR logica operation
7
+ */
8
+ OR = "OR",
9
+ /**
10
+ * The AND logical operation
11
+ */
12
+ AND = "AND"
13
+ }
14
+ //# sourceMappingURL=logical-operation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logical-operation.d.ts","sourceRoot":"","sources":["../../../../src/types/directory/logical-operation.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,gBAAgB;IACxB;;OAEG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,GAAG,QAAQ;CACd"}
@@ -5,17 +5,18 @@ export declare enum OperationFilter {
5
5
  /**
6
6
  * The attribute and the given value are equals (case insensitive).
7
7
  */
8
- EQUAL_IGNORE_CASE = 0,
8
+ EQUAL_IGNORE_CASE = "EQUAL_IGNORE_CASE",
9
9
  /**
10
10
  * The attribute begins with the value.
11
11
  */
12
- BEGINS_WITH = 1,
12
+ BEGINS_WITH = "BEGIN_WITH",
13
13
  /**
14
14
  * The attribute contains the value.
15
15
  */
16
- CONTAINS = 2,
16
+ CONTAINS = "CONTAIN",
17
17
  /**
18
18
  * The attribute ends with the value.
19
19
  */
20
- ENDS_WITH = 3
20
+ ENDS_WITH = "END_WITH"
21
21
  }
22
+ //# sourceMappingURL=operation-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-filter.d.ts","sourceRoot":"","sources":["../../../../src/types/directory/operation-filter.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,eAAe;IACvB;;OAEG;IACH,iBAAiB,sBAAsB;IAEvC;;OAEG;IACH,WAAW,eAAe;IAE1B;;OAEG;IACH,QAAQ,YAAY;IAEpB;;OAEG;IACH,SAAS,aAAa;CACzB"}
@@ -0,0 +1,22 @@
1
+ import { PartyInfo } from '../common/party-info';
2
+ /**
3
+ * Represents a single batch of contacts returned from a directory search.
4
+ *
5
+ * Each `ResultItem` contains a collection of `PartyInfo` objects representing
6
+ * the contacts found in that batch.
7
+ *
8
+ */
9
+ export declare class ResultItem {
10
+ #private;
11
+ private constructor();
12
+ /**
13
+ * Returns the contacts found in this batch.
14
+ *
15
+ * The returned array is read-only. Modifying the array directly will not
16
+ * affect the internal state of the `ResultItem`.
17
+ *
18
+ * @returns A read-only array of `PartyInfo` objects, or `null` if no contacts are available.
19
+ */
20
+ get contacts(): ReadonlyArray<PartyInfo> | null;
21
+ }
22
+ //# sourceMappingURL=result-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"result-item.d.ts","sourceRoot":"","sources":["../../../../src/types/directory/result-item.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD;;;;;;GAMG;AACH,qBAAa,UAAU;;IAGnB,OAAO;IAIP;;;;;;;OAOG;IACH,IAAI,QAAQ,IAAI,aAAa,CAAC,SAAS,CAAC,GAAG,IAAI,CAE9C;CAWJ"}