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.
- package/README.md +10 -6
- package/dist/o2g-node-sdk.js +173 -3732
- 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-stat/abstract-filter.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/abstract-filter.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/ag-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/ag-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/cc-stat-types.d.ts +56 -0
- package/dist/types/internal/types/cc-stat/cc-stat-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/context-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/context-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/on-stats-progress.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/on-stats-progress.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/pil-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/pil-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/requester-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/requester-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/scheduled-rep-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/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 +2 -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 +7 -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 +450 -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 +82 -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 +43 -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 +15 -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 +76 -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-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 +132 -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 +66 -0
- package/dist/types/types/cc-stats/stats-context.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-filter.d.ts +34 -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 +77 -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 +105 -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 +79 -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 +34 -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,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `WithdrawReason` represents a reason why a CCD agent is in a withdraw state.
|
|
3
|
+
*
|
|
4
|
+
* Withdraw reasons are used by the CCD system for reporting and statistical purposes.
|
|
5
|
+
* They help to understand why an agent is temporarily unavailable for call distribution.
|
|
6
|
+
* Each reason has a unique index within the processing group and a descriptive label.
|
|
7
|
+
*/
|
|
8
|
+
export declare class WithdrawReason {
|
|
9
|
+
#private;
|
|
10
|
+
/**
|
|
11
|
+
* Returns the index of this withdraw reason within the agent's processing group.
|
|
12
|
+
*
|
|
13
|
+
* @returns The unique numeric index for this withdraw reason.
|
|
14
|
+
*/
|
|
15
|
+
get index(): number;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the human-readable label describing this withdraw reason.
|
|
18
|
+
*
|
|
19
|
+
* @returns The descriptive label for the reason, or `null` if none is set.
|
|
20
|
+
*/
|
|
21
|
+
get label(): string | null;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=withdraw-reason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withdraw-reason.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-agent/withdraw-reason.ts"],"names":[],"mappings":"AAqBA;;;;;;GAMG;AACH,qBAAa,cAAc;;IAYvB;;;;OAIG;IACH,IAAI,KAAK,IAAI,MAAM,CAElB;IAED;;;;OAIG;IACH,IAAI,KAAK,IAAI,MAAM,GAAG,IAAI,CAEzB;CAeJ"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Transition } from './transition';
|
|
2
|
+
export declare abstract class AbstractCalendar<T> {
|
|
3
|
+
protected transitions: Map<T, Transition[]>;
|
|
4
|
+
constructor(transitions: Map<T, Transition[]>);
|
|
5
|
+
protected _getTransitions(element: T): Transition[] | undefined;
|
|
6
|
+
protected _getItemAt(element: T, index: number): Transition | undefined;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=abstract-calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abstract-calendar.d.ts","sourceRoot":"","sources":["../../../../../src/types/cc-mngt/calendar/abstract-calendar.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,8BAAsB,gBAAgB,CAAC,CAAC;IACpC,SAAS,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC;gBAEhC,WAAW,EAAE,GAAG,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC;IAI7C,SAAS,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC,GAAG,UAAU,EAAE,GAAG,SAAS;IAI/D,SAAS,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS;CAI1E"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ExceptionCalendar } from './exception-calendar';
|
|
2
|
+
import { NormalCalendar } from './normal-calendar';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a pilot's calendar, combining normal and exceptional days.
|
|
5
|
+
*
|
|
6
|
+
* - The **normal calendar** defines standard behavior for each day of the week.
|
|
7
|
+
* - The **exceptional calendar** defines special days (e.g., holidays) that override the normal calendar.
|
|
8
|
+
*/
|
|
9
|
+
export declare class Calendar {
|
|
10
|
+
#private;
|
|
11
|
+
/**
|
|
12
|
+
* Returns the normal days calendar.
|
|
13
|
+
* @returns {NormalCalendar | null} The normal calendar, or null if not set
|
|
14
|
+
*/
|
|
15
|
+
get normalDays(): NormalCalendar | null;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the exceptional days calendar.
|
|
18
|
+
* @returns {ExceptionCalendar | null} The exceptional calendar, or null if not set
|
|
19
|
+
*/
|
|
20
|
+
get exceptionDays(): ExceptionCalendar | null;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../../../src/types/cc-mngt/calendar/calendar.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAInD;;;;;GAKG;AACH,qBAAa,QAAQ;;IAYjB;;;OAGG;IACH,IAAI,UAAU,IAAI,cAAc,GAAG,IAAI,CAEtC;IAED;;;OAGG;IACH,IAAI,aAAa,IAAI,iBAAiB,GAAG,IAAI,CAE5C;CAgBJ"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AbstractCalendar } from './abstract-calendar';
|
|
2
|
+
import { Transition } from './transition';
|
|
3
|
+
/**
|
|
4
|
+
* Represents the exceptional calendar associated with a CCD pilot.
|
|
5
|
+
*
|
|
6
|
+
* This calendar defines special days, such as holidays or other exceptions,
|
|
7
|
+
* that override the normal calendar behavior. Each exceptional day can
|
|
8
|
+
* have up to 10 transitions (time slots), specifying changes in pilot operating mode.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ExceptionCalendar extends AbstractCalendar<string> {
|
|
11
|
+
#private;
|
|
12
|
+
/**
|
|
13
|
+
* Returns the set of exceptional dates configured in this calendar.
|
|
14
|
+
* @returns {Set<Date>} Set of Date objects representing exceptional days
|
|
15
|
+
*/
|
|
16
|
+
get exceptionDates(): Set<Date>;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieves a specific transition for an exceptional date by index.
|
|
19
|
+
* @param {Date} date - The exceptional date
|
|
20
|
+
* @param {number} index - Index of the transition (0-9)
|
|
21
|
+
* @returns {Transition | undefined} The transition at the given index, or undefined if not found
|
|
22
|
+
*/
|
|
23
|
+
getTransitionAt(date: Date, index: number): Transition | null;
|
|
24
|
+
/**
|
|
25
|
+
* Returns all transitions for a given exceptional date.
|
|
26
|
+
* @param {Date} date - The exceptional date
|
|
27
|
+
* @returns {Transition[]} Array of transitions for the date, null if none
|
|
28
|
+
*/
|
|
29
|
+
getTransitions(date: Date): Transition[] | null;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=exception-calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exception-calendar.d.ts","sourceRoot":"","sources":["../../../../../src/types/cc-mngt/calendar/exception-calendar.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAgC1C;;;;;;GAMG;AACH,qBAAa,iBAAkB,SAAQ,gBAAgB,CAAC,MAAM,CAAC;;IAW3D;;;OAGG;IACH,IAAI,cAAc,IAAI,GAAG,CAAC,IAAI,CAAC,CAE9B;IAED;;;;;OAKG;IACH,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI;IAK7D;;;;OAIG;IACH,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,UAAU,EAAE,GAAG,IAAI;CA+BlD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AbstractCalendar } from './abstract-calendar';
|
|
2
|
+
import { DayOfWeek } from '../../common/day-of-week';
|
|
3
|
+
import { Transition } from './transition';
|
|
4
|
+
/**
|
|
5
|
+
* Represents the normal calendar associated with a CCD pilot.
|
|
6
|
+
*
|
|
7
|
+
* The normal calendar defines the pilot's behavior for each day of the week.
|
|
8
|
+
* Each day can have up to 10 transitions (time slots), for a maximum of 70 per week.
|
|
9
|
+
* Transitions indicate changes in the pilot's operating mode triggered by rules at specific times.
|
|
10
|
+
*/
|
|
11
|
+
export declare class NormalCalendar extends AbstractCalendar<DayOfWeek> {
|
|
12
|
+
/**
|
|
13
|
+
* Returns the set of days that have transitions configured in this calendar.
|
|
14
|
+
* @returns {Set<DayOfWeek>} Set of days with transitions
|
|
15
|
+
*/
|
|
16
|
+
get days(): Set<DayOfWeek>;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieves a specific transition by day and index.
|
|
19
|
+
* @param {DayOfWeek} day - The day of the week
|
|
20
|
+
* @param {number} index - The index of the transition within the day
|
|
21
|
+
* @returns {Transition | undefined} The transition at the given index, or undefined if not found
|
|
22
|
+
*/
|
|
23
|
+
getransitionAt(day: DayOfWeek, index: number): Transition | null;
|
|
24
|
+
/**
|
|
25
|
+
* Returns all transitions for a specific day.
|
|
26
|
+
* @param {DayOfWeek} day - The day of the week
|
|
27
|
+
* @returns {Transition[]} Array of transitions for the given day, null if none
|
|
28
|
+
*/
|
|
29
|
+
getTransitions(day: DayOfWeek): Transition[] | null;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=normal-calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normal-calendar.d.ts","sourceRoot":"","sources":["../../../../../src/types/cc-mngt/calendar/normal-calendar.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAc1C;;;;;;GAMG;AACH,qBAAa,cAAe,SAAQ,gBAAgB,CAAC,SAAS,CAAC;IAQ3D;;;OAGG;IACH,IAAI,IAAI,IAAI,GAAG,CAAC,SAAS,CAAC,CAEzB;IAED;;;;;OAKG;IACH,cAAc,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI;IAKhE;;;;OAIG;IACH,cAAc,CAAC,GAAG,EAAE,SAAS,GAAG,UAAU,EAAE,GAAG,IAAI;CA0BtD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the possible operating modes of a CCD pilot.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum PilotOperatingMode {
|
|
5
|
+
/**
|
|
6
|
+
* The pilot operates in normal (opened) mode.
|
|
7
|
+
*/
|
|
8
|
+
NORMAL = "normal",
|
|
9
|
+
/**
|
|
10
|
+
* The pilot operates in closed mode.
|
|
11
|
+
*/
|
|
12
|
+
CLOSED = "closed",
|
|
13
|
+
/**
|
|
14
|
+
* The pilot operates in forward mode.
|
|
15
|
+
*/
|
|
16
|
+
FORWARD = "forward"
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=pilot-operating-Mode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pilot-operating-Mode.d.ts","sourceRoot":"","sources":["../../../../../src/types/cc-mngt/calendar/pilot-operating-Mode.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,kBAAkB;IAC1B;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,OAAO,YAAY;CACtB"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { PilotOperatingMode } from './pilot-operating-Mode';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a state transition of a pilot.
|
|
4
|
+
* Each transition indicates a change in the pilot's operating mode,
|
|
5
|
+
* triggered by a specific rule, at a specific time.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Transition {
|
|
8
|
+
#private;
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new Transition instance.
|
|
11
|
+
* @param {Transition.Time} time - The time of the transition
|
|
12
|
+
* @param {number} ruleNumber - The rule number that triggered this transition
|
|
13
|
+
* @param {PilotOperatingMode} mode - The operating mode of the pilot after the transition
|
|
14
|
+
*/
|
|
15
|
+
constructor(time: Transition.Time, ruleNumber: number, mode: PilotOperatingMode);
|
|
16
|
+
/**
|
|
17
|
+
* The time at which the transition occurred.
|
|
18
|
+
* @returns {Transition.Time} Transition time
|
|
19
|
+
*/
|
|
20
|
+
get time(): Transition.Time;
|
|
21
|
+
/**
|
|
22
|
+
* The rule number that triggered this transition.
|
|
23
|
+
* @returns {number} Rule number
|
|
24
|
+
*/
|
|
25
|
+
get ruleNumber(): number;
|
|
26
|
+
/**
|
|
27
|
+
* The pilot's operating mode after this transition.
|
|
28
|
+
* @returns {PilotOperatingMode} Operating mode
|
|
29
|
+
*/
|
|
30
|
+
get mode(): PilotOperatingMode;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace Transition {
|
|
33
|
+
/**
|
|
34
|
+
* Represents the time of a transition in a pilot calendar.
|
|
35
|
+
* Time is expressed in 24-hour format (HH:mm).
|
|
36
|
+
*/
|
|
37
|
+
class Time {
|
|
38
|
+
private _hour;
|
|
39
|
+
private _minute;
|
|
40
|
+
constructor(_hour: number, _minute: number);
|
|
41
|
+
/**
|
|
42
|
+
* The hour of the transition (0-23).
|
|
43
|
+
* @returns {number} Hour component
|
|
44
|
+
*/
|
|
45
|
+
get hour(): number;
|
|
46
|
+
/**
|
|
47
|
+
* The minute of the transition (0-59).
|
|
48
|
+
* @returns {number} Minute component
|
|
49
|
+
*/
|
|
50
|
+
get minute(): number;
|
|
51
|
+
/**
|
|
52
|
+
* Returns the time formatted as a string in HH:mm format.
|
|
53
|
+
* @returns {string} Time as HH:mm
|
|
54
|
+
*/
|
|
55
|
+
toString(): string;
|
|
56
|
+
/**
|
|
57
|
+
* Parses a time string in HH:mm format and returns a Time instance.
|
|
58
|
+
* @param {string} value - Time string to parse
|
|
59
|
+
* @returns {Time} Parsed Time instance
|
|
60
|
+
* @throws {Error} If the time string is invalid or out of range
|
|
61
|
+
*/
|
|
62
|
+
static parse(value: string): Time;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=transition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../../../src/types/cc-mngt/calendar/transition.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D;;;;GAIG;AACH,qBAAa,UAAU;;IAKnB;;;;;OAKG;gBACS,IAAI,EAAE,UAAU,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB;IAM/E;;;OAGG;IACH,IAAI,IAAI,IAAI,UAAU,CAAC,IAAI,CAE1B;IAED;;;OAGG;IACH,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAE7B;CA4BJ;AAED,yBAAiB,UAAU,CAAC;IACxB;;;OAGG;IACH,MAAa,IAAI;QAET,OAAO,CAAC,KAAK;QACb,OAAO,CAAC,OAAO;oBADP,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM;QAG3B;;;WAGG;QACH,IAAI,IAAI,IAAI,MAAM,CAEjB;QAED;;;WAGG;QACH,IAAI,MAAM,IAAI,MAAM,CAEnB;QAED;;;WAGG;QACH,QAAQ,IAAI,MAAM;QAKlB;;;;;WAKG;QACH,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;KAapC;CACJ"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PilotRule } from './pilot-rule';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a collection of routing rules associated with a pilot.
|
|
4
|
+
* Provides convenient access to individual rules by number, checks for rule existence,
|
|
5
|
+
* and allows retrieval of all rule numbers or rules.
|
|
6
|
+
*/
|
|
7
|
+
export declare class PilotRuleSet {
|
|
8
|
+
#private;
|
|
9
|
+
private constructor();
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the pilot rule with the specified number.
|
|
12
|
+
* @param {number} number - The unique number of the rule to retrieve
|
|
13
|
+
* @returns {PilotRule | undefined} The corresponding PilotRule, or undefined if not found
|
|
14
|
+
*/
|
|
15
|
+
get(number: number): PilotRule | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Determines whether a rule with the specified number exists in this rule set.
|
|
18
|
+
* @param {number} number - The rule number to search for
|
|
19
|
+
* @returns {boolean} True if the rule exists, false otherwise
|
|
20
|
+
*/
|
|
21
|
+
contains(number: number): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Returns the set of rule numbers present in this rule set.
|
|
24
|
+
* @returns {Set<number>} A Set containing all rule numbers
|
|
25
|
+
*/
|
|
26
|
+
get rulesNumbers(): Set<number>;
|
|
27
|
+
/**
|
|
28
|
+
* Returns all the rules in this rule set as an array.
|
|
29
|
+
* @returns {PilotRule[]} An array of PilotRule objects
|
|
30
|
+
*/
|
|
31
|
+
get rules(): PilotRule[];
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=pilot-rule-set.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pilot-rule-set.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-mngt/pilot-rule-set.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;;;GAIG;AACH,qBAAa,YAAY;;IAGrB,OAAO;IAIP;;;;OAIG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS;IAI1C;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;IAIjC;;;OAGG;IACH,IAAI,YAAY,IAAI,GAAG,CAAC,MAAM,CAAC,CAE9B;IAED;;;OAGG;IACH,IAAI,KAAK,IAAI,SAAS,EAAE,CAEvB;CAkBJ"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a routing rule associated with a pilot in an ACD system.
|
|
3
|
+
* Each rule defines how calls are distributed to a pilot and whether it is currently active.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PilotRule {
|
|
6
|
+
#private;
|
|
7
|
+
private constructor();
|
|
8
|
+
/**
|
|
9
|
+
* The unique number identifying this rule.
|
|
10
|
+
* @returns {number} Rule number
|
|
11
|
+
*/
|
|
12
|
+
get ruleNumber(): number;
|
|
13
|
+
/**
|
|
14
|
+
* The display name of the rule, if defined.
|
|
15
|
+
* @returns {string | null} Rule name or null if not set
|
|
16
|
+
*/
|
|
17
|
+
get name(): string | null;
|
|
18
|
+
/**
|
|
19
|
+
* Indicates whether this routing rule is currently active.
|
|
20
|
+
* @returns {boolean} True if the rule is active, false otherwise
|
|
21
|
+
*/
|
|
22
|
+
get active(): boolean;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=pilot-rule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pilot-rule.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-mngt/pilot-rule.ts"],"names":[],"mappings":"AAqBA;;;GAGG;AACH,qBAAa,SAAS;;IAKlB,OAAO;IAMP;;;OAGG;IACH,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,GAAG,IAAI,CAExB;IAED;;;OAGG;IACH,IAAI,MAAM,IAAI,OAAO,CAEpB;CAcJ"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ServiceState } from '../common/service-state';
|
|
2
|
+
import { PilotStatus } from '../telephony/call/ccd/pilot-status';
|
|
3
|
+
import { PilotRule } from './pilot-rule';
|
|
4
|
+
/**
|
|
5
|
+
* Represents an Automatic Call Distributor (ACD) pilot.
|
|
6
|
+
* A pilot is an endpoint (e.g., agent or group) that can receive calls
|
|
7
|
+
* according to routing rules and service states.
|
|
8
|
+
*/
|
|
9
|
+
export declare class Pilot {
|
|
10
|
+
#private;
|
|
11
|
+
private constructor();
|
|
12
|
+
/**
|
|
13
|
+
* The unique identifier of the pilot (e.g., agent extension or pilot number).
|
|
14
|
+
* @returns {string | null} Pilot number or null if unavailable
|
|
15
|
+
*/
|
|
16
|
+
get number(): string | null;
|
|
17
|
+
/**
|
|
18
|
+
* The display name of the pilot (e.g., agent name).
|
|
19
|
+
* @returns {string | null} Pilot name or null if unavailable
|
|
20
|
+
*/
|
|
21
|
+
get name(): string | null;
|
|
22
|
+
/**
|
|
23
|
+
* The current high-level service state of the pilot (e.g., available, busy).
|
|
24
|
+
* @returns {ServiceState | null} Pilot state or null if unavailable
|
|
25
|
+
*/
|
|
26
|
+
get state(): ServiceState | null;
|
|
27
|
+
/**
|
|
28
|
+
* The detailed service status of the pilot (e.g., in a call, on break).
|
|
29
|
+
* @returns {PilotStatus | null} Detailed pilot state or null if unavailable
|
|
30
|
+
*/
|
|
31
|
+
get detailedState(): PilotStatus | null;
|
|
32
|
+
/**
|
|
33
|
+
* Estimated waiting time for the pilot to become available, in seconds.
|
|
34
|
+
* @returns {number} Waiting time in seconds, defaults to 0
|
|
35
|
+
*/
|
|
36
|
+
get waitingTime(): number;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the pilot is currently saturated (i.e., unable to receive additional calls).
|
|
39
|
+
* @returns {boolean} True if saturated, false otherwise
|
|
40
|
+
*/
|
|
41
|
+
get saturation(): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Routing rules associated with this pilot.
|
|
44
|
+
* @returns {PilotRule[] | null} Array of routing rules or null if none
|
|
45
|
+
*/
|
|
46
|
+
get rules(): PilotRule[] | null;
|
|
47
|
+
/**
|
|
48
|
+
* Indicates if transferring a call to this pilot is possible.
|
|
49
|
+
* @returns {boolean} True if transfer is possible, false otherwise
|
|
50
|
+
*/
|
|
51
|
+
get possibleTransfer(): boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Indicates if a call transfer to this pilot can be supervised.
|
|
54
|
+
* @returns {boolean} True if supervised transfer is allowed, false otherwise
|
|
55
|
+
*/
|
|
56
|
+
get supervisedTransfer(): boolean;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=pilot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pilot.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-mngt/pilot.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;;;GAIG;AACH,qBAAa,KAAK;;IAWd,OAAO;IAsBP;;;OAGG;IACH,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,CAE1B;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,GAAG,IAAI,CAExB;IAED;;;OAGG;IACH,IAAI,KAAK,IAAI,YAAY,GAAG,IAAI,CAE/B;IAED;;;OAGG;IACH,IAAI,aAAa,IAAI,WAAW,GAAG,IAAI,CAEtC;IAED;;;OAGG;IACH,IAAI,WAAW,IAAI,MAAM,CAExB;IAED;;;OAGG;IACH,IAAI,UAAU,IAAI,OAAO,CAExB;IAED;;;OAGG;IACH,IAAI,KAAK,IAAI,SAAS,EAAE,GAAG,IAAI,CAE9B;IAED;;;OAGG;IACH,IAAI,gBAAgB,IAAI,OAAO,CAE9B;IAED;;;OAGG;IACH,IAAI,kBAAkB,IAAI,OAAO,CAEhC;CAwBJ"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { CorrelatorData } from '../telephony/call/correlator-data';
|
|
2
|
+
import { TrunkIdentification } from '../telephony/trunk-indentification';
|
|
3
|
+
/**
|
|
4
|
+
* Represents the detailed information associated with a pilot call.
|
|
5
|
+
*
|
|
6
|
+
* Provides access to the initial called party, call anonymity status,
|
|
7
|
+
* trunk information for external calls, network rerouting status,
|
|
8
|
+
* and any associated correlator data.
|
|
9
|
+
*/
|
|
10
|
+
export declare class CallDataPilot {
|
|
11
|
+
#private;
|
|
12
|
+
/**
|
|
13
|
+
* @ignore
|
|
14
|
+
*/
|
|
15
|
+
private constructor();
|
|
16
|
+
/**
|
|
17
|
+
* Returns the initial party that was called.
|
|
18
|
+
*
|
|
19
|
+
* @returns the initial called party
|
|
20
|
+
*/
|
|
21
|
+
get initialCalled(): string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Indicates whether this call is anonymous.
|
|
24
|
+
*
|
|
25
|
+
* @returns `true` if the call is anonymous; `false` otherwise
|
|
26
|
+
*/
|
|
27
|
+
get anonymous(): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Returns the trunk information in case of an external call.
|
|
30
|
+
*
|
|
31
|
+
* @returns the {@link TrunkIdentification} associated with the call, or `undefined` if not applicable
|
|
32
|
+
*/
|
|
33
|
+
get trunkIdentification(): TrunkIdentification | null;
|
|
34
|
+
/**
|
|
35
|
+
* Indicates whether this call has been rerouted over the network.
|
|
36
|
+
*
|
|
37
|
+
* @returns `true` if the call has been rerouted; `false` otherwise
|
|
38
|
+
*/
|
|
39
|
+
get networkRerouted(): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the correlator data associated with this call.
|
|
42
|
+
*
|
|
43
|
+
* The data may come from either a standard string or a hexadecimal binary
|
|
44
|
+
* representation. If no data is attached, this method returns `null`.
|
|
45
|
+
*
|
|
46
|
+
* @returns the {@link CorrelatorData} associated with this call, or `null` if none is available
|
|
47
|
+
*/
|
|
48
|
+
get correlatorData(): CorrelatorData | null;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=call-data-pilot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-data-pilot.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-pilot/call-data-pilot.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE;;;;;;GAMG;AACH,qBAAa,aAAa;;IAQtB;;OAEG;IACH,OAAO;IAgBP;;;;OAIG;IACH,IAAI,aAAa,IAAI,MAAM,GAAG,IAAI,CAEjC;IAED;;;;OAIG;IACH,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED;;;;OAIG;IACH,IAAI,mBAAmB,IAAI,mBAAmB,GAAG,IAAI,CAEpD;IAED;;;;OAIG;IACH,IAAI,eAAe,IAAI,OAAO,CAE7B;IAED;;;;;;;OAOG;IACH,IAAI,cAAc,IAAI,cAAc,GAAG,IAAI,CAQ1C;CAiBJ"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { CallCause } from '../telephony/call/call-cause';
|
|
2
|
+
import { CallDataPilot } from './call-data-pilot';
|
|
3
|
+
/**
|
|
4
|
+
* Event fired when a new call is received by a specific pilot.
|
|
5
|
+
*
|
|
6
|
+
* Example usage:
|
|
7
|
+
* ```ts
|
|
8
|
+
* const callCenterPilot = O2G.callCenterPilot
|
|
9
|
+
* callCenterPilot.on(CallCenterPilot.ON_PILOT_CALL_CREATED, (e: OnPilotCallCreated) => {
|
|
10
|
+
* console.log(e.pilot, e.caller, e.callRef);
|
|
11
|
+
});
|
|
12
|
+
* ```
|
|
13
|
+
* @see CallCenterPilot.ON_PILOT_CALL_CREATED
|
|
14
|
+
*/
|
|
15
|
+
export declare class OnPilotCallCreated {
|
|
16
|
+
#private;
|
|
17
|
+
/**
|
|
18
|
+
* Gets the pilot number receiving the call.
|
|
19
|
+
* @returns The pilot's phone number as a string.
|
|
20
|
+
*/
|
|
21
|
+
get pilot(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Gets the caller's phone number.
|
|
24
|
+
* @returns The caller's phone number as a string.
|
|
25
|
+
*/
|
|
26
|
+
get caller(): string;
|
|
27
|
+
/**
|
|
28
|
+
* Gets the unique reference identifier for this call.
|
|
29
|
+
* @returns The call reference as a string.
|
|
30
|
+
*/
|
|
31
|
+
get callRef(): string;
|
|
32
|
+
/**
|
|
33
|
+
* Gets the cause or reason for the call event.
|
|
34
|
+
* @returns The {@link CallCause} of this call event.
|
|
35
|
+
*/
|
|
36
|
+
get cause(): CallCause;
|
|
37
|
+
/**
|
|
38
|
+
* Gets optional additional data associated with the call for this pilot.
|
|
39
|
+
* @returns The {@link CallDataPilot} if available, otherwise `null`.
|
|
40
|
+
*/
|
|
41
|
+
get callData(): CallDataPilot | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Event fired when a call is queued for a specific pilot.
|
|
45
|
+
*
|
|
46
|
+
* Example usage:
|
|
47
|
+
* ```ts
|
|
48
|
+
* const callCenterPilot = O2G.callCenterPilot;
|
|
49
|
+
* callCenterPilot.on(CallCenterPilot.ON_PILOT_CALL_QUEUED, (e: OnPilotCallQueued) => {
|
|
50
|
+
* console.log(e.pilot, e.caller, e.queue, e.callRef, e.queuedCallsCount);
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
* @see CallCenterPilot.ON_PILOT_CALL_QUEUED
|
|
54
|
+
*/
|
|
55
|
+
export declare class OnPilotCallQueued {
|
|
56
|
+
#private;
|
|
57
|
+
/**
|
|
58
|
+
* Gets the pilot number for which the call is queued.
|
|
59
|
+
* @returns The pilot's phone number as a string.
|
|
60
|
+
*/
|
|
61
|
+
get pilot(): string;
|
|
62
|
+
/**
|
|
63
|
+
* Gets the caller's phone number.
|
|
64
|
+
* @returns The caller's phone number as a string.
|
|
65
|
+
*/
|
|
66
|
+
get caller(): string;
|
|
67
|
+
/**
|
|
68
|
+
* Gets the queue identifier or number.
|
|
69
|
+
* @returns The queue number (if distribution) or identifier (if overflow) as a string.
|
|
70
|
+
*/
|
|
71
|
+
get queue(): string | null;
|
|
72
|
+
/**
|
|
73
|
+
* Gets the unique reference identifier for this call.
|
|
74
|
+
* @returns The call reference as a string.
|
|
75
|
+
*/
|
|
76
|
+
get callRef(): string;
|
|
77
|
+
/**
|
|
78
|
+
* Gets the cause or reason for this queued call event.
|
|
79
|
+
* @returns The {@link CallCause} of this event.
|
|
80
|
+
*/
|
|
81
|
+
get cause(): CallCause;
|
|
82
|
+
/**
|
|
83
|
+
* Gets the number of calls currently queued in the pilot's queue.
|
|
84
|
+
* Returns -1 if the value is unavailable.
|
|
85
|
+
* @returns Number of queued calls as a number.
|
|
86
|
+
*/
|
|
87
|
+
get queuedCallsCount(): number;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Event fired when a call has been removed from a specific pilot.
|
|
91
|
+
*
|
|
92
|
+
* This can happen due to distribution, cancellation, or overflow.
|
|
93
|
+
*
|
|
94
|
+
* Example usage:
|
|
95
|
+
* ```ts
|
|
96
|
+
* const callCenterPilot = O2G.callCenterPilot;
|
|
97
|
+
* callCenterPilot.on(CallCenterPilot.ON_PILOT_CALL_REMOVED, (e: OnPilotCallRemoved) => {
|
|
98
|
+
* console.log(e.pilot, e.releasingDevice, e.newDestination, e.callRef, e.cause);
|
|
99
|
+
* });
|
|
100
|
+
* ```
|
|
101
|
+
* @see CallCenterPilot.ON_PILOT_CALL_REMOVED
|
|
102
|
+
*/
|
|
103
|
+
export declare class OnPilotCallRemoved {
|
|
104
|
+
#private;
|
|
105
|
+
/**
|
|
106
|
+
* Gets the pilot number from which the call was removed.
|
|
107
|
+
* @returns The pilot's phone number as a string.
|
|
108
|
+
*/
|
|
109
|
+
get pilot(): string;
|
|
110
|
+
/**
|
|
111
|
+
* Gets the device that released the call.
|
|
112
|
+
* @returns The releasing device's phone number as a string.
|
|
113
|
+
*/
|
|
114
|
+
get releasingDevice(): string;
|
|
115
|
+
/**
|
|
116
|
+
* Gets the new destination of the call after it was removed.
|
|
117
|
+
* @returns The new destination's phone number as a string.
|
|
118
|
+
*/
|
|
119
|
+
get newDestination(): string;
|
|
120
|
+
/**
|
|
121
|
+
* Gets the unique reference identifier for this call.
|
|
122
|
+
* @returns The call reference as a string.
|
|
123
|
+
*/
|
|
124
|
+
get callRef(): string;
|
|
125
|
+
/**
|
|
126
|
+
* Gets the cause or reason why the call was removed.
|
|
127
|
+
* @returns The {@link CallCause} of this event.
|
|
128
|
+
*/
|
|
129
|
+
get cause(): CallCause;
|
|
130
|
+
}
|
|
131
|
+
//# sourceMappingURL=cc-pilot-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cc-pilot-events.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-pilot/cc-pilot-events.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD;;;;;;;;;;;GAWG;AACH,qBAAa,kBAAkB;;IAmB3B;;;OAGG;IACH,IAAI,KAAK,IAAI,MAAM,CAElB;IAED;;;OAGG;IACH,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED;;;OAGG;IACH,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED;;;OAGG;IACH,IAAI,KAAK,IAAI,SAAS,CAErB;IAED;;;OAGG;IACH,IAAI,QAAQ,IAAI,aAAa,GAAG,IAAI,CAEnC;CAgBJ;AAED;;;;;;;;;;;GAWG;AACH,qBAAa,iBAAiB;;IA4B1B;;;OAGG;IACH,IAAI,KAAK,IAAI,MAAM,CAElB;IAED;;;OAGG;IACH,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED;;;OAGG;IACH,IAAI,KAAK,IAAI,MAAM,GAAG,IAAI,CAEzB;IAED;;;OAGG;IACH,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED;;;OAGG;IACH,IAAI,KAAK,IAAI,SAAS,CAErB;IAED;;;;OAIG;IACH,IAAI,gBAAgB,IAAI,MAAM,CAE7B;CAiBJ;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,kBAAkB;;IAyB3B;;;OAGG;IACH,IAAI,KAAK,IAAI,MAAM,CAElB;IAED;;;OAGG;IACH,IAAI,eAAe,IAAI,MAAM,CAE5B;IAED;;;OAGG;IACH,IAAI,cAAc,IAAI,MAAM,CAE3B;IAED;;;OAGG;IACH,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED;;;OAGG;IACH,IAAI,KAAK,IAAI,SAAS,CAErB;CAUJ"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `AgentAttributes` represents the possible real-time attributes
|
|
3
|
+
* for a CCD agent.
|
|
4
|
+
*
|
|
5
|
+
* The `CallCenterRealtimeService` can report real-time events
|
|
6
|
+
* for each of these attributes.
|
|
7
|
+
*/
|
|
8
|
+
export declare enum RtiAgentAttributes {
|
|
9
|
+
/** The associated pro-acd set of the agent. */
|
|
10
|
+
AssociatedSet = "AssociatedSet",
|
|
11
|
+
/** The current processing group of the agent. */
|
|
12
|
+
CurrentPG = "CurrentPG",
|
|
13
|
+
/** The phone state of the agent (e.g., ringing, talking, idle). */
|
|
14
|
+
PhoneState = "PhoneState",
|
|
15
|
+
/** The UTC logon date of the agent. */
|
|
16
|
+
LogonDate = "LogonDate",
|
|
17
|
+
/** The total duration (in seconds) of all private calls. */
|
|
18
|
+
PrivateCallsTotalDuration = "PrivateCallsTotalDuration",
|
|
19
|
+
/** The UTC date when the agent entered the current communication. */
|
|
20
|
+
ComDate = "ComDate",
|
|
21
|
+
/** The duration (in seconds) of the current communication. */
|
|
22
|
+
ComDuration = "ComDuration",
|
|
23
|
+
/** The number of private calls handled by the agent. */
|
|
24
|
+
NBOfPrivateCalls = "NBOfPrivateCalls",
|
|
25
|
+
/** The number of answered ACD calls. */
|
|
26
|
+
NbOfServedACDCalls = "NbOfServedACDCalls",
|
|
27
|
+
/** The number of non-answered ACD calls. */
|
|
28
|
+
NbOfRefusedACDCalls = "NbOfRefusedACDCalls",
|
|
29
|
+
/** The number of transferred ACD calls. */
|
|
30
|
+
NbOfTransferredACDCalls = "NbOfTransferredACDCalls",
|
|
31
|
+
/** The number of outgoing ACD calls. */
|
|
32
|
+
NbOfOutgoingACDCalls = "NbOfOutgoingACDCalls",
|
|
33
|
+
/** The number of picked-up ACD calls (intercepted calls). */
|
|
34
|
+
NbOfInterceptedACDCalls = "NbOfInterceptedACDCalls",
|
|
35
|
+
/** The service state of the agent (e.g., loggedIn, assigned, available). */
|
|
36
|
+
ServiceState = "ServiceState",
|
|
37
|
+
/** The number of withdrawals taken by the agent. */
|
|
38
|
+
NbOfWithdrawals = "NbOfWithdrawals",
|
|
39
|
+
/** The total duration of withdrawals taken by the agent. */
|
|
40
|
+
WithdrawalsTotalDuration = "WithdrawalsTotalDuration",
|
|
41
|
+
/** The reason for the last withdrawal. */
|
|
42
|
+
WithdrawReason = "WithdrawReason",
|
|
43
|
+
/** The name of the pilot associated with the agent. */
|
|
44
|
+
PilotName = "PilotName",
|
|
45
|
+
/** The name of the queue associated with the agent. */
|
|
46
|
+
QueueName = "QueueName",
|
|
47
|
+
/** Represents all attributes. */
|
|
48
|
+
ALL = "ALL"
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=agent-attributes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-attributes.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-rt/agent-attributes.ts"],"names":[],"mappings":"AAmBA;;;;;;GAMG;AACH,oBAAY,kBAAkB;IAC1B,+CAA+C;IAC/C,aAAa,kBAAkB;IAE/B,iDAAiD;IACjD,SAAS,cAAc;IAEvB,mEAAmE;IACnE,UAAU,eAAe;IAEzB,uCAAuC;IACvC,SAAS,cAAc;IAEvB,4DAA4D;IAC5D,yBAAyB,8BAA8B;IAEvD,qEAAqE;IACrE,OAAO,YAAY;IAEnB,8DAA8D;IAC9D,WAAW,gBAAgB;IAE3B,wDAAwD;IACxD,gBAAgB,qBAAqB;IAErC,wCAAwC;IACxC,kBAAkB,uBAAuB;IAEzC,4CAA4C;IAC5C,mBAAmB,wBAAwB;IAE3C,2CAA2C;IAC3C,uBAAuB,4BAA4B;IAEnD,wCAAwC;IACxC,oBAAoB,yBAAyB;IAE7C,6DAA6D;IAC7D,uBAAuB,4BAA4B;IAEnD,4EAA4E;IAC5E,YAAY,iBAAiB;IAE7B,oDAAoD;IACpD,eAAe,oBAAoB;IAEnC,4DAA4D;IAC5D,wBAAwB,6BAA6B;IAErD,0CAA0C;IAC1C,cAAc,mBAAmB;IAEjC,uDAAuD;IACvD,SAAS,cAAc;IAEvB,uDAAuD;IACvD,SAAS,cAAc;IAEvB,iCAAiC;IACjC,GAAG,QAAQ;CACd"}
|