@webex/cc-store 1.28.0-ccwidgets.91 → 1.28.0-ccwidgets.92

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.
@@ -35,6 +35,7 @@ declare class Store implements IStore {
35
35
  isEndConsultEnabled: boolean;
36
36
  allowConsultToQueue: boolean;
37
37
  agentProfile: AgentLoginProfile;
38
+ isMuted: boolean;
38
39
  constructor();
39
40
  static getInstance(): Store;
40
41
  registerCC(webex?: WithWebex['webex']): Promise<void>;
@@ -57,6 +57,7 @@ interface IStore {
57
57
  isEndConsultEnabled: boolean;
58
58
  allowConsultToQueue: boolean;
59
59
  agentProfile: AgentLoginProfile;
60
+ isMuted: boolean;
60
61
  init(params: InitParams, callback: (ccSDK: IContactCenter) => void): Promise<void>;
61
62
  registerCC(webex?: WithWebex['webex']): Promise<void>;
62
63
  }
@@ -80,6 +81,7 @@ interface IStoreWrapper extends IStore {
80
81
  setConsultStartTimeStamp(timestamp: number): void;
81
82
  setAgentProfile(profile: Profile): void;
82
83
  setTeamId(id: string): void;
84
+ setIsMuted(value: boolean): void;
83
85
  }
84
86
  interface IWrapupCode {
85
87
  id: string;
@@ -109,7 +111,8 @@ declare enum TASK_EVENTS {
109
111
  AGENT_OFFER_CONTACT = "AgentOfferContact",
110
112
  AGENT_CONSULT_CREATED = "AgentConsultCreated",
111
113
  TASK_RECORDING_PAUSED = "task:recordingPaused",
112
- TASK_RECORDING_RESUMED = "task:recordingResumed"
114
+ TASK_RECORDING_RESUMED = "task:recordingResumed",
115
+ TASK_OFFER_CONSULT = "task:offerConsult"
113
116
  }
114
117
  declare enum CC_EVENTS {
115
118
  AGENT_DN_REGISTERED = "agent:dnRegistered",
@@ -41,6 +41,8 @@ declare class StoreWrapper implements IStoreWrapper {
41
41
  get isEndConsultEnabled(): boolean;
42
42
  get allowConsultToQueue(): boolean;
43
43
  get agentProfile(): AgentLoginProfile;
44
+ get isMuted(): boolean;
45
+ setIsMuted: (value: boolean) => void;
44
46
  setCurrentTheme: (theme: string) => void;
45
47
  setShowMultipleLoginAlert: (value: boolean) => void;
46
48
  setDeviceType: (option: string) => void;
@@ -74,6 +76,7 @@ declare class StoreWrapper implements IStoreWrapper {
74
76
  init(options: InitParams): Promise<void>;
75
77
  registerCC: (webex?: WithWebex["webex"]) => Promise<void>;
76
78
  handleTaskRemove: (taskId: any) => void;
79
+ handleTaskMuteState: (task: ITask) => void;
77
80
  handleTaskEnd: () => void;
78
81
  handleTaskAssigned: (event: any) => void;
79
82
  handleTaskWrapUp: (task: any) => void;
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.91",
4
+ "version": "1.28.0-ccwidgets.92",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
7
7
  "publishConfig": {