ysyt-agent-sdk 1.0.158 → 1.1.0
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/src/types/Enum.d.ts
CHANGED
|
@@ -48,7 +48,9 @@ export declare enum WebsocketTypeEnum {
|
|
|
48
48
|
AGENT_HANGUP = 131,
|
|
49
49
|
KICK_OFFLINE = 132,
|
|
50
50
|
CONTINUOUS_NOT_ANSWER = 133,
|
|
51
|
-
PREVIEW_OUT_CALL = 134
|
|
51
|
+
PREVIEW_OUT_CALL = 134,
|
|
52
|
+
SIGN_OUT = 135,
|
|
53
|
+
SIGN_IN_SWITCH_DEVICE = 136
|
|
52
54
|
}
|
|
53
55
|
export declare enum WebRtcCallSipEventEnum {
|
|
54
56
|
WEB_RTC_CONNECTING = "connecting",
|
|
@@ -120,7 +122,9 @@ export declare enum EventName {
|
|
|
120
122
|
KICK_OFF = "kick_off",
|
|
121
123
|
DESTROY = "destroy",
|
|
122
124
|
NETWORK_OFFLINE = "network_offline",
|
|
123
|
-
NETWORK_ONLINE = "network_online"
|
|
125
|
+
NETWORK_ONLINE = "network_online",
|
|
126
|
+
SIGN_OUT = "sign_out",
|
|
127
|
+
SIGN_IN_SWITCH_DEVICE = "sign_in_switch_device"
|
|
124
128
|
}
|
|
125
129
|
export declare enum DisplayTextEnum {
|
|
126
130
|
RINGING = "\u5BA2\u6237\u632F\u94C3",
|
|
@@ -311,6 +311,11 @@ export interface Events {
|
|
|
311
311
|
[EventName.SELECT_EXTERNAL_NUMBER]: string;
|
|
312
312
|
[EventName.FAIL_NOTIFICATION]: string;
|
|
313
313
|
[EventName.DESTROY]: unknown;
|
|
314
|
+
[EventName.SIGN_OUT]: unknown;
|
|
315
|
+
[EventName.SIGN_IN_SWITCH_DEVICE]: {
|
|
316
|
+
agent_no: string;
|
|
317
|
+
answer_device: 2 | 3;
|
|
318
|
+
};
|
|
314
319
|
[key: string]: unknown;
|
|
315
320
|
[key: symbol]: unknown;
|
|
316
321
|
}
|