File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,36 @@ message ExileTelephonyResult {
128128 }
129129}
130130
131+ message ExileTask {
132+ int64 task_sid = 1 ;
133+ int64 task_group_sid = 2 ;
134+
135+ google.protobuf.Timestamp create_time = 5 ;
136+ google.protobuf.Timestamp update_time = 6 ;
137+
138+ string pool_id = 7 ;
139+ string record_id = 8 ;
140+
141+ TaskStatus status = 9 ;
142+
143+ int64 attempts = 11 ;
144+
145+ int64 client_sid = 12 ;
146+ string org_id = 13 ;
147+
148+ enum TaskStatus {
149+ TASK_UNKNOWN = 0 ;
150+ TASK_SCHEDULED = 2100 ; // "TASK_SCHEDULED", "Task is waiting for scheduler"),
151+ TASK_WAITING = 2110 ; // "TASK_WAITING", "Task was running and is waiting to send next call"),
152+ TASK_PREPARING = 2120 ; // "TASK_PREPARING", " Task is currently beeing prepared by the scheduler"),
153+ TASK_RUNNING = 2200 ; // "TASK_RUNNING", "Task is currently executing calls"),
154+ TASK_COMPLETED = 2300 ; // "TASK_COMPLETED", "Task was completed normally"),
155+ TASK_CANCELLED_TIMEOUT = 2310 ; // "TASK_CANCELLED_TIMEOUT", "Task was cancelled due to time restrictions"),
156+ TASK_CANCELLED_USER = 2320 ; // "TASK_CANCELLED_USER", "Task was cancelled by login belonging to client"),
157+ TASK_CANCELLED_ADMIN = 2330 ; // "TASK_CANCELLED_ADMIN", "Task was cancelled by some login not belonging to client
158+ }
159+ }
160+
131161message ExileAgentResponse {
132162 int64 agent_call_response_sid = 1 ;
133163 int64 call_sid = 2 ;
Original file line number Diff line number Diff line change @@ -939,6 +939,7 @@ message Event {
939939 ExileAgentResponse agent_response = 12 ; // Event related to an agent response
940940 ExileTransferInstance transfer_instance = 13 ; // Event related to a transfer instance
941941 ExileCallRecording call_recording = 14 ; // Event related to a call recording
942+ ExileTask task = 15 ; // Event related to a task
942943 }
943944}
944945
You can’t perform that action at this time.
0 commit comments