o2g-node-sdk 1.0.1 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +234 -5
- package/dist/o2g-node-sdk.js +38042 -1
- package/dist/o2g-node-sdk.js.map +1 -1
- package/dist/{ErrorInfo.d.ts → types/ErrorInfo.d.ts} +1 -0
- package/dist/types/ErrorInfo.d.ts.map +1 -0
- package/dist/{host.d.ts → types/host.d.ts} +3 -2
- package/dist/types/host.d.ts.map +1 -0
- package/dist/types/internal/access-mode.d.ts +2 -0
- package/dist/types/internal/access-mode.d.ts.map +1 -0
- package/dist/types/internal/events/chunk-eventing.d.ts +2 -0
- package/dist/types/internal/events/chunk-eventing.d.ts.map +1 -0
- package/dist/types/internal/events/event-dispatcher.d.ts +2 -0
- package/dist/types/internal/events/event-dispatcher.d.ts.map +1 -0
- package/dist/types/internal/events/event-packages.d.ts +2 -0
- package/dist/types/internal/events/event-packages.d.ts.map +1 -0
- package/dist/types/internal/o2g-application.d.ts +2 -0
- package/dist/types/internal/o2g-application.d.ts.map +1 -0
- package/dist/types/internal/rest/analytics-rest.d.ts +2 -0
- package/dist/types/internal/rest/analytics-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/authentication-rest.d.ts +2 -0
- package/dist/types/internal/rest/authentication-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccAgent-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccAgent-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccMngt-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccMngt-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccPilot-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccPilot-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccRealtime-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccRealtime-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccStatistics-rest.d.ts +45 -0
- package/dist/types/internal/rest/ccStatistics-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/comlog-rest.d.ts +2 -0
- package/dist/types/internal/rest/comlog-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/directory-rest.d.ts +2 -0
- package/dist/types/internal/rest/directory-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/eventSummary-rest.d.ts +2 -0
- package/dist/types/internal/rest/eventSummary-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/maint-rest.d.ts +2 -0
- package/dist/types/internal/rest/maint-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/messaging-rest.d.ts +2 -0
- package/dist/types/internal/rest/messaging-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/o2g-rest.d.ts +2 -0
- package/dist/types/internal/rest/o2g-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/pbx-mngt-rest.d.ts +2 -0
- package/dist/types/internal/rest/pbx-mngt-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/phone-set-prog-rest.d.ts +2 -0
- package/dist/types/internal/rest/phone-set-prog-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/rest-service.d.ts +2 -0
- package/dist/types/internal/rest/rest-service.d.ts.map +1 -0
- package/dist/types/internal/rest/routing-rest.d.ts +2 -0
- package/dist/types/internal/rest/routing-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/rsi-rest.d.ts +2 -0
- package/dist/types/internal/rest/rsi-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/sessions-rest.d.ts +2 -0
- package/dist/types/internal/rest/sessions-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/subscriptions-rest.d.ts +2 -0
- package/dist/types/internal/rest/subscriptions-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/telephony-rest.d.ts +2 -0
- package/dist/types/internal/rest/telephony-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/users-mngt-rest.d.ts +2 -0
- package/dist/types/internal/rest/users-mngt-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/users-rest.d.ts +2 -0
- package/dist/types/internal/rest/users-rest.d.ts.map +1 -0
- package/dist/types/internal/service-end-point.d.ts +2 -0
- package/dist/types/internal/service-end-point.d.ts.map +1 -0
- package/dist/types/internal/service-factory.d.ts +2 -0
- package/dist/types/internal/service-factory.d.ts.map +1 -0
- package/dist/types/internal/session.d.ts +2 -0
- package/dist/types/internal/session.d.ts.map +1 -0
- package/dist/types/internal/types/analytics/analytics-types.d.ts +2 -0
- package/dist/types/internal/types/analytics/analytics-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-agent/cc-agent-types.d.ts +2 -0
- package/dist/types/internal/types/cc-agent/cc-agent-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-mngt/cc-mntg-types.d.ts +2 -0
- package/dist/types/internal/types/cc-mngt/cc-mntg-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-pilot/cc-pilot-types.d.ts +2 -0
- package/dist/types/internal/types/cc-pilot/cc-pilot-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-rt/cc-rt-types.d.ts +2 -0
- package/dist/types/internal/types/cc-rt/cc-rt-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/abstract-filter.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/abstract-filter.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/ag-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/ag-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/cc-stat-types.d.ts +56 -0
- package/dist/types/internal/types/cc-stat/cc-stat-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/context-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/context-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/on-stats-progress.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/on-stats-progress.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/pil-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/pil-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/requester-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/requester-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/scheduled-rep-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/scheduled-rep-impl.d.ts.map +1 -0
- package/dist/types/internal/types/comlog/comlog-types.d.ts +2 -0
- package/dist/types/internal/types/comlog/comlog-types.d.ts.map +1 -0
- package/dist/types/internal/types/common/common-types.d.ts +2 -0
- package/dist/types/internal/types/common/common-types.d.ts.map +1 -0
- package/dist/types/internal/types/directory/directory-types.d.ts +2 -0
- package/dist/types/internal/types/directory/directory-types.d.ts.map +1 -0
- package/dist/types/{eventsummary/event-summary-events.d.ts → internal/types/eventsummary/eventsummary-types.d.ts} +4 -5
- package/dist/types/internal/types/eventsummary/eventsummary-types.d.ts.map +1 -0
- package/dist/types/internal/types/maint/maint-types.d.ts +2 -0
- package/dist/types/internal/types/maint/maint-types.d.ts.map +1 -0
- package/dist/types/internal/types/messaging/messaging-types.d.ts +2 -0
- package/dist/types/internal/types/messaging/messaging-types.d.ts.map +1 -0
- package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts +2 -0
- package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts.map +1 -0
- package/dist/types/internal/types/phoneset/phoneset-types.d.ts +2 -0
- package/dist/types/internal/types/phoneset/phoneset-types.d.ts.map +1 -0
- package/dist/types/internal/types/routing/routing-types.d.ts +2 -0
- package/dist/types/internal/types/routing/routing-types.d.ts.map +1 -0
- package/dist/types/internal/types/rsi/rsi-types.d.ts +2 -0
- package/dist/types/internal/types/rsi/rsi-types.d.ts.map +1 -0
- package/dist/types/internal/types/telephony/telephony-types.d.ts +2 -0
- package/dist/types/internal/types/telephony/telephony-types.d.ts.map +1 -0
- package/dist/types/internal/types/users/users-types.d.ts +2 -0
- package/dist/types/internal/types/users/users-types.d.ts.map +1 -0
- package/dist/types/internal/util/IHttpClient.d.ts +2 -0
- package/dist/types/internal/util/IHttpClient.d.ts.map +1 -0
- package/dist/types/internal/util/assert.d.ts +2 -0
- package/dist/types/internal/util/assert.d.ts.map +1 -0
- package/dist/types/internal/util/file-utils.d.ts +2 -0
- package/dist/types/internal/util/file-utils.d.ts.map +1 -0
- package/dist/types/internal/util/format-util.d.ts +2 -0
- package/dist/types/internal/util/format-util.d.ts.map +1 -0
- package/dist/types/internal/util/hexa-string.d.ts +2 -0
- package/dist/types/internal/util/hexa-string.d.ts.map +1 -0
- package/dist/types/internal/util/http-client.d.ts +2 -0
- package/dist/types/internal/util/http-client.d.ts.map +1 -0
- package/dist/types/internal/util/http-content.d.ts +2 -0
- package/dist/types/internal/util/http-content.d.ts.map +1 -0
- package/dist/types/internal/util/http-response.d.ts +2 -0
- package/dist/types/internal/util/http-response.d.ts.map +1 -0
- package/dist/types/internal/util/injection-container.d.ts +5 -0
- package/dist/types/internal/util/injection-container.d.ts.map +1 -0
- package/dist/types/internal/util/logger.d.ts +7 -0
- package/dist/types/internal/util/logger.d.ts.map +1 -0
- package/dist/types/internal/util/util-uri.d.ts +2 -0
- package/dist/types/internal/util/util-uri.d.ts.map +1 -0
- package/dist/{o2g-analytics.d.ts → types/o2g-analytics.d.ts} +10 -15
- package/dist/types/o2g-analytics.d.ts.map +1 -0
- package/dist/types/o2g-cc-agent.d.ts +376 -0
- package/dist/types/o2g-cc-agent.d.ts.map +1 -0
- package/dist/types/o2g-cc-mngt.d.ts +213 -0
- package/dist/types/o2g-cc-mngt.d.ts.map +1 -0
- package/dist/types/o2g-cc-pilot.d.ts +71 -0
- package/dist/types/o2g-cc-pilot.d.ts.map +1 -0
- package/dist/types/o2g-cc-rt.d.ts +163 -0
- package/dist/types/o2g-cc-rt.d.ts.map +1 -0
- package/dist/types/o2g-cc-stat.d.ts +450 -0
- package/dist/types/o2g-cc-stat.d.ts.map +1 -0
- package/dist/types/o2g-comlog.d.ts +245 -0
- package/dist/types/o2g-comlog.d.ts.map +1 -0
- package/dist/types/o2g-directory.d.ts +109 -0
- package/dist/types/o2g-directory.d.ts.map +1 -0
- package/dist/types/o2g-eventSummary.d.ts +44 -0
- package/dist/types/o2g-eventSummary.d.ts.map +1 -0
- package/dist/types/o2g-maint.d.ts +82 -0
- package/dist/types/o2g-maint.d.ts.map +1 -0
- package/dist/types/o2g-messaging.d.ts +137 -0
- package/dist/types/o2g-messaging.d.ts.map +1 -0
- package/dist/types/o2g-node-sdk.d.ts +421 -0
- package/dist/types/o2g-node-sdk.d.ts.map +1 -0
- package/dist/types/o2g-pbx-mngt.d.ts +244 -0
- package/dist/types/o2g-pbx-mngt.d.ts.map +1 -0
- package/dist/types/o2g-phone-set-prog.d.ts +269 -0
- package/dist/types/o2g-phone-set-prog.d.ts.map +1 -0
- package/dist/types/o2g-routing.d.ts +313 -0
- package/dist/types/o2g-routing.d.ts.map +1 -0
- package/dist/{o2g-rsi.d.ts → types/o2g-rsi.d.ts} +7 -12
- package/dist/types/o2g-rsi.d.ts.map +1 -0
- package/dist/types/o2g-telephony.d.ts +895 -0
- package/dist/types/o2g-telephony.d.ts.map +1 -0
- package/dist/types/o2g-users-mngt.d.ts +83 -0
- package/dist/types/o2g-users-mngt.d.ts.map +1 -0
- package/dist/types/o2g-users.d.ts +127 -0
- package/dist/types/o2g-users.d.ts.map +1 -0
- package/dist/types/subscription.d.ts +379 -0
- package/dist/types/subscription.d.ts.map +1 -0
- package/dist/types/supervised-account.d.ts +40 -0
- package/dist/types/supervised-account.d.ts.map +1 -0
- package/dist/types/{analytics → types/analytics}/call-type.d.ts +1 -0
- package/dist/types/types/analytics/call-type.d.ts.map +1 -0
- package/dist/types/types/analytics/charging-file.d.ts +13 -0
- package/dist/types/types/analytics/charging-file.d.ts.map +1 -0
- package/dist/types/types/analytics/charging-result.d.ts +50 -0
- package/dist/types/types/analytics/charging-result.d.ts.map +1 -0
- package/dist/types/types/analytics/charging.d.ts +69 -0
- package/dist/types/types/analytics/charging.d.ts.map +1 -0
- package/dist/types/types/analytics/incident.d.ts +41 -0
- package/dist/types/types/analytics/incident.d.ts.map +1 -0
- package/dist/types/{analytics → types/analytics}/tel-facility.d.ts +1 -0
- package/dist/types/types/analytics/tel-facility.d.ts.map +1 -0
- package/dist/types/types/cc-agent/agent-groups.d.ts +11 -0
- package/dist/types/types/cc-agent/agent-groups.d.ts.map +1 -0
- package/dist/types/types/cc-agent/agent-skill-set.d.ts +43 -0
- package/dist/types/types/cc-agent/agent-skill-set.d.ts.map +1 -0
- package/dist/types/types/cc-agent/agent-skill.d.ts +15 -0
- package/dist/types/types/cc-agent/agent-skill.d.ts.map +1 -0
- package/dist/types/types/cc-agent/cc-agent-events.d.ts +44 -0
- package/dist/types/types/cc-agent/cc-agent-events.d.ts.map +1 -0
- package/dist/types/{cc-agent → types/cc-agent}/intrusion-mode.d.ts +3 -2
- package/dist/types/types/cc-agent/intrusion-mode.d.ts.map +1 -0
- package/dist/types/types/cc-agent/operator-config.d.ts +76 -0
- package/dist/types/types/cc-agent/operator-config.d.ts.map +1 -0
- package/dist/types/types/cc-agent/operator-state.d.ts +100 -0
- package/dist/types/types/cc-agent/operator-state.d.ts.map +1 -0
- package/dist/types/{cc-agent → types/cc-agent}/operator-type.d.ts +1 -0
- package/dist/types/types/cc-agent/operator-type.d.ts.map +1 -0
- package/dist/types/types/cc-agent/withdraw-reason.d.ts +23 -0
- package/dist/types/types/cc-agent/withdraw-reason.d.ts.map +1 -0
- package/dist/types/{cc-mngt → types/cc-mngt}/calendar/abstract-calendar.d.ts +2 -1
- package/dist/types/types/cc-mngt/calendar/abstract-calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/calendar.d.ts +22 -0
- package/dist/types/types/cc-mngt/calendar/calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts +31 -0
- package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts +31 -0
- package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts +18 -0
- package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/transition.d.ts +65 -0
- package/dist/types/types/cc-mngt/calendar/transition.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/pilot-rule-set.d.ts +33 -0
- package/dist/types/types/cc-mngt/pilot-rule-set.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/pilot-rule.d.ts +24 -0
- package/dist/types/types/cc-mngt/pilot-rule.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/pilot.d.ts +58 -0
- package/dist/types/types/cc-mngt/pilot.d.ts.map +1 -0
- package/dist/types/types/cc-pilot/call-data-pilot.d.ts +50 -0
- package/dist/types/types/cc-pilot/call-data-pilot.d.ts.map +1 -0
- package/dist/types/types/cc-pilot/cc-pilot-events.d.ts +131 -0
- package/dist/types/types/cc-pilot/cc-pilot-events.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-attributes.d.ts +50 -0
- package/dist/types/types/cc-rt/agent-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-pg-attributes.d.ts +50 -0
- package/dist/types/types/cc-rt/agent-pg-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-pg-type.d.ts +17 -0
- package/dist/types/types/cc-rt/agent-pg-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-phone-state.d.ts +67 -0
- package/dist/types/types/cc-rt/agent-phone-state.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-service-type.d.ts +16 -0
- package/dist/types/types/cc-rt/agent-service-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-type.d.ts +16 -0
- package/dist/types/types/cc-rt/agent-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/cc-rt-events.d.ts +274 -0
- package/dist/types/types/cc-rt/cc-rt-events.d.ts.map +1 -0
- package/dist/types/types/cc-rt/other-pg-attributes.d.ts +18 -0
- package/dist/types/types/cc-rt/other-pg-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/other-pg-type.d.ts +22 -0
- package/dist/types/types/cc-rt/other-pg-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/pilot-attributes.d.ts +40 -0
- package/dist/types/types/cc-rt/pilot-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/queue-attributes.d.ts +30 -0
- package/dist/types/types/cc-rt/queue-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/queue-type.d.ts +23 -0
- package/dist/types/types/cc-rt/queue-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-context.d.ts +56 -0
- package/dist/types/types/cc-rt/rti-context.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-filter.d.ts +117 -0
- package/dist/types/types/cc-rt/rti-filter.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-object-identifier.d.ts +34 -0
- package/dist/types/types/cc-rt/rti-object-identifier.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-objects.d.ts +72 -0
- package/dist/types/types/cc-rt/rti-objects.d.ts.map +1 -0
- package/dist/types/types/cc-stats/agbypilot-attributes.d.ts +73 -0
- package/dist/types/types/cc-stats/agbypilot-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/agent-attributes.d.ts +377 -0
- package/dist/types/types/cc-stats/agent-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/agent-filter.d.ts +60 -0
- package/dist/types/types/cc-stats/agent-filter.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts +184 -0
- package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/ag-stats-row.d.ts +608 -0
- package/dist/types/types/cc-stats/data/ag-stats-row.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/data-obs-period.d.ts +20 -0
- package/dist/types/types/cc-stats/data/data-obs-period.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/pil-stats-row.d.ts +623 -0
- package/dist/types/types/cc-stats/data/pil-stats-row.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/selected-period.d.ts +49 -0
- package/dist/types/types/cc-stats/data/selected-period.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/stat-value.d.ts +36 -0
- package/dist/types/types/cc-stats/data/stat-value.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/stats-data.d.ts +64 -0
- package/dist/types/types/cc-stats/data/stats-data.d.ts.map +1 -0
- package/dist/types/types/cc-stats/events/progress-callback.d.ts +9 -0
- package/dist/types/types/cc-stats/events/progress-callback.d.ts.map +1 -0
- package/dist/types/types/cc-stats/events/progress-step.d.ts +20 -0
- package/dist/types/types/cc-stats/events/progress-step.d.ts.map +1 -0
- package/dist/types/types/cc-stats/language.d.ts +15 -0
- package/dist/types/types/cc-stats/language.d.ts.map +1 -0
- package/dist/types/types/cc-stats/pilot-attributes.d.ts +185 -0
- package/dist/types/types/cc-stats/pilot-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/pilot-filter.d.ts +45 -0
- package/dist/types/types/cc-stats/pilot-filter.d.ts.map +1 -0
- package/dist/types/types/cc-stats/requester.d.ts +33 -0
- package/dist/types/types/cc-stats/requester.d.ts.map +1 -0
- package/dist/types/types/cc-stats/scheduled/recurrence.d.ts +69 -0
- package/dist/types/types/cc-stats/scheduled/recurrence.d.ts.map +1 -0
- package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts +87 -0
- package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts.map +1 -0
- package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts +132 -0
- package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-context.d.ts +66 -0
- package/dist/types/types/cc-stats/stats-context.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-filter.d.ts +34 -0
- package/dist/types/types/cc-stats/stats-filter.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-format.d.ts +17 -0
- package/dist/types/types/cc-stats/stats-format.d.ts.map +1 -0
- package/dist/types/types/cc-stats/time-interval.d.ts +19 -0
- package/dist/types/types/cc-stats/time-interval.d.ts.map +1 -0
- package/dist/types/types/comlog/com-record-participant.d.ts +75 -0
- package/dist/types/types/comlog/com-record-participant.d.ts.map +1 -0
- package/dist/types/types/comlog/com-record.d.ts +97 -0
- package/dist/types/types/comlog/com-record.d.ts.map +1 -0
- package/dist/types/types/comlog/comlog-events.d.ts +110 -0
- package/dist/types/types/comlog/comlog-events.d.ts.map +1 -0
- package/dist/types/{comlog/option.d.ts → types/comlog/filter-option.d.ts} +2 -1
- package/dist/types/types/comlog/filter-option.d.ts.map +1 -0
- package/dist/types/{comlog → types/comlog}/page.d.ts +2 -1
- package/dist/types/types/comlog/page.d.ts.map +1 -0
- package/dist/types/types/comlog/query-filter.d.ts +79 -0
- package/dist/types/types/comlog/query-filter.d.ts.map +1 -0
- package/dist/types/types/comlog/query-result.d.ts +55 -0
- package/dist/types/types/comlog/query-result.d.ts.map +1 -0
- package/dist/types/{comlog → types/comlog}/reason.d.ts +1 -0
- package/dist/types/types/comlog/reason.d.ts.map +1 -0
- package/dist/types/{comlog → types/comlog}/role.d.ts +1 -0
- package/dist/types/types/comlog/role.d.ts.map +1 -0
- package/dist/types/types/common/date-range.d.ts +17 -0
- package/dist/types/types/common/date-range.d.ts.map +1 -0
- package/dist/types/types/common/day-of-week.d.ts +15 -0
- package/dist/types/types/common/day-of-week.d.ts.map +1 -0
- package/dist/types/types/common/device-type.d.ts +22 -0
- package/dist/types/types/common/device-type.d.ts.map +1 -0
- package/dist/types/types/common/device.d.ts +75 -0
- package/dist/types/types/common/device.d.ts.map +1 -0
- package/dist/types/types/common/identifier.d.ts +20 -0
- package/dist/types/types/common/identifier.d.ts.map +1 -0
- package/dist/types/types/common/main-type.d.ts +26 -0
- package/dist/types/types/common/main-type.d.ts.map +1 -0
- package/dist/types/types/common/party-info-type.d.ts +22 -0
- package/dist/types/types/common/party-info-type.d.ts.map +1 -0
- package/dist/types/types/common/party-info.d.ts +28 -0
- package/dist/types/types/common/party-info.d.ts.map +1 -0
- package/dist/types/types/common/service-state.d.ts +20 -0
- package/dist/types/types/common/service-state.d.ts.map +1 -0
- package/dist/types/types/directory/criteria.d.ts +95 -0
- package/dist/types/types/directory/criteria.d.ts.map +1 -0
- package/dist/types/{directory → types/directory}/filter-item.d.ts +5 -4
- package/dist/types/types/directory/filter-item.d.ts.map +1 -0
- package/dist/types/types/directory/logical-operation.d.ts +14 -0
- package/dist/types/types/directory/logical-operation.d.ts.map +1 -0
- package/dist/types/{directory → types/directory}/operation-filter.d.ts +5 -4
- package/dist/types/types/directory/operation-filter.d.ts.map +1 -0
- package/dist/types/types/directory/result-item.d.ts +22 -0
- package/dist/types/types/directory/result-item.d.ts.map +1 -0
- package/dist/types/types/directory/search-result.d.ts +64 -0
- package/dist/types/types/directory/search-result.d.ts.map +1 -0
- package/dist/types/{events → types/events}/events.d.ts +37 -14
- package/dist/types/types/events/events.d.ts.map +1 -0
- package/dist/types/types/eventsummary/event-summary-counter.d.ts +69 -0
- package/dist/types/types/eventsummary/event-summary-counter.d.ts.map +1 -0
- package/dist/types/types/eventsummary/event-summary-events.d.ts +26 -0
- package/dist/types/types/eventsummary/event-summary-events.d.ts.map +1 -0
- package/dist/types/types/maint/configuration-type.d.ts +15 -0
- package/dist/types/types/maint/configuration-type.d.ts.map +1 -0
- package/dist/types/types/maint/cti-link-state.d.ts +19 -0
- package/dist/types/types/maint/cti-link-state.d.ts.map +1 -0
- package/dist/types/types/maint/license-status.d.ts +42 -0
- package/dist/types/types/maint/license-status.d.ts.map +1 -0
- package/dist/types/types/maint/license-type.d.ts +19 -0
- package/dist/types/types/maint/license-type.d.ts.map +1 -0
- package/dist/types/types/maint/license.d.ts +38 -0
- package/dist/types/types/maint/license.d.ts.map +1 -0
- package/dist/types/types/maint/maint-events.d.ts +105 -0
- package/dist/types/types/maint/maint-events.d.ts.map +1 -0
- package/dist/types/types/maint/pbx-status.d.ts +77 -0
- package/dist/types/types/maint/pbx-status.d.ts.map +1 -0
- package/dist/types/types/maint/server-address.d.ts +25 -0
- package/dist/types/types/maint/server-address.d.ts.map +1 -0
- package/dist/types/types/maint/service-status.d.ts +31 -0
- package/dist/types/types/maint/service-status.d.ts.map +1 -0
- package/dist/types/types/maint/subscriber-filter.d.ts +24 -0
- package/dist/types/types/maint/subscriber-filter.d.ts.map +1 -0
- package/dist/types/types/maint/sys-service-status.d.ts +33 -0
- package/dist/types/types/maint/sys-service-status.d.ts.map +1 -0
- package/dist/types/types/maint/sys-status.d.ts +79 -0
- package/dist/types/types/maint/sys-status.d.ts.map +1 -0
- package/dist/types/types/messaging/mailbox-info.d.ts +35 -0
- package/dist/types/types/messaging/mailbox-info.d.ts.map +1 -0
- package/dist/types/types/messaging/mailbox.d.ts +119 -0
- package/dist/types/types/messaging/mailbox.d.ts.map +1 -0
- package/dist/types/types/messaging/voice-message.d.ts +57 -0
- package/dist/types/types/messaging/voice-message.d.ts.map +1 -0
- package/dist/types/{pbxmngt → types/pbxmngt}/attribute-filter.d.ts +1 -0
- package/dist/types/types/pbxmngt/attribute-filter.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/instance-filter.d.ts +72 -0
- package/dist/types/types/pbxmngt/instance-filter.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/model.d.ts +221 -0
- package/dist/types/types/pbxmngt/model.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/octet-string-length.d.ts +12 -0
- package/dist/types/types/pbxmngt/octet-string-length.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx-attr-map.d.ts +96 -0
- package/dist/types/types/pbxmngt/pbx-attr-map.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx-attribute.d.ts +182 -0
- package/dist/types/types/pbxmngt/pbx-attribute.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx-object.d.ts +73 -0
- package/dist/types/types/pbxmngt/pbx-object.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx.d.ts +23 -0
- package/dist/types/types/pbxmngt/pbx.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbxmngt-events.d.ts +74 -0
- package/dist/types/types/pbxmngt/pbxmngt-events.d.ts.map +1 -0
- package/dist/types/types/phoneset/device-key.d.ts +36 -0
- package/dist/types/types/phoneset/device-key.d.ts.map +1 -0
- package/dist/types/types/phoneset/dynamic-state.d.ts +30 -0
- package/dist/types/types/phoneset/dynamic-state.d.ts.map +1 -0
- package/dist/types/types/phoneset/pin.d.ts +53 -0
- package/dist/types/types/phoneset/pin.d.ts.map +1 -0
- package/dist/types/types/phoneset/prog-key.d.ts +26 -0
- package/dist/types/types/phoneset/prog-key.d.ts.map +1 -0
- package/dist/types/types/phoneset/soft-key.d.ts +18 -0
- package/dist/types/types/phoneset/soft-key.d.ts.map +1 -0
- package/dist/types/{routing → types/routing}/destination.d.ts +1 -2
- package/dist/types/types/routing/destination.d.ts.map +1 -0
- package/dist/types/types/routing/dnd-state.d.ts +9 -0
- package/dist/types/types/routing/dnd-state.d.ts.map +1 -0
- package/dist/types/types/routing/forward-condition.d.ts +26 -0
- package/dist/types/types/routing/forward-condition.d.ts.map +1 -0
- package/dist/types/types/routing/forward.d.ts +53 -0
- package/dist/types/types/routing/forward.d.ts.map +1 -0
- package/dist/types/types/routing/overflow-condition.d.ts +22 -0
- package/dist/types/types/routing/overflow-condition.d.ts.map +1 -0
- package/dist/types/types/routing/overflow.d.ts +50 -0
- package/dist/types/types/routing/overflow.d.ts.map +1 -0
- package/dist/types/types/routing/routing-capabilities.d.ts +15 -0
- package/dist/types/types/routing/routing-capabilities.d.ts.map +1 -0
- package/dist/types/types/routing/routing-events.d.ts +23 -0
- package/dist/types/types/routing/routing-events.d.ts.map +1 -0
- package/dist/types/{routing → types/routing}/routing-state.d.ts +5 -20
- package/dist/types/types/routing/routing-state.d.ts.map +1 -0
- package/dist/types/{rsi → types/rsi}/add-digit-coll-criteria.d.ts +1 -0
- package/dist/types/types/rsi/add-digit-coll-criteria.d.ts.map +1 -0
- package/dist/types/{rsi → types/rsi}/collection-cause.d.ts +1 -0
- package/dist/types/types/rsi/collection-cause.d.ts.map +1 -0
- package/dist/types/types/rsi/route-session.d.ts +21 -0
- package/dist/types/types/rsi/route-session.d.ts.map +1 -0
- package/dist/types/{rsi → types/rsi}/routing-caller-type.d.ts +1 -0
- package/dist/types/types/rsi/routing-caller-type.d.ts.map +1 -0
- package/dist/types/{rsi → types/rsi}/routing-reason.d.ts +1 -0
- package/dist/types/types/rsi/routing-reason.d.ts.map +1 -0
- package/dist/types/types/rsi/rsi-events.d.ts +47 -0
- package/dist/types/types/rsi/rsi-events.d.ts.map +1 -0
- package/dist/types/types/rsi/rsi-point.d.ts +17 -0
- package/dist/types/types/rsi/rsi-point.d.ts.map +1 -0
- package/dist/types/{rsi → types/rsi}/tones.d.ts +1 -0
- package/dist/types/types/rsi/tones.d.ts.map +1 -0
- package/dist/types/{telephony → types/telephony}/RecordingAction.d.ts +1 -0
- package/dist/types/types/telephony/RecordingAction.d.ts.map +1 -0
- package/dist/types/types/telephony/call/call-cause.d.ts +123 -0
- package/dist/types/types/telephony/call/call-cause.d.ts.map +1 -0
- package/dist/types/types/telephony/call/call-data.d.ts +81 -0
- package/dist/types/types/telephony/call/call-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts +35 -0
- package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/acd-data.d.ts +50 -0
- package/dist/types/types/telephony/call/ccd/acd-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/call-profile.d.ts +112 -0
- package/dist/types/types/telephony/call/ccd/call-profile.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-info.d.ts +43 -0
- package/dist/types/types/telephony/call/ccd/pilot-info.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-status.d.ts +38 -0
- package/dist/types/types/telephony/call/ccd/pilot-status.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts +24 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts +104 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/queue-data.d.ts +23 -0
- package/dist/types/types/telephony/call/ccd/queue-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/correlator-data.d.ts +54 -0
- package/dist/types/types/telephony/call/correlator-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/leg.d.ts +57 -0
- package/dist/types/types/telephony/call/leg.d.ts.map +1 -0
- package/dist/types/types/telephony/call/media-state.d.ts +42 -0
- package/dist/types/types/telephony/call/media-state.d.ts.map +1 -0
- package/dist/types/types/telephony/call/participant.d.ts +34 -0
- package/dist/types/types/telephony/call/participant.d.ts.map +1 -0
- package/dist/types/types/telephony/call/record-state.d.ts +14 -0
- package/dist/types/types/telephony/call/record-state.d.ts.map +1 -0
- package/dist/types/types/telephony/call/tag.d.ts +37 -0
- package/dist/types/types/telephony/call/tag.d.ts.map +1 -0
- package/dist/types/types/telephony/call.d.ts +90 -0
- package/dist/types/types/telephony/call.d.ts.map +1 -0
- package/dist/types/types/telephony/callback.d.ts +33 -0
- package/dist/types/types/telephony/callback.d.ts.map +1 -0
- package/dist/types/types/telephony/device/device-state.d.ts +30 -0
- package/dist/types/types/telephony/device/device-state.d.ts.map +1 -0
- package/dist/types/types/telephony/device/operational-state.d.ts +18 -0
- package/dist/types/types/telephony/device/operational-state.d.ts.map +1 -0
- package/dist/types/types/telephony/hunting-group-status.d.ts +25 -0
- package/dist/types/types/telephony/hunting-group-status.d.ts.map +1 -0
- package/dist/types/types/telephony/hunting-groups.d.ts +33 -0
- package/dist/types/types/telephony/hunting-groups.d.ts.map +1 -0
- package/dist/types/types/telephony/mini-message.d.ts +37 -0
- package/dist/types/types/telephony/mini-message.d.ts.map +1 -0
- package/dist/types/types/telephony/telephonic-state.d.ts +34 -0
- package/dist/types/types/telephony/telephonic-state.d.ts.map +1 -0
- package/dist/types/types/telephony/telephony-events.d.ts +223 -0
- package/dist/types/types/telephony/telephony-events.d.ts.map +1 -0
- package/dist/types/types/telephony/trunk-indentification.d.ts +19 -0
- package/dist/types/types/telephony/trunk-indentification.d.ts.map +1 -0
- package/dist/types/types/telephony/user/user-state.d.ts +18 -0
- package/dist/types/types/telephony/user/user-state.d.ts.map +1 -0
- package/dist/types/types/users/preferences.d.ts +29 -0
- package/dist/types/types/users/preferences.d.ts.map +1 -0
- package/dist/types/types/users/supported-languages.d.ts +29 -0
- package/dist/types/types/users/supported-languages.d.ts.map +1 -0
- package/dist/types/types/users/user.d.ts +67 -0
- package/dist/types/types/users/user.d.ts.map +1 -0
- package/dist/types/types/users/users-events.d.ts +78 -0
- package/dist/types/types/users/users-events.d.ts.map +1 -0
- package/dist/types/types/users/voicemail-type.d.ts +18 -0
- package/dist/types/types/users/voicemail-type.d.ts.map +1 -0
- package/dist/types/types/users/voicemail.d.ts +20 -0
- package/dist/types/types/users/voicemail.d.ts.map +1 -0
- package/package.json +41 -7
- package/dist/o2g-cc-agent.d.ts +0 -247
- package/dist/o2g-cc-mngt.d.ts +0 -32
- package/dist/o2g-cc-pilot.d.ts +0 -42
- package/dist/o2g-comlog.d.ts +0 -173
- package/dist/o2g-directory.d.ts +0 -88
- package/dist/o2g-eventSummary.d.ts +0 -33
- package/dist/o2g-maint.d.ts +0 -48
- package/dist/o2g-messaging.d.ts +0 -115
- package/dist/o2g-node-sdk.d.ts +0 -159
- package/dist/o2g-pbx-mngt.d.ts +0 -146
- package/dist/o2g-phone-set-prog.d.ts +0 -29
- package/dist/o2g-routing.d.ts +0 -267
- package/dist/o2g-telephony.d.ts +0 -795
- package/dist/o2g-user-mngt.d.ts +0 -42
- package/dist/o2g-users.d.ts +0 -85
- package/dist/subscription.d.ts +0 -258
- package/dist/types/analytics/charging-file.d.ts +0 -27
- package/dist/types/analytics/charging-result.d.ts +0 -43
- package/dist/types/analytics/charging.d.ts +0 -105
- package/dist/types/analytics/incident.d.ts +0 -46
- package/dist/types/analytics/time-range.d.ts +0 -22
- package/dist/types/cc-agent/cc-agent-events.d.ts +0 -54
- package/dist/types/cc-agent/cc-agent-types.d.ts +0 -71
- package/dist/types/cc-agent/operator-dyn-state.d.ts +0 -56
- package/dist/types/cc-agent/operator-main-state.d.ts +0 -21
- package/dist/types/cc-mngt/calendar/calendar.d.ts +0 -19
- package/dist/types/cc-mngt/calendar/day-of-week.d.ts +0 -33
- package/dist/types/cc-mngt/calendar/exception-calendar.d.ts +0 -26
- package/dist/types/cc-mngt/calendar/normal-calendar.d.ts +0 -27
- package/dist/types/cc-mngt/calendar/transition.d.ts +0 -49
- package/dist/types/cc-mngt/cc-mngt-types.d.ts +0 -0
- package/dist/types/cc-mngt/pilot-rule-set.d.ts +0 -27
- package/dist/types/cc-mngt/pilot-rule.d.ts +0 -14
- package/dist/types/cc-mngt/pilot.d.ts +0 -56
- package/dist/types/cc-pilot/cc-pilot-events.d.ts +0 -111
- package/dist/types/comlog/com-record.d.ts +0 -51
- package/dist/types/comlog/comlog-events.d.ts +0 -74
- package/dist/types/comlog/comlog-types.d.ts +0 -131
- package/dist/types/comlog/query-filter.d.ts +0 -44
- package/dist/types/comlog/query-result.d.ts +0 -27
- package/dist/types/common/common-types.d.ts +0 -78
- package/dist/types/directory/criteria.d.ts +0 -90
- package/dist/types/directory/directory-types.d.ts +0 -44
- package/dist/types/events/o2g-event.d.ts +0 -3
- package/dist/types/eventsummary/event-summary-counter.d.ts +0 -44
- package/dist/types/maint/maint-events.d.ts +0 -51
- package/dist/types/maint/maint-types.d.ts +0 -162
- package/dist/types/messaging/messaging-types.d.ts +0 -120
- package/dist/types/pbxmngt/attribute-type.d.ts +0 -34
- package/dist/types/pbxmngt/filter.d.ts +0 -46
- package/dist/types/pbxmngt/model.d.ts +0 -63
- package/dist/types/pbxmngt/pbx-attr-map.d.ts +0 -91
- package/dist/types/pbxmngt/pbx-attribute.d.ts +0 -87
- package/dist/types/pbxmngt/pbx-object.d.ts +0 -45
- package/dist/types/pbxmngt/pbxmngt-events.d.ts +0 -59
- package/dist/types/pbxmngt/pbxmngt-types.d.ts +0 -14
- package/dist/types/phoneset/device-key.d.ts +0 -27
- package/dist/types/phoneset/phoneset-types.d.ts +0 -17
- package/dist/types/phoneset/pin-control.d.ts +0 -21
- package/dist/types/phoneset/pin.d.ts +0 -50
- package/dist/types/phoneset/programmable-key.d.ts +0 -23
- package/dist/types/phoneset/softkey.d.ts +0 -17
- package/dist/types/routing/forward.d.ts +0 -51
- package/dist/types/routing/overflow.d.ts +0 -42
- package/dist/types/routing/routing-capability.d.ts +0 -31
- package/dist/types/routing/routing-events.d.ts +0 -15
- package/dist/types/routing/routing-types.d.ts +0 -10
- package/dist/types/rsi/rsi-events.d.ts +0 -76
- package/dist/types/rsi/rsi-types.d.ts +0 -49
- package/dist/types/telephony/acr-skill.d.ts +0 -29
- package/dist/types/telephony/telephony-events.d.ts +0 -292
- package/dist/types/telephony/telephony-types.d.ts +0 -587
- package/dist/types/users/users-events.d.ts +0 -33
- package/dist/types/users/users-types.d.ts +0 -129
|
@@ -0,0 +1,895 @@
|
|
|
1
|
+
import EventEmitter from 'events';
|
|
2
|
+
import { RecordingAction } from './types/telephony/RecordingAction';
|
|
3
|
+
import { CorrelatorData } from './types/telephony/call/correlator-data';
|
|
4
|
+
import { Call } from './types/telephony/call';
|
|
5
|
+
import { HuntingGroupStatus } from './types/telephony/hunting-group-status';
|
|
6
|
+
import { HuntingGroups } from './types/telephony/hunting-groups';
|
|
7
|
+
import { MiniMessage } from './types/telephony/mini-message';
|
|
8
|
+
import { TelephonicState } from './types/telephony/telephonic-state';
|
|
9
|
+
import { Callback } from './types/telephony/callback';
|
|
10
|
+
import { PilotInfo } from './types/telephony/call/ccd/pilot-info';
|
|
11
|
+
import { Leg } from './types/telephony/call/leg';
|
|
12
|
+
import { Participant } from './types/telephony/call/participant';
|
|
13
|
+
import { DeviceState } from './types/telephony/device/device-state';
|
|
14
|
+
import { PilotTransferQueryParameters } from './types/telephony/call/ccd/pilot-transfer-query-param';
|
|
15
|
+
import { CallProfile } from './types/telephony/call/ccd/call-profile';
|
|
16
|
+
/**
|
|
17
|
+
* The TelephonyService allows a user to initiate a call and to activate
|
|
18
|
+
* any kind of OmniPCX Enterprise telephony services.
|
|
19
|
+
* <p>
|
|
20
|
+
* Using this service requires having a <b>TELEPHONY_ADVANCED</b> license,
|
|
21
|
+
* except for the 3 basic services
|
|
22
|
+
* {@link basicMakeCall}, {@link basicAnswerCall} and {@link basicDropMe} that are available without any
|
|
23
|
+
* license.
|
|
24
|
+
*/
|
|
25
|
+
export declare class Telephony extends EventEmitter {
|
|
26
|
+
#private;
|
|
27
|
+
/**
|
|
28
|
+
* Occurs in response to a snapshot request.
|
|
29
|
+
* @event
|
|
30
|
+
*/
|
|
31
|
+
static readonly ON_TELEPHONY_STATE = "OnTelephonyState";
|
|
32
|
+
/**
|
|
33
|
+
* Occurs when a new call is created.
|
|
34
|
+
* @event
|
|
35
|
+
*/
|
|
36
|
+
static readonly ON_CALL_CREATED = "OnCallCreated";
|
|
37
|
+
/**
|
|
38
|
+
* Occurs when an existing call is modified.
|
|
39
|
+
* @event
|
|
40
|
+
*/
|
|
41
|
+
static readonly ON_CALL_MODIFIED = "OnCallModified";
|
|
42
|
+
/**
|
|
43
|
+
* Occurs when a call has been removed.
|
|
44
|
+
* @event
|
|
45
|
+
*/
|
|
46
|
+
static readonly ON_CALL_REMOVED = "OnCallRemoved";
|
|
47
|
+
/**
|
|
48
|
+
* Occurs when a user's state has been modified.
|
|
49
|
+
* @event
|
|
50
|
+
*/
|
|
51
|
+
static readonly ON_USER_STATE_MODIFIED = "OnUserStateModified";
|
|
52
|
+
/**
|
|
53
|
+
* Occurs when a device's state has been modified.
|
|
54
|
+
* @event
|
|
55
|
+
*/
|
|
56
|
+
static readonly ON_DEVICE_STATE_MODIFIED = "OnDeviceStateModified";
|
|
57
|
+
/**
|
|
58
|
+
* Occurs when a user's dynamic state has changed.
|
|
59
|
+
* @event
|
|
60
|
+
*/
|
|
61
|
+
static readonly ON_DYNAMIC_STATE_CHANGED = "OnDynamicStateChanged";
|
|
62
|
+
/**
|
|
63
|
+
* Initiates a call from the specified device to the specified called number.
|
|
64
|
+
* <p>
|
|
65
|
+
* If the session is opened by a user, the device phone number must be one of
|
|
66
|
+
* the user's devices.
|
|
67
|
+
* <p>
|
|
68
|
+
* If `autoAnswer` is set to `false`, the `deviceId` is called before launching
|
|
69
|
+
* the call to the callee; otherwise the callee is called immediately.
|
|
70
|
+
*
|
|
71
|
+
* @param deviceId the device phone number for which the call is made
|
|
72
|
+
* @param callee the called number
|
|
73
|
+
* @param autoAnswer automatic answer on make call
|
|
74
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
75
|
+
*/
|
|
76
|
+
basicMakeCall(deviceId: string, callee: string, autoAnswer?: boolean): Promise<boolean>;
|
|
77
|
+
/**
|
|
78
|
+
* Answers an incoming ringing call on the specified device.
|
|
79
|
+
* <p>
|
|
80
|
+
* If the session is opened by a user, the device phone number must be one of
|
|
81
|
+
* the user's devices.
|
|
82
|
+
*
|
|
83
|
+
* @param deviceId the device phone number
|
|
84
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
85
|
+
*/
|
|
86
|
+
basicAnswerCall(deviceId: string): Promise<boolean>;
|
|
87
|
+
/**
|
|
88
|
+
* Exits from the call for the specified user.
|
|
89
|
+
* <p>
|
|
90
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
91
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
92
|
+
* administrator.
|
|
93
|
+
* <p>
|
|
94
|
+
* If the call is a single call, it is released; if it is a conference, the call
|
|
95
|
+
* carries on without the user.
|
|
96
|
+
*
|
|
97
|
+
* @param loginName the login name for whom the drop is done
|
|
98
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
99
|
+
*/
|
|
100
|
+
basicDropMe(loginName?: string | null): Promise<boolean>;
|
|
101
|
+
/**
|
|
102
|
+
* Retrieves the calls in progress for the specified user.
|
|
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 loginName the login name
|
|
109
|
+
* @returns the list of active {@link Call} objects on success; `null` otherwise.
|
|
110
|
+
*/
|
|
111
|
+
getCalls(loginName?: string | null): Promise<Call[] | null>;
|
|
112
|
+
/**
|
|
113
|
+
* Returns the call specified by the call reference for the specified user.
|
|
114
|
+
* <p>
|
|
115
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
116
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
117
|
+
* administrator.
|
|
118
|
+
*
|
|
119
|
+
* @param callRef the call reference
|
|
120
|
+
* @param loginName the login name
|
|
121
|
+
* @returns the {@link Call} on success; `null` otherwise.
|
|
122
|
+
*/
|
|
123
|
+
getCall(callRef: string, loginName?: string | null): Promise<Call | null>;
|
|
124
|
+
/**
|
|
125
|
+
* Initiates a call from the specified device to the specified called number for
|
|
126
|
+
* the specified user.
|
|
127
|
+
* <p>
|
|
128
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
129
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
130
|
+
* administrator.
|
|
131
|
+
* <p>
|
|
132
|
+
* If `autoAnswer` is set to `false`, the `deviceId` is called before launching
|
|
133
|
+
* the call to the callee; otherwise the callee is called immediately.
|
|
134
|
+
*
|
|
135
|
+
* @param deviceId the device phone number for which the call is made
|
|
136
|
+
* @param callee the called number
|
|
137
|
+
* @param autoAnswer automatic answer on make call
|
|
138
|
+
* @param loginName the login name
|
|
139
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
140
|
+
*/
|
|
141
|
+
makeCall(deviceId: string, callee: string, autoAnswer?: boolean, loginName?: string | null): Promise<boolean>;
|
|
142
|
+
/**
|
|
143
|
+
* Initiates a new call to another user (the callee), using the specified device and options.
|
|
144
|
+
* <p>
|
|
145
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
146
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
147
|
+
* administrator.
|
|
148
|
+
* <p>
|
|
149
|
+
* First, the call server initiates a call on the user's `deviceId`. Then when the
|
|
150
|
+
* call is answered the call server starts the call to the `callee`, and an
|
|
151
|
+
* {@link ON_CALL_CREATED} event is raised.
|
|
152
|
+
* <p>
|
|
153
|
+
* If `inhibitProgressTone` is `true`, the progress tone is inhibited on the outbound call.
|
|
154
|
+
* <p>
|
|
155
|
+
* The `callingNumber` can be used to present a different calling number on the public
|
|
156
|
+
* network in order to hide the real calling extension number.
|
|
157
|
+
*
|
|
158
|
+
* * @example
|
|
159
|
+
* ```typescript
|
|
160
|
+
* // Simple call with auto-answer
|
|
161
|
+
* await O2G.telephony.makeCallEx("1234", "5678");
|
|
162
|
+
*
|
|
163
|
+
* // Call with progress tone inhibited and a different calling number
|
|
164
|
+
* await O2G.telephony.makeCallEx("1234", "5678", true, true, null, "9000");
|
|
165
|
+
*
|
|
166
|
+
* // Call with correlator data to carry application context
|
|
167
|
+
* const correlatorData = new CorrelatorData("transactionId=abc123");
|
|
168
|
+
* await O2G.telephony.makeCallEx("1234", "5678", true, false, correlatorData);
|
|
169
|
+
*
|
|
170
|
+
* // Administrator making a call on behalf of a user
|
|
171
|
+
* await O2G.telephony.makeCallEx("1234", "5678", true, false, null, null, "jdoe");
|
|
172
|
+
* ```
|
|
173
|
+
*
|
|
174
|
+
* @param deviceId the device phone number for which the call is made
|
|
175
|
+
* @param callee the called number
|
|
176
|
+
* @param autoAnswer automatic answer on make call
|
|
177
|
+
* @param inhibitProgressTone allows to inhibit the progress tone on the current external call
|
|
178
|
+
* @param correlatorData correlator data to add to the call
|
|
179
|
+
* @param callingNumber calling number to present to the public network
|
|
180
|
+
* @param loginName the login name
|
|
181
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
182
|
+
*/
|
|
183
|
+
makeCallEx(deviceId: string, callee: string, autoAnswer?: boolean, inhibitProgressTone?: boolean, correlatorData?: CorrelatorData | null, callingNumber?: string | null, loginName?: string | null): Promise<boolean>;
|
|
184
|
+
/**
|
|
185
|
+
* Initiates a new private call to another user (the callee), using a PIN code and an optional secret code.
|
|
186
|
+
* <p>
|
|
187
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
188
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
189
|
+
* administrator.
|
|
190
|
+
* <p>
|
|
191
|
+
* The private call service allows a user to specify that an external call is personal
|
|
192
|
+
* rather than professional. The charging for this type of call can then be given
|
|
193
|
+
* specific processing.
|
|
194
|
+
* <p>
|
|
195
|
+
* First, the call server initiates a call on the user's `deviceId`. Then when the
|
|
196
|
+
* call is answered the call server starts the call to the `callee`, and an
|
|
197
|
+
* {@link ON_CALL_CREATED} event is raised.
|
|
198
|
+
*
|
|
199
|
+
* @param deviceId the device phone number for which the call is made
|
|
200
|
+
* @param callee the called number
|
|
201
|
+
* @param pin the PIN code to identify the caller
|
|
202
|
+
* @param secretCode the optional secret code used to confirm the PIN code
|
|
203
|
+
* @param loginName the login name
|
|
204
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
205
|
+
*/
|
|
206
|
+
makePrivateCall(deviceId: string, callee: string, pin: string, secretCode?: string | null, loginName?: string | null): Promise<boolean>;
|
|
207
|
+
/**
|
|
208
|
+
* Initiates a new business call to another user (the callee), using the specified business code.
|
|
209
|
+
* <p>
|
|
210
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
211
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
212
|
+
* administrator.
|
|
213
|
+
* <p>
|
|
214
|
+
* First, the call server initiates a call on the user's `deviceId`. Then when the
|
|
215
|
+
* call is answered the call server starts the call to the `callee`, and an
|
|
216
|
+
* {@link ON_CALL_CREATED} event is raised.
|
|
217
|
+
*
|
|
218
|
+
* @param deviceId the device phone number for which the call is made
|
|
219
|
+
* @param callee the called number
|
|
220
|
+
* @param businessCode the cost center on which the call will be charged
|
|
221
|
+
* @param loginName the login name
|
|
222
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
223
|
+
*/
|
|
224
|
+
makeBusinessCall(deviceId: string, callee: string, businessCode: string, loginName?: string | null): Promise<boolean>;
|
|
225
|
+
/**
|
|
226
|
+
* Initiates a call from a CCD agent to a supervisor.
|
|
227
|
+
* <p>
|
|
228
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
229
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
230
|
+
* administrator.
|
|
231
|
+
* <p>
|
|
232
|
+
* First, the call server initiates a call on the agent's `deviceId`. Then when
|
|
233
|
+
* the call is answered the call server calls the supervisor, and an
|
|
234
|
+
* {@link ON_CALL_CREATED} event is raised.
|
|
235
|
+
*
|
|
236
|
+
* @param deviceId the device phone number for which the call is made
|
|
237
|
+
* @param autoAnswer automatic answer on make call
|
|
238
|
+
* @param loginName the login name
|
|
239
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
240
|
+
*/
|
|
241
|
+
makeSupervisorCall(deviceId: string, autoAnswer?: boolean, loginName?: string | null): Promise<boolean>;
|
|
242
|
+
/**
|
|
243
|
+
* Initiates an enquiry call from a CCD agent to a pilot or a RSI point.
|
|
244
|
+
* <p>
|
|
245
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
246
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
247
|
+
* administrator.
|
|
248
|
+
* <p>
|
|
249
|
+
* The CCD pilot or the RSI point performs a call distribution to select an agent
|
|
250
|
+
* that will be alerted by this call. The `callProfile` is mandatory in case of
|
|
251
|
+
* "Advanced Call Routing" call distribution strategy.
|
|
252
|
+
*
|
|
253
|
+
* @param deviceId the device phone number for which the call is made
|
|
254
|
+
* @param pilot the called CCD pilot or RSI point number
|
|
255
|
+
* @param correlatorData correlator data to add to the call
|
|
256
|
+
* @param callProfile the call profile associated to this call
|
|
257
|
+
* @param loginName the login name
|
|
258
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
259
|
+
*/
|
|
260
|
+
makePilotOrRSISupervisedTransferCall(deviceId: string, pilot: string, correlatorData?: CorrelatorData | null, callProfile?: CallProfile | null, loginName?: string | null): Promise<boolean | null>;
|
|
261
|
+
/**
|
|
262
|
+
* Initiates a local call to a CCD pilot or a RSI point.
|
|
263
|
+
* <p>
|
|
264
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
265
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
266
|
+
* administrator.
|
|
267
|
+
* <p>
|
|
268
|
+
* The CCD pilot or the RSI point performs a call distribution to select an agent
|
|
269
|
+
* that will be alerted by this call. The `callProfile` is mandatory in case of
|
|
270
|
+
* "Advanced Call Routing" call distribution strategy.
|
|
271
|
+
*
|
|
272
|
+
* @param deviceId the device phone number for which the call is made
|
|
273
|
+
* @param pilot the called CCD pilot or RSI point number
|
|
274
|
+
* @param autoAnswer automatic answer on make call
|
|
275
|
+
* @param correlatorData correlator data to add to the call
|
|
276
|
+
* @param callProfile the call profile associated to this call
|
|
277
|
+
* @param loginName the login name
|
|
278
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
279
|
+
*/
|
|
280
|
+
makePilotOrRSICall(deviceId: string, pilot: string, autoAnswer?: boolean, correlatorData?: CorrelatorData | null, callProfile?: CallProfile | null, loginName?: string | null): Promise<boolean | null>;
|
|
281
|
+
/**
|
|
282
|
+
* Hangs up an active call; all parties are released.
|
|
283
|
+
* <p>
|
|
284
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
285
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
286
|
+
* administrator.
|
|
287
|
+
*
|
|
288
|
+
* @param callRef the call reference to hang up
|
|
289
|
+
* @param loginName the login name
|
|
290
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
291
|
+
*/
|
|
292
|
+
release(callRef: string, loginName?: string | null): Promise<boolean>;
|
|
293
|
+
/**
|
|
294
|
+
* Puts an active call on hold and retrieves a call that has been previously put
|
|
295
|
+
* on hold.
|
|
296
|
+
* <p>
|
|
297
|
+
* If the session is opened by a user, the device phone number must be one of
|
|
298
|
+
* the user's devices.
|
|
299
|
+
*
|
|
300
|
+
* @param callRef the call reference of the call on hold
|
|
301
|
+
* @param deviceId the device phone number for which the operation is done
|
|
302
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
303
|
+
*/
|
|
304
|
+
alternate(callRef: string, deviceId: string): Promise<boolean>;
|
|
305
|
+
/**
|
|
306
|
+
* Answers an incoming ringing call specified by its reference.
|
|
307
|
+
* <p>
|
|
308
|
+
* If the session is opened by a user, the device phone number must be one of
|
|
309
|
+
* the user's devices.
|
|
310
|
+
* <p>
|
|
311
|
+
* Answering a call will fail if the call state is not correct. The state can be
|
|
312
|
+
* checked by listening to the telephony events, and more specifically by
|
|
313
|
+
* checking the capabilities of the involved leg (answer capability on the leg).
|
|
314
|
+
*
|
|
315
|
+
* @param callRef the call reference of the ringing call
|
|
316
|
+
* @param deviceId the device phone number for which the operation is done
|
|
317
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
318
|
+
*/
|
|
319
|
+
answer(callRef: string, deviceId: string): Promise<boolean>;
|
|
320
|
+
/**
|
|
321
|
+
* Attaches the specified correlator data to the specified call.
|
|
322
|
+
* <p>
|
|
323
|
+
* This is used by the application to provide application-related information
|
|
324
|
+
* (limited to 32 bytes). In general, it is used to give information concerning
|
|
325
|
+
* a previously established call to the party of a second call.
|
|
326
|
+
*
|
|
327
|
+
* @param callRef the call reference
|
|
328
|
+
* @param deviceId the device phone number for which the operation is done
|
|
329
|
+
* @param correlatorData the correlator data to attach
|
|
330
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
331
|
+
*/
|
|
332
|
+
attachData(callRef: string, deviceId: string, correlatorData: CorrelatorData): Promise<boolean>;
|
|
333
|
+
/**
|
|
334
|
+
* Transfers the active call to another user, without keeping control of the call.
|
|
335
|
+
* <p>
|
|
336
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
337
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
338
|
+
* administrator.
|
|
339
|
+
*
|
|
340
|
+
* @param callRef the reference of the active call
|
|
341
|
+
* @param transferTo the phone number to which the call is transferred
|
|
342
|
+
* @param anonymous if `true`, the call will be transferred anonymously
|
|
343
|
+
* @param loginName the login name
|
|
344
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
345
|
+
*/
|
|
346
|
+
blindTransfer(callRef: string, transferTo: string, anonymous?: boolean, loginName?: string | null): Promise<boolean>;
|
|
347
|
+
/**
|
|
348
|
+
* Requests a callback on the call specified by the call reference for the
|
|
349
|
+
* specified user.
|
|
350
|
+
* <p>
|
|
351
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
352
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
353
|
+
* administrator.
|
|
354
|
+
*
|
|
355
|
+
* @param callRef the call reference
|
|
356
|
+
* @param loginName the login name
|
|
357
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
358
|
+
*/
|
|
359
|
+
callback(callRef: string, loginName?: string | null): Promise<boolean>;
|
|
360
|
+
/**
|
|
361
|
+
* Returns the legs involved in the call specified by the call reference for the
|
|
362
|
+
* specified user.
|
|
363
|
+
* <p>
|
|
364
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
365
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
366
|
+
* administrator.
|
|
367
|
+
*
|
|
368
|
+
* @param callRef the call reference
|
|
369
|
+
* @param loginName the login name
|
|
370
|
+
* @returns the list of {@link Leg} objects on success; `null` otherwise.
|
|
371
|
+
*/
|
|
372
|
+
getLegs(callRef: string, loginName?: string | null): Promise<Leg[] | null>;
|
|
373
|
+
/**
|
|
374
|
+
* Returns the leg specified by its id, involved in the call specified by the
|
|
375
|
+
* call reference for the specified user.
|
|
376
|
+
* <p>
|
|
377
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
378
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
379
|
+
* administrator.
|
|
380
|
+
*
|
|
381
|
+
* @param callRef the call reference
|
|
382
|
+
* @param legId the leg identifier
|
|
383
|
+
* @param loginName the login name
|
|
384
|
+
* @returns the {@link Leg} on success; `null` otherwise.
|
|
385
|
+
*/
|
|
386
|
+
getLeg(callRef: string, legId: string, loginName?: string | null): Promise<Leg | null>;
|
|
387
|
+
/**
|
|
388
|
+
* Exits from the call specified by its reference for the specified user.
|
|
389
|
+
* <p>
|
|
390
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
391
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
392
|
+
* administrator.
|
|
393
|
+
* <p>
|
|
394
|
+
* If the call is a single call, it is released; if it is a conference, the call
|
|
395
|
+
* carries on without the user.
|
|
396
|
+
*
|
|
397
|
+
* @param callRef the call reference
|
|
398
|
+
* @param loginName the login name for whom the drop is done
|
|
399
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
400
|
+
*/
|
|
401
|
+
dropme(callRef: string, loginName?: string | null): Promise<boolean>;
|
|
402
|
+
/**
|
|
403
|
+
* Puts on hold the call specified by its reference, on the specified device,
|
|
404
|
+
* for the specified user.
|
|
405
|
+
* <p>
|
|
406
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
407
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
408
|
+
* administrator.
|
|
409
|
+
*
|
|
410
|
+
* @param callRef the call reference
|
|
411
|
+
* @param deviceId the device phone number from which the call is put on hold
|
|
412
|
+
* @param loginName the login name
|
|
413
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
414
|
+
*/
|
|
415
|
+
hold(callRef: string, deviceId: string, loginName?: string | null): Promise<boolean>;
|
|
416
|
+
/**
|
|
417
|
+
* Makes a 3-party conference with a specified active call and a specified held
|
|
418
|
+
* call for the specified user.
|
|
419
|
+
* <p>
|
|
420
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
421
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
422
|
+
* administrator.
|
|
423
|
+
*
|
|
424
|
+
* @param callRef the active call reference
|
|
425
|
+
* @param heldCallRef the held call reference
|
|
426
|
+
* @param loginName the login name
|
|
427
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
428
|
+
*/
|
|
429
|
+
merge(callRef: string, heldCallRef: string, loginName?: string | null): Promise<boolean>;
|
|
430
|
+
/**
|
|
431
|
+
* Redirects an outgoing ringing call specified by its reference to the voice
|
|
432
|
+
* mail of the called user.
|
|
433
|
+
* <p>
|
|
434
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
435
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
436
|
+
* administrator.
|
|
437
|
+
*
|
|
438
|
+
* @param callRef the ringing call reference
|
|
439
|
+
* @param loginName the login name
|
|
440
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
441
|
+
*/
|
|
442
|
+
overflowToVoiceMail(callRef: string, loginName?: string | null): Promise<boolean>;
|
|
443
|
+
/**
|
|
444
|
+
* Gets the telephonic state and capabilities for the specified user.
|
|
445
|
+
* <p>
|
|
446
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
447
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
448
|
+
* administrator.
|
|
449
|
+
*
|
|
450
|
+
* @param loginName the login name
|
|
451
|
+
* @returns the {@link TelephonicState} on success; `null` otherwise.
|
|
452
|
+
*/
|
|
453
|
+
getState(loginName?: string | null): Promise<TelephonicState | null>;
|
|
454
|
+
/**
|
|
455
|
+
* Parks the specified active call to a target device.
|
|
456
|
+
* <p>
|
|
457
|
+
* If the device is not provided, the call will be parked on the current device.
|
|
458
|
+
* <p>
|
|
459
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
460
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
461
|
+
* administrator.
|
|
462
|
+
*
|
|
463
|
+
* @param callRef the active call reference
|
|
464
|
+
* @param parkTo the target device, or `null` to park on the current device
|
|
465
|
+
* @param loginName the login name
|
|
466
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
467
|
+
*/
|
|
468
|
+
park(callRef: string, parkTo?: string | null, loginName?: string | null): Promise<boolean>;
|
|
469
|
+
/**
|
|
470
|
+
* Returns the list of participants in the specified call.
|
|
471
|
+
* <p>
|
|
472
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
473
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
474
|
+
* administrator.
|
|
475
|
+
*
|
|
476
|
+
* @param callRef the call reference
|
|
477
|
+
* @param loginName the login name
|
|
478
|
+
* @returns the list of {@link Participant} objects on success; `null` otherwise.
|
|
479
|
+
*/
|
|
480
|
+
getParticipants(callRef: string, loginName?: string | null): Promise<Participant[] | null>;
|
|
481
|
+
/**
|
|
482
|
+
* Returns the specified participant in the specified call.
|
|
483
|
+
* <p>
|
|
484
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
485
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
486
|
+
* administrator.
|
|
487
|
+
*
|
|
488
|
+
* @param callRef the call reference
|
|
489
|
+
* @param participantId the participant identifier
|
|
490
|
+
* @param loginName the login name
|
|
491
|
+
* @returns the {@link Participant} on success; `null` otherwise.
|
|
492
|
+
*/
|
|
493
|
+
getParticipant(callRef: string, participantId: string, loginName?: string | null): Promise<Participant | null>;
|
|
494
|
+
/**
|
|
495
|
+
* Drops the specified participant from the specified call for the specified user.
|
|
496
|
+
* <p>
|
|
497
|
+
* If the call is a single call, it is released; if it is a conference, the call
|
|
498
|
+
* carries on without the participant.
|
|
499
|
+
* <p>
|
|
500
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
501
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
502
|
+
* administrator.
|
|
503
|
+
*
|
|
504
|
+
* @param callRef the call reference
|
|
505
|
+
* @param participantId the participant identifier
|
|
506
|
+
* @param loginName the login name
|
|
507
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
508
|
+
*/
|
|
509
|
+
dropParticipant(callRef: string, participantId: string, loginName?: string | null): Promise<boolean>;
|
|
510
|
+
/**
|
|
511
|
+
* Releases the current call (active or ringing) to retrieve a previously put on
|
|
512
|
+
* hold call, cancelling a consultation call.
|
|
513
|
+
* <p>
|
|
514
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
515
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
516
|
+
* administrator.
|
|
517
|
+
*
|
|
518
|
+
* @param callRef the held call reference
|
|
519
|
+
* @param deviceId the device phone number for which the operation is done
|
|
520
|
+
* @param enquiryCallRef the reference of the enquiry call to cancel
|
|
521
|
+
* @param loginName the login name
|
|
522
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
523
|
+
*/
|
|
524
|
+
reconnect(callRef: string, deviceId: string, enquiryCallRef: string, loginName?: string | null): Promise<boolean>;
|
|
525
|
+
/**
|
|
526
|
+
* Starts, stops, pauses or resumes the recording of the specified call.
|
|
527
|
+
* <p>
|
|
528
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
529
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
530
|
+
* administrator.
|
|
531
|
+
*
|
|
532
|
+
* @param callRef the reference of the call to record
|
|
533
|
+
* @param action the recording action
|
|
534
|
+
* @param loginName the login name
|
|
535
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
536
|
+
*/
|
|
537
|
+
doRecordAction(callRef: string, action: RecordingAction, loginName?: string | null): Promise<boolean>;
|
|
538
|
+
/**
|
|
539
|
+
* Redirects an incoming ringing call to another user or number, instead of
|
|
540
|
+
* responding to it.
|
|
541
|
+
* <p>
|
|
542
|
+
* If `redirectTo` is equal to `"VOICEMAIL"`, the incoming ringing call is
|
|
543
|
+
* redirected to the user's voice mail.
|
|
544
|
+
* <p>
|
|
545
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
546
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
547
|
+
* administrator.
|
|
548
|
+
*
|
|
549
|
+
* @param callRef the incoming ringing call reference
|
|
550
|
+
* @param redirectTo the phone number of the redirection, or `"VOICEMAIL"`
|
|
551
|
+
* @param anonymous if `true`, the call will be redirected anonymously
|
|
552
|
+
* @param loginName the login name
|
|
553
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
554
|
+
*/
|
|
555
|
+
redirect(callRef: string, redirectTo: string, anonymous?: boolean, loginName?: string | null): Promise<boolean>;
|
|
556
|
+
/**
|
|
557
|
+
* Retrieves a call that has been previously put on hold.
|
|
558
|
+
* <p>
|
|
559
|
+
* This method will return `false` if it is invoked from a session opened
|
|
560
|
+
* by an administrator.
|
|
561
|
+
*
|
|
562
|
+
* @param callRef the held call reference
|
|
563
|
+
* @param deviceId the device phone number for which the operation is done
|
|
564
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
565
|
+
*/
|
|
566
|
+
retrieve(callRef: string, deviceId: string, loginName?: string | null): Promise<boolean>;
|
|
567
|
+
/**
|
|
568
|
+
* Sends DTMF codes on the specified active call.
|
|
569
|
+
*
|
|
570
|
+
* @param callRef the active call reference
|
|
571
|
+
* @param deviceId the device phone number for which the operation is done
|
|
572
|
+
* @param number the DTMF codes to send
|
|
573
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
574
|
+
*/
|
|
575
|
+
sendDtmf(callRef: string, deviceId: string, number: string): Promise<boolean>;
|
|
576
|
+
/**
|
|
577
|
+
* Sends the account info for the specified call, on the specified device.
|
|
578
|
+
* <p>
|
|
579
|
+
* This operation is used by a CCD agent to send the transaction code at the end
|
|
580
|
+
* of the call. The string value must comply with the transaction code accepted
|
|
581
|
+
* by OXE (numerical values only).
|
|
582
|
+
*
|
|
583
|
+
* @param callRef the call reference
|
|
584
|
+
* @param deviceId the device phone number for which the operation is done
|
|
585
|
+
* @param accountInfo the transaction code
|
|
586
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
587
|
+
*/
|
|
588
|
+
sendAccountInfo(callRef: string, deviceId: string, accountInfo: string): Promise<boolean>;
|
|
589
|
+
/**
|
|
590
|
+
* Transfers a specified active call to a specified held call for the specified user.
|
|
591
|
+
* <p>
|
|
592
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
593
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
594
|
+
* administrator.
|
|
595
|
+
*
|
|
596
|
+
* @param callRef the active call reference
|
|
597
|
+
* @param heldCallRef the held call reference
|
|
598
|
+
* @param loginName the login name
|
|
599
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
600
|
+
*/
|
|
601
|
+
transfer(callRef: string, heldCallRef: string, loginName?: string | null): Promise<boolean>;
|
|
602
|
+
/**
|
|
603
|
+
* Logs the specified user on a specified desk sharing set.
|
|
604
|
+
* <p>
|
|
605
|
+
* The user must be configured as a desk sharing user.
|
|
606
|
+
* <p>
|
|
607
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
608
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
609
|
+
* administrator.
|
|
610
|
+
*
|
|
611
|
+
* @param dssDeviceNumber the desk sharing set phone number
|
|
612
|
+
* @param loginName the login name
|
|
613
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
614
|
+
* @see deskSharingLogOff
|
|
615
|
+
*/
|
|
616
|
+
deskSharingLogOn(dssDeviceNumber: string, loginName?: string | null): Promise<boolean>;
|
|
617
|
+
/**
|
|
618
|
+
* Logs off the specified user from the desk sharing set.
|
|
619
|
+
* <p>
|
|
620
|
+
* The user must be configured as a desk sharing user.
|
|
621
|
+
* <p>
|
|
622
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
623
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
624
|
+
* administrator.
|
|
625
|
+
*
|
|
626
|
+
* @param loginName the login name
|
|
627
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
628
|
+
* @see deskSharingLogOn
|
|
629
|
+
*/
|
|
630
|
+
deskSharingLogOff(loginName?: string | null): Promise<boolean>;
|
|
631
|
+
/**
|
|
632
|
+
* Gets the states of all devices of the specified user.
|
|
633
|
+
* <p>
|
|
634
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
635
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
636
|
+
* administrator.
|
|
637
|
+
*
|
|
638
|
+
* @param loginName the login name
|
|
639
|
+
* @returns the list of {@link DeviceState} objects on success; `null` otherwise.
|
|
640
|
+
*/
|
|
641
|
+
getDevicesState(loginName?: string | null): Promise<DeviceState[] | null>;
|
|
642
|
+
/**
|
|
643
|
+
* Gets the state of the specified device of the specified user.
|
|
644
|
+
* <p>
|
|
645
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
646
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
647
|
+
* administrator.
|
|
648
|
+
*
|
|
649
|
+
* @param deviceId the device phone number for which the operation is done
|
|
650
|
+
* @param loginName the login name
|
|
651
|
+
* @returns the {@link DeviceState} on success; `null` otherwise.
|
|
652
|
+
*/
|
|
653
|
+
getDeviceState(deviceId: string, loginName?: string | null): Promise<DeviceState | null>;
|
|
654
|
+
/**
|
|
655
|
+
* Picks up the specified incoming call for another user.
|
|
656
|
+
*
|
|
657
|
+
* @param deviceId the device phone number for which the operation is done
|
|
658
|
+
* @param otherCallRef the reference of the call to pick up (on the remote user)
|
|
659
|
+
* @param otherPhoneNumber the phone number on which the call is ringing
|
|
660
|
+
* @param autoAnswer if `true`, automatically answers the call after the pickup
|
|
661
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
662
|
+
*/
|
|
663
|
+
pickUp(deviceId: string, otherCallRef: string, otherPhoneNumber: string, autoAnswer?: boolean): Promise<boolean>;
|
|
664
|
+
/**
|
|
665
|
+
* Performs an intrusion in the active call of a called user.
|
|
666
|
+
* <p>
|
|
667
|
+
* No parameter is required to invoke the intrusion: it only depends on the
|
|
668
|
+
* current intrusion capability of the current device. It is based on the fact
|
|
669
|
+
* that the current device must be in releasing state while calling a user which
|
|
670
|
+
* is in a busy call with another user, the current device has the intrusion
|
|
671
|
+
* capability, and the 2 users engaged in the call have the capability to allow
|
|
672
|
+
* intrusion.
|
|
673
|
+
*
|
|
674
|
+
* @param deviceId the device from which the intrusion is requested
|
|
675
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
676
|
+
* @since O2G 2.4
|
|
677
|
+
*/
|
|
678
|
+
intrusion(deviceId: string): Promise<boolean>;
|
|
679
|
+
/**
|
|
680
|
+
* Unparks a call from a target device.
|
|
681
|
+
*
|
|
682
|
+
* @param deviceId the device from which the unpark request is made
|
|
683
|
+
* @param heldCallRef the reference of the held call to unpark
|
|
684
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
685
|
+
*/
|
|
686
|
+
unPark(deviceId: string, heldCallRef: string): Promise<boolean>;
|
|
687
|
+
/**
|
|
688
|
+
* Retrieves the hunting group status of the specified user.
|
|
689
|
+
* <p>
|
|
690
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
691
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
692
|
+
* administrator.
|
|
693
|
+
*
|
|
694
|
+
* @param loginName the login name
|
|
695
|
+
* @returns the {@link HuntingGroupStatus} on success; `null` otherwise.
|
|
696
|
+
*/
|
|
697
|
+
getHuntingGroupStatus(loginName?: string | null): Promise<HuntingGroupStatus | null>;
|
|
698
|
+
/**
|
|
699
|
+
* Logs on the specified user in their current hunting group.
|
|
700
|
+
* <p>
|
|
701
|
+
* The user must be configured as a member of a hunting group.
|
|
702
|
+
* <p>
|
|
703
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
704
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
705
|
+
* administrator.
|
|
706
|
+
*
|
|
707
|
+
* @param loginName the login name
|
|
708
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
709
|
+
* @see huntingGroupLogOff
|
|
710
|
+
*/
|
|
711
|
+
huntingGroupLogOn(loginName?: string | null): Promise<boolean>;
|
|
712
|
+
/**
|
|
713
|
+
* Logs off the specified user from their current hunting group.
|
|
714
|
+
* <p>
|
|
715
|
+
* The user must be configured as a member of a hunting group.
|
|
716
|
+
* <p>
|
|
717
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
718
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
719
|
+
* administrator.
|
|
720
|
+
*
|
|
721
|
+
* @param loginName the login name
|
|
722
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
723
|
+
* @see huntingGroupLogOn
|
|
724
|
+
*/
|
|
725
|
+
huntingGroupLogOff(loginName?: string | null): Promise<boolean>;
|
|
726
|
+
/**
|
|
727
|
+
* Sets the specified user as a member of a hunting group.
|
|
728
|
+
* <p>
|
|
729
|
+
* The request will fail if the hunting group does not exist. If the user
|
|
730
|
+
* already belongs to the group, nothing is done and `true` is returned.
|
|
731
|
+
* <p>
|
|
732
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
733
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
734
|
+
* administrator.
|
|
735
|
+
*
|
|
736
|
+
* @param hgNumber the hunting group number
|
|
737
|
+
* @param loginName the login name
|
|
738
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
739
|
+
* @see removeMeFromHuntingGroup
|
|
740
|
+
*/
|
|
741
|
+
addMeToHuntingGroup(hgNumber: string, loginName?: string | null): Promise<boolean>;
|
|
742
|
+
/**
|
|
743
|
+
* Removes the specified user from a hunting group.
|
|
744
|
+
* <p>
|
|
745
|
+
* The request will fail if the hunting group does not exist. If the user does
|
|
746
|
+
* not belong to the group, nothing is done and `true` is returned.
|
|
747
|
+
* <p>
|
|
748
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
749
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
750
|
+
* administrator.
|
|
751
|
+
*
|
|
752
|
+
* @param hgNumber the hunting group number
|
|
753
|
+
* @param loginName the login name
|
|
754
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
755
|
+
* @see addMeToHuntingGroup
|
|
756
|
+
*/
|
|
757
|
+
removeMeFromHuntingGroup(hgNumber: string, loginName?: string | null): Promise<boolean>;
|
|
758
|
+
/**
|
|
759
|
+
* Gets the list of hunting groups on the OXE node the specified user belongs to.
|
|
760
|
+
* <p>
|
|
761
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
762
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
763
|
+
* administrator.
|
|
764
|
+
*
|
|
765
|
+
* @param loginName the login name
|
|
766
|
+
* @returns the {@link HuntingGroups} on success; `null` otherwise.
|
|
767
|
+
*/
|
|
768
|
+
queryHuntingGroups(loginName?: string | null): Promise<HuntingGroups | null>;
|
|
769
|
+
/**
|
|
770
|
+
* Returns the list of callback requests for the specified user.
|
|
771
|
+
* <p>
|
|
772
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
773
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
774
|
+
* administrator.
|
|
775
|
+
*
|
|
776
|
+
* @param loginName the login name
|
|
777
|
+
* @returns the list of {@link Callback} objects on success; `null` otherwise.
|
|
778
|
+
*/
|
|
779
|
+
getCallbacks(loginName?: string | null): Promise<Callback[] | null>;
|
|
780
|
+
/**
|
|
781
|
+
* Deletes all callback requests for the specified user.
|
|
782
|
+
* <p>
|
|
783
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
784
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
785
|
+
* administrator.
|
|
786
|
+
*
|
|
787
|
+
* @param loginName the login name
|
|
788
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
789
|
+
*/
|
|
790
|
+
deleteCallbacks(loginName?: string | null): Promise<boolean>;
|
|
791
|
+
/**
|
|
792
|
+
* Deletes the specified callback request for the specified user.
|
|
793
|
+
* <p>
|
|
794
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
795
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
796
|
+
* administrator.
|
|
797
|
+
*
|
|
798
|
+
* @param callbackId the callback identifier
|
|
799
|
+
* @param loginName the login name
|
|
800
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
801
|
+
*/
|
|
802
|
+
deleteCallback(callbackId: string, loginName?: string | null): Promise<boolean>;
|
|
803
|
+
/**
|
|
804
|
+
* Returns the current new mini message for the specified user.
|
|
805
|
+
* <p>
|
|
806
|
+
* As soon as a message is read, it is erased from OXE and cannot be read again.
|
|
807
|
+
* Messages are retrieved in Last In First Out order.
|
|
808
|
+
* <p>
|
|
809
|
+
* This method will return `null` if all messages have been retrieved.
|
|
810
|
+
* <p>
|
|
811
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
812
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
813
|
+
* administrator.
|
|
814
|
+
*
|
|
815
|
+
* @param loginName the login name
|
|
816
|
+
* @returns the {@link MiniMessage} on success; `null` otherwise.
|
|
817
|
+
*/
|
|
818
|
+
getMiniMessage(loginName?: string | null): Promise<MiniMessage | null>;
|
|
819
|
+
/**
|
|
820
|
+
* Sends the specified mini message to the specified recipient.
|
|
821
|
+
* <p>
|
|
822
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
823
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
824
|
+
* administrator.
|
|
825
|
+
*
|
|
826
|
+
* @param recipient the phone number of the mini message recipient
|
|
827
|
+
* @param message the mini message text
|
|
828
|
+
* @param loginName the login name
|
|
829
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
830
|
+
*/
|
|
831
|
+
sendMiniMessage(recipient: string, message: string, loginName?: string | null): Promise<boolean>;
|
|
832
|
+
/**
|
|
833
|
+
* Requests a callback from an idle device of the specified user.
|
|
834
|
+
* <p>
|
|
835
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
836
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
837
|
+
* administrator.
|
|
838
|
+
*
|
|
839
|
+
* @param callee the phone number of the called party for which a callback is requested
|
|
840
|
+
* @param loginName the login name
|
|
841
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
842
|
+
*/
|
|
843
|
+
requestCallback(callee: string, loginName?: string | null): Promise<boolean>;
|
|
844
|
+
/**
|
|
845
|
+
* Asks a snapshot event on the specified user.
|
|
846
|
+
* <p>
|
|
847
|
+
* The {@link ON_TELEPHONY_STATE} event will contain the {@link TelephonicState}
|
|
848
|
+
* (calls and device capabilities). If a second request is asked while the
|
|
849
|
+
* previous one is still in progress, it has no effect.
|
|
850
|
+
* <p>
|
|
851
|
+
* If the session has been opened for a user, the `loginName` parameter is
|
|
852
|
+
* ignored, but it is mandatory if the session has been opened by an
|
|
853
|
+
* administrator.
|
|
854
|
+
*
|
|
855
|
+
* @param loginName the login name
|
|
856
|
+
* @returns `true` if the request was successfully submitted; `false` otherwise.
|
|
857
|
+
*/
|
|
858
|
+
requestSnapshot(loginName?: string | null): Promise<boolean>;
|
|
859
|
+
/**
|
|
860
|
+
* Toggles the microphone or interphony state on the specified device.
|
|
861
|
+
* <p>
|
|
862
|
+
* This action acts as a flip/flop and has the same effect as pressing the key:
|
|
863
|
+
* <ul>
|
|
864
|
+
* <li>activates or deactivates the microphone if the device has an outgoing or established call</li>
|
|
865
|
+
* <li>activates or deactivates the interphony if the device is idle</li>
|
|
866
|
+
* <li>has no effect if the device is ringing on an incoming call</li>
|
|
867
|
+
* </ul>
|
|
868
|
+
* <p>
|
|
869
|
+
* This operation is done in blind mode: no state event is provided on the push,
|
|
870
|
+
* but when the device returns to idle after a call, the microphone comes back to
|
|
871
|
+
* the active state.
|
|
872
|
+
*
|
|
873
|
+
* @param deviceId the device phone number for which the operation is done
|
|
874
|
+
* @returns `true` if the operation succeeded; `false` otherwise.
|
|
875
|
+
*/
|
|
876
|
+
toggleInterphony(deviceId: string): Promise<boolean>;
|
|
877
|
+
/**
|
|
878
|
+
* Query the specified CCD pilot information.
|
|
879
|
+
* <p>
|
|
880
|
+
* This method is used to get various information on the CCD pilot routing
|
|
881
|
+
* capabilities.
|
|
882
|
+
* <p>
|
|
883
|
+
* This method will return `null` if it is invoked from a session opened
|
|
884
|
+
* by an administrator.
|
|
885
|
+
*
|
|
886
|
+
* @param nodeId the PCX Enterprise node id
|
|
887
|
+
* @param pilotNumber the pilot number
|
|
888
|
+
* @param pilotTransferQueryParam optional call profile context parameters
|
|
889
|
+
* @param loginName the login name
|
|
890
|
+
* @returns the {@link PilotInfo} on success; `null` otherwise.
|
|
891
|
+
* @since 2.7
|
|
892
|
+
*/
|
|
893
|
+
getPilotInfo(nodeId: number, pilotNumber: string, pilotTransferQueryParam?: PilotTransferQueryParameters | null, loginName?: string | null): Promise<PilotInfo | null>;
|
|
894
|
+
}
|
|
895
|
+
//# sourceMappingURL=o2g-telephony.d.ts.map
|