o2g-node-sdk 2.4.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -7
- package/dist/o2g-node-sdk.js +2165 -4487
- package/dist/o2g-node-sdk.js.map +1 -1
- package/dist/types/ErrorInfo.d.ts +88 -0
- package/dist/types/ErrorInfo.d.ts.map +1 -0
- package/dist/types/host.d.ts +18 -0
- package/dist/types/host.d.ts.map +1 -0
- package/dist/types/internal/access-mode.d.ts +2 -0
- package/dist/types/internal/access-mode.d.ts.map +1 -0
- package/dist/types/internal/events/chunk-eventing.d.ts +2 -0
- package/dist/types/internal/events/chunk-eventing.d.ts.map +1 -0
- package/dist/types/internal/events/event-dispatcher.d.ts +2 -0
- package/dist/types/internal/events/event-dispatcher.d.ts.map +1 -0
- package/dist/types/internal/events/event-packages.d.ts +2 -0
- package/dist/types/internal/events/event-packages.d.ts.map +1 -0
- package/dist/types/internal/o2g-application.d.ts +2 -0
- package/dist/types/internal/o2g-application.d.ts.map +1 -0
- package/dist/types/internal/rest/analytics-rest.d.ts +2 -0
- package/dist/types/internal/rest/analytics-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/authentication-rest.d.ts +2 -0
- package/dist/types/internal/rest/authentication-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccAgent-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccAgent-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccMngt-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccMngt-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccPilot-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccPilot-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccRealtime-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccRealtime-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccStatistics-rest.d.ts +45 -0
- package/dist/types/internal/rest/ccStatistics-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/comlog-rest.d.ts +2 -0
- package/dist/types/internal/rest/comlog-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/directory-rest.d.ts +2 -0
- package/dist/types/internal/rest/directory-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/eventSummary-rest.d.ts +2 -0
- package/dist/types/internal/rest/eventSummary-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/maint-rest.d.ts +2 -0
- package/dist/types/internal/rest/maint-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/messaging-rest.d.ts +2 -0
- package/dist/types/internal/rest/messaging-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/o2g-rest.d.ts +2 -0
- package/dist/types/internal/rest/o2g-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/pbx-mngt-rest.d.ts +2 -0
- package/dist/types/internal/rest/pbx-mngt-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/phone-set-prog-rest.d.ts +2 -0
- package/dist/types/internal/rest/phone-set-prog-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/rest-service.d.ts +2 -0
- package/dist/types/internal/rest/rest-service.d.ts.map +1 -0
- package/dist/types/internal/rest/routing-rest.d.ts +2 -0
- package/dist/types/internal/rest/routing-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/rsi-rest.d.ts +2 -0
- package/dist/types/internal/rest/rsi-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/sessions-rest.d.ts +2 -0
- package/dist/types/internal/rest/sessions-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/subscriptions-rest.d.ts +2 -0
- package/dist/types/internal/rest/subscriptions-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/telephony-rest.d.ts +2 -0
- package/dist/types/internal/rest/telephony-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/users-mngt-rest.d.ts +2 -0
- package/dist/types/internal/rest/users-mngt-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/users-rest.d.ts +2 -0
- package/dist/types/internal/rest/users-rest.d.ts.map +1 -0
- package/dist/types/internal/service-end-point.d.ts +2 -0
- package/dist/types/internal/service-end-point.d.ts.map +1 -0
- package/dist/types/internal/service-factory.d.ts +2 -0
- package/dist/types/internal/service-factory.d.ts.map +1 -0
- package/dist/types/internal/session.d.ts +2 -0
- package/dist/types/internal/session.d.ts.map +1 -0
- package/dist/types/internal/types/analytics/analytics-types.d.ts +2 -0
- package/dist/types/internal/types/analytics/analytics-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-agent/cc-agent-types.d.ts +2 -0
- package/dist/types/internal/types/cc-agent/cc-agent-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-mngt/cc-mntg-types.d.ts +2 -0
- package/dist/types/internal/types/cc-mngt/cc-mntg-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-pilot/cc-pilot-types.d.ts +2 -0
- package/dist/types/internal/types/cc-pilot/cc-pilot-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-rt/cc-rt-types.d.ts +2 -0
- package/dist/types/internal/types/cc-rt/cc-rt-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/abstract-filter.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/abstract-filter.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/ag-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/ag-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/cc-stat-types.d.ts +57 -0
- package/dist/types/internal/types/cc-stats/cc-stat-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/context-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/context-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/on-stats-progress.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/on-stats-progress.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/pil-aband-calls-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/pil-aband-calls-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/pil-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/pil-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/requester-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/requester-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/scheduled-rep-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/scheduled-rep-impl.d.ts.map +1 -0
- package/dist/types/internal/types/comlog/comlog-types.d.ts +2 -0
- package/dist/types/internal/types/comlog/comlog-types.d.ts.map +1 -0
- package/dist/types/internal/types/common/common-types.d.ts +2 -0
- package/dist/types/internal/types/common/common-types.d.ts.map +1 -0
- package/dist/types/internal/types/directory/directory-types.d.ts +2 -0
- package/dist/types/internal/types/directory/directory-types.d.ts.map +1 -0
- package/dist/types/internal/types/eventsummary/eventsummary-types.d.ts +14 -0
- package/dist/types/internal/types/eventsummary/eventsummary-types.d.ts.map +1 -0
- package/dist/types/internal/types/maint/maint-types.d.ts +2 -0
- package/dist/types/internal/types/maint/maint-types.d.ts.map +1 -0
- package/dist/types/internal/types/messaging/messaging-types.d.ts +2 -0
- package/dist/types/internal/types/messaging/messaging-types.d.ts.map +1 -0
- package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts +2 -0
- package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts.map +1 -0
- package/dist/types/internal/types/phoneset/phoneset-types.d.ts +2 -0
- package/dist/types/internal/types/phoneset/phoneset-types.d.ts.map +1 -0
- package/dist/types/internal/types/routing/routing-types.d.ts +2 -0
- package/dist/types/internal/types/routing/routing-types.d.ts.map +1 -0
- package/dist/types/internal/types/rsi/rsi-types.d.ts +2 -0
- package/dist/types/internal/types/rsi/rsi-types.d.ts.map +1 -0
- package/dist/types/internal/types/telephony/telephony-types.d.ts +4 -0
- package/dist/types/internal/types/telephony/telephony-types.d.ts.map +1 -0
- package/dist/types/internal/types/users/users-types.d.ts +2 -0
- package/dist/types/internal/types/users/users-types.d.ts.map +1 -0
- package/dist/types/internal/util/IHttpClient.d.ts +2 -0
- package/dist/types/internal/util/IHttpClient.d.ts.map +1 -0
- package/dist/types/internal/util/assert.d.ts +2 -0
- package/dist/types/internal/util/assert.d.ts.map +1 -0
- package/dist/types/internal/util/file-utils.d.ts +2 -0
- package/dist/types/internal/util/file-utils.d.ts.map +1 -0
- package/dist/types/internal/util/format-util.d.ts +2 -0
- package/dist/types/internal/util/format-util.d.ts.map +1 -0
- package/dist/types/internal/util/hexa-string.d.ts +2 -0
- package/dist/types/internal/util/hexa-string.d.ts.map +1 -0
- package/dist/types/internal/util/http-client.d.ts +2 -0
- package/dist/types/internal/util/http-client.d.ts.map +1 -0
- package/dist/types/internal/util/http-content.d.ts +2 -0
- package/dist/types/internal/util/http-content.d.ts.map +1 -0
- package/dist/types/internal/util/http-response.d.ts +2 -0
- package/dist/types/internal/util/http-response.d.ts.map +1 -0
- package/dist/types/internal/util/injection-container.d.ts +5 -0
- package/dist/types/internal/util/injection-container.d.ts.map +1 -0
- package/dist/types/internal/util/logger.d.ts +40 -0
- package/dist/types/internal/util/logger.d.ts.map +1 -0
- package/dist/types/internal/util/util-uri.d.ts +2 -0
- package/dist/types/internal/util/util-uri.d.ts.map +1 -0
- package/dist/types/o2g-analytics.d.ts +61 -0
- package/dist/types/o2g-analytics.d.ts.map +1 -0
- package/dist/types/o2g-cc-agent.d.ts +376 -0
- package/dist/types/o2g-cc-agent.d.ts.map +1 -0
- package/dist/types/o2g-cc-mngt.d.ts +213 -0
- package/dist/types/o2g-cc-mngt.d.ts.map +1 -0
- package/dist/types/o2g-cc-pilot.d.ts +71 -0
- package/dist/types/o2g-cc-pilot.d.ts.map +1 -0
- package/dist/types/o2g-cc-rt.d.ts +163 -0
- package/dist/types/o2g-cc-rt.d.ts.map +1 -0
- package/dist/types/o2g-cc-stat.d.ts +454 -0
- package/dist/types/o2g-cc-stat.d.ts.map +1 -0
- package/dist/types/o2g-comlog.d.ts +245 -0
- package/dist/types/o2g-comlog.d.ts.map +1 -0
- package/dist/types/o2g-directory.d.ts +109 -0
- package/dist/types/o2g-directory.d.ts.map +1 -0
- package/dist/types/o2g-eventSummary.d.ts +44 -0
- package/dist/types/o2g-eventSummary.d.ts.map +1 -0
- package/dist/types/o2g-maint.d.ts +92 -0
- package/dist/types/o2g-maint.d.ts.map +1 -0
- package/dist/types/o2g-messaging.d.ts +137 -0
- package/dist/types/o2g-messaging.d.ts.map +1 -0
- package/dist/types/o2g-node-sdk.d.ts +421 -0
- package/dist/types/o2g-node-sdk.d.ts.map +1 -0
- package/dist/types/o2g-pbx-mngt.d.ts +244 -0
- package/dist/types/o2g-pbx-mngt.d.ts.map +1 -0
- package/dist/types/o2g-phone-set-prog.d.ts +269 -0
- package/dist/types/o2g-phone-set-prog.d.ts.map +1 -0
- package/dist/types/o2g-routing.d.ts +313 -0
- package/dist/types/o2g-routing.d.ts.map +1 -0
- package/dist/types/o2g-rsi.d.ts +155 -0
- package/dist/types/o2g-rsi.d.ts.map +1 -0
- package/dist/types/o2g-telephony.d.ts +895 -0
- package/dist/types/o2g-telephony.d.ts.map +1 -0
- package/dist/types/o2g-users-mngt.d.ts +83 -0
- package/dist/types/o2g-users-mngt.d.ts.map +1 -0
- package/dist/types/o2g-users.d.ts +127 -0
- package/dist/types/o2g-users.d.ts.map +1 -0
- package/dist/types/subscription.d.ts +379 -0
- package/dist/types/subscription.d.ts.map +1 -0
- package/dist/types/supervised-account.d.ts +40 -0
- package/dist/types/supervised-account.d.ts.map +1 -0
- package/dist/types/types/analytics/call-type.d.ts +25 -0
- package/dist/types/types/analytics/call-type.d.ts.map +1 -0
- package/dist/types/types/analytics/charging-file.d.ts +13 -0
- package/dist/types/types/analytics/charging-file.d.ts.map +1 -0
- package/dist/types/types/analytics/charging-result.d.ts +50 -0
- package/dist/types/types/analytics/charging-result.d.ts.map +1 -0
- package/dist/types/types/analytics/charging.d.ts +69 -0
- package/dist/types/types/analytics/charging.d.ts.map +1 -0
- package/dist/types/types/analytics/incident.d.ts +41 -0
- package/dist/types/types/analytics/incident.d.ts.map +1 -0
- package/dist/types/types/analytics/tel-facility.d.ts +45 -0
- package/dist/types/types/analytics/tel-facility.d.ts.map +1 -0
- package/dist/types/types/cc-agent/agent-groups.d.ts +11 -0
- package/dist/types/types/cc-agent/agent-groups.d.ts.map +1 -0
- package/dist/types/types/cc-agent/agent-skill-set.d.ts +73 -0
- package/dist/types/types/cc-agent/agent-skill-set.d.ts.map +1 -0
- package/dist/types/types/cc-agent/agent-skill.d.ts +59 -0
- package/dist/types/types/cc-agent/agent-skill.d.ts.map +1 -0
- package/dist/types/types/cc-agent/cc-agent-events.d.ts +44 -0
- package/dist/types/types/cc-agent/cc-agent-events.d.ts.map +1 -0
- package/dist/types/types/cc-agent/intrusion-mode.d.ts +25 -0
- package/dist/types/types/cc-agent/intrusion-mode.d.ts.map +1 -0
- package/dist/types/types/cc-agent/operator-config.d.ts +72 -0
- package/dist/types/types/cc-agent/operator-config.d.ts.map +1 -0
- package/dist/types/types/cc-agent/operator-state.d.ts +100 -0
- package/dist/types/types/cc-agent/operator-state.d.ts.map +1 -0
- package/dist/types/types/cc-agent/operator-type.d.ts +17 -0
- package/dist/types/types/cc-agent/operator-type.d.ts.map +1 -0
- package/dist/types/types/cc-agent/withdraw-reason.d.ts +23 -0
- package/dist/types/types/cc-agent/withdraw-reason.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/abstract-calendar.d.ts +8 -0
- package/dist/types/types/cc-mngt/calendar/abstract-calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/calendar.d.ts +22 -0
- package/dist/types/types/cc-mngt/calendar/calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts +31 -0
- package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts +31 -0
- package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts +18 -0
- package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/transition.d.ts +65 -0
- package/dist/types/types/cc-mngt/calendar/transition.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/pilot-rule-set.d.ts +33 -0
- package/dist/types/types/cc-mngt/pilot-rule-set.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/pilot-rule.d.ts +24 -0
- package/dist/types/types/cc-mngt/pilot-rule.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/pilot.d.ts +58 -0
- package/dist/types/types/cc-mngt/pilot.d.ts.map +1 -0
- package/dist/types/types/cc-pilot/call-data-pilot.d.ts +50 -0
- package/dist/types/types/cc-pilot/call-data-pilot.d.ts.map +1 -0
- package/dist/types/types/cc-pilot/cc-pilot-events.d.ts +131 -0
- package/dist/types/types/cc-pilot/cc-pilot-events.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-attributes.d.ts +50 -0
- package/dist/types/types/cc-rt/agent-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-pg-attributes.d.ts +50 -0
- package/dist/types/types/cc-rt/agent-pg-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-pg-type.d.ts +17 -0
- package/dist/types/types/cc-rt/agent-pg-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-phone-state.d.ts +67 -0
- package/dist/types/types/cc-rt/agent-phone-state.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-service-type.d.ts +16 -0
- package/dist/types/types/cc-rt/agent-service-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-type.d.ts +16 -0
- package/dist/types/types/cc-rt/agent-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/cc-rt-events.d.ts +274 -0
- package/dist/types/types/cc-rt/cc-rt-events.d.ts.map +1 -0
- package/dist/types/types/cc-rt/other-pg-attributes.d.ts +18 -0
- package/dist/types/types/cc-rt/other-pg-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/other-pg-type.d.ts +22 -0
- package/dist/types/types/cc-rt/other-pg-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/pilot-attributes.d.ts +40 -0
- package/dist/types/types/cc-rt/pilot-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/queue-attributes.d.ts +30 -0
- package/dist/types/types/cc-rt/queue-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/queue-type.d.ts +23 -0
- package/dist/types/types/cc-rt/queue-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-context.d.ts +56 -0
- package/dist/types/types/cc-rt/rti-context.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-filter.d.ts +117 -0
- package/dist/types/types/cc-rt/rti-filter.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-object-identifier.d.ts +34 -0
- package/dist/types/types/cc-rt/rti-object-identifier.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-objects.d.ts +72 -0
- package/dist/types/types/cc-rt/rti-objects.d.ts.map +1 -0
- package/dist/types/types/cc-stats/agbypilot-attributes.d.ts +73 -0
- package/dist/types/types/cc-stats/agbypilot-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/agent-attributes.d.ts +377 -0
- package/dist/types/types/cc-stats/agent-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/agent-filter.d.ts +60 -0
- package/dist/types/types/cc-stats/agent-filter.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts +184 -0
- package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/ag-stats-row.d.ts +608 -0
- package/dist/types/types/cc-stats/data/ag-stats-row.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/data-obs-period.d.ts +20 -0
- package/dist/types/types/cc-stats/data/data-obs-period.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/pil-stats-row.d.ts +623 -0
- package/dist/types/types/cc-stats/data/pil-stats-row.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/selected-period.d.ts +49 -0
- package/dist/types/types/cc-stats/data/selected-period.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/stat-value.d.ts +36 -0
- package/dist/types/types/cc-stats/data/stat-value.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/stats-data.d.ts +64 -0
- package/dist/types/types/cc-stats/data/stats-data.d.ts.map +1 -0
- package/dist/types/types/cc-stats/events/progress-callback.d.ts +9 -0
- package/dist/types/types/cc-stats/events/progress-callback.d.ts.map +1 -0
- package/dist/types/types/cc-stats/events/progress-step.d.ts +20 -0
- package/dist/types/types/cc-stats/events/progress-step.d.ts.map +1 -0
- package/dist/types/types/cc-stats/language.d.ts +15 -0
- package/dist/types/types/cc-stats/language.d.ts.map +1 -0
- package/dist/types/types/cc-stats/pilot-abandoned-calls-attributes.d.ts +48 -0
- package/dist/types/types/cc-stats/pilot-abandoned-calls-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/pilot-abandonned-calls-filter.d.ts +46 -0
- package/dist/types/types/cc-stats/pilot-abandonned-calls-filter.d.ts.map +1 -0
- package/dist/types/types/cc-stats/pilot-attributes.d.ts +185 -0
- package/dist/types/types/cc-stats/pilot-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/pilot-filter.d.ts +45 -0
- package/dist/types/types/cc-stats/pilot-filter.d.ts.map +1 -0
- package/dist/types/types/cc-stats/requester.d.ts +33 -0
- package/dist/types/types/cc-stats/requester.d.ts.map +1 -0
- package/dist/types/types/cc-stats/scheduled/recurrence.d.ts +69 -0
- package/dist/types/types/cc-stats/scheduled/recurrence.d.ts.map +1 -0
- package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts +87 -0
- package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts.map +1 -0
- package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts +137 -0
- package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-context.d.ts +72 -0
- package/dist/types/types/cc-stats/stats-context.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-filter.d.ts +41 -0
- package/dist/types/types/cc-stats/stats-filter.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-format.d.ts +17 -0
- package/dist/types/types/cc-stats/stats-format.d.ts.map +1 -0
- package/dist/types/types/cc-stats/time-interval.d.ts +19 -0
- package/dist/types/types/cc-stats/time-interval.d.ts.map +1 -0
- package/dist/types/types/comlog/com-record-participant.d.ts +75 -0
- package/dist/types/types/comlog/com-record-participant.d.ts.map +1 -0
- package/dist/types/types/comlog/com-record.d.ts +97 -0
- package/dist/types/types/comlog/com-record.d.ts.map +1 -0
- package/dist/types/types/comlog/comlog-events.d.ts +110 -0
- package/dist/types/types/comlog/comlog-events.d.ts.map +1 -0
- package/dist/types/types/comlog/filter-option.d.ts +24 -0
- package/dist/types/types/comlog/filter-option.d.ts.map +1 -0
- package/dist/types/types/comlog/page.d.ts +34 -0
- package/dist/types/types/comlog/page.d.ts.map +1 -0
- package/dist/types/types/comlog/query-filter.d.ts +79 -0
- package/dist/types/types/comlog/query-filter.d.ts.map +1 -0
- package/dist/types/types/comlog/query-result.d.ts +55 -0
- package/dist/types/types/comlog/query-result.d.ts.map +1 -0
- package/dist/types/types/comlog/reason.d.ts +62 -0
- package/dist/types/types/comlog/reason.d.ts.map +1 -0
- package/dist/types/types/comlog/role.d.ts +18 -0
- package/dist/types/types/comlog/role.d.ts.map +1 -0
- package/dist/types/types/common/date-range.d.ts +17 -0
- package/dist/types/types/common/date-range.d.ts.map +1 -0
- package/dist/types/types/common/day-of-week.d.ts +15 -0
- package/dist/types/types/common/day-of-week.d.ts.map +1 -0
- package/dist/types/types/common/device-type.d.ts +22 -0
- package/dist/types/types/common/device-type.d.ts.map +1 -0
- package/dist/types/types/common/device.d.ts +75 -0
- package/dist/types/types/common/device.d.ts.map +1 -0
- package/dist/types/types/common/identifier.d.ts +20 -0
- package/dist/types/types/common/identifier.d.ts.map +1 -0
- package/dist/types/types/common/main-type.d.ts +26 -0
- package/dist/types/types/common/main-type.d.ts.map +1 -0
- package/dist/types/types/common/party-info-type.d.ts +22 -0
- package/dist/types/types/common/party-info-type.d.ts.map +1 -0
- package/dist/types/types/common/party-info.d.ts +28 -0
- package/dist/types/types/common/party-info.d.ts.map +1 -0
- package/dist/types/types/common/service-state.d.ts +20 -0
- package/dist/types/types/common/service-state.d.ts.map +1 -0
- package/dist/types/types/directory/criteria.d.ts +95 -0
- package/dist/types/types/directory/criteria.d.ts.map +1 -0
- package/dist/types/types/directory/filter-item.d.ts +22 -0
- package/dist/types/types/directory/filter-item.d.ts.map +1 -0
- package/dist/types/types/directory/logical-operation.d.ts +14 -0
- package/dist/types/types/directory/logical-operation.d.ts.map +1 -0
- package/dist/types/types/directory/operation-filter.d.ts +22 -0
- package/dist/types/types/directory/operation-filter.d.ts.map +1 -0
- package/dist/types/types/directory/result-item.d.ts +22 -0
- package/dist/types/types/directory/result-item.d.ts.map +1 -0
- package/dist/types/types/directory/search-result.d.ts +64 -0
- package/dist/types/types/directory/search-result.d.ts.map +1 -0
- package/dist/types/types/events/events.d.ts +79 -0
- package/dist/types/types/events/events.d.ts.map +1 -0
- package/dist/types/types/eventsummary/event-summary-counter.d.ts +69 -0
- package/dist/types/types/eventsummary/event-summary-counter.d.ts.map +1 -0
- package/dist/types/types/eventsummary/event-summary-events.d.ts +26 -0
- package/dist/types/types/eventsummary/event-summary-events.d.ts.map +1 -0
- package/dist/types/types/maint/configuration-type.d.ts +15 -0
- package/dist/types/types/maint/configuration-type.d.ts.map +1 -0
- package/dist/types/types/maint/cti-link-state.d.ts +19 -0
- package/dist/types/types/maint/cti-link-state.d.ts.map +1 -0
- package/dist/types/types/maint/license-status.d.ts +42 -0
- package/dist/types/types/maint/license-status.d.ts.map +1 -0
- package/dist/types/types/maint/license-type.d.ts +19 -0
- package/dist/types/types/maint/license-type.d.ts.map +1 -0
- package/dist/types/types/maint/license.d.ts +38 -0
- package/dist/types/types/maint/license.d.ts.map +1 -0
- package/dist/types/types/maint/maint-events.d.ts +131 -0
- package/dist/types/types/maint/maint-events.d.ts.map +1 -0
- package/dist/types/types/maint/pbx-status.d.ts +77 -0
- package/dist/types/types/maint/pbx-status.d.ts.map +1 -0
- package/dist/types/types/maint/server-address.d.ts +25 -0
- package/dist/types/types/maint/server-address.d.ts.map +1 -0
- package/dist/types/types/maint/service-status.d.ts +31 -0
- package/dist/types/types/maint/service-status.d.ts.map +1 -0
- package/dist/types/types/maint/subscriber-filter.d.ts +24 -0
- package/dist/types/types/maint/subscriber-filter.d.ts.map +1 -0
- package/dist/types/types/maint/sys-service-status.d.ts +33 -0
- package/dist/types/types/maint/sys-service-status.d.ts.map +1 -0
- package/dist/types/types/maint/sys-status.d.ts +83 -0
- package/dist/types/types/maint/sys-status.d.ts.map +1 -0
- package/dist/types/types/messaging/mailbox-info.d.ts +35 -0
- package/dist/types/types/messaging/mailbox-info.d.ts.map +1 -0
- package/dist/types/types/messaging/mailbox.d.ts +119 -0
- package/dist/types/types/messaging/mailbox.d.ts.map +1 -0
- package/dist/types/types/messaging/voice-message.d.ts +57 -0
- package/dist/types/types/messaging/voice-message.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/attribute-filter.d.ts +31 -0
- package/dist/types/types/pbxmngt/attribute-filter.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/instance-filter.d.ts +72 -0
- package/dist/types/types/pbxmngt/instance-filter.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/model.d.ts +221 -0
- package/dist/types/types/pbxmngt/model.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/octet-string-length.d.ts +12 -0
- package/dist/types/types/pbxmngt/octet-string-length.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx-attr-map.d.ts +96 -0
- package/dist/types/types/pbxmngt/pbx-attr-map.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx-attribute.d.ts +182 -0
- package/dist/types/types/pbxmngt/pbx-attribute.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx-object.d.ts +73 -0
- package/dist/types/types/pbxmngt/pbx-object.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx.d.ts +23 -0
- package/dist/types/types/pbxmngt/pbx.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbxmngt-events.d.ts +74 -0
- package/dist/types/types/pbxmngt/pbxmngt-events.d.ts.map +1 -0
- package/dist/types/types/phoneset/device-key.d.ts +36 -0
- package/dist/types/types/phoneset/device-key.d.ts.map +1 -0
- package/dist/types/types/phoneset/dynamic-state.d.ts +30 -0
- package/dist/types/types/phoneset/dynamic-state.d.ts.map +1 -0
- package/dist/types/types/phoneset/pin.d.ts +53 -0
- package/dist/types/types/phoneset/pin.d.ts.map +1 -0
- package/dist/types/types/phoneset/prog-key.d.ts +26 -0
- package/dist/types/types/phoneset/prog-key.d.ts.map +1 -0
- package/dist/types/types/phoneset/soft-key.d.ts +18 -0
- package/dist/types/types/phoneset/soft-key.d.ts.map +1 -0
- package/dist/types/types/routing/destination.d.ts +18 -0
- package/dist/types/types/routing/destination.d.ts.map +1 -0
- package/dist/types/types/routing/dnd-state.d.ts +9 -0
- package/dist/types/types/routing/dnd-state.d.ts.map +1 -0
- package/dist/types/types/routing/forward-condition.d.ts +26 -0
- package/dist/types/types/routing/forward-condition.d.ts.map +1 -0
- package/dist/types/types/routing/forward.d.ts +53 -0
- package/dist/types/types/routing/forward.d.ts.map +1 -0
- package/dist/types/types/routing/overflow-condition.d.ts +22 -0
- package/dist/types/types/routing/overflow-condition.d.ts.map +1 -0
- package/dist/types/types/routing/overflow.d.ts +50 -0
- package/dist/types/types/routing/overflow.d.ts.map +1 -0
- package/dist/types/types/routing/routing-capabilities.d.ts +15 -0
- package/dist/types/types/routing/routing-capabilities.d.ts.map +1 -0
- package/dist/types/types/routing/routing-events.d.ts +23 -0
- package/dist/types/types/routing/routing-events.d.ts.map +1 -0
- package/dist/types/types/routing/routing-state.d.ts +52 -0
- package/dist/types/types/routing/routing-state.d.ts.map +1 -0
- package/dist/types/types/rsi/add-digit-coll-criteria.d.ts +17 -0
- package/dist/types/types/rsi/add-digit-coll-criteria.d.ts.map +1 -0
- package/dist/types/types/rsi/collection-cause.d.ts +22 -0
- package/dist/types/types/rsi/collection-cause.d.ts.map +1 -0
- package/dist/types/types/rsi/route-session.d.ts +21 -0
- package/dist/types/types/rsi/route-session.d.ts.map +1 -0
- package/dist/types/types/rsi/routing-caller-type.d.ts +18 -0
- package/dist/types/types/rsi/routing-caller-type.d.ts.map +1 -0
- package/dist/types/types/rsi/routing-reason.d.ts +26 -0
- package/dist/types/types/rsi/routing-reason.d.ts.map +1 -0
- package/dist/types/types/rsi/rsi-events.d.ts +47 -0
- package/dist/types/types/rsi/rsi-events.d.ts.map +1 -0
- package/dist/types/types/rsi/rsi-point.d.ts +17 -0
- package/dist/types/types/rsi/rsi-point.d.ts.map +1 -0
- package/dist/types/types/rsi/tones.d.ts +26 -0
- package/dist/types/types/rsi/tones.d.ts.map +1 -0
- package/dist/types/types/telephony/RecordingAction.d.ts +7 -0
- package/dist/types/types/telephony/RecordingAction.d.ts.map +1 -0
- package/dist/types/types/telephony/call/call-cause.d.ts +123 -0
- package/dist/types/types/telephony/call/call-cause.d.ts.map +1 -0
- package/dist/types/types/telephony/call/call-data.d.ts +81 -0
- package/dist/types/types/telephony/call/call-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts +35 -0
- package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/acd-data.d.ts +50 -0
- package/dist/types/types/telephony/call/ccd/acd-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/call-profile.d.ts +112 -0
- package/dist/types/types/telephony/call/ccd/call-profile.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-info.d.ts +43 -0
- package/dist/types/types/telephony/call/ccd/pilot-info.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-status.d.ts +38 -0
- package/dist/types/types/telephony/call/ccd/pilot-status.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts +24 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts +104 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/queue-data.d.ts +23 -0
- package/dist/types/types/telephony/call/ccd/queue-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/correlator-data.d.ts +54 -0
- package/dist/types/types/telephony/call/correlator-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/leg.d.ts +57 -0
- package/dist/types/types/telephony/call/leg.d.ts.map +1 -0
- package/dist/types/types/telephony/call/media-state.d.ts +42 -0
- package/dist/types/types/telephony/call/media-state.d.ts.map +1 -0
- package/dist/types/types/telephony/call/participant.d.ts +34 -0
- package/dist/types/types/telephony/call/participant.d.ts.map +1 -0
- package/dist/types/types/telephony/call/record-state.d.ts +14 -0
- package/dist/types/types/telephony/call/record-state.d.ts.map +1 -0
- package/dist/types/types/telephony/call/tag.d.ts +37 -0
- package/dist/types/types/telephony/call/tag.d.ts.map +1 -0
- package/dist/types/types/telephony/call.d.ts +90 -0
- package/dist/types/types/telephony/call.d.ts.map +1 -0
- package/dist/types/types/telephony/callback.d.ts +33 -0
- package/dist/types/types/telephony/callback.d.ts.map +1 -0
- package/dist/types/types/telephony/device/device-state.d.ts +30 -0
- package/dist/types/types/telephony/device/device-state.d.ts.map +1 -0
- package/dist/types/types/telephony/device/operational-state.d.ts +18 -0
- package/dist/types/types/telephony/device/operational-state.d.ts.map +1 -0
- package/dist/types/types/telephony/hunting-group-status.d.ts +25 -0
- package/dist/types/types/telephony/hunting-group-status.d.ts.map +1 -0
- package/dist/types/types/telephony/hunting-groups.d.ts +33 -0
- package/dist/types/types/telephony/hunting-groups.d.ts.map +1 -0
- package/dist/types/types/telephony/mini-message.d.ts +37 -0
- package/dist/types/types/telephony/mini-message.d.ts.map +1 -0
- package/dist/types/types/telephony/telephonic-state.d.ts +41 -0
- package/dist/types/types/telephony/telephonic-state.d.ts.map +1 -0
- package/dist/types/types/telephony/telephony-events.d.ts +223 -0
- package/dist/types/types/telephony/telephony-events.d.ts.map +1 -0
- package/dist/types/types/telephony/trunk-indentification.d.ts +19 -0
- package/dist/types/types/telephony/trunk-indentification.d.ts.map +1 -0
- package/dist/types/types/telephony/user/user-state.d.ts +18 -0
- package/dist/types/types/telephony/user/user-state.d.ts.map +1 -0
- package/dist/types/types/users/preferences.d.ts +29 -0
- package/dist/types/types/users/preferences.d.ts.map +1 -0
- package/dist/types/types/users/supported-languages.d.ts +29 -0
- package/dist/types/types/users/supported-languages.d.ts.map +1 -0
- package/dist/types/types/users/user.d.ts +67 -0
- package/dist/types/types/users/user.d.ts.map +1 -0
- package/dist/types/types/users/users-events.d.ts +78 -0
- package/dist/types/types/users/users-events.d.ts.map +1 -0
- package/dist/types/types/users/voicemail-type.d.ts +18 -0
- package/dist/types/types/users/voicemail-type.d.ts.map +1 -0
- package/dist/types/types/users/voicemail.d.ts +20 -0
- package/dist/types/types/users/voicemail.d.ts.map +1 -0
- package/package.json +6 -4
|
@@ -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"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { StatsFormat } from '../stats-format';
|
|
2
|
+
import { StatsContext } from '../stats-context';
|
|
3
|
+
import { Recurrence } from './recurrence';
|
|
4
|
+
import { ReportObservationPeriod } from './report-obs-period';
|
|
5
|
+
/**
|
|
6
|
+
* Represents a scheduled report in the system.
|
|
7
|
+
* Instances of this interface define a report to be generated periodically or once,
|
|
8
|
+
* along with its format, recipients, observation period, recurrence, and execution state.
|
|
9
|
+
*/
|
|
10
|
+
export interface ScheduledReport {
|
|
11
|
+
/**
|
|
12
|
+
* Returns the unique identifier of the scheduled report.
|
|
13
|
+
*
|
|
14
|
+
* @return the report ID
|
|
15
|
+
*/
|
|
16
|
+
get id(): string;
|
|
17
|
+
/**
|
|
18
|
+
* Returns the description of the scheduled report.
|
|
19
|
+
*
|
|
20
|
+
* @return the report description
|
|
21
|
+
*/
|
|
22
|
+
get description(): string;
|
|
23
|
+
/**
|
|
24
|
+
* Sets the description of the scheduled report.
|
|
25
|
+
*
|
|
26
|
+
* @param description the report description to set
|
|
27
|
+
*/
|
|
28
|
+
set description(description: string);
|
|
29
|
+
/**
|
|
30
|
+
* Returns the observation period used by this scheduled report.
|
|
31
|
+
*
|
|
32
|
+
* @return the observation period
|
|
33
|
+
*/
|
|
34
|
+
get observationPeriod(): ReportObservationPeriod;
|
|
35
|
+
/**
|
|
36
|
+
* Sets the observation period for this scheduled report.
|
|
37
|
+
*
|
|
38
|
+
* @param observationPeriod the observation period to set
|
|
39
|
+
*/
|
|
40
|
+
set observationPeriod(observationPeriod: ReportObservationPeriod);
|
|
41
|
+
/**
|
|
42
|
+
* Returns the recurrence pattern for this report.
|
|
43
|
+
*
|
|
44
|
+
* @return the recurrence, or null if the report is executed only once
|
|
45
|
+
*/
|
|
46
|
+
get recurrence(): Recurrence | null;
|
|
47
|
+
/**
|
|
48
|
+
* Sets the recurrence pattern for this report.
|
|
49
|
+
*
|
|
50
|
+
* @param recurrence the recurrence to set
|
|
51
|
+
*/
|
|
52
|
+
set recurrence(recurrence: Recurrence | null);
|
|
53
|
+
/**
|
|
54
|
+
* Indicates whether this report is executed only once.
|
|
55
|
+
*
|
|
56
|
+
* @return true if the report is a one-time report, false if recurring
|
|
57
|
+
*/
|
|
58
|
+
get once(): boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Returns the output format of the report.
|
|
61
|
+
*
|
|
62
|
+
* @return the report format
|
|
63
|
+
*/
|
|
64
|
+
get format(): StatsFormat;
|
|
65
|
+
/**
|
|
66
|
+
* Sets the output format of the report.
|
|
67
|
+
*
|
|
68
|
+
* @param format the format to set
|
|
69
|
+
*/
|
|
70
|
+
set format(format: StatsFormat);
|
|
71
|
+
/**
|
|
72
|
+
* Returns the collection of recipients who will receive the report.
|
|
73
|
+
* Each recipient is represented as an email address.
|
|
74
|
+
*
|
|
75
|
+
* @return a collection of email addresses of the report recipients
|
|
76
|
+
*/
|
|
77
|
+
get recipients(): string[];
|
|
78
|
+
/**
|
|
79
|
+
* Sets the recipients of the scheduled report.
|
|
80
|
+
*
|
|
81
|
+
* @param recipients an array of email addresses
|
|
82
|
+
*/
|
|
83
|
+
set recipients(recipients: string[]);
|
|
84
|
+
/**
|
|
85
|
+
* Returns the current state of the scheduled report.
|
|
86
|
+
*
|
|
87
|
+
* @return the report execution state
|
|
88
|
+
*/
|
|
89
|
+
get state(): ScheduledReport.State;
|
|
90
|
+
/**
|
|
91
|
+
* Indicates whether the scheduled report is currently enabled.
|
|
92
|
+
*
|
|
93
|
+
* @return true if the report is enabled, false otherwise
|
|
94
|
+
*/
|
|
95
|
+
get enabled(): boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Indicates whether the data are returned with short header (compact number of header attributes).
|
|
98
|
+
* @returns `true` if the short header is considered; otherwise `false`.
|
|
99
|
+
*/
|
|
100
|
+
get shortHeader(): boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Returns the date and time when the report was last executed.
|
|
103
|
+
*
|
|
104
|
+
* @return the last execution date, or null if never executed
|
|
105
|
+
*/
|
|
106
|
+
get lastExecutionDate(): Date | null;
|
|
107
|
+
/**
|
|
108
|
+
* Returns the context used to generate this scheduled report.
|
|
109
|
+
*
|
|
110
|
+
* @return the report execution context
|
|
111
|
+
*/
|
|
112
|
+
get context(): StatsContext;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Namespace for related types of ScheduledReport.
|
|
116
|
+
* Contains enums and other nested types.
|
|
117
|
+
*/
|
|
118
|
+
export declare namespace ScheduledReport {
|
|
119
|
+
/**
|
|
120
|
+
* Enum representing the execution state of a scheduled report.
|
|
121
|
+
*/
|
|
122
|
+
enum State {
|
|
123
|
+
/** Report has not yet been executed. */
|
|
124
|
+
NOT_EXECUTED = "Not_executed",
|
|
125
|
+
/** Report has been executed successfully. */
|
|
126
|
+
EXECUTED = "Executed",
|
|
127
|
+
/** Execution failed during data retrieval. */
|
|
128
|
+
FAILED_ON_GET_DATA = "Failed_On_Get_Data",
|
|
129
|
+
/** Execution failed while sending the report via email. */
|
|
130
|
+
FAILED_ON_SEND_MAIL = "Failed_On_Send_Mail",
|
|
131
|
+
/** Report execution is currently in progress. */
|
|
132
|
+
IN_PROGRESS = "In_progress",
|
|
133
|
+
/** Scheduled report has expired and will no longer execute. */
|
|
134
|
+
EXPIRED = "Expired"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
//# sourceMappingURL=scheduled-report.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduled-report.d.ts","sourceRoot":"","sources":["../../../../../src/types/cc-stats/scheduled/scheduled-report.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,IAAI,MAAM,CAAC;IAEjB;;;;OAIG;IACH,IAAI,WAAW,IAAI,MAAM,CAAC;IAE1B;;;;OAIG;IACH,IAAI,WAAW,CAAC,WAAW,EAAE,MAAM,EAAE;IAErC;;;;OAIG;IACH,IAAI,iBAAiB,IAAI,uBAAuB,CAAC;IAEjD;;;;OAIG;IACH,IAAI,iBAAiB,CAAC,iBAAiB,EAAE,uBAAuB,EAAE;IAElE;;;;OAIG;IACH,IAAI,UAAU,IAAI,UAAU,GAAG,IAAI,CAAC;IAEpC;;;;OAIG;IACH,IAAI,UAAU,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,EAAE;IAE9C;;;;OAIG;IACH,IAAI,IAAI,IAAI,OAAO,CAAC;IAEpB;;;;OAIG;IACH,IAAI,MAAM,IAAI,WAAW,CAAC;IAE1B;;;;OAIG;IACH,IAAI,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE;IAEhC;;;;;OAKG;IACH,IAAI,UAAU,IAAI,MAAM,EAAE,CAAC;IAE3B;;;;OAIG;IACH,IAAI,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE;IAErC;;;;OAIG;IACH,IAAI,KAAK,IAAI,eAAe,CAAC,KAAK,CAAC;IAEnC;;;;OAIG;IACH,IAAI,OAAO,IAAI,OAAO,CAAC;IAEvB;;;OAGG;IACH,IAAI,WAAW,IAAI,OAAO,CAAC;IAE3B;;;;OAIG;IACH,IAAI,iBAAiB,IAAI,IAAI,GAAG,IAAI,CAAC;IAErC;;;;OAIG;IACH,IAAI,OAAO,IAAI,YAAY,CAAC;CAC/B;AAED;;;GAGG;AACH,yBAAiB,eAAe,CAAC;IAC7B;;OAEG;IACH,KAAY,KAAK;QACb,wCAAwC;QACxC,YAAY,iBAAiB;QAE7B,6CAA6C;QAC7C,QAAQ,aAAa;QAErB,8CAA8C;QAC9C,kBAAkB,uBAAuB;QAEzC,2DAA2D;QAC3D,mBAAmB,wBAAwB;QAE3C,iDAAiD;QACjD,WAAW,gBAAgB;QAE3B,+DAA+D;QAC/D,OAAO,YAAY;KACtB;CACJ"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { StatsFilter } from './stats-filter';
|
|
2
|
+
/**
|
|
3
|
+
* `StatContext` represents the configuration needed to retrieve a statistics report
|
|
4
|
+
* from the Call Center Statistics Service.
|
|
5
|
+
*
|
|
6
|
+
* A context defines the parameters and metadata for generating a report, including:
|
|
7
|
+
* - The objects to include in the report (e.g., CCD agents, CCD pilots).
|
|
8
|
+
* - The counters or metrics for each category of object.
|
|
9
|
+
* - Metadata such as label, description, requester, and scheduling information.
|
|
10
|
+
*
|
|
11
|
+
* Contexts are used to specify what data should be included in a report, how it should
|
|
12
|
+
* be filtered, and how the report should be generated or scheduled.
|
|
13
|
+
*
|
|
14
|
+
* @since 2.7.4
|
|
15
|
+
*/
|
|
16
|
+
export interface StatsContext {
|
|
17
|
+
/**
|
|
18
|
+
* Returns the unique identifier of this context.
|
|
19
|
+
* @returns The context identifier.
|
|
20
|
+
*/
|
|
21
|
+
get id(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Returns the identifier of the requester who owns this context.
|
|
24
|
+
* @returns The requester identifier.
|
|
25
|
+
*/
|
|
26
|
+
get requesterId(): string;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the human-readable label of this context.
|
|
29
|
+
* @returns The context label.
|
|
30
|
+
*/
|
|
31
|
+
get label(): string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the description of this context.
|
|
34
|
+
* @returns The context description.
|
|
35
|
+
*/
|
|
36
|
+
get description(): string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Indicates whether the data are returned with short header (compact number of header attributes).
|
|
39
|
+
* @returns `true` if the short header is considered; otherwise `false`.
|
|
40
|
+
*/
|
|
41
|
+
get shortHeader(): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Indicates whether this context is associated with a scheduled report.
|
|
44
|
+
* @returns `true` if the context is scheduled; otherwise `false`.
|
|
45
|
+
* @since 2.7.5
|
|
46
|
+
*/
|
|
47
|
+
get scheduled(): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the filter associated with this context.
|
|
50
|
+
*
|
|
51
|
+
* The filter specifies which objects (agents or pilots) and counters should
|
|
52
|
+
* be included in the report.
|
|
53
|
+
* @returns The associated filter.
|
|
54
|
+
*/
|
|
55
|
+
get filter(): StatsFilter | null;
|
|
56
|
+
/**
|
|
57
|
+
* Sets the filter associated with this context.
|
|
58
|
+
* @param filter - The filter to set.
|
|
59
|
+
*/
|
|
60
|
+
set filter(filter: StatsFilter);
|
|
61
|
+
/**
|
|
62
|
+
* Sets the description of this context.
|
|
63
|
+
* @param description - The description to set.
|
|
64
|
+
*/
|
|
65
|
+
set description(description: string);
|
|
66
|
+
/**
|
|
67
|
+
* Sets the label of this context.
|
|
68
|
+
* @param label - The label to set.
|
|
69
|
+
*/
|
|
70
|
+
set label(label: string);
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=stats-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stats-context.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-stats/stats-context.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,YAAY;IACzB;;;OAGG;IACH,IAAI,EAAE,IAAI,MAAM,CAAC;IAEjB;;;OAGG;IACH,IAAI,WAAW,IAAI,MAAM,CAAC;IAE1B;;;OAGG;IACH,IAAI,KAAK,IAAI,MAAM,GAAG,SAAS,CAAC;IAEhC;;;OAGG;IACH,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAAC;IAEtC;;;OAGG;IACH,IAAI,WAAW,IAAK,OAAO,CAAC;IAE5B;;;;OAIG;IACH,IAAI,SAAS,IAAI,OAAO,CAAC;IAEzB;;;;;;OAMG;IACH,IAAI,MAAM,IAAI,WAAW,GAAG,IAAI,CAAC;IAEjC;;;OAGG;IACH,IAAI,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE;IAEhC;;;OAGG;IACH,IAAI,WAAW,CAAC,WAAW,EAAE,MAAM,EAAE;IAErC;;;OAGG;IACH,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE;CAC5B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { AgentFilter } from './agent-filter';
|
|
2
|
+
import { PilotAbandonedCallsFilter } from './pilot-abandonned-calls-filter';
|
|
3
|
+
import { PilotFilter } from './pilot-filter';
|
|
4
|
+
/**
|
|
5
|
+
* Base interface for filters used in the Call Center StatisticsData SDK.
|
|
6
|
+
*
|
|
7
|
+
* A filter defines criteria for selecting objects (such as agents or pilots) to
|
|
8
|
+
* include in statistical reports.
|
|
9
|
+
*
|
|
10
|
+
* This interface also serves as a factory for creating concrete filter
|
|
11
|
+
* instances. Users can obtain pre-built filters without directly instantiating
|
|
12
|
+
* the underlying classes:
|
|
13
|
+
*
|
|
14
|
+
* ```ts
|
|
15
|
+
* const agentFilter = StatFilter.createAgentFilter();
|
|
16
|
+
* const pilotFilter = StatFilter.createPilotFilter();
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* @since 2.7.4
|
|
20
|
+
*/
|
|
21
|
+
export declare abstract class StatsFilter {
|
|
22
|
+
/**
|
|
23
|
+
* Creates a new filter for selecting agents.
|
|
24
|
+
*
|
|
25
|
+
* @returns a new `AgentFilter` instance
|
|
26
|
+
*/
|
|
27
|
+
static createAgentFilter(): AgentFilter;
|
|
28
|
+
/**
|
|
29
|
+
* Creates a new filter for selecting pilots.
|
|
30
|
+
*
|
|
31
|
+
* @returns a new `PilotFilter` instance
|
|
32
|
+
*/
|
|
33
|
+
static createPilotFilter(): PilotFilter;
|
|
34
|
+
/**
|
|
35
|
+
* Creates a new filter for selecting calls abandoned on pilots.
|
|
36
|
+
*
|
|
37
|
+
* @returns a new `PilotAbandonedCallsFilter` instance
|
|
38
|
+
*/
|
|
39
|
+
static createPilotAbandonedCallsFilter(): PilotAbandonedCallsFilter;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=stats-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stats-filter.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-stats/stats-filter.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;;;;;;;;;;;;;;GAgBG;AACH,8BAAsB,WAAW;IAC7B;;;;OAIG;IACH,MAAM,CAAC,iBAAiB,IAAI,WAAW;IAIvC;;;;OAIG;IACH,MAAM,CAAC,iBAAiB,IAAI,WAAW;IAIvC;;;;OAIG;IACH,MAAM,CAAC,+BAA+B,IAAI,yBAAyB;CAqBtE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the available output formats for generated statistical reports.
|
|
3
|
+
*
|
|
4
|
+
* This enumeration specifies how the report data is represented when exported.
|
|
5
|
+
* Supported formats include:
|
|
6
|
+
* - `CSV` - Comma-separated values format, suitable for text processing and import into spreadsheets
|
|
7
|
+
* - `EXCEL` - Microsoft Excel-compatible format (.xls)
|
|
8
|
+
*
|
|
9
|
+
* @since 2.7.4
|
|
10
|
+
*/
|
|
11
|
+
export declare enum StatsFormat {
|
|
12
|
+
/** Comma-separated values format (.csv) */
|
|
13
|
+
CSV = "csv",
|
|
14
|
+
/** Microsoft Excel format (.xls) */
|
|
15
|
+
EXCEL = "xls"
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=stats-format.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stats-format.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-stats/stats-format.ts"],"names":[],"mappings":"AAmBA;;;;;;;;;GASG;AACH,oBAAY,WAAW;IACnB,2CAA2C;IAC3C,GAAG,QAAQ;IAEX,oCAAoC;IACpC,KAAK,QAAQ;CAChB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents fixed intervals of time in minutes.
|
|
3
|
+
*
|
|
4
|
+
* Each constant corresponds to a specific duration:
|
|
5
|
+
* - {@link QUARTER_HOUR} - 15 minutes
|
|
6
|
+
* - {@link HALF_HOUR} - 30 minutes
|
|
7
|
+
* - {@link HOUR} - 60 minutes
|
|
8
|
+
*
|
|
9
|
+
* @since 2.7.4
|
|
10
|
+
*/
|
|
11
|
+
export declare enum TimeInterval {
|
|
12
|
+
/** 15-minute interval */
|
|
13
|
+
QUARTER_HOUR = "aQuarterOfAnHour",
|
|
14
|
+
/** 30-minute interval */
|
|
15
|
+
HALF_HOUR = "halfAnHour",
|
|
16
|
+
/** 60-minute interval */
|
|
17
|
+
HOUR = "anHour"
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=time-interval.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time-interval.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-stats/time-interval.ts"],"names":[],"mappings":"AAmBA;;;;;;;;;GASG;AACH,oBAAY,YAAY;IACpB,yBAAyB;IACzB,YAAY,qBAAqB;IAEjC,yBAAyB;IACzB,SAAS,eAAe;IAExB,yBAAyB;IACzB,IAAI,WAAW;CAClB"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { PartyInfo } from '../common/party-info';
|
|
2
|
+
import { Reason } from './reason';
|
|
3
|
+
import { Role } from './role';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a participant referenced in a communication record (com record).
|
|
6
|
+
*
|
|
7
|
+
* <b>Record Content:</b>
|
|
8
|
+
*
|
|
9
|
+
* <b>Simple call</b> (user A calls user B): the call record on each participant's side
|
|
10
|
+
* will include both participants, though the order is not guaranteed between successive responses.
|
|
11
|
+
*
|
|
12
|
+
* <b>Re-routed call</b> (user A -> B, rerouted to C due to overflow, redirection, or pickup):
|
|
13
|
+
* participant records reflect the rerouting, including the initially called party.
|
|
14
|
+
*
|
|
15
|
+
* <b>Multi-party calls:</b> Participants added during the call will appear in records
|
|
16
|
+
* of already connected users. Their `answered` status indicates whether they accepted or declined the call.
|
|
17
|
+
*
|
|
18
|
+
* <b>Participant Identification:</b>
|
|
19
|
+
* - In comlog notification events, the participant owner is identified by `loginName` only.
|
|
20
|
+
* - Other participants include full identity (`loginName`, `phoneNumber`).
|
|
21
|
+
* - In `QueryResult`:
|
|
22
|
+
* - If no optimization is requested, all participants use full identity.
|
|
23
|
+
* - If `optimized=true`, only the first occurrence uses full identity; subsequent ones use only phone numbers.
|
|
24
|
+
*/
|
|
25
|
+
export declare class ComRecordParticipant {
|
|
26
|
+
#private;
|
|
27
|
+
private constructor();
|
|
28
|
+
/**
|
|
29
|
+
* Returns this participant's role in the communication.
|
|
30
|
+
*
|
|
31
|
+
* @returns The role of the participant.
|
|
32
|
+
*/
|
|
33
|
+
get role(): Role | null;
|
|
34
|
+
/**
|
|
35
|
+
* Returns whether this participant answered the call.
|
|
36
|
+
*
|
|
37
|
+
* @returns `true` if answered, `false` if not, or `false` if unknown.
|
|
38
|
+
*/
|
|
39
|
+
get answered(): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the participant's identity.
|
|
42
|
+
*
|
|
43
|
+
* @returns The `PartyInfo` representing this participant.
|
|
44
|
+
*/
|
|
45
|
+
get identity(): PartyInfo;
|
|
46
|
+
/**
|
|
47
|
+
* Indicates if the participant is anonymous.
|
|
48
|
+
*
|
|
49
|
+
* @returns `true` if anonymous; `false` otherwise.
|
|
50
|
+
*/
|
|
51
|
+
get anonymous(): boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the number that was initially called when this participant joined the call.
|
|
54
|
+
*
|
|
55
|
+
* @returns The initial called `PartyInfo`, or `null` if not applicable.
|
|
56
|
+
*/
|
|
57
|
+
get initialCalled(): PartyInfo | null;
|
|
58
|
+
/**
|
|
59
|
+
* Returns the reason for the call being established, rerouted, or terminated.
|
|
60
|
+
*
|
|
61
|
+
* @returns The `Reason` for this participant in the call. Defaults to `Reason.UNKNOWN` if not set.
|
|
62
|
+
*/
|
|
63
|
+
get reason(): Reason;
|
|
64
|
+
/**
|
|
65
|
+
* Returns the device leg involved in the call.
|
|
66
|
+
*
|
|
67
|
+
* Typically set when the main device is not a participant in the call.
|
|
68
|
+
* May return `null` if the main device is present or leg is not set.
|
|
69
|
+
*
|
|
70
|
+
* @returns The device leg as a string, or `null` if none is present.
|
|
71
|
+
* @since 2.7.4
|
|
72
|
+
*/
|
|
73
|
+
get leg(): string | null;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=com-record-participant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"com-record-participant.d.ts","sourceRoot":"","sources":["../../../../src/types/comlog/com-record-participant.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,oBAAoB;;IAS7B,OAAO;IAkBP;;;;OAIG;IACH,IAAI,IAAI,IAAI,IAAI,GAAG,IAAI,CAEtB;IAED;;;;OAIG;IACH,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED;;;;OAIG;IACH,IAAI,QAAQ,IAAI,SAAS,CAExB;IAED;;;;OAIG;IACH,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED;;;;OAIG;IACH,IAAI,aAAa,IAAI,SAAS,GAAG,IAAI,CAEpC;IAED;;;;OAIG;IACH,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED;;;;;;;;OAQG;IACH,IAAI,GAAG,IAAI,MAAM,GAAG,IAAI,CAEvB;CAqBJ"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { CorrelatorData } from '../telephony/call/correlator-data';
|
|
2
|
+
import { ComRecordParticipant } from './com-record-participant';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a communication record, which is a call history entry stored
|
|
5
|
+
* for each conversation.
|
|
6
|
+
*
|
|
7
|
+
* Each record contains information about the call, including its unique
|
|
8
|
+
* identifier, reference, participants, timestamps, and acknowledgment status.
|
|
9
|
+
*
|
|
10
|
+
* A record may represent an incoming or outgoing call, and includes details
|
|
11
|
+
* such as the start and end times, as well as the conversation time
|
|
12
|
+
* when the call was answered.
|
|
13
|
+
*/
|
|
14
|
+
export declare class ComRecord {
|
|
15
|
+
#private;
|
|
16
|
+
/**
|
|
17
|
+
* Protected constructor for internal use and deserialization.
|
|
18
|
+
*/
|
|
19
|
+
private constructor();
|
|
20
|
+
/**
|
|
21
|
+
* Returns the unique identifier of this communication record.
|
|
22
|
+
*
|
|
23
|
+
* @returns The record ID.
|
|
24
|
+
*/
|
|
25
|
+
get id(): number;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the reference of the call that created this communication record.
|
|
28
|
+
*
|
|
29
|
+
* @returns The call reference.
|
|
30
|
+
*/
|
|
31
|
+
get comRef(): string;
|
|
32
|
+
/**
|
|
33
|
+
* Indicates whether this communication record has been acknowledged.
|
|
34
|
+
*
|
|
35
|
+
* Only missed incoming calls can have this flag set to `true`.
|
|
36
|
+
*
|
|
37
|
+
* @returns `true` if the call has been acknowledged; `false` otherwise.
|
|
38
|
+
*/
|
|
39
|
+
get acknowledged(): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the collection of participants in this communication record.
|
|
42
|
+
*
|
|
43
|
+
* @returns An array of `ComRecordParticipant` objects representing all
|
|
44
|
+
* participants in the call.
|
|
45
|
+
*/
|
|
46
|
+
get participants(): ComRecordParticipant[] | null;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the start date and time of this call.
|
|
49
|
+
*
|
|
50
|
+
* @returns The call start date.
|
|
51
|
+
*/
|
|
52
|
+
get beginDate(): Date | null;
|
|
53
|
+
/**
|
|
54
|
+
* Returns the end date and time of this call.
|
|
55
|
+
*
|
|
56
|
+
* @returns The call end date.
|
|
57
|
+
*/
|
|
58
|
+
get endDate(): Date | null;
|
|
59
|
+
/**
|
|
60
|
+
* Returns the date and time when the call was answered.
|
|
61
|
+
*
|
|
62
|
+
* For missed calls, this value may be `null`.
|
|
63
|
+
*
|
|
64
|
+
* @returns The conversation date.
|
|
65
|
+
* @since 2.6
|
|
66
|
+
*/
|
|
67
|
+
get convDate(): Date | null;
|
|
68
|
+
/**
|
|
69
|
+
* Returns the duration this call has been on hold.
|
|
70
|
+
*
|
|
71
|
+
* @returns The hold duration in milliseconds (or seconds depending on your backend).
|
|
72
|
+
* @since 2.7.4
|
|
73
|
+
*/
|
|
74
|
+
get holdDuration(): number;
|
|
75
|
+
/**
|
|
76
|
+
* Returns the number of the user who performed the transfer for this call,
|
|
77
|
+
* if the call has been transferred.
|
|
78
|
+
*
|
|
79
|
+
* This value may be `null` if the call has not been transferred.
|
|
80
|
+
*
|
|
81
|
+
* @returns The number of the user who transferred the call, or `null` if
|
|
82
|
+
* no transfer occurred.
|
|
83
|
+
* @since 2.7.4
|
|
84
|
+
*/
|
|
85
|
+
get transferredBy(): string | null;
|
|
86
|
+
/**
|
|
87
|
+
* Returns the correlator data associated with this call, if present.
|
|
88
|
+
*
|
|
89
|
+
* This method may return `null` if no correlator data is associated
|
|
90
|
+
* with the call.
|
|
91
|
+
*
|
|
92
|
+
* @returns The `CorrelatorData` associated with this call, or `null` if none is present.
|
|
93
|
+
* @since 2.7.4
|
|
94
|
+
*/
|
|
95
|
+
get correlatorData(): CorrelatorData | null;
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=com-record.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"com-record.d.ts","sourceRoot":"","sources":["../../../../src/types/comlog/com-record.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE;;;;;;;;;;GAUG;AACH,qBAAa,SAAS;;IAalB;;OAEG;IACH,OAAO;IA0BP;;;;OAIG;IACH,IAAI,EAAE,IAAI,MAAM,CAEf;IAED;;;;OAIG;IACH,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED;;;;;;OAMG;IACH,IAAI,YAAY,IAAI,OAAO,CAE1B;IAED;;;;;OAKG;IACH,IAAI,YAAY,IAAI,oBAAoB,EAAE,GAAG,IAAI,CAEhD;IAED;;;;OAIG;IACH,IAAI,SAAS,IAAI,IAAI,GAAG,IAAI,CAE3B;IAED;;;;OAIG;IACH,IAAI,OAAO,IAAI,IAAI,GAAG,IAAI,CAEzB;IAED;;;;;;;OAOG;IACH,IAAI,QAAQ,IAAI,IAAI,GAAG,IAAI,CAE1B;IAED;;;;;OAKG;IACH,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED;;;;;;;;;OASG;IACH,IAAI,aAAa,IAAI,MAAM,GAAG,IAAI,CAEjC;IAED;;;;;;;;OAQG;IACH,IAAI,cAAc,IAAI,cAAc,GAAG,IAAI,CAQ1C;CAyBJ"}
|