ysyt-agent-sdk 2.0.34 → 2.0.35
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
CHANGED
|
@@ -168,6 +168,7 @@ export interface AgentDataType {
|
|
|
168
168
|
state_name: string;
|
|
169
169
|
};
|
|
170
170
|
soft_device_ring_switch: boolean;
|
|
171
|
+
agent_hangup_ring_switch: boolean;
|
|
171
172
|
}
|
|
172
173
|
export interface RecordItemType {
|
|
173
174
|
record_id: number;
|
|
@@ -201,6 +202,8 @@ export interface SwiftmsType {
|
|
|
201
202
|
export interface GlobalRingType {
|
|
202
203
|
soft_device_ring_switch: 0 | 1;
|
|
203
204
|
soft_device_ring_audio_id: string;
|
|
205
|
+
agent_hangup_ring_switch: 0 | 1;
|
|
206
|
+
agent_hangup_ring_audio_id: string;
|
|
204
207
|
}
|
|
205
208
|
export interface VoiceLibraryItemType {
|
|
206
209
|
audio_id: string;
|
|
@@ -306,7 +309,10 @@ export interface Events {
|
|
|
306
309
|
[CallSipCallEventEnum.INCOMING_CALL_OFF_HOOK]: {
|
|
307
310
|
session_id: string;
|
|
308
311
|
};
|
|
309
|
-
[CallSipCallEventEnum.INCOMING_CALL_END]:
|
|
312
|
+
[CallSipCallEventEnum.INCOMING_CALL_END]: {
|
|
313
|
+
session_id: string;
|
|
314
|
+
isAgentHangup: boolean;
|
|
315
|
+
};
|
|
310
316
|
[CallSipCallEventEnum.SATISFACTION_EVALUATION_SUCCESS]: unknown;
|
|
311
317
|
[CallSipCallEventEnum.SATISFACTION_EVALUATION_FAILED]: string;
|
|
312
318
|
[CallSipCallEventEnum.CONSULT_THREE_WAY_SUCCESS]: unknown;
|
|
@@ -316,9 +322,11 @@ export interface Events {
|
|
|
316
322
|
[CallSipCallEventEnum.CUSTOMER_INFO]: CallCrmObject;
|
|
317
323
|
[CallSipCallEventEnum.OTHER_SIDE_CONSULT_HANGUP]: {
|
|
318
324
|
session_id: string;
|
|
325
|
+
isAgentHangup: boolean;
|
|
319
326
|
};
|
|
320
327
|
[CallSipCallEventEnum.OUT_HANGUP]: {
|
|
321
328
|
session_id: string;
|
|
329
|
+
isAgentHangup: boolean;
|
|
322
330
|
};
|
|
323
331
|
[CallSipCallEventEnum.OUR_SIDE_CONSULT_HANGUP]: {
|
|
324
332
|
session_id: string;
|