@wxcc-desktop/sdk 1.2.9 → 1.2.10
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 +36 -0
- package/dist/index.js +1 -1
- package/dist/types/jsapi/agent-state-info-jsapi.d.ts +6 -0
- package/package.json +3 -3
package/README.md
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# WXCC Desktop JavaScript SDK
|
2
|
+
|
3
|
+
WXCC Desktop JavaScript SDK is an npm package that allows you to request up-to-date information from the WXCC Desktop. Using the SDK, you can request information such as agent details, assigned tasks, particular task details, current browser locale, and authentication token for Single Sign-On (SSO) integration.
|
4
|
+
|
5
|
+
The SDK package allows you to
|
6
|
+
|
7
|
+
* request data to be passed to your widgets through properties and attributes
|
8
|
+
|
9
|
+
* perform more complex operations by consuming and manipulating the system data inside your widget
|
10
|
+
|
11
|
+
* subscribe to data arriving asynchronously
|
12
|
+
|
13
|
+
Some events in the WXCC Desktop happen asynchronously. To subscribe to the asynchronous events and access data within the payload, you can add a listener. A few examples for asynchronous events are:
|
14
|
+
|
15
|
+
* New task offered
|
16
|
+
|
17
|
+
* New task assigned
|
18
|
+
|
19
|
+
* Consult request created
|
20
|
+
|
21
|
+
* Consult ended
|
22
|
+
|
23
|
+
* Screen pop arrived and more
|
24
|
+
|
25
|
+
## Get Started
|
26
|
+
|
27
|
+
Run the following command in your project folder or using yarn:
|
28
|
+
|
29
|
+
```
|
30
|
+
npm install @wxcc-desktop/sdk --save
|
31
|
+
yarn add @wxcc-desktop/sdk
|
32
|
+
```
|
33
|
+
|
34
|
+
## For detailed Info refer the below Link
|
35
|
+
|
36
|
+
### [Webex Contact Center Desktop Docs](https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/webexcc/developer_20/webexcc_b_20-desktop-developer-guide-/webexcc_m_30-javascript-sdk.html)
|