@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 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`