o2g-node-sdk 1.0.1 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +234 -5
- package/dist/o2g-node-sdk.js +38042 -1
- package/dist/o2g-node-sdk.js.map +1 -1
- package/dist/{ErrorInfo.d.ts → types/ErrorInfo.d.ts} +1 -0
- package/dist/types/ErrorInfo.d.ts.map +1 -0
- package/dist/{host.d.ts → types/host.d.ts} +3 -2
- 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/{eventsummary/event-summary-events.d.ts → internal/types/eventsummary/eventsummary-types.d.ts} +4 -5
- 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/{o2g-analytics.d.ts → types/o2g-analytics.d.ts} +10 -15
- 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/{o2g-rsi.d.ts → types/o2g-rsi.d.ts} +7 -12
- 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/{analytics → types/analytics}/call-type.d.ts +1 -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/{analytics → types/analytics}/tel-facility.d.ts +1 -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/{cc-agent → types/cc-agent}/intrusion-mode.d.ts +3 -2
- 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/{cc-agent → types/cc-agent}/operator-type.d.ts +1 -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/{cc-mngt → types/cc-mngt}/calendar/abstract-calendar.d.ts +2 -1
- 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/{comlog/option.d.ts → types/comlog/filter-option.d.ts} +2 -1
- package/dist/types/types/comlog/filter-option.d.ts.map +1 -0
- package/dist/types/{comlog → types/comlog}/page.d.ts +2 -1
- 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/{comlog → types/comlog}/reason.d.ts +1 -0
- package/dist/types/types/comlog/reason.d.ts.map +1 -0
- package/dist/types/{comlog → types/comlog}/role.d.ts +1 -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/{directory → types/directory}/filter-item.d.ts +5 -4
- 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/{directory → types/directory}/operation-filter.d.ts +5 -4
- 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/{events → types/events}/events.d.ts +37 -14
- 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/{pbxmngt → types/pbxmngt}/attribute-filter.d.ts +1 -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/{routing → types/routing}/destination.d.ts +1 -2
- 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/{routing → types/routing}/routing-state.d.ts +5 -20
- package/dist/types/types/routing/routing-state.d.ts.map +1 -0
- package/dist/types/{rsi → types/rsi}/add-digit-coll-criteria.d.ts +1 -0
- package/dist/types/types/rsi/add-digit-coll-criteria.d.ts.map +1 -0
- package/dist/types/{rsi → types/rsi}/collection-cause.d.ts +1 -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/{rsi → types/rsi}/routing-caller-type.d.ts +1 -0
- package/dist/types/types/rsi/routing-caller-type.d.ts.map +1 -0
- package/dist/types/{rsi → types/rsi}/routing-reason.d.ts +1 -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/{rsi → types/rsi}/tones.d.ts +1 -0
- package/dist/types/types/rsi/tones.d.ts.map +1 -0
- package/dist/types/{telephony → types/telephony}/RecordingAction.d.ts +1 -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 +41 -7
- package/dist/o2g-cc-agent.d.ts +0 -247
- package/dist/o2g-cc-mngt.d.ts +0 -32
- package/dist/o2g-cc-pilot.d.ts +0 -42
- package/dist/o2g-comlog.d.ts +0 -173
- package/dist/o2g-directory.d.ts +0 -88
- package/dist/o2g-eventSummary.d.ts +0 -33
- package/dist/o2g-maint.d.ts +0 -48
- package/dist/o2g-messaging.d.ts +0 -115
- package/dist/o2g-node-sdk.d.ts +0 -159
- package/dist/o2g-pbx-mngt.d.ts +0 -146
- package/dist/o2g-phone-set-prog.d.ts +0 -29
- package/dist/o2g-routing.d.ts +0 -267
- package/dist/o2g-telephony.d.ts +0 -795
- package/dist/o2g-user-mngt.d.ts +0 -42
- package/dist/o2g-users.d.ts +0 -85
- package/dist/subscription.d.ts +0 -258
- package/dist/types/analytics/charging-file.d.ts +0 -27
- package/dist/types/analytics/charging-result.d.ts +0 -43
- package/dist/types/analytics/charging.d.ts +0 -105
- package/dist/types/analytics/incident.d.ts +0 -46
- package/dist/types/analytics/time-range.d.ts +0 -22
- package/dist/types/cc-agent/cc-agent-events.d.ts +0 -54
- package/dist/types/cc-agent/cc-agent-types.d.ts +0 -71
- package/dist/types/cc-agent/operator-dyn-state.d.ts +0 -56
- package/dist/types/cc-agent/operator-main-state.d.ts +0 -21
- package/dist/types/cc-mngt/calendar/calendar.d.ts +0 -19
- package/dist/types/cc-mngt/calendar/day-of-week.d.ts +0 -33
- package/dist/types/cc-mngt/calendar/exception-calendar.d.ts +0 -26
- package/dist/types/cc-mngt/calendar/normal-calendar.d.ts +0 -27
- package/dist/types/cc-mngt/calendar/transition.d.ts +0 -49
- package/dist/types/cc-mngt/cc-mngt-types.d.ts +0 -0
- package/dist/types/cc-mngt/pilot-rule-set.d.ts +0 -27
- package/dist/types/cc-mngt/pilot-rule.d.ts +0 -14
- package/dist/types/cc-mngt/pilot.d.ts +0 -56
- package/dist/types/cc-pilot/cc-pilot-events.d.ts +0 -111
- package/dist/types/comlog/com-record.d.ts +0 -51
- package/dist/types/comlog/comlog-events.d.ts +0 -74
- package/dist/types/comlog/comlog-types.d.ts +0 -131
- package/dist/types/comlog/query-filter.d.ts +0 -44
- package/dist/types/comlog/query-result.d.ts +0 -27
- package/dist/types/common/common-types.d.ts +0 -78
- package/dist/types/directory/criteria.d.ts +0 -90
- package/dist/types/directory/directory-types.d.ts +0 -44
- package/dist/types/events/o2g-event.d.ts +0 -3
- package/dist/types/eventsummary/event-summary-counter.d.ts +0 -44
- package/dist/types/maint/maint-events.d.ts +0 -51
- package/dist/types/maint/maint-types.d.ts +0 -162
- package/dist/types/messaging/messaging-types.d.ts +0 -120
- package/dist/types/pbxmngt/attribute-type.d.ts +0 -34
- package/dist/types/pbxmngt/filter.d.ts +0 -46
- package/dist/types/pbxmngt/model.d.ts +0 -63
- package/dist/types/pbxmngt/pbx-attr-map.d.ts +0 -91
- package/dist/types/pbxmngt/pbx-attribute.d.ts +0 -87
- package/dist/types/pbxmngt/pbx-object.d.ts +0 -45
- package/dist/types/pbxmngt/pbxmngt-events.d.ts +0 -59
- package/dist/types/pbxmngt/pbxmngt-types.d.ts +0 -14
- package/dist/types/phoneset/device-key.d.ts +0 -27
- package/dist/types/phoneset/phoneset-types.d.ts +0 -17
- package/dist/types/phoneset/pin-control.d.ts +0 -21
- package/dist/types/phoneset/pin.d.ts +0 -50
- package/dist/types/phoneset/programmable-key.d.ts +0 -23
- package/dist/types/phoneset/softkey.d.ts +0 -17
- package/dist/types/routing/forward.d.ts +0 -51
- package/dist/types/routing/overflow.d.ts +0 -42
- package/dist/types/routing/routing-capability.d.ts +0 -31
- package/dist/types/routing/routing-events.d.ts +0 -15
- package/dist/types/routing/routing-types.d.ts +0 -10
- package/dist/types/rsi/rsi-events.d.ts +0 -76
- package/dist/types/rsi/rsi-types.d.ts +0 -49
- package/dist/types/telephony/acr-skill.d.ts +0 -29
- package/dist/types/telephony/telephony-events.d.ts +0 -292
- package/dist/types/telephony/telephony-types.d.ts +0 -587
- package/dist/types/users/users-events.d.ts +0 -33
- package/dist/types/users/users-types.d.ts +0 -129
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { Calendar } from './types/cc-mngt/calendar/calendar';
|
|
2
|
+
import { DayOfWeek } from './types/common/day-of-week';
|
|
3
|
+
import { ExceptionCalendar } from './types/cc-mngt/calendar/exception-calendar';
|
|
4
|
+
import { NormalCalendar } from './types/cc-mngt/calendar/normal-calendar';
|
|
5
|
+
import { Transition } from './types/cc-mngt/calendar/transition';
|
|
6
|
+
import { Pilot } from './types/cc-mngt/pilot';
|
|
7
|
+
import { PilotTransferQueryParameters } from './types/telephony/call/ccd/pilot-transfer-query-param';
|
|
8
|
+
/**
|
|
9
|
+
* This service allows an administrator session to manage CCD pilot objects.
|
|
10
|
+
* <p>
|
|
11
|
+
* This service requires having a <b>CONTACTCENTER_SRV</b> license.
|
|
12
|
+
*/
|
|
13
|
+
export declare class CallCenterManagement {
|
|
14
|
+
#private;
|
|
15
|
+
/**
|
|
16
|
+
* Retrieves the list of CCD pilots configured on the specified OmniPCX Enterprise node.
|
|
17
|
+
*
|
|
18
|
+
* @param nodeId the PCX Enterprise node id
|
|
19
|
+
* @returns the list of {@link Pilot} objects on success; `null` otherwise.
|
|
20
|
+
*/
|
|
21
|
+
getPilots(nodeId: number): Promise<Pilot[] | null>;
|
|
22
|
+
/**
|
|
23
|
+
* Get information about a CCD pilot.
|
|
24
|
+
*
|
|
25
|
+
* When called without `pilotTransferQueryParam`, returns the pilot's current
|
|
26
|
+
* configuration and state.
|
|
27
|
+
*
|
|
28
|
+
* When called with `pilotTransferQueryParam`, returns the pilot's routing
|
|
29
|
+
* capabilities evaluated against the specified call profile context (agent,
|
|
30
|
+
* skills, transfer type). This advanced form requires O2G version 2.7.4 or later.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```typescript
|
|
34
|
+
* // Simple form — get the pilot's current configuration
|
|
35
|
+
* const pilot = await O2G.callCenterManagement.getPilot(1, "60141");
|
|
36
|
+
*
|
|
37
|
+
* // Advanced form — evaluate routing for a specific agent and skill set
|
|
38
|
+
* const queryParam = new PilotTransferQueryParameters({
|
|
39
|
+
* agentNumber: "5001",
|
|
40
|
+
* skills: { skills: [{ skillNumber: 1, acrStatus: true, expertEvalLevel: 3 }] },
|
|
41
|
+
* priorityTransfer: true
|
|
42
|
+
* });
|
|
43
|
+
* const pilotAdvanced = await O2G.callCenterManagement.getPilot(1, "60141", queryParam);
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param nodeId the PCX Enterprise node id
|
|
47
|
+
* @param pilotNumber the pilot number
|
|
48
|
+
* @param pilotTransferQueryParam optional call profile context. When provided,
|
|
49
|
+
* the pilot information is evaluated against the
|
|
50
|
+
* specified agent number, skills and transfer type.
|
|
51
|
+
* Requires O2G >= 2.7.4.
|
|
52
|
+
* @returns the {@link Pilot} information on success; `null` otherwise.
|
|
53
|
+
*/
|
|
54
|
+
getPilot(nodeId: number, pilotNumber: string, pilotTransferQueryParam?: PilotTransferQueryParameters | null): Promise<Pilot | null>;
|
|
55
|
+
/**
|
|
56
|
+
* Retrieves the routing calendar of the specified CCD pilot.
|
|
57
|
+
* <p>
|
|
58
|
+
* The calendar defines the normal and exception schedules that govern
|
|
59
|
+
* the pilot's open/closed state over time.
|
|
60
|
+
*
|
|
61
|
+
* @param nodeId the PCX Enterprise node id
|
|
62
|
+
* @param pilotNumber the pilot number
|
|
63
|
+
* @returns the {@link Calendar} on success; `null` otherwise.
|
|
64
|
+
*/
|
|
65
|
+
getCalendar(nodeId: number, pilotNumber: string): Promise<Calendar | null>;
|
|
66
|
+
/**
|
|
67
|
+
* Retrieves the exception calendar of the specified CCD pilot.
|
|
68
|
+
* <p>
|
|
69
|
+
* The exception calendar contains date-specific transitions that override
|
|
70
|
+
* the normal weekly schedule.
|
|
71
|
+
*
|
|
72
|
+
* @param nodeId the PCX Enterprise node id
|
|
73
|
+
* @param pilotNumber the pilot number
|
|
74
|
+
* @returns the {@link ExceptionCalendar} on success; `null` otherwise.
|
|
75
|
+
*/
|
|
76
|
+
getExceptionCalendar(nodeId: number, pilotNumber: string): Promise<ExceptionCalendar | null>;
|
|
77
|
+
/**
|
|
78
|
+
* Adds a transition to the exception calendar of the specified CCD pilot.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```typescript
|
|
82
|
+
* // Add a closing transition on December 25th
|
|
83
|
+
* const christmas = new Date(2025, 11, 25);
|
|
84
|
+
* const closingTransition = new Transition({ ... });
|
|
85
|
+
* await O2G.callCenterManagement.addExceptionTransition(1, "60141", christmas, closingTransition);
|
|
86
|
+
*
|
|
87
|
+
* // Later, update that transition (index 0 = first transition of the day)
|
|
88
|
+
* const updatedTransition = new Transition({ ... });
|
|
89
|
+
* await O2G.callCenterManagement.setExceptionTransition(1, "60141", christmas, 0, updatedTransition);
|
|
90
|
+
*
|
|
91
|
+
* // Or remove it entirely
|
|
92
|
+
* await O2G.callCenterManagement.deleteExceptionTransition(1, "60141", christmas, 0);
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* @param nodeId the PCX Enterprise node id
|
|
96
|
+
* @param pilotNumber the pilot number
|
|
97
|
+
* @param dateTransition the date for which the exception transition applies
|
|
98
|
+
* @param transition the transition to add
|
|
99
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
100
|
+
*/
|
|
101
|
+
addExceptionTransition(nodeId: number, pilotNumber: string, dateTransition: Date, transition: Transition): Promise<boolean>;
|
|
102
|
+
/**
|
|
103
|
+
* Deletes a transition from the exception calendar of the specified CCD pilot.
|
|
104
|
+
*
|
|
105
|
+
* @param nodeId the PCX Enterprise node id
|
|
106
|
+
* @param pilotNumber the pilot number
|
|
107
|
+
* @param dateTransition the date of the exception transition to delete
|
|
108
|
+
* @param index the index of the transition to delete
|
|
109
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
110
|
+
*/
|
|
111
|
+
deleteExceptionTransition(nodeId: number, pilotNumber: string, dateTransition: Date, index: number): Promise<boolean>;
|
|
112
|
+
/**
|
|
113
|
+
* Updates a transition in the exception calendar of the specified CCD pilot.
|
|
114
|
+
*
|
|
115
|
+
* @param nodeId the PCX Enterprise node id
|
|
116
|
+
* @param pilotNumber the pilot number
|
|
117
|
+
* @param dateTransition the date of the exception transition to update
|
|
118
|
+
* @param index the index of the transition to update
|
|
119
|
+
* @param transition the new transition value
|
|
120
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
121
|
+
*/
|
|
122
|
+
setExceptionTransition(nodeId: number, pilotNumber: string, dateTransition: Date, index: number, transition: Transition): Promise<boolean>;
|
|
123
|
+
/**
|
|
124
|
+
* Retrieves the normal (weekly) calendar of the specified CCD pilot.
|
|
125
|
+
* <p>
|
|
126
|
+
* The normal calendar defines the recurring weekly schedule of open/closed
|
|
127
|
+
* transitions for each day of the week.
|
|
128
|
+
*
|
|
129
|
+
* @param nodeId the PCX Enterprise node id
|
|
130
|
+
* @param pilotNumber the pilot number
|
|
131
|
+
* @returns the {@link NormalCalendar} on success; `null` otherwise.
|
|
132
|
+
*/
|
|
133
|
+
getNormalCalendar(nodeId: number, pilotNumber: string): Promise<NormalCalendar | null>;
|
|
134
|
+
/**
|
|
135
|
+
* Adds a transition to the normal calendar of the specified CCD pilot for the given day of the week.
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* ```typescript
|
|
139
|
+
* // Add an opening transition on Monday at 08:00
|
|
140
|
+
* const openingTransition = new Transition({ ... });
|
|
141
|
+
* await O2G.callCenterManagement.addNormalTransition(1, "60141", DayOfWeek.MONDAY, openingTransition);
|
|
142
|
+
*
|
|
143
|
+
* // Add a closing transition on Monday at 18:00
|
|
144
|
+
* const closingTransition = new Transition({ ... });
|
|
145
|
+
* await O2G.callCenterManagement.addNormalTransition(1, "60141", DayOfWeek.MONDAY, closingTransition);
|
|
146
|
+
*
|
|
147
|
+
* // Later, update the closing transition (index 1 = second transition of the day)
|
|
148
|
+
* const updatedTransition = new Transition({ ... });
|
|
149
|
+
* await O2G.callCenterManagement.setNormalTransition(1, "60141", DayOfWeek.MONDAY, 1, updatedTransition);
|
|
150
|
+
*
|
|
151
|
+
* // Or remove it
|
|
152
|
+
* await O2G.callCenterManagement.deleteNormalTransition(1, "60141", DayOfWeek.MONDAY, 1);
|
|
153
|
+
* ```
|
|
154
|
+
*
|
|
155
|
+
* @param nodeId the PCX Enterprise node id
|
|
156
|
+
* @param pilotNumber the pilot number
|
|
157
|
+
* @param day the day of the week to which the transition applies
|
|
158
|
+
* @param transition the transition to add
|
|
159
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
160
|
+
*/
|
|
161
|
+
addNormalTransition(nodeId: number, pilotNumber: string, day: DayOfWeek, transition: Transition): Promise<boolean>;
|
|
162
|
+
/**
|
|
163
|
+
* Deletes a transition from the normal calendar of the specified CCD pilot.
|
|
164
|
+
*
|
|
165
|
+
* @param nodeId the PCX Enterprise node id
|
|
166
|
+
* @param pilotNumber the pilot number
|
|
167
|
+
* @param day the day of the week from which the transition is deleted
|
|
168
|
+
* @param index the index of the transition to delete
|
|
169
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
170
|
+
*/
|
|
171
|
+
deleteNormalTransition(nodeId: number, pilotNumber: string, day: DayOfWeek, index: number): Promise<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* Updates a transition in the normal calendar of the specified CCD pilot.
|
|
174
|
+
*
|
|
175
|
+
* @param nodeId the PCX Enterprise node id
|
|
176
|
+
* @param pilotNumber the pilot number
|
|
177
|
+
* @param day the day of the week containing the transition to update
|
|
178
|
+
* @param index the index of the transition to update
|
|
179
|
+
* @param transition the new transition value
|
|
180
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
181
|
+
*/
|
|
182
|
+
setNormalTransition(nodeId: number, pilotNumber: string, day: DayOfWeek, index: number, transition: Transition): Promise<boolean>;
|
|
183
|
+
/**
|
|
184
|
+
* Forces the specified CCD pilot into the open state, regardless of its calendar schedule.
|
|
185
|
+
*
|
|
186
|
+
* @example
|
|
187
|
+
* ```typescript
|
|
188
|
+
* // Force a pilot open outside its normal schedule
|
|
189
|
+
* await O2G.callCenterManagement.openPilot(1, "60141");
|
|
190
|
+
*
|
|
191
|
+
* // Force it closed (e.g. during an incident)
|
|
192
|
+
* await O2G.callCenterManagement.closePilot(1, "60141");
|
|
193
|
+
*
|
|
194
|
+
* // Note: these methods override the calendar schedule.
|
|
195
|
+
* // The pilot will remain in the forced state until the next
|
|
196
|
+
* // scheduled calendar transition occurs.
|
|
197
|
+
* ```
|
|
198
|
+
*
|
|
199
|
+
* @param nodeId the PCX Enterprise node id
|
|
200
|
+
* @param pilotNumber the pilot number
|
|
201
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
202
|
+
*/
|
|
203
|
+
openPilot(nodeId: number, pilotNumber: string): Promise<boolean>;
|
|
204
|
+
/**
|
|
205
|
+
* Forces the specified CCD pilot into the closed state, regardless of its calendar schedule.
|
|
206
|
+
*
|
|
207
|
+
* @param nodeId the PCX Enterprise node id
|
|
208
|
+
* @param pilotNumber the pilot number
|
|
209
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
210
|
+
*/
|
|
211
|
+
closePilot(nodeId: number, pilotNumber: string): Promise<boolean>;
|
|
212
|
+
}
|
|
213
|
+
//# sourceMappingURL=o2g-cc-mngt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"o2g-cc-mngt.d.ts","sourceRoot":"","sources":["../../src/o2g-cc-mngt.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,4BAA4B,EAAE,MAAM,uDAAuD,CAAC;AAErG;;;;GAIG;AACH,qBAAa,oBAAoB;;IAW7B;;;;;OAKG;IACG,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC;IAIxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACG,QAAQ,CACV,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,uBAAuB,GAAE,4BAA4B,GAAG,IAAW,GACpE,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAQxB;;;;;;;;;OASG;IACG,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;IAIhF;;;;;;;;;OASG;IACG,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAIlG;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACG,sBAAsB,CACxB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,IAAI,EACpB,UAAU,EAAE,UAAU,GACvB,OAAO,CAAC,OAAO,CAAC;IAInB;;;;;;;;OAQG;IACG,yBAAyB,CAC3B,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,IAAI,EACpB,KAAK,EAAE,MAAM,GACd,OAAO,CAAC,OAAO,CAAC;IAInB;;;;;;;;;OASG;IACG,sBAAsB,CACxB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,IAAI,EACpB,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,UAAU,GACvB,OAAO,CAAC,OAAO,CAAC;IAInB;;;;;;;;;OASG;IACG,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAI5F;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACG,mBAAmB,CACrB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,SAAS,EACd,UAAU,EAAE,UAAU,GACvB,OAAO,CAAC,OAAO,CAAC;IAInB;;;;;;;;OAQG;IACG,sBAAsB,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIlH;;;;;;;;;OASG;IACG,mBAAmB,CACrB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,UAAU,GACvB,OAAO,CAAC,OAAO,CAAC;IAInB;;;;;;;;;;;;;;;;;;;OAmBG;IACG,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAItE;;;;;;OAMG;IACG,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAG1E"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import EventEmitter from 'events';
|
|
2
|
+
/**
|
|
3
|
+
* CallCenterPilot allows an administrator to monitor the CCD pilots. Using this
|
|
4
|
+
* service requires having a <b>CONTACTCENTER_SRV</b> license.
|
|
5
|
+
* <p>
|
|
6
|
+
* Monitoring a pilot consists of starting the monitoring with {@link monitorStart},
|
|
7
|
+
* then listening to events to track call activity on the pilot. When monitoring
|
|
8
|
+
* is no longer needed, stop it with {@link monitorStop}.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```typescript
|
|
12
|
+
* // Register event listeners before starting monitoring
|
|
13
|
+
* O2G.callCenterPilot.on(CallCenterPilot.ON_PILOT_CALL_CREATED, (event) => {
|
|
14
|
+
* console.log("New call on pilot:", event.pilotNumber);
|
|
15
|
+
* });
|
|
16
|
+
* O2G.callCenterPilot.on(CallCenterPilot.ON_PILOT_CALL_QUEUED, (event) => {
|
|
17
|
+
* console.log("Call queued on pilot:", event.pilotNumber);
|
|
18
|
+
* });
|
|
19
|
+
* O2G.callCenterPilot.on(CallCenterPilot.ON_PILOT_CALL_REMOVED, (event) => {
|
|
20
|
+
* console.log("Call removed from pilot:", event.pilotNumber);
|
|
21
|
+
* });
|
|
22
|
+
*
|
|
23
|
+
* // Start monitoring
|
|
24
|
+
* await O2G.callCenterPilot.monitorStart("60141");
|
|
25
|
+
*
|
|
26
|
+
* // Stop monitoring and clean up when done
|
|
27
|
+
* await O2G.callCenterPilot.monitorStop("60141");
|
|
28
|
+
* O2G.callCenterPilot.removeAllListeners(CallCenterPilot.ON_PILOT_CALL_CREATED);
|
|
29
|
+
* O2G.callCenterPilot.removeAllListeners(CallCenterPilot.ON_PILOT_CALL_QUEUED);
|
|
30
|
+
* O2G.callCenterPilot.removeAllListeners(CallCenterPilot.ON_PILOT_CALL_REMOVED);
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare class CallCenterPilot extends EventEmitter {
|
|
34
|
+
#private;
|
|
35
|
+
/**
|
|
36
|
+
* Occurs when a new call arrives on a pilot.
|
|
37
|
+
* @event
|
|
38
|
+
*/
|
|
39
|
+
static readonly ON_PILOT_CALL_CREATED = "OnPilotCallCreated";
|
|
40
|
+
/**
|
|
41
|
+
* Occurs when the call has been queued.
|
|
42
|
+
* @event
|
|
43
|
+
*/
|
|
44
|
+
static readonly ON_PILOT_CALL_QUEUED = "OnPilotCallQueued";
|
|
45
|
+
/**
|
|
46
|
+
* Occurs when a call has been removed from the pilot: by distribution, cancellation or overflow.
|
|
47
|
+
* @event
|
|
48
|
+
*/
|
|
49
|
+
static readonly ON_PILOT_CALL_REMOVED = "OnPilotCallRemoved";
|
|
50
|
+
/**
|
|
51
|
+
* Starts the monitoring of a pilot.
|
|
52
|
+
* <p>
|
|
53
|
+
* If the pilot is already being monitored, no error is returned.
|
|
54
|
+
*
|
|
55
|
+
* @param pilotNumber the pilot number
|
|
56
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
57
|
+
* @see monitorStop
|
|
58
|
+
*/
|
|
59
|
+
monitorStart(pilotNumber: string): Promise<boolean>;
|
|
60
|
+
/**
|
|
61
|
+
* Stops the monitoring of a pilot.
|
|
62
|
+
* <p>
|
|
63
|
+
* If the pilot is not being monitored, no error is returned.
|
|
64
|
+
*
|
|
65
|
+
* @param pilotNumber the pilot number
|
|
66
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
67
|
+
* @see monitorStart
|
|
68
|
+
*/
|
|
69
|
+
monitorStop(pilotNumber: string): Promise<boolean>;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=o2g-cc-pilot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"o2g-cc-pilot.d.ts","sourceRoot":"","sources":["../../src/o2g-cc-pilot.ts"],"names":[],"mappings":"AAmBA,OAAO,YAAY,MAAM,QAAQ,CAAC;AAKlC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,eAAgB,SAAQ,YAAY;;IAG7C;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAC,qBAAqB,wBAAwB;IAE7D;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAC,oBAAoB,uBAAuB;IAE3D;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAC,qBAAqB,wBAAwB;IAe7D;;;;;;;;OAQG;IACG,YAAY,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIzD;;;;;;;;OAQG;IACG,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAG3D"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import EventEmitter from 'events';
|
|
2
|
+
import { RtiObjects } from './types/cc-rt/rti-objects';
|
|
3
|
+
import { RtiObjectIdentifier } from './types/cc-rt/rti-object-identifier';
|
|
4
|
+
import { RtiContext } from './types/cc-rt/rti-context';
|
|
5
|
+
/**
|
|
6
|
+
* Provides real-time information about CCD objects from an OXE system
|
|
7
|
+
* in the form of events.
|
|
8
|
+
* <p>
|
|
9
|
+
* This service is available only to administrators and delivers the same
|
|
10
|
+
* level of information as the legacy RTI interface available in the CCS.
|
|
11
|
+
* <p>
|
|
12
|
+
* The CCD objects that can be monitored include CCD agents, pilots, waiting
|
|
13
|
+
* queues, processing groups associated with agents, and other processing
|
|
14
|
+
* groups (e.g. forward, guide).
|
|
15
|
+
* <p>
|
|
16
|
+
* The typical usage sequence is:
|
|
17
|
+
* <ol>
|
|
18
|
+
* <li>Build an {@link RtiFilter} specifying which objects and attributes to monitor.</li>
|
|
19
|
+
* <li>Create an {@link RtiContext} with the filter and the desired notification frequency.</li>
|
|
20
|
+
* <li>Set the context with {@link setContext}.</li>
|
|
21
|
+
* <li>Register event listeners for the RTI events of interest.</li>
|
|
22
|
+
* <li>Start monitoring with {@link start}.</li>
|
|
23
|
+
* </ol>
|
|
24
|
+
* <p>
|
|
25
|
+
* After initialization, the application is notified whenever one or more monitored
|
|
26
|
+
* attributes change. Each event contains only the attributes that have changed
|
|
27
|
+
* since the previous notification.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```typescript
|
|
31
|
+
* // Build a filter for specific agents and attributes
|
|
32
|
+
* const filter = new RtiFilter();
|
|
33
|
+
* filter.setAgentAttributes(
|
|
34
|
+
* AgentAttributes.PrivateCallsTotalDuration,
|
|
35
|
+
* AgentAttributes.AssociatedSet,
|
|
36
|
+
* AgentAttributes.LogonDate
|
|
37
|
+
* );
|
|
38
|
+
* filter.setAgentNumbers(["60119", "60120"]);
|
|
39
|
+
*
|
|
40
|
+
* // Create a context: notification every 30s, data refresh every 5s
|
|
41
|
+
* const context = new RtiContext(30, 5, filter);
|
|
42
|
+
* await O2G.callCenterRealtime.setContext(context);
|
|
43
|
+
*
|
|
44
|
+
* // Register event listeners
|
|
45
|
+
* O2G.callCenterRealtime.on(CallCenterRealtime.ON_AGENT_RTI_CHANGED, (event) => {
|
|
46
|
+
* console.log("Agent RTI changed:", event);
|
|
47
|
+
* });
|
|
48
|
+
*
|
|
49
|
+
* // Start monitoring
|
|
50
|
+
* await O2G.callCenterRealtime.start();
|
|
51
|
+
*
|
|
52
|
+
* // Stop monitoring and clean up when done
|
|
53
|
+
* await O2G.callCenterRealtime.deleteContext();
|
|
54
|
+
* O2G.callCenterRealtime.removeAllListeners(CallCenterRealtime.ON_AGENT_RTI_CHANGED);
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @since 2.7.4
|
|
58
|
+
*/
|
|
59
|
+
export declare class CallCenterRealtime extends EventEmitter {
|
|
60
|
+
#private;
|
|
61
|
+
/**
|
|
62
|
+
* Occurs when the real-time information of a CCD agent has changed.
|
|
63
|
+
* @event
|
|
64
|
+
*/
|
|
65
|
+
static readonly ON_AGENT_RTI_CHANGED = "OnAgentRtiChanged";
|
|
66
|
+
/**
|
|
67
|
+
* Occurs when the real-time information of a CCD queue has changed.
|
|
68
|
+
* @event
|
|
69
|
+
*/
|
|
70
|
+
static readonly ON_QUEUE_RTI_CHANGED = "OnQueueRtiChanged";
|
|
71
|
+
/**
|
|
72
|
+
* Occurs when the real-time information of a CCD pilot has changed.
|
|
73
|
+
* @event
|
|
74
|
+
*/
|
|
75
|
+
static readonly ON_PILOT_RTI_CHANGED = "OnPilotRtiChanged";
|
|
76
|
+
/**
|
|
77
|
+
* Occurs when the real-time information of a CCD agent processing group has changed.
|
|
78
|
+
* @event
|
|
79
|
+
*/
|
|
80
|
+
static readonly ON_AGENT_PG_RTI_CHANGED = "OnPGAgentRtiChanged";
|
|
81
|
+
/**
|
|
82
|
+
* Occurs when the real-time information of a CCD other processing group has changed.
|
|
83
|
+
* @event
|
|
84
|
+
*/
|
|
85
|
+
static readonly ON_OTHER_PG_RTI_CHANGED = "OnPGOtherRtiChanged";
|
|
86
|
+
/**
|
|
87
|
+
* Retrieves all CCD objects that currently provide real-time information.
|
|
88
|
+
*
|
|
89
|
+
* The returned {@link RtiObjects} includes collections of agents, pilots,
|
|
90
|
+
* queues, and processing groups that can be monitored.
|
|
91
|
+
*
|
|
92
|
+
* Returns `null` if no objects are available or an error occurs.
|
|
93
|
+
*/
|
|
94
|
+
getRtiObjects(): Promise<RtiObjects | null>;
|
|
95
|
+
/**
|
|
96
|
+
* Returns all CCD agents that provide real-time information.
|
|
97
|
+
*
|
|
98
|
+
* @returns An array of {@link RtiObjectIdentifier} representing agents,
|
|
99
|
+
* or an empty array if none exist.
|
|
100
|
+
*/
|
|
101
|
+
getAgents(): Promise<RtiObjectIdentifier[] | null>;
|
|
102
|
+
/**
|
|
103
|
+
* Returns all CCD pilots that provide real-time information.
|
|
104
|
+
*
|
|
105
|
+
* @returns A promise resolving to an array of {@link RtiObjectIdentifier} for pilots,
|
|
106
|
+
* or an empty array if none exist, or `null` if an error occurs.
|
|
107
|
+
*/
|
|
108
|
+
getPilots(): Promise<RtiObjectIdentifier[] | null>;
|
|
109
|
+
/**
|
|
110
|
+
* Returns all CCD queues that provide real-time information.
|
|
111
|
+
*
|
|
112
|
+
* @returns A promise resolving to an array of {@link RtiObjectIdentifier} for queues,
|
|
113
|
+
* or an empty array if none exist, or `null` if an error occurs.
|
|
114
|
+
*/
|
|
115
|
+
getQueues(): Promise<RtiObjectIdentifier[] | null>;
|
|
116
|
+
/**
|
|
117
|
+
* Returns all CCD agent processing groups that provide real-time information.
|
|
118
|
+
*
|
|
119
|
+
* @returns A promise resolving to an array of {@link RtiObjectIdentifier} for agent processing groups,
|
|
120
|
+
* or an empty array if none exist, or `null` if an error occurs.
|
|
121
|
+
*/
|
|
122
|
+
getAgentProcessingGroups(): Promise<RtiObjectIdentifier[] | null>;
|
|
123
|
+
/**
|
|
124
|
+
* Returns all CCD processing groups (other than agents) that provide real-time information.
|
|
125
|
+
*
|
|
126
|
+
* @returns A promise resolving to an array of {@link RtiObjectIdentifier} for other processing groups,
|
|
127
|
+
* or an empty array if none exist, or `null` if an error occurs.
|
|
128
|
+
*/
|
|
129
|
+
getOtherProcessingGroups(): Promise<RtiObjectIdentifier[] | null>;
|
|
130
|
+
/**
|
|
131
|
+
* Returns the monitoring Context associated with this administrator (session).
|
|
132
|
+
*
|
|
133
|
+
* @returns The Context associated with this administrator, or `null` if none exists.
|
|
134
|
+
*/
|
|
135
|
+
getContext(): Promise<RtiContext | null>;
|
|
136
|
+
/**
|
|
137
|
+
* Deletes the monitoring Context associated with this administrator (session),
|
|
138
|
+
* stopping any RTI event notifications.
|
|
139
|
+
*
|
|
140
|
+
* @returns `true` if the deletion was successful; `false` otherwise.
|
|
141
|
+
*/
|
|
142
|
+
deleteContext(): Promise<boolean>;
|
|
143
|
+
/**
|
|
144
|
+
* Associates or updates the monitoring Context for this administrator (session).
|
|
145
|
+
* If no context exists, a new one is created.
|
|
146
|
+
*
|
|
147
|
+
* The context defines which objects and attributes are monitored and the
|
|
148
|
+
* notification frequency for RTI events.
|
|
149
|
+
*
|
|
150
|
+
* @param context The Context to associate with this administrator.
|
|
151
|
+
* @returns `true` if the update was successful; `false` otherwise.
|
|
152
|
+
*/
|
|
153
|
+
setContext(context: RtiContext): Promise<boolean>;
|
|
154
|
+
/**
|
|
155
|
+
* Starts the monitoring of CCD objects according to the associated context.
|
|
156
|
+
*
|
|
157
|
+
* After calling this method, RTI events will be sent to any registered listeners.
|
|
158
|
+
*
|
|
159
|
+
* @returns `true` if the monitoring started successfully; `false` otherwise.
|
|
160
|
+
*/
|
|
161
|
+
start(): Promise<boolean>;
|
|
162
|
+
}
|
|
163
|
+
//# sourceMappingURL=o2g-cc-rt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"o2g-cc-rt.d.ts","sourceRoot":"","sources":["../../src/o2g-cc-rt.ts"],"names":[],"mappings":"AAmBA,OAAO,YAAY,MAAM,QAAQ,CAAC;AAElC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AASvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,qBAAa,kBAAmB,SAAQ,YAAY;;IAGhD;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAC,oBAAoB,uBAAuB;IAE3D;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAC,oBAAoB,uBAAuB;IAE3D;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAC,oBAAoB,uBAAuB;IAE3D;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAC,uBAAuB,yBAAyB;IAEhE;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAC,uBAAuB,yBAAyB;IAgBhE;;;;;;;OAOG;IACG,aAAa,IAAI,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC;IAIjD;;;;;OAKG;IACG,SAAS,IAAI,OAAO,CAAC,mBAAmB,EAAE,GAAG,IAAI,CAAC;IAIxD;;;;;OAKG;IACG,SAAS,IAAI,OAAO,CAAC,mBAAmB,EAAE,GAAG,IAAI,CAAC;IAIxD;;;;;OAKG;IACG,SAAS,IAAI,OAAO,CAAC,mBAAmB,EAAE,GAAG,IAAI,CAAC;IAIxD;;;;;OAKG;IACG,wBAAwB,IAAI,OAAO,CAAC,mBAAmB,EAAE,GAAG,IAAI,CAAC;IAIvE;;;;;OAKG;IACG,wBAAwB,IAAI,OAAO,CAAC,mBAAmB,EAAE,GAAG,IAAI,CAAC;IAIvE;;;;OAIG;IACG,UAAU,IAAI,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC;IAI9C;;;;;OAKG;IACG,aAAa,IAAI,OAAO,CAAC,OAAO,CAAC;IAIvC;;;;;;;;;OASG;IACG,UAAU,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC;IAIvD;;;;;;OAMG;IACG,KAAK,IAAI,OAAO,CAAC,OAAO,CAAC;CAGlC"}
|