@wxcc-desktop/sdk 2.0.1 → 2.0.2
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/index.d.ts
CHANGED
@@ -9,6 +9,7 @@ import { createScreenPopJsApi } from "./jsapi/screenpop-jsapi";
|
|
9
9
|
import { createShortcutKeyJsApi } from "./jsapi/shortcut-key-jsapi";
|
10
10
|
import { createRTDWCJsApi } from "./jsapi/rtdwc-jsapi";
|
11
11
|
import { createMonitoringJsApi } from "./jsapi/call-monitoring-jsapi";
|
12
|
+
import { createWebexMetricsInternalJsApi } from "./jsapi/webex-metrics-internal-jsapi";
|
12
13
|
import { stationLogoutJsApi } from "./jsapi/agent-station-logout-jsapi";
|
13
14
|
import { createPostInteractionJsApi } from "./jsapi/post-interaction-jsapi";
|
14
15
|
import { createAgentConfigJsApi } from "./jsapi/agent-config-jsapi";
|
@@ -27,5 +28,6 @@ export type AgentXJsApi = {
|
|
27
28
|
rtdwc: ReturnType<typeof createRTDWCJsApi>;
|
28
29
|
postInteractions: ReturnType<typeof createPostInteractionJsApi>;
|
29
30
|
agentConfigJsApi: ReturnType<typeof createAgentConfigJsApi>;
|
31
|
+
webexMetricsInternal: ReturnType<typeof createWebexMetricsInternalJsApi>;
|
30
32
|
};
|
31
33
|
export declare const Desktop: AgentXJsApi;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { AgentxService } from "@wxcc-desktop/sdk-types";
|
2
|
+
import { createJsApiLogger } from "./common/_logger";
|
3
|
+
import { createServiceChecker } from "./common/_service-checker";
|
4
|
+
type Config = {
|
5
|
+
logger: ReturnType<typeof createJsApiLogger>;
|
6
|
+
serviceChecker: ReturnType<typeof createServiceChecker>;
|
7
|
+
};
|
8
|
+
export declare class WebexMetricsInternalJSApi {
|
9
|
+
private readonly logger;
|
10
|
+
private readonly serviceChecker;
|
11
|
+
private SERVICE?;
|
12
|
+
private checkService;
|
13
|
+
constructor(config: Config);
|
14
|
+
init(SERVICE?: AgentxService): void;
|
15
|
+
cleanup(): void;
|
16
|
+
trackBehavioralEvent(...args: Parameters<AgentxService["webexMetrics"]["trackBehavioralEvent"]>): void;
|
17
|
+
}
|
18
|
+
export declare const createWebexMetricsInternalJsApi: () => WebexMetricsInternalJSApi;
|
19
|
+
export {};
|