@webex/cc-store 1.28.0-ccwidgets.125 → 1.28.0-ccwidgets.126

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.
@@ -155,7 +155,8 @@ declare enum TASK_EVENTS {
155
155
  TASK_CONFERENCE_END_FAILED = "task:conferenceEndFailed",
156
156
  TASK_PARTICIPANT_LEFT_FAILED = "task:participantLeftFailed",
157
157
  TASK_MERGED = "task:merged",
158
- TASK_POST_CALL_ACTIVITY = "task:postCallActivity"
158
+ TASK_POST_CALL_ACTIVITY = "task:postCallActivity",
159
+ TASK_OUTDIAL_FAILED = "task:outdialFailed"
159
160
  }
160
161
  declare enum CC_EVENTS {
161
162
  AGENT_DN_REGISTERED = "agent:dnRegistered",
@@ -5,6 +5,7 @@ declare class StoreWrapper implements IStoreWrapper {
5
5
  task: ITask;
6
6
  }) => void;
7
7
  onTaskRejected?: (task: ITask, reason: string) => void;
8
+ onOutdialFailed?: (reason: string) => void;
8
9
  onTaskAssigned?: (task: ITask) => void;
9
10
  onTaskSelected?: (task: ITask, isClicked: boolean) => void;
10
11
  onErrorCallback?: (widgetName: string, error: Error) => void;
@@ -63,6 +64,7 @@ declare class StoreWrapper implements IStoreWrapper {
63
64
  task: ITask;
64
65
  }) => void) => void;
65
66
  setTaskRejected: (callback: ((task: ITask, reason: string) => void) | undefined) => void;
67
+ setOutdialFailed: (callback: ((reason: string) => void) | undefined) => void;
66
68
  setTaskAssigned: (callback: ((task: ITask) => void) | undefined) => void;
67
69
  setTaskSelected: (callback: ((task: ITask, isClicked?: boolean) => void) | undefined) => void;
68
70
  setCCCallback: (event: CC_EVENTS | TASK_EVENTS, callback: any) => void;
@@ -96,6 +98,7 @@ declare class StoreWrapper implements IStoreWrapper {
96
98
  handleTaskMerged: (event: any) => void;
97
99
  handleTaskHydrate: (event: any) => void;
98
100
  handleTaskReject: (task: ITask, reason: string) => void;
101
+ handleOutdialFailed: (reason: string) => void;
99
102
  getBuddyAgents: (mediaType?: string) => Promise<Array<BuddyDetails>>;
100
103
  getQueues: (mediaType?: string, params?: ContactServiceQueueSearchParams) => Promise<{
101
104
  data: ContactServiceQueue[];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@webex/cc-store",
3
3
  "description": "Webex Contact Center Widgets: Widgets Store",
4
4
  "license": "Cisco's General Terms (https://www.cisco.com/site/us/en/about/legal/contract-experience/index.html)",
5
- "version": "1.28.0-ccwidgets.125",
5
+ "version": "1.28.0-ccwidgets.126",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/types/index.d.ts",
8
8
  "publishConfig": {
@@ -22,7 +22,7 @@
22
22
  "test:styles": "eslint"
23
23
  },
24
24
  "dependencies": {
25
- "@webex/contact-center": "3.10.0-next.8",
25
+ "@webex/contact-center": "3.10.0-next.17",
26
26
  "mobx": "6.13.5",
27
27
  "typescript": "5.6.3"
28
28
  },