-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfields.py
67 lines (66 loc) · 1.8 KB
/
fields.py
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
CONTACT_FIELDS = {
"preferred_call_time": "STRING",
"quiz_complete_date": "STRING",
"q6": "STRING",
"q5": "STRING",
"q4_other": "STRING",
"q4": "STRING",
"q3": "STRING",
"q2_explained": "STRING",
"q2": "STRING",
"q1_explained": "STRING",
"q1": "STRING",
"preferred_response_time": "STRING",
"response_time_satisfaction": "STRING",
"topic_expectations": "STRING",
"expectation": "STRING",
"close_case": "TIMESTAMP",
"open_case": "TIMESTAMP",
"question_count": "INTEGER",
"main_menu_count": "INTEGER",
"first_choice": "STRING",
"last_call_duration": "STRING",
"uncaught_message": "STRING",
"error_count": "INTEGER",
"love_option": "STRING",
"first_interaction": "TIMESTAMP",
"urnsmerge": "STRING",
"handover_timestamp": "TIMESTAMP",
"gender": "STRING",
"county": "STRING",
"counsellor_request": "STRING",
"urn": "STRING",
"age": "STRING",
"uuid": "STRING",
"name": "STRING",
"modified_on": "TIMESTAMP",
}
GROUP_CONTACT_FIELDS = {"group_uuid": "STRING", "contact_uuid": "STRING"}
GROUP_FIELDS = {"name": "STRING", "uuid": "STRING"}
FLOWS_FIELDS = {"labels": "STRING", "name": "STRING", "uuid": "STRING"}
FLOW_RUNS_FIELDS = {
"modified_on": "TIMESTAMP",
"responded": "BOOLEAN",
"contact_uuid": "STRING",
"flow_uuid": "STRING",
"exit_type": "STRING",
"created_at": "TIMESTAMP",
"exited_on": "TIMESTAMP",
"id": "INTEGER",
}
PAGEVIEW_FIELDS = {
"timestamp": "TIMESTAMP",
"page": "INTEGER",
"revision": "INTEGER",
"id": "INTEGER",
"run_uuid": "STRING",
"contact_uuid": "STRING",
}
FLOW_RUN_VALUES_FIELDS = {
"input": "STRING",
"time": "TIMESTAMP",
"category": "STRING",
"name": "STRING",
"value": "STRING",
"run_id": "INTEGER",
}