@webex/cc-store 1.28.0-ccwidgets.38 → 1.28.0-ccwidgets.39

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.
@@ -1,4 +1,4 @@
1
- import { AgentLogin, IContactCenter, Profile, Team, LogContext } from '@webex/plugin-cc';
1
+ import { AgentLogin, IContactCenter, Profile, Team, LogContext, BuddyDetails, DestinationType } from '@webex/plugin-cc';
2
2
  import { ITask } from '@webex/plugin-cc';
3
3
  type ILogger = {
4
4
  log: (message: string, context?: LogContext) => void;
@@ -103,5 +103,5 @@ interface ICustomStateReset {
103
103
  reset: boolean;
104
104
  }
105
105
  type ICustomState = ICustomStateSet | ICustomStateReset;
106
- export type { IContactCenter, ITask, Profile, Team, AgentLogin, WithWebex, IdleCode, InitParams, IStore, ILogger, IWrapupCode, IStoreWrapper, ICustomState, };
106
+ export type { IContactCenter, ITask, Profile, Team, AgentLogin, WithWebex, IdleCode, InitParams, IStore, ILogger, IWrapupCode, IStoreWrapper, ICustomState, DestinationType, BuddyDetails, };
107
107
  export { CC_EVENTS, TASK_EVENTS };
@@ -1,4 +1,4 @@
1
- import { IStoreWrapper, IStore, InitParams, TASK_EVENTS, CC_EVENTS, IWrapupCode, WithWebex, ICustomState, IdleCode, IContactCenter, ITask } from './store.types';
1
+ import { IStoreWrapper, IStore, InitParams, TASK_EVENTS, CC_EVENTS, IWrapupCode, WithWebex, ICustomState, IdleCode, IContactCenter, ITask, BuddyDetails } from './store.types';
2
2
  declare class StoreWrapper implements IStoreWrapper {
3
3
  store: IStore;
4
4
  onTaskRejected?: (reason: string) => void;
@@ -43,7 +43,7 @@ declare class StoreWrapper implements IStoreWrapper {
43
43
  init(options: InitParams): Promise<void>;
44
44
  registerCC: (webex?: WithWebex["webex"]) => Promise<void>;
45
45
  handleTaskRemove: (event: any) => void;
46
- handleTaskEnd: (event: any) => void;
46
+ handleTaskEnd: (event: any, wrapupRequired: any) => void;
47
47
  handleTaskAssigned: (event: any) => void;
48
48
  handleTaskWrapUp: (event: any) => void;
49
49
  handleIncomingTask: (event: any) => void;
@@ -51,6 +51,7 @@ declare class StoreWrapper implements IStoreWrapper {
51
51
  handleMultiLoginCloseSession: (data: any) => void;
52
52
  handleTaskHydrate: (event: any) => void;
53
53
  handleTaskReject: (taskId: string, reason: string) => void;
54
+ getBuddyAgents: () => Promise<Array<BuddyDetails>>;
54
55
  cleanUpStore: () => void;
55
56
  setupIncomingTaskHandler: (ccSDK: IContactCenter) => void;
56
57
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webex/cc-store",
3
3
  "description": "Webex Contact Center Widgets: Widgets Store",
4
- "version": "1.28.0-ccwidgets.38",
4
+ "version": "1.28.0-ccwidgets.39",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
7
7
  "publishConfig": {
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "mobx": "6.13.5",
25
25
  "typescript": "5.6.3",
26
- "webex": "3.7.0-wxcc.19"
26
+ "webex": "3.8.0-next.20"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@babel/core": "7.25.2",