o2g-node-sdk 2.4.0 → 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 (528) hide show
  1. package/README.md +10 -6
  2. package/dist/o2g-node-sdk.js +173 -3732
  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-stat/abstract-filter.d.ts +2 -0
  81. package/dist/types/internal/types/cc-stat/abstract-filter.d.ts.map +1 -0
  82. package/dist/types/internal/types/cc-stat/ag-filter-impl.d.ts +2 -0
  83. package/dist/types/internal/types/cc-stat/ag-filter-impl.d.ts.map +1 -0
  84. package/dist/types/internal/types/cc-stat/cc-stat-types.d.ts +56 -0
  85. package/dist/types/internal/types/cc-stat/cc-stat-types.d.ts.map +1 -0
  86. package/dist/types/internal/types/cc-stat/context-impl.d.ts +2 -0
  87. package/dist/types/internal/types/cc-stat/context-impl.d.ts.map +1 -0
  88. package/dist/types/internal/types/cc-stat/on-stats-progress.d.ts +2 -0
  89. package/dist/types/internal/types/cc-stat/on-stats-progress.d.ts.map +1 -0
  90. package/dist/types/internal/types/cc-stat/pil-filter-impl.d.ts +2 -0
  91. package/dist/types/internal/types/cc-stat/pil-filter-impl.d.ts.map +1 -0
  92. package/dist/types/internal/types/cc-stat/requester-impl.d.ts +2 -0
  93. package/dist/types/internal/types/cc-stat/requester-impl.d.ts.map +1 -0
  94. package/dist/types/internal/types/cc-stat/scheduled-rep-impl.d.ts +2 -0
  95. package/dist/types/internal/types/cc-stat/scheduled-rep-impl.d.ts.map +1 -0
  96. package/dist/types/internal/types/comlog/comlog-types.d.ts +2 -0
  97. package/dist/types/internal/types/comlog/comlog-types.d.ts.map +1 -0
  98. package/dist/types/internal/types/common/common-types.d.ts +2 -0
  99. package/dist/types/internal/types/common/common-types.d.ts.map +1 -0
  100. package/dist/types/internal/types/directory/directory-types.d.ts +2 -0
  101. package/dist/types/internal/types/directory/directory-types.d.ts.map +1 -0
  102. package/dist/types/internal/types/eventsummary/eventsummary-types.d.ts +14 -0
  103. package/dist/types/internal/types/eventsummary/eventsummary-types.d.ts.map +1 -0
  104. package/dist/types/internal/types/maint/maint-types.d.ts +2 -0
  105. package/dist/types/internal/types/maint/maint-types.d.ts.map +1 -0
  106. package/dist/types/internal/types/messaging/messaging-types.d.ts +2 -0
  107. package/dist/types/internal/types/messaging/messaging-types.d.ts.map +1 -0
  108. package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts +2 -0
  109. package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts.map +1 -0
  110. package/dist/types/internal/types/phoneset/phoneset-types.d.ts +2 -0
  111. package/dist/types/internal/types/phoneset/phoneset-types.d.ts.map +1 -0
  112. package/dist/types/internal/types/routing/routing-types.d.ts +2 -0
  113. package/dist/types/internal/types/routing/routing-types.d.ts.map +1 -0
  114. package/dist/types/internal/types/rsi/rsi-types.d.ts +2 -0
  115. package/dist/types/internal/types/rsi/rsi-types.d.ts.map +1 -0
  116. package/dist/types/internal/types/telephony/telephony-types.d.ts +2 -0
  117. package/dist/types/internal/types/telephony/telephony-types.d.ts.map +1 -0
  118. package/dist/types/internal/types/users/users-types.d.ts +2 -0
  119. package/dist/types/internal/types/users/users-types.d.ts.map +1 -0
  120. package/dist/types/internal/util/IHttpClient.d.ts +2 -0
  121. package/dist/types/internal/util/IHttpClient.d.ts.map +1 -0
  122. package/dist/types/internal/util/assert.d.ts +2 -0
  123. package/dist/types/internal/util/assert.d.ts.map +1 -0
  124. package/dist/types/internal/util/file-utils.d.ts +2 -0
  125. package/dist/types/internal/util/file-utils.d.ts.map +1 -0
  126. package/dist/types/internal/util/format-util.d.ts +2 -0
  127. package/dist/types/internal/util/format-util.d.ts.map +1 -0
  128. package/dist/types/internal/util/hexa-string.d.ts +2 -0
  129. package/dist/types/internal/util/hexa-string.d.ts.map +1 -0
  130. package/dist/types/internal/util/http-client.d.ts +2 -0
  131. package/dist/types/internal/util/http-client.d.ts.map +1 -0
  132. package/dist/types/internal/util/http-content.d.ts +2 -0
  133. package/dist/types/internal/util/http-content.d.ts.map +1 -0
  134. package/dist/types/internal/util/http-response.d.ts +2 -0
  135. package/dist/types/internal/util/http-response.d.ts.map +1 -0
  136. package/dist/types/internal/util/injection-container.d.ts +5 -0
  137. package/dist/types/internal/util/injection-container.d.ts.map +1 -0
  138. package/dist/types/internal/util/logger.d.ts +7 -0
  139. package/dist/types/internal/util/logger.d.ts.map +1 -0
  140. package/dist/types/internal/util/util-uri.d.ts +2 -0
  141. package/dist/types/internal/util/util-uri.d.ts.map +1 -0
  142. package/dist/types/o2g-analytics.d.ts +61 -0
  143. package/dist/types/o2g-analytics.d.ts.map +1 -0
  144. package/dist/types/o2g-cc-agent.d.ts +376 -0
  145. package/dist/types/o2g-cc-agent.d.ts.map +1 -0
  146. package/dist/types/o2g-cc-mngt.d.ts +213 -0
  147. package/dist/types/o2g-cc-mngt.d.ts.map +1 -0
  148. package/dist/types/o2g-cc-pilot.d.ts +71 -0
  149. package/dist/types/o2g-cc-pilot.d.ts.map +1 -0
  150. package/dist/types/o2g-cc-rt.d.ts +163 -0
  151. package/dist/types/o2g-cc-rt.d.ts.map +1 -0
  152. package/dist/types/o2g-cc-stat.d.ts +450 -0
  153. package/dist/types/o2g-cc-stat.d.ts.map +1 -0
  154. package/dist/types/o2g-comlog.d.ts +245 -0
  155. package/dist/types/o2g-comlog.d.ts.map +1 -0
  156. package/dist/types/o2g-directory.d.ts +109 -0
  157. package/dist/types/o2g-directory.d.ts.map +1 -0
  158. package/dist/types/o2g-eventSummary.d.ts +44 -0
  159. package/dist/types/o2g-eventSummary.d.ts.map +1 -0
  160. package/dist/types/o2g-maint.d.ts +82 -0
  161. package/dist/types/o2g-maint.d.ts.map +1 -0
  162. package/dist/types/o2g-messaging.d.ts +137 -0
  163. package/dist/types/o2g-messaging.d.ts.map +1 -0
  164. package/dist/types/o2g-node-sdk.d.ts +421 -0
  165. package/dist/types/o2g-node-sdk.d.ts.map +1 -0
  166. package/dist/types/o2g-pbx-mngt.d.ts +244 -0
  167. package/dist/types/o2g-pbx-mngt.d.ts.map +1 -0
  168. package/dist/types/o2g-phone-set-prog.d.ts +269 -0
  169. package/dist/types/o2g-phone-set-prog.d.ts.map +1 -0
  170. package/dist/types/o2g-routing.d.ts +313 -0
  171. package/dist/types/o2g-routing.d.ts.map +1 -0
  172. package/dist/types/o2g-rsi.d.ts +155 -0
  173. package/dist/types/o2g-rsi.d.ts.map +1 -0
  174. package/dist/types/o2g-telephony.d.ts +895 -0
  175. package/dist/types/o2g-telephony.d.ts.map +1 -0
  176. package/dist/types/o2g-users-mngt.d.ts +83 -0
  177. package/dist/types/o2g-users-mngt.d.ts.map +1 -0
  178. package/dist/types/o2g-users.d.ts +127 -0
  179. package/dist/types/o2g-users.d.ts.map +1 -0
  180. package/dist/types/subscription.d.ts +379 -0
  181. package/dist/types/subscription.d.ts.map +1 -0
  182. package/dist/types/supervised-account.d.ts +40 -0
  183. package/dist/types/supervised-account.d.ts.map +1 -0
  184. package/dist/types/types/analytics/call-type.d.ts +25 -0
  185. package/dist/types/types/analytics/call-type.d.ts.map +1 -0
  186. package/dist/types/types/analytics/charging-file.d.ts +13 -0
  187. package/dist/types/types/analytics/charging-file.d.ts.map +1 -0
  188. package/dist/types/types/analytics/charging-result.d.ts +50 -0
  189. package/dist/types/types/analytics/charging-result.d.ts.map +1 -0
  190. package/dist/types/types/analytics/charging.d.ts +69 -0
  191. package/dist/types/types/analytics/charging.d.ts.map +1 -0
  192. package/dist/types/types/analytics/incident.d.ts +41 -0
  193. package/dist/types/types/analytics/incident.d.ts.map +1 -0
  194. package/dist/types/types/analytics/tel-facility.d.ts +45 -0
  195. package/dist/types/types/analytics/tel-facility.d.ts.map +1 -0
  196. package/dist/types/types/cc-agent/agent-groups.d.ts +11 -0
  197. package/dist/types/types/cc-agent/agent-groups.d.ts.map +1 -0
  198. package/dist/types/types/cc-agent/agent-skill-set.d.ts +43 -0
  199. package/dist/types/types/cc-agent/agent-skill-set.d.ts.map +1 -0
  200. package/dist/types/types/cc-agent/agent-skill.d.ts +15 -0
  201. package/dist/types/types/cc-agent/agent-skill.d.ts.map +1 -0
  202. package/dist/types/types/cc-agent/cc-agent-events.d.ts +44 -0
  203. package/dist/types/types/cc-agent/cc-agent-events.d.ts.map +1 -0
  204. package/dist/types/types/cc-agent/intrusion-mode.d.ts +25 -0
  205. package/dist/types/types/cc-agent/intrusion-mode.d.ts.map +1 -0
  206. package/dist/types/types/cc-agent/operator-config.d.ts +76 -0
  207. package/dist/types/types/cc-agent/operator-config.d.ts.map +1 -0
  208. package/dist/types/types/cc-agent/operator-state.d.ts +100 -0
  209. package/dist/types/types/cc-agent/operator-state.d.ts.map +1 -0
  210. package/dist/types/types/cc-agent/operator-type.d.ts +17 -0
  211. package/dist/types/types/cc-agent/operator-type.d.ts.map +1 -0
  212. package/dist/types/types/cc-agent/withdraw-reason.d.ts +23 -0
  213. package/dist/types/types/cc-agent/withdraw-reason.d.ts.map +1 -0
  214. package/dist/types/types/cc-mngt/calendar/abstract-calendar.d.ts +8 -0
  215. package/dist/types/types/cc-mngt/calendar/abstract-calendar.d.ts.map +1 -0
  216. package/dist/types/types/cc-mngt/calendar/calendar.d.ts +22 -0
  217. package/dist/types/types/cc-mngt/calendar/calendar.d.ts.map +1 -0
  218. package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts +31 -0
  219. package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts.map +1 -0
  220. package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts +31 -0
  221. package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts.map +1 -0
  222. package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts +18 -0
  223. package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts.map +1 -0
  224. package/dist/types/types/cc-mngt/calendar/transition.d.ts +65 -0
  225. package/dist/types/types/cc-mngt/calendar/transition.d.ts.map +1 -0
  226. package/dist/types/types/cc-mngt/pilot-rule-set.d.ts +33 -0
  227. package/dist/types/types/cc-mngt/pilot-rule-set.d.ts.map +1 -0
  228. package/dist/types/types/cc-mngt/pilot-rule.d.ts +24 -0
  229. package/dist/types/types/cc-mngt/pilot-rule.d.ts.map +1 -0
  230. package/dist/types/types/cc-mngt/pilot.d.ts +58 -0
  231. package/dist/types/types/cc-mngt/pilot.d.ts.map +1 -0
  232. package/dist/types/types/cc-pilot/call-data-pilot.d.ts +50 -0
  233. package/dist/types/types/cc-pilot/call-data-pilot.d.ts.map +1 -0
  234. package/dist/types/types/cc-pilot/cc-pilot-events.d.ts +131 -0
  235. package/dist/types/types/cc-pilot/cc-pilot-events.d.ts.map +1 -0
  236. package/dist/types/types/cc-rt/agent-attributes.d.ts +50 -0
  237. package/dist/types/types/cc-rt/agent-attributes.d.ts.map +1 -0
  238. package/dist/types/types/cc-rt/agent-pg-attributes.d.ts +50 -0
  239. package/dist/types/types/cc-rt/agent-pg-attributes.d.ts.map +1 -0
  240. package/dist/types/types/cc-rt/agent-pg-type.d.ts +17 -0
  241. package/dist/types/types/cc-rt/agent-pg-type.d.ts.map +1 -0
  242. package/dist/types/types/cc-rt/agent-phone-state.d.ts +67 -0
  243. package/dist/types/types/cc-rt/agent-phone-state.d.ts.map +1 -0
  244. package/dist/types/types/cc-rt/agent-service-type.d.ts +16 -0
  245. package/dist/types/types/cc-rt/agent-service-type.d.ts.map +1 -0
  246. package/dist/types/types/cc-rt/agent-type.d.ts +16 -0
  247. package/dist/types/types/cc-rt/agent-type.d.ts.map +1 -0
  248. package/dist/types/types/cc-rt/cc-rt-events.d.ts +274 -0
  249. package/dist/types/types/cc-rt/cc-rt-events.d.ts.map +1 -0
  250. package/dist/types/types/cc-rt/other-pg-attributes.d.ts +18 -0
  251. package/dist/types/types/cc-rt/other-pg-attributes.d.ts.map +1 -0
  252. package/dist/types/types/cc-rt/other-pg-type.d.ts +22 -0
  253. package/dist/types/types/cc-rt/other-pg-type.d.ts.map +1 -0
  254. package/dist/types/types/cc-rt/pilot-attributes.d.ts +40 -0
  255. package/dist/types/types/cc-rt/pilot-attributes.d.ts.map +1 -0
  256. package/dist/types/types/cc-rt/queue-attributes.d.ts +30 -0
  257. package/dist/types/types/cc-rt/queue-attributes.d.ts.map +1 -0
  258. package/dist/types/types/cc-rt/queue-type.d.ts +23 -0
  259. package/dist/types/types/cc-rt/queue-type.d.ts.map +1 -0
  260. package/dist/types/types/cc-rt/rti-context.d.ts +56 -0
  261. package/dist/types/types/cc-rt/rti-context.d.ts.map +1 -0
  262. package/dist/types/types/cc-rt/rti-filter.d.ts +117 -0
  263. package/dist/types/types/cc-rt/rti-filter.d.ts.map +1 -0
  264. package/dist/types/types/cc-rt/rti-object-identifier.d.ts +34 -0
  265. package/dist/types/types/cc-rt/rti-object-identifier.d.ts.map +1 -0
  266. package/dist/types/types/cc-rt/rti-objects.d.ts +72 -0
  267. package/dist/types/types/cc-rt/rti-objects.d.ts.map +1 -0
  268. package/dist/types/types/cc-stats/agbypilot-attributes.d.ts +73 -0
  269. package/dist/types/types/cc-stats/agbypilot-attributes.d.ts.map +1 -0
  270. package/dist/types/types/cc-stats/agent-attributes.d.ts +377 -0
  271. package/dist/types/types/cc-stats/agent-attributes.d.ts.map +1 -0
  272. package/dist/types/types/cc-stats/agent-filter.d.ts +60 -0
  273. package/dist/types/types/cc-stats/agent-filter.d.ts.map +1 -0
  274. package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts +184 -0
  275. package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts.map +1 -0
  276. package/dist/types/types/cc-stats/data/ag-stats-row.d.ts +608 -0
  277. package/dist/types/types/cc-stats/data/ag-stats-row.d.ts.map +1 -0
  278. package/dist/types/types/cc-stats/data/data-obs-period.d.ts +20 -0
  279. package/dist/types/types/cc-stats/data/data-obs-period.d.ts.map +1 -0
  280. package/dist/types/types/cc-stats/data/pil-stats-row.d.ts +623 -0
  281. package/dist/types/types/cc-stats/data/pil-stats-row.d.ts.map +1 -0
  282. package/dist/types/types/cc-stats/data/selected-period.d.ts +49 -0
  283. package/dist/types/types/cc-stats/data/selected-period.d.ts.map +1 -0
  284. package/dist/types/types/cc-stats/data/stat-value.d.ts +36 -0
  285. package/dist/types/types/cc-stats/data/stat-value.d.ts.map +1 -0
  286. package/dist/types/types/cc-stats/data/stats-data.d.ts +64 -0
  287. package/dist/types/types/cc-stats/data/stats-data.d.ts.map +1 -0
  288. package/dist/types/types/cc-stats/events/progress-callback.d.ts +9 -0
  289. package/dist/types/types/cc-stats/events/progress-callback.d.ts.map +1 -0
  290. package/dist/types/types/cc-stats/events/progress-step.d.ts +20 -0
  291. package/dist/types/types/cc-stats/events/progress-step.d.ts.map +1 -0
  292. package/dist/types/types/cc-stats/language.d.ts +15 -0
  293. package/dist/types/types/cc-stats/language.d.ts.map +1 -0
  294. package/dist/types/types/cc-stats/pilot-attributes.d.ts +185 -0
  295. package/dist/types/types/cc-stats/pilot-attributes.d.ts.map +1 -0
  296. package/dist/types/types/cc-stats/pilot-filter.d.ts +45 -0
  297. package/dist/types/types/cc-stats/pilot-filter.d.ts.map +1 -0
  298. package/dist/types/types/cc-stats/requester.d.ts +33 -0
  299. package/dist/types/types/cc-stats/requester.d.ts.map +1 -0
  300. package/dist/types/types/cc-stats/scheduled/recurrence.d.ts +69 -0
  301. package/dist/types/types/cc-stats/scheduled/recurrence.d.ts.map +1 -0
  302. package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts +87 -0
  303. package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts.map +1 -0
  304. package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts +132 -0
  305. package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts.map +1 -0
  306. package/dist/types/types/cc-stats/stats-context.d.ts +66 -0
  307. package/dist/types/types/cc-stats/stats-context.d.ts.map +1 -0
  308. package/dist/types/types/cc-stats/stats-filter.d.ts +34 -0
  309. package/dist/types/types/cc-stats/stats-filter.d.ts.map +1 -0
  310. package/dist/types/types/cc-stats/stats-format.d.ts +17 -0
  311. package/dist/types/types/cc-stats/stats-format.d.ts.map +1 -0
  312. package/dist/types/types/cc-stats/time-interval.d.ts +19 -0
  313. package/dist/types/types/cc-stats/time-interval.d.ts.map +1 -0
  314. package/dist/types/types/comlog/com-record-participant.d.ts +75 -0
  315. package/dist/types/types/comlog/com-record-participant.d.ts.map +1 -0
  316. package/dist/types/types/comlog/com-record.d.ts +97 -0
  317. package/dist/types/types/comlog/com-record.d.ts.map +1 -0
  318. package/dist/types/types/comlog/comlog-events.d.ts +110 -0
  319. package/dist/types/types/comlog/comlog-events.d.ts.map +1 -0
  320. package/dist/types/types/comlog/filter-option.d.ts +24 -0
  321. package/dist/types/types/comlog/filter-option.d.ts.map +1 -0
  322. package/dist/types/types/comlog/page.d.ts +34 -0
  323. package/dist/types/types/comlog/page.d.ts.map +1 -0
  324. package/dist/types/types/comlog/query-filter.d.ts +79 -0
  325. package/dist/types/types/comlog/query-filter.d.ts.map +1 -0
  326. package/dist/types/types/comlog/query-result.d.ts +55 -0
  327. package/dist/types/types/comlog/query-result.d.ts.map +1 -0
  328. package/dist/types/types/comlog/reason.d.ts +62 -0
  329. package/dist/types/types/comlog/reason.d.ts.map +1 -0
  330. package/dist/types/types/comlog/role.d.ts +18 -0
  331. package/dist/types/types/comlog/role.d.ts.map +1 -0
  332. package/dist/types/types/common/date-range.d.ts +17 -0
  333. package/dist/types/types/common/date-range.d.ts.map +1 -0
  334. package/dist/types/types/common/day-of-week.d.ts +15 -0
  335. package/dist/types/types/common/day-of-week.d.ts.map +1 -0
  336. package/dist/types/types/common/device-type.d.ts +22 -0
  337. package/dist/types/types/common/device-type.d.ts.map +1 -0
  338. package/dist/types/types/common/device.d.ts +75 -0
  339. package/dist/types/types/common/device.d.ts.map +1 -0
  340. package/dist/types/types/common/identifier.d.ts +20 -0
  341. package/dist/types/types/common/identifier.d.ts.map +1 -0
  342. package/dist/types/types/common/main-type.d.ts +26 -0
  343. package/dist/types/types/common/main-type.d.ts.map +1 -0
  344. package/dist/types/types/common/party-info-type.d.ts +22 -0
  345. package/dist/types/types/common/party-info-type.d.ts.map +1 -0
  346. package/dist/types/types/common/party-info.d.ts +28 -0
  347. package/dist/types/types/common/party-info.d.ts.map +1 -0
  348. package/dist/types/types/common/service-state.d.ts +20 -0
  349. package/dist/types/types/common/service-state.d.ts.map +1 -0
  350. package/dist/types/types/directory/criteria.d.ts +95 -0
  351. package/dist/types/types/directory/criteria.d.ts.map +1 -0
  352. package/dist/types/types/directory/filter-item.d.ts +22 -0
  353. package/dist/types/types/directory/filter-item.d.ts.map +1 -0
  354. package/dist/types/types/directory/logical-operation.d.ts +14 -0
  355. package/dist/types/types/directory/logical-operation.d.ts.map +1 -0
  356. package/dist/types/types/directory/operation-filter.d.ts +22 -0
  357. package/dist/types/types/directory/operation-filter.d.ts.map +1 -0
  358. package/dist/types/types/directory/result-item.d.ts +22 -0
  359. package/dist/types/types/directory/result-item.d.ts.map +1 -0
  360. package/dist/types/types/directory/search-result.d.ts +64 -0
  361. package/dist/types/types/directory/search-result.d.ts.map +1 -0
  362. package/dist/types/types/events/events.d.ts +77 -0
  363. package/dist/types/types/events/events.d.ts.map +1 -0
  364. package/dist/types/types/eventsummary/event-summary-counter.d.ts +69 -0
  365. package/dist/types/types/eventsummary/event-summary-counter.d.ts.map +1 -0
  366. package/dist/types/types/eventsummary/event-summary-events.d.ts +26 -0
  367. package/dist/types/types/eventsummary/event-summary-events.d.ts.map +1 -0
  368. package/dist/types/types/maint/configuration-type.d.ts +15 -0
  369. package/dist/types/types/maint/configuration-type.d.ts.map +1 -0
  370. package/dist/types/types/maint/cti-link-state.d.ts +19 -0
  371. package/dist/types/types/maint/cti-link-state.d.ts.map +1 -0
  372. package/dist/types/types/maint/license-status.d.ts +42 -0
  373. package/dist/types/types/maint/license-status.d.ts.map +1 -0
  374. package/dist/types/types/maint/license-type.d.ts +19 -0
  375. package/dist/types/types/maint/license-type.d.ts.map +1 -0
  376. package/dist/types/types/maint/license.d.ts +38 -0
  377. package/dist/types/types/maint/license.d.ts.map +1 -0
  378. package/dist/types/types/maint/maint-events.d.ts +105 -0
  379. package/dist/types/types/maint/maint-events.d.ts.map +1 -0
  380. package/dist/types/types/maint/pbx-status.d.ts +77 -0
  381. package/dist/types/types/maint/pbx-status.d.ts.map +1 -0
  382. package/dist/types/types/maint/server-address.d.ts +25 -0
  383. package/dist/types/types/maint/server-address.d.ts.map +1 -0
  384. package/dist/types/types/maint/service-status.d.ts +31 -0
  385. package/dist/types/types/maint/service-status.d.ts.map +1 -0
  386. package/dist/types/types/maint/subscriber-filter.d.ts +24 -0
  387. package/dist/types/types/maint/subscriber-filter.d.ts.map +1 -0
  388. package/dist/types/types/maint/sys-service-status.d.ts +33 -0
  389. package/dist/types/types/maint/sys-service-status.d.ts.map +1 -0
  390. package/dist/types/types/maint/sys-status.d.ts +79 -0
  391. package/dist/types/types/maint/sys-status.d.ts.map +1 -0
  392. package/dist/types/types/messaging/mailbox-info.d.ts +35 -0
  393. package/dist/types/types/messaging/mailbox-info.d.ts.map +1 -0
  394. package/dist/types/types/messaging/mailbox.d.ts +119 -0
  395. package/dist/types/types/messaging/mailbox.d.ts.map +1 -0
  396. package/dist/types/types/messaging/voice-message.d.ts +57 -0
  397. package/dist/types/types/messaging/voice-message.d.ts.map +1 -0
  398. package/dist/types/types/pbxmngt/attribute-filter.d.ts +31 -0
  399. package/dist/types/types/pbxmngt/attribute-filter.d.ts.map +1 -0
  400. package/dist/types/types/pbxmngt/instance-filter.d.ts +72 -0
  401. package/dist/types/types/pbxmngt/instance-filter.d.ts.map +1 -0
  402. package/dist/types/types/pbxmngt/model.d.ts +221 -0
  403. package/dist/types/types/pbxmngt/model.d.ts.map +1 -0
  404. package/dist/types/types/pbxmngt/octet-string-length.d.ts +12 -0
  405. package/dist/types/types/pbxmngt/octet-string-length.d.ts.map +1 -0
  406. package/dist/types/types/pbxmngt/pbx-attr-map.d.ts +96 -0
  407. package/dist/types/types/pbxmngt/pbx-attr-map.d.ts.map +1 -0
  408. package/dist/types/types/pbxmngt/pbx-attribute.d.ts +182 -0
  409. package/dist/types/types/pbxmngt/pbx-attribute.d.ts.map +1 -0
  410. package/dist/types/types/pbxmngt/pbx-object.d.ts +73 -0
  411. package/dist/types/types/pbxmngt/pbx-object.d.ts.map +1 -0
  412. package/dist/types/types/pbxmngt/pbx.d.ts +23 -0
  413. package/dist/types/types/pbxmngt/pbx.d.ts.map +1 -0
  414. package/dist/types/types/pbxmngt/pbxmngt-events.d.ts +74 -0
  415. package/dist/types/types/pbxmngt/pbxmngt-events.d.ts.map +1 -0
  416. package/dist/types/types/phoneset/device-key.d.ts +36 -0
  417. package/dist/types/types/phoneset/device-key.d.ts.map +1 -0
  418. package/dist/types/types/phoneset/dynamic-state.d.ts +30 -0
  419. package/dist/types/types/phoneset/dynamic-state.d.ts.map +1 -0
  420. package/dist/types/types/phoneset/pin.d.ts +53 -0
  421. package/dist/types/types/phoneset/pin.d.ts.map +1 -0
  422. package/dist/types/types/phoneset/prog-key.d.ts +26 -0
  423. package/dist/types/types/phoneset/prog-key.d.ts.map +1 -0
  424. package/dist/types/types/phoneset/soft-key.d.ts +18 -0
  425. package/dist/types/types/phoneset/soft-key.d.ts.map +1 -0
  426. package/dist/types/types/routing/destination.d.ts +18 -0
  427. package/dist/types/types/routing/destination.d.ts.map +1 -0
  428. package/dist/types/types/routing/dnd-state.d.ts +9 -0
  429. package/dist/types/types/routing/dnd-state.d.ts.map +1 -0
  430. package/dist/types/types/routing/forward-condition.d.ts +26 -0
  431. package/dist/types/types/routing/forward-condition.d.ts.map +1 -0
  432. package/dist/types/types/routing/forward.d.ts +53 -0
  433. package/dist/types/types/routing/forward.d.ts.map +1 -0
  434. package/dist/types/types/routing/overflow-condition.d.ts +22 -0
  435. package/dist/types/types/routing/overflow-condition.d.ts.map +1 -0
  436. package/dist/types/types/routing/overflow.d.ts +50 -0
  437. package/dist/types/types/routing/overflow.d.ts.map +1 -0
  438. package/dist/types/types/routing/routing-capabilities.d.ts +15 -0
  439. package/dist/types/types/routing/routing-capabilities.d.ts.map +1 -0
  440. package/dist/types/types/routing/routing-events.d.ts +23 -0
  441. package/dist/types/types/routing/routing-events.d.ts.map +1 -0
  442. package/dist/types/types/routing/routing-state.d.ts +52 -0
  443. package/dist/types/types/routing/routing-state.d.ts.map +1 -0
  444. package/dist/types/types/rsi/add-digit-coll-criteria.d.ts +17 -0
  445. package/dist/types/types/rsi/add-digit-coll-criteria.d.ts.map +1 -0
  446. package/dist/types/types/rsi/collection-cause.d.ts +22 -0
  447. package/dist/types/types/rsi/collection-cause.d.ts.map +1 -0
  448. package/dist/types/types/rsi/route-session.d.ts +21 -0
  449. package/dist/types/types/rsi/route-session.d.ts.map +1 -0
  450. package/dist/types/types/rsi/routing-caller-type.d.ts +18 -0
  451. package/dist/types/types/rsi/routing-caller-type.d.ts.map +1 -0
  452. package/dist/types/types/rsi/routing-reason.d.ts +26 -0
  453. package/dist/types/types/rsi/routing-reason.d.ts.map +1 -0
  454. package/dist/types/types/rsi/rsi-events.d.ts +47 -0
  455. package/dist/types/types/rsi/rsi-events.d.ts.map +1 -0
  456. package/dist/types/types/rsi/rsi-point.d.ts +17 -0
  457. package/dist/types/types/rsi/rsi-point.d.ts.map +1 -0
  458. package/dist/types/types/rsi/tones.d.ts +26 -0
  459. package/dist/types/types/rsi/tones.d.ts.map +1 -0
  460. package/dist/types/types/telephony/RecordingAction.d.ts +7 -0
  461. package/dist/types/types/telephony/RecordingAction.d.ts.map +1 -0
  462. package/dist/types/types/telephony/call/call-cause.d.ts +123 -0
  463. package/dist/types/types/telephony/call/call-cause.d.ts.map +1 -0
  464. package/dist/types/types/telephony/call/call-data.d.ts +81 -0
  465. package/dist/types/types/telephony/call/call-data.d.ts.map +1 -0
  466. package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts +35 -0
  467. package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts.map +1 -0
  468. package/dist/types/types/telephony/call/ccd/acd-data.d.ts +50 -0
  469. package/dist/types/types/telephony/call/ccd/acd-data.d.ts.map +1 -0
  470. package/dist/types/types/telephony/call/ccd/call-profile.d.ts +112 -0
  471. package/dist/types/types/telephony/call/ccd/call-profile.d.ts.map +1 -0
  472. package/dist/types/types/telephony/call/ccd/pilot-info.d.ts +43 -0
  473. package/dist/types/types/telephony/call/ccd/pilot-info.d.ts.map +1 -0
  474. package/dist/types/types/telephony/call/ccd/pilot-status.d.ts +38 -0
  475. package/dist/types/types/telephony/call/ccd/pilot-status.d.ts.map +1 -0
  476. package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts +24 -0
  477. package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts.map +1 -0
  478. package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts +104 -0
  479. package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts.map +1 -0
  480. package/dist/types/types/telephony/call/ccd/queue-data.d.ts +23 -0
  481. package/dist/types/types/telephony/call/ccd/queue-data.d.ts.map +1 -0
  482. package/dist/types/types/telephony/call/correlator-data.d.ts +54 -0
  483. package/dist/types/types/telephony/call/correlator-data.d.ts.map +1 -0
  484. package/dist/types/types/telephony/call/leg.d.ts +57 -0
  485. package/dist/types/types/telephony/call/leg.d.ts.map +1 -0
  486. package/dist/types/types/telephony/call/media-state.d.ts +42 -0
  487. package/dist/types/types/telephony/call/media-state.d.ts.map +1 -0
  488. package/dist/types/types/telephony/call/participant.d.ts +34 -0
  489. package/dist/types/types/telephony/call/participant.d.ts.map +1 -0
  490. package/dist/types/types/telephony/call/record-state.d.ts +14 -0
  491. package/dist/types/types/telephony/call/record-state.d.ts.map +1 -0
  492. package/dist/types/types/telephony/call/tag.d.ts +37 -0
  493. package/dist/types/types/telephony/call/tag.d.ts.map +1 -0
  494. package/dist/types/types/telephony/call.d.ts +90 -0
  495. package/dist/types/types/telephony/call.d.ts.map +1 -0
  496. package/dist/types/types/telephony/callback.d.ts +33 -0
  497. package/dist/types/types/telephony/callback.d.ts.map +1 -0
  498. package/dist/types/types/telephony/device/device-state.d.ts +30 -0
  499. package/dist/types/types/telephony/device/device-state.d.ts.map +1 -0
  500. package/dist/types/types/telephony/device/operational-state.d.ts +18 -0
  501. package/dist/types/types/telephony/device/operational-state.d.ts.map +1 -0
  502. package/dist/types/types/telephony/hunting-group-status.d.ts +25 -0
  503. package/dist/types/types/telephony/hunting-group-status.d.ts.map +1 -0
  504. package/dist/types/types/telephony/hunting-groups.d.ts +33 -0
  505. package/dist/types/types/telephony/hunting-groups.d.ts.map +1 -0
  506. package/dist/types/types/telephony/mini-message.d.ts +37 -0
  507. package/dist/types/types/telephony/mini-message.d.ts.map +1 -0
  508. package/dist/types/types/telephony/telephonic-state.d.ts +34 -0
  509. package/dist/types/types/telephony/telephonic-state.d.ts.map +1 -0
  510. package/dist/types/types/telephony/telephony-events.d.ts +223 -0
  511. package/dist/types/types/telephony/telephony-events.d.ts.map +1 -0
  512. package/dist/types/types/telephony/trunk-indentification.d.ts +19 -0
  513. package/dist/types/types/telephony/trunk-indentification.d.ts.map +1 -0
  514. package/dist/types/types/telephony/user/user-state.d.ts +18 -0
  515. package/dist/types/types/telephony/user/user-state.d.ts.map +1 -0
  516. package/dist/types/types/users/preferences.d.ts +29 -0
  517. package/dist/types/types/users/preferences.d.ts.map +1 -0
  518. package/dist/types/types/users/supported-languages.d.ts +29 -0
  519. package/dist/types/types/users/supported-languages.d.ts.map +1 -0
  520. package/dist/types/types/users/user.d.ts +67 -0
  521. package/dist/types/types/users/user.d.ts.map +1 -0
  522. package/dist/types/types/users/users-events.d.ts +78 -0
  523. package/dist/types/types/users/users-events.d.ts.map +1 -0
  524. package/dist/types/types/users/voicemail-type.d.ts +18 -0
  525. package/dist/types/types/users/voicemail-type.d.ts.map +1 -0
  526. package/dist/types/types/users/voicemail.d.ts +20 -0
  527. package/dist/types/types/users/voicemail.d.ts.map +1 -0
  528. package/package.json +6 -4
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Represents a statistical value that can be interpreted as different types.
3
+ * <p>
4
+ * A `StatValue` wraps a raw value returned in statistics data and provides
5
+ * typed accessors to read it as an integer, float, string or duration.
6
+ * All accessors return `null` if the underlying value is not set or cannot
7
+ * be converted to the requested type.
8
+ */
9
+ export declare class StatValue {
10
+ private value;
11
+ /**
12
+ * Returns the value as an integer.
13
+ *
14
+ * @returns the integer value, or `null` if the value is not set or cannot be parsed
15
+ */
16
+ asInteger(): number | null;
17
+ /**
18
+ * Returns the value as a floating-point number.
19
+ *
20
+ * @returns the float value, or `null` if the value is not set or cannot be parsed
21
+ */
22
+ asFloat(): number | null;
23
+ /**
24
+ * Returns the value as a string.
25
+ *
26
+ * @returns the string representation, or `null` if the value is not set
27
+ */
28
+ asString(): string | null;
29
+ /**
30
+ * Returns the value as a duration string in `hh:mm:ss` format.
31
+ *
32
+ * @returns the duration string, or `null` if the value is not set
33
+ */
34
+ asDuration(): string | null;
35
+ }
36
+ //# sourceMappingURL=stat-value.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stat-value.d.ts","sourceRoot":"","sources":["../../../../../src/types/cc-stats/data/stat-value.ts"],"names":[],"mappings":"AAmBA;;;;;;;GAOG;AACH,qBAAa,SAAS;IAIN,OAAO,CAAC,KAAK;IAEzB;;;;OAIG;IACH,SAAS,IAAI,MAAM,GAAG,IAAI;IAO1B;;;;OAIG;IACH,OAAO,IAAI,MAAM,GAAG,IAAI;IAOxB;;;;OAIG;IACH,QAAQ,IAAI,MAAM,GAAG,IAAI;IAKzB;;;;OAIG;IACH,UAAU,IAAI,MAAM,GAAG,IAAI;CAG9B"}
@@ -0,0 +1,64 @@
1
+ import { AgentStatisticsRow } from './ag-stats-row';
2
+ import { PilotStatisticsRow } from './pil-stats-row';
3
+ import { SelectedPeriod } from './selected-period';
4
+ /**
5
+ * Represents the statistical results for a specific observation period and time slot.
6
+ * <p>
7
+ * Each `ObjectStatistics<T>` instance groups the data rows collected for a given
8
+ * {@link SelectedPeriod} and an optional time slot (e.g. a 15-minute or hourly interval).
9
+ * <p>
10
+ * The class is generic and can represent either agent-level or pilot-level statistics:
11
+ * <ul>
12
+ * <li>`ObjectStatistics<AgentStatisticsRow>` — for agent statistics</li>
13
+ * <li>`ObjectStatistics<PilotStatisticsRow>` — for pilot statistics</li>
14
+ * </ul>
15
+ *
16
+ * @template T the type of the statistics row, either `AgentStatisticsRow` or `PilotStatisticsRow`
17
+ * @see StatisticsData
18
+ * @see CallCenterStatistics.getDayData
19
+ * @see CallCenterStatistics.getDaysData
20
+ */
21
+ export declare class ObjectStatistics<T> {
22
+ #private;
23
+ /**
24
+ * The start date and time of this time slot.
25
+ * <p>
26
+ * The time slot represents the period during which the statistics were aggregated
27
+ * (e.g. `2025-09-02T10:00` for a 15-minute interval starting at 10:00).
28
+ */
29
+ get timeSlot(): Date | null;
30
+ /**
31
+ * The selected period during which these statistics were collected.
32
+ */
33
+ get selectedPeriod(): SelectedPeriod | null;
34
+ /**
35
+ * The list of statistics rows collected for this time slot and period.
36
+ */
37
+ get rows(): T[] | null;
38
+ }
39
+ /**
40
+ * Represents the statistical data returned for a requester, including agent-level
41
+ * and pilot-level statistics grouped by time slot and observation period.
42
+ * <p>
43
+ * A `StatisticsData` instance is returned by {@link CallCenterStatistics.getDayData}
44
+ * and {@link CallCenterStatistics.getDaysData}.
45
+ *
46
+ * @see CallCenterStatistics.getDayData
47
+ * @see CallCenterStatistics.getDaysData
48
+ */
49
+ export declare class StatisticsData {
50
+ #private;
51
+ /**
52
+ * The identifier of the requester (supervisor) for whom the statistics were retrieved.
53
+ */
54
+ get requesterId(): string;
55
+ /**
56
+ * The agent-level statistics, grouped by time slot and observation period.
57
+ */
58
+ get agentsStats(): ObjectStatistics<AgentStatisticsRow>[] | undefined;
59
+ /**
60
+ * The pilot-level statistics, grouped by time slot and observation period.
61
+ */
62
+ get pilotsStats(): ObjectStatistics<PilotStatisticsRow>[] | undefined;
63
+ }
64
+ //# sourceMappingURL=stats-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stats-data.d.ts","sourceRoot":"","sources":["../../../../../src/types/cc-stats/data/stats-data.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,gBAAgB,CAAC,CAAC;;IAc3B;;;;;OAKG;IACH,IAAI,QAAQ,IAAI,IAAI,GAAG,IAAI,CAG1B;IAED;;OAEG;IACH,IAAI,cAAc,IAAI,cAAc,GAAG,IAAI,CAE1C;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,CAAC,EAAE,GAAG,IAAI,CAErB;CAaJ;AAED;;;;;;;;;GASG;AACH,qBAAa,cAAc;;IAkBvB;;OAEG;IACH,IAAI,WAAW,IAAI,MAAM,CAExB;IAED;;OAEG;IACH,IAAI,WAAW,IAAI,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,GAAG,SAAS,CAEpE;IAED;;OAEG;IACH,IAAI,WAAW,IAAI,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,GAAG,SAAS,CAEpE;CAgBJ"}
@@ -0,0 +1,9 @@
1
+ import { ProgressStep } from './progress-step';
2
+ /**
3
+ * Function type for receiving progress updates during an asynchronous or long-running operation.
4
+ *
5
+ * @param step - The current logical step or phase of the operation
6
+ * @param progress - Completion percentage (0 to 100)
7
+ */
8
+ export type ProgressCallback = (step: ProgressStep, progress: number) => void;
9
+ //# sourceMappingURL=progress-callback.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-callback.d.ts","sourceRoot":"","sources":["../../../../../src/types/cc-stats/events/progress-callback.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Represents the different steps in the processing of CCD statistics.
3
+ * A `ProgressStep` indicates the current state of the data lifecycle,
4
+ * from collection to processing and formatting, including possible error or cancellation states.
5
+ */
6
+ export declare enum ProgressStep {
7
+ /**
8
+ * Data is currently being collected by the application front end.
9
+ */
10
+ COLLECTING = "COLLECTING",
11
+ /**
12
+ * Data collection has been successfully completed and the data has been processed.
13
+ */
14
+ PROCESSED = "PROCESSED",
15
+ /**
16
+ * Processed data has been successfully formatted for reporting or export.
17
+ */
18
+ FORMATTED = "FORMATTED"
19
+ }
20
+ //# sourceMappingURL=progress-step.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-step.d.ts","sourceRoot":"","sources":["../../../../../src/types/cc-stats/events/progress-step.ts"],"names":[],"mappings":"AAmBA;;;;GAIG;AACH,oBAAY,YAAY;IACpB;;OAEG;IACH,UAAU,eAAe;IAEzB;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,SAAS,cAAc;CAC1B"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Enum representing the language of a requester.
3
+ *
4
+ * Each constant corresponds to a supported language in the system.
5
+ * @since 2.7.4
6
+ */
7
+ export declare enum Language {
8
+ /** English language. */
9
+ EN = "EN",
10
+ /** French language. */
11
+ FR = "FR",
12
+ /** German language. */
13
+ DE = "DE"
14
+ }
15
+ //# sourceMappingURL=language.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-stats/language.ts"],"names":[],"mappings":"AAmBA;;;;;GAKG;AACH,oBAAY,QAAQ;IAChB,wBAAwB;IACxB,EAAE,OAAO;IAET,uBAAuB;IACvB,EAAE,OAAO;IAET,uBAAuB;IACvB,EAAE,OAAO;CACZ"}
@@ -0,0 +1,185 @@
1
+ /**
2
+ * `PilotAttributes` enumerates the possible attributes for a Call Center CCD pilot.
3
+ *
4
+ * Each attribute corresponds to a statistic that can be reported by `CallCenterStatisticsService`.
5
+ * These attributes allow fine-grained analysis of pilot performance, call handling, waiting times, and service levels.
6
+ *
7
+ * The special attribute `ALL` includes all available attributes and is mainly intended for testing or bulk retrieval purposes.
8
+ *
9
+ * @since 2.7.4
10
+ */
11
+ export declare enum StatsPilotAttributes {
12
+ /**
13
+ * Number of calls received in the open state.
14
+ * An open state call is one that is offered to the pilot without any restrictions or routing blocks.
15
+ */
16
+ nbCallsOpen = "nbCallsOpen",
17
+ /**
18
+ * Number of calls received in the blocked state.
19
+ * A blocked state call is one that could not be delivered immediately due to pilot availability or system constraints.
20
+ */
21
+ nbCallsBlocked = "nbCallsBlocked",
22
+ /**
23
+ * Number of calls received in the general forwarding state.
24
+ * This represents calls that were routed to the pilot via general forwarding rules.
25
+ */
26
+ nbCallsForward = "nbCallsForward",
27
+ /** Number of calls received by transfer. These are calls transferred to this pilot. */
28
+ nbCallsByTransfer = "nbCallsByTransfer",
29
+ /** Number of calls received via mutual aid. */
30
+ nbCallsByMutualAid = "nbCallsByMutualAid",
31
+ /**
32
+ * Maximum number of simultaneous calls.
33
+ * Represents the peak number of concurrent calls handled by the pilot at any given moment.
34
+ */
35
+ maxNbSimultCalls = "maxNbSimultCalls",
36
+ /** Number of overflows while calls were in queue. */
37
+ nbOverflowInQueue = "nbOverflowInQueue",
38
+ /** Number of overflows while calls were ringing the agent. */
39
+ nbOverflowInRinging = "nbOverflowInRinging",
40
+ /** Number of calls served without queuing. */
41
+ nbCallsWOQueuing = "nbCallsWOQueuing",
42
+ /** Number of calls served after queuing. */
43
+ nbCallsAfterQueuing = "nbCallsAfterQueuing",
44
+ /** Number of calls sent to the mutual aid queue. */
45
+ nbCallsSentInMutualAidQueue = "nbCallsSentInMutualAidQueue",
46
+ /** Number of calls redirected outside the ACD area. */
47
+ nbCallsRedirectedOutACDArea = "nbCallsRedirectedOutACDArea",
48
+ /** Number of calls dissuaded before reaching an agent. */
49
+ nbCallsDissuaded = "nbCallsDissuaded",
50
+ /** Number of calls dissuaded after attempting mutual aid. */
51
+ nbCallsDissuadedAfterTryingMutualAid = "nbCallsDissuadedAfterTryingMutualAid",
52
+ /** Number of calls processed by VG type PG. */
53
+ nbCallsVGTypePG = "nbCallsVGTypePG",
54
+ /** Number of calls sent to a remote PG. */
55
+ nbCallsSentToPG = "nbCallsSentToPG",
56
+ /** Number of calls rejected due to lack of resources. */
57
+ nbCallsRejectedLackOfRes = "nbCallsRejectedLackOfRes",
58
+ /** Number of calls served by the agent. */
59
+ nbCallsServedByAgent = "nbCallsServedByAgent",
60
+ /** Number of calls served within the expected time. */
61
+ nbCallsServedInTime = "nbCallsServedInTime",
62
+ /** Number of calls served too quickly. */
63
+ nbCallsServedTooQuick = "nbCallsServedTooQuick",
64
+ /** Number of calls without a transaction code. */
65
+ nbCallsWithoutTransCode = "nbCallsWithoutTransCode",
66
+ /** Number of calls with a transaction code. */
67
+ nbCallsWithTransCode = "nbCallsWithTransCode",
68
+ /** Number of calls redistributed to other agents or queues. */
69
+ nbCallsRedistrib = "nbCallsRedistrib",
70
+ /** Number of calls served before threshold 1 (e.g., 5 seconds). */
71
+ nbCallsBeforeTS1 = "nbCallsBeforeTS1",
72
+ /** Percentage of calls served before threshold 1 (e.g., 5 seconds). */
73
+ percentCallsBeforeTS1 = "percentCallsBeforeTS1",
74
+ /** Number of calls served before threshold 2 (e.g., 15 seconds). */
75
+ nbCallsBeforeTS2 = "nbCallsBeforeTS2",
76
+ /** Percentage of calls served before threshold 2 (e.g., 15 seconds). */
77
+ percentCallsBeforeTS2 = "percentCallsBeforeTS2",
78
+ /** Number of calls served before threshold 3 (e.g., 30 seconds). */
79
+ nbCallsBeforeTS3 = "nbCallsBeforeTS3",
80
+ /** Percentage of calls served before threshold 3 (e.g., 30 seconds). */
81
+ percentCallsBeforeTS3 = "percentCallsBeforeTS3",
82
+ /** Number of calls served before threshold 4 (e.g., 60 seconds). */
83
+ nbCallsBeforeTS4 = "nbCallsBeforeTS4",
84
+ /** Percentage of calls served before threshold 4 (e.g., 60 seconds). */
85
+ percentCallsBeforeTS4 = "percentCallsBeforeTS4",
86
+ /** Number of calls served after threshold 4 (e.g., 60 seconds). */
87
+ nbCallsAfterTS4 = "nbCallsAfterTS4",
88
+ /** Percentage of calls served after threshold 4 (e.g., 60 seconds). */
89
+ percentCallsAfterTS4 = "percentCallsAfterTS4",
90
+ /** Number of abandons during the greeting voice guide. */
91
+ nbAbandonsOnGreetingsVG = "nbAbandonsOnGreetingsVG",
92
+ /** Number of abandons during the first waiting voice guide. */
93
+ nbAbandonsOn1WaitingVG = "nbAbandonsOn1WaitingVG",
94
+ /** Number of abandons during the second waiting voice guide. */
95
+ nbAbandonsOn2WaitingVG = "nbAbandonsOn2WaitingVG",
96
+ /** Number of abandons during the third waiting voice guide. */
97
+ nbAbandonsOn3WaitingVG = "nbAbandonsOn3WaitingVG",
98
+ /** Number of abandons during the fourth waiting voice guide. */
99
+ nbAbandonsOn4WaitingVG = "nbAbandonsOn4WaitingVG",
100
+ /** Number of abandons during the fifth waiting voice guide. */
101
+ nbAbandonsOn5WaitingVG = "nbAbandonsOn5WaitingVG",
102
+ /** Number of abandons during the sixth waiting voice guide. */
103
+ nbAbandonsOn6WaitingVG = "nbAbandonsOn6WaitingVG",
104
+ /** Number of abandons while the call was ringing. */
105
+ nbAbandonsOnRinging = "nbAbandonsOnRinging",
106
+ /** Number of abandons on general forwarding voice guide. */
107
+ nbAbandonsOnGenFwdVG = "nbAbandonsOnGenFwdVG",
108
+ /** Number of abandons on blocked voice guide. */
109
+ nbAbandonsOnBlockedVG = "nbAbandonsOnBlockedVG",
110
+ /** Number of direct call abandons while the agent was busy. */
111
+ nbAbandonsOnAgentBusy = "nbAbandonsOnAgentBusy",
112
+ /** Total number of abandons. */
113
+ nbAbandons = "nbAbandons",
114
+ /** Number of abandons before threshold 1 (e.g., 5 seconds). */
115
+ nbAbandonsBeforeTS1 = "nbAbandonsBeforeTS1",
116
+ /** Percentage of abandons before threshold 1 (e.g., 5 seconds). */
117
+ percentAbandonsBeforeTS1 = "percentAbandonsBeforeTS1",
118
+ /** Number of abandons before threshold 2 (e.g., 15 seconds). */
119
+ nbAbandonsBeforeTS2 = "nbAbandonsBeforeTS2",
120
+ /** Percentage of abandons before threshold 2 (e.g., 15 seconds). */
121
+ percentAbandonsBeforeTS2 = "percentAbandonsBeforeTS2",
122
+ /** Number of abandons before threshold 3 (e.g., 30 seconds). */
123
+ nbAbandonsBeforeTS3 = "nbAbandonsBeforeTS3",
124
+ /** Percentage of abandons before threshold 3 (e.g., 30 seconds). */
125
+ percentAbandonsBeforeTS3 = "percentAbandonsBeforeTS3",
126
+ /** Number of abandons before threshold 4 (e.g., 60 seconds). */
127
+ nbAbandonsBeforeTS4 = "nbAbandonsBeforeTS4",
128
+ /** Percentage of abandons before threshold 4 (e.g., 60 seconds). */
129
+ percentAbandonsBeforeTS4 = "percentAbandonsBeforeTS4",
130
+ /** Number of abandons after threshold 4 (e.g., 60 seconds). */
131
+ nbAbandonsAfterTS4 = "nbAbandonsAfterTS4",
132
+ /** Percentage of abandons after threshold 4 (e.g., 60 seconds). */
133
+ percentAbandonsAfterTS4 = "percentAbandonsAfterTS4",
134
+ /** Total duration of call processing. */
135
+ callProcTDur = "callProcTDur",
136
+ /** Average duration of call processing. */
137
+ callProcADur = "callProcADur",
138
+ /** Total duration of greeting guide listening. */
139
+ greetingListenTDur = "greetingListenTDur",
140
+ /** Average duration of greeting guide listening. */
141
+ greetingListenADur = "greetingListenADur",
142
+ /** Total time before queuing. */
143
+ beforeQueuingTDur = "beforeQueuingTDur",
144
+ /** Total waiting duration of served calls. */
145
+ waitServedCallsTDur = "waitServedCallsTDur",
146
+ /** Average waiting duration of served calls. */
147
+ waitServedCallsADur = "waitServedCallsADur",
148
+ /** Total waiting duration of abandoned calls. */
149
+ waitAbandonnedCallsTDur = "waitAbandonnedCallsTDur",
150
+ /** Average waiting duration of abandoned calls. */
151
+ waitAbandonnedCallsADur = "waitAbandonnedCallsADur",
152
+ /** Total duration of ringing. */
153
+ ringingTDur = "ringingTDur",
154
+ /** Average duration of ringing. */
155
+ ringingADur = "ringingADur",
156
+ /** Total conversation duration. */
157
+ convTDur = "convTDur",
158
+ /** Average conversation duration. */
159
+ convADur = "convADur",
160
+ /** Total duration of hold calls. */
161
+ holdCallsTDur = "holdCallsTDur",
162
+ /** Average duration of hold calls. */
163
+ holdCallsADur = "holdCallsADur",
164
+ /** Total duration of wrap-up. */
165
+ wrapupTDur = "wrapupTDur",
166
+ /** Average duration of wrap-up. */
167
+ wrapupADur = "wrapupADur",
168
+ /** Longest waiting time observed. */
169
+ longestWaitingDur = "longestWaitingDur",
170
+ /** Service level achieved. */
171
+ serviceLevel = "serviceLevel",
172
+ /** Efficiency metric. */
173
+ efficiency = "efficiency",
174
+ /** Percent time in in-service state. */
175
+ inServiceState = "inServiceState",
176
+ /** Percent time in general forwarding state. */
177
+ genFwdState = "genFwdState",
178
+ /** Percent time in blocked state. */
179
+ blockedState = "blockedState",
180
+ /** Total number of received calls. */
181
+ dnbTotReceivedCalls = "dnbTotReceivedCalls",
182
+ /** All attributes included (for testing purposes). */
183
+ ALL = "ALL"
184
+ }
185
+ //# sourceMappingURL=pilot-attributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pilot-attributes.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-stats/pilot-attributes.ts"],"names":[],"mappings":"AAmBA;;;;;;;;;GASG;AACH,oBAAY,oBAAoB;IAC5B;;;OAGG;IACH,WAAW,gBAAgB;IAE3B;;;OAGG;IACH,cAAc,mBAAmB;IAEjC;;;OAGG;IACH,cAAc,mBAAmB;IAEjC,uFAAuF;IACvF,iBAAiB,sBAAsB;IAEvC,+CAA+C;IAC/C,kBAAkB,uBAAuB;IAEzC;;;OAGG;IACH,gBAAgB,qBAAqB;IAErC,qDAAqD;IACrD,iBAAiB,sBAAsB;IAEvC,8DAA8D;IAC9D,mBAAmB,wBAAwB;IAE3C,8CAA8C;IAC9C,gBAAgB,qBAAqB;IAErC,4CAA4C;IAC5C,mBAAmB,wBAAwB;IAE3C,oDAAoD;IACpD,2BAA2B,gCAAgC;IAE3D,uDAAuD;IACvD,2BAA2B,gCAAgC;IAE3D,0DAA0D;IAC1D,gBAAgB,qBAAqB;IAErC,6DAA6D;IAC7D,oCAAoC,yCAAyC;IAE7E,+CAA+C;IAC/C,eAAe,oBAAoB;IAEnC,2CAA2C;IAC3C,eAAe,oBAAoB;IAEnC,yDAAyD;IACzD,wBAAwB,6BAA6B;IAErD,2CAA2C;IAC3C,oBAAoB,yBAAyB;IAE7C,uDAAuD;IACvD,mBAAmB,wBAAwB;IAE3C,0CAA0C;IAC1C,qBAAqB,0BAA0B;IAE/C,kDAAkD;IAClD,uBAAuB,4BAA4B;IAEnD,+CAA+C;IAC/C,oBAAoB,yBAAyB;IAE7C,+DAA+D;IAC/D,gBAAgB,qBAAqB;IAErC,mEAAmE;IACnE,gBAAgB,qBAAqB;IAErC,uEAAuE;IACvE,qBAAqB,0BAA0B;IAE/C,oEAAoE;IACpE,gBAAgB,qBAAqB;IAErC,wEAAwE;IACxE,qBAAqB,0BAA0B;IAE/C,oEAAoE;IACpE,gBAAgB,qBAAqB;IAErC,wEAAwE;IACxE,qBAAqB,0BAA0B;IAE/C,oEAAoE;IACpE,gBAAgB,qBAAqB;IAErC,wEAAwE;IACxE,qBAAqB,0BAA0B;IAE/C,mEAAmE;IACnE,eAAe,oBAAoB;IAEnC,uEAAuE;IACvE,oBAAoB,yBAAyB;IAE7C,0DAA0D;IAC1D,uBAAuB,4BAA4B;IAEnD,+DAA+D;IAC/D,sBAAsB,2BAA2B;IAEjD,gEAAgE;IAChE,sBAAsB,2BAA2B;IAEjD,+DAA+D;IAC/D,sBAAsB,2BAA2B;IAEjD,gEAAgE;IAChE,sBAAsB,2BAA2B;IAEjD,+DAA+D;IAC/D,sBAAsB,2BAA2B;IAEjD,+DAA+D;IAC/D,sBAAsB,2BAA2B;IAEjD,qDAAqD;IACrD,mBAAmB,wBAAwB;IAE3C,4DAA4D;IAC5D,oBAAoB,yBAAyB;IAE7C,iDAAiD;IACjD,qBAAqB,0BAA0B;IAE/C,+DAA+D;IAC/D,qBAAqB,0BAA0B;IAE/C,gCAAgC;IAChC,UAAU,eAAe;IAEzB,+DAA+D;IAC/D,mBAAmB,wBAAwB;IAE3C,mEAAmE;IACnE,wBAAwB,6BAA6B;IAErD,gEAAgE;IAChE,mBAAmB,wBAAwB;IAE3C,oEAAoE;IACpE,wBAAwB,6BAA6B;IAErD,gEAAgE;IAChE,mBAAmB,wBAAwB;IAE3C,oEAAoE;IACpE,wBAAwB,6BAA6B;IAErD,gEAAgE;IAChE,mBAAmB,wBAAwB;IAE3C,oEAAoE;IACpE,wBAAwB,6BAA6B;IAErD,+DAA+D;IAC/D,kBAAkB,uBAAuB;IAEzC,mEAAmE;IACnE,uBAAuB,4BAA4B;IAEnD,yCAAyC;IACzC,YAAY,iBAAiB;IAE7B,2CAA2C;IAC3C,YAAY,iBAAiB;IAE7B,kDAAkD;IAClD,kBAAkB,uBAAuB;IAEzC,oDAAoD;IACpD,kBAAkB,uBAAuB;IAEzC,iCAAiC;IACjC,iBAAiB,sBAAsB;IAEvC,8CAA8C;IAC9C,mBAAmB,wBAAwB;IAE3C,gDAAgD;IAChD,mBAAmB,wBAAwB;IAE3C,iDAAiD;IACjD,uBAAuB,4BAA4B;IAEnD,mDAAmD;IACnD,uBAAuB,4BAA4B;IAEnD,iCAAiC;IACjC,WAAW,gBAAgB;IAE3B,mCAAmC;IACnC,WAAW,gBAAgB;IAE3B,mCAAmC;IACnC,QAAQ,aAAa;IAErB,qCAAqC;IACrC,QAAQ,aAAa;IAErB,oCAAoC;IACpC,aAAa,kBAAkB;IAE/B,sCAAsC;IACtC,aAAa,kBAAkB;IAE/B,iCAAiC;IACjC,UAAU,eAAe;IAEzB,mCAAmC;IACnC,UAAU,eAAe;IAEzB,qCAAqC;IACrC,iBAAiB,sBAAsB;IAEvC,8BAA8B;IAC9B,YAAY,iBAAiB;IAE7B,yBAAyB;IACzB,UAAU,eAAe;IAEzB,wCAAwC;IACxC,cAAc,mBAAmB;IAEjC,gDAAgD;IAChD,WAAW,gBAAgB;IAE3B,qCAAqC;IACrC,YAAY,iBAAiB;IAE7B,sCAAsC;IACtC,mBAAmB,wBAAwB;IAE3C,sDAAsD;IACtD,GAAG,QAAQ;CACd"}
@@ -0,0 +1,45 @@
1
+ import { AbstractFilter } from '../../internal/types/cc-stat/abstract-filter';
2
+ import { StatsPilotAttributes } from './pilot-attributes';
3
+ /**
4
+ * Filter for selecting pilots in Call Center StatisticsData reports.
5
+ *
6
+ * A `PilotFilter` allows specifying which statistics to collect for pilots.
7
+ *
8
+ * Instances should be obtained via the `Filter.createPilotFilter()` factory method.
9
+ * SDK users do not need to implement this interface directly.
10
+ *
11
+ * @since 2.7.4
12
+ */
13
+ export interface PilotFilter extends AbstractFilter {
14
+ /**
15
+ * Returns the set of directory numbers associated with this filter.
16
+ *
17
+ * These numbers identify the pilots whose statistics should be collected.
18
+ *
19
+ * @returns a set of pilot directory numbers; never null, but may be empty
20
+ */
21
+ get numbers(): string[];
22
+ /**
23
+ * Adds one or more pilot directory numbers to this filter.
24
+ *
25
+ * Once added, the corresponding pilots will be included in the scope of
26
+ * statistical reports.
27
+ *
28
+ * @param numbers an array of directory numbers to add; must not be null, though it may be empty
29
+ */
30
+ addNumbers(...numbers: string[]): void;
31
+ /**
32
+ * Returns the set of statistics attributes to collect for pilots.
33
+ *
34
+ * @returns a set of `PilotAttributes`
35
+ */
36
+ get pilotAttributes(): Set<StatsPilotAttributes>;
37
+ /**
38
+ * Sets the statistics attributes for pilots in this filter.
39
+ * Any existing attributes may be replaced or supplemented depending on the implementation.
40
+ *
41
+ * @param attributes the pilot attributes to include
42
+ */
43
+ setPilotAttributes(...attributes: StatsPilotAttributes[]): void;
44
+ }
45
+ //# sourceMappingURL=pilot-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pilot-filter.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-stats/pilot-filter.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D;;;;;;;;;GASG;AACH,MAAM,WAAW,WAAY,SAAQ,cAAc;IAC/C;;;;;;OAMG;IACH,IAAI,OAAO,IAAI,MAAM,EAAE,CAAC;IAExB;;;;;;;OAOG;IACH,UAAU,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAEvC;;;;OAIG;IACH,IAAI,eAAe,IAAI,GAAG,CAAC,oBAAoB,CAAC,CAAC;IAEjD;;;;;OAKG;IACH,kBAAkB,CAAC,GAAG,UAAU,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAC;CACnE"}
@@ -0,0 +1,33 @@
1
+ import { Language } from './language';
2
+ /**
3
+ * `Requester` represents an entity (typically a supervisor) that requests
4
+ * statistics from the system. It encapsulates the requester's identifier,
5
+ * preferred language, and time zone information.
6
+ *
7
+ * Instances of this interface are immutable once created.
8
+ *
9
+ * @since 2.7.4
10
+ */
11
+ export interface Requester {
12
+ /**
13
+ * Returns the unique identifier of this requester.
14
+ *
15
+ * @returns The requester identifier
16
+ */
17
+ get id(): string;
18
+ /**
19
+ * Returns the preferred language of this requester.
20
+ *
21
+ * @returns The requester's language
22
+ */
23
+ get language(): Language;
24
+ /**
25
+ * Returns the time zone of this requester as a string representing
26
+ * the UTC offset (e.g., "+02:00" or "-05:00").
27
+ *
28
+ * @returns The requester's time zone, or `null` if the stored value
29
+ * cannot be parsed into a valid time zone offset
30
+ */
31
+ get timezone(): string | null;
32
+ }
33
+ //# sourceMappingURL=requester.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"requester.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-stats/requester.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;;;;;;;GAQG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,IAAI,EAAE,IAAI,MAAM,CAAC;IAEjB;;;;OAIG;IACH,IAAI,QAAQ,IAAI,QAAQ,CAAC;IAEzB;;;;;;OAMG;IACH,IAAI,QAAQ,IAAI,MAAM,GAAG,IAAI,CAAC;CACjC"}
@@ -0,0 +1,69 @@
1
+ import { DayOfWeek } from '../../common/day-of-week';
2
+ /**
3
+ * Represents a recurrence schedule for a scheduled statistic report.
4
+ *
5
+ * This class allows specifying how often a scheduled report should be
6
+ * generated: daily, weekly, or monthly. Instances are created using static
7
+ * factory methods for clarity and safety.
8
+ *
9
+ * <b>Examples:</b>
10
+ *
11
+ * ```ts
12
+ * const daily = Recurrence.daily();
13
+ * const weekly = Recurrence.weekly(DayOfWeek.Monday, DayOfWeek.Friday);
14
+ * const monthly = Recurrence.monthly(15); // on the 15th day of each month
15
+ * ```
16
+ *
17
+ * @since 2.7.4
18
+ */
19
+ export declare class Recurrence {
20
+ #private;
21
+ private constructor();
22
+ /**
23
+ * Creates a recurrence that occurs every day.
24
+ */
25
+ static daily(): Recurrence;
26
+ /**
27
+ * Creates a recurrence that occurs weekly on specific days.
28
+ * @param days array of DayOfWeek representing the days of the week
29
+ */
30
+ static weekly(...days: DayOfWeek[]): Recurrence;
31
+ /**
32
+ * Creates a recurrence that occurs monthly on a specific day.
33
+ * @param day the day of the month (1-31)
34
+ */
35
+ static monthly(day: number): Recurrence;
36
+ /**
37
+ * Checks if the recurrence is daily.
38
+ */
39
+ get daily(): boolean;
40
+ /**
41
+ * Checks if the recurrence is weekly.
42
+ */
43
+ get weekly(): boolean;
44
+ /**
45
+ * Checks if the recurrence is monthly.
46
+ */
47
+ get monthly(): boolean;
48
+ /**
49
+ * Returns the set of days in the week for weekly recurrence.
50
+ * Only valid if isWeekly() returns true; otherwise, returns null.
51
+ */
52
+ get daysInWeek(): Set<DayOfWeek> | null;
53
+ /**
54
+ * Returns the day of the month for monthly recurrence.
55
+ * Only valid if isMonthly() returns true; otherwise, returns -1.
56
+ */
57
+ get dayInMonth(): number | null;
58
+ }
59
+ /**
60
+ * Namespace containing the Type enum for Recurrence.
61
+ */
62
+ export declare namespace Recurrence {
63
+ enum Type {
64
+ DAILY = "DAILY",
65
+ WEEKLY = "WEEKLY",
66
+ MONTHLY = "MONTHLY"
67
+ }
68
+ }
69
+ //# sourceMappingURL=recurrence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recurrence.d.ts","sourceRoot":"","sources":["../../../../../src/types/cc-stats/scheduled/recurrence.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,UAAU;;IAMnB,OAAO;IAmBP;;OAEG;IACH,MAAM,CAAC,KAAK,IAAI,UAAU;IAI1B;;;OAGG;IACH,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,SAAS,EAAE,GAAG,UAAU;IAI/C;;;OAGG;IACH,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU;IAKvC;;OAEG;IACH,IAAI,KAAK,IAAI,OAAO,CAEnB;IAED;;OAEG;IACH,IAAI,MAAM,IAAI,OAAO,CAEpB;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,OAAO,CAErB;IAED;;;OAGG;IACH,IAAI,UAAU,IAAI,GAAG,CAAC,SAAS,CAAC,GAAG,IAAI,CAEtC;IAED;;;OAGG;IACH,IAAI,UAAU,IAAI,MAAM,GAAG,IAAI,CAE9B;CAyEJ;AAED;;GAEG;AACH,yBAAiB,UAAU,CAAC;IACxB,KAAY,IAAI;QACZ,KAAK,UAAU;QACf,MAAM,WAAW;QACjB,OAAO,YAAY;KACtB;CACJ"}
@@ -0,0 +1,87 @@
1
+ /**
2
+ * Represents an observation period used in a scheduled statistic request.
3
+ *
4
+ * This class allows specifying the time range over which statistics should be
5
+ * collected or analyzed. Observation periods can be standard predefined periods
6
+ * (current day, week, month, last N days/weeks, last month) or a custom date
7
+ * range.
8
+ *
9
+ * Instances are created using static factory methods for clarity and safety.
10
+ *
11
+ * @since 2.7.4
12
+ */
13
+ export declare class ReportObservationPeriod {
14
+ #private;
15
+ private constructor();
16
+ /**
17
+ * Creates an observation period for the current day.
18
+ */
19
+ static onCurrentDay(): ReportObservationPeriod;
20
+ /**
21
+ * Creates an observation period for the current week.
22
+ */
23
+ static onCurrentWeek(): ReportObservationPeriod;
24
+ /**
25
+ * Creates an observation period for the current month.
26
+ */
27
+ static onCurrentMonth(): ReportObservationPeriod;
28
+ /**
29
+ * Creates an observation period for the last N days.
30
+ */
31
+ static onLastDays(nbDays: number): ReportObservationPeriod;
32
+ /**
33
+ * Creates an observation period for the last N weeks.
34
+ */
35
+ static onLastWeeks(nbWeeks: number): ReportObservationPeriod;
36
+ /**
37
+ * Creates an observation period for the last month.
38
+ */
39
+ static onLastMonth(): ReportObservationPeriod;
40
+ /**
41
+ * Creates a custom observation period starting from a given date for a number of days.
42
+ */
43
+ static fromDate(from: Date, nbDays: number): ReportObservationPeriod;
44
+ /**
45
+ * Returns the type of the observation period.
46
+ */
47
+ get periodType(): ReportObservationPeriod.PeriodType;
48
+ /**
49
+ * Returns the number of units (days or weeks) for last-period types.
50
+ */
51
+ get lastUnits(): number | null;
52
+ /**
53
+ * Returns the start date of the observation period.
54
+ * Only valid if the period type is FROM_DATE_TO_DATE.
55
+ */
56
+ get beginDate(): Date | null;
57
+ /**
58
+ * Returns the end date of the observation period.
59
+ * Only valid if the period type is FROM_DATE_TO_DATE.
60
+ */
61
+ get endDate(): Date | null;
62
+ }
63
+ /**
64
+ * Namespace containing the PeriodType enum.
65
+ */
66
+ export declare namespace ReportObservationPeriod {
67
+ /**
68
+ * Defines the type of observation period.
69
+ */
70
+ enum PeriodType {
71
+ /** The current day. */
72
+ CURRENT_DAY = "currentDay",
73
+ /** The current week. */
74
+ CURRENT_WEEK = "currentWeek",
75
+ /** The current month. */
76
+ CURRENT_MONTH = "currentMonth",
77
+ /** The last N days. */
78
+ LAST_DAYS = "lastDays",
79
+ /** The last N weeks. */
80
+ LAST_WEEKS = "lastWeeks",
81
+ /** The last month. */
82
+ LAST_MONTHS = "lastMonth",
83
+ /** A custom range defined by a start date and end date. */
84
+ FROM_DATE_TO_DATE = "fromDateToDate"
85
+ }
86
+ }
87
+ //# sourceMappingURL=report-obs-period.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-obs-period.d.ts","sourceRoot":"","sources":["../../../../../src/types/cc-stats/scheduled/report-obs-period.ts"],"names":[],"mappings":"AAqBA;;;;;;;;;;;GAWG;AACH,qBAAa,uBAAuB;;IAUhC,OAAO;IAOP;;OAEG;IACH,MAAM,CAAC,YAAY,IAAI,uBAAuB;IAI9C;;OAEG;IACH,MAAM,CAAC,aAAa,IAAI,uBAAuB;IAI/C;;OAEG;IACH,MAAM,CAAC,cAAc,IAAI,uBAAuB;IAIhD;;OAEG;IACH,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,uBAAuB;IAK1D;;OAEG;IACH,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,uBAAuB;IAK5D;;OAEG;IACH,MAAM,CAAC,WAAW,IAAI,uBAAuB;IAI7C;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,uBAAuB;IAWpE;;OAEG;IACH,IAAI,UAAU,IAAI,uBAAuB,CAAC,UAAU,CAEnD;IAED;;OAEG;IACH,IAAI,SAAS,IAAI,MAAM,GAAG,IAAI,CAE7B;IAED;;;OAGG;IACH,IAAI,SAAS,IAAI,IAAI,GAAG,IAAI,CAE3B;IAED;;;OAGG;IACH,IAAI,OAAO,IAAI,IAAI,GAAG,IAAI,CAEzB;CAqCJ;AAED;;GAEG;AACH,yBAAiB,uBAAuB,CAAC;IACrC;;OAEG;IACH,KAAY,UAAU;QAClB,uBAAuB;QACvB,WAAW,eAAe;QAC1B,wBAAwB;QACxB,YAAY,gBAAgB;QAC5B,yBAAyB;QACzB,aAAa,iBAAiB;QAC9B,uBAAuB;QACvB,SAAS,aAAa;QACtB,wBAAwB;QACxB,UAAU,cAAc;QACxB,sBAAsB;QACtB,WAAW,cAAc;QACzB,2DAA2D;QAC3D,iBAAiB,mBAAmB;KACvC;CACJ"}