-
Notifications
You must be signed in to change notification settings - Fork 0
/
stewdy.proto
44 lines (40 loc) · 1.07 KB
/
stewdy.proto
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
syntax = "proto3";
package stewdy;
message campaign {
string id = 1;
string queueID = 2;
bool isActive = 3;
bool resetOnNewSchedule = 4;
bool resetOnActivation = 5;
int32 maxAttempts = 6;
int64 nextAttemptDelay = 7;
int32 concurrentCalls = 8;
int32 multiplier = 9;
int32 batchSize = 10;
int32 intensity = 11;
int32 waitForAnswer = 12; /// number of seconds to wait for client answer
int32 waitForConnect = 13; /// number of seconds to wait for operator's connect
int32 maxCallDuration = 14; /// maximum call duration in seconds
repeated schedule timeTable = 15;
}
message schedule {
string id = 1;
int32 weekday = 2;
int32 start = 3;
int32 stop = 4;
}
message target {
string id = 1;
string campaignID = 2;
string phoneNumber = 3;
string clientId = 4;
string preferredOperatorID = 5;
int32 attempts = 6;
int64 lastAttemptTime = 7;
int64 nextAttemptTime = 8;
string uniqueId = 9;
string operatorID = 10;
int64 answerTime = 11;
int64 connectTime = 12;
int64 hangupTime = 13;
}