@wxcc-desktop/sdk 1.2.9 → 1.2.13
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.
@@ -28,6 +28,8 @@ export declare class ActionsJsApi {
|
|
28
28
|
getToken(): Promise<string | undefined>;
|
29
29
|
getIdleCodes(): Promise<import("@agentx/agentx-services").Service.Aqm.Configs.Entity[] | undefined>;
|
30
30
|
getWrapUpCodes(): Promise<import("@agentx/agentx-services").Service.Aqm.Configs.WrapUpReason[] | undefined>;
|
31
|
+
getClosestElement(el: any, selector: string): HTMLElement | null;
|
32
|
+
toggleMiximizeRestore: (e: MouseEvent | KeyboardEvent) => void;
|
31
33
|
}
|
32
34
|
export declare const createActionsJsApi: () => ActionsJsApi;
|
33
35
|
export {};
|
@@ -1,6 +1,10 @@
|
|
1
1
|
import { AgentxService, Service } from "@wxcc-desktop/sdk-types";
|
2
2
|
import { createJsApiLogger } from "./common/_logger";
|
3
3
|
import { createServiceChecker } from "./common/_service-checker";
|
4
|
+
declare type IdleCodeData = {
|
5
|
+
id: number;
|
6
|
+
name: string;
|
7
|
+
};
|
4
8
|
declare type LatestInfoData = {
|
5
9
|
agentName?: string;
|
6
10
|
agentProfileID?: string;
|
@@ -10,6 +14,7 @@ declare type LatestInfoData = {
|
|
10
14
|
dn?: string;
|
11
15
|
status?: string;
|
12
16
|
subStatus?: string;
|
17
|
+
idleCode?: IdleCodeData;
|
13
18
|
idleCodes?: Service.Aqm.Configs.Entity[];
|
14
19
|
wrapupCodes?: Service.Aqm.Configs.Entity[];
|
15
20
|
outDialRegex?: string;
|
@@ -48,6 +53,7 @@ export declare class AgentStateInfoJsapi {
|
|
48
53
|
constructor(config: Config);
|
49
54
|
private static findTeamName;
|
50
55
|
private teams;
|
56
|
+
private idleCodes;
|
51
57
|
latestData: LatestInfoData;
|
52
58
|
init(SERVICE?: AgentxService): Promise<void>;
|
53
59
|
cleanup(): void;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wxcc-desktop/sdk",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.13",
|
4
4
|
"author": "Roman Manchenko",
|
5
5
|
"license": "ISC",
|
6
6
|
"repository": "git@sqbu-github.cisco.com:CBABU/agentx-js-api.git",
|
@@ -9,9 +9,10 @@
|
|
9
9
|
"dependencies": {
|
10
10
|
"@uuip/unified-ui-platform-sdk": "^1.2.6",
|
11
11
|
"@wxcc-desktop/sdk-types": "^1.0.3",
|
12
|
-
"event-emitter": "^0.3.5"
|
12
|
+
"event-emitter": "^0.3.5",
|
13
|
+
"js-cookie": "^3.0.1"
|
13
14
|
},
|
14
15
|
"publishConfig": {
|
15
|
-
"registry": "https://registry.npmjs.org
|
16
|
+
"registry": "https://registry.npmjs.org"
|
16
17
|
}
|
17
|
-
}
|
18
|
+
}
|