o2g-node-sdk 2.4.0 → 2.5.0
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 +11 -7
- package/dist/o2g-node-sdk.js +2165 -4487
- 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-stats/abstract-filter.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/abstract-filter.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/ag-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/ag-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/cc-stat-types.d.ts +57 -0
- package/dist/types/internal/types/cc-stats/cc-stat-types.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/context-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/context-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/on-stats-progress.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/on-stats-progress.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/pil-aband-calls-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/pil-aband-calls-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/pil-filter-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/pil-filter-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/requester-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/requester-impl.d.ts.map +1 -0
- package/dist/types/internal/types/cc-stats/scheduled-rep-impl.d.ts +2 -0
- package/dist/types/internal/types/cc-stats/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 +4 -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 +40 -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 +454 -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 +92 -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 +73 -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 +59 -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 +72 -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-abandoned-calls-attributes.d.ts +48 -0
- package/dist/types/types/cc-stats/pilot-abandoned-calls-attributes.d.ts.map +1 -0
- package/dist/types/types/cc-stats/pilot-abandonned-calls-filter.d.ts +46 -0
- package/dist/types/types/cc-stats/pilot-abandonned-calls-filter.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 +137 -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 +72 -0
- package/dist/types/types/cc-stats/stats-context.d.ts.map +1 -0
- package/dist/types/types/cc-stats/stats-filter.d.ts +41 -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 +79 -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 +131 -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 +83 -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 +41 -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,182 @@
|
|
|
1
|
+
import { PbxAttributeMap } from './pbx-attr-map';
|
|
2
|
+
/**
|
|
3
|
+
* Represents an attribute in a {@link PbxObject}.
|
|
4
|
+
* <p>
|
|
5
|
+
* A `PbxAttribute` can be of the following types:
|
|
6
|
+
* <ul>
|
|
7
|
+
* <li><b>Integer</b>: Equivalent to a number value.</li>
|
|
8
|
+
* <li><b>Boolean</b>: Equivalent to a boolean value.</li>
|
|
9
|
+
* <li><b>Enumerated</b>: Limited set of string values.</li>
|
|
10
|
+
* <li><b>OctetString / ByteString</b>: Treated as a string value.</li>
|
|
11
|
+
* <li><b>Sequence</b>: Structured data with named attributes:
|
|
12
|
+
* ```
|
|
13
|
+
* Skill := Sequence {
|
|
14
|
+
* Skill_Nb := Integer,
|
|
15
|
+
* Skill_Level := Integer,
|
|
16
|
+
* Skill_Activate := Boolean
|
|
17
|
+
* }
|
|
18
|
+
* ```
|
|
19
|
+
* </li>
|
|
20
|
+
* <li><b>Set</b>: List of attributes of the same type, either simple or sequences:
|
|
21
|
+
* ```
|
|
22
|
+
* SimpleSet := Set { Item := OctetString }
|
|
23
|
+
* SkillSet := Set { Item := Sequence {
|
|
24
|
+
* Skill_Nb := Integer,
|
|
25
|
+
* Skill_Level := Integer,
|
|
26
|
+
* Skill_Activate := Boolean
|
|
27
|
+
* }}
|
|
28
|
+
* ```
|
|
29
|
+
* </li>
|
|
30
|
+
* </ul>
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```typescript
|
|
34
|
+
* // Simple attributes — use for scalar values
|
|
35
|
+
* const stationType = PbxAttribute.createString("StationType", "ANALOG");
|
|
36
|
+
* const directory = PbxAttribute.createString("Directory", "60200");
|
|
37
|
+
* const count = PbxAttribute.createInteger("MaxCalls", 5);
|
|
38
|
+
* const enabled = PbxAttribute.createBoolean("Enabled", true);
|
|
39
|
+
*
|
|
40
|
+
* // Sequence — use for structured attributes
|
|
41
|
+
* const skillMap = new PbxAttributeMap();
|
|
42
|
+
* skillMap.add(PbxAttribute.createInteger("Skill_Nb", 1));
|
|
43
|
+
* skillMap.add(PbxAttribute.createInteger("Skill_Level", 3));
|
|
44
|
+
* skillMap.add(PbxAttribute.createBoolean("Skill_Activate", true));
|
|
45
|
+
* const skill = PbxAttribute.createSequence("Skill", skillMap);
|
|
46
|
+
*
|
|
47
|
+
* // Use with PbxManagement to modify an object
|
|
48
|
+
* await O2G.pbxManagement.setObject(1, "Subscriber", "60200", [stationType, directory]);
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare class PbxAttribute {
|
|
52
|
+
#private;
|
|
53
|
+
/**
|
|
54
|
+
* Returns this attribute's name.
|
|
55
|
+
*
|
|
56
|
+
* @returns the attribute name, or `null` if not set
|
|
57
|
+
*/
|
|
58
|
+
get name(): string | null;
|
|
59
|
+
/**
|
|
60
|
+
* Creates a new `PbxAttribute` representing a set of string values.
|
|
61
|
+
*
|
|
62
|
+
* @param attrName the attribute name
|
|
63
|
+
* @param values the list of string values
|
|
64
|
+
* @returns a new {@link PbxAttribute} instance
|
|
65
|
+
*/
|
|
66
|
+
static createSetOfStrings(attrName: string, values: string[]): PbxAttribute;
|
|
67
|
+
/**
|
|
68
|
+
* Creates a new `PbxAttribute` of type String.
|
|
69
|
+
*
|
|
70
|
+
* @param attrName the attribute name
|
|
71
|
+
* @param value the string value
|
|
72
|
+
* @returns a new {@link PbxAttribute} instance
|
|
73
|
+
*/
|
|
74
|
+
static createString(attrName: string, value: string): PbxAttribute;
|
|
75
|
+
/**
|
|
76
|
+
* Creates a new `PbxAttribute` of type Boolean.
|
|
77
|
+
*
|
|
78
|
+
* @param attrName the attribute name
|
|
79
|
+
* @param value the boolean value
|
|
80
|
+
* @returns a new {@link PbxAttribute} instance
|
|
81
|
+
*/
|
|
82
|
+
static createBoolean(attrName: string, value: boolean): PbxAttribute;
|
|
83
|
+
/**
|
|
84
|
+
* Creates a new `PbxAttribute` of type Integer.
|
|
85
|
+
*
|
|
86
|
+
* @param attrName the attribute name
|
|
87
|
+
* @param value the integer value
|
|
88
|
+
* @returns a new {@link PbxAttribute} instance
|
|
89
|
+
*/
|
|
90
|
+
static createInteger(attrName: string, value: number): PbxAttribute;
|
|
91
|
+
/**
|
|
92
|
+
* Creates a new `PbxAttribute` representing a Sequence.
|
|
93
|
+
* <p>
|
|
94
|
+
* A sequence is a structured attribute composed of named sub-attributes,
|
|
95
|
+
* built using a {@link PbxAttributeMap}.
|
|
96
|
+
*
|
|
97
|
+
* @param attrName the attribute name
|
|
98
|
+
* @param sequence the {@link PbxAttributeMap} representing the sequence
|
|
99
|
+
* @returns a new {@link PbxAttribute} instance
|
|
100
|
+
* @see createSequenceSet
|
|
101
|
+
*/
|
|
102
|
+
static createSequence(attrName: string, sequence: PbxAttributeMap): PbxAttribute;
|
|
103
|
+
/**
|
|
104
|
+
* Creates a new `PbxAttribute` representing a Set of sequences.
|
|
105
|
+
* <p>
|
|
106
|
+
* A set of sequences is a repeated structured attribute where each entry is
|
|
107
|
+
* a {@link PbxAttributeMap} with the same structure.
|
|
108
|
+
*
|
|
109
|
+
* @param attrName the attribute name
|
|
110
|
+
* @param setOfSequences the list of {@link PbxAttributeMap} representing the sequences
|
|
111
|
+
* @returns a new {@link PbxAttribute} instance
|
|
112
|
+
* @see createSequence
|
|
113
|
+
*/
|
|
114
|
+
static createSequenceSet(attrName: string, setOfSequences: PbxAttributeMap[]): PbxAttribute;
|
|
115
|
+
/**
|
|
116
|
+
* Returns the attribute at the specified index in a Set of sequences.
|
|
117
|
+
*
|
|
118
|
+
* @param index the index of the entry in the set
|
|
119
|
+
* @returns the {@link PbxAttributeMap} at the specified index
|
|
120
|
+
* @throws Error if the attribute is not a Set
|
|
121
|
+
*/
|
|
122
|
+
getAt(index: number): PbxAttributeMap;
|
|
123
|
+
/**
|
|
124
|
+
* Returns this attribute as a sequence of named sub-attributes.
|
|
125
|
+
*
|
|
126
|
+
* @returns the {@link PbxAttributeMap} representing the sequence
|
|
127
|
+
* @throws Error if the attribute is not a Sequence
|
|
128
|
+
*/
|
|
129
|
+
asAttributeMap(): PbxAttributeMap;
|
|
130
|
+
/**
|
|
131
|
+
* Returns this attribute as a list of {@link PbxAttributeMap}.
|
|
132
|
+
*
|
|
133
|
+
* @returns the list of {@link PbxAttributeMap} representing the set of sequences
|
|
134
|
+
* @throws Error if the attribute is not a sequence set
|
|
135
|
+
*/
|
|
136
|
+
asListOfMaps(): PbxAttributeMap[];
|
|
137
|
+
/**
|
|
138
|
+
* Returns this attribute value as a boolean.
|
|
139
|
+
*
|
|
140
|
+
* @returns the boolean value
|
|
141
|
+
* @throws Error if the value is not a valid boolean
|
|
142
|
+
*/
|
|
143
|
+
asBoolean(): boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Sets this attribute value as a boolean.
|
|
146
|
+
*
|
|
147
|
+
* @param value the boolean value
|
|
148
|
+
*/
|
|
149
|
+
setBoolean(value: boolean): void;
|
|
150
|
+
/**
|
|
151
|
+
* Returns this attribute value as an integer.
|
|
152
|
+
*
|
|
153
|
+
* @returns the integer value
|
|
154
|
+
* @throws Error if the value is not a valid integer
|
|
155
|
+
*/
|
|
156
|
+
asInteger(): number;
|
|
157
|
+
/**
|
|
158
|
+
* Sets this attribute value as an integer.
|
|
159
|
+
*
|
|
160
|
+
* @param value the integer value
|
|
161
|
+
*/
|
|
162
|
+
setInteger(value: number): void;
|
|
163
|
+
/**
|
|
164
|
+
* Returns this attribute value as a string.
|
|
165
|
+
*
|
|
166
|
+
* @returns the string value
|
|
167
|
+
*/
|
|
168
|
+
asString(): string;
|
|
169
|
+
/**
|
|
170
|
+
* Sets this attribute value as a string.
|
|
171
|
+
*
|
|
172
|
+
* @param value the string value
|
|
173
|
+
*/
|
|
174
|
+
setString(value: string): void;
|
|
175
|
+
/**
|
|
176
|
+
* Returns this attribute value as an enumerated string.
|
|
177
|
+
*
|
|
178
|
+
* @returns the enumerated string value
|
|
179
|
+
*/
|
|
180
|
+
asEnum(): string;
|
|
181
|
+
}
|
|
182
|
+
//# sourceMappingURL=pbx-attribute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pbx-attribute.d.ts","sourceRoot":"","sources":["../../../../src/types/pbxmngt/pbx-attribute.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,qBAAa,YAAY;;IAarB;;;;OAIG;IACH,IAAI,IAAI,IAAI,MAAM,GAAG,IAAI,CAExB;IA8BD;;;;;;OAMG;IACH,MAAM,CAAC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,YAAY;IAM3E;;;;;;OAMG;IACH,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,YAAY;IAMlE;;;;;;OAMG;IACH,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,YAAY;IAMpE;;;;;;OAMG;IACH,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,YAAY;IAMnE;;;;;;;;;;OAUG;IACH,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,GAAG,YAAY;IAMhF;;;;;;;;;;OAUG;IACH,MAAM,CAAC,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,eAAe,EAAE,GAAG,YAAY;IAM3F;;;;;;OAMG;IACH,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,eAAe;IAQrC;;;;;OAKG;IACH,cAAc,IAAI,eAAe;IAOjC;;;;;OAKG;IACH,YAAY,IAAI,eAAe,EAAE;IAOjC;;;;;OAKG;IACH,SAAS,IAAI,OAAO;IASpB;;;;OAIG;IACH,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAMhC;;;;;OAKG;IACH,SAAS,IAAI,MAAM;IASnB;;;;OAIG;IACH,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAM/B;;;;OAIG;IACH,QAAQ,IAAI,MAAM;IAIlB;;;;OAIG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAM9B;;;;OAIG;IACH,MAAM,IAAI,MAAM;CA+CnB"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { PbxAttribute } from './pbx-attribute';
|
|
2
|
+
/**
|
|
3
|
+
* Represents an object instance in the OmniPCX Enterprise object model.
|
|
4
|
+
* <p>
|
|
5
|
+
* A `PbxObject` is referenced by its object instance definition — a hierarchical
|
|
6
|
+
* path from the root object — and a unique instance id. For example:
|
|
7
|
+
* <ul>
|
|
8
|
+
* <li>`"Subscriber"` — a subscriber object</li>
|
|
9
|
+
* <li>`"Application_Configuration/1/ACD2/1/ACD2_Operator/1/ACD2_Operator_data"` — a CCD operator data object</li>
|
|
10
|
+
* </ul>
|
|
11
|
+
* <p>
|
|
12
|
+
* A `PbxObject` is returned by {@link PbxManagement.getObject} and
|
|
13
|
+
* {@link PbxManagement.getNodeObject}. Its attributes can be accessed by name
|
|
14
|
+
* using {@link getAttribute}, and its sub-object names are available via
|
|
15
|
+
* {@link objectNames}.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```typescript
|
|
19
|
+
* // Retrieve a subscriber object
|
|
20
|
+
* const obj = await O2G.pbxManagement.getObject(1, "Subscriber", "60200");
|
|
21
|
+
*
|
|
22
|
+
* // Read simple attributes
|
|
23
|
+
* const stationType = obj?.getAttribute("StationType")?.asString();
|
|
24
|
+
* const maxCalls = obj?.getAttribute("MaxCalls")?.asInteger();
|
|
25
|
+
* const enabled = obj?.getAttribute("Enabled")?.asBoolean();
|
|
26
|
+
*
|
|
27
|
+
* // Read a sequence attribute
|
|
28
|
+
* const skill = obj?.getAttribute("Skill")?.asAttributeMap();
|
|
29
|
+
* const level = skill?.getAttribute("Skill_Level")?.asInteger();
|
|
30
|
+
*
|
|
31
|
+
* // Read a set of sequences
|
|
32
|
+
* const skillSet = obj?.getAttribute("SkillSet");
|
|
33
|
+
* const maps = skillSet?.asListOfMaps();
|
|
34
|
+
* maps?.forEach(map => {
|
|
35
|
+
* console.log("Skill Nb:", map.getAttribute("Skill_Nb")?.asInteger());
|
|
36
|
+
* });
|
|
37
|
+
*
|
|
38
|
+
* // List available sub-objects
|
|
39
|
+
* console.log("Sub-objects:", obj?.objectNames);
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare class PbxObject {
|
|
43
|
+
#private;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the names of sub-objects accessible from this object.
|
|
46
|
+
* <p>
|
|
47
|
+
* These names can be used to recursively navigate the object hierarchy
|
|
48
|
+
* using {@link PbxManagement.getObject}.
|
|
49
|
+
*
|
|
50
|
+
* @returns the list of sub-object names, or `null` if none
|
|
51
|
+
*/
|
|
52
|
+
get objectNames(): string[] | null;
|
|
53
|
+
/**
|
|
54
|
+
* Returns this object's name.
|
|
55
|
+
*
|
|
56
|
+
* @returns the object name, or `null` if undefined
|
|
57
|
+
*/
|
|
58
|
+
get name(): string | null;
|
|
59
|
+
/**
|
|
60
|
+
* Returns this object's instance id.
|
|
61
|
+
*
|
|
62
|
+
* @returns the instance id, or `null` if undefined
|
|
63
|
+
*/
|
|
64
|
+
get id(): string | null;
|
|
65
|
+
/**
|
|
66
|
+
* Returns the attribute with the specified name.
|
|
67
|
+
*
|
|
68
|
+
* @param attrName the name of the attribute to retrieve
|
|
69
|
+
* @returns the {@link PbxAttribute} if found; `undefined` otherwise
|
|
70
|
+
*/
|
|
71
|
+
getAttribute(attrName: string): PbxAttribute | undefined;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=pbx-object.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pbx-object.d.ts","sourceRoot":"","sources":["../../../../src/types/pbxmngt/pbx-object.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,qBAAa,SAAS;;IAqBlB;;;;;;;OAOG;IACH,IAAI,WAAW,IAAI,MAAM,EAAE,GAAG,IAAI,CAEjC;IAED;;;;OAIG;IACH,IAAI,IAAI,IAAI,MAAM,GAAG,IAAI,CAExB;IAED;;;;OAIG;IACH,IAAI,EAAE,IAAI,MAAM,GAAG,IAAI,CAEtB;IAED;;;;;OAKG;IACH,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS;CAiC3D"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the basic information of a PBX (OmniPCX Enterprise).
|
|
3
|
+
*
|
|
4
|
+
* <p>
|
|
5
|
+
* In an OmniPCX Enterprise sub-network, each OXE node is identified by a unique node ID.
|
|
6
|
+
* </p>
|
|
7
|
+
*/
|
|
8
|
+
export declare class Pbx {
|
|
9
|
+
#private;
|
|
10
|
+
/**
|
|
11
|
+
* Returns the OmniPCX Enterprise node ID.
|
|
12
|
+
*
|
|
13
|
+
* @returns The node ID of this PBX, or null if not set
|
|
14
|
+
*/
|
|
15
|
+
get nodeId(): number | null;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the fully qualified domain name (FQDN) of this OmniPCX Enterprise node.
|
|
18
|
+
*
|
|
19
|
+
* @returns The FQDN of this PBX, or null if not set
|
|
20
|
+
*/
|
|
21
|
+
get fqdn(): string | null;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=pbx.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pbx.d.ts","sourceRoot":"","sources":["../../../../src/types/pbxmngt/pbx.ts"],"names":[],"mappings":"AAqBA;;;;;;GAMG;AACH,qBAAa,GAAG;;IAYZ;;;;OAIG;IACH,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,CAE1B;IAED;;;;OAIG;IACH,IAAI,IAAI,IAAI,MAAM,GAAG,IAAI,CAExB;CAQJ"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a PBX object definition.
|
|
3
|
+
*
|
|
4
|
+
* A PBX object is identified by:
|
|
5
|
+
* - a unique object identifier
|
|
6
|
+
* - a logical object name
|
|
7
|
+
*/
|
|
8
|
+
export declare class PbxObjectDefinition {
|
|
9
|
+
#private;
|
|
10
|
+
/**
|
|
11
|
+
* Gets the logical name of the PBX object.
|
|
12
|
+
*
|
|
13
|
+
* @returns The object name.
|
|
14
|
+
*/
|
|
15
|
+
get objectName(): string;
|
|
16
|
+
/**
|
|
17
|
+
* Gets the unique identifier of the PBX object.
|
|
18
|
+
*
|
|
19
|
+
* @returns The object identifier.
|
|
20
|
+
*/
|
|
21
|
+
get objectId(): string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Base class for PBX object instance lifecycle events.
|
|
25
|
+
*
|
|
26
|
+
* This abstract class represents a generic event emitted when a PBX object
|
|
27
|
+
* instance is created, modified, or deleted.
|
|
28
|
+
*/
|
|
29
|
+
export declare abstract class OnPbxObjectInstanceEvent {
|
|
30
|
+
#private;
|
|
31
|
+
/**
|
|
32
|
+
* Creates a new PBX object instance event.
|
|
33
|
+
*
|
|
34
|
+
* @param object - The PBX object concerned by the event.
|
|
35
|
+
* @param parent - The parent object (if any).
|
|
36
|
+
* @param nodeId - Identifier of the OmniPCX Enterprise node that emitted the event.
|
|
37
|
+
*/
|
|
38
|
+
protected constructor(object: PbxObjectDefinition, parent: PbxObjectDefinition | undefined, nodeId: number);
|
|
39
|
+
/**
|
|
40
|
+
* Gets the PBX object concerned by the event.
|
|
41
|
+
*
|
|
42
|
+
* @returns The object definition.
|
|
43
|
+
*/
|
|
44
|
+
get object(): PbxObjectDefinition;
|
|
45
|
+
/**
|
|
46
|
+
* Gets the parent object of the concerned PBX object.
|
|
47
|
+
*
|
|
48
|
+
* @returns The parent object definition, or `null` if none exists.
|
|
49
|
+
*/
|
|
50
|
+
get parent(): PbxObjectDefinition | null;
|
|
51
|
+
/**
|
|
52
|
+
* Gets the identifier of the OmniPCX Enterprise node
|
|
53
|
+
* that emitted this event.
|
|
54
|
+
*
|
|
55
|
+
* @returns The node identifier.
|
|
56
|
+
*/
|
|
57
|
+
get nodeId(): number;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Event emitted when a PBX object instance is created.
|
|
61
|
+
*/
|
|
62
|
+
export declare class OnPbxObjectInstanceCreated extends OnPbxObjectInstanceEvent {
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Event emitted when a PBX object instance is deleted.
|
|
66
|
+
*/
|
|
67
|
+
export declare class OnPbxObjectInstanceDeleted extends OnPbxObjectInstanceEvent {
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Event emitted when a PBX object instance is modified.
|
|
71
|
+
*/
|
|
72
|
+
export declare class OnPbxObjectInstanceModified extends OnPbxObjectInstanceEvent {
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=pbxmngt-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pbxmngt-events.d.ts","sourceRoot":"","sources":["../../../../src/types/pbxmngt/pbxmngt-events.ts"],"names":[],"mappings":"AAqBA;;;;;;GAMG;AACH,qBAAa,mBAAmB;;IAY5B;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED;;;;OAIG;IACH,IAAI,QAAQ,IAAI,MAAM,CAErB;CAQJ;AAED;;;;;GAKG;AACH,8BAAsB,wBAAwB;;IAK1C;;;;;;OAMG;IACH,SAAS,aAAa,MAAM,EAAE,mBAAmB,EAAE,MAAM,EAAE,mBAAmB,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM;IAM1G;;;;OAIG;IACH,IAAI,MAAM,IAAI,mBAAmB,CAEhC;IAED;;;;OAIG;IACH,IAAI,MAAM,IAAI,mBAAmB,GAAG,IAAI,CAEvC;IAED;;;;;OAKG;IACH,IAAI,MAAM,IAAI,MAAM,CAEnB;CACJ;AAED;;GAEG;AACH,qBAAa,0BAA2B,SAAQ,wBAAwB;CAuBvE;AAED;;GAEG;AACH,qBAAa,0BAA2B,SAAQ,wBAAwB;CAkBvE;AAED;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,wBAAwB;CAkBxE"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a key on an OmniPCX Enterprise device.
|
|
3
|
+
*
|
|
4
|
+
* A DeviceKey can correspond to a programmable key on the device,
|
|
5
|
+
* which may store a phone number and an optional mnemonic for easier identification.
|
|
6
|
+
*/
|
|
7
|
+
export declare class DeviceKey {
|
|
8
|
+
#private;
|
|
9
|
+
/**
|
|
10
|
+
* Constructs a new DeviceKey.
|
|
11
|
+
*
|
|
12
|
+
* @param position - The physical or logical position of the key on the device.
|
|
13
|
+
* @param number - The phone number associated with this key.
|
|
14
|
+
* @param mnemonic - An optional mnemonic to identify the key (e.g., "Reception" or "Sales").
|
|
15
|
+
*/
|
|
16
|
+
constructor(position?: number, number?: string, mnemonic?: string);
|
|
17
|
+
/**
|
|
18
|
+
* The position of the key on the device.
|
|
19
|
+
*
|
|
20
|
+
* @returns {number | null} Returns the key position, or null if not set.
|
|
21
|
+
*/
|
|
22
|
+
get position(): number | null;
|
|
23
|
+
/**
|
|
24
|
+
* The phone number assigned to this key.
|
|
25
|
+
*
|
|
26
|
+
* @returns {string | null} Returns the associated number, or null if not set.
|
|
27
|
+
*/
|
|
28
|
+
get number(): string | null;
|
|
29
|
+
/**
|
|
30
|
+
* The mnemonic label for this key.
|
|
31
|
+
*
|
|
32
|
+
* @returns {string | null} Returns the mnemonic if set; otherwise, null.
|
|
33
|
+
*/
|
|
34
|
+
get mnemonic(): string | null;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=device-key.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device-key.d.ts","sourceRoot":"","sources":["../../../../src/types/phoneset/device-key.ts"],"names":[],"mappings":"AAmBA;;;;;GAKG;AACH,qBAAa,SAAS;;IAKlB;;;;;;OAMG;gBACS,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM;IAMjE;;;;OAIG;IACH,IAAI,QAAQ,IAAI,MAAM,GAAG,IAAI,CAE5B;IAED;;;;OAIG;IACH,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,CAE1B;IAED;;;;OAIG;IACH,IAAI,QAAQ,IAAI,MAAM,GAAG,IAAI,CAE5B;CACJ"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the dynamic state of a device.
|
|
3
|
+
*
|
|
4
|
+
* DynamicState provides information about:
|
|
5
|
+
* - Whether the device is locked
|
|
6
|
+
* - Whether the camp-on feature is activated
|
|
7
|
+
* - The associated phone number
|
|
8
|
+
*/
|
|
9
|
+
export declare class DynamicState {
|
|
10
|
+
#private;
|
|
11
|
+
/**
|
|
12
|
+
* Indicates whether the device is locked.
|
|
13
|
+
*
|
|
14
|
+
* @returns {boolean} True if the device is locked; otherwise false.
|
|
15
|
+
*/
|
|
16
|
+
get lock(): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Indicates whether the camp-on feature is active.
|
|
19
|
+
*
|
|
20
|
+
* @returns {boolean} True if camp-on is active; otherwise false.
|
|
21
|
+
*/
|
|
22
|
+
get campon(): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the associated phone number.
|
|
25
|
+
*
|
|
26
|
+
* @returns {string | null} The associated number, or null if not set.
|
|
27
|
+
*/
|
|
28
|
+
get associate(): string | null;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=dynamic-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-state.d.ts","sourceRoot":"","sources":["../../../../src/types/phoneset/dynamic-state.ts"],"names":[],"mappings":"AAqBA;;;;;;;GAOG;AACH,qBAAa,YAAY;;IAcrB;;;;OAIG;IACH,IAAI,IAAI,IAAI,OAAO,CAElB;IAED;;;;OAIG;IACH,IAAI,MAAM,IAAI,OAAO,CAEpB;IAED;;;;OAIG;IACH,IAAI,SAAS,IAAI,MAAM,GAAG,IAAI,CAE7B;CAQJ"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a Personal Identification Number (PIN).
|
|
3
|
+
*
|
|
4
|
+
* Allows a user to declare a call as personal rather than business-related.
|
|
5
|
+
* The PIN is confidential and should only be known by authorized administrators.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Pin {
|
|
8
|
+
#private;
|
|
9
|
+
/**
|
|
10
|
+
* The PIN number associated with this Pin instance.
|
|
11
|
+
* @returns {string | null} Returns the PIN number, or null if it is not set.
|
|
12
|
+
*/
|
|
13
|
+
get number(): string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Indicates whether this PIN requires validation with the user's secret code.
|
|
16
|
+
* @returns {boolean} Returns true if a secret code is required; false otherwise.
|
|
17
|
+
*/
|
|
18
|
+
get withSecretCode(): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* The access control associated with this PIN.
|
|
21
|
+
* @returns {Pin.Control | null} Returns the control type if set; null otherwise.
|
|
22
|
+
*/
|
|
23
|
+
get control(): Pin.Control | null;
|
|
24
|
+
/**
|
|
25
|
+
* The group number associated with this PIN.
|
|
26
|
+
* @returns {number | null} Returns the group number, or null if it is not set.
|
|
27
|
+
*/
|
|
28
|
+
get group(): number | null;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace Pin {
|
|
31
|
+
/**
|
|
32
|
+
* The type of access of a PIN code.
|
|
33
|
+
*/
|
|
34
|
+
enum Control {
|
|
35
|
+
/**
|
|
36
|
+
* PIN code can be used from any set according to categories.
|
|
37
|
+
*/
|
|
38
|
+
ByCategory = "PIN_Category",
|
|
39
|
+
/**
|
|
40
|
+
* PIN code is restricted to the users set.
|
|
41
|
+
*/
|
|
42
|
+
RestrictedToOwner = "PIN_Restricted_To_Owner_Set",
|
|
43
|
+
/**
|
|
44
|
+
* PIN code can be used on any set in the system.
|
|
45
|
+
*/
|
|
46
|
+
UniversalAccess = "PIN_Universal_Access",
|
|
47
|
+
/**
|
|
48
|
+
* PIN code is limited to specific group.
|
|
49
|
+
*/
|
|
50
|
+
ByGroup = "PIN_By_Group"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=pin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pin.d.ts","sourceRoot":"","sources":["../../../../src/types/phoneset/pin.ts"],"names":[],"mappings":"AAqBA;;;;;GAKG;AACH,qBAAa,GAAG;;IAgBZ;;;OAGG;IACH,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,CAE1B;IAED;;;OAGG;IACH,IAAI,cAAc,IAAI,OAAO,CAE5B;IAED;;;OAGG;IACH,IAAI,OAAO,IAAI,GAAG,CAAC,OAAO,GAAG,IAAI,CAEhC;IAED;;;OAGG;IACH,IAAI,KAAK,IAAI,MAAM,GAAG,IAAI,CAEzB;CAkCJ;AAED,yBAAiB,GAAG,CAAC;IACjB;;OAEG;IACH,KAAY,OAAO;QACf;;WAEG;QACH,UAAU,iBAAiB;QAE3B;;WAEG;QACH,iBAAiB,gCAAgC;QAEjD;;WAEG;QACH,eAAe,yBAAyB;QAExC;;WAEG;QACH,OAAO,iBAAiB;KAC3B;CACJ"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DeviceKey } from './device-key';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a programmable key on an OmniPCX Enterprise device.
|
|
4
|
+
*
|
|
5
|
+
* A ProgrammableKey can store a number, an optional mnemonic, and a locked state.
|
|
6
|
+
* It extends `DeviceKey` and adds the `locked` property to control key usability.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ProgrammeableKey extends DeviceKey {
|
|
9
|
+
#private;
|
|
10
|
+
/**
|
|
11
|
+
* Constructs a new ProgrammableKey instance.
|
|
12
|
+
*
|
|
13
|
+
* @param position - The key position on the device.
|
|
14
|
+
* @param number - The phone number associated with this key.
|
|
15
|
+
* @param mnemonic - An optional mnemonic for the key (e.g., "Reception" or "Sales").
|
|
16
|
+
* @param locked - True if the key is locked; false otherwise.
|
|
17
|
+
*/
|
|
18
|
+
constructor(position?: number, number?: string, mnemonic?: string, locked?: boolean);
|
|
19
|
+
/**
|
|
20
|
+
* Indicates whether this key is locked.
|
|
21
|
+
*
|
|
22
|
+
* @returns {boolean} True if locked; false otherwise.
|
|
23
|
+
*/
|
|
24
|
+
get locked(): boolean;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=prog-key.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prog-key.d.ts","sourceRoot":"","sources":["../../../../src/types/phoneset/prog-key.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,SAAS;;IAG3C;;;;;;;OAOG;gBACS,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO;IAKnF;;;;OAIG;IACH,IAAI,MAAM,IAAI,OAAO,CAEpB;CAoBJ"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DeviceKey } from './device-key';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a software key (SoftKey) on an OmniPCX Enterprise device.
|
|
4
|
+
*
|
|
5
|
+
* A SoftKey is a programmable key on the device that may store a number
|
|
6
|
+
* and an optional mnemonic for easier identification. It extends `DeviceKey`.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SoftKey extends DeviceKey {
|
|
9
|
+
/**
|
|
10
|
+
* Constructs a new SoftKey instance.
|
|
11
|
+
*
|
|
12
|
+
* @param position - The key position on the device.
|
|
13
|
+
* @param number - The phone number associated with this key.
|
|
14
|
+
* @param mnemonic - An optional mnemonic for the key (e.g., "Reception" or "Sales").
|
|
15
|
+
*/
|
|
16
|
+
constructor(position?: number, number?: string, mnemonic?: string);
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=soft-key.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"soft-key.d.ts","sourceRoot":"","sources":["../../../../src/types/phoneset/soft-key.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;;;;GAKG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IAClC;;;;;;OAMG;gBACS,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM;CA+BpE"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Destination represents a forward or an overflow destination.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum Destination {
|
|
5
|
+
/**
|
|
6
|
+
* The destination is the user voice mail.
|
|
7
|
+
*/
|
|
8
|
+
VOICEMAIL = "VOICEMAIL",
|
|
9
|
+
/**
|
|
10
|
+
* The destination is another phone number. This destination can be used only to configure a forward.
|
|
11
|
+
*/
|
|
12
|
+
NUMBER = "NUMBER",
|
|
13
|
+
/**
|
|
14
|
+
* None destination.
|
|
15
|
+
*/
|
|
16
|
+
NONE = "NONE"
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=destination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destination.d.ts","sourceRoot":"","sources":["../../../../src/types/routing/destination.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,WAAW;IACnB;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,IAAI,SAAS;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dnd-state.d.ts","sourceRoot":"","sources":["../../../../src/types/routing/dnd-state.ts"],"names":[],"mappings":"AAqBA,qBAAa,QAAQ;;IAGjB,OAAO;IAIP;;OAEG;IACH,IAAI,QAAQ,IAAI,OAAO,CAEtB;CAOJ"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ForwardCondition represents the possible condition a user can associate to a forward.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum ForwardCondition {
|
|
5
|
+
/**
|
|
6
|
+
* Incoming calls are immediately forwarded on the target.
|
|
7
|
+
*/
|
|
8
|
+
IMMEDIATE = "IMMEDIATE",
|
|
9
|
+
/**
|
|
10
|
+
* Incoming calls are forwarded on the target if the user is busy.
|
|
11
|
+
*/
|
|
12
|
+
BUSY = "BUSY",
|
|
13
|
+
/**
|
|
14
|
+
* Incoming calls are forwarded on the target if the user does not answer the call.
|
|
15
|
+
*/
|
|
16
|
+
NO_ANSWER = "NO_ANSWER",
|
|
17
|
+
/**
|
|
18
|
+
* Incoming calls are forwarded on the target if the user is busy or if the user does not answer the call.
|
|
19
|
+
*/
|
|
20
|
+
BUSY_OR_NO_ANSWER = "BUSY_OR_NO_ANSWER"
|
|
21
|
+
}
|
|
22
|
+
export declare namespace ForwardCondition {
|
|
23
|
+
function fromForwardType(forwardType?: string): ForwardCondition;
|
|
24
|
+
function toForwardType(condition: ForwardCondition): string | undefined;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=forward-condition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forward-condition.d.ts","sourceRoot":"","sources":["../../../../src/types/routing/forward-condition.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,gBAAgB;IACxB;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,iBAAiB,sBAAsB;CAC1C;AAED,yBAAiB,gBAAgB,CAAC;IAiB9B,SAAgB,eAAe,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAKtE;IAGD,SAAgB,aAAa,CAAC,SAAS,EAAE,gBAAgB,GAAG,MAAM,GAAG,SAAS,CAG7E;CACJ"}
|