ysyt-agent-sdk 1.1.12 → 1.1.14
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/public/test/demo.d.ts +1 -0
- package/dist/src/core/api-client.d.ts +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/types/Enum.d.ts +1 -0
- package/dist/src/types/index.d.ts +3 -0
- package/dist/src/utils/http.d.ts +1 -0
- package/dist/ysyt-agent-sdk.cjs.js +9 -9
- package/dist/ysyt-agent-sdk.esm.js +9 -9
- package/dist/ysyt-agent-sdk.umd.js +9 -9
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -39,4 +39,5 @@ export declare class ApiClient {
|
|
|
39
39
|
earCall(params: RequestBodyType<any, any>): Promise<void>;
|
|
40
40
|
stopEarCall(params: RequestBodyType<any, any>): Promise<void>;
|
|
41
41
|
forceInsert(params: RequestBodyType<any, any>): Promise<void>;
|
|
42
|
+
forceDisconnect(params: RequestBodyType<any, any>): Promise<void>;
|
|
42
43
|
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ declare class YSYTAgentSdk {
|
|
|
50
50
|
earSpeakStart: (params: RequestBodyType<any, any>) => Promise<void>;
|
|
51
51
|
earSpeakStop: (params: RequestBodyType<any, any>) => Promise<void>;
|
|
52
52
|
forceInsert: (params: RequestBodyType<any, any>) => Promise<void>;
|
|
53
|
+
forceDisconnect: (params: RequestBodyType<any, any>) => Promise<void>;
|
|
53
54
|
};
|
|
54
55
|
get agent_api(): {
|
|
55
56
|
changeDevice: (params: RequestBodyType<{
|
package/dist/src/types/Enum.d.ts
CHANGED
|
@@ -120,6 +120,7 @@ export declare enum CallSipCallEventEnum {
|
|
|
120
120
|
LISTEN_INCOMING_CALL_OFF_HOOK = "listen_incoming_call_off_hook",
|
|
121
121
|
LISTEN_HANGUP = "listen_hangup",
|
|
122
122
|
EAR_SPEECH_SUCCESS = "ear_speech_success",
|
|
123
|
+
EAR_SPEECH_BE_SUCCESS = "ear_speech_be_success",
|
|
123
124
|
EAR_SPEECH_FAILED = "ear_speech_failed",
|
|
124
125
|
STOP_EAR_SPEECH_SUCCESS = "stop_ear_speech_success",
|
|
125
126
|
STOP_EAR_SPEECH_FAILED = "stop_ear_speech_failed",
|
|
@@ -137,7 +137,9 @@ export interface CallCrmObject {
|
|
|
137
137
|
* 联系次数
|
|
138
138
|
*/
|
|
139
139
|
contact_count: number;
|
|
140
|
+
contact_count_month: number;
|
|
140
141
|
in_contact_count: number;
|
|
142
|
+
in_contact_count_month: number;
|
|
141
143
|
/**
|
|
142
144
|
* 客户名称
|
|
143
145
|
*/
|
|
@@ -332,6 +334,7 @@ export interface Events {
|
|
|
332
334
|
monitored_agent_no: string;
|
|
333
335
|
monitor_agent_no: string;
|
|
334
336
|
};
|
|
337
|
+
[CallSipCallEventEnum.EAR_SPEECH_BE_SUCCESS]: unknown;
|
|
335
338
|
[CallSipCallEventEnum.EAR_SPEECH_FAILED]: unknown;
|
|
336
339
|
[CallSipCallEventEnum.STOP_EAR_SPEECH_SUCCESS]: unknown;
|
|
337
340
|
[CallSipCallEventEnum.STOP_EAR_SPEECH_FAILED]: unknown;
|
package/dist/src/utils/http.d.ts
CHANGED
|
@@ -39,3 +39,4 @@ export declare const listenAgentCall: (params: ListenAgentCallType) => Promise<a
|
|
|
39
39
|
export declare const earSpeak: (params: ListenAgentCallType) => Promise<any>;
|
|
40
40
|
export declare const stopEarSpeak: (params: ListenAgentCallType) => Promise<any>;
|
|
41
41
|
export declare const bargeinSpeak: (params: ListenAgentCallType) => Promise<any>;
|
|
42
|
+
export declare const interceptSpeak: (params: ListenAgentCallType) => Promise<any>;
|