ysyt-agent-sdk 2.0.30 → 2.0.31

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.
@@ -80,5 +80,6 @@ declare class YSYTAgentSdk {
80
80
  getRealTimeCustomerInfo(): Promise<CallCrmObject>;
81
81
  setBrowserAlert(logBuiltinEnabled: boolean): void;
82
82
  setBrowserAlertTime(browserAlertTime: number): void;
83
+ getEarSpeakAgent(): string;
83
84
  }
84
85
  export default YSYTAgentSdk;
@@ -166,6 +166,7 @@ export interface AgentDataType {
166
166
  state: AgentStatus;
167
167
  state_name: string;
168
168
  };
169
+ soft_device_ring_switch: boolean;
169
170
  }
170
171
  export interface RecordItemType {
171
172
  record_id: number;
@@ -192,6 +193,26 @@ export interface ListenAgentCallType {
192
193
  monitor_agent_no: string;
193
194
  monitored_agent_no: string;
194
195
  }
196
+ export interface SwiftmsType {
197
+ sounds_url: string;
198
+ recordings_url: string;
199
+ }
200
+ export interface GlobalRingType {
201
+ soft_device_ring_switch: 0 | 1;
202
+ soft_device_ring_audio_id: string;
203
+ }
204
+ export interface VoiceLibraryItemType {
205
+ audio_id: string;
206
+ app_id: string;
207
+ audio_name: string;
208
+ prompt: string;
209
+ bucket_name: string;
210
+ object: string;
211
+ create_time: string;
212
+ update_time: string;
213
+ tts_corp_id: number;
214
+ tts_id: number;
215
+ }
195
216
  type EventObject<T> = {
196
217
  event: keyof Events;
197
218
  data: T;
@@ -44,3 +44,6 @@ export declare const reportLog: (params: {
44
44
  agent_no: string;
45
45
  content: string;
46
46
  }) => Promise<any>;
47
+ export declare const querySwiftms: () => Promise<any>;
48
+ export declare const queryGlobalRing: () => Promise<any>;
49
+ export declare const queryVoiceAll: () => Promise<any>;