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
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { EventRegistry } from "./internal/events/event-dispatcher";
|
|
2
|
-
import EventSumaryRest from "./internal/rest/eventSummary-rest";
|
|
3
|
-
import { EventSummaryCounters } from "./types/eventsummary/event-summary-counter";
|
|
4
|
-
import { EventEmitter } from 'events';
|
|
5
|
-
/**
|
|
6
|
-
* The Event summary service allows a user to get its new message
|
|
7
|
-
* indicators (missed call, voice mails, callback request, fax).
|
|
8
|
-
* <p>Using this service requires having a <b>TELEPHONY_ADVANCED</b> license,
|
|
9
|
-
*/
|
|
10
|
-
export declare class EventSummary extends EventEmitter {
|
|
11
|
-
private readonly _eventSummaryRest;
|
|
12
|
-
/**
|
|
13
|
-
* Event raised each time the user's counters have changed.
|
|
14
|
-
* @event
|
|
15
|
-
*/
|
|
16
|
-
static readonly ON_EVENT_SUMMARY_UPDATED = "OnEventSummaryUpdated";
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @internal
|
|
20
|
-
*/
|
|
21
|
-
constructor(_eventSummaryRest: EventSumaryRest, eventRegistry: EventRegistry);
|
|
22
|
-
/**
|
|
23
|
-
* Retrieves main counters for the specified user.
|
|
24
|
-
* <p>
|
|
25
|
-
* If the session has been opened for a user, the loginName parameter is
|
|
26
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
27
|
-
* administrator.
|
|
28
|
-
*
|
|
29
|
-
* @param loginName the user login name
|
|
30
|
-
* @return the {@link EventSummaryCounters}
|
|
31
|
-
*/
|
|
32
|
-
get(loginName?: string | null): Promise<EventSummaryCounters | null>;
|
|
33
|
-
}
|
package/dist/o2g-maint.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import EventEmitter from "events";
|
|
2
|
-
import MaintenanceRest from "./internal/rest/maint-rest";
|
|
3
|
-
import { SystemStatus } from "./types/maint/maint-types";
|
|
4
|
-
import { EventRegistry } from "./internal/events/event-dispatcher";
|
|
5
|
-
/**
|
|
6
|
-
* The MaintenanceService allows to retrieve information about the
|
|
7
|
-
* system state, in particular information on the pbx nodes and their connection
|
|
8
|
-
* state. Informations about license are also provided per item: total allocated
|
|
9
|
-
* licenses, numbers of current used and expiration date.
|
|
10
|
-
*/
|
|
11
|
-
export declare class Maintenance extends EventEmitter {
|
|
12
|
-
private readonly _maintenanceRest;
|
|
13
|
-
/**
|
|
14
|
-
* Occurs when a CTI link is down.
|
|
15
|
-
* @event
|
|
16
|
-
*/
|
|
17
|
-
static readonly ON_CTI_LINK_DOWN = "OnCtiLinkDown";
|
|
18
|
-
/**
|
|
19
|
-
* Occurs when a CTI link is up.
|
|
20
|
-
* @event
|
|
21
|
-
*/
|
|
22
|
-
static readonly ON_CTI_LINK_UP = "OnCtiLinkUp";
|
|
23
|
-
/**
|
|
24
|
-
* Occurs when datas are fully loaded from an OmniPCX Enterprise node.
|
|
25
|
-
* @event
|
|
26
|
-
*/
|
|
27
|
-
static readonly ON_PBX_LOADED = "OnPbxLoaded";
|
|
28
|
-
/**
|
|
29
|
-
* Occurs when when the license file will soon expire or has recently expired.
|
|
30
|
-
* @event
|
|
31
|
-
*/
|
|
32
|
-
static readonly ON_LICENSE_EXPIRATION = "OnLicenseExpiration";
|
|
33
|
-
/**
|
|
34
|
-
* Occurs when O2G is ready (all oxe nodes are connected and loaded).
|
|
35
|
-
* @event
|
|
36
|
-
*/
|
|
37
|
-
static readonly ON_SERVER_STARTED = "OnServerStart";
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
|
-
constructor(_maintenanceRest: MaintenanceRest, eventRegistry: EventRegistry);
|
|
42
|
-
/**
|
|
43
|
-
* This operation provides information about the system state , and the total
|
|
44
|
-
* number of each license type available for the system. This operation is
|
|
45
|
-
* restricted to an admin session only.
|
|
46
|
-
*/
|
|
47
|
-
getSystemStatus(): Promise<SystemStatus | null>;
|
|
48
|
-
}
|
package/dist/o2g-messaging.d.ts
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import MessagingRest from "./internal/rest/messaging-rest";
|
|
2
|
-
import { MailBox } from "./types/messaging/messaging-types";
|
|
3
|
-
import { MailBoxInfo } from "./types/messaging/messaging-types";
|
|
4
|
-
import { VoiceMessage } from "./types/messaging/messaging-types";
|
|
5
|
-
/**
|
|
6
|
-
* Messaging service provides access to user's voice mail box.
|
|
7
|
-
* It's possible using this service to connect to the voice mail box, retrieve
|
|
8
|
-
* the information and the list of voice mails and manage the mail box. Using
|
|
9
|
-
* this service requires having a <b>TELEPHONY_ADVANCED</b> license. <br>It's
|
|
10
|
-
* possible to download the voice mail as a wav file and to delete an existing
|
|
11
|
-
* messages.
|
|
12
|
-
*/
|
|
13
|
-
export declare class Messaging {
|
|
14
|
-
private _messagingRest;
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
|
-
constructor(messagingRest: MessagingRest);
|
|
19
|
-
/**
|
|
20
|
-
* Get the specified user's mailboxes. This is the logical first step to access
|
|
21
|
-
* further operation on voice mail feature.
|
|
22
|
-
* <p>
|
|
23
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
24
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
25
|
-
* administrator.
|
|
26
|
-
*
|
|
27
|
-
* @param loginName the user login name
|
|
28
|
-
*/
|
|
29
|
-
getMailboxes(loginName?: string | null): Promise<MailBox[] | null>;
|
|
30
|
-
/**
|
|
31
|
-
* Get the information on the specified mail box.
|
|
32
|
-
* <p>
|
|
33
|
-
* The 'password' is optional. if not set, the user password is used to
|
|
34
|
-
* connect on the voicemail. This is only possible if the OmniPCX Enterprise
|
|
35
|
-
* administrator has managed the same pasword for the user and his mailbox.
|
|
36
|
-
* <p>
|
|
37
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
38
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
39
|
-
* administrator.
|
|
40
|
-
*
|
|
41
|
-
* @param mailBoxId the mail box identifier given in a {@link MailBox}
|
|
42
|
-
* @param password the mail box password
|
|
43
|
-
* @param loginName the user login name
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
getMailboxInfo(mailBoxId: string, password?: string | null, loginName?: string | null): Promise<MailBoxInfo | null>;
|
|
47
|
-
/**
|
|
48
|
-
* Get the list of voice messages in the specified mail box.
|
|
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 mailboxId the mail box identifier given in a {@link MailBox}
|
|
55
|
-
* object
|
|
56
|
-
* @param newOnly filter only unread voicemail if set to 'true'
|
|
57
|
-
* @param offset the offset from which to start retrieving the voicemail list
|
|
58
|
-
* @param limit the maximum number of items to return
|
|
59
|
-
* @param loginName the user login name
|
|
60
|
-
*/
|
|
61
|
-
getVoiceMessages(mailboxId: string, newOnly?: boolean, offset?: number | null, limit?: number | null, loginName?: string | null): Promise<VoiceMessage[] | null>;
|
|
62
|
-
/**
|
|
63
|
-
* Delete the specified voice message.
|
|
64
|
-
* <p>
|
|
65
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
66
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
67
|
-
* administrator.
|
|
68
|
-
*
|
|
69
|
-
* @param mailboxId the mail box identifier given in a {@link MailBox}
|
|
70
|
-
* object
|
|
71
|
-
* @param voicemailId the voice mail identifier given in a {@link VoiceMessage}
|
|
72
|
-
* @param loginName the user login name
|
|
73
|
-
*/
|
|
74
|
-
deleteVoiceMessage(mailboxId: string, voicemailId: string, loginName?: string | null): Promise<boolean>;
|
|
75
|
-
/**
|
|
76
|
-
* Acknowledge the specified voice message.
|
|
77
|
-
* <p>
|
|
78
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
79
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
80
|
-
* administrator.
|
|
81
|
-
*
|
|
82
|
-
* @param mailboxId the mail box identifier given in a {@link MailBox}
|
|
83
|
-
* object
|
|
84
|
-
* @param voicemailId the voice mail identifier given in a {@link VoiceMessage}
|
|
85
|
-
* @param loginName the user login name
|
|
86
|
-
*/
|
|
87
|
-
acknowledgeVoiceMessage(mailboxId: string, voicemailId: string, loginName?: string | null): Promise<boolean>;
|
|
88
|
-
/**
|
|
89
|
-
* Delete the specified list of voice messages.
|
|
90
|
-
* <p>
|
|
91
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
92
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
93
|
-
* administrator.
|
|
94
|
-
*
|
|
95
|
-
* @param mailboxId the mail box identifier given in a {@link MailBox}
|
|
96
|
-
* object
|
|
97
|
-
* @param msgIds the voicemail identifiers given in a {@link VoiceMessage}
|
|
98
|
-
* @param loginName the user login name
|
|
99
|
-
*/
|
|
100
|
-
deleteVoiceMessages(mailboxId: string, msgIds: string[], loginName?: string | null): Promise<boolean>;
|
|
101
|
-
/**
|
|
102
|
-
* Download a voice mail as a wav file.
|
|
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
|
|
106
|
-
* administrator.
|
|
107
|
-
*
|
|
108
|
-
* @param mailboxId the mail box identifier given in a {@link MailBox}
|
|
109
|
-
* object
|
|
110
|
-
* @param voicemailId the voice mail identifier given in a {@link VoiceMessage}
|
|
111
|
-
* @param wavPath an optional destination file name
|
|
112
|
-
* @param loginName the user login name
|
|
113
|
-
*/
|
|
114
|
-
downloadVoiceMessage(mailboxId: string, voicemailId: string, wavPath: string | null, loginName?: string | null): Promise<string | null>;
|
|
115
|
-
}
|
package/dist/o2g-node-sdk.d.ts
DELETED
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 ALE International
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the MIT License. You may obtain a copy of the License at:
|
|
5
|
-
* https://opensource.org/licenses/MIT
|
|
6
|
-
*
|
|
7
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
|
8
|
-
* software and associated documentation files (the "Software"), to deal in the Software
|
|
9
|
-
* without restriction, including without limitation the rights to use, copy, modify, merge,
|
|
10
|
-
* publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
|
|
11
|
-
* to whom the Software is furnished to do so, subject to the following conditions:
|
|
12
|
-
*
|
|
13
|
-
* The above copyright notice and this permission notice shall be included in all copies or
|
|
14
|
-
* substantial portions of the Software.
|
|
15
|
-
*
|
|
16
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
|
17
|
-
* BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
18
|
-
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
19
|
-
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
21
|
-
*/
|
|
22
|
-
import { Routing } from "./o2g-routing";
|
|
23
|
-
import { EventSummary } from "./o2g-eventSummary";
|
|
24
|
-
import { Directory } from "./o2g-directory";
|
|
25
|
-
import { Users } from "./o2g-users";
|
|
26
|
-
import { Telephony } from "./o2g-telephony";
|
|
27
|
-
import { CommunicationLog } from "./o2g-comlog";
|
|
28
|
-
import { Analytics } from "./o2g-analytics";
|
|
29
|
-
import { CallCenterAgent } from "./o2g-cc-agent";
|
|
30
|
-
import { CallCenterPilot } from "./o2g-cc-pilot";
|
|
31
|
-
import { Maintenance } from "./o2g-maint";
|
|
32
|
-
import { PbxManagement } from "./o2g-pbx-mngt";
|
|
33
|
-
import { PhoneSetProgramming } from "./o2g-phone-set-prog";
|
|
34
|
-
import { Messaging } from "./o2g-messaging";
|
|
35
|
-
import { Subscription } from "./subscription";
|
|
36
|
-
import { TimeRange } from "./types/analytics/time-range";
|
|
37
|
-
import { TelFacility } from "./types/analytics/tel-facility";
|
|
38
|
-
import { CallType } from "./types/analytics/call-type";
|
|
39
|
-
import { IntrusionMode } from "./types/cc-agent/intrusion-mode";
|
|
40
|
-
import { OperatorType } from "./types/cc-agent/operator-type";
|
|
41
|
-
import { OperatorMainState } from "./types/cc-agent/operator-main-state";
|
|
42
|
-
import { Page } from "./types/comlog/page";
|
|
43
|
-
import { QueryFilter } from "./types/comlog/query-filter";
|
|
44
|
-
import { Reason } from "./types/comlog/reason";
|
|
45
|
-
import { Role } from "./types/comlog/role";
|
|
46
|
-
import { Criteria } from "./types/directory/criteria";
|
|
47
|
-
import { FilterItem } from "./types/directory/filter-item";
|
|
48
|
-
import { OperationFilter } from "./types/directory/operation-filter";
|
|
49
|
-
import { AttributeFilter } from "./types/pbxmngt/attribute-filter";
|
|
50
|
-
import { AttributeType } from "./types/pbxmngt/attribute-type";
|
|
51
|
-
import { Filter } from "./types/pbxmngt/filter";
|
|
52
|
-
import { Option } from './types/comlog/option';
|
|
53
|
-
import { PbxAttributeMap } from "./types/pbxmngt/pbx-attr-map";
|
|
54
|
-
import { PbxAttribute } from "./types/pbxmngt/pbx-attribute";
|
|
55
|
-
import { Pin } from "./types/phoneset/pin";
|
|
56
|
-
import { PinControl } from "./types/phoneset/pin-control";
|
|
57
|
-
import { ProgrammableKey } from "./types/phoneset/programmable-key";
|
|
58
|
-
import { SoftKey } from "./types/phoneset/softkey";
|
|
59
|
-
import { Destination } from "./types/routing/destination";
|
|
60
|
-
import { ForwardCondition } from "./types/routing/forward";
|
|
61
|
-
import { OverflowCondition } from "./types/routing/overflow";
|
|
62
|
-
import { AcrSkill } from "./types/telephony/acr-skill";
|
|
63
|
-
import { RecordingAction } from "./types/telephony/RecordingAction";
|
|
64
|
-
import { UserManagement } from "./o2g-user-mngt";
|
|
65
|
-
import { CallCenterManagement } from "./o2g-cc-mngt";
|
|
66
|
-
import { Pilot } from "./types/cc-mngt/pilot";
|
|
67
|
-
import { PilotRule } from "./types/cc-mngt/pilot-rule";
|
|
68
|
-
export declare class O2G {
|
|
69
|
-
static get O2G_ONCHANNEL_INFORMATION(): string;
|
|
70
|
-
private static _application;
|
|
71
|
-
private static _logger;
|
|
72
|
-
private static _routing;
|
|
73
|
-
private static _eventSummary;
|
|
74
|
-
private static _users;
|
|
75
|
-
private static _userManagement;
|
|
76
|
-
private static _telephony;
|
|
77
|
-
private static _directory;
|
|
78
|
-
private static _comlog;
|
|
79
|
-
private static _analytics;
|
|
80
|
-
private static _callCenterAgent;
|
|
81
|
-
private static _callCenterPilot;
|
|
82
|
-
private static _callCenterManagement;
|
|
83
|
-
private static _maintenance;
|
|
84
|
-
private static _pbxManagement;
|
|
85
|
-
private static _phoneSetProgramming;
|
|
86
|
-
private static _messaging;
|
|
87
|
-
static initialize(appName: string, host: Host, apiVersion?: string): void;
|
|
88
|
-
static login(loginName: string, password: string): Promise<boolean>;
|
|
89
|
-
static subscribe(subscription: Subscription): Promise<void>;
|
|
90
|
-
static shutdown(): Promise<void>;
|
|
91
|
-
static on(event: string, listener: (...args: any[]) => void): void;
|
|
92
|
-
static off(event: string, listener: (...args: any[]) => void): void;
|
|
93
|
-
static get routing(): Routing;
|
|
94
|
-
static get eventSummary(): EventSummary;
|
|
95
|
-
static get users(): Users;
|
|
96
|
-
static get userManagement(): UserManagement;
|
|
97
|
-
static get telephony(): Telephony;
|
|
98
|
-
static get directory(): Directory;
|
|
99
|
-
static get comlog(): CommunicationLog;
|
|
100
|
-
static get analytics(): Analytics;
|
|
101
|
-
static get callCenterAgent(): CallCenterAgent;
|
|
102
|
-
static get callCenterPilot(): CallCenterPilot;
|
|
103
|
-
static get callCenterManagement(): CallCenterManagement;
|
|
104
|
-
static get maintenance(): Maintenance;
|
|
105
|
-
static get pbxManagement(): PbxManagement;
|
|
106
|
-
static get phoneSetProgramming(): PhoneSetProgramming;
|
|
107
|
-
static get messaging(): Messaging;
|
|
108
|
-
static readonly types: {
|
|
109
|
-
Subscription: typeof Subscription;
|
|
110
|
-
analytics: {
|
|
111
|
-
TimeRange: typeof TimeRange;
|
|
112
|
-
CallType: typeof CallType;
|
|
113
|
-
TelFacility: typeof TelFacility;
|
|
114
|
-
};
|
|
115
|
-
ccAgent: {
|
|
116
|
-
IntrusionMode: typeof IntrusionMode;
|
|
117
|
-
OperatorType: typeof OperatorType;
|
|
118
|
-
OperatorMainState: typeof OperatorMainState;
|
|
119
|
-
};
|
|
120
|
-
comlog: {
|
|
121
|
-
Page: typeof Page;
|
|
122
|
-
QueryFilter: typeof QueryFilter;
|
|
123
|
-
Role: typeof Role;
|
|
124
|
-
Option: typeof Option;
|
|
125
|
-
Reason: typeof Reason;
|
|
126
|
-
};
|
|
127
|
-
ccManagement: {
|
|
128
|
-
Pilot: typeof Pilot;
|
|
129
|
-
PilotRule: typeof PilotRule;
|
|
130
|
-
};
|
|
131
|
-
directory: {
|
|
132
|
-
Criteria: typeof Criteria;
|
|
133
|
-
FilterItem: typeof FilterItem;
|
|
134
|
-
OperationFilter: typeof OperationFilter;
|
|
135
|
-
};
|
|
136
|
-
pbxmngt: {
|
|
137
|
-
PbxAttribute: typeof PbxAttribute;
|
|
138
|
-
PbxAttributeMap: typeof PbxAttributeMap;
|
|
139
|
-
AttributeType: typeof AttributeType;
|
|
140
|
-
AttributeFilter: typeof AttributeFilter;
|
|
141
|
-
Filter: typeof Filter;
|
|
142
|
-
};
|
|
143
|
-
phoneset: {
|
|
144
|
-
PinControl: typeof PinControl;
|
|
145
|
-
Pin: typeof Pin;
|
|
146
|
-
ProgrammableKey: typeof ProgrammableKey;
|
|
147
|
-
SoftKey: typeof SoftKey;
|
|
148
|
-
};
|
|
149
|
-
routing: {
|
|
150
|
-
Destination: typeof Destination;
|
|
151
|
-
ForwardCondition: typeof ForwardCondition;
|
|
152
|
-
OverflowCondition: typeof OverflowCondition;
|
|
153
|
-
};
|
|
154
|
-
telephony: {
|
|
155
|
-
AcrSkill: typeof AcrSkill;
|
|
156
|
-
RecordingAction: typeof RecordingAction;
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
}
|
package/dist/o2g-pbx-mngt.d.ts
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import PbxManagementRest from "./internal/rest/pbx-mngt-rest";
|
|
2
|
-
import { Model } from "./types/pbxmngt/model";
|
|
3
|
-
import { PbxAttribute } from "./types/pbxmngt/pbx-attribute";
|
|
4
|
-
import { PbxObject } from "./types/pbxmngt/pbx-object";
|
|
5
|
-
import { Pbx } from "./types/pbxmngt/pbxmngt-types";
|
|
6
|
-
import { Filter } from "./types/pbxmngt/filter";
|
|
7
|
-
import EventEmitter from "events";
|
|
8
|
-
import { EventRegistry } from "./internal/events/event-dispatcher";
|
|
9
|
-
/**
|
|
10
|
-
* PbxManagement service allows an administrator to manage an OmniPcx
|
|
11
|
-
* Enterprise, that is to create/modify/delete any object or sub-object in the
|
|
12
|
-
* OmniPcx Enterprise object model. Using this service requires having a
|
|
13
|
-
* <b>MANAGEMENT</b> license.
|
|
14
|
-
* <p>
|
|
15
|
-
* <b>WARNING:</b> Using this service requires to have a good knowledge of the
|
|
16
|
-
* OmniPCX Enterprise object model.
|
|
17
|
-
* <p>
|
|
18
|
-
* The service uses two kinds of resource: the object model resource and the
|
|
19
|
-
* object instance resource.
|
|
20
|
-
* <p><b><u>The object model</u></b>: The object model can be retrieved for the whole Pbx
|
|
21
|
-
* or for a particular object. It provides the detail of object attributes:
|
|
22
|
-
* whether the attribute is mandatory/optional in the object creation, what
|
|
23
|
-
* range of value is authorized, what are the possible enumeration value.
|
|
24
|
-
* <p><b><u>The object instance</u></b>: It is used to create, modify, retrieve or remove
|
|
25
|
-
* any instances of any object, giving the reference of this object. For the
|
|
26
|
-
* creation or the modification of an object, the body must be compliant with
|
|
27
|
-
* the object model.
|
|
28
|
-
* <p>
|
|
29
|
-
* The list of sub-objects which are returned by a get instance of an object
|
|
30
|
-
* corresponds to the relative path of the first instanciable objects in the
|
|
31
|
-
* hierarchy in order to be able by recursion to build the path to access to any
|
|
32
|
-
* object and sub-object.
|
|
33
|
-
* <p>
|
|
34
|
-
* When access to an object which is a sub-object, the full path must be given :
|
|
35
|
-
* {object1Name}/{object1Id}/{object2Name}/{object2Id}/..../{objectxName}/{objectxId}.
|
|
36
|
-
*/
|
|
37
|
-
export declare class PbxManagement extends EventEmitter {
|
|
38
|
-
private readonly _pbxMngtRest;
|
|
39
|
-
/**
|
|
40
|
-
* Occurs when a PBX object instance is created.
|
|
41
|
-
* Only Object Subscriber is concerned by this event.
|
|
42
|
-
* @event
|
|
43
|
-
*/
|
|
44
|
-
static readonly ON_PBX_OBJECT_INSTANCE_CREATED = "OnPbxObjectInstanceCreated";
|
|
45
|
-
/**
|
|
46
|
-
* Occurs when a PBX object instance is deleted.
|
|
47
|
-
* Only Object Subscriber is concerned by this event.
|
|
48
|
-
* @event
|
|
49
|
-
*/
|
|
50
|
-
static readonly ON_PBX_OBJECT_INSTANCE_DELETED = "OnPbxObjectInstanceDeleted";
|
|
51
|
-
/**
|
|
52
|
-
* Occurs when a PBX object instance is modified.
|
|
53
|
-
* Only Object Subscriber is concerned by this event.
|
|
54
|
-
* @event
|
|
55
|
-
*/
|
|
56
|
-
static readonly ON_PBX_OBJECT_INSTANCE_MODIFIED = "OnPbxObjectInstanceModified";
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
constructor(_pbxMngtRest: PbxManagementRest, eventRegistry: EventRegistry);
|
|
62
|
-
/**
|
|
63
|
-
* Gets the list of OmniPCX Enterprise nodes connected on this O2G server.
|
|
64
|
-
*/
|
|
65
|
-
getPbxs(): Promise<number[] | null>;
|
|
66
|
-
/**
|
|
67
|
-
* Gets the OmniPCX Enterprise specified by its node id.
|
|
68
|
-
*
|
|
69
|
-
* @param nodeId the PCX Enterprise node id
|
|
70
|
-
*/
|
|
71
|
-
getPbx(nodeId: number): Promise<Pbx | null>;
|
|
72
|
-
/**
|
|
73
|
-
* Get the description of the data model for the specified object on the
|
|
74
|
-
* specified OmniPCX Enterprise node.
|
|
75
|
-
* <p>
|
|
76
|
-
* If 'objectName' is 'null', the global object model of the OmniPCX Enterprise node is returned.
|
|
77
|
-
*
|
|
78
|
-
* @param nodeId the OmniPCX Enterprise node id
|
|
79
|
-
* @param objectName the object name
|
|
80
|
-
*/
|
|
81
|
-
getObjectModel(nodeId: number, objectName?: string | null): Promise<Model | null>;
|
|
82
|
-
/**
|
|
83
|
-
* Gets the node(root) object.
|
|
84
|
-
*
|
|
85
|
-
* @param nodeId the OmniPCX Enterprise node id
|
|
86
|
-
*/
|
|
87
|
-
getNodeObject(nodeId: number): Promise<PbxObject | null>;
|
|
88
|
-
/**
|
|
89
|
-
* Gets the object specified by its instance definition and its instance id.
|
|
90
|
-
*
|
|
91
|
-
* @param nodeId the OmniPCX Enterprise node id
|
|
92
|
-
* @param objectInstanceDefinition the object instance definition
|
|
93
|
-
* @param objectId the object instance id
|
|
94
|
-
* @param attributes the optional attributes to retrieve. It can be a string with a comma separated attribute name, or an array of PbxAtribute objects.
|
|
95
|
-
*/
|
|
96
|
-
getObject(nodeId: number, objectInstanceDefinition: string, objectId: string, attributes?: string | PbxAttribute[] | null): Promise<PbxObject | null>;
|
|
97
|
-
/**
|
|
98
|
-
* Queries the list of object instances that match the specified filter.
|
|
99
|
-
* A filter can be built using the {@link Filter} class, or it can be a string object.
|
|
100
|
-
* @example
|
|
101
|
-
* ```typescript
|
|
102
|
-
* // Using a Filter object
|
|
103
|
-
* let filter = o2g.types.pbxmngt.Filter.create(
|
|
104
|
-
* "StationType",
|
|
105
|
-
* o2g.types.pbxmngt.AttributeFilter.Equals,
|
|
106
|
-
* "ANALOG");
|
|
107
|
-
* let objectInstances = await o2g.pbxManagement.getObjectInstances(5, "Subscriber", filter);
|
|
108
|
-
*
|
|
109
|
-
* // Using a string as a filter
|
|
110
|
-
* objectInstances = await o2g.pbxManagement.getObjectInstances(5, "Subscriber", "StationType==ANALOG");
|
|
111
|
-
*
|
|
112
|
-
* ```
|
|
113
|
-
*
|
|
114
|
-
* @param nodeId the OmniPCX Enterprise node id
|
|
115
|
-
* @param objectInstanceDefinition the object instance definition
|
|
116
|
-
* @param filter a filter to query the instances ({@link Filter} object or string)
|
|
117
|
-
*/
|
|
118
|
-
getObjectInstances(nodeId: number, objectInstanceDefinition: string, filter?: string | Filter | null): Promise<string[] | null>;
|
|
119
|
-
/**
|
|
120
|
-
* Changes one or several attribute values of the specified object.
|
|
121
|
-
* @param nodeId the OmniPCX Enterprise node id
|
|
122
|
-
* @param objectInstanceDefinition the object instance definition
|
|
123
|
-
* @param objectId the object instance id
|
|
124
|
-
* @param attributes the array of attributes to change
|
|
125
|
-
*/
|
|
126
|
-
setObject(nodeId: number, objectInstanceDefinition: string, objectId: string, attributes: PbxAttribute[]): Promise<boolean>;
|
|
127
|
-
/**
|
|
128
|
-
* Deletes the specified instance of object.
|
|
129
|
-
* <p>
|
|
130
|
-
* The "<i>FORCED_DELETE</i>" action is not available for all object.
|
|
131
|
-
* Check the availability in the {@link Model} model corresponding to this object.
|
|
132
|
-
* This option can be used, for exemple, to delete a {@code Subscriber} having voice mails in his mail box.
|
|
133
|
-
* @param nodeId the OmniPCX Enterprise node id
|
|
134
|
-
* @param objectInstanceDefinition the object instance definition
|
|
135
|
-
* @param objectId the object instance id
|
|
136
|
-
* @param forceDelete Use the "<i>FORCED_DELETE</i>" action to delete the object.
|
|
137
|
-
*/
|
|
138
|
-
deleteObject(nodeId: number, objectInstanceDefinition: string, objectId: string, forceDelete?: boolean): Promise<boolean>;
|
|
139
|
-
/**
|
|
140
|
-
* Creates a new object with the specified collection of attributes
|
|
141
|
-
* @param nodeId the OmniPCX Enterprise node id
|
|
142
|
-
* @param objectInstanceDefinition the object instance definition
|
|
143
|
-
* @param attributes the array of attributes to set at this object creation.
|
|
144
|
-
*/
|
|
145
|
-
createObject(nodeId: number, objectInstanceDefinition: string, attributes: PbxAttribute[]): Promise<boolean>;
|
|
146
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import PhoneSetProgrammingRest from "./internal/rest/phone-set-prog-rest";
|
|
2
|
-
import { Device } from "./types/users/users-types";
|
|
3
|
-
import { DynamicState } from "./types/phoneset/phoneset-types";
|
|
4
|
-
import { Pin } from "./types/phoneset/pin";
|
|
5
|
-
import { ProgrammableKey } from "./types/phoneset/programmable-key";
|
|
6
|
-
import { SoftKey } from "./types/phoneset/softkey";
|
|
7
|
-
export declare class PhoneSetProgramming {
|
|
8
|
-
private _phoneSetProgrRest;
|
|
9
|
-
constructor(phoneSetProgrRest: PhoneSetProgrammingRest);
|
|
10
|
-
getDevices(loginName: string | null): Promise<Device[] | null>;
|
|
11
|
-
getDevice(loginName: string | null, deviceId: string): Promise<Device | null>;
|
|
12
|
-
getProgrammableKeys(loginName: string | null, deviceId: string): Promise<ProgrammableKey[] | null>;
|
|
13
|
-
getProgrammedKeys(loginName: string | null, deviceId: string): Promise<ProgrammableKey[] | null>;
|
|
14
|
-
setProgrammableKey(loginName: string | null, deviceId: string, key: ProgrammableKey): Promise<boolean>;
|
|
15
|
-
deleteProgrammableKey(loginName: string | null, deviceId: string, position: number): Promise<boolean>;
|
|
16
|
-
getSoftKeys(loginName: string | null, deviceId: string): Promise<SoftKey[] | null>;
|
|
17
|
-
setSoftKey(loginName: string | null, deviceId: string, key: SoftKey): Promise<boolean>;
|
|
18
|
-
deleteSoftKey(loginName: string | null, deviceId: string, position: number): Promise<boolean>;
|
|
19
|
-
lockDevice(loginName: string | null, deviceId: string): Promise<boolean>;
|
|
20
|
-
unlockDevice(loginName: string | null, deviceId: string): Promise<boolean>;
|
|
21
|
-
enableCampon(loginName: string | null, deviceId: string): Promise<boolean>;
|
|
22
|
-
disableCampon(loginName: string | null, deviceId: string): Promise<boolean>;
|
|
23
|
-
getPinCode(loginName: string | null, deviceId: string): Promise<Pin | null>;
|
|
24
|
-
setPinCode(loginName: string | null, deviceId: string, code: Pin): Promise<boolean>;
|
|
25
|
-
getDynamicState(loginName: string | null, deviceId: string): Promise<DynamicState | null>;
|
|
26
|
-
setAssociate(loginName: string | null, deviceId: string, associate: string): Promise<boolean>;
|
|
27
|
-
activateRemoteExtension(loginName: string | null, deviceId: string): Promise<boolean>;
|
|
28
|
-
deactivateRemoteExtension(loginName: string | null, deviceId: string): Promise<boolean>;
|
|
29
|
-
}
|