python-terminusgps 20.5.1__py3-none-any.whl → 20.5.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_terminusgps-20.5.1.dist-info → python_terminusgps-20.5.3.dist-info}/METADATA +2 -1
- {python_terminusgps-20.5.1.dist-info → python_terminusgps-20.5.3.dist-info}/RECORD +5 -5
- terminusgps/wialon/flags.py +299 -150
- {python_terminusgps-20.5.1.dist-info → python_terminusgps-20.5.3.dist-info}/WHEEL +0 -0
- {python_terminusgps-20.5.1.dist-info → python_terminusgps-20.5.3.dist-info}/licenses/COPYING +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 20.5.
|
|
3
|
+
Version: 20.5.3
|
|
4
4
|
Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
|
|
5
5
|
Project-URL: Documentation, https://app.terminusgps.com/docs/apps/python-terminusgps/index.html
|
|
6
6
|
Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
|
|
@@ -16,5 +16,6 @@ Requires-Dist: argparse>=1.4.0
|
|
|
16
16
|
Requires-Dist: authorizenet>=1.1.5
|
|
17
17
|
Requires-Dist: boto3>=1.34.144
|
|
18
18
|
Requires-Dist: django>=5.1.5
|
|
19
|
+
Requires-Dist: lxml==4.9.4
|
|
19
20
|
Requires-Dist: python-wialon>=1.2.4
|
|
20
21
|
Requires-Dist: twilio>=9.4.5
|
|
@@ -15,7 +15,7 @@ terminusgps/twilio/__init__.py,sha256=dYo41F2jft_eHDWSUtSpKGSRG1bewq_qClqilUJZkY
|
|
|
15
15
|
terminusgps/twilio/caller.py,sha256=nHCIwUulo-C_v2orsp6OY0nuJA6YetSkxpMTwrRQ-uA,1831
|
|
16
16
|
terminusgps/wialon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
terminusgps/wialon/constants.py,sha256=u7y9MsA5LYvjPjxJnCMQdprTF3QhPPR9j4MvzoSNBaw,1628
|
|
18
|
-
terminusgps/wialon/flags.py,sha256
|
|
18
|
+
terminusgps/wialon/flags.py,sha256=_NIL3mrEGhvI5YISVjimjYtUatdgOqhZPJX368MtKSU,13959
|
|
19
19
|
terminusgps/wialon/logger.py,sha256=nUBsaLMaffSaAHGHAM6mFXDzix9hbNecVtA3INVtii8,968
|
|
20
20
|
terminusgps/wialon/session.py,sha256=4YoTA6oVux4vd_F_nZLXl4N5i_FtrI6GpumtJbs-2Tw,10118
|
|
21
21
|
terminusgps/wialon/utils.py,sha256=KhRgLcD4q2EXAGhi_OOdpo3Azvu65NAEQIvzClj9tbc,6494
|
|
@@ -29,7 +29,7 @@ terminusgps/wialon/items/route.py,sha256=PTJx1gmT_PGz7nlSSUS2VzjYD-aAuvkEOIdIFne
|
|
|
29
29
|
terminusgps/wialon/items/unit.py,sha256=sXgEW3mbGgHCI9-lD69voy8yiKv39rKJei6ybYODKpM,8531
|
|
30
30
|
terminusgps/wialon/items/unit_group.py,sha256=vGVJMBY1BrKK0tP-C1DCIz4Bh6P-HKRnKY1g8g95UIs,5031
|
|
31
31
|
terminusgps/wialon/items/user.py,sha256=INwAibQVmjNNelepQXMfDevgJqMvIjHHgEjAMLRvhB0,7082
|
|
32
|
-
python_terminusgps-20.5.
|
|
33
|
-
python_terminusgps-20.5.
|
|
34
|
-
python_terminusgps-20.5.
|
|
35
|
-
python_terminusgps-20.5.
|
|
32
|
+
python_terminusgps-20.5.3.dist-info/METADATA,sha256=yqI3GF_wONzE0kxCmCyvW8G_M7IRPbI7QszhsTUKunU,939
|
|
33
|
+
python_terminusgps-20.5.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
34
|
+
python_terminusgps-20.5.3.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
35
|
+
python_terminusgps-20.5.3.dist-info/RECORD,,
|
terminusgps/wialon/flags.py
CHANGED
|
@@ -1,333 +1,482 @@
|
|
|
1
1
|
# Access flags
|
|
2
2
|
## General - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#general
|
|
3
|
-
### View this item's basic properties
|
|
4
3
|
ACCESSFLAG_VIEW_ITEM_BASIC = 0x0001
|
|
5
|
-
|
|
4
|
+
"""View this item's basic properties"""
|
|
5
|
+
|
|
6
6
|
ACCESSFLAG_VIEW_ITEM_DETAILED = 0x0002
|
|
7
|
-
|
|
7
|
+
"""View this item's detailed properties"""
|
|
8
|
+
|
|
8
9
|
ACCESSFLAG_MANAGE_ITEM_ACCESS = 0x0004
|
|
9
|
-
|
|
10
|
+
"""Manage access to this item"""
|
|
11
|
+
|
|
10
12
|
ACCESSFLAG_DELETE_ITEM = 0x0008
|
|
11
|
-
|
|
13
|
+
"""Delete this item"""
|
|
14
|
+
|
|
12
15
|
ACCESSFLAG_RENAME_ITEM = 0x0010
|
|
13
|
-
|
|
16
|
+
"""Rename this item"""
|
|
17
|
+
|
|
14
18
|
ACCESSFLAG_VIEW_CUSTOM_FIELDS = 0x0020
|
|
15
|
-
|
|
19
|
+
"""View this item's custom fields"""
|
|
20
|
+
|
|
16
21
|
ACCESSFLAG_MANAGE_CUSTOM_FIELDS = 0x0040
|
|
17
|
-
|
|
22
|
+
"""Manage this item's custom fields"""
|
|
23
|
+
|
|
18
24
|
ACCESSFLAG_MANAGE_UNMENTIONED_FIELDS = 0x0080
|
|
19
|
-
|
|
25
|
+
"""Manage this item's unmentioned properties"""
|
|
26
|
+
|
|
20
27
|
ACCESSFLAG_MANAGE_ICON = 0x0100
|
|
21
|
-
|
|
28
|
+
"""Manage this item's icon"""
|
|
29
|
+
|
|
22
30
|
ACCESSFLAG_QUERY_REPORTS = 0x0200
|
|
23
|
-
|
|
31
|
+
"""Query this item's reports or messages"""
|
|
32
|
+
|
|
24
33
|
ACCESSFLAG_MANAGE_ACL = 0x0400
|
|
25
|
-
|
|
34
|
+
"""Manage this item's ACL propagated objects"""
|
|
35
|
+
|
|
26
36
|
ACCESSFLAG_MANAGE_ITEM_LOG = 0x0800
|
|
27
|
-
|
|
37
|
+
"""Manage this item's log"""
|
|
38
|
+
|
|
28
39
|
ACCESSFLAG_VIEW_ADMIN_FIELDS = 0x1000
|
|
29
|
-
|
|
40
|
+
"""View this item's administrative fields"""
|
|
41
|
+
|
|
30
42
|
ACCESSFLAG_MANAGE_ADMIN_FIELDS = 0x2000
|
|
31
|
-
|
|
43
|
+
"""Manage this item's administrative fields"""
|
|
44
|
+
|
|
32
45
|
ACCESSFLAG_VIEW_ATTACHED_FILES = 0x4000
|
|
33
|
-
|
|
46
|
+
"""View this item's attached files"""
|
|
47
|
+
|
|
34
48
|
ACCESSFLAG_MANAGE_ATTACHED_FILES = 0x8000
|
|
49
|
+
"""Manage this item's attached files"""
|
|
50
|
+
|
|
35
51
|
|
|
36
52
|
## Unit/Unit Group - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#units_and_unit_groups
|
|
37
|
-
### Manage this unit/group's connectivity settings
|
|
38
53
|
ACCESSFLAG_UNIT_MANAGE_CONNECTIVITY = 0x0000100000
|
|
39
|
-
|
|
54
|
+
"""Manage this unit/group's connectivity settings"""
|
|
55
|
+
|
|
40
56
|
ACCESSFLAG_UNIT_MANAGE_SENSORS = 0x0000200000
|
|
41
|
-
|
|
57
|
+
"""Manage this unit/group's sensors"""
|
|
58
|
+
|
|
42
59
|
ACCESSFLAG_UNIT_MANAGE_COUNTERS = 0x0000400000
|
|
43
|
-
|
|
60
|
+
"""Manage this unit/group's counters"""
|
|
61
|
+
|
|
44
62
|
ACCESSFLAG_UNIT_DELETE_MESSAGES = 0x0000800000
|
|
45
|
-
|
|
63
|
+
"""Delete this unit/group's messages"""
|
|
64
|
+
|
|
46
65
|
ACCESSFLAG_UNIT_EXECUTE_COMMANDS = 0x0001000000
|
|
47
|
-
|
|
66
|
+
"""Execute this unit/group's commands"""
|
|
67
|
+
|
|
48
68
|
ACCESSFLAG_UNIT_REGISTER_EVENTS = 0x0002000000
|
|
49
|
-
|
|
69
|
+
"""Register this unit/group's events"""
|
|
70
|
+
|
|
50
71
|
ACCESSFLAG_UNIT_VIEW_CONNECTIVITY = 0x0004000000
|
|
51
|
-
|
|
72
|
+
"""View this unit/group's connectivity settings"""
|
|
73
|
+
|
|
52
74
|
ACCESSFLAG_UNIT_VIEW_SERVICE_INTERVALS = 0x0010000000
|
|
53
|
-
|
|
75
|
+
"""View this unit/group's service intervals"""
|
|
76
|
+
|
|
54
77
|
ACCESSFLAG_UNIT_MANAGE_SERVICE_INTERVALS = 0x0020000000
|
|
55
|
-
|
|
78
|
+
"""Manage this unit/group's service intervals"""
|
|
79
|
+
|
|
56
80
|
ACCESSFLAG_UNIT_IMPORT_MESSAGES = 0x0040000000
|
|
57
|
-
|
|
81
|
+
"""Import this unit/group's messages"""
|
|
82
|
+
|
|
58
83
|
ACCESSFLAG_UNIT_EXPORT_MESSAGES = 0x0080000000
|
|
59
|
-
|
|
84
|
+
"""Export this unit/group's messages"""
|
|
85
|
+
|
|
60
86
|
ACCESSFLAG_UNIT_VIEW_COMMANDS = 0x0400000000
|
|
61
|
-
|
|
87
|
+
"""View this unit/group's commands"""
|
|
88
|
+
|
|
62
89
|
ACCESSFLAG_UNIT_MANAGE_COMMANDS = 0x0800000000
|
|
63
|
-
|
|
90
|
+
"""Manage this unit/group's commands"""
|
|
91
|
+
|
|
64
92
|
ACCESSFLAG_UNIT_MANAGE_TRIP_DETECTOR = 0x4000000000
|
|
65
|
-
|
|
93
|
+
"""Manage this unit/group's trip detector and fuel consumption"""
|
|
94
|
+
|
|
66
95
|
ACCESSFLAG_UNIT_MANAGE_ASSIGNMENTS = 0x8000000000
|
|
96
|
+
"""Manage this unit/group's job, notification, route, and retranslator assignments"""
|
|
97
|
+
|
|
67
98
|
|
|
68
99
|
## User - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#users
|
|
69
|
-
### Manage this user's access rights
|
|
70
100
|
ACCESSFLAG_USER_MANAGE_ACCESS_RIGHTS = 0x100000
|
|
71
|
-
|
|
101
|
+
"""Manage this user's access rights"""
|
|
102
|
+
|
|
72
103
|
ACCESSFLAG_USER_ACT_AS_OTHER = 0x200000
|
|
73
|
-
|
|
104
|
+
"""Can assume the identity of this user (login as)"""
|
|
105
|
+
|
|
74
106
|
ACCESSFLAG_USER_MANAGE_FLAGS = 0x400000
|
|
75
|
-
|
|
107
|
+
"""Manage this user's access flags"""
|
|
108
|
+
|
|
76
109
|
ACCESSFLAG_USER_VIEW_PUSH_MESSAGES = 0x800000
|
|
77
|
-
|
|
110
|
+
"""View this user's push messages"""
|
|
111
|
+
|
|
78
112
|
ACCESSFLAG_USER_MANAGE_PUSH_MESSAGES = 0x1000000
|
|
113
|
+
"""Manage this user's push messages"""
|
|
114
|
+
|
|
79
115
|
|
|
80
116
|
## Retranslator - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#retranslators
|
|
81
|
-
### Manage this retranslator's properties (including start/stop)
|
|
82
117
|
ACCESSFLAG_RETRANSLATOR_MANAGE_PROPERTIES = 0x100000
|
|
83
|
-
|
|
118
|
+
"""Manage this retranslator's properties (including start/stop)"""
|
|
119
|
+
|
|
84
120
|
ACCESSFLAG_RETRANSLATOR_MANAGE_UNITS = 0x2000000
|
|
121
|
+
"""Manage this retranslator's available units"""
|
|
122
|
+
|
|
85
123
|
|
|
86
124
|
## Resources (Accounts) - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#resources_accounts
|
|
87
|
-
### View this resource's notifications
|
|
88
125
|
ACCESSFLAG_RESOURCE_VIEW_NOTIFICATIONS = 0x0000000100000
|
|
89
|
-
|
|
126
|
+
"""View this resource's notifications"""
|
|
127
|
+
|
|
90
128
|
ACCESSFLAG_RESOURCE_MANAGE_NOTIFICATIONS = 0x0000000200000
|
|
91
|
-
|
|
129
|
+
"""Manage this resource's notifications"""
|
|
130
|
+
|
|
92
131
|
ACCESSFLAG_RESOURCE_VIEW_POIS = 0x0000000400000
|
|
93
|
-
|
|
132
|
+
"""View this resource's points of interest"""
|
|
133
|
+
|
|
94
134
|
ACCESSFLAG_RESOURCE_MANAGE_POIS = 0x0000000800000
|
|
95
|
-
|
|
135
|
+
"""Manage this resource's points of interest"""
|
|
136
|
+
|
|
96
137
|
ACCESSFLAG_RESOURCE_VIEW_GEOFENCES = 0x0000001000000
|
|
97
|
-
|
|
138
|
+
"""View this resource's geofences"""
|
|
139
|
+
|
|
98
140
|
ACCESSFLAG_RESOURCE_MANAGE_GEOFENCES = 0x0000002000000
|
|
99
|
-
|
|
141
|
+
"""Manage this resource's geofences"""
|
|
142
|
+
|
|
100
143
|
ACCESSFLAG_RESOURCE_VIEW_JOBS = 0x0000004000000
|
|
101
|
-
|
|
144
|
+
"""View this resource's jobs"""
|
|
145
|
+
|
|
102
146
|
ACCESSFLAG_RESOURCE_MANAGE_JOBS = 0x0000008000000
|
|
103
|
-
|
|
147
|
+
"""Manage this resource's jobs"""
|
|
148
|
+
|
|
104
149
|
ACCESSFLAG_RESOURCE_VIEW_REPORT_TEMPLATES = 0x0000010000000
|
|
105
|
-
|
|
150
|
+
"""View this resource's report templates"""
|
|
151
|
+
|
|
106
152
|
ACCESSFLAG_RESOURCE_MANAGE_REPORT_TEMPLATES = 0x0000020000000
|
|
107
|
-
|
|
153
|
+
"""Manage this resource's report templates"""
|
|
154
|
+
|
|
108
155
|
ACCESSFLAG_RESOURCE_VIEW_DRIVERS = 0x0000040000000
|
|
109
|
-
|
|
156
|
+
"""View this resource's drivers"""
|
|
157
|
+
|
|
110
158
|
ACCESSFLAG_RESOURCE_MANAGE_DRIVERS = 0x0000080000000
|
|
111
|
-
|
|
159
|
+
"""Manage this resource's drivers"""
|
|
160
|
+
|
|
112
161
|
ACCESSFLAG_RESOURCE_MANAGE_ACCOUNT = 0x0000100000000
|
|
113
|
-
|
|
162
|
+
"""Manage this resource's account"""
|
|
163
|
+
|
|
114
164
|
ACCESSFLAG_RESOURCE_VIEW_ORDERS = 0x0000200000000
|
|
115
|
-
|
|
165
|
+
"""View this resource's orders"""
|
|
166
|
+
|
|
116
167
|
ACCESSFLAG_RESOURCE_MANAGE_ORDERS = 0x0000400000000
|
|
117
|
-
|
|
168
|
+
"""Manage this resource's orders"""
|
|
169
|
+
|
|
118
170
|
ACCESSFLAG_RESOURCE_VIEW_TRAILERS = 0x0100000000000
|
|
119
|
-
|
|
171
|
+
"""View this resource's trailers"""
|
|
172
|
+
|
|
120
173
|
ACCESSFLAG_RESOURCE_MANAGE_TRAILERS = 0x0200000000000
|
|
174
|
+
"""Manage this resource's trailers"""
|
|
175
|
+
|
|
121
176
|
|
|
122
177
|
## Routes - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#routes
|
|
123
|
-
### Manage this route's properties
|
|
124
178
|
ACCESSFLAG_ROUTE_MANAGE_ROUTE = 0x0000000100000
|
|
179
|
+
"""Manage this route's properties"""
|
|
180
|
+
|
|
125
181
|
|
|
126
182
|
## Other - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#other
|
|
127
|
-
### Sets all possible access flags to an item
|
|
128
183
|
ACCESSFLAG_FULL_ACCESS = 0xFFFFFFFFFFFFFFF
|
|
184
|
+
"""Sets all possible access flags to an item"""
|
|
185
|
+
|
|
129
186
|
|
|
130
187
|
# Data flags
|
|
131
188
|
## Resource (Accounts) - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/format/resource
|
|
132
|
-
### This resource's basic properties
|
|
133
189
|
DATAFLAG_RESOURCE_BASE = 0x00000001
|
|
134
|
-
|
|
190
|
+
"""This resource's basic properties"""
|
|
191
|
+
|
|
135
192
|
DATAFLAG_RESOURCE_CUSTOM_PROPERTIES = 0x00000002
|
|
136
|
-
|
|
193
|
+
"""This resource's custom properties"""
|
|
194
|
+
|
|
137
195
|
DATAFLAG_RESOURCE_BILLING_PROPERTIES = 0x00000004
|
|
138
|
-
|
|
196
|
+
"""This resource's billing properties"""
|
|
197
|
+
|
|
139
198
|
DATAFLAG_RESOURCE_CUSTOM_FIELDS = 0x00000008
|
|
140
|
-
|
|
199
|
+
"""This resource's custom fields"""
|
|
200
|
+
|
|
141
201
|
DATAFLAG_RESOURCE_MESSAGES = 0x00000020
|
|
142
|
-
|
|
202
|
+
"""This resource's messages"""
|
|
203
|
+
|
|
143
204
|
DATAFLAG_RESOURCE_GUID = 0x00000040
|
|
144
|
-
|
|
205
|
+
"""This resource's GUID"""
|
|
206
|
+
|
|
145
207
|
DATAFLAG_RESOURCE_ADMIN_FIELDS = 0x00000080
|
|
146
|
-
|
|
208
|
+
"""This resources administrative fields"""
|
|
209
|
+
|
|
147
210
|
DATAFLAG_RESOURCE_DRIVERS = 0x00000100
|
|
148
|
-
|
|
211
|
+
"""This resource's drivers"""
|
|
212
|
+
|
|
149
213
|
DATAFLAG_RESOURCE_JOBS = 0x00000200
|
|
150
|
-
|
|
214
|
+
"""This resource's jobs"""
|
|
215
|
+
|
|
151
216
|
DATAFLAG_RESOURCE_NOTIFICATIONS = 0x00000400
|
|
152
|
-
|
|
217
|
+
"""This resource's notifications"""
|
|
218
|
+
|
|
153
219
|
DATAFLAG_RESOURCE_POIS = 0x00000800
|
|
154
|
-
|
|
220
|
+
"""This resouce's points of interest"""
|
|
221
|
+
|
|
155
222
|
DATAFLAG_RESOURCE_GEOFENCES = 0x00001000
|
|
156
|
-
|
|
223
|
+
"""This resource's geofences"""
|
|
224
|
+
|
|
157
225
|
DATAFLAG_RESOURCE_REPORT_TEMPLATES = 0x00002000
|
|
158
|
-
|
|
226
|
+
"""This resource's report templates"""
|
|
227
|
+
|
|
159
228
|
DATAFLAG_RESOURCE_DRIVER_ATTACHABLE_UNITS = 0x00004000
|
|
160
|
-
|
|
229
|
+
"""This resource's units allowed for driver attachment"""
|
|
230
|
+
|
|
161
231
|
DATAFLAG_RESOURCE_DRIVER_GROUPS = 0x00008000
|
|
162
|
-
|
|
232
|
+
"""This resource's driver groups"""
|
|
233
|
+
|
|
163
234
|
DATAFLAG_RESOURCE_TRAILERS = 0x00010000
|
|
164
|
-
|
|
235
|
+
"""This resource's trailers"""
|
|
236
|
+
|
|
165
237
|
DATAFLAG_RESOURCE_TRAILER_GROUPS = 0x00020000
|
|
166
|
-
|
|
238
|
+
"""This resource's trailer groups"""
|
|
239
|
+
|
|
167
240
|
DATAFLAG_RESOURCE_TRAILER_ATTACHABLE_UNITS = 0x00040000
|
|
168
|
-
|
|
241
|
+
"""This resource's units allowed for trailer attachment"""
|
|
242
|
+
|
|
169
243
|
DATAFLAG_RESOURCE_ORDERS = 0x00080000
|
|
170
|
-
|
|
244
|
+
"""This resource's orders"""
|
|
245
|
+
|
|
171
246
|
DATAFLAG_RESOURCE_GEOFENCE_GROUPS = 0x00100000
|
|
172
|
-
|
|
247
|
+
"""This resource's geofence groups"""
|
|
248
|
+
|
|
173
249
|
DATAFLAG_RESOURCE_TAGS = 0x00200000
|
|
174
|
-
|
|
250
|
+
"""This resource's tags (passengers)"""
|
|
251
|
+
|
|
175
252
|
DATAFLAG_RESOURCE_TAG_ATTACHABLE_UNITS = 0x00400000
|
|
176
|
-
|
|
253
|
+
"""This resource's units allowed for tag attachment"""
|
|
254
|
+
|
|
177
255
|
DATAFLAG_RESOURCE_TAG_GROUPS = 0x00800000
|
|
178
|
-
|
|
256
|
+
"""This resource's tag groups (passengers)"""
|
|
257
|
+
|
|
179
258
|
DATAFLAG_RESOURCE_ALL = 4611686018427387903
|
|
259
|
+
"""All possible resource data flags"""
|
|
260
|
+
|
|
180
261
|
|
|
181
262
|
## Retranslator - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/format/retranslator
|
|
182
|
-
### This retranslator's basic properties
|
|
183
263
|
DATAFLAG_RETRANSLATOR_BASE = 0x00000001
|
|
184
|
-
|
|
264
|
+
"""This retranslator's basic properties"""
|
|
265
|
+
|
|
185
266
|
DATAFLAG_RETRANSLATOR_CUSTOM_PROPERTIES = 0x00000002
|
|
186
|
-
|
|
267
|
+
"""This retranslator's custom properties"""
|
|
268
|
+
|
|
187
269
|
DATAFLAG_RETRANSLATOR_BILLING_PROPERTIES = 0x00000004
|
|
188
|
-
|
|
270
|
+
"""This retranslator's billing properties"""
|
|
271
|
+
|
|
189
272
|
DATAFLAG_RETRANSLATOR_GUID = 0x00000040
|
|
190
|
-
|
|
273
|
+
"""This retranslator's GUID"""
|
|
274
|
+
|
|
191
275
|
DATAFLAG_RETRANSLATOR_ADMIN_FIELDS = 0x00000080
|
|
192
|
-
|
|
276
|
+
"""This retranslator's admin fields"""
|
|
277
|
+
|
|
193
278
|
DATAFLAG_RETRANSLATOR_CONFIGURATION = 0x00000100
|
|
194
|
-
|
|
279
|
+
"""This retranslator's state and configuration"""
|
|
280
|
+
|
|
195
281
|
DATAFLAG_RETRANSLATOR_UNITS = 0x00000200
|
|
196
|
-
|
|
282
|
+
"""This retranslator's bound units"""
|
|
283
|
+
|
|
197
284
|
DATAFLAG_RETRANSLATOR_ALL = 4611686018427387903
|
|
285
|
+
"""All possible retranslator data flags"""
|
|
286
|
+
|
|
198
287
|
|
|
199
288
|
## Route - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/format/route
|
|
200
|
-
### This route's basic properties
|
|
201
289
|
DATAFLAG_ROUTE_BASE = 0x00000001
|
|
202
|
-
|
|
290
|
+
"""This route's basic properties"""
|
|
291
|
+
|
|
203
292
|
DATAFLAG_ROUTE_CUSTOM_PROPERTIES = 0x00000002
|
|
204
|
-
|
|
293
|
+
"""This route's custom properties"""
|
|
294
|
+
|
|
205
295
|
DATAFLAG_ROUTE_BILLING_PROPERTIES = 0x00000004
|
|
206
|
-
|
|
296
|
+
"""This route's billing properties"""
|
|
297
|
+
|
|
207
298
|
DATAFLAG_ROUTE_GUID = 0x00000040
|
|
208
|
-
|
|
299
|
+
"""This route's GUID"""
|
|
300
|
+
|
|
209
301
|
DATAFLAG_ROUTE_ADMIN_FIELDS = 0x00000080
|
|
210
|
-
|
|
302
|
+
"""This route's administrative fields"""
|
|
303
|
+
|
|
211
304
|
DATAFLAG_ROUTE_CONFIGURATION = 0x00000100
|
|
212
|
-
|
|
305
|
+
"""This route's configuration"""
|
|
306
|
+
|
|
213
307
|
DATAFLAG_ROUTE_CHECKPOINTS = 0x00000200
|
|
214
|
-
|
|
308
|
+
"""This route's checkpoints"""
|
|
309
|
+
|
|
215
310
|
DATAFLAG_ROUTE_SCHEDULES = 0x00000400
|
|
216
|
-
|
|
311
|
+
"""This route's schedules"""
|
|
312
|
+
|
|
217
313
|
DATAFLAG_ROUTE_ROUNDS = 0x00000800
|
|
218
|
-
|
|
314
|
+
"""This route's rounds"""
|
|
315
|
+
|
|
219
316
|
DATAFLAG_ROUTE_ALL = 4611686018427387903
|
|
317
|
+
"""All possible route data flags"""
|
|
318
|
+
|
|
220
319
|
|
|
221
320
|
## Unit - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/format/unit
|
|
222
|
-
### This unit's basic properties
|
|
223
321
|
DATAFLAG_UNIT_BASE = 0x00000001
|
|
224
|
-
|
|
322
|
+
"""This unit's basic properties"""
|
|
323
|
+
|
|
225
324
|
DATAFLAG_UNIT_CUSTOM_PROPERTIES = 0x00000002
|
|
226
|
-
|
|
325
|
+
"""This unit's custom properties"""
|
|
326
|
+
|
|
227
327
|
DATAFLAG_UNIT_BILLING_PROPERTIES = 0x00000004
|
|
228
|
-
|
|
328
|
+
"""This unit's billing properties"""
|
|
329
|
+
|
|
229
330
|
DATAFLAG_UNIT_CUSTOM_FIELDS = 0x00000008
|
|
230
|
-
|
|
331
|
+
"""This unit's custom fields"""
|
|
332
|
+
|
|
231
333
|
DATAFLAG_UNIT_IMAGE = 0x00000010
|
|
232
|
-
|
|
334
|
+
"""This unit's image/icon"""
|
|
335
|
+
|
|
233
336
|
DATAFLAG_UNIT_MESSAGES = 0x00000020
|
|
234
|
-
|
|
337
|
+
"""This unit's messages"""
|
|
338
|
+
|
|
235
339
|
DATAFLAG_UNIT_GUID = 0x00000040
|
|
236
|
-
|
|
340
|
+
"""This unit's GUID"""
|
|
341
|
+
|
|
237
342
|
DATAFLAG_UNIT_ADMIN_FIELDS = 0x00000080
|
|
238
|
-
|
|
343
|
+
"""This unit's administrative fields"""
|
|
344
|
+
|
|
239
345
|
DATAFLAG_UNIT_ADVANCED_PROPERTIES = 0x00000100
|
|
240
|
-
|
|
346
|
+
"""This unit's advanced properties"""
|
|
347
|
+
|
|
241
348
|
DATAFLAG_UNIT_CURRENT_MOMENT_COMMANDS = 0x00000200
|
|
242
|
-
|
|
349
|
+
"""This unit's available for current moment commands"""
|
|
350
|
+
|
|
243
351
|
DATAFLAG_UNIT_LAST_MESSAGE = 0x00000400
|
|
244
|
-
|
|
352
|
+
"""This unit's last message and position"""
|
|
353
|
+
|
|
245
354
|
DATAFLAG_UNIT_SENSORS = 0x00001000
|
|
246
|
-
|
|
355
|
+
"""This unit's sensors"""
|
|
356
|
+
|
|
247
357
|
DATAFLAG_UNIT_COUNTERS = 0x00002000
|
|
248
|
-
|
|
358
|
+
"""This unit's counters"""
|
|
359
|
+
|
|
249
360
|
DATAFLAG_UNIT_MAINTENANCE = 0x00008000
|
|
250
|
-
|
|
361
|
+
"""This unit's maintenance"""
|
|
362
|
+
|
|
251
363
|
DATAFLAG_UNIT_REPORT_CONFIGURATION = 0x00020000
|
|
252
|
-
|
|
364
|
+
"""This unit's report configuration, trip detector, and fuel consumption"""
|
|
365
|
+
|
|
253
366
|
DATAFLAG_UNIT_AVAILABLE_COMMANDS = 0x00080000
|
|
254
|
-
|
|
367
|
+
"""This unit's available commands"""
|
|
368
|
+
|
|
255
369
|
DATAFLAG_UNIT_MESSAGE_PARAMETERS = 0x00100000
|
|
256
|
-
|
|
370
|
+
"""This unit's message parameters"""
|
|
371
|
+
|
|
257
372
|
DATAFLAG_UNIT_CONNECTION_STATUS = 0x00200000
|
|
258
|
-
|
|
373
|
+
"""This unit's connection status"""
|
|
374
|
+
|
|
259
375
|
DATAFLAG_UNIT_POSITION = 0x00400000
|
|
260
|
-
|
|
376
|
+
"""This unit's position"""
|
|
377
|
+
|
|
261
378
|
DATAFLAG_UNIT_PROFILE_FIELDS = 0x00800000
|
|
262
|
-
|
|
379
|
+
"""This unit's profile files"""
|
|
380
|
+
|
|
263
381
|
DATAFLAG_UNIT_ALL = 4611686018427387903
|
|
382
|
+
"""All possible unit data flags"""
|
|
383
|
+
|
|
264
384
|
|
|
265
385
|
## Unit Groups - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/format/group
|
|
266
|
-
### This group's basic properties
|
|
267
386
|
DATAFLAG_GROUP_BASE = 0x00000001
|
|
268
|
-
|
|
387
|
+
"""This group's basic properties"""
|
|
388
|
+
|
|
269
389
|
DATAFLAG_GROUP_CUSTOM_PROPERTIES = 0x00000002
|
|
270
|
-
|
|
390
|
+
"""This group's custom properties"""
|
|
391
|
+
|
|
271
392
|
DATAFLAG_GROUP_BILLING_PROPERTIES = 0x00000004
|
|
272
|
-
|
|
393
|
+
"""This group's billing properties"""
|
|
394
|
+
|
|
273
395
|
DATAFLAG_GROUP_CUSTOM_FIELDS = 0x00000008
|
|
274
|
-
|
|
396
|
+
"""This group's custom fields"""
|
|
397
|
+
|
|
275
398
|
DATAFLAG_GROUP_IMAGE = 0x00000010
|
|
276
|
-
|
|
399
|
+
"""This group's image/icon"""
|
|
400
|
+
|
|
277
401
|
DATAFLAG_GROUP_GUID = 0x00000040
|
|
278
|
-
|
|
402
|
+
"""This group's GUID"""
|
|
403
|
+
|
|
279
404
|
DATAFLAG_GROUP_ADMIN_FIELDS = 0x00000080
|
|
280
|
-
|
|
405
|
+
"""This group's administrative fields"""
|
|
406
|
+
|
|
281
407
|
DATAFLAG_GROUP_ALL = 4611686018427387903
|
|
408
|
+
"""All possible group data flags"""
|
|
409
|
+
|
|
282
410
|
|
|
283
411
|
## User - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/format/user
|
|
284
|
-
### This user's basic properties
|
|
285
412
|
DATAFLAG_USER_BASE = 0x00000001
|
|
286
|
-
|
|
413
|
+
"""This user's basic properties"""
|
|
414
|
+
|
|
287
415
|
DATAFLAG_USER_CUSTOM_PROPERTIES = 0x00000002
|
|
288
|
-
|
|
416
|
+
"""This user's custom properties"""
|
|
417
|
+
|
|
289
418
|
DATAFLAG_USER_BILLING_PROPERTIES = 0x00000004
|
|
290
|
-
|
|
419
|
+
"""This user's billing properties"""
|
|
420
|
+
|
|
291
421
|
DATAFLAG_USER_CUSTOM_FIELDS = 0x00000008
|
|
292
|
-
|
|
422
|
+
"""This user's custom fields"""
|
|
423
|
+
|
|
293
424
|
DATAFLAG_USER_MESSAGES = 0x00000020
|
|
294
|
-
|
|
425
|
+
"""This user's messages"""
|
|
426
|
+
|
|
295
427
|
DATAFLAG_USER_GUID = 0x00000040
|
|
296
|
-
|
|
428
|
+
"""This user's GUID"""
|
|
429
|
+
|
|
297
430
|
DATAFLAG_USER_ADMIN_FIELDS = 0x00000080
|
|
298
|
-
|
|
431
|
+
"""This user's administrative fields"""
|
|
432
|
+
|
|
299
433
|
DATAFLAG_USER_OTHER_PROPERTIES = 0x00000100
|
|
300
|
-
|
|
434
|
+
"""This user's other properties"""
|
|
435
|
+
|
|
301
436
|
DATAFLAG_USER_NOTIFICATIONS = 0x00000200
|
|
302
|
-
|
|
437
|
+
"""This user's notifications"""
|
|
438
|
+
|
|
303
439
|
DATAFLAG_USER_ALL = 4611686018427387903
|
|
440
|
+
"""All possible user data flags"""
|
|
441
|
+
|
|
304
442
|
|
|
305
443
|
# Settings flags
|
|
306
444
|
## User - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/user/update_user_flags
|
|
307
|
-
### This user is disabled
|
|
308
445
|
SETTINGSFLAG_USER_DISABLED = 0x01
|
|
309
|
-
|
|
446
|
+
"""This user is disabled"""
|
|
447
|
+
|
|
310
448
|
SETTINGSFLAG_USER_CANNOT_CHANGE_PASSWORD = 0x02
|
|
311
|
-
|
|
449
|
+
"""This user cannot change their password"""
|
|
450
|
+
|
|
312
451
|
SETTINGSFLAG_USER_CAN_CREATE_ITEMS = 0x04
|
|
313
|
-
|
|
452
|
+
"""This user can create objects"""
|
|
453
|
+
|
|
314
454
|
SETTINGSFLAG_USER_CANNOT_CHANGE_SETTINGS = 0x10
|
|
315
|
-
|
|
455
|
+
"""This user cannot change settings"""
|
|
456
|
+
|
|
316
457
|
SETTINGSFLAG_USER_CAN_SEND_SMS = 0x20
|
|
458
|
+
"""This user can send SMS messages"""
|
|
459
|
+
|
|
317
460
|
|
|
318
461
|
# Token flags
|
|
319
462
|
## General - https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/format/token
|
|
320
|
-
### Online tracking
|
|
321
463
|
TOKENFLAG_ONLINE_TRACKING = 0x100
|
|
322
|
-
|
|
464
|
+
"""Online tracking"""
|
|
465
|
+
|
|
323
466
|
TOKENFLAG_VIEW_ACCESS = 0x200
|
|
324
|
-
|
|
467
|
+
"""View access to most data"""
|
|
468
|
+
|
|
325
469
|
TOKENFLAG_MANAGE_NONSENSITIVE = 0x400
|
|
326
|
-
|
|
470
|
+
"""Modification of non-sensitive data"""
|
|
471
|
+
|
|
327
472
|
TOKENFLAG_MANAGE_SENSITIVE = 0x800
|
|
328
|
-
|
|
473
|
+
"""Modification of sensitive data"""
|
|
474
|
+
|
|
329
475
|
TOKENFLAG_MANAGE_CRITICAL = 0x1000
|
|
330
|
-
|
|
476
|
+
"""Modification of critical data, including message deletion"""
|
|
477
|
+
|
|
331
478
|
TOKENFLAG_COMMUNICATION = 0x2000
|
|
332
|
-
|
|
479
|
+
"""Modification of communication data"""
|
|
480
|
+
|
|
333
481
|
TOKENFLAG_MANAGE_ALL = -1
|
|
482
|
+
"""Unlimited operation as authorized user"""
|
|
File without changes
|
{python_terminusgps-20.5.1.dist-info → python_terminusgps-20.5.3.dist-info}/licenses/COPYING
RENAMED
|
File without changes
|