ysyt-agent-sdk 2.0.21 → 2.0.22
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.
|
@@ -11,7 +11,7 @@ export declare class ApiClient {
|
|
|
11
11
|
_changeState(params: RequestBodyType<{
|
|
12
12
|
state: StateType;
|
|
13
13
|
state_name: string;
|
|
14
|
-
}
|
|
14
|
+
}>, suffix: string): Promise<void>;
|
|
15
15
|
_getInCallCrmDetail(params: RequestBodyType<{
|
|
16
16
|
phone: string;
|
|
17
17
|
}, CallCrmObject>): Promise<void>;
|
|
@@ -24,7 +24,7 @@ export declare class ApiClient {
|
|
|
24
24
|
changeState(params: RequestBodyType<{
|
|
25
25
|
state: StateType;
|
|
26
26
|
state_name: string;
|
|
27
|
-
}
|
|
27
|
+
}>, suffix: string): Promise<void>;
|
|
28
28
|
getIdleAgentList(params: RequestBodyType<any, AgentItemType[]>): Promise<void>;
|
|
29
29
|
getAgentState(params: RequestBodyType<any, AgentStateDataType>): Promise<void>;
|
|
30
30
|
setAgentExplicit(params: RequestBodyType<{
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentDataType, AgentItemType,
|
|
1
|
+
import { AgentDataType, AgentItemType, AgentLogoutBodyType, AgentStateDataType, CallCrmObject, DeviceType, Events, InitInfoType, ListenAgentCallType, RecordItemType, RequestBodyType, StateType } from './types';
|
|
2
2
|
export type * from './types';
|
|
3
3
|
export * from './types/Enum';
|
|
4
4
|
declare class YSYTAgentSdk {
|
package/dist/src/utils/http.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const changeState: (params: {
|
|
|
6
6
|
agent_no: string;
|
|
7
7
|
state: StateType;
|
|
8
8
|
state_name: string;
|
|
9
|
-
}) => Promise<any>;
|
|
9
|
+
}, suffix: string) => Promise<any>;
|
|
10
10
|
export declare const changeDevice: (params: {
|
|
11
11
|
agent_no: string;
|
|
12
12
|
answer_device: DeviceType;
|