ysyt-agent-sdk 2.0.12 → 2.0.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.
@@ -58,7 +58,8 @@ export declare enum WebsocketTypeEnum {
58
58
  STOP_EAR_SPEECH = 141,
59
59
  CALL_FORCE_INSERT = 142,
60
60
  INTERNAL_CALL_START_CONSULT = 145,
61
- INTERNAL_CALL_END_CONSULT = 146
61
+ INTERNAL_CALL_END_CONSULT = 146,
62
+ CALL_SIP_INCOMING_CALL = 147
62
63
  }
63
64
  export declare enum WebRtcCallSipEventEnum {
64
65
  WEB_RTC_CONNECTING = "connecting",
@@ -133,7 +134,8 @@ export declare enum CallSipCallEventEnum {
133
134
  STOP_EAR_SPEECH_FAILED = "stop_ear_speech_failed",
134
135
  CALL_FORCE_INSERT_SUCCESS = "call_force_insert_success",
135
136
  CALL_FORCE_INSERT_SUCCESS_LISTENER = "call_force_insert_success_listener",
136
- CALL_FORCE_INSERT_FAILED = "call_force_insert_failed"
137
+ CALL_FORCE_INSERT_FAILED = "call_force_insert_failed",
138
+ CALL_SIP_INCOMING_CALL = "call_sip_incoming_call"
137
139
  }
138
140
  export declare enum EventName {
139
141
  EVENT_ALL = "event_all",
@@ -198,6 +198,7 @@ type EventObject<T> = {
198
198
  export interface Events {
199
199
  [EventName.AGENT_INIT_STATUS]: boolean;
200
200
  [EventName.KICK_OFF]: unknown;
201
+ [CallSipCallEventEnum.CALL_SIP_INCOMING_CALL]: unknown;
201
202
  [CallSipCallEventEnum.CALL_PROGRESS]: string;
202
203
  [WebRtcCallSipEventEnum.WEB_RTC_CONNECTING]: unknown;
203
204
  [WebRtcCallSipEventEnum.WEB_RTC_CONNECTED]: unknown;