@wxcc-desktop/sdk 1.3.8 → 1.3.11
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 +15 -0
- package/dist/index.js +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/jsapi/actions-jsapi.d.ts +4 -0
- package/dist/types/jsapi/agent-contact-jsapi.d.ts +33 -16
- package/dist/types/jsapi/agent-state-info-jsapi.d.ts +3 -0
- package/dist/types/jsapi/common/_logger.d.ts +1 -1
- package/dist/types/jsapi/dialer-jsapi.d.ts +2 -1
- package/dist/types/jsapi/i18n-jsapi.d.ts +1 -1
- package/dist/types/jsapi/logger-jsapi.d.ts +1 -1
- package/dist/types/jsapi/post-interaction-jsapi.d.ts +26 -0
- package/dist/types/jsapi/shortcut-key-jsapi.d.ts +1 -0
- package/dist/types/sdk.d.ts +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
@@ -480,6 +480,21 @@ Desktop.screenpop.removeAllEventListeners();
|
|
480
480
|
|
481
481
|
```
|
482
482
|
|
483
|
+
### `Desktop.postInteraction` sub-module
|
484
|
+
`Desktop.postInteraction` sub-module is intended to fetch lists of audio recordings and a specific captured audio recording for supervisors.
|
485
|
+
```Javascript
|
486
|
+
/*
|
487
|
+
Supposing Desktop.config.init() was called
|
488
|
+
*/
|
489
|
+
|
490
|
+
// List of recordings between startTime and endTime (in milliseconds)
|
491
|
+
await Desktop.postInteraction.fetchTasks({startTime, endTime, pageNumber});
|
492
|
+
|
493
|
+
// Specific captured audio recording (taskId can be found using above call)
|
494
|
+
await Desktop.postInteraction.fetchCapture({taskId});
|
495
|
+
|
496
|
+
```
|
497
|
+
|
483
498
|
### Publishing the wxcc-desktop/js-api
|
484
499
|
For publishing internally to Internal Cisco Repository: `yarn npm:publish:internal`
|
485
500
|
For publishing to both Internal and public Repo : `yarn publish:external`
|