o2g-node-sdk 2.4.1 → 2.5.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 +8 -3
- package/dist/o2g-node-sdk.js +2324 -663
- package/dist/o2g-node-sdk.js.map +1 -1
- package/dist/types/internal/rest/ccStatistics-rest.d.ts +6 -6
- package/dist/types/internal/rest/ccStatistics-rest.d.ts.map +1 -1
- 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.map +1 -0
- package/dist/types/internal/types/{cc-stat → cc-stats}/cc-stat-types.d.ts +1 -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.map +1 -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.map +1 -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.map +1 -0
- package/dist/types/internal/types/telephony/telephony-types.d.ts +3 -1
- package/dist/types/internal/types/telephony/telephony-types.d.ts.map +1 -1
- package/dist/types/internal/util/logger.d.ts +39 -6
- package/dist/types/internal/util/logger.d.ts.map +1 -1
- package/dist/types/o2g-cc-stat.d.ts +8 -4
- package/dist/types/o2g-cc-stat.d.ts.map +1 -1
- package/dist/types/o2g-maint.d.ts +10 -0
- package/dist/types/o2g-maint.d.ts.map +1 -1
- package/dist/types/o2g-rsi.d.ts +3 -2
- package/dist/types/o2g-rsi.d.ts.map +1 -1
- package/dist/types/types/cc-agent/agent-skill-set.d.ts +36 -6
- package/dist/types/types/cc-agent/agent-skill-set.d.ts.map +1 -1
- package/dist/types/types/cc-agent/agent-skill.d.ts +50 -6
- package/dist/types/types/cc-agent/agent-skill.d.ts.map +1 -1
- package/dist/types/types/cc-agent/operator-config.d.ts +30 -34
- package/dist/types/types/cc-agent/operator-config.d.ts.map +1 -1
- package/dist/types/types/cc-stats/agent-filter.d.ts +1 -1
- package/dist/types/types/cc-stats/agent-filter.d.ts.map +1 -1
- package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts +1 -1
- package/dist/types/types/cc-stats/data/ag-by-pil-stats-row.d.ts.map +1 -1
- package/dist/types/types/cc-stats/data/pil-aband-call-stat-row.d.ts +157 -0
- package/dist/types/types/cc-stats/data/pil-aband-call-stat-row.d.ts.map +1 -0
- package/dist/types/types/cc-stats/data/stat-value.d.ts +10 -0
- package/dist/types/types/cc-stats/data/stat-value.d.ts.map +1 -1
- package/dist/types/types/cc-stats/data/stats-data.d.ts +33 -8
- package/dist/types/types/cc-stats/data/stats-data.d.ts.map +1 -1
- 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-filter.d.ts +1 -1
- package/dist/types/types/cc-stats/pilot-filter.d.ts.map +1 -1
- package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts +5 -0
- package/dist/types/types/cc-stats/scheduled/scheduled-report.d.ts.map +1 -1
- package/dist/types/types/cc-stats/stats-context.d.ts +6 -0
- package/dist/types/types/cc-stats/stats-context.d.ts.map +1 -1
- package/dist/types/types/cc-stats/stats-filter.d.ts +7 -0
- package/dist/types/types/cc-stats/stats-filter.d.ts.map +1 -1
- package/dist/types/types/events/events.d.ts +4 -2
- package/dist/types/types/events/events.d.ts.map +1 -1
- package/dist/types/types/maint/maint-events.d.ts +26 -0
- package/dist/types/types/maint/maint-events.d.ts.map +1 -1
- package/dist/types/types/maint/sys-status.d.ts +4 -0
- package/dist/types/types/maint/sys-status.d.ts.map +1 -1
- package/dist/types/types/telephony/telephonic-state.d.ts +7 -0
- package/dist/types/types/telephony/telephonic-state.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/types/internal/types/cc-stat/abstract-filter.d.ts.map +0 -1
- package/dist/types/internal/types/cc-stat/ag-filter-impl.d.ts.map +0 -1
- package/dist/types/internal/types/cc-stat/cc-stat-types.d.ts.map +0 -1
- package/dist/types/internal/types/cc-stat/context-impl.d.ts.map +0 -1
- package/dist/types/internal/types/cc-stat/on-stats-progress.d.ts.map +0 -1
- package/dist/types/internal/types/cc-stat/pil-filter-impl.d.ts.map +0 -1
- package/dist/types/internal/types/cc-stat/requester-impl.d.ts.map +0 -1
- package/dist/types/internal/types/cc-stat/scheduled-rep-impl.d.ts.map +0 -1
- /package/dist/types/internal/types/{cc-stat → cc-stats}/abstract-filter.d.ts +0 -0
- /package/dist/types/internal/types/{cc-stat → cc-stats}/ag-filter-impl.d.ts +0 -0
- /package/dist/types/internal/types/{cc-stat → cc-stats}/context-impl.d.ts +0 -0
- /package/dist/types/internal/types/{cc-stat → cc-stats}/on-stats-progress.d.ts +0 -0
- /package/dist/types/internal/types/{cc-stat → cc-stats}/pil-filter-impl.d.ts +0 -0
- /package/dist/types/internal/types/{cc-stat → cc-stats}/requester-impl.d.ts +0 -0
- /package/dist/types/internal/types/{cc-stat → cc-stats}/scheduled-rep-impl.d.ts +0 -0
package/README.md
CHANGED
|
@@ -8,6 +8,11 @@ A Node.js SDK for the ALE International O2G (OmniPCX OpenTouch Gateway) platform
|
|
|
8
8
|
- An OmniPCX Enterprise node connected to an O2G server
|
|
9
9
|
- An O2G API license appropriate for the services you intend to use
|
|
10
10
|
|
|
11
|
+
## Getting Started
|
|
12
|
+
|
|
13
|
+
New to TypeScript or Node.js? Follow the [Getting Started guide](GETTING_STARTED.md)
|
|
14
|
+
for a complete step-by-step walkthrough from installing the tools to your first login.
|
|
15
|
+
|
|
11
16
|
## Installation
|
|
12
17
|
|
|
13
18
|
```bash
|
|
@@ -19,7 +24,7 @@ npm install o2g-node-sdk
|
|
|
19
24
|
```typescript
|
|
20
25
|
import { O2G, Subscription, Telephony } from 'o2g-node-sdk';
|
|
21
26
|
|
|
22
|
-
// 1. Initialize the SDK
|
|
27
|
+
// 1. Initialize the SDK, configure the O2G IP address or FQDN
|
|
23
28
|
O2G.initialize("MyApp", { privateAddress: "192.168.1.1" });
|
|
24
29
|
|
|
25
30
|
// 2. Login
|
|
@@ -227,10 +232,10 @@ await O2G.callCenterAgent.setReady();
|
|
|
227
232
|
This SDK follows the O2G API version it targets:
|
|
228
233
|
|
|
229
234
|
- **Major**: O2G API major version (currently 2)
|
|
230
|
-
- **Minor**: O2G API patch version (currently 7.
|
|
235
|
+
- **Minor**: O2G API patch version (currently 7.5 → 5)
|
|
231
236
|
- **Patch**: SDK release number
|
|
232
237
|
|
|
233
|
-
For example, `2.
|
|
238
|
+
For example, `2.5.0` targets O2G API version 2.7.5.
|
|
234
239
|
|
|
235
240
|
## License
|
|
236
241
|
|