@wxcc-desktop/sdk 2.0.1 → 2.0.2
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
CHANGED
@@ -9,6 +9,7 @@ WxCC Agent Desktop JS API modules set
|
|
9
9
|
- Actions module
|
10
10
|
- Logger service module
|
11
11
|
- ShortcutKey service module
|
12
|
+
- Webex Metrics module
|
12
13
|
- AQM/Notifs **agent-contact** service layer API module for WxCC Agent Desktop.
|
13
14
|
- AQM/Notifs **agent-state** service layer API module for WxCC Agent Desktop.
|
14
15
|
- AQM/Notifs **dialer** service layer API module for WxCC Agent Desktop.
|
@@ -27,6 +28,7 @@ const {
|
|
27
28
|
logger,
|
28
29
|
shortcutKey,
|
29
30
|
i18n,
|
31
|
+
webexMetricsInternal,
|
30
32
|
|
31
33
|
// AQM/Notifs modules
|
32
34
|
agentContact,
|
@@ -571,6 +573,20 @@ const paginatedAuxCodes: await Desktop.agentConfigJsApi.fetchPaginatedAuxCodes(r
|
|
571
573
|
|
572
574
|
```
|
573
575
|
|
576
|
+
### `Desktop.webexMetricsInternal` sub-module
|
577
|
+
|
578
|
+
`Desktop.webexMetricsInternal` sub-module is intended for tracking metrics and events from widgits
|
579
|
+
|
580
|
+
```Javascript
|
581
|
+
/*
|
582
|
+
Supposing Desktop.config.init() was called
|
583
|
+
*/
|
584
|
+
|
585
|
+
// Module supports tracking behavioral events within widgit
|
586
|
+
Desktop.webexMetricsInternal.trackBehavioralEvent(name: string, options?: EventPayload);
|
587
|
+
|
588
|
+
```
|
589
|
+
|
574
590
|
### Publishing the wxcc-desktop/js-api
|
575
591
|
|
576
592
|
For publishing internally to Internal Cisco Repository: `yarn npm:publish:internal`
|