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
package/package.json
CHANGED
|
@@ -1,21 +1,54 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "o2g-node-sdk",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "A Node.js
|
|
3
|
+
"version": "2.4.1",
|
|
4
|
+
"description": "A Node.js SDK for the ALE International O2G (OmniPCX OpenTouch Gateway) platform.",
|
|
5
5
|
"main": "dist/o2g-node-sdk.js",
|
|
6
|
+
"types": "dist/types/o2g-node-sdk.d.ts",
|
|
6
7
|
"scripts": {
|
|
7
|
-
"tsc": "tsc",
|
|
8
8
|
"build": "webpack --config webpack.config.js",
|
|
9
9
|
"docs": "typedoc --options typedoc.json",
|
|
10
|
-
"
|
|
10
|
+
"publish:docs": "gh-pages -d docs",
|
|
11
|
+
"clean": "rimraf dist docs",
|
|
12
|
+
"test": "jest",
|
|
13
|
+
"test:watch": "jest --watch",
|
|
14
|
+
"format": "prettier --write \"src/**/*.ts\""
|
|
11
15
|
},
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
"files": [
|
|
17
|
+
"dist/o2g-node-sdk.js",
|
|
18
|
+
"dist/o2g-node-sdk.js.map",
|
|
19
|
+
"dist/types"
|
|
20
|
+
],
|
|
21
|
+
"keywords": [
|
|
22
|
+
"o2g",
|
|
23
|
+
"opentouch",
|
|
24
|
+
"omnipcx",
|
|
25
|
+
"ale",
|
|
26
|
+
"telephony",
|
|
27
|
+
"call-center",
|
|
28
|
+
"ccd",
|
|
29
|
+
"pbx"
|
|
30
|
+
],
|
|
31
|
+
"author": "ALE International",
|
|
32
|
+
"license": "MIT",
|
|
15
33
|
"type": "commonjs",
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "https://github.com/ALE-OPENNESS/o2g-node-sdk.git"
|
|
37
|
+
},
|
|
38
|
+
"homepage": "https://github.com/ALE-OPENNESS/o2g-node-sdk#readme",
|
|
39
|
+
"bugs": {
|
|
40
|
+
"url": "https://github.com/ALE-OPENNESS/o2g-node-sdk/issues"
|
|
41
|
+
},
|
|
16
42
|
"devDependencies": {
|
|
43
|
+
"@types/adm-zip": "^0.5.7",
|
|
44
|
+
"@types/jest": "^30.0.0",
|
|
17
45
|
"@types/node": "^24.0.13",
|
|
18
46
|
"@types/node-fetch": "^2.6.12",
|
|
47
|
+
"gh-pages": "^6.3.0",
|
|
48
|
+
"jest": "^30.2.0",
|
|
49
|
+
"prettier": "^3.8.1",
|
|
50
|
+
"rimraf": "^6.1.2",
|
|
51
|
+
"ts-jest": "^29.4.6",
|
|
19
52
|
"ts-loader": "^9.5.2",
|
|
20
53
|
"typedoc": "^0.28.7",
|
|
21
54
|
"typescript": "^5.8.3",
|
|
@@ -23,6 +56,7 @@
|
|
|
23
56
|
"webpack-cli": "^6.0.1"
|
|
24
57
|
},
|
|
25
58
|
"dependencies": {
|
|
59
|
+
"adm-zip": "^0.5.16",
|
|
26
60
|
"fetch-cookie": "^3.1.0",
|
|
27
61
|
"inversify": "^7.6.1",
|
|
28
62
|
"node-fetch": "^3.3.2",
|
package/dist/o2g-cc-agent.d.ts
DELETED
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
import { IntrusionMode } from "./types/cc-agent/intrusion-mode";
|
|
2
|
-
import CallCenterAgentRest from "./internal/rest/ccAgent-rest";
|
|
3
|
-
import { OperatorConfig, OperatorState } from "./types/cc-agent/cc-agent-types";
|
|
4
|
-
import { WithdrawReason } from "./types/cc-agent/cc-agent-types";
|
|
5
|
-
import EventEmitter from "events";
|
|
6
|
-
import { EventRegistry } from "./internal/events/event-dispatcher";
|
|
7
|
-
/**
|
|
8
|
-
* CallCenterAgent provides services for CCD operators. Using this
|
|
9
|
-
* service requires having a <b>CONTACTCENTER_AGENT</b> license.
|
|
10
|
-
*/
|
|
11
|
-
export declare class CallCenterAgent extends EventEmitter {
|
|
12
|
-
private readonly _ccAgentRest;
|
|
13
|
-
/**
|
|
14
|
-
* Occurs when an agent state has changed.
|
|
15
|
-
* @event
|
|
16
|
-
*/
|
|
17
|
-
static readonly ON_AGENT_STATE_CHANGED = "OnAgentStateChanged";
|
|
18
|
-
/**
|
|
19
|
-
* Occurs when when CCD agent skills is modified: one or several skills has been activate or deactivate.
|
|
20
|
-
* @event
|
|
21
|
-
*/
|
|
22
|
-
static readonly ON_AGENT_SKILL_CHANGED = "OnAgentSkillChanged";
|
|
23
|
-
/**
|
|
24
|
-
* Occurs when an agent request help from his supervisor.
|
|
25
|
-
* @see {@link requestPermanentListening}, {@link requestSupervisorHelp}
|
|
26
|
-
* @event
|
|
27
|
-
*/
|
|
28
|
-
static readonly ON_SUPERVISOR_HELP_REQUESTED = "OnSupervisorHelpRequested";
|
|
29
|
-
/**
|
|
30
|
-
* Occurs when an agent has requested the assistance of his supervisor and when the request is canceled by the agent
|
|
31
|
-
* or when the request is rejected by the supervisor.
|
|
32
|
-
* @see {@link cancelSupervisorHelpRequest}, {@link rejectAgentHelpRequest}
|
|
33
|
-
* @event
|
|
34
|
-
*/
|
|
35
|
-
static readonly ON_SUPERVISOR_HELP_CANCELLED = "OnSupervisorHelpCancelled";
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
|
-
constructor(_ccAgentRest: CallCenterAgentRest, eventRegistry: EventRegistry);
|
|
41
|
-
/**
|
|
42
|
-
* Gets the operator configuration.
|
|
43
|
-
* @param loginName the operator login name
|
|
44
|
-
* @returns
|
|
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 ignored, but it is mandatory if the session has been opened by an administrator.
|
|
51
|
-
* @param loginName the operator login name
|
|
52
|
-
*/
|
|
53
|
-
getState(loginName?: string | null): Promise<OperatorState | null>;
|
|
54
|
-
/**
|
|
55
|
-
* Logon an agent or a supervisor.
|
|
56
|
-
* <p>
|
|
57
|
-
* For a Supervisor, if the 'pgNumber' is omitted, the supervisor is logged on out off group.
|
|
58
|
-
* <p>
|
|
59
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
60
|
-
*
|
|
61
|
-
* @param proAcdNumber the pro-acd device number
|
|
62
|
-
* @param pgNumber the agent processing group number
|
|
63
|
-
* @param headset activate the headset mode
|
|
64
|
-
* @param loginName the ccd operator login name.
|
|
65
|
-
*/
|
|
66
|
-
logon(proAcdNumber: string, pgNumber?: string | null, headset?: boolean, loginName?: string | null): Promise<boolean>;
|
|
67
|
-
/**
|
|
68
|
-
* Logoff an agent or a supervisor.
|
|
69
|
-
* <p>This method does nothing an returns 'true" if the agent or the supervisor is already logged off.
|
|
70
|
-
*
|
|
71
|
-
* <p>
|
|
72
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
73
|
-
* @param loginName the ccd operator login name.
|
|
74
|
-
*/
|
|
75
|
-
logoff(loginName?: string | null): Promise<boolean>;
|
|
76
|
-
/**
|
|
77
|
-
* Enters in a agent group. Only for a supervisor.
|
|
78
|
-
* <p>
|
|
79
|
-
* This method is used by a supervisor to enter an agent group when it is in
|
|
80
|
-
* pre-assigned state (logged but not in an agent group).
|
|
81
|
-
* <p>
|
|
82
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
83
|
-
* @param pgNumber the agent processing group number
|
|
84
|
-
* @param loginName the supervisor login name
|
|
85
|
-
*/
|
|
86
|
-
enter(pgNumber: string, loginName?: string | null): Promise<boolean>;
|
|
87
|
-
/**
|
|
88
|
-
* Exits from an agent group. Only for a supervisor.
|
|
89
|
-
* <p>
|
|
90
|
-
* This method is used by a supervisor to leave an agent group an go back in
|
|
91
|
-
* pre-assigned state (logged but not in an agent group).
|
|
92
|
-
* <p>
|
|
93
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
94
|
-
* @param loginName the supervisor login name
|
|
95
|
-
*/
|
|
96
|
-
exit(loginName?: string | null): Promise<boolean>;
|
|
97
|
-
/**
|
|
98
|
-
* Puts the specified agent in wrapup.
|
|
99
|
-
* <p>
|
|
100
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
101
|
-
* @param loginName the agent login name
|
|
102
|
-
*/
|
|
103
|
-
setWrapup(loginName?: string | null): Promise<boolean>;
|
|
104
|
-
/**
|
|
105
|
-
* Puts the specified agent in ready state.
|
|
106
|
-
* <p>
|
|
107
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
108
|
-
* @param loginName the agent login name
|
|
109
|
-
*/
|
|
110
|
-
setReady(loginName?: string | null): Promise<boolean>;
|
|
111
|
-
/**
|
|
112
|
-
* Puts the specified agent in pause.
|
|
113
|
-
* <p>
|
|
114
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
115
|
-
* @param loginName the agent login name
|
|
116
|
-
*/
|
|
117
|
-
setPause(loginName?: string | null): Promise<boolean>;
|
|
118
|
-
/**
|
|
119
|
-
* Requests to listen to the agent by a supervisor.
|
|
120
|
-
* <p>
|
|
121
|
-
* On success, an {@link ON_SUPERVISOR_HELP_REQUESTED} event is raised. for both the agent and the supervisor.
|
|
122
|
-
* <p>
|
|
123
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
124
|
-
* @param agentNumber the listened agent number
|
|
125
|
-
* @param loginName the supervisor login name
|
|
126
|
-
*/
|
|
127
|
-
requestPermanentListening(agentNumber: string, loginName?: string | null): Promise<boolean>;
|
|
128
|
-
/**
|
|
129
|
-
* Cancel a permanent listening by a supervisor.
|
|
130
|
-
* <p>
|
|
131
|
-
* On success, an {@link ON_SUPERVISOR_HELP_REQUESTED} event is raised. for both the agent and the supervisor.
|
|
132
|
-
* <p>
|
|
133
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
134
|
-
* @param loginName the supervisor login name
|
|
135
|
-
*/
|
|
136
|
-
cancelPermanentListening(loginName?: string | null): Promise<boolean>;
|
|
137
|
-
/**
|
|
138
|
-
* Requests intrusion in a ccd call.
|
|
139
|
-
* <p>
|
|
140
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
141
|
-
*
|
|
142
|
-
* @param agentNumber the extension number of the ccd agent who answers the
|
|
143
|
-
* ccd call
|
|
144
|
-
* @param intrusionMode the intrusion mode
|
|
145
|
-
* @param loginName the supervisor login name
|
|
146
|
-
*/
|
|
147
|
-
requestIntrusion(agentNumber: string, intrusionMode?: IntrusionMode, loginName?: string | null): Promise<boolean>;
|
|
148
|
-
/**
|
|
149
|
-
* Changes the intrusion mode.
|
|
150
|
-
* <p>
|
|
151
|
-
* Calling this method allows to change the intrusion mode, or to cancel an intrusion. To cancel an intrusion, the application must pass the current mode
|
|
152
|
-
* in the 'newIntrusionMode' parameter.
|
|
153
|
-
* <p>
|
|
154
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
155
|
-
*
|
|
156
|
-
* @param newIntrusionMode the new intrusion mode
|
|
157
|
-
* @param loginName the supervisor login name
|
|
158
|
-
*/
|
|
159
|
-
changeIntrusionMode(newIntrusionMode: IntrusionMode, loginName?: string | null): Promise<boolean>;
|
|
160
|
-
/**
|
|
161
|
-
* Requests help of the supervisor.
|
|
162
|
-
* <p>
|
|
163
|
-
* On success, an {@link ON_SUPERVISOR_HELP_REQUESTED} event is raised for both the agent and supervisor.
|
|
164
|
-
* <p>
|
|
165
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
166
|
-
*
|
|
167
|
-
* @param loginName the agent login name
|
|
168
|
-
*/
|
|
169
|
-
requestSupervisorHelp(loginName?: string | null): Promise<boolean>;
|
|
170
|
-
/**
|
|
171
|
-
* Rejects an help request from an agent.
|
|
172
|
-
* <p>
|
|
173
|
-
* This method is invoked by a supervisor when he reject an help request from an agent. On success, an {@link ON_SUPERVISOR_HELP_CANCELLED} event is raised.
|
|
174
|
-
* <p>
|
|
175
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
176
|
-
*
|
|
177
|
-
* @param agentNumber the extension number of the agent who has requested help
|
|
178
|
-
* @param loginName the supervisor login name
|
|
179
|
-
*/
|
|
180
|
-
rejectAgentHelpRequest(agentNumber: string, loginName?: string | null): Promise<boolean>;
|
|
181
|
-
/**
|
|
182
|
-
* Cancels a supervisor help request.
|
|
183
|
-
* <p>
|
|
184
|
-
* This method is invoked by an agent when he want to cancel an help request. On success, an {@link ON_SUPERVISOR_HELP_CANCELLED} event is raised.
|
|
185
|
-
* <p>
|
|
186
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
187
|
-
*
|
|
188
|
-
* @param supervisorNumber the requested supervisor extension number
|
|
189
|
-
* @param loginName the agent login name
|
|
190
|
-
*/
|
|
191
|
-
cancelSupervisorHelpRequest(supervisorNumber: string, loginName?: string | null): Promise<boolean>;
|
|
192
|
-
/**
|
|
193
|
-
* Asks a snapshot event to receive an {@link ON_AGENT_STATE_CHANGED} event.
|
|
194
|
-
* <p>
|
|
195
|
-
* The {@link ON_AGENT_STATE_CHANGED} event contain the operator {@link OperatorState} object. If a second
|
|
196
|
-
* request is asked since the previous one is still in progress, it has no effect.
|
|
197
|
-
* <p>
|
|
198
|
-
* If an administrator invokes this method with loginName=null, the snapshot event request is done for all the agents. The event processing can
|
|
199
|
-
* be long depending on the number of users.
|
|
200
|
-
*
|
|
201
|
-
* @param loginName the agent login name
|
|
202
|
-
*/
|
|
203
|
-
requestSnapshot(loginName?: string | null): Promise<boolean>;
|
|
204
|
-
/**
|
|
205
|
-
* Activates the specified skills.
|
|
206
|
-
* <p>
|
|
207
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
208
|
-
* <p>
|
|
209
|
-
* This method doesn't control the skills number. If a skill number is invalid
|
|
210
|
-
* (not assigned to the operator), it is ignored and the method returns 'true'.
|
|
211
|
-
*
|
|
212
|
-
* @param skills the list of skills to activate.
|
|
213
|
-
* @param loginName the agent login name
|
|
214
|
-
*/
|
|
215
|
-
activateSkills(skillNumbers: number[], loginName?: string | null): Promise<boolean>;
|
|
216
|
-
/**
|
|
217
|
-
* Deactivates the specified skills.
|
|
218
|
-
* <p>
|
|
219
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
220
|
-
* <p>
|
|
221
|
-
* This method doesn't control the skills number. If a skill number is invalid
|
|
222
|
-
* (not assigned to the operator), it is ignored and the method returns 'true'.
|
|
223
|
-
*
|
|
224
|
-
* @param skills the list of skills to activate.
|
|
225
|
-
* @param loginName the agent login name
|
|
226
|
-
*/
|
|
227
|
-
deactivateSkills(skillNumbers: number[], loginName?: string | null): Promise<boolean>;
|
|
228
|
-
/**
|
|
229
|
-
* Returns the list of withdraw reason for the specified processing group.
|
|
230
|
-
* <p>
|
|
231
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
232
|
-
*
|
|
233
|
-
* @param pgNumber the agent processing group number
|
|
234
|
-
* @param loginName the agent login name
|
|
235
|
-
*/
|
|
236
|
-
getWithdrawReasons(pgNumber: string, loginName?: string | null): Promise<WithdrawReason[] | null>;
|
|
237
|
-
/**
|
|
238
|
-
* Withdraws an agent with the specified reason.
|
|
239
|
-
* <p>
|
|
240
|
-
* If the session has been opened for a user, the 'loginName' parameter is ignored, but it is mandatory if the session has been opened by an administrator.
|
|
241
|
-
* @see {@link getWithdrawReasons}
|
|
242
|
-
*
|
|
243
|
-
* @param reason the withdraw reason
|
|
244
|
-
* @param loginName the agent login name
|
|
245
|
-
*/
|
|
246
|
-
setWithdraw(reason: WithdrawReason, loginName?: string | null): Promise<boolean>;
|
|
247
|
-
}
|
package/dist/o2g-cc-mngt.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import CallCenterManagementRest from "./internal/rest/ccMngt-rest";
|
|
2
|
-
import { Calendar } from "./types/cc-mngt/calendar/calendar";
|
|
3
|
-
import { DayOfWeek } from "./types/cc-mngt/calendar/day-of-week";
|
|
4
|
-
import { ExceptionCalendar } from "./types/cc-mngt/calendar/exception-calendar";
|
|
5
|
-
import { NormalCalendar } from "./types/cc-mngt/calendar/normal-calendar";
|
|
6
|
-
import { Transition } from "./types/cc-mngt/calendar/transition";
|
|
7
|
-
import { Pilot } from "./types/cc-mngt/pilot";
|
|
8
|
-
/**
|
|
9
|
-
* This service allows an administrator session to manage CCD pilot objects.
|
|
10
|
-
* service requires having a <b>CONTACTCENTER_SRV</b> license.
|
|
11
|
-
*/
|
|
12
|
-
export declare class CallCenterManagement {
|
|
13
|
-
private readonly _ccManagementRest;
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
|
-
constructor(ccManagementRest: CallCenterManagementRest);
|
|
19
|
-
getPilots(nodeId: number): Promise<Pilot[] | null>;
|
|
20
|
-
getPilot(nodeId: number, pilotNumber: string): Promise<Pilot | null>;
|
|
21
|
-
getCalendar(nodeId: number, pilotNumber: string): Promise<Calendar | null>;
|
|
22
|
-
getExceptionCalendar(nodeId: number, pilotNumber: string): Promise<ExceptionCalendar | null>;
|
|
23
|
-
addExceptionTransition(nodeId: number, pilotNumber: string, dateTransition: Date, transition: Transition): Promise<boolean>;
|
|
24
|
-
deleteExceptionTransition(nodeId: number, pilotNumber: string, dateTransition: Date, index: number): Promise<boolean>;
|
|
25
|
-
setExceptionTransition(nodeId: number, pilotNumber: string, dateTransition: Date, index: number, transition: Transition): Promise<boolean>;
|
|
26
|
-
getNormalCalendar(nodeId: number, pilotNumber: string): Promise<NormalCalendar | null>;
|
|
27
|
-
addNormalTransition(nodeId: number, pilotNumber: string, day: DayOfWeek, transition: Transition): Promise<boolean>;
|
|
28
|
-
deleteNormalTransition(nodeId: number, pilotNumber: string, day: DayOfWeek, index: number): Promise<boolean>;
|
|
29
|
-
setNormalTransition(nodeId: number, pilotNumber: string, day: DayOfWeek, index: number, transition: Transition): Promise<boolean>;
|
|
30
|
-
openPilot(nodeId: number, pilotNumber: string): Promise<boolean>;
|
|
31
|
-
closePilot(nodeId: number, pilotNumber: string): Promise<boolean>;
|
|
32
|
-
}
|
package/dist/o2g-cc-pilot.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import EventEmitter from "events";
|
|
2
|
-
import CallCenterPilotRest from "./internal/rest/ccPilot-rest";
|
|
3
|
-
import { EventRegistry } from "./internal/events/event-dispatcher";
|
|
4
|
-
/**
|
|
5
|
-
* CallCenterPilot allows an administrator to monitor the CCD pilots. Using this
|
|
6
|
-
* service requires having a <b>CONTACTCENTER_SRV</b> license.
|
|
7
|
-
*/
|
|
8
|
-
export declare class CallCenterPilot extends EventEmitter {
|
|
9
|
-
private readonly _ccPilotRest;
|
|
10
|
-
/**
|
|
11
|
-
* Occurs when a new call arrives on a pilot.
|
|
12
|
-
* @event
|
|
13
|
-
*/
|
|
14
|
-
static readonly ON_PILOT_CALL_CREATED = "OnPilotCallCreated";
|
|
15
|
-
/**
|
|
16
|
-
* Occurs when the call has been queued.
|
|
17
|
-
* @event
|
|
18
|
-
*/
|
|
19
|
-
static readonly ON_PILOT_CALL_QUEUED = "OnPilotCallQueued";
|
|
20
|
-
/**
|
|
21
|
-
* Occurs when a the call has been removed from the pilot: cause distribution, cancel or overflow.
|
|
22
|
-
* @event
|
|
23
|
-
*/
|
|
24
|
-
static readonly ON_PILOT_CALL_REMOVED = "OnPilotCallRemoved";
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @internal
|
|
28
|
-
*/
|
|
29
|
-
constructor(_ccPilotRest: CallCenterPilotRest, eventRegistry: EventRegistry);
|
|
30
|
-
/**
|
|
31
|
-
* Start the monitoring of a pilot.
|
|
32
|
-
* If the pilot is already monitored, no error is returned.
|
|
33
|
-
* @param pilotNumber the pilot number
|
|
34
|
-
*/
|
|
35
|
-
monitorStart(pilotNumber: string): Promise<boolean>;
|
|
36
|
-
/**
|
|
37
|
-
* Stop the monitoring of a pilot.
|
|
38
|
-
* If the pilot is already monitored, no error is returned.
|
|
39
|
-
* @param pilotNumber the pilot number
|
|
40
|
-
*/
|
|
41
|
-
monitorStop(pilotNumber: string): Promise<boolean>;
|
|
42
|
-
}
|
package/dist/o2g-comlog.d.ts
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
import EventEmitter from "events";
|
|
2
|
-
import CommunicationLogRest from "./internal/rest/comlog-rest";
|
|
3
|
-
import { ComRecord } from "./types/comlog/com-record";
|
|
4
|
-
import { Page } from "./types/comlog/page";
|
|
5
|
-
import { QueryFilter } from "./types/comlog/query-filter";
|
|
6
|
-
import { QueryResult } from "./types/comlog/query-result";
|
|
7
|
-
import { EventRegistry } from "./internal/events/event-dispatcher";
|
|
8
|
-
/**
|
|
9
|
-
* The CommunicationLog service allows a user to retrieve his last communication history records and to manage them. Using this service requires
|
|
10
|
-
* having a <b>TELEPHONY_ADVANCED</b> license.
|
|
11
|
-
*/
|
|
12
|
-
export declare class CommunicationLog extends EventEmitter {
|
|
13
|
-
private readonly _comLogRest;
|
|
14
|
-
/**
|
|
15
|
-
* Occurs when a new comlog entry has been created.
|
|
16
|
-
* @event
|
|
17
|
-
*/
|
|
18
|
-
static readonly ON_COM_RECORD_CREATED = "OnComRecordCreated";
|
|
19
|
-
/**
|
|
20
|
-
* Occurs when one or more records have been modified.
|
|
21
|
-
* @event
|
|
22
|
-
*/
|
|
23
|
-
static readonly ON_COM_RECORD_MODIFIED = "OnComRecordModified";
|
|
24
|
-
/**
|
|
25
|
-
* Occurs when one or more call log records have been deleted.
|
|
26
|
-
* @see {@link deleteComRecords}, {@link deleteComRecord}, {@link deleteComRecordsById}.
|
|
27
|
-
* @event
|
|
28
|
-
*/
|
|
29
|
-
static readonly ON_COM_RECORDS_DELETED = "OnComRecordsDeleted";
|
|
30
|
-
/**
|
|
31
|
-
* Occurs when one or more unanswered comlog records have been acknowledged.
|
|
32
|
-
* @see {@link acknowledgeComRecords}, {@link acknowledgeComRecord}
|
|
33
|
-
* @event
|
|
34
|
-
*/
|
|
35
|
-
static readonly ON_COM_RECORDS_ACK = "OnComRecordsAck";
|
|
36
|
-
/**
|
|
37
|
-
* Occurs when one or more unanswered comlog records have been unacknowledged.
|
|
38
|
-
* @see {@link unacknowledgeComRecords}, {@link unacknowledgeComRecord}
|
|
39
|
-
* @event
|
|
40
|
-
*/
|
|
41
|
-
static readonly ON_COM_RECORDS_UNACK = "OnComRecordsUnAck";
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
|
-
constructor(_comLogRest: CommunicationLogRest, eventRegistry: EventRegistry);
|
|
47
|
-
/**
|
|
48
|
-
* Gets the com records corresponding to the specified filter, using the
|
|
49
|
-
* specified page, with a possible optimization.
|
|
50
|
-
* <p>
|
|
51
|
-
* If 'optimized' is used and set to 'true' the query returns the
|
|
52
|
-
* full identity of a participant only the first time it occurs, when the same
|
|
53
|
-
* participant appears in several records. When omitted this query returns the
|
|
54
|
-
* records with no optimization.
|
|
55
|
-
* <p>
|
|
56
|
-
* 'page' parameter allows to query the communication log by page. The
|
|
57
|
-
* {@link QueryResult} result contains the same parameters and the total number
|
|
58
|
-
* of records retrieved by the query.
|
|
59
|
-
* <p>
|
|
60
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
61
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
62
|
-
* administrator.
|
|
63
|
-
*
|
|
64
|
-
* @param filter the filter describing the query criterias
|
|
65
|
-
* @param page the page description
|
|
66
|
-
* @param optimized 'true' to activate optimization.
|
|
67
|
-
* @param loginName the user login name
|
|
68
|
-
*/
|
|
69
|
-
getComRecords(filter?: QueryFilter | null, page?: Page | null, optimized?: boolean, loginName?: string | null): Promise<QueryResult | null>;
|
|
70
|
-
/**
|
|
71
|
-
* Gets the specified com record.
|
|
72
|
-
* <p>
|
|
73
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
74
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
75
|
-
* administrator.
|
|
76
|
-
*
|
|
77
|
-
* @param recordId the com record identifier
|
|
78
|
-
* @param loginName the user login name
|
|
79
|
-
*/
|
|
80
|
-
getComRecord(recordId: string, loginName?: string | null): Promise<ComRecord | null>;
|
|
81
|
-
/**
|
|
82
|
-
* Deletes the specified com record.
|
|
83
|
-
* <p>
|
|
84
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
85
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
86
|
-
* administrator.
|
|
87
|
-
*
|
|
88
|
-
* @param recordId the com record identifier
|
|
89
|
-
* @param loginName the user login name
|
|
90
|
-
*/
|
|
91
|
-
deleteComRecord(recordId: string, loginName?: string | null): Promise<boolean>;
|
|
92
|
-
/**
|
|
93
|
-
* Deletes the specified list of com records.
|
|
94
|
-
* <p>
|
|
95
|
-
* An {@link ON_COM_RECORDS_DELETED} event is raised containing the list of the com records that have been deleted.
|
|
96
|
-
* <p>
|
|
97
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
98
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
99
|
-
* administrator.
|
|
100
|
-
*
|
|
101
|
-
* @param recordIds the list of com records
|
|
102
|
-
* @param loginName the user login name
|
|
103
|
-
*/
|
|
104
|
-
deleteComRecordsById(recordIds: string[], loginName?: string | null): Promise<boolean>;
|
|
105
|
-
/**
|
|
106
|
-
* Deletes the com records corresponding to the given filter.
|
|
107
|
-
* <p>
|
|
108
|
-
* When used, the 'filter' parameter defines the search criteria for the delete operation.
|
|
109
|
-
* <p>
|
|
110
|
-
* An {@link ON_COM_RECORDS_DELETED} event is raised
|
|
111
|
-
* containing the list of the com records that have been deleted.
|
|
112
|
-
* <p>
|
|
113
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
114
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
115
|
-
* administrator.
|
|
116
|
-
*
|
|
117
|
-
* @param filter the filter describing the query criterias
|
|
118
|
-
* @param loginName the user login name
|
|
119
|
-
*/
|
|
120
|
-
deleteComRecords(filter?: QueryFilter | null, loginName?: string | null): Promise<boolean>;
|
|
121
|
-
/**
|
|
122
|
-
* Acknowledge the specified list of com records.
|
|
123
|
-
* <p>
|
|
124
|
-
* An {@link ON_COM_RECORDS_ACK} event is raised containing the list of the com records that have been acknowledged.
|
|
125
|
-
* <p>
|
|
126
|
-
* If the session has been opened for a user, the 'loginName" parameter is
|
|
127
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
128
|
-
* administrator.
|
|
129
|
-
*
|
|
130
|
-
* @param recordIds the list of com records
|
|
131
|
-
* @param loginName the user login name
|
|
132
|
-
*/
|
|
133
|
-
acknowledgeComRecords(recordIds: string[], loginName?: string | null): Promise<boolean>;
|
|
134
|
-
/**
|
|
135
|
-
* Acknowledge the specified com record.
|
|
136
|
-
* <p>
|
|
137
|
-
* An {@link ON_COM_RECORDS_ACK} event is raised containing the list of the com records that have been acknowledged.
|
|
138
|
-
* <p>
|
|
139
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
140
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
141
|
-
* administrator.
|
|
142
|
-
*
|
|
143
|
-
* @param recordId the com record identifier
|
|
144
|
-
* @param loginName the user login name
|
|
145
|
-
*/
|
|
146
|
-
acknowledgeComRecord(recordId: string, loginName?: string | null): Promise<boolean>;
|
|
147
|
-
/**
|
|
148
|
-
* Unacknowledge the specified list of com records.
|
|
149
|
-
* <p>
|
|
150
|
-
* An {@link ON_COM_RECORDS_UNACK} event is raised containing the list of the com records that have been acknowledged.
|
|
151
|
-
* <p>
|
|
152
|
-
* If the session has been opened for a user, the 'loginName" parameter is
|
|
153
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
154
|
-
* administrator.
|
|
155
|
-
*
|
|
156
|
-
* @param recordIds the list of com records
|
|
157
|
-
* @param loginName the user login name
|
|
158
|
-
*/
|
|
159
|
-
unacknowledgeComRecords(recordIds: string[], loginName?: string | null): Promise<boolean>;
|
|
160
|
-
/**
|
|
161
|
-
* Unacknowledge the specified com record.
|
|
162
|
-
* <p>
|
|
163
|
-
* An {@link ON_COM_RECORDS_UNACK} event is raised containing the list of the com records that have been acknowledged.
|
|
164
|
-
* <p>
|
|
165
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
166
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
167
|
-
* administrator.
|
|
168
|
-
*
|
|
169
|
-
* @param recordId the com record identifier
|
|
170
|
-
* @param loginName the user login name
|
|
171
|
-
*/
|
|
172
|
-
unacknowledgeComRecord(recordId: string, loginName?: string | null): Promise<boolean>;
|
|
173
|
-
}
|
package/dist/o2g-directory.d.ts
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import DirectoryRest from "./internal/rest/directory-rest";
|
|
2
|
-
import { Criteria } from "./types/directory/criteria";
|
|
3
|
-
import { SearchResult } from "./types/directory/directory-types";
|
|
4
|
-
/**
|
|
5
|
-
* The DirectoryService is used to search contacts in the OmniPCX
|
|
6
|
-
* Enterprise phone book. Using this service requires having a
|
|
7
|
-
* <b>TELEPHONY_ADVANCED</b> license.
|
|
8
|
-
* <p>
|
|
9
|
-
* A directory search is a set of 2 or more sequential operations:
|
|
10
|
-
* <ol>
|
|
11
|
-
* <li>The first operation initiate the search with a set of criteria</li>
|
|
12
|
-
* <li>The second and next operations retrieve results</li>
|
|
13
|
-
* </ol>
|
|
14
|
-
* <p>
|
|
15
|
-
* Note: For each session (user or administrator), only 5 concurrent searches
|
|
16
|
-
* are authorized. An unused search context is freed after 1 minute.
|
|
17
|
-
*
|
|
18
|
-
* <p>
|
|
19
|
-
* @example
|
|
20
|
-
* ```typescript
|
|
21
|
-
*
|
|
22
|
-
* await o2g.directory.search(myCriteria);
|
|
23
|
-
* while (!finished) {
|
|
24
|
-
*
|
|
25
|
-
* let result = await o2g.directory.getResults();
|
|
26
|
-
* if (result.getResultCode() == SearchResult.ResultCode.NOK) {
|
|
27
|
-
* // Wait the results
|
|
28
|
-
* }
|
|
29
|
-
* else if ((result.getResultCode() == SearchResult.ResultCode.FINISH) ||
|
|
30
|
-
* (result.getResultCode() == SearchResult.ResultCode.TIMEOUT)) {
|
|
31
|
-
* // Exit the loop
|
|
32
|
-
* finished = true;
|
|
33
|
-
* }
|
|
34
|
-
* else {
|
|
35
|
-
* // Process results
|
|
36
|
-
* }
|
|
37
|
-
* }
|
|
38
|
-
* ```
|
|
39
|
-
*/
|
|
40
|
-
export declare class Directory {
|
|
41
|
-
private _directoryRest;
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
|
-
constructor(directoryRest: DirectoryRest);
|
|
46
|
-
/**
|
|
47
|
-
* Initiates a search for the specified user with the specified filter. The
|
|
48
|
-
* search will be limited to the specified number of results.
|
|
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
|
|
52
|
-
* administrator.
|
|
53
|
-
*
|
|
54
|
-
* @param filter the search filter
|
|
55
|
-
* @param limit maximum number of results. The range of supported values is[1 .. 100]
|
|
56
|
-
* @param loginName the user login name
|
|
57
|
-
*/
|
|
58
|
-
search(filter: Criteria, limit?: number | null, loginName?: string | null): Promise<boolean>;
|
|
59
|
-
/**
|
|
60
|
-
* Cancel a search query for the specified user.
|
|
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
|
|
64
|
-
* administrator.
|
|
65
|
-
*
|
|
66
|
-
* @param loginName the user login name
|
|
67
|
-
*/
|
|
68
|
-
cancel(loginName?: string | null): Promise<boolean>;
|
|
69
|
-
/**
|
|
70
|
-
* Gets the next available results for the current search.
|
|
71
|
-
* 'getResults' is generally called in a loop and for each iteration
|
|
72
|
-
* <ul>
|
|
73
|
-
* <li>if the status result code is 'NOK', the search is in progress but no result is
|
|
74
|
-
* available : it is recommended to wait before the next iteration (500ms for
|
|
75
|
-
* example)</li>
|
|
76
|
-
* <li>if the status result code is 'OK', results are available and can be processed</li>
|
|
77
|
-
* <li>if the status result code is 'FINISH' or 'TIMEOUT', search is ended, exit from the
|
|
78
|
-
* loop</li>
|
|
79
|
-
* </ul>
|
|
80
|
-
* <p>
|
|
81
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
82
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
83
|
-
* administrator.
|
|
84
|
-
*
|
|
85
|
-
* @param loginName the user login name
|
|
86
|
-
*/
|
|
87
|
-
getResults(loginName?: string | null): Promise<SearchResult | null>;
|
|
88
|
-
}
|