Skip to content

Commit a4e2b98

Browse files
committed
fix: update call_type field in AddAgentCallResponseRequest to use CallType enum and correct formatting in GateClient
1 parent 7b62982 commit a4e2b98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/java/com/tcn/exile/gateclients/v2/GateClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public Public.UpdateAgentStatusResponse updateAgentStatus(Public.UpdateAgentStat
113113

114114
public Iterator<Public.ListAgentsResponse> listAgents(Public.ListAgentsRequest request) {
115115
return executeRequest("listAgents", client -> client.listAgents(request));
116-
}
116+
}
117117

118118
public Public.UpsertAgentResponse upsertAgent(Public.UpsertAgentRequest request) {
119119
return executeRequest("upsertAgent", client -> client.upsertAgent(request));

protos/src/main/proto/tcnapi/exile/gate/v2/public.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ message StartCallRecordingResponse {}
655655
message AddAgentCallResponseRequest {
656656
string partner_agent_id = 1;
657657
string call_sid = 2;
658-
string call_type = 3;
658+
CallType call_type = 3;
659659
int64 current_session_id = 4;
660660
// key value pair to save
661661
string key = 6;

0 commit comments

Comments
 (0)