OutboundCallRemote.java
8.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
package cn.com.glsx.entmicro.remote;
import cn.com.glsx.entmicro.dto.TaskExecuteStatus;
import cn.com.glsx.entmicro.model.request.outbound.*;
import cn.com.glsx.entmicro.model.response.outbound.*;
import cn.com.glsx.framework.core.annotation.*;
import cn.com.glsx.framework.core.beans.rpc.RpcPagination;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
import java.util.List;
/**
* @author yelq
* @version:
* @ClassName 智能外呼服务
* @description:
* @createTime 2022/08/04 17:09
*/
@ApiService(value = "智能外呼服务", version = "1.0.0", protocol = ApiService.ProtocolEnum.dubbo, type = ApiService.ApiTypeEnum.DUBBO, alias = "OutboundCallRemote", owner = "yelq")
public interface OutboundCallRemote {
@ApiMethod("创建外呼任务校验客户手机号接口")
@ApiResponse("校验结果")
@ApiParams({@ApiParam(name = "PhoneCheckRpcRequest", notes = "客户excel表url(xlsx格式)", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<PhoneCheckRpcResponse> checkOutboundCallPhone(PhoneCheckRpcRequest phoneCheckRpcRequest);
@ApiMethod("校验外呼任务名称重复(true-已存在,false-不存在)")
@ApiResponse("校验结果结果")
@ApiParams({@ApiParam(name = "MerchantCheckTaskNameRpcRequest", notes = "任务名称", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> merchantCheckOutboundCallTaskName(MerchantCheckTaskNameRpcRequest rpcRequest);
@ApiMethod("门店创建外呼任务")
@ApiResponse("创建结果")
@ApiParams({@ApiParam(name = "MerchantCreateTaskRpcRequest", notes = "门店任务参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> merchantCreateOutboundCallTask(MerchantCreateTaskRpcRequest rpcRequest);
@ApiMethod("门店删除外呼任务")
@ApiResponse("删除结果")
@ApiParams({@ApiParam(name = "MerchantDeleteTaskRpcRequest", notes = "主任务id", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> merchantDeleteOutboundCallTask(MerchantDeleteTaskRpcRequest rpcRequest);
@ApiMethod("门店外呼任务分页查询")
@ApiResponse("门店外呼任务分页查询结果")
@ApiParams({@ApiParam(name = "pagination", notes = "查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<OutboundCallTaskRpcResponse>> merchantOutboundCallTaskPage(RpcPagination<MerchantTaskPageRpcRequest> pagination);
@ApiMethod("创建外呼执行任务")
@ApiResponse("创建结果")
@ApiParams({@ApiParam(name = "CreateTaskRpcReuqst", notes = "创建参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> outboundCallCreateExecuteTask(CreateTaskRpcReuqst rpcRequest);
@ApiMethod("执行任务状态变更")
@ApiResponse("更新结果描述")
@ApiParams({@ApiParam(name = "ExecuteTaskStatusUpdateRpcRequest", notes = "主任务id", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<String> outboundExecuteTaskStatusUpdate(ExecuteTaskStatusUpdateRpcRequest rpcRequest);
@ApiMethod("导入手机号更新添加状态接口")
@ApiResponse("导入结果")
@ApiParams({@ApiParam(name = "ImportRpcRequest", notes = "手机号列表", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> importPhoneAddStatus(ImportRpcRequest rpcRequest);
@ApiMethod("智能外呼任务分页列表")
@ApiResponse("任务分页列表")
@ApiParams({@ApiParam(name = "pagination", notes = "查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<OutboundTaskRpcResponse>> findOutBoundTaskListByCondition(RpcPagination<OutboundTaskRpcRequest> rpcRequest);
@ApiMethod("外呼详情")
@ApiResponse("外呼详情-柱状图")
@ApiParams({@ApiParam(name = "request", notes = "查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<OutBoundTaskDetailRpcResponse> findOutBoundTaskDetail(OutboundTaskRpcRequest rpcRequest);
@ApiMethod("外呼详情")
@ApiResponse("手机号状态分页列表")
@ApiParams({@ApiParam(name = "pagination", notes = "查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<OutBoundTaskCustomerRpcResponse>> findCustomersByTaskId(RpcPagination<OutboundTaskCustomerRpcRequest> pagination);
@ApiMethod("下载手机号状态列表")
@ApiResponse("下载手机号状态列表")
@ApiParams({@ApiParam(name = "rpcRequest", notes = "查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<String> downLoadPhoneStatusByTaskId(PhoneStatusDownLoadRpcRequest rpcRequest);
@ApiMethod("设置外呼数量")
@ApiResponse("是否成功")
@ApiParams({@ApiParam(name = "rpcRequest", notes = "设置参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> setOutBoundNum(OutBoundConfigureRpcRequest rpcRequest);
@ApiMethod("获取外呼数量")
@ApiResponse("数量")
@ApiParams({@ApiParam(name = "rpcRequest", notes = "查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Integer> getOutBoundNum(FindOutBoundTaskNumRpcRequest rpcRequest);
@ApiMethod("外呼任务执行状态")
@ApiResponse("外呼任务执行状态")
@ApiParams({@ApiParam(name = "rpcRequest", notes = "查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<TaskExecuteStatus> findTaskExecuteStatus(OutboundTaskRpcRequest rpcRequest);
@ApiMethod("获取呼叫电话列表")
@ApiResponse("主叫电话列表")
@ApiParams({@ApiParam(name = "DidListRpcRequest", notes = "查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<DidListRpcResponse> getOutboundCallDidList(DidListRpcRequest rpcRequest);
@ApiMethod("获取机器人列表")
@ApiResponse("机器人列表")
@ApiParams({@ApiParam(name = "RobotListRpcRequest", notes = "查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<List<RobotDetailRpcResponse>> getOutboundCallRobotList(RobotListRpcRequest rpcRequest);
@ApiMethod("查看外呼任务短信内容")
@ApiResponse("外呼任务短信内容")
@ApiParams({@ApiParam(name = "QueryTaskMessageDetailRpcRequest", notes = "查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<TaskMessageDetailRpcResponse> queryTaskMessageDetail(QueryTaskMessageDetailRpcRequest rpcRequest);
@ApiMethod("更改外呼任务短信内容")
@ApiResponse("更改结果")
@ApiParams({@ApiParam(name = "UpdateTaskMessageDetailRpcRequest", notes = "更改参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> updateTaskMessageDetail(UpdateTaskMessageDetailRpcRequest rpcRequest);
@ApiMethod("门店任务创建内容回显")
@ApiResponse("门店任务创建内容")
@ApiParams({@ApiParam(name = "TaskDetailRpcRequest", notes = "查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<OutboundCallTaskEchoRpcResponse> echoMerchantTask(TaskDetailRpcRequest rpcRequest);
@ApiMethod("门店更改外呼任务")
@ApiResponse("更改结果")
@ApiParams({@ApiParam(name = "MerchantTaskUpdateRpcRequest", notes = "更改参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> updateMerchantTask(MerchantTaskUpdateRpcRequest rpcRequest);
@ApiMethod("AI外呼任务详情-客户列表多条件分页")
@ApiResponse("查询结果")
@ApiParams({@ApiParam(name = "pagination", notes = "查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<OutBoundTaskCustomerRpcResponse>> findCustomersPageByConditionRemote(RpcPagination<TaskCustomerPageRpcRequest> pagination);
@ApiMethod("AI外呼任务详情-客户列表多条件分页导出")
@ApiResponse("导出excel表的url地址")
@ApiParams({@ApiParam(name = "pagination", notes = "查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<String> exportCustomersPageByConditionRemote(RpcPagination<TaskCustomerPageRpcRequest> pagination);
}