ysyt-agent-sdk 1.1.13 → 1.1.15

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.
@@ -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
  }
@@ -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<{
@@ -68,7 +68,7 @@ export interface StatusType {
68
68
  state: StateType;
69
69
  statusName: string;
70
70
  }
71
- export type ActionType = 'call_number' | 'answer' | 'reject' | 'hangup' | 'dtmf' | 'unhold' | 'hold' | 'mute' | 'unmute' | 'satisfaction' | 'consult' | 'consult_transfer' | 'consult_retrieve' | 'conference' | 'whisper' | 'cancel_whisper' | 'force_insert' | 'transfer';
71
+ export type ActionType = 'call_number' | 'answer' | 'reject' | 'hangup' | 'dtmf' | 'unhold' | 'hold' | 'mute' | 'unmute' | 'satisfaction' | 'consult' | 'consult_transfer' | 'consult_retrieve' | 'conference' | 'whisper' | 'cancel_whisper' | 'force_insert' | 'force_disconnect' | 'transfer';
72
72
  export type ActionConfigsType = Array<ActionType>;
73
73
  export interface AgentObjectType {
74
74
  agent_id: number;
@@ -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
  */
@@ -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>;
@@ -15,3 +15,4 @@ export declare const listenSuccessConfig: ActionConfigsType;
15
15
  export declare const earSpeakConfig: ActionConfigsType;
16
16
  export declare const earSpeakAgentConfig: ActionConfigsType;
17
17
  export declare const forceInsertConfig: ActionConfigsType;
18
+ export declare const forceInsertAgentConfig: ActionConfigsType;