o2g-node-sdk 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -6
- package/dist/o2g-node-sdk.js +173 -3732
- package/dist/o2g-node-sdk.js.map +1 -1
- package/dist/types/ErrorInfo.d.ts +88 -0
- package/dist/types/ErrorInfo.d.ts.map +1 -0
- package/dist/types/host.d.ts +18 -0
- package/dist/types/host.d.ts.map +1 -0
- package/dist/types/internal/access-mode.d.ts +2 -0
- package/dist/types/internal/access-mode.d.ts.map +1 -0
- package/dist/types/internal/events/chunk-eventing.d.ts +2 -0
- package/dist/types/internal/events/chunk-eventing.d.ts.map +1 -0
- package/dist/types/internal/events/event-dispatcher.d.ts +2 -0
- package/dist/types/internal/events/event-dispatcher.d.ts.map +1 -0
- package/dist/types/internal/events/event-packages.d.ts +2 -0
- package/dist/types/internal/events/event-packages.d.ts.map +1 -0
- package/dist/types/internal/o2g-application.d.ts +2 -0
- package/dist/types/internal/o2g-application.d.ts.map +1 -0
- package/dist/types/internal/rest/analytics-rest.d.ts +2 -0
- package/dist/types/internal/rest/analytics-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/authentication-rest.d.ts +2 -0
- package/dist/types/internal/rest/authentication-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccAgent-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccAgent-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccMngt-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccMngt-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccPilot-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccPilot-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccRealtime-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccRealtime-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccStatistics-rest.d.ts +45 -0
- package/dist/types/internal/rest/ccStatistics-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/comlog-rest.d.ts +2 -0
- package/dist/types/internal/rest/comlog-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/directory-rest.d.ts +2 -0
- package/dist/types/internal/rest/directory-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/eventSummary-rest.d.ts +2 -0
- package/dist/types/internal/rest/eventSummary-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/maint-rest.d.ts +2 -0
- package/dist/types/internal/rest/maint-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/messaging-rest.d.ts +2 -0
- package/dist/types/internal/rest/messaging-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/o2g-rest.d.ts +2 -0
- package/dist/types/internal/rest/o2g-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/pbx-mngt-rest.d.ts +2 -0
- package/dist/types/internal/rest/pbx-mngt-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/phone-set-prog-rest.d.ts +2 -0
- package/dist/types/internal/rest/phone-set-prog-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/rest-service.d.ts +2 -0
- package/dist/types/internal/rest/rest-service.d.ts.map +1 -0
- package/dist/types/internal/rest/routing-rest.d.ts +2 -0
- package/dist/types/internal/rest/routing-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/rsi-rest.d.ts +2 -0
- package/dist/types/internal/rest/rsi-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/sessions-rest.d.ts +2 -0
- package/dist/types/internal/rest/sessions-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/subscriptions-rest.d.ts +2 -0
- package/dist/types/internal/rest/subscriptions-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/telephony-rest.d.ts +2 -0
- package/dist/types/internal/rest/telephony-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/users-mngt-rest.d.ts +2 -0
- package/dist/types/internal/rest/users-mngt-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/users-rest.d.ts +2 -0
- package/dist/types/internal/rest/users-rest.d.ts.map +1 -0
- package/dist/types/internal/service-end-point.d.ts +2 -0
- package/dist/types/internal/service-end-point.d.ts.map +1 -0
- package/dist/types/internal/service-factory.d.ts +2 -0
- package/dist/types/internal/service-factory.d.ts.map +1 -0
- package/dist/types/internal/session.d.ts +2 -0
- package/dist/types/internal/session.d.ts.map +1 -0
- package/dist/types/internal/types/analytics/analytics-types.d.ts +2 -0
- package/dist/types/internal/types/analytics/analytics-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-agent/cc-agent-types.d.ts +2 -0
- package/dist/types/internal/types/cc-agent/cc-agent-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-mngt/cc-mntg-types.d.ts +2 -0
- package/dist/types/internal/types/cc-mngt/cc-mntg-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-pilot/cc-pilot-types.d.ts +2 -0
- package/dist/types/internal/types/cc-pilot/cc-pilot-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-rt/cc-rt-types.d.ts +2 -0
- package/dist/types/internal/types/cc-rt/cc-rt-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/abstract-filter.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/abstract-filter.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/ag-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/ag-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/cc-stat-types.d.ts +56 -0
- package/dist/types/internal/types/cc-stat/cc-stat-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/context-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/context-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/on-stats-progress.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/on-stats-progress.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/pil-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/pil-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/requester-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/requester-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/scheduled-rep-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/scheduled-rep-impl.d.ts.map +1 -0
- package/dist/types/internal/types/comlog/comlog-types.d.ts +2 -0
- package/dist/types/internal/types/comlog/comlog-types.d.ts.map +1 -0
- package/dist/types/internal/types/common/common-types.d.ts +2 -0
- package/dist/types/internal/types/common/common-types.d.ts.map +1 -0
- package/dist/types/internal/types/directory/directory-types.d.ts +2 -0
- package/dist/types/internal/types/directory/directory-types.d.ts.map +1 -0
- package/dist/types/internal/types/eventsummary/eventsummary-types.d.ts +14 -0
- package/dist/types/internal/types/eventsummary/eventsummary-types.d.ts.map +1 -0
- package/dist/types/internal/types/maint/maint-types.d.ts +2 -0
- package/dist/types/internal/types/maint/maint-types.d.ts.map +1 -0
- package/dist/types/internal/types/messaging/messaging-types.d.ts +2 -0
- package/dist/types/internal/types/messaging/messaging-types.d.ts.map +1 -0
- package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts +2 -0
- package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts.map +1 -0
- package/dist/types/internal/types/phoneset/phoneset-types.d.ts +2 -0
- package/dist/types/internal/types/phoneset/phoneset-types.d.ts.map +1 -0
- package/dist/types/internal/types/routing/routing-types.d.ts +2 -0
- package/dist/types/internal/types/routing/routing-types.d.ts.map +1 -0
- package/dist/types/internal/types/rsi/rsi-types.d.ts +2 -0
- package/dist/types/internal/types/rsi/rsi-types.d.ts.map +1 -0
- package/dist/types/internal/types/telephony/telephony-types.d.ts +2 -0
- package/dist/types/internal/types/telephony/telephony-types.d.ts.map +1 -0
- package/dist/types/internal/types/users/users-types.d.ts +2 -0
- package/dist/types/internal/types/users/users-types.d.ts.map +1 -0
- package/dist/types/internal/util/IHttpClient.d.ts +2 -0
- package/dist/types/internal/util/IHttpClient.d.ts.map +1 -0
- package/dist/types/internal/util/assert.d.ts +2 -0
- package/dist/types/internal/util/assert.d.ts.map +1 -0
- package/dist/types/internal/util/file-utils.d.ts +2 -0
- package/dist/types/internal/util/file-utils.d.ts.map +1 -0
- package/dist/types/internal/util/format-util.d.ts +2 -0
- package/dist/types/internal/util/format-util.d.ts.map +1 -0
- package/dist/types/internal/util/hexa-string.d.ts +2 -0
- package/dist/types/internal/util/hexa-string.d.ts.map +1 -0
- package/dist/types/internal/util/http-client.d.ts +2 -0
- package/dist/types/internal/util/http-client.d.ts.map +1 -0
- package/dist/types/internal/util/http-content.d.ts +2 -0
- package/dist/types/internal/util/http-content.d.ts.map +1 -0
- package/dist/types/internal/util/http-response.d.ts +2 -0
- package/dist/types/internal/util/http-response.d.ts.map +1 -0
- package/dist/types/internal/util/injection-container.d.ts +5 -0
- package/dist/types/internal/util/injection-container.d.ts.map +1 -0
- package/dist/types/internal/util/logger.d.ts +7 -0
- package/dist/types/internal/util/logger.d.ts.map +1 -0
- package/dist/types/internal/util/util-uri.d.ts +2 -0
- package/dist/types/internal/util/util-uri.d.ts.map +1 -0
- package/dist/types/o2g-analytics.d.ts +61 -0
- package/dist/types/o2g-analytics.d.ts.map +1 -0
- package/dist/types/o2g-cc-agent.d.ts +376 -0
- package/dist/types/o2g-cc-agent.d.ts.map +1 -0
- package/dist/types/o2g-cc-mngt.d.ts +213 -0
- package/dist/types/o2g-cc-mngt.d.ts.map +1 -0
- package/dist/types/o2g-cc-pilot.d.ts +71 -0
- package/dist/types/o2g-cc-pilot.d.ts.map +1 -0
- package/dist/types/o2g-cc-rt.d.ts +163 -0
- package/dist/types/o2g-cc-rt.d.ts.map +1 -0
- package/dist/types/o2g-cc-stat.d.ts +450 -0
- package/dist/types/o2g-cc-stat.d.ts.map +1 -0
- package/dist/types/o2g-comlog.d.ts +245 -0
- package/dist/types/o2g-comlog.d.ts.map +1 -0
- package/dist/types/o2g-directory.d.ts +109 -0
- package/dist/types/o2g-directory.d.ts.map +1 -0
- package/dist/types/o2g-eventSummary.d.ts +44 -0
- package/dist/types/o2g-eventSummary.d.ts.map +1 -0
- package/dist/types/o2g-maint.d.ts +82 -0
- package/dist/types/o2g-maint.d.ts.map +1 -0
- package/dist/types/o2g-messaging.d.ts +137 -0
- package/dist/types/o2g-messaging.d.ts.map +1 -0
- package/dist/types/o2g-node-sdk.d.ts +421 -0
- package/dist/types/o2g-node-sdk.d.ts.map +1 -0
- package/dist/types/o2g-pbx-mngt.d.ts +244 -0
- package/dist/types/o2g-pbx-mngt.d.ts.map +1 -0
- package/dist/types/o2g-phone-set-prog.d.ts +269 -0
- package/dist/types/o2g-phone-set-prog.d.ts.map +1 -0
- package/dist/types/o2g-routing.d.ts +313 -0
- package/dist/types/o2g-routing.d.ts.map +1 -0
- package/dist/types/o2g-rsi.d.ts +155 -0
- package/dist/types/o2g-rsi.d.ts.map +1 -0
- package/dist/types/o2g-telephony.d.ts +895 -0
- package/dist/types/o2g-telephony.d.ts.map +1 -0
- package/dist/types/o2g-users-mngt.d.ts +83 -0
- package/dist/types/o2g-users-mngt.d.ts.map +1 -0
- package/dist/types/o2g-users.d.ts +127 -0
- package/dist/types/o2g-users.d.ts.map +1 -0
- package/dist/types/subscription.d.ts +379 -0
- package/dist/types/subscription.d.ts.map +1 -0
- package/dist/types/supervised-account.d.ts +40 -0
- package/dist/types/supervised-account.d.ts.map +1 -0
- package/dist/types/types/analytics/call-type.d.ts +25 -0
- package/dist/types/types/analytics/call-type.d.ts.map +1 -0
- package/dist/types/types/analytics/charging-file.d.ts +13 -0
- package/dist/types/types/analytics/charging-file.d.ts.map +1 -0
- package/dist/types/types/analytics/charging-result.d.ts +50 -0
- package/dist/types/types/analytics/charging-result.d.ts.map +1 -0
- package/dist/types/types/analytics/charging.d.ts +69 -0
- package/dist/types/types/analytics/charging.d.ts.map +1 -0
- package/dist/types/types/analytics/incident.d.ts +41 -0
- package/dist/types/types/analytics/incident.d.ts.map +1 -0
- package/dist/types/types/analytics/tel-facility.d.ts +45 -0
- package/dist/types/types/analytics/tel-facility.d.ts.map +1 -0
- package/dist/types/types/cc-agent/agent-groups.d.ts +11 -0
- package/dist/types/types/cc-agent/agent-groups.d.ts.map +1 -0
- package/dist/types/types/cc-agent/agent-skill-set.d.ts +43 -0
- package/dist/types/types/cc-agent/agent-skill-set.d.ts.map +1 -0
- package/dist/types/types/cc-agent/agent-skill.d.ts +15 -0
- package/dist/types/types/cc-agent/agent-skill.d.ts.map +1 -0
- package/dist/types/types/cc-agent/cc-agent-events.d.ts +44 -0
- package/dist/types/types/cc-agent/cc-agent-events.d.ts.map +1 -0
- package/dist/types/types/cc-agent/intrusion-mode.d.ts +25 -0
- package/dist/types/types/cc-agent/intrusion-mode.d.ts.map +1 -0
- package/dist/types/types/cc-agent/operator-config.d.ts +76 -0
- package/dist/types/types/cc-agent/operator-config.d.ts.map +1 -0
- package/dist/types/types/cc-agent/operator-state.d.ts +100 -0
- package/dist/types/types/cc-agent/operator-state.d.ts.map +1 -0
- package/dist/types/types/cc-agent/operator-type.d.ts +17 -0
- package/dist/types/types/cc-agent/operator-type.d.ts.map +1 -0
- package/dist/types/types/cc-agent/withdraw-reason.d.ts +23 -0
- package/dist/types/types/cc-agent/withdraw-reason.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/abstract-calendar.d.ts +8 -0
- package/dist/types/types/cc-mngt/calendar/abstract-calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/calendar.d.ts +22 -0
- package/dist/types/types/cc-mngt/calendar/calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts +31 -0
- package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts +31 -0
- package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts +18 -0
- package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/transition.d.ts +65 -0
- package/dist/types/types/cc-mngt/calendar/transition.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/pilot-rule-set.d.ts +33 -0
- package/dist/types/types/cc-mngt/pilot-rule-set.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/pilot-rule.d.ts +24 -0
- package/dist/types/types/cc-mngt/pilot-rule.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/pilot.d.ts +58 -0
- package/dist/types/types/cc-mngt/pilot.d.ts.map +1 -0
- package/dist/types/types/cc-pilot/call-data-pilot.d.ts +50 -0
- package/dist/types/types/cc-pilot/call-data-pilot.d.ts.map +1 -0
- package/dist/types/types/cc-pilot/cc-pilot-events.d.ts +131 -0
- package/dist/types/types/cc-pilot/cc-pilot-events.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-attributes.d.ts +50 -0
- package/dist/types/types/cc-rt/agent-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-pg-attributes.d.ts +50 -0
- package/dist/types/types/cc-rt/agent-pg-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-pg-type.d.ts +17 -0
- package/dist/types/types/cc-rt/agent-pg-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-phone-state.d.ts +67 -0
- package/dist/types/types/cc-rt/agent-phone-state.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-service-type.d.ts +16 -0
- package/dist/types/types/cc-rt/agent-service-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-type.d.ts +16 -0
- package/dist/types/types/cc-rt/agent-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/cc-rt-events.d.ts +274 -0
- package/dist/types/types/cc-rt/cc-rt-events.d.ts.map +1 -0
- package/dist/types/types/cc-rt/other-pg-attributes.d.ts +18 -0
- package/dist/types/types/cc-rt/other-pg-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/other-pg-type.d.ts +22 -0
- package/dist/types/types/cc-rt/other-pg-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/pilot-attributes.d.ts +40 -0
- package/dist/types/types/cc-rt/pilot-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/queue-attributes.d.ts +30 -0
- package/dist/types/types/cc-rt/queue-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/queue-type.d.ts +23 -0
- package/dist/types/types/cc-rt/queue-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-context.d.ts +56 -0
- package/dist/types/types/cc-rt/rti-context.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-filter.d.ts +117 -0
- package/dist/types/types/cc-rt/rti-filter.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-object-identifier.d.ts +34 -0
- package/dist/types/types/cc-rt/rti-object-identifier.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-objects.d.ts +72 -0
- package/dist/types/types/cc-rt/rti-objects.d.ts.map +1 -0
- package/dist/types/types/cc-stats/agbypilot-attributes.d.ts +73 -0
- package/dist/types/types/cc-stats/agbypilot-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/agent-attributes.d.ts +377 -0
- package/dist/types/types/cc-stats/agent-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/agent-filter.d.ts +60 -0
- package/dist/types/types/cc-stats/agent-filter.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts +184 -0
- package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/ag-stats-row.d.ts +608 -0
- package/dist/types/types/cc-stats/data/ag-stats-row.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/data-obs-period.d.ts +20 -0
- package/dist/types/types/cc-stats/data/data-obs-period.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/pil-stats-row.d.ts +623 -0
- package/dist/types/types/cc-stats/data/pil-stats-row.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/selected-period.d.ts +49 -0
- package/dist/types/types/cc-stats/data/selected-period.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/stat-value.d.ts +36 -0
- package/dist/types/types/cc-stats/data/stat-value.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/stats-data.d.ts +64 -0
- package/dist/types/types/cc-stats/data/stats-data.d.ts.map +1 -0
- package/dist/types/types/cc-stats/events/progress-callback.d.ts +9 -0
- package/dist/types/types/cc-stats/events/progress-callback.d.ts.map +1 -0
- package/dist/types/types/cc-stats/events/progress-step.d.ts +20 -0
- package/dist/types/types/cc-stats/events/progress-step.d.ts.map +1 -0
- package/dist/types/types/cc-stats/language.d.ts +15 -0
- package/dist/types/types/cc-stats/language.d.ts.map +1 -0
- package/dist/types/types/cc-stats/pilot-attributes.d.ts +185 -0
- package/dist/types/types/cc-stats/pilot-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/pilot-filter.d.ts +45 -0
- package/dist/types/types/cc-stats/pilot-filter.d.ts.map +1 -0
- package/dist/types/types/cc-stats/requester.d.ts +33 -0
- package/dist/types/types/cc-stats/requester.d.ts.map +1 -0
- package/dist/types/types/cc-stats/scheduled/recurrence.d.ts +69 -0
- package/dist/types/types/cc-stats/scheduled/recurrence.d.ts.map +1 -0
- package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts +87 -0
- package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts.map +1 -0
- package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts +132 -0
- package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-context.d.ts +66 -0
- package/dist/types/types/cc-stats/stats-context.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-filter.d.ts +34 -0
- package/dist/types/types/cc-stats/stats-filter.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-format.d.ts +17 -0
- package/dist/types/types/cc-stats/stats-format.d.ts.map +1 -0
- package/dist/types/types/cc-stats/time-interval.d.ts +19 -0
- package/dist/types/types/cc-stats/time-interval.d.ts.map +1 -0
- package/dist/types/types/comlog/com-record-participant.d.ts +75 -0
- package/dist/types/types/comlog/com-record-participant.d.ts.map +1 -0
- package/dist/types/types/comlog/com-record.d.ts +97 -0
- package/dist/types/types/comlog/com-record.d.ts.map +1 -0
- package/dist/types/types/comlog/comlog-events.d.ts +110 -0
- package/dist/types/types/comlog/comlog-events.d.ts.map +1 -0
- package/dist/types/types/comlog/filter-option.d.ts +24 -0
- package/dist/types/types/comlog/filter-option.d.ts.map +1 -0
- package/dist/types/types/comlog/page.d.ts +34 -0
- package/dist/types/types/comlog/page.d.ts.map +1 -0
- package/dist/types/types/comlog/query-filter.d.ts +79 -0
- package/dist/types/types/comlog/query-filter.d.ts.map +1 -0
- package/dist/types/types/comlog/query-result.d.ts +55 -0
- package/dist/types/types/comlog/query-result.d.ts.map +1 -0
- package/dist/types/types/comlog/reason.d.ts +62 -0
- package/dist/types/types/comlog/reason.d.ts.map +1 -0
- package/dist/types/types/comlog/role.d.ts +18 -0
- package/dist/types/types/comlog/role.d.ts.map +1 -0
- package/dist/types/types/common/date-range.d.ts +17 -0
- package/dist/types/types/common/date-range.d.ts.map +1 -0
- package/dist/types/types/common/day-of-week.d.ts +15 -0
- package/dist/types/types/common/day-of-week.d.ts.map +1 -0
- package/dist/types/types/common/device-type.d.ts +22 -0
- package/dist/types/types/common/device-type.d.ts.map +1 -0
- package/dist/types/types/common/device.d.ts +75 -0
- package/dist/types/types/common/device.d.ts.map +1 -0
- package/dist/types/types/common/identifier.d.ts +20 -0
- package/dist/types/types/common/identifier.d.ts.map +1 -0
- package/dist/types/types/common/main-type.d.ts +26 -0
- package/dist/types/types/common/main-type.d.ts.map +1 -0
- package/dist/types/types/common/party-info-type.d.ts +22 -0
- package/dist/types/types/common/party-info-type.d.ts.map +1 -0
- package/dist/types/types/common/party-info.d.ts +28 -0
- package/dist/types/types/common/party-info.d.ts.map +1 -0
- package/dist/types/types/common/service-state.d.ts +20 -0
- package/dist/types/types/common/service-state.d.ts.map +1 -0
- package/dist/types/types/directory/criteria.d.ts +95 -0
- package/dist/types/types/directory/criteria.d.ts.map +1 -0
- package/dist/types/types/directory/filter-item.d.ts +22 -0
- package/dist/types/types/directory/filter-item.d.ts.map +1 -0
- package/dist/types/types/directory/logical-operation.d.ts +14 -0
- package/dist/types/types/directory/logical-operation.d.ts.map +1 -0
- package/dist/types/types/directory/operation-filter.d.ts +22 -0
- package/dist/types/types/directory/operation-filter.d.ts.map +1 -0
- package/dist/types/types/directory/result-item.d.ts +22 -0
- package/dist/types/types/directory/result-item.d.ts.map +1 -0
- package/dist/types/types/directory/search-result.d.ts +64 -0
- package/dist/types/types/directory/search-result.d.ts.map +1 -0
- package/dist/types/types/events/events.d.ts +77 -0
- package/dist/types/types/events/events.d.ts.map +1 -0
- package/dist/types/types/eventsummary/event-summary-counter.d.ts +69 -0
- package/dist/types/types/eventsummary/event-summary-counter.d.ts.map +1 -0
- package/dist/types/types/eventsummary/event-summary-events.d.ts +26 -0
- package/dist/types/types/eventsummary/event-summary-events.d.ts.map +1 -0
- package/dist/types/types/maint/configuration-type.d.ts +15 -0
- package/dist/types/types/maint/configuration-type.d.ts.map +1 -0
- package/dist/types/types/maint/cti-link-state.d.ts +19 -0
- package/dist/types/types/maint/cti-link-state.d.ts.map +1 -0
- package/dist/types/types/maint/license-status.d.ts +42 -0
- package/dist/types/types/maint/license-status.d.ts.map +1 -0
- package/dist/types/types/maint/license-type.d.ts +19 -0
- package/dist/types/types/maint/license-type.d.ts.map +1 -0
- package/dist/types/types/maint/license.d.ts +38 -0
- package/dist/types/types/maint/license.d.ts.map +1 -0
- package/dist/types/types/maint/maint-events.d.ts +105 -0
- package/dist/types/types/maint/maint-events.d.ts.map +1 -0
- package/dist/types/types/maint/pbx-status.d.ts +77 -0
- package/dist/types/types/maint/pbx-status.d.ts.map +1 -0
- package/dist/types/types/maint/server-address.d.ts +25 -0
- package/dist/types/types/maint/server-address.d.ts.map +1 -0
- package/dist/types/types/maint/service-status.d.ts +31 -0
- package/dist/types/types/maint/service-status.d.ts.map +1 -0
- package/dist/types/types/maint/subscriber-filter.d.ts +24 -0
- package/dist/types/types/maint/subscriber-filter.d.ts.map +1 -0
- package/dist/types/types/maint/sys-service-status.d.ts +33 -0
- package/dist/types/types/maint/sys-service-status.d.ts.map +1 -0
- package/dist/types/types/maint/sys-status.d.ts +79 -0
- package/dist/types/types/maint/sys-status.d.ts.map +1 -0
- package/dist/types/types/messaging/mailbox-info.d.ts +35 -0
- package/dist/types/types/messaging/mailbox-info.d.ts.map +1 -0
- package/dist/types/types/messaging/mailbox.d.ts +119 -0
- package/dist/types/types/messaging/mailbox.d.ts.map +1 -0
- package/dist/types/types/messaging/voice-message.d.ts +57 -0
- package/dist/types/types/messaging/voice-message.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/attribute-filter.d.ts +31 -0
- package/dist/types/types/pbxmngt/attribute-filter.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/instance-filter.d.ts +72 -0
- package/dist/types/types/pbxmngt/instance-filter.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/model.d.ts +221 -0
- package/dist/types/types/pbxmngt/model.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/octet-string-length.d.ts +12 -0
- package/dist/types/types/pbxmngt/octet-string-length.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx-attr-map.d.ts +96 -0
- package/dist/types/types/pbxmngt/pbx-attr-map.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx-attribute.d.ts +182 -0
- package/dist/types/types/pbxmngt/pbx-attribute.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx-object.d.ts +73 -0
- package/dist/types/types/pbxmngt/pbx-object.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx.d.ts +23 -0
- package/dist/types/types/pbxmngt/pbx.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbxmngt-events.d.ts +74 -0
- package/dist/types/types/pbxmngt/pbxmngt-events.d.ts.map +1 -0
- package/dist/types/types/phoneset/device-key.d.ts +36 -0
- package/dist/types/types/phoneset/device-key.d.ts.map +1 -0
- package/dist/types/types/phoneset/dynamic-state.d.ts +30 -0
- package/dist/types/types/phoneset/dynamic-state.d.ts.map +1 -0
- package/dist/types/types/phoneset/pin.d.ts +53 -0
- package/dist/types/types/phoneset/pin.d.ts.map +1 -0
- package/dist/types/types/phoneset/prog-key.d.ts +26 -0
- package/dist/types/types/phoneset/prog-key.d.ts.map +1 -0
- package/dist/types/types/phoneset/soft-key.d.ts +18 -0
- package/dist/types/types/phoneset/soft-key.d.ts.map +1 -0
- package/dist/types/types/routing/destination.d.ts +18 -0
- package/dist/types/types/routing/destination.d.ts.map +1 -0
- package/dist/types/types/routing/dnd-state.d.ts +9 -0
- package/dist/types/types/routing/dnd-state.d.ts.map +1 -0
- package/dist/types/types/routing/forward-condition.d.ts +26 -0
- package/dist/types/types/routing/forward-condition.d.ts.map +1 -0
- package/dist/types/types/routing/forward.d.ts +53 -0
- package/dist/types/types/routing/forward.d.ts.map +1 -0
- package/dist/types/types/routing/overflow-condition.d.ts +22 -0
- package/dist/types/types/routing/overflow-condition.d.ts.map +1 -0
- package/dist/types/types/routing/overflow.d.ts +50 -0
- package/dist/types/types/routing/overflow.d.ts.map +1 -0
- package/dist/types/types/routing/routing-capabilities.d.ts +15 -0
- package/dist/types/types/routing/routing-capabilities.d.ts.map +1 -0
- package/dist/types/types/routing/routing-events.d.ts +23 -0
- package/dist/types/types/routing/routing-events.d.ts.map +1 -0
- package/dist/types/types/routing/routing-state.d.ts +52 -0
- package/dist/types/types/routing/routing-state.d.ts.map +1 -0
- package/dist/types/types/rsi/add-digit-coll-criteria.d.ts +17 -0
- package/dist/types/types/rsi/add-digit-coll-criteria.d.ts.map +1 -0
- package/dist/types/types/rsi/collection-cause.d.ts +22 -0
- package/dist/types/types/rsi/collection-cause.d.ts.map +1 -0
- package/dist/types/types/rsi/route-session.d.ts +21 -0
- package/dist/types/types/rsi/route-session.d.ts.map +1 -0
- package/dist/types/types/rsi/routing-caller-type.d.ts +18 -0
- package/dist/types/types/rsi/routing-caller-type.d.ts.map +1 -0
- package/dist/types/types/rsi/routing-reason.d.ts +26 -0
- package/dist/types/types/rsi/routing-reason.d.ts.map +1 -0
- package/dist/types/types/rsi/rsi-events.d.ts +47 -0
- package/dist/types/types/rsi/rsi-events.d.ts.map +1 -0
- package/dist/types/types/rsi/rsi-point.d.ts +17 -0
- package/dist/types/types/rsi/rsi-point.d.ts.map +1 -0
- package/dist/types/types/rsi/tones.d.ts +26 -0
- package/dist/types/types/rsi/tones.d.ts.map +1 -0
- package/dist/types/types/telephony/RecordingAction.d.ts +7 -0
- package/dist/types/types/telephony/RecordingAction.d.ts.map +1 -0
- package/dist/types/types/telephony/call/call-cause.d.ts +123 -0
- package/dist/types/types/telephony/call/call-cause.d.ts.map +1 -0
- package/dist/types/types/telephony/call/call-data.d.ts +81 -0
- package/dist/types/types/telephony/call/call-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts +35 -0
- package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/acd-data.d.ts +50 -0
- package/dist/types/types/telephony/call/ccd/acd-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/call-profile.d.ts +112 -0
- package/dist/types/types/telephony/call/ccd/call-profile.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-info.d.ts +43 -0
- package/dist/types/types/telephony/call/ccd/pilot-info.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-status.d.ts +38 -0
- package/dist/types/types/telephony/call/ccd/pilot-status.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts +24 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts +104 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/queue-data.d.ts +23 -0
- package/dist/types/types/telephony/call/ccd/queue-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/correlator-data.d.ts +54 -0
- package/dist/types/types/telephony/call/correlator-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/leg.d.ts +57 -0
- package/dist/types/types/telephony/call/leg.d.ts.map +1 -0
- package/dist/types/types/telephony/call/media-state.d.ts +42 -0
- package/dist/types/types/telephony/call/media-state.d.ts.map +1 -0
- package/dist/types/types/telephony/call/participant.d.ts +34 -0
- package/dist/types/types/telephony/call/participant.d.ts.map +1 -0
- package/dist/types/types/telephony/call/record-state.d.ts +14 -0
- package/dist/types/types/telephony/call/record-state.d.ts.map +1 -0
- package/dist/types/types/telephony/call/tag.d.ts +37 -0
- package/dist/types/types/telephony/call/tag.d.ts.map +1 -0
- package/dist/types/types/telephony/call.d.ts +90 -0
- package/dist/types/types/telephony/call.d.ts.map +1 -0
- package/dist/types/types/telephony/callback.d.ts +33 -0
- package/dist/types/types/telephony/callback.d.ts.map +1 -0
- package/dist/types/types/telephony/device/device-state.d.ts +30 -0
- package/dist/types/types/telephony/device/device-state.d.ts.map +1 -0
- package/dist/types/types/telephony/device/operational-state.d.ts +18 -0
- package/dist/types/types/telephony/device/operational-state.d.ts.map +1 -0
- package/dist/types/types/telephony/hunting-group-status.d.ts +25 -0
- package/dist/types/types/telephony/hunting-group-status.d.ts.map +1 -0
- package/dist/types/types/telephony/hunting-groups.d.ts +33 -0
- package/dist/types/types/telephony/hunting-groups.d.ts.map +1 -0
- package/dist/types/types/telephony/mini-message.d.ts +37 -0
- package/dist/types/types/telephony/mini-message.d.ts.map +1 -0
- package/dist/types/types/telephony/telephonic-state.d.ts +34 -0
- package/dist/types/types/telephony/telephonic-state.d.ts.map +1 -0
- package/dist/types/types/telephony/telephony-events.d.ts +223 -0
- package/dist/types/types/telephony/telephony-events.d.ts.map +1 -0
- package/dist/types/types/telephony/trunk-indentification.d.ts +19 -0
- package/dist/types/types/telephony/trunk-indentification.d.ts.map +1 -0
- package/dist/types/types/telephony/user/user-state.d.ts +18 -0
- package/dist/types/types/telephony/user/user-state.d.ts.map +1 -0
- package/dist/types/types/users/preferences.d.ts +29 -0
- package/dist/types/types/users/preferences.d.ts.map +1 -0
- package/dist/types/types/users/supported-languages.d.ts +29 -0
- package/dist/types/types/users/supported-languages.d.ts.map +1 -0
- package/dist/types/types/users/user.d.ts +67 -0
- package/dist/types/types/users/user.d.ts.map +1 -0
- package/dist/types/types/users/users-events.d.ts +78 -0
- package/dist/types/types/users/users-events.d.ts.map +1 -0
- package/dist/types/types/users/voicemail-type.d.ts +18 -0
- package/dist/types/types/users/voicemail-type.d.ts.map +1 -0
- package/dist/types/types/users/voicemail.d.ts +20 -0
- package/dist/types/types/users/voicemail.d.ts.map +1 -0
- package/package.json +6 -4
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Notification sent each time the user's counters have changed.
|
|
3
|
+
*/
|
|
4
|
+
export type OnEventSummaryUpdatedJson = {
|
|
5
|
+
/**
|
|
6
|
+
* Login name of the user (identifier which can be used for filtering).
|
|
7
|
+
*/
|
|
8
|
+
loginName: string;
|
|
9
|
+
/**
|
|
10
|
+
* The new event summary.
|
|
11
|
+
*/
|
|
12
|
+
eventSummary: EventSummaryJson;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=eventsummary-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eventsummary-types.d.ts","sourceRoot":"","sources":["../../../../../src/internal/types/eventsummary/eventsummary-types.ts"],"names":[],"mappings":"AAuEA;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,EAAE,gBAAgB,CAAC;CAClC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maint-types.d.ts","sourceRoot":"","sources":["../../../../../src/internal/types/maint/maint-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messaging-types.d.ts","sourceRoot":"","sources":["../../../../../src/internal/types/messaging/messaging-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pbxmngt-types.d.ts","sourceRoot":"","sources":["../../../../../src/internal/types/pbxmngt/pbxmngt-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phoneset-types.d.ts","sourceRoot":"","sources":["../../../../../src/internal/types/phoneset/phoneset-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routing-types.d.ts","sourceRoot":"","sources":["../../../../../src/internal/types/routing/routing-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rsi-types.d.ts","sourceRoot":"","sources":["../../../../../src/internal/types/rsi/rsi-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"telephony-types.d.ts","sourceRoot":"","sources":["../../../../../src/internal/types/telephony/telephony-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users-types.d.ts","sourceRoot":"","sources":["../../../../../src/internal/types/users/users-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IHttpClient.d.ts","sourceRoot":"","sources":["../../../../src/internal/util/IHttpClient.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../../../../src/internal/util/assert.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-utils.d.ts","sourceRoot":"","sources":["../../../../src/internal/util/file-utils.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-util.d.ts","sourceRoot":"","sources":["../../../../src/internal/util/format-util.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hexa-string.d.ts","sourceRoot":"","sources":["../../../../src/internal/util/hexa-string.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-client.d.ts","sourceRoot":"","sources":["../../../../src/internal/util/http-client.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-content.d.ts","sourceRoot":"","sources":["../../../../src/internal/util/http-content.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-response.d.ts","sourceRoot":"","sources":["../../../../src/internal/util/http-response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"injection-container.d.ts","sourceRoot":"","sources":["../../../../src/internal/util/injection-container.ts"],"names":[],"mappings":"AAmBA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAQtC,QAAA,MAAM,gBAAgB,WAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../src/internal/util/logger.ts"],"names":[],"mappings":";;;yBAkLyB,QAAQ;;AAHjC,wBAYE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util-uri.d.ts","sourceRoot":"","sources":["../../../../src/internal/util/util-uri.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Incident } from './types/analytics/incident';
|
|
2
|
+
import { ChargingFile } from './types/analytics/charging-file';
|
|
3
|
+
import { ChargingResult } from './types/analytics/charging-result';
|
|
4
|
+
import { DateRange } from './types/common/date-range';
|
|
5
|
+
/**
|
|
6
|
+
* The Analytics service allows to retrieve OmniPCX entreprise charging information and incidents.
|
|
7
|
+
* <p>Using this service requires having a <b>ANALYTICS</b> license. This service requires an administrative login.
|
|
8
|
+
* <p>
|
|
9
|
+
* O2G uses SSH to get the information from an OmniPCX Enterprise node. So
|
|
10
|
+
* <b>SSH must be enabled</b> on the OmniPCX Enterprise node to use this
|
|
11
|
+
* service.
|
|
12
|
+
*/
|
|
13
|
+
export declare class Analytics {
|
|
14
|
+
#private;
|
|
15
|
+
/**
|
|
16
|
+
* Returns a list of incidents from the specified OmniPCX Enterprise node.
|
|
17
|
+
* @param nodeId the OmniPCX Enterprise node id
|
|
18
|
+
* @param last the number of incidents to retrieve
|
|
19
|
+
*/
|
|
20
|
+
getIncidents(nodeId: number, last?: number): Promise<Array<Incident> | null>;
|
|
21
|
+
/**
|
|
22
|
+
* Get the list of charging file from the specified node, using the time range filter.
|
|
23
|
+
* @param nodeId the OmniPCX Enterprise node id
|
|
24
|
+
* @param filter time range filter
|
|
25
|
+
* @see {@link getChargingsFromFiles}
|
|
26
|
+
*/
|
|
27
|
+
getChargingFiles(nodeId: number, filter?: DateRange | null): Promise<Array<ChargingFile> | null>;
|
|
28
|
+
/**
|
|
29
|
+
* Query the charging information for the specified node, using the specified options.
|
|
30
|
+
* <p>
|
|
31
|
+
* If 'all' is set to 'true', all the tickets are returned, including the zero cost ticket, and with the called party; If 'all' is
|
|
32
|
+
* set to 'false', the total of charging info is returned for each user, the call number giving the number of calls with non null charging cost.
|
|
33
|
+
* <p>
|
|
34
|
+
* The request processes charging files on the OmniPCX Enterprise. The processing is limited to a maximum of 100 files for performance reason. If
|
|
35
|
+
* the range filter is too large and the number of file to process is greater than 100, the method fails and returns 'null'. In this case, a smaller
|
|
36
|
+
* range must be specified.
|
|
37
|
+
*
|
|
38
|
+
* @param nodeId the OmniPCX Enterprise node id
|
|
39
|
+
* @param filter a time range filter
|
|
40
|
+
* @param topResults allows to return only the 'top N' tickets
|
|
41
|
+
* @param all 'true' to include tickets with a 0 cost
|
|
42
|
+
*/
|
|
43
|
+
getChargingsFromFilter(nodeId: number, filter?: DateRange | null, topResults?: number | null, all?: boolean): Promise<ChargingResult | null>;
|
|
44
|
+
/**
|
|
45
|
+
* Query the charging information for the specified node, using the specified charging files. The charging files can be retrieved with {@link getChargingFiles}.
|
|
46
|
+
* <p>
|
|
47
|
+
* If 'all' is set to 'true', all the tickets are returned, including the zero cost ticket, and with the called party; If 'all' is
|
|
48
|
+
* set to 'false', the total of charging info is returned for each user, the call number giving the number of calls with non null charging cost.
|
|
49
|
+
* <p>
|
|
50
|
+
* The request processes charging files on the OmniPCX Enterprise. The processing is limited to a maximum of 100 files for performance reason. If
|
|
51
|
+
* the range filter is too large and the number of file to process is greater than 100, the method fails and returns 'null'. In this case, a smaller
|
|
52
|
+
* range must be specified.
|
|
53
|
+
*
|
|
54
|
+
* @param nodeId the OmniPCX Enterprise node id
|
|
55
|
+
* @param files the list of file to process
|
|
56
|
+
* @param topResults allows to return only the 'top N' tickets
|
|
57
|
+
* @param all 'true' to include tickets with a 0 cost
|
|
58
|
+
*/
|
|
59
|
+
getChargingsFromFiles(nodeId: number, files: Array<ChargingFile>, topResults?: number | null, all?: boolean): Promise<ChargingResult | null>;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=o2g-analytics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"o2g-analytics.d.ts","sourceRoot":"","sources":["../../src/o2g-analytics.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD;;;;;;;GAOG;AACH,qBAAa,SAAS;;IAWlB;;;;OAIG;IACG,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,GAAE,MAAU,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC;IAIrF;;;;;OAKG;IACG,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,GAAE,SAAS,GAAG,IAAW,GAAG,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;IAI5G;;;;;;;;;;;;;;OAcG;IACG,sBAAsB,CACxB,MAAM,EAAE,MAAM,EACd,MAAM,GAAE,SAAS,GAAG,IAAW,EAC/B,UAAU,GAAE,MAAM,GAAG,IAAW,EAChC,GAAG,GAAE,OAAe,GACrB,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAIjC;;;;;;;;;;;;;;OAcG;IACG,qBAAqB,CACvB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,EAC1B,UAAU,GAAE,MAAM,GAAG,IAAW,EAChC,GAAG,GAAE,OAAe,GACrB,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;CAGpC"}
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import { IntrusionMode } from './types/cc-agent/intrusion-mode';
|
|
2
|
+
import EventEmitter from 'events';
|
|
3
|
+
import { OperatorConfig } from './types/cc-agent/operator-config';
|
|
4
|
+
import { OperatorState } from './types/cc-agent/operator-state';
|
|
5
|
+
import { WithdrawReason } from './types/cc-agent/withdraw-reason';
|
|
6
|
+
/**
|
|
7
|
+
* CallCenterAgent provides services for CCD operators. Using this
|
|
8
|
+
* service requires having a <b>CONTACTCENTER_AGENT</b> license.
|
|
9
|
+
*/
|
|
10
|
+
export declare class CallCenterAgent extends EventEmitter {
|
|
11
|
+
#private;
|
|
12
|
+
/**
|
|
13
|
+
* Occurs when an agent state has changed.
|
|
14
|
+
* @event
|
|
15
|
+
*/
|
|
16
|
+
static readonly ON_AGENT_STATE_CHANGED = "OnAgentStateChanged";
|
|
17
|
+
/**
|
|
18
|
+
* Occurs when CCD agent skills are modified: one or several skills have been activated or deactivated.
|
|
19
|
+
* @event
|
|
20
|
+
*/
|
|
21
|
+
static readonly ON_AGENT_SKILL_CHANGED = "OnAgentSkillChanged";
|
|
22
|
+
/**
|
|
23
|
+
* Occurs when an agent requests help from their supervisor.
|
|
24
|
+
* @see requestPermanentListening
|
|
25
|
+
* @see requestSupervisorHelp
|
|
26
|
+
* @event
|
|
27
|
+
*/
|
|
28
|
+
static readonly ON_SUPERVISOR_HELP_REQUESTED = "OnSupervisorHelpRequested";
|
|
29
|
+
/**
|
|
30
|
+
* Occurs when an agent has requested the assistance of their supervisor and the request
|
|
31
|
+
* is cancelled by the agent, or rejected by the supervisor.
|
|
32
|
+
* @see cancelSupervisorHelpRequest
|
|
33
|
+
* @see rejectAgentHelpRequest
|
|
34
|
+
* @event
|
|
35
|
+
*/
|
|
36
|
+
static readonly ON_SUPERVISOR_HELP_CANCELLED = "OnSupervisorHelpCancelled";
|
|
37
|
+
/**
|
|
38
|
+
* Gets the operator configuration.
|
|
39
|
+
* <p>
|
|
40
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
41
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
42
|
+
*
|
|
43
|
+
* @param loginName the operator login name
|
|
44
|
+
* @returns the {@link OperatorConfig} on success; `null` otherwise.
|
|
45
|
+
*/
|
|
46
|
+
getConfiguration(loginName?: string | null): Promise<OperatorConfig | null>;
|
|
47
|
+
/**
|
|
48
|
+
* Gets the specified agent or supervisor state.
|
|
49
|
+
* <p>
|
|
50
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
51
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
52
|
+
*
|
|
53
|
+
* @param loginName the operator login name
|
|
54
|
+
* @returns the {@link OperatorState} on success; `null` otherwise.
|
|
55
|
+
*/
|
|
56
|
+
getState(loginName?: string | null): Promise<OperatorState | null>;
|
|
57
|
+
/**
|
|
58
|
+
* Logs on an agent or a supervisor.
|
|
59
|
+
* <p>
|
|
60
|
+
* For a supervisor, if `pgNumber` is omitted, the supervisor is logged on out of group.
|
|
61
|
+
* <p>
|
|
62
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
63
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* ```typescript
|
|
67
|
+
* // Log on an agent to processing group "pg001" with headset mode
|
|
68
|
+
* await O2G.callCenterAgent.logon("acd001", "pg001", true);
|
|
69
|
+
*
|
|
70
|
+
* // Log on a supervisor out of group (no pgNumber)
|
|
71
|
+
* await O2G.callCenterAgent.logon("acd001");
|
|
72
|
+
*
|
|
73
|
+
* // Administrator logging on an agent on behalf of a user
|
|
74
|
+
* await O2G.callCenterAgent.logon("acd001", "pg001", false, "jdoe");
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param proAcdNumber the pro-ACD device number
|
|
78
|
+
* @param pgNumber the agent processing group number
|
|
79
|
+
* @param headset activate the headset mode
|
|
80
|
+
* @param loginName the CCD operator login name
|
|
81
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
82
|
+
* @see logoff
|
|
83
|
+
*/
|
|
84
|
+
logon(proAcdNumber: string, pgNumber?: string | null, headset?: boolean, loginName?: string | null): Promise<boolean>;
|
|
85
|
+
/**
|
|
86
|
+
* Logs off an agent or a supervisor.
|
|
87
|
+
* <p>
|
|
88
|
+
* This method does nothing and returns `true` if the agent or supervisor is already logged off.
|
|
89
|
+
* <p>
|
|
90
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
91
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
92
|
+
*
|
|
93
|
+
* @param loginName the CCD operator login name
|
|
94
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
95
|
+
* @see logon
|
|
96
|
+
*/
|
|
97
|
+
logoff(loginName?: string | null): Promise<boolean>;
|
|
98
|
+
/**
|
|
99
|
+
* Enters an agent group. Only for a supervisor.
|
|
100
|
+
* <p>
|
|
101
|
+
* This method is used by a supervisor to enter an agent group when in
|
|
102
|
+
* pre-assigned state (logged on but not in an agent group).
|
|
103
|
+
* <p>
|
|
104
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
105
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
106
|
+
*
|
|
107
|
+
* @param pgNumber the agent processing group number
|
|
108
|
+
* @param loginName the supervisor login name
|
|
109
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
110
|
+
* @see exit
|
|
111
|
+
*/
|
|
112
|
+
enter(pgNumber: string, loginName?: string | null): Promise<boolean>;
|
|
113
|
+
/**
|
|
114
|
+
* Exits from an agent group. Only for a supervisor.
|
|
115
|
+
* <p>
|
|
116
|
+
* This method is used by a supervisor to leave an agent group and go back to
|
|
117
|
+
* pre-assigned state (logged on but not in an agent group).
|
|
118
|
+
* <p>
|
|
119
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
120
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
121
|
+
*
|
|
122
|
+
* @param loginName the supervisor login name
|
|
123
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
124
|
+
* @see enter
|
|
125
|
+
*/
|
|
126
|
+
exit(loginName?: string | null): Promise<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* Puts the specified agent in wrapup state.
|
|
129
|
+
* <p>
|
|
130
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
131
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
132
|
+
*
|
|
133
|
+
* @param loginName the agent login name
|
|
134
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
135
|
+
*/
|
|
136
|
+
setWrapup(loginName?: string | null): Promise<boolean>;
|
|
137
|
+
/**
|
|
138
|
+
* Puts the specified agent in ready state.
|
|
139
|
+
* <p>
|
|
140
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
141
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
142
|
+
*
|
|
143
|
+
* @param loginName the agent login name
|
|
144
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
145
|
+
*/
|
|
146
|
+
setReady(loginName?: string | null): Promise<boolean>;
|
|
147
|
+
/**
|
|
148
|
+
* Puts the specified agent in pause state.
|
|
149
|
+
* <p>
|
|
150
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
151
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
152
|
+
*
|
|
153
|
+
* @param loginName the agent login name
|
|
154
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
155
|
+
*/
|
|
156
|
+
setPause(loginName?: string | null): Promise<boolean>;
|
|
157
|
+
/**
|
|
158
|
+
* Requests a supervisor to listen to the specified agent.
|
|
159
|
+
* <p>
|
|
160
|
+
* On success, an {@link ON_SUPERVISOR_HELP_REQUESTED} event is raised for both the agent and the supervisor.
|
|
161
|
+
* <p>
|
|
162
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
163
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* ```typescript
|
|
167
|
+
* // Start permanent listening on agent "5001"
|
|
168
|
+
* await O2G.callCenterAgent.requestPermanentListening("5001");
|
|
169
|
+
*
|
|
170
|
+
* // Listen to events to know when listening is established
|
|
171
|
+
* O2G.callCenterAgent.on(CallCenterAgent.ON_SUPERVISOR_HELP_REQUESTED, (event) => {
|
|
172
|
+
* console.log("Listening established");
|
|
173
|
+
* });
|
|
174
|
+
*
|
|
175
|
+
* // Cancel the listening when done
|
|
176
|
+
* await O2G.callCenterAgent.cancelPermanentListening();
|
|
177
|
+
* ```
|
|
178
|
+
*
|
|
179
|
+
* @param agentNumber the extension number of the agent to listen to
|
|
180
|
+
* @param loginName the supervisor login name
|
|
181
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
182
|
+
* @see cancelPermanentListening
|
|
183
|
+
*/
|
|
184
|
+
requestPermanentListening(agentNumber: string, loginName?: string | null): Promise<boolean>;
|
|
185
|
+
/**
|
|
186
|
+
* Cancels a permanent listening by a supervisor.
|
|
187
|
+
* <p>
|
|
188
|
+
* On success, an {@link ON_SUPERVISOR_HELP_CANCELLED} event is raised for both the agent and the supervisor.
|
|
189
|
+
* <p>
|
|
190
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
191
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
192
|
+
*
|
|
193
|
+
* @param loginName the supervisor login name
|
|
194
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
195
|
+
* @see requestPermanentListening
|
|
196
|
+
*/
|
|
197
|
+
cancelPermanentListening(loginName?: string | null): Promise<boolean>;
|
|
198
|
+
/**
|
|
199
|
+
* Requests an intrusion in a CCD call.
|
|
200
|
+
* <p>
|
|
201
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
202
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
203
|
+
*
|
|
204
|
+
* @example
|
|
205
|
+
* ```typescript
|
|
206
|
+
* // Intrude on agent "5001" in normal mode
|
|
207
|
+
* await O2G.callCenterAgent.requestIntrusion("5001");
|
|
208
|
+
*
|
|
209
|
+
* // Intrude in coach mode (agent hears supervisor, caller does not)
|
|
210
|
+
* await O2G.callCenterAgent.requestIntrusion("5001", IntrusionMode.COACH);
|
|
211
|
+
*
|
|
212
|
+
* // Switch from coach mode to normal intrusion
|
|
213
|
+
* await O2G.callCenterAgent.changeIntrusionMode(IntrusionMode.NORMAL);
|
|
214
|
+
*
|
|
215
|
+
* // Cancel the intrusion by passing the current mode
|
|
216
|
+
* await O2G.callCenterAgent.changeIntrusionMode(IntrusionMode.NORMAL);
|
|
217
|
+
* ```
|
|
218
|
+
*
|
|
219
|
+
* @param agentNumber the extension number of the CCD agent answering the call
|
|
220
|
+
* @param intrusionMode the intrusion mode
|
|
221
|
+
* @param loginName the supervisor login name
|
|
222
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
223
|
+
* @see changeIntrusionMode
|
|
224
|
+
*/
|
|
225
|
+
requestIntrusion(agentNumber: string, intrusionMode?: IntrusionMode, loginName?: string | null): Promise<boolean>;
|
|
226
|
+
/**
|
|
227
|
+
* Changes the intrusion mode.
|
|
228
|
+
* <p>
|
|
229
|
+
* This method allows changing the intrusion mode or cancelling an intrusion.
|
|
230
|
+
* To cancel an intrusion, pass the current mode in the `newIntrusionMode` parameter.
|
|
231
|
+
* <p>
|
|
232
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
233
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
234
|
+
*
|
|
235
|
+
* @param newIntrusionMode the new intrusion mode
|
|
236
|
+
* @param loginName the supervisor login name
|
|
237
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
238
|
+
* @see requestIntrusion
|
|
239
|
+
*/
|
|
240
|
+
changeIntrusionMode(newIntrusionMode: IntrusionMode, loginName?: string | null): Promise<boolean>;
|
|
241
|
+
/**
|
|
242
|
+
* Requests help from the supervisor.
|
|
243
|
+
* <p>
|
|
244
|
+
* On success, an {@link ON_SUPERVISOR_HELP_REQUESTED} event is raised for both the agent and the supervisor.
|
|
245
|
+
* <p>
|
|
246
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
247
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
248
|
+
*
|
|
249
|
+
* @param loginName the agent login name
|
|
250
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
251
|
+
* @see cancelSupervisorHelpRequest
|
|
252
|
+
*/
|
|
253
|
+
requestSupervisorHelp(loginName?: string | null): Promise<boolean>;
|
|
254
|
+
/**
|
|
255
|
+
* Rejects a help request from an agent.
|
|
256
|
+
* <p>
|
|
257
|
+
* This method is invoked by a supervisor to reject a help request from an agent.
|
|
258
|
+
* On success, an {@link ON_SUPERVISOR_HELP_CANCELLED} event is raised.
|
|
259
|
+
* <p>
|
|
260
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
261
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
262
|
+
*
|
|
263
|
+
* @param agentNumber the extension number of the agent who requested help
|
|
264
|
+
* @param loginName the supervisor login name
|
|
265
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
266
|
+
* @see cancelSupervisorHelpRequest
|
|
267
|
+
*/
|
|
268
|
+
rejectAgentHelpRequest(agentNumber: string, loginName?: string | null): Promise<boolean>;
|
|
269
|
+
/**
|
|
270
|
+
* Cancels a supervisor help request.
|
|
271
|
+
* <p>
|
|
272
|
+
* This method is invoked by an agent to cancel a help request.
|
|
273
|
+
* On success, an {@link ON_SUPERVISOR_HELP_CANCELLED} event is raised.
|
|
274
|
+
* <p>
|
|
275
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
276
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
277
|
+
*
|
|
278
|
+
* @param supervisorNumber the extension number of the requested supervisor
|
|
279
|
+
* @param loginName the agent login name
|
|
280
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
281
|
+
* @see requestSupervisorHelp
|
|
282
|
+
*/
|
|
283
|
+
cancelSupervisorHelpRequest(supervisorNumber: string, loginName?: string | null): Promise<boolean>;
|
|
284
|
+
/**
|
|
285
|
+
* Asks a snapshot event to receive an {@link ON_AGENT_STATE_CHANGED} event.
|
|
286
|
+
* <p>
|
|
287
|
+
* The {@link ON_AGENT_STATE_CHANGED} event contains the operator {@link OperatorState}.
|
|
288
|
+
* If a second request is asked while the previous one is still in progress, it has no effect.
|
|
289
|
+
* <p>
|
|
290
|
+
* If an administrator invokes this method with `loginName` set to `null`, the snapshot
|
|
291
|
+
* request is done for all agents. The event processing can be long depending on the number
|
|
292
|
+
* of users.
|
|
293
|
+
*
|
|
294
|
+
* @param loginName the agent login name
|
|
295
|
+
* @returns `true` if the request was successfully submitted; `false` otherwise.
|
|
296
|
+
*/
|
|
297
|
+
requestSnapshot(loginName?: string | null): Promise<boolean>;
|
|
298
|
+
/**
|
|
299
|
+
* Activates the specified skills.
|
|
300
|
+
* <p>
|
|
301
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
302
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
303
|
+
* <p>
|
|
304
|
+
* This method does not validate skill numbers. If a skill number is invalid
|
|
305
|
+
* (not assigned to the operator), it is ignored and the method returns `true`.
|
|
306
|
+
*
|
|
307
|
+
* @example
|
|
308
|
+
* ```typescript
|
|
309
|
+
* // Activate skills 1, 2 and 5 for the current user
|
|
310
|
+
* await O2G.callCenterAgent.activateSkills([1, 2, 5]);
|
|
311
|
+
*
|
|
312
|
+
* // Activate skills for a specific agent (administrator session)
|
|
313
|
+
* await O2G.callCenterAgent.activateSkills([1, 2, 5], "jdoe");
|
|
314
|
+
*
|
|
315
|
+
* // Invalid skill numbers are silently ignored — this still returns true
|
|
316
|
+
* await O2G.callCenterAgent.activateSkills([1, 99, 100]);
|
|
317
|
+
* ```
|
|
318
|
+
*
|
|
319
|
+
* @param skillNumbers the list of skill numbers to activate
|
|
320
|
+
* @param loginName the agent login name
|
|
321
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
322
|
+
* @see deactivateSkills
|
|
323
|
+
*/
|
|
324
|
+
activateSkills(skillNumbers: number[], loginName?: string | null): Promise<boolean>;
|
|
325
|
+
/**
|
|
326
|
+
* Deactivates the specified skills.
|
|
327
|
+
* <p>
|
|
328
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
329
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
330
|
+
* <p>
|
|
331
|
+
* This method does not validate skill numbers. If a skill number is invalid
|
|
332
|
+
* (not assigned to the operator), it is ignored and the method returns `true`.
|
|
333
|
+
*
|
|
334
|
+
* @param skillNumbers the list of skill numbers to deactivate
|
|
335
|
+
* @param loginName the agent login name
|
|
336
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
337
|
+
* @see activateSkills
|
|
338
|
+
*/
|
|
339
|
+
deactivateSkills(skillNumbers: number[], loginName?: string | null): Promise<boolean>;
|
|
340
|
+
/**
|
|
341
|
+
* Returns the list of withdraw reasons for the specified processing group.
|
|
342
|
+
* <p>
|
|
343
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
344
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
345
|
+
*
|
|
346
|
+
* @param pgNumber the agent processing group number
|
|
347
|
+
* @param loginName the agent login name
|
|
348
|
+
* @returns the list of {@link WithdrawReason} objects on success; `null` otherwise.
|
|
349
|
+
* @see setWithdraw
|
|
350
|
+
*/
|
|
351
|
+
getWithdrawReasons(pgNumber: string, loginName?: string | null): Promise<WithdrawReason[] | null>;
|
|
352
|
+
/**
|
|
353
|
+
* Withdraws an agent with the specified reason.
|
|
354
|
+
* <p>
|
|
355
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
356
|
+
* ignored, but it is mandatory if the session has been opened by an administrator.
|
|
357
|
+
*
|
|
358
|
+
* @example
|
|
359
|
+
* ```typescript
|
|
360
|
+
* // First retrieve the available withdraw reasons for the processing group
|
|
361
|
+
* const reasons = await O2G.callCenterAgent.getWithdrawReasons("pg001");
|
|
362
|
+
*
|
|
363
|
+
* // Then withdraw the agent using one of the returned reasons
|
|
364
|
+
* if (reasons && reasons.length > 0) {
|
|
365
|
+
* await O2G.callCenterAgent.setWithdraw(reasons[0]);
|
|
366
|
+
* }
|
|
367
|
+
* ```
|
|
368
|
+
*
|
|
369
|
+
* @param reason the withdraw reason
|
|
370
|
+
* @param loginName the agent login name
|
|
371
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
372
|
+
* @see getWithdrawReasons
|
|
373
|
+
*/
|
|
374
|
+
setWithdraw(reason: WithdrawReason, loginName?: string | null): Promise<boolean>;
|
|
375
|
+
}
|
|
376
|
+
//# sourceMappingURL=o2g-cc-agent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"o2g-cc-agent.d.ts","sourceRoot":"","sources":["../../src/o2g-cc-agent.ts"],"names":[],"mappings":"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"}
|