ysyt-agent-sdk 1.0.26 → 1.0.27
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/index.d.ts +2 -0
- package/dist/src/types/Enum.d.ts +5 -2
- package/dist/ysyt-agent-sdk.cjs.js +16 -13
- package/dist/ysyt-agent-sdk.esm.js +21 -18
- package/dist/ysyt-agent-sdk.umd.js +17 -14
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ declare class YSYTAgentSdk {
|
|
|
32
32
|
consultTransfer?: undefined;
|
|
33
33
|
mute?: undefined;
|
|
34
34
|
unmute?: undefined;
|
|
35
|
+
satisfactionEvaluation?: undefined;
|
|
35
36
|
} | {
|
|
36
37
|
answerCall: any;
|
|
37
38
|
makeCall: any;
|
|
@@ -44,6 +45,7 @@ declare class YSYTAgentSdk {
|
|
|
44
45
|
consultTransfer: any;
|
|
45
46
|
mute: any;
|
|
46
47
|
unmute: any;
|
|
48
|
+
satisfactionEvaluation: any;
|
|
47
49
|
};
|
|
48
50
|
get agent_api(): {
|
|
49
51
|
changeDevice?: undefined;
|
package/dist/src/types/Enum.d.ts
CHANGED
|
@@ -49,7 +49,9 @@ export declare enum CallSipCallEvent {
|
|
|
49
49
|
CONSULT_TRANSFER_OFF_HOOK = "consult_transfer_off_hook",
|
|
50
50
|
INCOMING_CALL = "incoming_call",
|
|
51
51
|
INCOMING_CALL_OFF_HOOK = "incoming_call_off_hook",
|
|
52
|
-
INCOMING_CALL_END = "incoming_call_end"
|
|
52
|
+
INCOMING_CALL_END = "incoming_call_end",
|
|
53
|
+
SATISFACTION_EVALUATION_SUCCESS = "satisfaction_evaluation_success",
|
|
54
|
+
SATISFACTION_EVALUATION_FAILED = "satisfaction_evaluation_failed"
|
|
53
55
|
}
|
|
54
56
|
export declare enum WebsocketTypeEnum {
|
|
55
57
|
OUT_CALL = 100,
|
|
@@ -73,7 +75,8 @@ export declare enum WebsocketTypeEnum {
|
|
|
73
75
|
CONSULT_TRANSFER_OFF_HOOK = 117,
|
|
74
76
|
INCOMING_CALL = 119,
|
|
75
77
|
INCOMING_CALL_OFF_HOOK = 120,
|
|
76
|
-
INCOMING_CALL_END = 121
|
|
78
|
+
INCOMING_CALL_END = 121,
|
|
79
|
+
SATISFACTION_EVALUATION = 122
|
|
77
80
|
}
|
|
78
81
|
export declare enum EventName {
|
|
79
82
|
EVENT_ALL = "event_all",
|