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,79 @@
|
|
|
1
|
+
import { FilterOption } from './filter-option';
|
|
2
|
+
import { Role } from './role';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a filter used to query communication log records.
|
|
5
|
+
* <p>
|
|
6
|
+
* This filter can be applied when retrieving records via
|
|
7
|
+
* {@link CommunicationLog.getComRecords}. All parameters are optional —
|
|
8
|
+
* omitted parameters are not applied to the query.
|
|
9
|
+
* <p>
|
|
10
|
+
* The filter allows specifying:
|
|
11
|
+
* <ul>
|
|
12
|
+
* <li>a date range (`after` / `before`)</li>
|
|
13
|
+
* <li>a call reference</li>
|
|
14
|
+
* <li>a remote party identifier</li>
|
|
15
|
+
* <li>a participant role</li>
|
|
16
|
+
* <li>additional search options (e.g. unanswered calls)</li>
|
|
17
|
+
* </ul>
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```typescript
|
|
21
|
+
* // Filter unanswered records in January 2026
|
|
22
|
+
* const filter = new QueryFilter({
|
|
23
|
+
* after: new Date('2026-01-01'),
|
|
24
|
+
* before: new Date('2026-01-31'),
|
|
25
|
+
* options: [FilterOption.UNANSWERED]
|
|
26
|
+
* });
|
|
27
|
+
*
|
|
28
|
+
* const result = await O2G.comlog.getComRecords(filter);
|
|
29
|
+
*
|
|
30
|
+
* // Filter by call reference and role
|
|
31
|
+
* const filter2 = new QueryFilter({
|
|
32
|
+
* callRef: '12345',
|
|
33
|
+
* role: Role.CALLER
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @see CommunicationLog.getComRecords
|
|
38
|
+
*/
|
|
39
|
+
export declare class QueryFilter {
|
|
40
|
+
#private;
|
|
41
|
+
/**
|
|
42
|
+
* Creates a new `QueryFilter`.
|
|
43
|
+
*
|
|
44
|
+
* @param params optional filter parameters
|
|
45
|
+
*/
|
|
46
|
+
constructor(params: {
|
|
47
|
+
after?: Date;
|
|
48
|
+
before?: Date;
|
|
49
|
+
options?: Set<FilterOption> | FilterOption[];
|
|
50
|
+
callRef?: string;
|
|
51
|
+
remotePartyId?: string;
|
|
52
|
+
role?: Role;
|
|
53
|
+
});
|
|
54
|
+
/**
|
|
55
|
+
* The start date of the query filter — records created after this date are included.
|
|
56
|
+
*/
|
|
57
|
+
get after(): Date | null;
|
|
58
|
+
/**
|
|
59
|
+
* The end date of the query filter — records created before this date are included.
|
|
60
|
+
*/
|
|
61
|
+
get before(): Date | null;
|
|
62
|
+
/**
|
|
63
|
+
* The set of filter options applied to the query (e.g. unanswered calls only).
|
|
64
|
+
*/
|
|
65
|
+
get options(): ReadonlySet<FilterOption>;
|
|
66
|
+
/**
|
|
67
|
+
* The call reference used for filtering.
|
|
68
|
+
*/
|
|
69
|
+
get callRef(): string | null;
|
|
70
|
+
/**
|
|
71
|
+
* The remote party identifier used for filtering.
|
|
72
|
+
*/
|
|
73
|
+
get remotePartyId(): string | null;
|
|
74
|
+
/**
|
|
75
|
+
* The participant role used for filtering.
|
|
76
|
+
*/
|
|
77
|
+
get role(): Role;
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=query-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-filter.d.ts","sourceRoot":"","sources":["../../../../src/types/comlog/query-filter.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,qBAAa,WAAW;;IAQpB;;;;OAIG;gBACS,MAAM,EAAE;QAChB,KAAK,CAAC,EAAE,IAAI,CAAC;QACb,MAAM,CAAC,EAAE,IAAI,CAAC;QACd,OAAO,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,GAAG,YAAY,EAAE,CAAC;QAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,IAAI,CAAC,EAAE,IAAI,CAAC;KACf;IASD;;OAEG;IACH,IAAI,KAAK,IAAI,IAAI,GAAG,IAAI,CAEvB;IAED;;OAEG;IACH,IAAI,MAAM,IAAI,IAAI,GAAG,IAAI,CAExB;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,WAAW,CAAC,YAAY,CAAC,CAEvC;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,MAAM,GAAG,IAAI,CAE3B;IAED;;OAEG;IACH,IAAI,aAAa,IAAI,MAAM,GAAG,IAAI,CAEjC;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,IAAI,CAEf;CACJ"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ComRecord } from './com-record';
|
|
2
|
+
import { Page } from './page';
|
|
3
|
+
/**
|
|
4
|
+
* `QueryResult` represents the result of a communication log query.
|
|
5
|
+
*
|
|
6
|
+
* Instances of this class contain the records returned by a query, along with
|
|
7
|
+
* paging information and the total count of matching records.
|
|
8
|
+
*
|
|
9
|
+
* The associated {@link Page} object provides details about the current page,
|
|
10
|
+
* including the offset and limit, and can be used to navigate through pages
|
|
11
|
+
* of results.
|
|
12
|
+
*
|
|
13
|
+
* Each `QueryResult` contains:
|
|
14
|
+
* - The total number of records matching the query (`count`)
|
|
15
|
+
* - Paging information for the current result set (`page`)
|
|
16
|
+
* - The list of communication records (`records`)
|
|
17
|
+
*
|
|
18
|
+
* <p><b>Usage example:</b></p>
|
|
19
|
+
*
|
|
20
|
+
* ```ts
|
|
21
|
+
* const result: QueryResult = QueryResult.fromJson(rawJson);
|
|
22
|
+
*
|
|
23
|
+
* console.log(result.count); // total number of matching records
|
|
24
|
+
* console.log(result.page.offset); // current page offset
|
|
25
|
+
* console.log(result.records); // array of ComRecord objects
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* <p>
|
|
29
|
+
* Instances are immutable. The `fromJson` static method should be used
|
|
30
|
+
* to create a `QueryResult` from raw JSON returned by the O2G API.
|
|
31
|
+
* </p>
|
|
32
|
+
*
|
|
33
|
+
* @see CommunicationLogService#getComRecords
|
|
34
|
+
*/
|
|
35
|
+
export declare class QueryResult {
|
|
36
|
+
#private;
|
|
37
|
+
/**
|
|
38
|
+
* Returns the total number of records in this result.
|
|
39
|
+
*
|
|
40
|
+
* @return the number of records
|
|
41
|
+
*/
|
|
42
|
+
get count(): number;
|
|
43
|
+
/**
|
|
44
|
+
* Returns the page information associated with this result.
|
|
45
|
+
* <p>
|
|
46
|
+
* The {@link Page} object provides the offset and limit used to retrieve
|
|
47
|
+
* this set of records and can be used to navigate through the pages.
|
|
48
|
+
*
|
|
49
|
+
* @return the page
|
|
50
|
+
*/
|
|
51
|
+
get page(): Page;
|
|
52
|
+
/** Gets the list of communication records returned by the query. */
|
|
53
|
+
get records(): ComRecord[];
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=query-result.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-result.d.ts","sourceRoot":"","sources":["../../../../src/types/comlog/query-result.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qBAAa,WAAW;;IAcpB;;;;OAIG;IACH,IAAI,KAAK,IAAI,MAAM,CAElB;IAED;;;;;;;OAOG;IACH,IAAI,IAAI,IAAI,IAAI,CAEf;IAED,oEAAoE;IACpE,IAAI,OAAO,IAAI,SAAS,EAAE,CAEzB;CAeJ"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reason enum defines the why reason the communication has been released, established or rerouted.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum Reason {
|
|
5
|
+
/**
|
|
6
|
+
* The call was abandonned because there was no Available trunk.
|
|
7
|
+
*/
|
|
8
|
+
ALL_TRUNK_BUSY = "ALL_TRUNK_BUSY",
|
|
9
|
+
/**
|
|
10
|
+
* The call was refused because the dialed number is not valid.
|
|
11
|
+
*/
|
|
12
|
+
INVALID_NUMBER = "INVALID_NUMBER",
|
|
13
|
+
/**
|
|
14
|
+
* The call was canceled by the caller.
|
|
15
|
+
*/
|
|
16
|
+
ABANDONED = "ABANDONED",
|
|
17
|
+
/**
|
|
18
|
+
* The call failed because the called party is busy.
|
|
19
|
+
*/
|
|
20
|
+
BUSY = "BUSY",
|
|
21
|
+
/**
|
|
22
|
+
* The call was set to be a conference.
|
|
23
|
+
*/
|
|
24
|
+
CONFERENCED = "CONFERENCED",
|
|
25
|
+
/**
|
|
26
|
+
* he call was picked up.
|
|
27
|
+
*/
|
|
28
|
+
PICKUP = "PICKUP",
|
|
29
|
+
/**
|
|
30
|
+
* The call was forwarded to another destination.
|
|
31
|
+
*/
|
|
32
|
+
FORWARDED = "FORWARDED",
|
|
33
|
+
/**
|
|
34
|
+
* The call was redirected to another destination.
|
|
35
|
+
*/
|
|
36
|
+
REDIRECTED = "REDIRECTED",
|
|
37
|
+
/**
|
|
38
|
+
* The call was released since redirection to another destination fails.
|
|
39
|
+
*/
|
|
40
|
+
RELEASED_ON_REDIRECT = "RELEASED_ON_REDIRECT",
|
|
41
|
+
/**
|
|
42
|
+
* The call was transferred.
|
|
43
|
+
*/
|
|
44
|
+
TRANSFERRED = "TRANSFERRED",
|
|
45
|
+
/**
|
|
46
|
+
* The call was released since transfer to another destination fails.
|
|
47
|
+
*/
|
|
48
|
+
RELEASED_ON_TRANSFER = "RELEASED_ON_TRANSFER",
|
|
49
|
+
/**
|
|
50
|
+
* The call ended on voicemail.
|
|
51
|
+
*/
|
|
52
|
+
VOICEMAIL = "VOICEMAIL",
|
|
53
|
+
/**
|
|
54
|
+
* The call normally ended.
|
|
55
|
+
*/
|
|
56
|
+
NORMAL = "NORMAL",
|
|
57
|
+
/**
|
|
58
|
+
* The reason is unknown.
|
|
59
|
+
*/
|
|
60
|
+
UNKNOWN = "UNKNOWN"
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=reason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reason.d.ts","sourceRoot":"","sources":["../../../../src/types/comlog/reason.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,MAAM;IACd;;OAEG;IACH,cAAc,mBAAmB;IAEjC;;OAEG;IACH,cAAc,mBAAmB;IAEjC;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,WAAW,gBAAgB;IAE3B;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,UAAU,eAAe;IAEzB;;OAEG;IACH,oBAAoB,yBAAyB;IAE7C;;OAEG;IACH,WAAW,gBAAgB;IAE3B;;OAEG;IACH,oBAAoB,yBAAyB;IAE7C;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,OAAO,YAAY;CACtB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Role defines the roles a participant can have in a com record.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum Role {
|
|
5
|
+
/**
|
|
6
|
+
* The participant is a caller party.
|
|
7
|
+
*/
|
|
8
|
+
CALLER = "CALLER",
|
|
9
|
+
/**
|
|
10
|
+
* The participant is a called party.
|
|
11
|
+
*/
|
|
12
|
+
CALLEE = "CALLEE",
|
|
13
|
+
/**
|
|
14
|
+
* The role is unknown.
|
|
15
|
+
*/
|
|
16
|
+
UNKNOWN = "UNKNOWN"
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=role.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"role.d.ts","sourceRoot":"","sources":["../../../../src/types/comlog/role.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,IAAI;IACZ;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,OAAO,YAAY;CACtB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DateRange represents an interval between two dates.
|
|
3
|
+
*/
|
|
4
|
+
export declare class DateRange {
|
|
5
|
+
#private;
|
|
6
|
+
/**
|
|
7
|
+
* Constructs a new DateRange, with the specified "from" date and "to" date.
|
|
8
|
+
* @param from the beginning of the range
|
|
9
|
+
* @param to the end of the range
|
|
10
|
+
*/
|
|
11
|
+
constructor(from: Date, to: Date);
|
|
12
|
+
/** Returns the "from" date. */
|
|
13
|
+
get from(): Date;
|
|
14
|
+
/** Returns the "to" date. */
|
|
15
|
+
get to(): Date;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=date-range.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-range.d.ts","sourceRoot":"","sources":["../../../../src/types/common/date-range.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,qBAAa,SAAS;;IAIlB;;;;OAIG;gBACS,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI;IAQhC,+BAA+B;IAC/B,IAAI,IAAI,IAAI,IAAI,CAEf;IAED,6BAA6B;IAC7B,IAAI,EAAE,IAAI,IAAI,CAEb;CACJ"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the day of a week.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum DayOfWeek {
|
|
5
|
+
MONDAY = "MONDAY",
|
|
6
|
+
TUESDAY = "TUESDAY",
|
|
7
|
+
WEDNESDAY = "WEDNESDAY",
|
|
8
|
+
THURSDAY = "THURSDAY",
|
|
9
|
+
FRIDAY = "FRIDAY",
|
|
10
|
+
SATURDAY = "SATURDAY",
|
|
11
|
+
SUNDAY = "SUNDAY"
|
|
12
|
+
}
|
|
13
|
+
export declare namespace DayOfWeek {
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=day-of-week.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"day-of-week.d.ts","sourceRoot":"","sources":["../../../../src/types/common/day-of-week.ts"],"names":[],"mappings":"AAqBA;;GAEG;AACH,oBAAY,SAAS;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;CACpB;AAGD,yBAAiB,SAAS,CAAC;CAoC1B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Define the device type
|
|
3
|
+
*/
|
|
4
|
+
export declare enum DeviceType {
|
|
5
|
+
/**
|
|
6
|
+
* The device is a DECT device
|
|
7
|
+
*/
|
|
8
|
+
DECT = "DECT",
|
|
9
|
+
/**
|
|
10
|
+
* The device is a deskphone
|
|
11
|
+
*/
|
|
12
|
+
DESKPHONE = "DESKPHONE",
|
|
13
|
+
/**
|
|
14
|
+
* The device is a mobile device
|
|
15
|
+
*/
|
|
16
|
+
MOBILE = "MOBILE",
|
|
17
|
+
/**
|
|
18
|
+
* The device is a softphone
|
|
19
|
+
*/
|
|
20
|
+
SOFTPHONE = "SOFTPHONE"
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=device-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device-type.d.ts","sourceRoot":"","sources":["../../../../src/types/common/device-type.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,UAAU;IAClB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,SAAS,cAAc;CAC1B"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { DeviceType } from './device-type';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a telephony device for a user.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Device {
|
|
6
|
+
#private;
|
|
7
|
+
/**
|
|
8
|
+
* Private constructor. Use `Device.fromJson()` to create instances.
|
|
9
|
+
* @param type - The device type
|
|
10
|
+
* @param id - The device identifier
|
|
11
|
+
* @param subType - Optional device sub-type
|
|
12
|
+
*/
|
|
13
|
+
private constructor();
|
|
14
|
+
/** Get the device type */
|
|
15
|
+
get type(): DeviceType | null;
|
|
16
|
+
/** Get the device identifier */
|
|
17
|
+
get id(): string | null;
|
|
18
|
+
/** Get the device sub-type, if any */
|
|
19
|
+
get subType(): string | null;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Namespace for device-related types.
|
|
23
|
+
*/
|
|
24
|
+
export declare namespace Device {
|
|
25
|
+
/**
|
|
26
|
+
* Represents the capabilities of a device.
|
|
27
|
+
*
|
|
28
|
+
* Each device has a unique `deviceId` and may support various telephony
|
|
29
|
+
* operations, such as making calls, business calls, private calls, or
|
|
30
|
+
* unparking calls. Use `Capabilities.fromJson()` to create instances
|
|
31
|
+
* from JSON data.
|
|
32
|
+
*/
|
|
33
|
+
class Capabilities {
|
|
34
|
+
#private;
|
|
35
|
+
/**
|
|
36
|
+
* Private constructor. Use `Capabilities.fromJson()` to create instances.
|
|
37
|
+
*
|
|
38
|
+
* @param deviceId - The unique identifier of the device
|
|
39
|
+
* @param makeCall - Whether the device can make a call
|
|
40
|
+
* @param makeBusinessCall - Whether the device can make a business call
|
|
41
|
+
* @param makePrivateCall - Whether the device can make a private call
|
|
42
|
+
* @param unParkCall - Whether the device can unpark a call
|
|
43
|
+
*/
|
|
44
|
+
private constructor();
|
|
45
|
+
/**
|
|
46
|
+
* Returns the unique identifier of the device.
|
|
47
|
+
*/
|
|
48
|
+
get deviceId(): string;
|
|
49
|
+
/**
|
|
50
|
+
* Indicates whether the device can make a regular call.
|
|
51
|
+
*
|
|
52
|
+
* @returns `true` if the device can make calls; otherwise `false` (default `false`)
|
|
53
|
+
*/
|
|
54
|
+
get canMakeCall(): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Indicates whether the device can make a business call.
|
|
57
|
+
*
|
|
58
|
+
* @returns `true` if the device can make business calls; otherwise `false` (default `false`)
|
|
59
|
+
*/
|
|
60
|
+
get canMakeBusinessCall(): boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Indicates whether the device can make a private call.
|
|
63
|
+
*
|
|
64
|
+
* @returns `true` if the device can make private calls; otherwise `false` (default `false`)
|
|
65
|
+
*/
|
|
66
|
+
get canMakePrivateCall(): boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Indicates whether the device can unpark a call.
|
|
69
|
+
*
|
|
70
|
+
* @returns `true` if the device can unpark calls; otherwise `false` (default `false`)
|
|
71
|
+
*/
|
|
72
|
+
get canUnParkCall(): boolean;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=device.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../../../src/types/common/device.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;GAEG;AACH,qBAAa,MAAM;;IAKf;;;;;OAKG;IACH,OAAO;IAMP,0BAA0B;IAC1B,IAAI,IAAI,IAAI,UAAU,GAAG,IAAI,CAE5B;IAED,gCAAgC;IAChC,IAAI,EAAE,IAAI,MAAM,GAAG,IAAI,CAEtB;IAED,sCAAsC;IACtC,IAAI,OAAO,IAAI,MAAM,GAAG,IAAI,CAE3B;CAWJ;AAED;;GAEG;AACH,yBAAiB,MAAM,CAAC;IACpB;;;;;;;OAOG;IACH,MAAa,YAAY;;QAOrB;;;;;;;;WAQG;QACH,OAAO;QAcP;;WAEG;QACH,IAAI,QAAQ,IAAI,MAAM,CAErB;QAED;;;;WAIG;QACH,IAAI,WAAW,IAAI,OAAO,CAEzB;QAED;;;;WAIG;QACH,IAAI,mBAAmB,IAAI,OAAO,CAEjC;QAED;;;;WAIG;QACH,IAAI,kBAAkB,IAAI,OAAO,CAEhC;QAED;;;;WAIG;QACH,IAAI,aAAa,IAAI,OAAO,CAE3B;KAmBJ;CACJ"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the information used to uniquely identify a participant; either the login name or the phone number.
|
|
3
|
+
*/
|
|
4
|
+
export declare class Identifier {
|
|
5
|
+
#private;
|
|
6
|
+
private constructor();
|
|
7
|
+
/**
|
|
8
|
+
* Returns the login name of the participant.
|
|
9
|
+
*
|
|
10
|
+
* @return the login name, or `null` if not available
|
|
11
|
+
*/
|
|
12
|
+
get loginName(): string | null;
|
|
13
|
+
/**
|
|
14
|
+
* Returns the phone number of the participant.
|
|
15
|
+
*
|
|
16
|
+
* @return the phone number, or `null` if not available
|
|
17
|
+
*/
|
|
18
|
+
get phoneNumber(): string | null;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=identifier.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identifier.d.ts","sourceRoot":"","sources":["../../../../src/types/common/identifier.ts"],"names":[],"mappings":"AAqBA;;GAEG;AACH,qBAAa,UAAU;;IAInB,OAAO;IAKP;;;;OAIG;IACH,IAAI,SAAS,IAAI,MAAM,GAAG,IAAI,CAE7B;IAED;;;;OAIG;IACH,IAAI,WAAW,IAAI,MAAM,GAAG,IAAI,CAE/B;CAWJ"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MainType represents the main type a participant can be.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum MainType {
|
|
5
|
+
/**
|
|
6
|
+
* The participant is a user of the system.
|
|
7
|
+
*/
|
|
8
|
+
USER = "USER",
|
|
9
|
+
/**
|
|
10
|
+
* The participant is a device of the system.
|
|
11
|
+
*/
|
|
12
|
+
DEVICE = "DEVICE",
|
|
13
|
+
/**
|
|
14
|
+
* The participant is a service of the system. For exemple the voice mail.
|
|
15
|
+
*/
|
|
16
|
+
SERVICE = "SERVICE",
|
|
17
|
+
/**
|
|
18
|
+
* The participant is not a user of the system.
|
|
19
|
+
*/
|
|
20
|
+
EXTERNAL = "EXTERNAL",
|
|
21
|
+
/**
|
|
22
|
+
* The participant type has not been identified.
|
|
23
|
+
*/
|
|
24
|
+
UNKNOWN = "UNKNOWN"
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=main-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main-type.d.ts","sourceRoot":"","sources":["../../../../src/types/common/main-type.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,QAAQ;IAChB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,OAAO,YAAY;CACtB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { MainType } from './main-type';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the type of a party in a call, composed of a main type and an
|
|
4
|
+
* optional sub-type.
|
|
5
|
+
* <p>
|
|
6
|
+
* Available via {@link PartyInfo.type} on call participants and party information.
|
|
7
|
+
*
|
|
8
|
+
* @see PartyInfo
|
|
9
|
+
*/
|
|
10
|
+
export declare class PartyInfoType {
|
|
11
|
+
#private;
|
|
12
|
+
/**
|
|
13
|
+
* The main type of this party.
|
|
14
|
+
*/
|
|
15
|
+
get main(): MainType;
|
|
16
|
+
/**
|
|
17
|
+
* The sub-type of this party, providing additional classification.
|
|
18
|
+
* `null` if no sub-type is defined.
|
|
19
|
+
*/
|
|
20
|
+
get subType(): string | null;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=party-info-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"party-info-type.d.ts","sourceRoot":"","sources":["../../../../src/types/common/party-info-type.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;;;;;GAOG;AACH,qBAAa,aAAa;;IAYtB;;OAEG;IACH,IAAI,IAAI,IAAI,QAAQ,CAEnB;IAED;;;OAGG;IACH,IAAI,OAAO,IAAI,MAAM,GAAG,IAAI,CAE3B;CAQJ"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Identifier } from './identifier';
|
|
2
|
+
import { PartyInfoType } from './party-info-type';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a party involved in a call.
|
|
5
|
+
*/
|
|
6
|
+
export declare class PartyInfo {
|
|
7
|
+
#private;
|
|
8
|
+
/**
|
|
9
|
+
* Private constructor. Use `PartyInfo.fromJson()` to create instances.
|
|
10
|
+
* @param id - Participant identifier
|
|
11
|
+
* @param firstName - First name
|
|
12
|
+
* @param lastName - Last name
|
|
13
|
+
* @param displayName - Display name
|
|
14
|
+
* @param type - Participant type
|
|
15
|
+
*/
|
|
16
|
+
private constructor();
|
|
17
|
+
/** Get the participant identifier */
|
|
18
|
+
get id(): Identifier;
|
|
19
|
+
/** Get the participant's first name */
|
|
20
|
+
get firstName(): string | null;
|
|
21
|
+
/** Get the participant's last name */
|
|
22
|
+
get lastName(): string | null;
|
|
23
|
+
/** Get the participant's display name */
|
|
24
|
+
get displayName(): string | null;
|
|
25
|
+
/** Get the participant's type */
|
|
26
|
+
get type(): PartyInfoType | null;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=party-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"party-info.d.ts","sourceRoot":"","sources":["../../../../src/types/common/party-info.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD;;GAEG;AACH,qBAAa,SAAS;;IAOlB;;;;;;;OAOG;IACH,OAAO;IAcP,qCAAqC;IACrC,IAAI,EAAE,IAAI,UAAU,CAEnB;IAED,uCAAuC;IACvC,IAAI,SAAS,IAAI,MAAM,GAAG,IAAI,CAE7B;IAED,sCAAsC;IACtC,IAAI,QAAQ,IAAI,MAAM,GAAG,IAAI,CAE5B;IAED,yCAAyC;IACzC,IAAI,WAAW,IAAI,MAAM,GAAG,IAAI,CAE/B;IAED,iCAAiC;IACjC,IAAI,IAAI,IAAI,aAAa,GAAG,IAAI,CAE/B;CAiBJ"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ServiceState represents the possible operational states of a CCD entity,
|
|
3
|
+
* such as a pilot, queue, or processing group.
|
|
4
|
+
*
|
|
5
|
+
* The service state indicates whether the entity is available to handle calls or
|
|
6
|
+
* otherwise engaged.
|
|
7
|
+
*
|
|
8
|
+
* @since 2.7.4
|
|
9
|
+
*/
|
|
10
|
+
export declare enum ServiceState {
|
|
11
|
+
/** The service is closed and not available for call handling. */
|
|
12
|
+
Closed = "Closed",
|
|
13
|
+
/** The service is opened and available to handle calls. */
|
|
14
|
+
Opened = "Opened",
|
|
15
|
+
/** The service is blocked and temporarily unavailable. */
|
|
16
|
+
Blocked = "Blocked",
|
|
17
|
+
/** The state of the service is unknown. */
|
|
18
|
+
Unknown = "unknown"
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=service-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service-state.d.ts","sourceRoot":"","sources":["../../../../src/types/common/service-state.ts"],"names":[],"mappings":"AAmBA;;;;;;;;GAQG;AACH,oBAAY,YAAY;IACpB,iEAAiE;IACjE,MAAM,WAAW;IAEjB,2DAA2D;IAC3D,MAAM,WAAW;IAEjB,0DAA0D;IAC1D,OAAO,YAAY;IAEnB,2CAA2C;IAC3C,OAAO,YAAY;CACtB"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { FilterItem } from './filter-item';
|
|
2
|
+
import { OperationFilter } from './operation-filter';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a filter criteria to apply on a directory search.
|
|
5
|
+
*
|
|
6
|
+
* A simple criteria is a tuple of the form: `[Attribute, Operation, Value]`.
|
|
7
|
+
* Example: `[LAST_NAME, BEGINS_WITH, "fr"]`.
|
|
8
|
+
*
|
|
9
|
+
* A `Criteria` can also be a logical combination (AND / OR) of multiple other `Criteria` objects.
|
|
10
|
+
*
|
|
11
|
+
* ## Acceptable values for attributes
|
|
12
|
+
* | Value | Description |
|
|
13
|
+
* |--------------|---------------------|
|
|
14
|
+
* | LAST_NAME | The last name |
|
|
15
|
+
* | FIRST_NAME | The first name |
|
|
16
|
+
* | LOGIN_NAME | The login name |
|
|
17
|
+
* | PHONE_NUMBER | The phone number |
|
|
18
|
+
*
|
|
19
|
+
* ## Acceptable values for operations
|
|
20
|
+
* | Value | Description |
|
|
21
|
+
* |------------------|-----------------------------------------------------|
|
|
22
|
+
* | BEGINS_WITH | Attribute must begin with the given value |
|
|
23
|
+
* | ENDS_WITH | Attribute must end with the given value |
|
|
24
|
+
* | CONTAINS | Attribute must contain the given value |
|
|
25
|
+
* | EQUAL_IGNORE_CASE| Attribute equals the value (case-insensitive) |
|
|
26
|
+
*
|
|
27
|
+
* ## Examples
|
|
28
|
+
* ```ts
|
|
29
|
+
* // Search users whose last name begins with 'b'
|
|
30
|
+
* const criteria = Criteria.create(
|
|
31
|
+
* FilterItem.LAST_NAME,
|
|
32
|
+
* OperationFilter.BEGINS_WITH,
|
|
33
|
+
* 'b'
|
|
34
|
+
* );
|
|
35
|
+
*
|
|
36
|
+
* // Search users whose last name begins with 'b' AND first name contains 'ja'
|
|
37
|
+
* const criteria2 = Criteria.and(
|
|
38
|
+
* Criteria.create(
|
|
39
|
+
* FilterItem.LAST_NAME,
|
|
40
|
+
* OperationFilter.BEGINS_WITH,
|
|
41
|
+
* 'b'
|
|
42
|
+
* ),
|
|
43
|
+
* Criteria.create(
|
|
44
|
+
* FilterItem.FIRST_NAME,
|
|
45
|
+
* OperationFilter.CONTAINS,
|
|
46
|
+
* 'ja'
|
|
47
|
+
* )
|
|
48
|
+
* );
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare class Criteria {
|
|
52
|
+
#private;
|
|
53
|
+
/**
|
|
54
|
+
* Creates a new search `Criteria` with the specified attribute, operation, and value.
|
|
55
|
+
*
|
|
56
|
+
* @param field - The attribute to filter
|
|
57
|
+
* @param operation - The operation to apply
|
|
58
|
+
* @param value - The value to match
|
|
59
|
+
* @returns A new `Criteria` instance
|
|
60
|
+
*/
|
|
61
|
+
static create(field: FilterItem, operation: OperationFilter, value: string): Criteria;
|
|
62
|
+
/**
|
|
63
|
+
* Creates a `Criteria` that is the logical OR of multiple criteria.
|
|
64
|
+
*
|
|
65
|
+
* @param criterias - One or more `Criteria` objects
|
|
66
|
+
* @returns A new `Criteria` representing the OR combination
|
|
67
|
+
*/
|
|
68
|
+
static or(...criterias: Criteria[]): Criteria;
|
|
69
|
+
/**
|
|
70
|
+
* Creates a `Criteria` that is the logical AND of multiple criteria.
|
|
71
|
+
*
|
|
72
|
+
* @param criterias - One or more `Criteria` objects
|
|
73
|
+
* @returns A new `Criteria` representing the AND combination
|
|
74
|
+
*/
|
|
75
|
+
static and(...criterias: Criteria[]): Criteria;
|
|
76
|
+
/**
|
|
77
|
+
* Returns the operation of this filter.
|
|
78
|
+
*
|
|
79
|
+
* @returns The operation as a string (or "AND"/"OR" for logical combinations)
|
|
80
|
+
*/
|
|
81
|
+
get operation(): string;
|
|
82
|
+
/**
|
|
83
|
+
* Returns the field of this filter.
|
|
84
|
+
*
|
|
85
|
+
* @returns The field as a string, or `null` for logical combinations
|
|
86
|
+
*/
|
|
87
|
+
get field(): string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Returns the operand of this `Criteria`.
|
|
90
|
+
*
|
|
91
|
+
* @returns The operand value (`string` for single filters, `Criteria[]` for logical combinations)
|
|
92
|
+
*/
|
|
93
|
+
get operand(): string | Criteria[];
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=criteria.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"criteria.d.ts","sourceRoot":"","sources":["../../../../src/types/directory/criteria.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,qBAAa,QAAQ;;IAmBjB;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,GAAG,QAAQ;IAIrF;;;;;OAKG;IACH,MAAM,CAAC,EAAE,CAAC,GAAG,SAAS,EAAE,QAAQ,EAAE,GAAG,QAAQ;IAI7C;;;;;OAKG;IACH,MAAM,CAAC,GAAG,CAAC,GAAG,SAAS,EAAE,QAAQ,EAAE,GAAG,QAAQ;IAI9C;;;;OAIG;IACH,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;OAIG;IACH,IAAI,KAAK,IAAI,MAAM,GAAG,IAAI,CAEzB;IAED;;;;OAIG;IACH,IAAI,OAAO,IAAI,MAAM,GAAG,QAAQ,EAAE,CAEjC;CAgBJ"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FilterItem represents the attributes that can be used to filter a directory search.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum FilterItem {
|
|
5
|
+
/**
|
|
6
|
+
* The last name.
|
|
7
|
+
*/
|
|
8
|
+
LAST_NAME = "lastName",
|
|
9
|
+
/**
|
|
10
|
+
* The first name.
|
|
11
|
+
*/
|
|
12
|
+
FIRST_NAME = "firstName",
|
|
13
|
+
/**
|
|
14
|
+
* The phone number.
|
|
15
|
+
*/
|
|
16
|
+
PHONE_NUMBER = "id.phoneNumber",
|
|
17
|
+
/**
|
|
18
|
+
* The login name.
|
|
19
|
+
*/
|
|
20
|
+
LOGIN_NAME = "id.loginName"
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=filter-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-item.d.ts","sourceRoot":"","sources":["../../../../src/types/directory/filter-item.ts"],"names":[],"mappings":"AAmBA;;GAEG;AACH,oBAAY,UAAU;IAClB;;OAEG;IACH,SAAS,aAAa;IAEtB;;OAEG;IACH,UAAU,cAAc;IAExB;;OAEG;IACH,YAAY,mBAAmB;IAE/B;;OAEG;IACH,UAAU,iBAAiB;CAC9B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LogicalOperation represents a logical operation AND or OR.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum LogicalOperation {
|
|
5
|
+
/**
|
|
6
|
+
* The OR logica operation
|
|
7
|
+
*/
|
|
8
|
+
OR = "OR",
|
|
9
|
+
/**
|
|
10
|
+
* The AND logical operation
|
|
11
|
+
*/
|
|
12
|
+
AND = "AND"
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=logical-operation.d.ts.map
|