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,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `OperatorState` represents the current state of a CCD operator.
|
|
3
|
+
*
|
|
4
|
+
* This includes both the static login/logoff state (`mainState`) and
|
|
5
|
+
* the dynamic activity state (`subState`). Additional properties track
|
|
6
|
+
* the pro-ACD device, processing group, withdrawal status, and
|
|
7
|
+
* withdrawal reason index.
|
|
8
|
+
*/
|
|
9
|
+
export declare class OperatorState {
|
|
10
|
+
#private;
|
|
11
|
+
/**
|
|
12
|
+
* Returns the static (main) state of the operator,
|
|
13
|
+
* indicating login, logoff, or error status.
|
|
14
|
+
*/
|
|
15
|
+
get mainState(): OperatorState.OperatorMainState;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the dynamic (sub) state of the operator,
|
|
18
|
+
* indicating the operator's current activity or wrap-up phase.
|
|
19
|
+
*
|
|
20
|
+
* Defaults to `OperatorDynamicState.UNKNOWN` if undefined.
|
|
21
|
+
*/
|
|
22
|
+
get subState(): OperatorState.OperatorDynamicState;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the pro-ACD device number the operator is logged on.
|
|
25
|
+
*
|
|
26
|
+
* @returns The extension number, or `null` if the operator is not logged on.
|
|
27
|
+
*/
|
|
28
|
+
get proAcdDeviceNumber(): string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the processing group the operator is currently logged into.
|
|
31
|
+
*
|
|
32
|
+
* @returns The PG number, or `null` if the operator is not in any group.
|
|
33
|
+
*/
|
|
34
|
+
get pgNumber(): string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the withdraw reason index for the operator.
|
|
37
|
+
*
|
|
38
|
+
* @returns The withdraw reason index, or `null` if not in withdraw state.
|
|
39
|
+
*/
|
|
40
|
+
get withdrawReason(): number | null;
|
|
41
|
+
/**
|
|
42
|
+
* Indicates whether the operator is currently in withdraw state.
|
|
43
|
+
*
|
|
44
|
+
* @returns `true` if the operator is withdrawn from call distribution, `false` otherwise.
|
|
45
|
+
*/
|
|
46
|
+
get withdraw(): boolean;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Namespace containing enums used by `OperatorState`.
|
|
50
|
+
*/
|
|
51
|
+
export declare namespace OperatorState {
|
|
52
|
+
/**
|
|
53
|
+
* Represents the static login/logoff state of a CCD operator.
|
|
54
|
+
*/
|
|
55
|
+
enum OperatorMainState {
|
|
56
|
+
/** The O2G server is unable to determine the operator's main state. */
|
|
57
|
+
UNKNOWN = "UNKNOWN",
|
|
58
|
+
/** The operator is logged on a pro-ACD device. */
|
|
59
|
+
LOG_ON = "LOG_ON",
|
|
60
|
+
/** The operator is logged off. */
|
|
61
|
+
LOG_OFF = "LOG_OFF",
|
|
62
|
+
/** Error status. */
|
|
63
|
+
ERROR = "ERROR"
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Represents the dynamic activity state of a CCD operator.
|
|
67
|
+
*
|
|
68
|
+
* Dynamic states indicate the operator's current activity,
|
|
69
|
+
* wrap-up phase, or pause status.
|
|
70
|
+
*/
|
|
71
|
+
enum OperatorDynamicState {
|
|
72
|
+
/** The operator is ready to receive calls. */
|
|
73
|
+
READY = "READY",
|
|
74
|
+
/** The operator is logged on but not entered into any agent group. */
|
|
75
|
+
OUT_OF_PG = "OUT_OF_PG",
|
|
76
|
+
/** The operator is busy handling a call. */
|
|
77
|
+
BUSY = "BUSY",
|
|
78
|
+
/** The operator is entering a transaction code. */
|
|
79
|
+
TRANSACTION_CODE_INPUT = "TRANSACTION_CODE_INPUT",
|
|
80
|
+
/** The operator is in automatic wrap-up phase. */
|
|
81
|
+
WRAPUP = "WRAPUP",
|
|
82
|
+
/** The operator is in a pause state. */
|
|
83
|
+
PAUSE = "PAUSE",
|
|
84
|
+
/** The operator has withdrawn from call distribution. */
|
|
85
|
+
WITHDRAW = "WITHDRAW",
|
|
86
|
+
/** The operator is in wrap-up due to handling an instant message (IM). */
|
|
87
|
+
WRAPUP_IM = "WRAPUP_IM",
|
|
88
|
+
/** The operator is in wrap-up due to handling an email. */
|
|
89
|
+
WRAPUP_EMAIL = "WRAPUP_EMAIL",
|
|
90
|
+
/** The operator is in wrap-up due to handling an email, but can still receive CCD calls. */
|
|
91
|
+
WRAPUP_EMAIL_INTERRUPTIBLE = "WRAPUP_EMAIL_INTERRUPTIBLE",
|
|
92
|
+
/** The operator is in wrap-up after an outbound call. */
|
|
93
|
+
WRAPUP_OUTBOUND = "WRAPUP_OUTBOUND",
|
|
94
|
+
/** The operator is in wrap-up after a web callback call. */
|
|
95
|
+
WRAPUP_CALLBACK = "WRAPUP_CALLBACK",
|
|
96
|
+
/** The O2G server is unable to determine the operator's dynamic state. */
|
|
97
|
+
UNKNOWN = "UNKNOWN"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=operator-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operator-state.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-agent/operator-state.ts"],"names":[],"mappings":"AAqBA;;;;;;;GAOG;AACH,qBAAa,aAAa;;IA2BtB;;;OAGG;IACH,IAAI,SAAS,IAAI,aAAa,CAAC,iBAAiB,CAE/C;IAED;;;;;OAKG;IACH,IAAI,QAAQ,IAAI,aAAa,CAAC,oBAAoB,CAEjD;IAED;;;;OAIG;IACH,IAAI,kBAAkB,IAAI,MAAM,GAAG,IAAI,CAEtC;IAED;;;;OAIG;IACH,IAAI,QAAQ,IAAI,MAAM,GAAG,IAAI,CAE5B;IAED;;;;OAIG;IACH,IAAI,cAAc,IAAI,MAAM,GAAG,IAAI,CAElC;IAED;;;;OAIG;IACH,IAAI,QAAQ,IAAI,OAAO,CAEtB;CAoBJ;AAED;;GAEG;AACH,yBAAiB,aAAa,CAAC;IAC3B;;OAEG;IACH,KAAY,iBAAiB;QACzB,uEAAuE;QACvE,OAAO,YAAY;QAEnB,kDAAkD;QAClD,MAAM,WAAW;QAEjB,kCAAkC;QAClC,OAAO,YAAY;QAEnB,oBAAoB;QACpB,KAAK,UAAU;KAClB;IAED;;;;;OAKG;IACH,KAAY,oBAAoB;QAC5B,8CAA8C;QAC9C,KAAK,UAAU;QAEf,sEAAsE;QACtE,SAAS,cAAc;QAEvB,4CAA4C;QAC5C,IAAI,SAAS;QAEb,mDAAmD;QACnD,sBAAsB,2BAA2B;QAEjD,kDAAkD;QAClD,MAAM,WAAW;QAEjB,wCAAwC;QACxC,KAAK,UAAU;QAEf,yDAAyD;QACzD,QAAQ,aAAa;QAErB,0EAA0E;QAC1E,SAAS,cAAc;QAEvB,2DAA2D;QAC3D,YAAY,iBAAiB;QAE7B,4FAA4F;QAC5F,0BAA0B,+BAA+B;QAEzD,yDAAyD;QACzD,eAAe,oBAAoB;QAEnC,4DAA4D;QAC5D,eAAe,oBAAoB;QAEnC,0EAA0E;QAC1E,OAAO,YAAY;KACtB;CACJ"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OperatorType represents the CCD operator, either Agent or Supervisor.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum OperatorType {
|
|
5
|
+
/**
|
|
6
|
+
* CCD Agent.
|
|
7
|
+
*/
|
|
8
|
+
AGENT = "AGENT",
|
|
9
|
+
/**
|
|
10
|
+
* CCD Supervisor.
|
|
11
|
+
*/
|
|
12
|
+
SUPERVISOR = "SUPERVISOR"
|
|
13
|
+
}
|
|
14
|
+
export declare namespace OperatorType {
|
|
15
|
+
function isOperatorType(value: string): value is OperatorType;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=operator-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operator-type.d.ts","sourceRoot":"","sources":["../../../../src/types/cc-agent/operator-type.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,YAAY;IACpB;;OAEG;IACH,KAAK,UAAU;IAEf;;OAEG;IACH,UAAU,eAAe;CAC5B;AAED,yBAAiB,YAAY,CAAC;IAC1B,SAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAEnE;CACJ"}
|
|
@@ -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"}
|