@webex/cc-store 1.28.0-next.7 → 1.28.0-next.8
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/dist/types/store.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ declare class Store implements IStore {
|
|
|
34
34
|
allowConsultToQueue: boolean;
|
|
35
35
|
agentProfile: AgentLoginProfile;
|
|
36
36
|
isMuted: boolean;
|
|
37
|
+
isDigitalChannelsInitialized: boolean;
|
|
38
|
+
dataCenter: string;
|
|
37
39
|
constructor();
|
|
38
40
|
static getInstance(): Store;
|
|
39
41
|
registerCC(webex?: WithWebex['webex']): Promise<void>;
|
|
@@ -25,6 +25,7 @@ interface IContactCenter {
|
|
|
25
25
|
};
|
|
26
26
|
setAgentState(data: StateChange): Promise<SetStateResponse>;
|
|
27
27
|
getOutdialAniEntries(params: OutdialAniParams): Promise<OutdialAniEntriesResponse>;
|
|
28
|
+
getAccessToken(): Promise<string>;
|
|
28
29
|
}
|
|
29
30
|
type IWebex = {
|
|
30
31
|
cc: IContactCenter;
|
|
@@ -87,6 +88,8 @@ interface IStore {
|
|
|
87
88
|
agentProfile: AgentLoginProfile;
|
|
88
89
|
isMuted: boolean;
|
|
89
90
|
isAddressBookEnabled: boolean;
|
|
91
|
+
isDigitalChannelsInitialized: boolean;
|
|
92
|
+
dataCenter: string;
|
|
90
93
|
init(params: InitParams, callback: (ccSDK: IContactCenter) => void): Promise<void>;
|
|
91
94
|
registerCC(webex?: WithWebex['webex']): Promise<void>;
|
|
92
95
|
}
|
|
@@ -114,7 +117,10 @@ interface IStoreWrapper extends IStore {
|
|
|
114
117
|
setTeamId(id: string): void;
|
|
115
118
|
setIsMuted(value: boolean): void;
|
|
116
119
|
setIsDeclineButtonEnabled(value: boolean): void;
|
|
120
|
+
setDigitalChannelsInitialized(value: boolean): void;
|
|
117
121
|
setOnError(callback: (widgetName: string, error: Error) => void): void;
|
|
122
|
+
setDataCenter(value: string): void;
|
|
123
|
+
getAccessToken(): Promise<string>;
|
|
118
124
|
}
|
|
119
125
|
interface IWrapupCode {
|
|
120
126
|
id: string;
|
|
@@ -36,12 +36,16 @@ declare class StoreWrapper implements IStoreWrapper {
|
|
|
36
36
|
get callControlAudio(): MediaStream;
|
|
37
37
|
get isQueueConsultInProgress(): boolean;
|
|
38
38
|
get isDeclineButtonEnabled(): boolean;
|
|
39
|
+
get isDigitalChannelsInitialized(): boolean;
|
|
40
|
+
get dataCenter(): string;
|
|
41
|
+
setDataCenter: (value: string) => void;
|
|
39
42
|
get currentConsultQueueId(): string;
|
|
40
43
|
get isEndConsultEnabled(): boolean;
|
|
41
44
|
get allowConsultToQueue(): boolean;
|
|
42
45
|
get agentProfile(): AgentLoginProfile;
|
|
43
46
|
get isMuted(): boolean;
|
|
44
47
|
get isAddressBookEnabled(): boolean;
|
|
48
|
+
setDigitalChannelsInitialized: (value: boolean) => void;
|
|
45
49
|
setIsMuted: (value: boolean) => void;
|
|
46
50
|
setCurrentTheme: (theme: string) => void;
|
|
47
51
|
setShowMultipleLoginAlert: (value: boolean) => void;
|
|
@@ -114,6 +118,7 @@ declare class StoreWrapper implements IStoreWrapper {
|
|
|
114
118
|
}>;
|
|
115
119
|
getEntryPoints: (params?: EntryPointSearchParams) => Promise<EntryPointListResponse>;
|
|
116
120
|
getAddressBookEntries: (params?: AddressBookEntrySearchParams) => Promise<AddressBookEntriesResponse>;
|
|
121
|
+
getAccessToken: () => Promise<string>;
|
|
117
122
|
cleanUpStore: () => void;
|
|
118
123
|
setupIncomingTaskHandler: (ccSDK: IContactCenter) => void;
|
|
119
124
|
}
|
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-next.
|
|
5
|
+
"version": "1.28.0-next.8",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/types/index.d.ts",
|
|
8
8
|
"publishConfig": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"deploy:npm": "yarn npm publish"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@webex/contact-center": "3.11.0-next.
|
|
26
|
+
"@webex/contact-center": "3.11.0-next.5",
|
|
27
27
|
"mobx": "6.13.5",
|
|
28
28
|
"typescript": "5.6.3"
|
|
29
29
|
},
|