o2g-node-sdk 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -6
- package/dist/o2g-node-sdk.js +173 -3732
- package/dist/o2g-node-sdk.js.map +1 -1
- package/dist/types/ErrorInfo.d.ts +88 -0
- package/dist/types/ErrorInfo.d.ts.map +1 -0
- package/dist/types/host.d.ts +18 -0
- package/dist/types/host.d.ts.map +1 -0
- package/dist/types/internal/access-mode.d.ts +2 -0
- package/dist/types/internal/access-mode.d.ts.map +1 -0
- package/dist/types/internal/events/chunk-eventing.d.ts +2 -0
- package/dist/types/internal/events/chunk-eventing.d.ts.map +1 -0
- package/dist/types/internal/events/event-dispatcher.d.ts +2 -0
- package/dist/types/internal/events/event-dispatcher.d.ts.map +1 -0
- package/dist/types/internal/events/event-packages.d.ts +2 -0
- package/dist/types/internal/events/event-packages.d.ts.map +1 -0
- package/dist/types/internal/o2g-application.d.ts +2 -0
- package/dist/types/internal/o2g-application.d.ts.map +1 -0
- package/dist/types/internal/rest/analytics-rest.d.ts +2 -0
- package/dist/types/internal/rest/analytics-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/authentication-rest.d.ts +2 -0
- package/dist/types/internal/rest/authentication-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccAgent-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccAgent-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccMngt-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccMngt-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccPilot-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccPilot-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccRealtime-rest.d.ts +2 -0
- package/dist/types/internal/rest/ccRealtime-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/ccStatistics-rest.d.ts +45 -0
- package/dist/types/internal/rest/ccStatistics-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/comlog-rest.d.ts +2 -0
- package/dist/types/internal/rest/comlog-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/directory-rest.d.ts +2 -0
- package/dist/types/internal/rest/directory-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/eventSummary-rest.d.ts +2 -0
- package/dist/types/internal/rest/eventSummary-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/maint-rest.d.ts +2 -0
- package/dist/types/internal/rest/maint-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/messaging-rest.d.ts +2 -0
- package/dist/types/internal/rest/messaging-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/o2g-rest.d.ts +2 -0
- package/dist/types/internal/rest/o2g-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/pbx-mngt-rest.d.ts +2 -0
- package/dist/types/internal/rest/pbx-mngt-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/phone-set-prog-rest.d.ts +2 -0
- package/dist/types/internal/rest/phone-set-prog-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/rest-service.d.ts +2 -0
- package/dist/types/internal/rest/rest-service.d.ts.map +1 -0
- package/dist/types/internal/rest/routing-rest.d.ts +2 -0
- package/dist/types/internal/rest/routing-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/rsi-rest.d.ts +2 -0
- package/dist/types/internal/rest/rsi-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/sessions-rest.d.ts +2 -0
- package/dist/types/internal/rest/sessions-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/subscriptions-rest.d.ts +2 -0
- package/dist/types/internal/rest/subscriptions-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/telephony-rest.d.ts +2 -0
- package/dist/types/internal/rest/telephony-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/users-mngt-rest.d.ts +2 -0
- package/dist/types/internal/rest/users-mngt-rest.d.ts.map +1 -0
- package/dist/types/internal/rest/users-rest.d.ts +2 -0
- package/dist/types/internal/rest/users-rest.d.ts.map +1 -0
- package/dist/types/internal/service-end-point.d.ts +2 -0
- package/dist/types/internal/service-end-point.d.ts.map +1 -0
- package/dist/types/internal/service-factory.d.ts +2 -0
- package/dist/types/internal/service-factory.d.ts.map +1 -0
- package/dist/types/internal/session.d.ts +2 -0
- package/dist/types/internal/session.d.ts.map +1 -0
- package/dist/types/internal/types/analytics/analytics-types.d.ts +2 -0
- package/dist/types/internal/types/analytics/analytics-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-agent/cc-agent-types.d.ts +2 -0
- package/dist/types/internal/types/cc-agent/cc-agent-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-mngt/cc-mntg-types.d.ts +2 -0
- package/dist/types/internal/types/cc-mngt/cc-mntg-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-pilot/cc-pilot-types.d.ts +2 -0
- package/dist/types/internal/types/cc-pilot/cc-pilot-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-rt/cc-rt-types.d.ts +2 -0
- package/dist/types/internal/types/cc-rt/cc-rt-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/abstract-filter.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/abstract-filter.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/ag-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/ag-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/cc-stat-types.d.ts +56 -0
- package/dist/types/internal/types/cc-stat/cc-stat-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/context-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/context-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/on-stats-progress.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/on-stats-progress.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/pil-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/pil-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/requester-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/requester-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stat/scheduled-rep-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stat/scheduled-rep-impl.d.ts.map +1 -0
- package/dist/types/internal/types/comlog/comlog-types.d.ts +2 -0
- package/dist/types/internal/types/comlog/comlog-types.d.ts.map +1 -0
- package/dist/types/internal/types/common/common-types.d.ts +2 -0
- package/dist/types/internal/types/common/common-types.d.ts.map +1 -0
- package/dist/types/internal/types/directory/directory-types.d.ts +2 -0
- package/dist/types/internal/types/directory/directory-types.d.ts.map +1 -0
- package/dist/types/internal/types/eventsummary/eventsummary-types.d.ts +14 -0
- package/dist/types/internal/types/eventsummary/eventsummary-types.d.ts.map +1 -0
- package/dist/types/internal/types/maint/maint-types.d.ts +2 -0
- package/dist/types/internal/types/maint/maint-types.d.ts.map +1 -0
- package/dist/types/internal/types/messaging/messaging-types.d.ts +2 -0
- package/dist/types/internal/types/messaging/messaging-types.d.ts.map +1 -0
- package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts +2 -0
- package/dist/types/internal/types/pbxmngt/pbxmngt-types.d.ts.map +1 -0
- package/dist/types/internal/types/phoneset/phoneset-types.d.ts +2 -0
- package/dist/types/internal/types/phoneset/phoneset-types.d.ts.map +1 -0
- package/dist/types/internal/types/routing/routing-types.d.ts +2 -0
- package/dist/types/internal/types/routing/routing-types.d.ts.map +1 -0
- package/dist/types/internal/types/rsi/rsi-types.d.ts +2 -0
- package/dist/types/internal/types/rsi/rsi-types.d.ts.map +1 -0
- package/dist/types/internal/types/telephony/telephony-types.d.ts +2 -0
- package/dist/types/internal/types/telephony/telephony-types.d.ts.map +1 -0
- package/dist/types/internal/types/users/users-types.d.ts +2 -0
- package/dist/types/internal/types/users/users-types.d.ts.map +1 -0
- package/dist/types/internal/util/IHttpClient.d.ts +2 -0
- package/dist/types/internal/util/IHttpClient.d.ts.map +1 -0
- package/dist/types/internal/util/assert.d.ts +2 -0
- package/dist/types/internal/util/assert.d.ts.map +1 -0
- package/dist/types/internal/util/file-utils.d.ts +2 -0
- package/dist/types/internal/util/file-utils.d.ts.map +1 -0
- package/dist/types/internal/util/format-util.d.ts +2 -0
- package/dist/types/internal/util/format-util.d.ts.map +1 -0
- package/dist/types/internal/util/hexa-string.d.ts +2 -0
- package/dist/types/internal/util/hexa-string.d.ts.map +1 -0
- package/dist/types/internal/util/http-client.d.ts +2 -0
- package/dist/types/internal/util/http-client.d.ts.map +1 -0
- package/dist/types/internal/util/http-content.d.ts +2 -0
- package/dist/types/internal/util/http-content.d.ts.map +1 -0
- package/dist/types/internal/util/http-response.d.ts +2 -0
- package/dist/types/internal/util/http-response.d.ts.map +1 -0
- package/dist/types/internal/util/injection-container.d.ts +5 -0
- package/dist/types/internal/util/injection-container.d.ts.map +1 -0
- package/dist/types/internal/util/logger.d.ts +7 -0
- package/dist/types/internal/util/logger.d.ts.map +1 -0
- package/dist/types/internal/util/util-uri.d.ts +2 -0
- package/dist/types/internal/util/util-uri.d.ts.map +1 -0
- package/dist/types/o2g-analytics.d.ts +61 -0
- package/dist/types/o2g-analytics.d.ts.map +1 -0
- package/dist/types/o2g-cc-agent.d.ts +376 -0
- package/dist/types/o2g-cc-agent.d.ts.map +1 -0
- package/dist/types/o2g-cc-mngt.d.ts +213 -0
- package/dist/types/o2g-cc-mngt.d.ts.map +1 -0
- package/dist/types/o2g-cc-pilot.d.ts +71 -0
- package/dist/types/o2g-cc-pilot.d.ts.map +1 -0
- package/dist/types/o2g-cc-rt.d.ts +163 -0
- package/dist/types/o2g-cc-rt.d.ts.map +1 -0
- package/dist/types/o2g-cc-stat.d.ts +450 -0
- package/dist/types/o2g-cc-stat.d.ts.map +1 -0
- package/dist/types/o2g-comlog.d.ts +245 -0
- package/dist/types/o2g-comlog.d.ts.map +1 -0
- package/dist/types/o2g-directory.d.ts +109 -0
- package/dist/types/o2g-directory.d.ts.map +1 -0
- package/dist/types/o2g-eventSummary.d.ts +44 -0
- package/dist/types/o2g-eventSummary.d.ts.map +1 -0
- package/dist/types/o2g-maint.d.ts +82 -0
- package/dist/types/o2g-maint.d.ts.map +1 -0
- package/dist/types/o2g-messaging.d.ts +137 -0
- package/dist/types/o2g-messaging.d.ts.map +1 -0
- package/dist/types/o2g-node-sdk.d.ts +421 -0
- package/dist/types/o2g-node-sdk.d.ts.map +1 -0
- package/dist/types/o2g-pbx-mngt.d.ts +244 -0
- package/dist/types/o2g-pbx-mngt.d.ts.map +1 -0
- package/dist/types/o2g-phone-set-prog.d.ts +269 -0
- package/dist/types/o2g-phone-set-prog.d.ts.map +1 -0
- package/dist/types/o2g-routing.d.ts +313 -0
- package/dist/types/o2g-routing.d.ts.map +1 -0
- package/dist/types/o2g-rsi.d.ts +155 -0
- package/dist/types/o2g-rsi.d.ts.map +1 -0
- package/dist/types/o2g-telephony.d.ts +895 -0
- package/dist/types/o2g-telephony.d.ts.map +1 -0
- package/dist/types/o2g-users-mngt.d.ts +83 -0
- package/dist/types/o2g-users-mngt.d.ts.map +1 -0
- package/dist/types/o2g-users.d.ts +127 -0
- package/dist/types/o2g-users.d.ts.map +1 -0
- package/dist/types/subscription.d.ts +379 -0
- package/dist/types/subscription.d.ts.map +1 -0
- package/dist/types/supervised-account.d.ts +40 -0
- package/dist/types/supervised-account.d.ts.map +1 -0
- package/dist/types/types/analytics/call-type.d.ts +25 -0
- package/dist/types/types/analytics/call-type.d.ts.map +1 -0
- package/dist/types/types/analytics/charging-file.d.ts +13 -0
- package/dist/types/types/analytics/charging-file.d.ts.map +1 -0
- package/dist/types/types/analytics/charging-result.d.ts +50 -0
- package/dist/types/types/analytics/charging-result.d.ts.map +1 -0
- package/dist/types/types/analytics/charging.d.ts +69 -0
- package/dist/types/types/analytics/charging.d.ts.map +1 -0
- package/dist/types/types/analytics/incident.d.ts +41 -0
- package/dist/types/types/analytics/incident.d.ts.map +1 -0
- package/dist/types/types/analytics/tel-facility.d.ts +45 -0
- package/dist/types/types/analytics/tel-facility.d.ts.map +1 -0
- package/dist/types/types/cc-agent/agent-groups.d.ts +11 -0
- package/dist/types/types/cc-agent/agent-groups.d.ts.map +1 -0
- package/dist/types/types/cc-agent/agent-skill-set.d.ts +43 -0
- package/dist/types/types/cc-agent/agent-skill-set.d.ts.map +1 -0
- package/dist/types/types/cc-agent/agent-skill.d.ts +15 -0
- package/dist/types/types/cc-agent/agent-skill.d.ts.map +1 -0
- package/dist/types/types/cc-agent/cc-agent-events.d.ts +44 -0
- package/dist/types/types/cc-agent/cc-agent-events.d.ts.map +1 -0
- package/dist/types/types/cc-agent/intrusion-mode.d.ts +25 -0
- package/dist/types/types/cc-agent/intrusion-mode.d.ts.map +1 -0
- package/dist/types/types/cc-agent/operator-config.d.ts +76 -0
- package/dist/types/types/cc-agent/operator-config.d.ts.map +1 -0
- package/dist/types/types/cc-agent/operator-state.d.ts +100 -0
- package/dist/types/types/cc-agent/operator-state.d.ts.map +1 -0
- package/dist/types/types/cc-agent/operator-type.d.ts +17 -0
- package/dist/types/types/cc-agent/operator-type.d.ts.map +1 -0
- package/dist/types/types/cc-agent/withdraw-reason.d.ts +23 -0
- package/dist/types/types/cc-agent/withdraw-reason.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/abstract-calendar.d.ts +8 -0
- package/dist/types/types/cc-mngt/calendar/abstract-calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/calendar.d.ts +22 -0
- package/dist/types/types/cc-mngt/calendar/calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts +31 -0
- package/dist/types/types/cc-mngt/calendar/exception-calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts +31 -0
- package/dist/types/types/cc-mngt/calendar/normal-calendar.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts +18 -0
- package/dist/types/types/cc-mngt/calendar/pilot-operating-Mode.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/calendar/transition.d.ts +65 -0
- package/dist/types/types/cc-mngt/calendar/transition.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/pilot-rule-set.d.ts +33 -0
- package/dist/types/types/cc-mngt/pilot-rule-set.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/pilot-rule.d.ts +24 -0
- package/dist/types/types/cc-mngt/pilot-rule.d.ts.map +1 -0
- package/dist/types/types/cc-mngt/pilot.d.ts +58 -0
- package/dist/types/types/cc-mngt/pilot.d.ts.map +1 -0
- package/dist/types/types/cc-pilot/call-data-pilot.d.ts +50 -0
- package/dist/types/types/cc-pilot/call-data-pilot.d.ts.map +1 -0
- package/dist/types/types/cc-pilot/cc-pilot-events.d.ts +131 -0
- package/dist/types/types/cc-pilot/cc-pilot-events.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-attributes.d.ts +50 -0
- package/dist/types/types/cc-rt/agent-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-pg-attributes.d.ts +50 -0
- package/dist/types/types/cc-rt/agent-pg-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-pg-type.d.ts +17 -0
- package/dist/types/types/cc-rt/agent-pg-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-phone-state.d.ts +67 -0
- package/dist/types/types/cc-rt/agent-phone-state.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-service-type.d.ts +16 -0
- package/dist/types/types/cc-rt/agent-service-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/agent-type.d.ts +16 -0
- package/dist/types/types/cc-rt/agent-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/cc-rt-events.d.ts +274 -0
- package/dist/types/types/cc-rt/cc-rt-events.d.ts.map +1 -0
- package/dist/types/types/cc-rt/other-pg-attributes.d.ts +18 -0
- package/dist/types/types/cc-rt/other-pg-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/other-pg-type.d.ts +22 -0
- package/dist/types/types/cc-rt/other-pg-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/pilot-attributes.d.ts +40 -0
- package/dist/types/types/cc-rt/pilot-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/queue-attributes.d.ts +30 -0
- package/dist/types/types/cc-rt/queue-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-rt/queue-type.d.ts +23 -0
- package/dist/types/types/cc-rt/queue-type.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-context.d.ts +56 -0
- package/dist/types/types/cc-rt/rti-context.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-filter.d.ts +117 -0
- package/dist/types/types/cc-rt/rti-filter.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-object-identifier.d.ts +34 -0
- package/dist/types/types/cc-rt/rti-object-identifier.d.ts.map +1 -0
- package/dist/types/types/cc-rt/rti-objects.d.ts +72 -0
- package/dist/types/types/cc-rt/rti-objects.d.ts.map +1 -0
- package/dist/types/types/cc-stats/agbypilot-attributes.d.ts +73 -0
- package/dist/types/types/cc-stats/agbypilot-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/agent-attributes.d.ts +377 -0
- package/dist/types/types/cc-stats/agent-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/agent-filter.d.ts +60 -0
- package/dist/types/types/cc-stats/agent-filter.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts +184 -0
- package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/ag-stats-row.d.ts +608 -0
- package/dist/types/types/cc-stats/data/ag-stats-row.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/data-obs-period.d.ts +20 -0
- package/dist/types/types/cc-stats/data/data-obs-period.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/pil-stats-row.d.ts +623 -0
- package/dist/types/types/cc-stats/data/pil-stats-row.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/selected-period.d.ts +49 -0
- package/dist/types/types/cc-stats/data/selected-period.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/stat-value.d.ts +36 -0
- package/dist/types/types/cc-stats/data/stat-value.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/stats-data.d.ts +64 -0
- package/dist/types/types/cc-stats/data/stats-data.d.ts.map +1 -0
- package/dist/types/types/cc-stats/events/progress-callback.d.ts +9 -0
- package/dist/types/types/cc-stats/events/progress-callback.d.ts.map +1 -0
- package/dist/types/types/cc-stats/events/progress-step.d.ts +20 -0
- package/dist/types/types/cc-stats/events/progress-step.d.ts.map +1 -0
- package/dist/types/types/cc-stats/language.d.ts +15 -0
- package/dist/types/types/cc-stats/language.d.ts.map +1 -0
- package/dist/types/types/cc-stats/pilot-attributes.d.ts +185 -0
- package/dist/types/types/cc-stats/pilot-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/pilot-filter.d.ts +45 -0
- package/dist/types/types/cc-stats/pilot-filter.d.ts.map +1 -0
- package/dist/types/types/cc-stats/requester.d.ts +33 -0
- package/dist/types/types/cc-stats/requester.d.ts.map +1 -0
- package/dist/types/types/cc-stats/scheduled/recurrence.d.ts +69 -0
- package/dist/types/types/cc-stats/scheduled/recurrence.d.ts.map +1 -0
- package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts +87 -0
- package/dist/types/types/cc-stats/scheduled/report-obs-period.d.ts.map +1 -0
- package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts +132 -0
- package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-context.d.ts +66 -0
- package/dist/types/types/cc-stats/stats-context.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-filter.d.ts +34 -0
- package/dist/types/types/cc-stats/stats-filter.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-format.d.ts +17 -0
- package/dist/types/types/cc-stats/stats-format.d.ts.map +1 -0
- package/dist/types/types/cc-stats/time-interval.d.ts +19 -0
- package/dist/types/types/cc-stats/time-interval.d.ts.map +1 -0
- package/dist/types/types/comlog/com-record-participant.d.ts +75 -0
- package/dist/types/types/comlog/com-record-participant.d.ts.map +1 -0
- package/dist/types/types/comlog/com-record.d.ts +97 -0
- package/dist/types/types/comlog/com-record.d.ts.map +1 -0
- package/dist/types/types/comlog/comlog-events.d.ts +110 -0
- package/dist/types/types/comlog/comlog-events.d.ts.map +1 -0
- package/dist/types/types/comlog/filter-option.d.ts +24 -0
- package/dist/types/types/comlog/filter-option.d.ts.map +1 -0
- package/dist/types/types/comlog/page.d.ts +34 -0
- package/dist/types/types/comlog/page.d.ts.map +1 -0
- package/dist/types/types/comlog/query-filter.d.ts +79 -0
- package/dist/types/types/comlog/query-filter.d.ts.map +1 -0
- package/dist/types/types/comlog/query-result.d.ts +55 -0
- package/dist/types/types/comlog/query-result.d.ts.map +1 -0
- package/dist/types/types/comlog/reason.d.ts +62 -0
- package/dist/types/types/comlog/reason.d.ts.map +1 -0
- package/dist/types/types/comlog/role.d.ts +18 -0
- package/dist/types/types/comlog/role.d.ts.map +1 -0
- package/dist/types/types/common/date-range.d.ts +17 -0
- package/dist/types/types/common/date-range.d.ts.map +1 -0
- package/dist/types/types/common/day-of-week.d.ts +15 -0
- package/dist/types/types/common/day-of-week.d.ts.map +1 -0
- package/dist/types/types/common/device-type.d.ts +22 -0
- package/dist/types/types/common/device-type.d.ts.map +1 -0
- package/dist/types/types/common/device.d.ts +75 -0
- package/dist/types/types/common/device.d.ts.map +1 -0
- package/dist/types/types/common/identifier.d.ts +20 -0
- package/dist/types/types/common/identifier.d.ts.map +1 -0
- package/dist/types/types/common/main-type.d.ts +26 -0
- package/dist/types/types/common/main-type.d.ts.map +1 -0
- package/dist/types/types/common/party-info-type.d.ts +22 -0
- package/dist/types/types/common/party-info-type.d.ts.map +1 -0
- package/dist/types/types/common/party-info.d.ts +28 -0
- package/dist/types/types/common/party-info.d.ts.map +1 -0
- package/dist/types/types/common/service-state.d.ts +20 -0
- package/dist/types/types/common/service-state.d.ts.map +1 -0
- package/dist/types/types/directory/criteria.d.ts +95 -0
- package/dist/types/types/directory/criteria.d.ts.map +1 -0
- package/dist/types/types/directory/filter-item.d.ts +22 -0
- package/dist/types/types/directory/filter-item.d.ts.map +1 -0
- package/dist/types/types/directory/logical-operation.d.ts +14 -0
- package/dist/types/types/directory/logical-operation.d.ts.map +1 -0
- package/dist/types/types/directory/operation-filter.d.ts +22 -0
- package/dist/types/types/directory/operation-filter.d.ts.map +1 -0
- package/dist/types/types/directory/result-item.d.ts +22 -0
- package/dist/types/types/directory/result-item.d.ts.map +1 -0
- package/dist/types/types/directory/search-result.d.ts +64 -0
- package/dist/types/types/directory/search-result.d.ts.map +1 -0
- package/dist/types/types/events/events.d.ts +77 -0
- package/dist/types/types/events/events.d.ts.map +1 -0
- package/dist/types/types/eventsummary/event-summary-counter.d.ts +69 -0
- package/dist/types/types/eventsummary/event-summary-counter.d.ts.map +1 -0
- package/dist/types/types/eventsummary/event-summary-events.d.ts +26 -0
- package/dist/types/types/eventsummary/event-summary-events.d.ts.map +1 -0
- package/dist/types/types/maint/configuration-type.d.ts +15 -0
- package/dist/types/types/maint/configuration-type.d.ts.map +1 -0
- package/dist/types/types/maint/cti-link-state.d.ts +19 -0
- package/dist/types/types/maint/cti-link-state.d.ts.map +1 -0
- package/dist/types/types/maint/license-status.d.ts +42 -0
- package/dist/types/types/maint/license-status.d.ts.map +1 -0
- package/dist/types/types/maint/license-type.d.ts +19 -0
- package/dist/types/types/maint/license-type.d.ts.map +1 -0
- package/dist/types/types/maint/license.d.ts +38 -0
- package/dist/types/types/maint/license.d.ts.map +1 -0
- package/dist/types/types/maint/maint-events.d.ts +105 -0
- package/dist/types/types/maint/maint-events.d.ts.map +1 -0
- package/dist/types/types/maint/pbx-status.d.ts +77 -0
- package/dist/types/types/maint/pbx-status.d.ts.map +1 -0
- package/dist/types/types/maint/server-address.d.ts +25 -0
- package/dist/types/types/maint/server-address.d.ts.map +1 -0
- package/dist/types/types/maint/service-status.d.ts +31 -0
- package/dist/types/types/maint/service-status.d.ts.map +1 -0
- package/dist/types/types/maint/subscriber-filter.d.ts +24 -0
- package/dist/types/types/maint/subscriber-filter.d.ts.map +1 -0
- package/dist/types/types/maint/sys-service-status.d.ts +33 -0
- package/dist/types/types/maint/sys-service-status.d.ts.map +1 -0
- package/dist/types/types/maint/sys-status.d.ts +79 -0
- package/dist/types/types/maint/sys-status.d.ts.map +1 -0
- package/dist/types/types/messaging/mailbox-info.d.ts +35 -0
- package/dist/types/types/messaging/mailbox-info.d.ts.map +1 -0
- package/dist/types/types/messaging/mailbox.d.ts +119 -0
- package/dist/types/types/messaging/mailbox.d.ts.map +1 -0
- package/dist/types/types/messaging/voice-message.d.ts +57 -0
- package/dist/types/types/messaging/voice-message.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/attribute-filter.d.ts +31 -0
- package/dist/types/types/pbxmngt/attribute-filter.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/instance-filter.d.ts +72 -0
- package/dist/types/types/pbxmngt/instance-filter.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/model.d.ts +221 -0
- package/dist/types/types/pbxmngt/model.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/octet-string-length.d.ts +12 -0
- package/dist/types/types/pbxmngt/octet-string-length.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx-attr-map.d.ts +96 -0
- package/dist/types/types/pbxmngt/pbx-attr-map.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx-attribute.d.ts +182 -0
- package/dist/types/types/pbxmngt/pbx-attribute.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx-object.d.ts +73 -0
- package/dist/types/types/pbxmngt/pbx-object.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbx.d.ts +23 -0
- package/dist/types/types/pbxmngt/pbx.d.ts.map +1 -0
- package/dist/types/types/pbxmngt/pbxmngt-events.d.ts +74 -0
- package/dist/types/types/pbxmngt/pbxmngt-events.d.ts.map +1 -0
- package/dist/types/types/phoneset/device-key.d.ts +36 -0
- package/dist/types/types/phoneset/device-key.d.ts.map +1 -0
- package/dist/types/types/phoneset/dynamic-state.d.ts +30 -0
- package/dist/types/types/phoneset/dynamic-state.d.ts.map +1 -0
- package/dist/types/types/phoneset/pin.d.ts +53 -0
- package/dist/types/types/phoneset/pin.d.ts.map +1 -0
- package/dist/types/types/phoneset/prog-key.d.ts +26 -0
- package/dist/types/types/phoneset/prog-key.d.ts.map +1 -0
- package/dist/types/types/phoneset/soft-key.d.ts +18 -0
- package/dist/types/types/phoneset/soft-key.d.ts.map +1 -0
- package/dist/types/types/routing/destination.d.ts +18 -0
- package/dist/types/types/routing/destination.d.ts.map +1 -0
- package/dist/types/types/routing/dnd-state.d.ts +9 -0
- package/dist/types/types/routing/dnd-state.d.ts.map +1 -0
- package/dist/types/types/routing/forward-condition.d.ts +26 -0
- package/dist/types/types/routing/forward-condition.d.ts.map +1 -0
- package/dist/types/types/routing/forward.d.ts +53 -0
- package/dist/types/types/routing/forward.d.ts.map +1 -0
- package/dist/types/types/routing/overflow-condition.d.ts +22 -0
- package/dist/types/types/routing/overflow-condition.d.ts.map +1 -0
- package/dist/types/types/routing/overflow.d.ts +50 -0
- package/dist/types/types/routing/overflow.d.ts.map +1 -0
- package/dist/types/types/routing/routing-capabilities.d.ts +15 -0
- package/dist/types/types/routing/routing-capabilities.d.ts.map +1 -0
- package/dist/types/types/routing/routing-events.d.ts +23 -0
- package/dist/types/types/routing/routing-events.d.ts.map +1 -0
- package/dist/types/types/routing/routing-state.d.ts +52 -0
- package/dist/types/types/routing/routing-state.d.ts.map +1 -0
- package/dist/types/types/rsi/add-digit-coll-criteria.d.ts +17 -0
- package/dist/types/types/rsi/add-digit-coll-criteria.d.ts.map +1 -0
- package/dist/types/types/rsi/collection-cause.d.ts +22 -0
- package/dist/types/types/rsi/collection-cause.d.ts.map +1 -0
- package/dist/types/types/rsi/route-session.d.ts +21 -0
- package/dist/types/types/rsi/route-session.d.ts.map +1 -0
- package/dist/types/types/rsi/routing-caller-type.d.ts +18 -0
- package/dist/types/types/rsi/routing-caller-type.d.ts.map +1 -0
- package/dist/types/types/rsi/routing-reason.d.ts +26 -0
- package/dist/types/types/rsi/routing-reason.d.ts.map +1 -0
- package/dist/types/types/rsi/rsi-events.d.ts +47 -0
- package/dist/types/types/rsi/rsi-events.d.ts.map +1 -0
- package/dist/types/types/rsi/rsi-point.d.ts +17 -0
- package/dist/types/types/rsi/rsi-point.d.ts.map +1 -0
- package/dist/types/types/rsi/tones.d.ts +26 -0
- package/dist/types/types/rsi/tones.d.ts.map +1 -0
- package/dist/types/types/telephony/RecordingAction.d.ts +7 -0
- package/dist/types/types/telephony/RecordingAction.d.ts.map +1 -0
- package/dist/types/types/telephony/call/call-cause.d.ts +123 -0
- package/dist/types/types/telephony/call/call-cause.d.ts.map +1 -0
- package/dist/types/types/telephony/call/call-data.d.ts +81 -0
- package/dist/types/types/telephony/call/call-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts +35 -0
- package/dist/types/types/telephony/call/ccd/acd-call-info.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/acd-data.d.ts +50 -0
- package/dist/types/types/telephony/call/ccd/acd-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/call-profile.d.ts +112 -0
- package/dist/types/types/telephony/call/ccd/call-profile.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-info.d.ts +43 -0
- package/dist/types/types/telephony/call/ccd/pilot-info.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-status.d.ts +38 -0
- package/dist/types/types/telephony/call/ccd/pilot-status.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts +24 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-info.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts +104 -0
- package/dist/types/types/telephony/call/ccd/pilot-transfer-query-param.d.ts.map +1 -0
- package/dist/types/types/telephony/call/ccd/queue-data.d.ts +23 -0
- package/dist/types/types/telephony/call/ccd/queue-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/correlator-data.d.ts +54 -0
- package/dist/types/types/telephony/call/correlator-data.d.ts.map +1 -0
- package/dist/types/types/telephony/call/leg.d.ts +57 -0
- package/dist/types/types/telephony/call/leg.d.ts.map +1 -0
- package/dist/types/types/telephony/call/media-state.d.ts +42 -0
- package/dist/types/types/telephony/call/media-state.d.ts.map +1 -0
- package/dist/types/types/telephony/call/participant.d.ts +34 -0
- package/dist/types/types/telephony/call/participant.d.ts.map +1 -0
- package/dist/types/types/telephony/call/record-state.d.ts +14 -0
- package/dist/types/types/telephony/call/record-state.d.ts.map +1 -0
- package/dist/types/types/telephony/call/tag.d.ts +37 -0
- package/dist/types/types/telephony/call/tag.d.ts.map +1 -0
- package/dist/types/types/telephony/call.d.ts +90 -0
- package/dist/types/types/telephony/call.d.ts.map +1 -0
- package/dist/types/types/telephony/callback.d.ts +33 -0
- package/dist/types/types/telephony/callback.d.ts.map +1 -0
- package/dist/types/types/telephony/device/device-state.d.ts +30 -0
- package/dist/types/types/telephony/device/device-state.d.ts.map +1 -0
- package/dist/types/types/telephony/device/operational-state.d.ts +18 -0
- package/dist/types/types/telephony/device/operational-state.d.ts.map +1 -0
- package/dist/types/types/telephony/hunting-group-status.d.ts +25 -0
- package/dist/types/types/telephony/hunting-group-status.d.ts.map +1 -0
- package/dist/types/types/telephony/hunting-groups.d.ts +33 -0
- package/dist/types/types/telephony/hunting-groups.d.ts.map +1 -0
- package/dist/types/types/telephony/mini-message.d.ts +37 -0
- package/dist/types/types/telephony/mini-message.d.ts.map +1 -0
- package/dist/types/types/telephony/telephonic-state.d.ts +34 -0
- package/dist/types/types/telephony/telephonic-state.d.ts.map +1 -0
- package/dist/types/types/telephony/telephony-events.d.ts +223 -0
- package/dist/types/types/telephony/telephony-events.d.ts.map +1 -0
- package/dist/types/types/telephony/trunk-indentification.d.ts +19 -0
- package/dist/types/types/telephony/trunk-indentification.d.ts.map +1 -0
- package/dist/types/types/telephony/user/user-state.d.ts +18 -0
- package/dist/types/types/telephony/user/user-state.d.ts.map +1 -0
- package/dist/types/types/users/preferences.d.ts +29 -0
- package/dist/types/types/users/preferences.d.ts.map +1 -0
- package/dist/types/types/users/supported-languages.d.ts +29 -0
- package/dist/types/types/users/supported-languages.d.ts.map +1 -0
- package/dist/types/types/users/user.d.ts +67 -0
- package/dist/types/types/users/user.d.ts.map +1 -0
- package/dist/types/types/users/users-events.d.ts +78 -0
- package/dist/types/types/users/users-events.d.ts.map +1 -0
- package/dist/types/types/users/voicemail-type.d.ts +18 -0
- package/dist/types/types/users/voicemail-type.d.ts.map +1 -0
- package/dist/types/types/users/voicemail.d.ts +20 -0
- package/dist/types/types/users/voicemail.d.ts.map +1 -0
- package/package.json +6 -4
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PilotStatus represents the possible state of a CCD pilot.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum PilotStatus {
|
|
5
|
+
/**
|
|
6
|
+
* The pilot is opened.
|
|
7
|
+
*/
|
|
8
|
+
OPEN = "OPEN",
|
|
9
|
+
/**
|
|
10
|
+
* The pilot is blocked.
|
|
11
|
+
*/
|
|
12
|
+
BLOCKED = "BLOCKED",
|
|
13
|
+
/**
|
|
14
|
+
* The pilot is on a blocked on a rule.
|
|
15
|
+
*/
|
|
16
|
+
BLOCKED_ON_RULE = "BLOCKED_ON_RULE",
|
|
17
|
+
/**
|
|
18
|
+
* The pilot is blocked on a blocking rule.
|
|
19
|
+
*/
|
|
20
|
+
BLOCKED_ON_BLOCKED_RULE = "BLOCKED_ON_BLOCKED_RULE",
|
|
21
|
+
/**
|
|
22
|
+
* The pilot is in general forwarding.
|
|
23
|
+
*/
|
|
24
|
+
GENERAL_FORWARDING = "GENERAL_FORWARDING",
|
|
25
|
+
/**
|
|
26
|
+
* The pilot is in general forwarding on a rule.
|
|
27
|
+
*/
|
|
28
|
+
GENERAL_FORWARDING_ON_RULE = "GENERAL_FORWARDING_ON_RULE",
|
|
29
|
+
/**
|
|
30
|
+
* The pilot is blocked while in general forwarding on a rule.
|
|
31
|
+
*/
|
|
32
|
+
BLOCKED_ON_GENERAL_FORWARDING_RULE = "BLOCKED_ON_GENERAL_FORWARDING_RULE",
|
|
33
|
+
/**
|
|
34
|
+
* Other state
|
|
35
|
+
*/
|
|
36
|
+
OTHER = "OTHER"
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=pilot-status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pilot-status.d.ts","sourceRoot":"","sources":["../../../../../../src/types/telephony/call/ccd/pilot-status.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,WAAW;IACnB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,eAAe,oBAAoB;IAEnC;;OAEG;IACH,uBAAuB,4BAA4B;IAEnD;;OAEG;IACH,kBAAkB,uBAAuB;IAEzC;;OAEG;IACH,0BAA0B,+BAA+B;IAEzD;;OAEG;IACH,kCAAkC,uCAAuC;IAEzE;;OAEG;IACH,KAAK,UAAU;CAClB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PilotStatus } from './pilot-status';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the information about a possible transfer on a pilot.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PilotTransferInfo {
|
|
6
|
+
#private;
|
|
7
|
+
/**
|
|
8
|
+
* Private constructor. Use `PilotTransferInfo.fromJson()` to create instances.
|
|
9
|
+
* @param transferPossible - Indicates whether the transfer is possible
|
|
10
|
+
* @param pilotStatus - The current status of the pilot
|
|
11
|
+
*/
|
|
12
|
+
private constructor();
|
|
13
|
+
/**
|
|
14
|
+
* Indicates whether the transfer on the pilot is possible.
|
|
15
|
+
* @returns `true` if transfer is possible; `false` otherwise.
|
|
16
|
+
*/
|
|
17
|
+
get transferPossible(): boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Returns the current status of the pilot.
|
|
20
|
+
* @returns The pilot status, or `null` if not available.
|
|
21
|
+
*/
|
|
22
|
+
get pilotStatus(): PilotStatus | null;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=pilot-transfer-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pilot-transfer-info.d.ts","sourceRoot":"","sources":["../../../../../../src/types/telephony/call/ccd/pilot-transfer-info.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;GAEG;AACH,qBAAa,iBAAiB;;IAI1B;;;;OAIG;IACH,OAAO;IAKP;;;OAGG;IACH,IAAI,gBAAgB,IAAI,OAAO,CAE9B;IAED;;;OAGG;IACH,IAAI,WAAW,IAAI,WAAW,GAAG,IAAI,CAEpC;CAYJ"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { CallProfile } from './call-profile';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the set of criteria used to query a CCD pilot for call transfer possibilities.
|
|
4
|
+
*
|
|
5
|
+
* Each criterion is optional. If a field is not set (`undefined`), it will be ignored
|
|
6
|
+
* when building the query.
|
|
7
|
+
*
|
|
8
|
+
* Typical usage:
|
|
9
|
+
*
|
|
10
|
+
* ```ts
|
|
11
|
+
* const params = new PilotTransferQueryParameters()
|
|
12
|
+
* .setAgentNumber("1234")
|
|
13
|
+
* .setPriorityTransfer(true)
|
|
14
|
+
* .setCallProfile(profile);
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* @since 2.7.4
|
|
18
|
+
*/
|
|
19
|
+
export declare class PilotTransferQueryParameters {
|
|
20
|
+
#private;
|
|
21
|
+
/** Constructs an empty `PilotTransferQueryParameters` object. */
|
|
22
|
+
constructor();
|
|
23
|
+
/**
|
|
24
|
+
* Returns the agent number criterion.
|
|
25
|
+
*
|
|
26
|
+
* @returns The agent number, or `null` if not set
|
|
27
|
+
*/
|
|
28
|
+
get agentNumber(): string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Sets the agent number criterion.
|
|
31
|
+
*
|
|
32
|
+
* @param agentNumber - The agent number to filter by
|
|
33
|
+
* @returns This instance for fluent chaining
|
|
34
|
+
*/
|
|
35
|
+
setAgentNumber(agentNumber: string): this;
|
|
36
|
+
/**
|
|
37
|
+
* Returns the priority transfer criterion.
|
|
38
|
+
*
|
|
39
|
+
* @returns `true` for priority transfers, `false` for non-priority,
|
|
40
|
+
* or `false` if not set (default)
|
|
41
|
+
*/
|
|
42
|
+
get priorityTransfer(): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Sets the priority transfer criterion.
|
|
45
|
+
*
|
|
46
|
+
* @param priorityTransfer - `true` for priority only, `false` for non-priority,
|
|
47
|
+
* or `undefined` to ignore
|
|
48
|
+
* @returns This instance for fluent chaining
|
|
49
|
+
*/
|
|
50
|
+
setPriorityTransfer(priorityTransfer: boolean | undefined): this;
|
|
51
|
+
/**
|
|
52
|
+
* Returns the supervised transfer criterion.
|
|
53
|
+
*
|
|
54
|
+
* @returns `true` for supervised transfers, `false` for unsupervised,
|
|
55
|
+
* or `false` if not set (default)
|
|
56
|
+
*/
|
|
57
|
+
get supervisedTransfer(): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Sets the supervised transfer criterion.
|
|
60
|
+
*
|
|
61
|
+
* @param supervisedTransfer - `true` for supervised only, `false` for unsupervised,
|
|
62
|
+
* or `undefined` to ignore
|
|
63
|
+
* @returns This instance for fluent chaining
|
|
64
|
+
*/
|
|
65
|
+
setSupervisedTransfer(supervisedTransfer: boolean | undefined): this;
|
|
66
|
+
/**
|
|
67
|
+
* Returns the call profile criterion.
|
|
68
|
+
*
|
|
69
|
+
* @returns The {@link CallProfile} to match, or `null` if not set
|
|
70
|
+
*/
|
|
71
|
+
get callProfile(): CallProfile | null;
|
|
72
|
+
/**
|
|
73
|
+
* Sets the call profile criterion.
|
|
74
|
+
*
|
|
75
|
+
* @param callProfile - The {@link CallProfile} to match
|
|
76
|
+
* @returns This instance for fluent chaining
|
|
77
|
+
*/
|
|
78
|
+
setCallProfile(callProfile: CallProfile | undefined): this;
|
|
79
|
+
/**
|
|
80
|
+
* Returns `true` if an agent number has been set.
|
|
81
|
+
*
|
|
82
|
+
* @returns `true` if `agentNumber` is defined and non-empty
|
|
83
|
+
*/
|
|
84
|
+
get hasAgentNumber(): boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Returns `true` if the priority transfer criterion is used.
|
|
87
|
+
*
|
|
88
|
+
* @returns `true` if `priorityTransfer` is defined
|
|
89
|
+
*/
|
|
90
|
+
get hasPriorityTransferCriteria(): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Returns `true` if the supervised transfer criterion is used.
|
|
93
|
+
*
|
|
94
|
+
* @returns `true` if `supervisedTransfer` is defined
|
|
95
|
+
*/
|
|
96
|
+
get hasSupervisedTransferCriteria(): boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Returns `true` if a call profile criterion has been set.
|
|
99
|
+
*
|
|
100
|
+
* @returns `true` if `callProfile` is defined
|
|
101
|
+
*/
|
|
102
|
+
get hasCallProfile(): boolean;
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=pilot-transfer-query-param.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pilot-transfer-query-param.d.ts","sourceRoot":"","sources":["../../../../../../src/types/telephony/call/ccd/pilot-transfer-query-param.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,4BAA4B;;IAMrC,iEAAiE;;IAGjE;;;;OAIG;IACH,IAAI,WAAW,IAAI,MAAM,GAAG,IAAI,CAE/B;IAED;;;;;OAKG;IACH,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAKzC;;;;;OAKG;IACH,IAAI,gBAAgB,IAAI,OAAO,CAE9B;IAED;;;;;;OAMG;IACH,mBAAmB,CAAC,gBAAgB,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI;IAKhE;;;;;OAKG;IACH,IAAI,kBAAkB,IAAI,OAAO,CAEhC;IAED;;;;;;OAMG;IACH,qBAAqB,CAAC,kBAAkB,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI;IAKpE;;;;OAIG;IACH,IAAI,WAAW,IAAI,WAAW,GAAG,IAAI,CAEpC;IAED;;;;;OAKG;IACH,cAAc,CAAC,WAAW,EAAE,WAAW,GAAG,SAAS,GAAG,IAAI;IAK1D;;;;OAIG;IACH,IAAI,cAAc,IAAI,OAAO,CAE5B;IAED;;;;OAIG;IACH,IAAI,2BAA2B,IAAI,OAAO,CAEzC;IAED;;;;OAIG;IACH,IAAI,6BAA6B,IAAI,OAAO,CAE3C;IAED;;;;OAIG;IACH,IAAI,cAAc,IAAI,OAAO,CAE5B;CA4BJ"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents information about the queue that distributed a call.
|
|
3
|
+
*/
|
|
4
|
+
export declare class QueueData {
|
|
5
|
+
#private;
|
|
6
|
+
/**
|
|
7
|
+
* Private constructor. Use `QueueData.fromJson()` to create instances.
|
|
8
|
+
* @param waitingTime - The estimated waiting time in the queue
|
|
9
|
+
* @param saturated - Indicates whether the queue is saturated
|
|
10
|
+
*/
|
|
11
|
+
private constructor();
|
|
12
|
+
/**
|
|
13
|
+
* Returns the estimated waiting time in the queue.
|
|
14
|
+
* @returns The waiting time in seconds, or `null` if not available.
|
|
15
|
+
*/
|
|
16
|
+
get waitingTime(): number | null;
|
|
17
|
+
/**
|
|
18
|
+
* Indicates whether the queue is currently saturated.
|
|
19
|
+
* @returns `true` if the queue is saturated; `false` otherwise.
|
|
20
|
+
*/
|
|
21
|
+
get saturated(): boolean;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=queue-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queue-data.d.ts","sourceRoot":"","sources":["../../../../../../src/types/telephony/call/ccd/queue-data.ts"],"names":[],"mappings":"AAqBA;;GAEG;AACH,qBAAa,SAAS;;IAIlB;;;;OAIG;IACH,OAAO;IAKP;;;OAGG;IACH,IAAI,WAAW,IAAI,MAAM,GAAG,IAAI,CAE/B;IAED;;;OAGG;IACH,IAAI,SAAS,IAAI,OAAO,CAEvB;CAYJ"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents correlator data attached to a call.
|
|
3
|
+
* <p>
|
|
4
|
+
* Correlator data is application-provided information (limited to 32 bytes)
|
|
5
|
+
* that travels with a call. It is typically used to carry application context
|
|
6
|
+
* from one party to another across telephony operations such as transfer.
|
|
7
|
+
* <p>
|
|
8
|
+
* For example, user A receives an external call and attaches correlator data
|
|
9
|
+
* to it. When user A transfers the call to user B, user B receives a
|
|
10
|
+
* {@link Telephony.ON_CALL_CREATED} event whose {@link CallData} contains the
|
|
11
|
+
* same correlator data, allowing user B's application to retrieve the original
|
|
12
|
+
* context.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```typescript
|
|
16
|
+
* // Attach correlator data to a call
|
|
17
|
+
* const data = new CorrelatorData("transactionId=abc123");
|
|
18
|
+
* await O2G.telephony.makeCallEx("1234", "5678", true, false, data);
|
|
19
|
+
*
|
|
20
|
+
* // Read correlator data from a received call event
|
|
21
|
+
* O2G.telephony.on(Telephony.ON_CALL_CREATED, (event) => {
|
|
22
|
+
* const correlator = event.callData?.correlatorData;
|
|
23
|
+
* if (correlator) {
|
|
24
|
+
* console.log("Context:", correlator.asString());
|
|
25
|
+
* }
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class CorrelatorData {
|
|
30
|
+
#private;
|
|
31
|
+
/**
|
|
32
|
+
* Creates a new `CorrelatorData` from a string or byte array.
|
|
33
|
+
* <p>
|
|
34
|
+
* Strings are encoded as UTF-8. The byte value `0x00` is not permitted.
|
|
35
|
+
*
|
|
36
|
+
* @param value the correlator data as a string, `Buffer`, or `Uint8Array`
|
|
37
|
+
* @throws TypeError if the value is not a string or byte array
|
|
38
|
+
* @throws Error if the value contains the byte `0x00`
|
|
39
|
+
*/
|
|
40
|
+
constructor(value: string | Buffer | Uint8Array);
|
|
41
|
+
/**
|
|
42
|
+
* Returns the correlator data as a byte array.
|
|
43
|
+
*
|
|
44
|
+
* @returns the correlator data as a `Buffer`
|
|
45
|
+
*/
|
|
46
|
+
asByteArray(): Buffer;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the correlator data as a UTF-8 string.
|
|
49
|
+
*
|
|
50
|
+
* @returns the correlator data as a string
|
|
51
|
+
*/
|
|
52
|
+
asString(): string;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=correlator-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"correlator-data.d.ts","sourceRoot":"","sources":["../../../../../src/types/telephony/call/correlator-data.ts"],"names":[],"mappings":"AAmBA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBAAa,cAAc;;IAGvB;;;;;;;;OAQG;gBACS,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU;IAgB/C;;;;OAIG;IACH,WAAW,IAAI,MAAM;IAIrB;;;;OAIG;IACH,QAAQ,IAAI,MAAM;CAGrB"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { MediaState } from './media-state';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a call leg — a connection endpoint on a specific device within a call.
|
|
4
|
+
* <p>
|
|
5
|
+
* Each leg is associated with a device and carries its current media state,
|
|
6
|
+
* remote ringing status, and the set of operations available on that leg.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Leg {
|
|
9
|
+
#private;
|
|
10
|
+
/**
|
|
11
|
+
* The identifier of the device associated with this leg.
|
|
12
|
+
*/
|
|
13
|
+
get deviceId(): string;
|
|
14
|
+
/**
|
|
15
|
+
* The current media state of this leg.
|
|
16
|
+
* Defaults to `MediaState.UNKNOWN` if not set.
|
|
17
|
+
*/
|
|
18
|
+
get state(): MediaState;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the remote party is currently ringing on this leg.
|
|
21
|
+
*/
|
|
22
|
+
get ringingRemote(): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The set of operations available on this leg.
|
|
25
|
+
*/
|
|
26
|
+
get capabilities(): Leg.LegCapabilities | null;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace Leg {
|
|
29
|
+
/**
|
|
30
|
+
* Represents the set of operations available on a call leg.
|
|
31
|
+
* <p>
|
|
32
|
+
* Each capability is a boolean indicating whether the leg currently supports
|
|
33
|
+
* that operation. All capabilities default to `false` if not set.
|
|
34
|
+
*/
|
|
35
|
+
class LegCapabilities {
|
|
36
|
+
#private;
|
|
37
|
+
/** Whether this leg can answer an incoming call. */
|
|
38
|
+
get canAnswer(): boolean;
|
|
39
|
+
/** Whether this leg can be dropped from the call. */
|
|
40
|
+
get canDrop(): boolean;
|
|
41
|
+
/** Whether this leg can be put on hold. */
|
|
42
|
+
get canHold(): boolean;
|
|
43
|
+
/** Whether this leg can be retrieved from hold. */
|
|
44
|
+
get canRetrieve(): boolean;
|
|
45
|
+
/** Whether this leg can be reconnected (cancel a consultation call). */
|
|
46
|
+
get canReconnect(): boolean;
|
|
47
|
+
/** Whether this leg can be muted. */
|
|
48
|
+
get canMute(): boolean;
|
|
49
|
+
/** Whether this leg can be unmuted. */
|
|
50
|
+
get canUnMute(): boolean;
|
|
51
|
+
/** Whether DTMF codes can be sent on this leg. */
|
|
52
|
+
get canSendDtmf(): boolean;
|
|
53
|
+
/** Whether the call can be switched to another device from this leg. */
|
|
54
|
+
get canSwitchDevice(): boolean;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=leg.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leg.d.ts","sourceRoot":"","sources":["../../../../../src/types/telephony/call/leg.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;;GAKG;AACH,qBAAa,GAAG;;IAqBZ;;OAEG;IACH,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED;;;OAGG;IACH,IAAI,KAAK,IAAI,UAAU,CAEtB;IAED;;OAEG;IACH,IAAI,aAAa,IAAI,OAAO,CAE3B;IAED;;OAEG;IACH,IAAI,YAAY,IAAI,GAAG,CAAC,eAAe,GAAG,IAAI,CAE7C;CAeJ;AAED,yBAAiB,GAAG,CAAC;IACjB;;;;;OAKG;IACH,MAAa,eAAe;;QAoCxB,oDAAoD;QACpD,IAAI,SAAS,IAAI,OAAO,CAEvB;QAED,qDAAqD;QACrD,IAAI,OAAO,IAAI,OAAO,CAErB;QAED,2CAA2C;QAC3C,IAAI,OAAO,IAAI,OAAO,CAErB;QAED,mDAAmD;QACnD,IAAI,WAAW,IAAI,OAAO,CAEzB;QAED,wEAAwE;QACxE,IAAI,YAAY,IAAI,OAAO,CAE1B;QAED,qCAAqC;QACrC,IAAI,OAAO,IAAI,OAAO,CAErB;QAED,uCAAuC;QACvC,IAAI,SAAS,IAAI,OAAO,CAEvB;QAED,kDAAkD;QAClD,IAAI,WAAW,IAAI,OAAO,CAEzB;QAED,wEAAwE;QACxE,IAAI,eAAe,IAAI,OAAO,CAE7B;KAoBJ;CACJ"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MediaState represents a media state.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum MediaState {
|
|
5
|
+
/**
|
|
6
|
+
* Unknown media state. O2G server is unable to provide the information.
|
|
7
|
+
*/
|
|
8
|
+
UNKNOWN = "UNKNOWN",
|
|
9
|
+
/**
|
|
10
|
+
* The OFF_HOOK state is used when the device is busy for other reasons than a call; typically during service activation.
|
|
11
|
+
*/
|
|
12
|
+
OFF_HOOK = "OFF_HOOK",
|
|
13
|
+
/**
|
|
14
|
+
* Idle state, no activity on the media.
|
|
15
|
+
*/
|
|
16
|
+
IDLE = "IDLE",
|
|
17
|
+
/**
|
|
18
|
+
* The call is releasing.
|
|
19
|
+
*/
|
|
20
|
+
RELEASING = "RELEASING",
|
|
21
|
+
/**
|
|
22
|
+
* A make call is in progress.
|
|
23
|
+
*/
|
|
24
|
+
DIALING = "DIALING",
|
|
25
|
+
/**
|
|
26
|
+
* The call has been placed on hold.
|
|
27
|
+
*/
|
|
28
|
+
HELD = "HELD",
|
|
29
|
+
/**
|
|
30
|
+
* An incoming call is ringing.
|
|
31
|
+
*/
|
|
32
|
+
RINGING_INCOMING = "RINGING_INCOMING",
|
|
33
|
+
/**
|
|
34
|
+
* An outgoing call is in progress and the other party is ringing.
|
|
35
|
+
*/
|
|
36
|
+
RINGING_OUTGOING = "RINGING_OUTGOING",
|
|
37
|
+
/**
|
|
38
|
+
* The call is active.
|
|
39
|
+
*/
|
|
40
|
+
ACTIVE = "ACTIVE"
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=media-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-state.d.ts","sourceRoot":"","sources":["../../../../../src/types/telephony/call/media-state.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,UAAU;IAClB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,gBAAgB,qBAAqB;IAErC;;OAEG;IACH,gBAAgB,qBAAqB;IAErC;;OAEG;IACH,MAAM,WAAW;CACpB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { PartyInfo } from '../../common/party-info';
|
|
2
|
+
import { MediaState } from './media-state';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a participant in a call.
|
|
5
|
+
* <p>
|
|
6
|
+
* Participants are identified by a unique `participantId` and may optionally
|
|
7
|
+
* include identity information. Flags indicate whether the participant is
|
|
8
|
+
* anonymous or cannot be dropped, and their current media state is also tracked.
|
|
9
|
+
*/
|
|
10
|
+
export declare class Participant {
|
|
11
|
+
#private;
|
|
12
|
+
/**
|
|
13
|
+
* The unique identifier of this participant.
|
|
14
|
+
*/
|
|
15
|
+
get participantId(): string;
|
|
16
|
+
/**
|
|
17
|
+
* The identity of this participant.
|
|
18
|
+
*/
|
|
19
|
+
get identity(): PartyInfo | null;
|
|
20
|
+
/**
|
|
21
|
+
* Whether this participant is anonymous.
|
|
22
|
+
*/
|
|
23
|
+
get anonymous(): boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Whether this participant cannot be dropped from the call.
|
|
26
|
+
*/
|
|
27
|
+
get undroppable(): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The current media state of this participant.
|
|
30
|
+
* Defaults to `MediaState.UNKNOWN` if not set.
|
|
31
|
+
*/
|
|
32
|
+
get state(): MediaState;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=participant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"participant.d.ts","sourceRoot":"","sources":["../../../../../src/types/telephony/call/participant.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;;;GAMG;AACH,qBAAa,WAAW;;IAwBpB;;OAEG;IACH,IAAI,aAAa,IAAI,MAAM,CAE1B;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,SAAS,GAAG,IAAI,CAE/B;IAED;;OAEG;IACH,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED;;OAEG;IACH,IAAI,WAAW,IAAI,OAAO,CAEzB;IAED;;;OAGG;IACH,IAAI,KAAK,IAAI,UAAU,CAEtB;CAgBJ"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RecordState represent the recording state of a call.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum RecordState {
|
|
5
|
+
/**
|
|
6
|
+
* The recording is paused.
|
|
7
|
+
*/
|
|
8
|
+
PAUSED = "PAUSED",
|
|
9
|
+
/**
|
|
10
|
+
* The recording is in progress.
|
|
11
|
+
*/
|
|
12
|
+
RECORDING = "RECORDING"
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=record-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record-state.d.ts","sourceRoot":"","sources":["../../../../../src/types/telephony/call/record-state.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,WAAW;IACnB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,SAAS,cAAc;CAC1B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a tag associated with a call.
|
|
3
|
+
*
|
|
4
|
+
* A tag consists of a `name`, an optional `value`, and optional `visibilities`
|
|
5
|
+
* indicating who can see this tag. Use `Tag.fromJson()` to create instances
|
|
6
|
+
* from JSON data.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Tag {
|
|
9
|
+
#private;
|
|
10
|
+
/**
|
|
11
|
+
* Private constructor. Use `Tag.fromJson()` to create instances.
|
|
12
|
+
*
|
|
13
|
+
* @param name - The tag name
|
|
14
|
+
* @param value - Optional tag value
|
|
15
|
+
* @param visibilities - Optional array of tag visibilities
|
|
16
|
+
*/
|
|
17
|
+
private constructor();
|
|
18
|
+
/**
|
|
19
|
+
* Returns the name of the tag.
|
|
20
|
+
*
|
|
21
|
+
* @returns The tag name as a string
|
|
22
|
+
*/
|
|
23
|
+
get name(): string;
|
|
24
|
+
/**
|
|
25
|
+
* Returns the value of the tag.
|
|
26
|
+
*
|
|
27
|
+
* @returns The tag value as a string, or `null` if not set
|
|
28
|
+
*/
|
|
29
|
+
get value(): string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Returns the visibilities of the tag.
|
|
32
|
+
*
|
|
33
|
+
* @returns An array of strings representing visibilities, or `null` if not set
|
|
34
|
+
*/
|
|
35
|
+
get visibilities(): string[] | null;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=tag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../../../src/types/telephony/call/tag.ts"],"names":[],"mappings":"AAqBA;;;;;;GAMG;AACH,qBAAa,GAAG;;IAKZ;;;;;;OAMG;IACH,OAAO;IAMP;;;;OAIG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;;OAIG;IACH,IAAI,KAAK,IAAI,MAAM,GAAG,IAAI,CAEzB;IAED;;;;OAIG;IACH,IAAI,YAAY,IAAI,MAAM,EAAE,GAAG,IAAI,CAElC;CAaJ"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { CallData } from './call/call-data';
|
|
2
|
+
import { Leg } from './call/leg';
|
|
3
|
+
import { Participant } from './call/participant';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a call in progress, including its reference, associated data,
|
|
6
|
+
* legs and participants.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Call {
|
|
9
|
+
#private;
|
|
10
|
+
/**
|
|
11
|
+
* The unique reference identifier of this call, used to identify it across
|
|
12
|
+
* all telephony operations.
|
|
13
|
+
*/
|
|
14
|
+
get callRef(): string;
|
|
15
|
+
/**
|
|
16
|
+
* The detailed data associated with this call, including state, ACD data,
|
|
17
|
+
* tags and capabilities.
|
|
18
|
+
*/
|
|
19
|
+
get callData(): CallData | null;
|
|
20
|
+
/**
|
|
21
|
+
* The legs associated with this call. Each leg represents a connection
|
|
22
|
+
* endpoint on a device.
|
|
23
|
+
*/
|
|
24
|
+
get legs(): Leg[] | null;
|
|
25
|
+
/**
|
|
26
|
+
* The participants involved in this call.
|
|
27
|
+
*/
|
|
28
|
+
get participants(): Participant[] | null;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace Call {
|
|
31
|
+
/**
|
|
32
|
+
* Represents the set of operations that can be performed on a call.
|
|
33
|
+
* <p>
|
|
34
|
+
* Each property indicates whether a specific action is currently available.
|
|
35
|
+
* All capabilities default to `false` if not explicitly set.
|
|
36
|
+
* <p>
|
|
37
|
+
* A `CallCapabilities` instance is available via {@link CallData.capabilities}
|
|
38
|
+
* on the call's associated {@link CallData}.
|
|
39
|
+
*/
|
|
40
|
+
class CallCapabilities {
|
|
41
|
+
#private;
|
|
42
|
+
/** Whether a device can be added to this call. */
|
|
43
|
+
get canAddDevice(): boolean;
|
|
44
|
+
/** Whether a participant can be added to this call. */
|
|
45
|
+
get canAddParticipant(): boolean;
|
|
46
|
+
/** Whether this call can be intruded upon. */
|
|
47
|
+
get canIntruded(): boolean;
|
|
48
|
+
/** Whether intrusion is possible on the called party. */
|
|
49
|
+
get canIntrusion(): boolean;
|
|
50
|
+
/** Whether this call can be transferred. */
|
|
51
|
+
get canTransfer(): boolean;
|
|
52
|
+
/** Whether this call can be blind transferred. */
|
|
53
|
+
get canBlindTransfer(): boolean;
|
|
54
|
+
/** Whether this call can be merged with another call. */
|
|
55
|
+
get canMerge(): boolean;
|
|
56
|
+
/** Whether this call can be redirected. */
|
|
57
|
+
get canRedirect(): boolean;
|
|
58
|
+
/** Whether this call can be picked up. */
|
|
59
|
+
get canPickedUp(): boolean;
|
|
60
|
+
/** Whether this call can be redirected to voicemail. */
|
|
61
|
+
get canRedirectToVoiceMail(): boolean;
|
|
62
|
+
/** Whether this call can overflow to voicemail. */
|
|
63
|
+
get canOverflowToVoiceMail(): boolean;
|
|
64
|
+
/** Whether the current user can drop themselves from this call. */
|
|
65
|
+
get canDropMe(): boolean;
|
|
66
|
+
/** Whether this call can be terminated (all parties released). */
|
|
67
|
+
get canTerminate(): boolean;
|
|
68
|
+
/** Whether this call can be rejected. */
|
|
69
|
+
get canReject(): boolean;
|
|
70
|
+
/** Whether a callback can be requested on this call. */
|
|
71
|
+
get canCallBack(): boolean;
|
|
72
|
+
/** Whether this call can be parked. */
|
|
73
|
+
get canPark(): boolean;
|
|
74
|
+
/** Whether recording can be started on this call. */
|
|
75
|
+
get canStartRecord(): boolean;
|
|
76
|
+
/** Whether recording can be stopped on this call. */
|
|
77
|
+
get canStopRecord(): boolean;
|
|
78
|
+
/** Whether recording can be paused on this call. */
|
|
79
|
+
get canPauseRecord(): boolean;
|
|
80
|
+
/** Whether recording can be resumed on this call. */
|
|
81
|
+
get canResumeRecord(): boolean;
|
|
82
|
+
/** Whether a participant can be dropped from this call. */
|
|
83
|
+
get canDropParticipant(): boolean;
|
|
84
|
+
/** Whether a participant can be muted in this call. */
|
|
85
|
+
get canMuteParticipant(): boolean;
|
|
86
|
+
/** Whether a participant can be put on hold in this call. */
|
|
87
|
+
get canHoldParticipant(): boolean;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=call.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../src/types/telephony/call.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;GAGG;AACH,qBAAa,IAAI;;IAgBb;;;OAGG;IACH,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED;;;OAGG;IACH,IAAI,QAAQ,IAAI,QAAQ,GAAG,IAAI,CAE9B;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,GAAG,EAAE,GAAG,IAAI,CAEvB;IAED;;OAEG;IACH,IAAI,YAAY,IAAI,WAAW,EAAE,GAAG,IAAI,CAEvC;CAeJ;AAED,yBAAiB,IAAI,CAAC;IAClB;;;;;;;;OAQG;IACH,MAAa,gBAAgB;;QA8EzB,kDAAkD;QAClD,IAAI,YAAY,IAAI,OAAO,CAE1B;QAED,uDAAuD;QACvD,IAAI,iBAAiB,IAAI,OAAO,CAE/B;QAED,8CAA8C;QAC9C,IAAI,WAAW,IAAI,OAAO,CAEzB;QAED,yDAAyD;QACzD,IAAI,YAAY,IAAI,OAAO,CAE1B;QAED,4CAA4C;QAC5C,IAAI,WAAW,IAAI,OAAO,CAEzB;QAED,kDAAkD;QAClD,IAAI,gBAAgB,IAAI,OAAO,CAE9B;QAED,yDAAyD;QACzD,IAAI,QAAQ,IAAI,OAAO,CAEtB;QAED,2CAA2C;QAC3C,IAAI,WAAW,IAAI,OAAO,CAEzB;QAED,0CAA0C;QAC1C,IAAI,WAAW,IAAI,OAAO,CAEzB;QAED,wDAAwD;QACxD,IAAI,sBAAsB,IAAI,OAAO,CAEpC;QAED,mDAAmD;QACnD,IAAI,sBAAsB,IAAI,OAAO,CAEpC;QAED,mEAAmE;QACnE,IAAI,SAAS,IAAI,OAAO,CAEvB;QAED,kEAAkE;QAClE,IAAI,YAAY,IAAI,OAAO,CAE1B;QAED,yCAAyC;QACzC,IAAI,SAAS,IAAI,OAAO,CAEvB;QAED,wDAAwD;QACxD,IAAI,WAAW,IAAI,OAAO,CAEzB;QAED,uCAAuC;QACvC,IAAI,OAAO,IAAI,OAAO,CAErB;QAED,qDAAqD;QACrD,IAAI,cAAc,IAAI,OAAO,CAE5B;QAED,qDAAqD;QACrD,IAAI,aAAa,IAAI,OAAO,CAE3B;QAED,oDAAoD;QACpD,IAAI,cAAc,IAAI,OAAO,CAE5B;QAED,qDAAqD;QACrD,IAAI,eAAe,IAAI,OAAO,CAE7B;QAED,2DAA2D;QAC3D,IAAI,kBAAkB,IAAI,OAAO,CAEhC;QAED,uDAAuD;QACvD,IAAI,kBAAkB,IAAI,OAAO,CAEhC;QAED,6DAA6D;QAC7D,IAAI,kBAAkB,IAAI,OAAO,CAEhC;KAkCJ;CACJ"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PartyInfo } from '../common/party-info';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a callback request in the system.
|
|
4
|
+
*
|
|
5
|
+
* A callback corresponds to a request from a party to be called back at a later time.
|
|
6
|
+
* This class contains the unique callback identifier and the information about
|
|
7
|
+
* the party who requested it.
|
|
8
|
+
*
|
|
9
|
+
* Use `Callback.fromJson()` to create instances from JSON data.
|
|
10
|
+
*/
|
|
11
|
+
export declare class Callback {
|
|
12
|
+
#private;
|
|
13
|
+
/**
|
|
14
|
+
* Private constructor. Use `Callback.fromJson()` to create instances.
|
|
15
|
+
*
|
|
16
|
+
* @param callbackId - The unique identifier of the callback request
|
|
17
|
+
* @param partyInfo - The party who requested the callback
|
|
18
|
+
*/
|
|
19
|
+
private constructor();
|
|
20
|
+
/**
|
|
21
|
+
* Returns the unique identifier of the callback request.
|
|
22
|
+
*
|
|
23
|
+
* @returns The callback ID as a string
|
|
24
|
+
*/
|
|
25
|
+
get callbackId(): string;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the information about the party who requested the callback.
|
|
28
|
+
*
|
|
29
|
+
* @returns A `PartyInfo` object containing the requestor’s details
|
|
30
|
+
*/
|
|
31
|
+
get partyInfo(): PartyInfo;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=callback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../src/types/telephony/callback.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD;;;;;;;;GAQG;AACH,qBAAa,QAAQ;;IAIjB;;;;;OAKG;IACH,OAAO;IAKP;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED;;;;OAIG;IACH,IAAI,SAAS,IAAI,SAAS,CAEzB;CAaJ"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OperationalState } from './operational-state';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the current operational state of a device.
|
|
4
|
+
*
|
|
5
|
+
* Each device has a unique `deviceId` and an associated `OperationalState`.
|
|
6
|
+
* Use `DeviceState.fromJson()` to create instances from JSON data.
|
|
7
|
+
*/
|
|
8
|
+
export declare class DeviceState {
|
|
9
|
+
#private;
|
|
10
|
+
/**
|
|
11
|
+
* Private constructor. Use `DeviceState.fromJson()` to create instances.
|
|
12
|
+
*
|
|
13
|
+
* @param deviceId - The unique identifier of the device
|
|
14
|
+
* @param state - The current operational state of the device
|
|
15
|
+
*/
|
|
16
|
+
private constructor();
|
|
17
|
+
/**
|
|
18
|
+
* Returns the unique identifier of the device.
|
|
19
|
+
*
|
|
20
|
+
* @returns The device ID as a string
|
|
21
|
+
*/
|
|
22
|
+
get deviceId(): string;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the operational state of the device.
|
|
25
|
+
*
|
|
26
|
+
* @returns The `OperationalState` of the device
|
|
27
|
+
*/
|
|
28
|
+
get state(): OperationalState;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=device-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device-state.d.ts","sourceRoot":"","sources":["../../../../../src/types/telephony/device/device-state.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;;;GAKG;AACH,qBAAa,WAAW;;IAIpB;;;;;OAKG;IACH,OAAO;IAKP;;;;OAIG;IACH,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED;;;;OAIG;IACH,IAAI,KAAK,IAAI,gBAAgB,CAE5B;CAaJ"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OperationalState represents a device dynamic state.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum OperationalState {
|
|
5
|
+
/**
|
|
6
|
+
* The device is in service.
|
|
7
|
+
*/
|
|
8
|
+
IN_SERVICE = "IN_SERVICE",
|
|
9
|
+
/**
|
|
10
|
+
* The device is out of service.
|
|
11
|
+
*/
|
|
12
|
+
OUT_OF_SERVICE = "OUT_OF_SERVICE",
|
|
13
|
+
/**
|
|
14
|
+
* The dynamic state of the device can not be retrieved.
|
|
15
|
+
*/
|
|
16
|
+
UNKNOWN = "UNKNOWN"
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=operational-state.d.ts.map
|