python-terminusgps 40.1.4__py3-none-any.whl → 41.0.0__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.

Potentially problematic release.


This version of python-terminusgps might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 40.1.4
3
+ Version: 41.0.0
4
4
  Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
5
5
  Project-URL: Documentation, https://docs.terminusgps.com
6
6
  Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
@@ -11,10 +11,8 @@ Classifier: Operating System :: OS Independent
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Programming Language :: Python :: 3.12
13
13
  Requires-Python: >=3.12
14
- Requires-Dist: argparse>=1.4.0
15
14
  Requires-Dist: authorizenet>=1.1.5
16
15
  Requires-Dist: django>=5.1.5
17
- Requires-Dist: pandas>=2.2.3
18
16
  Requires-Dist: python-wialon>=1.2.4
19
17
  Description-Content-Type: text/markdown
20
18
 
@@ -21,21 +21,21 @@ terminusgps/django/forms/forms.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
21
21
  terminusgps/django/forms/renderer.py,sha256=QSLQ94Ff7ZaV1jD6wAL-ltvdKIblED8Wsv5EXvSbUJ4,394
22
22
  terminusgps/django/forms/widgets.py,sha256=No4hPQ-BK5rrotaQ5iJEjWo8quYIPNf_1C2y4OAIxro,2037
23
23
  terminusgps/wialon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
- terminusgps/wialon/constants.py,sha256=05pLc_0S-x0tT87cQcxOmr8plesjOQxoXfUdjIHwI90,7732
24
+ terminusgps/wialon/constants.py,sha256=p2BhopeE6lXzjzdzb4ZKOz0rhJQIMUbXLrBy1Yzf57s,13730
25
25
  terminusgps/wialon/flags.py,sha256=M50EdhxQ8IMnJnU0mrHK7-h8Asc6tvNiTOOfd1dBW6A,12815
26
- terminusgps/wialon/renderer.py,sha256=ubmaLjdJyksO2qiWHbIBvYeDqlFya2br7oJYsdfoyV8,7046
27
26
  terminusgps/wialon/session.py,sha256=jQbPmQy6z7ghhgflRemybn8_uoCnCJzuTcbovLHFpI4,5795
28
- terminusgps/wialon/utils.py,sha256=bSptHwLqkYr-NUE5dflEKjGyQCOF1XGeurliKZ6GHDw,11606
27
+ terminusgps/wialon/utils.py,sha256=GH1l9IgO2cAp2_lI3K3R6MDy3BlFUiOQF4YFzqMx8l4,8891
29
28
  terminusgps/wialon/validators.py,sha256=o5__H9HHnGYth8QAKErJG5rEub7FnT8ue0S3IQ8b67o,4232
30
- terminusgps/wialon/items/__init__.py,sha256=3BVthghekMvhMQSzQgBMlD_phxmKSmp3Zvmo-z0O8Bs,211
31
- terminusgps/wialon/items/base.py,sha256=IXkypS0m26jsVZSrL32Av_qI_hP6kuLJEf45eR9HF-I,12031
32
- terminusgps/wialon/items/resource.py,sha256=FghpWFsseKyz1Rrt4uPJyicvdW1BgdMVmc9NppM-HpE,19389
33
- terminusgps/wialon/items/retranslator.py,sha256=2J1x7lNxRck-IEXrmJ7RM9bVL60mrZkfmczOSiUhiO8,3873
34
- terminusgps/wialon/items/route.py,sha256=2dEUK9o8nwutPE03W-5GUcZrjGvbwLoExVnFV9LyedE,1326
35
- terminusgps/wialon/items/unit.py,sha256=kee7dwpvjxbfDuRFzqbhKjLWjCN9iAimkjTyMilqKek,12124
36
- terminusgps/wialon/items/unit_group.py,sha256=HhYMZ9b7UATXeEgHkXN9r5-M_w82fabjDYADCUwBtxQ,4442
37
- terminusgps/wialon/items/user.py,sha256=pR6OTrm6f7Zo0J8eLvKtWVsdhGi430OxMsMMthGh8YE,5382
38
- python_terminusgps-40.1.4.dist-info/METADATA,sha256=VEcgYIHZ4kNMboOeoIqRkG4U4M8SiojRexFUpjbFCWw,1036
39
- python_terminusgps-40.1.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
40
- python_terminusgps-40.1.4.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
41
- python_terminusgps-40.1.4.dist-info/RECORD,,
29
+ terminusgps/wialon/items/__init__.py,sha256=d-KG8d9r2qLBkTueZQmBcab8OMZgZNEJAkhRsSqG7SM,246
30
+ terminusgps/wialon/items/account.py,sha256=OSTTbw-nBFqzL1AnGYQ7-Gaymr-S5wx1a0uDzOFlxCM,7888
31
+ terminusgps/wialon/items/base.py,sha256=Q8r6JYDQ8Jqccv1TcdSsGw7i7tIgEmoiqn8F3-yczfI,8629
32
+ terminusgps/wialon/items/resource.py,sha256=YSxcy5JTcC30qlAibjOBrX_mpg72kn-KIRlC62eTMBA,4517
33
+ terminusgps/wialon/items/retranslator.py,sha256=nJvYsvRCyb8hIx2qmUUcXfYeNiBUMW018xnOfv2w-Fg,1753
34
+ terminusgps/wialon/items/route.py,sha256=xixlex6bUeFHXucVQdbfQUSLxI1Rhwk6slhoFP2odp0,1307
35
+ terminusgps/wialon/items/unit.py,sha256=kfiqysdPxiU_8fHomKZEz3Ypbkaoc5HevOzpqr7R7rI,5189
36
+ terminusgps/wialon/items/unit_group.py,sha256=j1s2F72_jBevKNYNQmDm5Vi1o5R1RzJbYDDXg1vUF2Q,2134
37
+ terminusgps/wialon/items/user.py,sha256=hZlFeXCgOAdivl_Anjp_We6Cy5U8IxWNDAgm5MFZfp0,5194
38
+ python_terminusgps-41.0.0.dist-info/METADATA,sha256=dwd7pXLHXiJOnnjpQXSxdfXpavoPdQdNBHUqd7rbpe8,976
39
+ python_terminusgps-41.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
40
+ python_terminusgps-41.0.0.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
41
+ python_terminusgps-41.0.0.dist-info/RECORD,,
@@ -1,199 +1,317 @@
1
1
  import enum
2
- from typing import override
3
2
 
4
3
  from . import flags
5
4
 
6
5
 
7
- class WialonProfileField(enum.StrEnum):
8
- """
9
- Valid profile ids for Wialon objects.
10
-
11
- `Profile field reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/item/update_profile_field>`_.
6
+ class WialonLogAction(enum.StrEnum):
7
+ """Wialon `log actions <https://wialon-help.link/28412fdb>`_."""
12
8
 
9
+ CUSTOM_MSG = "custom_msg"
10
+ """Manual record: '%s'."""
11
+ CREATE_UNIT = "create_unit"
12
+ """Unit '%s' created."""
13
+ UPDATE_NAME = "update_name"
14
+ """Name changed from '%s' to '%s'."""
15
+ UPDATE_ACCESS = "update_access"
16
+ """Access to %d '%s' changed."""
17
+ UPDATE_UNIT_ICON = "update_unit_icon"
18
+ """Unit icon changed."""
19
+ UPDATE_UNIT_PASS = "update_unit_pass"
20
+ """Access password changed."""
21
+ UPDATE_UNIT_PHONE = "update_unit_phone"
22
+ """Phone number changed from '%s' to '%s'."""
23
+ UPDATE_UNIT_PHONE2 = "update_unit_phone2"
24
+ """Second phone number changed from '%s' to '%s'."""
25
+ UPDATE_UNIT_CALCFLAGS = "update_unit_calcflags"
26
+ """Calculation flags changed."""
27
+ UPDATE_UNIT_DRAT = "update_unit_drat"
28
+ """Driver activity source changed."""
29
+ UPDATE_UNIT_MILCOUNTER = "update_unit_milcounter"
30
+ """Mileage counter changed from %d %s to %d %s."""
31
+ UPDATE_UNIT_BYTECOUNTER = "update_unit_bytecounter"
32
+ """GPRS traffic counter changed from %d KB to %d KB."""
33
+ UPDATE_UNIT_EHCOUNTER = "update_unit_ehcounter"
34
+ """Engine hours counter changed from %.2f h to %.2f h."""
35
+ UPDATE_UNIT_UID = "update_unit_uid"
36
+ """Unique ID changed from '%s' to '%s'."""
37
+ UPDATE_UNIT_UID2 = "update_unit_uid2"
38
+ """Second unique ID changed from '%s' to '%s'."""
39
+ UPDATE_UNIT_HW = "update_unit_hw"
40
+ """Device type changed from '%s' to '%s'."""
41
+ UPDATE_UNIT_HW_CFG = "update_unit_hw_cfg"
42
+ """Device configuration changed."""
43
+ UPDATE_UNIT_FUEL_CFG = "udpate_unit_fuel_cfg"
44
+ """Fuel consumption settings changed."""
45
+ CREATE_SENSOR = "create_sensor"
46
+ """Sensor '%s' created."""
47
+ UPDATE_SENSOR = "update_sensor"
48
+ """Sensor '%s' modified."""
49
+ DELETE_SENSOR = "delete_sensor"
50
+ """Sensor '%s' deleted."""
51
+ CREATE_ALIAS = "create_alias"
52
+ """Command '%s' created."""
53
+ UPDATE_ALIAS = "update_alias"
54
+ """Command '%s' modified."""
55
+ DELETE_ALIAS = "delete_alias"
56
+ """Command '%s' deleted."""
57
+ CREATE_SERVICE_INTERVAL = "create_service_interval"
58
+ """Service interval '%s' created."""
59
+ UPDATE_SERVICE_INTERVAL = "update_service_interval"
60
+ """Service interval '%s' modified."""
61
+ DELETE_SERVICE_INTERVAL = "delete_service_interval"
62
+ """Service interval '%s' deleted."""
63
+ CREATE_CUSTOM_FIELD = "create_custom_field"
64
+ """Custom field '%s' created."""
65
+ UPDATE_CUSTOM_FIELD = "update_custom_field"
66
+ """Custom field '%s' modified."""
67
+ DELETE_CUSTOM_FIELD = "delete_custom_field"
68
+ """Custom field '%s' deleted."""
69
+ CREATE_ADMIN_FIELD = "create_admin_field"
70
+ """Admin field '%s' created."""
71
+ UPDATE_ADMIN_FIELD = "update_admin_field"
72
+ """Admin field '%s' modified."""
73
+ DELETE_ADMIN_FIELD = "delete_admin_field"
74
+ """Admin field '%s' deleted."""
75
+ UPDATE_PROFILE_FIELD = "update_profile_field"
76
+ """Profile field '%s' modified."""
77
+ DELETE_PROFILE_FIELD = "delete_profile_field"
78
+ """Profile field '%s' deleted."""
79
+ IMPORT_ITEM_CFG = "import_item_cfg"
80
+ """Properties imported."""
81
+ IMPORT_UNIT_CFG = "import_unit_cfg"
82
+ """Properties imported."""
83
+ EXPORT_UNIT_MSGS = "export_unit_msgs"
84
+ """Messages exported."""
85
+ IMPORT_UNIT_MSGS = "import_unit_msgs"
86
+ """Messages imported."""
87
+ DELETE_UNIT_MSG = "delete_unit_msg"
88
+ """Deleted %d message dated %s."""
89
+ DELETE_UNIT_MSGS = "delete_unit_msgs"
90
+ """Deleted %s %d messages."""
91
+ BIND_UNIT_DRIVER = "bind_unit_driver"
92
+ """Driver '%s' was assigned at '%s'."""
93
+ UNBIND_UNIT_DRIVER = "unbind_unit_driver"
94
+ """Driver '%s' was separated at '%s'."""
95
+ BIND_UNIT_TAG = "bind_unit_tag"
96
+ """Passenger '%s' was assigned at '%s'."""
97
+ UNBIND_UNIT_TAG = "unbind_unit_tag"
98
+ """Passenger '%s' was separated at '%s'."""
99
+ BIND_UNIT_TRAILER = "bind_unit_trailer"
100
+ """Trailer '%s' was assigned at '%s'."""
101
+ UNBIND_UNIT_TRAILER = "unbind_unit_trailer"
102
+ """Trailer '%s' was separated at '%s'."""
103
+ UPDATE_UNIT_REPORT_CFG = "update_unit_report_cfg"
104
+ """Unit report settings changed."""
105
+ UPDATE_MSGS_FILTER_CFG = "update_msgs_filter_cfg"
106
+ """Message filtration settings changed."""
107
+ DELETE_ITEM = "delete_item"
108
+ """Item '%s' deleted."""
109
+ CREATE_USER = "create_user"
110
+ """User '%s' created."""
111
+ UPDATE_HOSTS_MASK = "update_hosts_mask"
112
+ """Host mask changed to '%s'."""
113
+ UPDATE_USER_PASS = "update_user_pass"
114
+ """User password changed."""
115
+ UPDATE_USER_FLAGS = "update_user_flags"
116
+ """User flags changed."""
117
+ UPDATE_USER_LOCALE = "update_user_locale"
118
+ """First day of week changed."""
119
+ CREATE_USER_NOTIFY = "create_user_notify"
120
+ """Notice to the user: '%s'."""
121
+ DELETE_USER_NOTIFY = "delete_user_notify"
122
+ """User notification '%s' deleted."""
123
+ CREATE_GROUP = "create_group"
124
+ """Unit group '%s' created."""
125
+ UNITS_GROUP = "units_group"
13
126
  """
14
-
15
- VEHICLE_CLASS = "vehicle_class"
16
- """`Vehicle Type <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/file/type_library>`_."""
17
- VIN = "vin"
18
- """Vin number."""
19
- REGISTRATION_PLATE = "registration_plate"
20
- """Registration plate."""
21
- BRAND = "brand"
22
- """Brand."""
23
- MODEL = "model"
24
- """Model."""
25
- YEAR = "year"
26
- """Year."""
27
- COLOR = "color"
28
- """Color."""
29
- ENGINE_MODEL = "engine_model"
30
- """Engine model."""
31
- ENGINE_POWER = "engine_power"
32
- """Engine power, in kW."""
33
- ENGINE_DISPLACEMENT = "engine_displacement"
34
- """Engine displacement, in cm."""
35
- PRIMARY_FUEL_TYPE = "primary_fuel_type"
36
- """Primary fuel type."""
37
- CARGO_TYPE = "cargo_type"
38
- """Cargo type."""
39
- CARRYING_CAPACITY = "carrying_capacity"
40
- """Carrying capacity, in tons."""
41
- WIDTH = "width"
42
- """Width, in mm."""
43
- HEIGHT = "height"
44
- """Height, in mm."""
45
- DEPTH = "depth"
46
- """Depth, in mm."""
47
- EFFECTIVE_CAPACITY = "effective_capacity"
48
- """Effective capacity."""
49
- GROSS_VEHICLE_WEIGHT = "gross_vehicle_weight"
50
- """Gross vehicle weight."""
51
- AXLES = "axles"
52
- """Axles."""
53
- VEHICLE_TYPE = "vehicle_type"
54
- """Comment."""
55
-
56
-
57
- class WialonGeofenceType(enum.IntEnum):
127
+ Unit added to the group '%s'.
128
+ Unit removed from the group '%s'.
129
+ Units in group updated.
58
130
  """
59
- A type of Wialon geofence.
60
-
61
- `Wialon geofence type reference <https://sdk.wialon.com/wiki/en/kit/remoteapi/apiref/resource/update_zone>`_
62
-
131
+ UPDATE_DRIVER_UNITS = "update_driver_units"
63
132
  """
64
-
65
- LINE = 1
66
- """Line geofence."""
67
- POLYGON = 2
68
- """Polygon geofence."""
69
- CIRCLE = 3
70
- """Circular geofence."""
71
-
72
-
73
- class WialonMeasurementUnit(enum.IntEnum):
133
+ Unit attached to the resource of drivers '%s'.
134
+ Unit removed from the resource of drivers '%s'.
135
+ Automatic assignment list of drivers updated.
74
136
  """
75
- A Wialon measurement unit.
76
-
77
- `Wialon measurement unit reference <https://sdk.wialon.com/wiki/en/local/remoteapi1904/apiref/item/update_measure_units>`_
78
-
137
+ UPDATE_TRAILER_UNITS = "update_trailer_units"
79
138
  """
80
-
81
- METRIC = 0
82
- """Metric system."""
83
- US = 1
84
- """US measurement system."""
85
- IMPERIAL = 2
86
- """Imperial measurement system."""
87
-
88
-
89
- class WialonItemsType(enum.StrEnum):
139
+ Unit attached to the resource of trailers '%s'.
140
+ Unit removed from the resource of trailers '%s'.
141
+ Automatic assignment list of trailers updated.
90
142
  """
91
- Wialon item types for Wialon API calls.
92
-
93
- `Wialon Item Types Reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/search_items>`_
94
-
143
+ CREATE_RESOURCE = "create_resource"
144
+ """Resource '%s' created."""
145
+ CREATE_ZONE = "create_zone"
146
+ """Geofence '%s' created."""
147
+ UPDATE_ZONE = "update_zone"
148
+ """Geofence '%s' updated."""
149
+ DELETE_ZONE = "delete_zone"
150
+ """Geofence '%s' deleted."""
151
+ UPDATE_TRACK_COLOR_SETTING = "update_track_color_setting"
95
152
  """
96
-
97
- HARDWARE = "avl_hw"
98
- """A hardware type."""
99
- RESOURCE = "avl_resource"
100
- """A resource."""
101
- RETRANSLATOR = "avl_retranslator"
102
- """A retranslator."""
103
- ROUTE = "avl_route"
104
- """A route."""
105
- UNIT = "avl_unit"
106
- """A unit."""
107
- UNIT_GROUP = "avl_unit_group"
108
- """A unit group."""
109
- USER = "user"
110
- """A user."""
111
-
112
-
113
- class WialonItemProperty(enum.StrEnum):
153
+ Track colour settings changed to "By trips".
154
+ Track colour settings changed to "Single".
155
+ Track colour settings changed to "By speed".
156
+ Track colour settings changed to "By sensor".
114
157
  """
115
- Wialon item properties for Wialon API calls.
116
-
117
- `Wialon Item Property Reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/search_items>`_
118
-
158
+ CREATE_JOB = "create_job"
159
+ """Job '%s' created."""
160
+ SWITCH_JOB = "switch_job"
161
+ """Job '%s switched on/off."""
162
+ UPDATE_JOB = "update_job"
163
+ """Job '%s' updated."""
164
+ DELETE_JOB = "delete_job"
165
+ """Job '%s' deleted."""
166
+ CREATE_NOTIFY = "create_notify"
167
+ """Notification '%s' created."""
168
+ SWITCH_NOTIFY = "switch_notify"
169
+ """Notification '%s' switched on/off."""
170
+ UPDATE_NOTIFY = "update_notify"
171
+ """Notification '%s' updated."""
172
+ DELETE_NOTIFY = "delete_notify"
173
+ """Notification '%s' deleted."""
174
+ CREATE_DRIVER = "create_driver"
175
+ """Driver '%s' created."""
176
+ UPDATE_DRIVER = "update_driver"
177
+ """Driver '%s' updated."""
178
+ DELETE_DRIVER = "delete_driver"
179
+ """Driver '%s' deleted."""
180
+ CREATE_TRAILER = "create_trailer"
181
+ """Trailer '%s' created."""
182
+ UPDATE_TRAILER = "update_trailer"
183
+ """Trailer '%s' updated."""
184
+ DELETE_TRAILER = "delete_trailer"
185
+ """Trailer '%s' deleted."""
186
+ CREATE_DRIVERS_GROUP = "create_drivers_group"
187
+ """Group of drivers '%s' created."""
188
+ UPDATE_DRIVERS_GROUP = "update_drivers_group"
189
+ """Group of drivers '%s' updated."""
190
+ DELETE_DRIVERS_GROUP = "delete_drivers_group"
191
+ """Group of drivers '%s' deleted."""
192
+ CREATE_TRAILERS_GROUP = "create_trailers_group"
193
+ """Group of trailers '%s' created."""
194
+ UPDATE_TRAILERS_GROUP = "update_trailers_group"
195
+ """Group of trailers '%s' updated."""
196
+ DELETE_TRAILERS_GROUP = "delete_trailers_group"
197
+ """Group of trailers '%s' deleted."""
198
+ CREATE_REPORT = "create_report"
199
+ """Report template '%s' created."""
200
+ UPDATE_REPORT = "update_report"
201
+ """Report template '%s' updated."""
202
+ DELETE_REPORT = "delete_report"
203
+ """Report template '%s' deleted."""
204
+ IMPORT_ZONES = "import_zones"
205
+ """Geofences imported."""
206
+ CREATE_RETRANSLATOR = "create_retranslator"
207
+ """Retranslator '%s' created."""
208
+ UPDATE_RETRANSLATOR = "update_retranslator"
209
+ """Properties updated."""
210
+ UNITS_RETRANSLATOR = "units_retranslator"
211
+ """Units updated."""
212
+ SWITCH_RETRANSLATOR = "switch_retranslator"
213
+ """Started/stopped."""
214
+ MSGS_HISTORY_RETRANSLATOR = "msgs_history_retranslator"
215
+ """Past period retranslator started/stopped."""
216
+ CREATE_ROUTE = "create_route"
217
+ """Route '%s' created."""
218
+ UPDATE_ROUTE_POINTS = "update_route_points"
219
+ """Check points updated."""
220
+ UPDATE_ROUTE_CFG = "update_route_cfg"
221
+ """Properties updated."""
222
+ CREATE_ROUND = "create_round"
223
+ """Ride '%s' created."""
224
+ UPDATE_ROUND = "update_round"
225
+ """Ride '%s' updated."""
226
+ DELETE_ROUND = "delete_round"
227
+ """Ride '%s' deleted."""
228
+ CREATE_SCHEDULE = "create_schedule"
229
+ """Schedule '%s' created."""
230
+ UPDATE_SCHEDULE = "update_schedule"
231
+ """Schedule '%s' updated."""
232
+ DELETE_SCHEDULE = "delete_schedule"
233
+ """Schedule '%s' deleted."""
234
+ CREATE_ACCOUNT = "create_account"
235
+ """Account '%s' created."""
236
+ DELETE_ACCOUNT = "delete_account"
237
+ """Account '%s' deleted."""
238
+ CHANGE_ACCOUNT = "change_account"
239
+ """Account changed from '%s' to '%s'."""
240
+ SWITCH_ACCOUNT = "switch_account"
241
+ """Account blocked/unblocked."""
242
+ UPDATE_DEALER_RIGHTS = "update_dealer_rights"
243
+ """Dealer rights enabled/disabled."""
244
+ DO_PAYMENT = "do_payment"
245
+ """Payment or days registered."""
246
+ UPDATE_ACCOUNT_FLAGS = "update_account_flags"
247
+ """Account flags changed."""
248
+ UPDATE_ACCOUNT_BLOCK_BALANCE = "update_account_block_balance"
249
+ """Balance to block account changed."""
250
+ UPDATE_ACCOUNT_DENY_BALANCE = "update_account_deny_balance"
251
+ """Balance to limit activity changed."""
252
+ UPDATE_ACCOUNT_MIN_DAYS = "update_account_min_days"
253
+ """Minimum days counter changed."""
254
+ UPDATE_ACCOUNT_PLAN = "update_account_plan"
255
+ """Billing plan changed to '%s'."""
256
+ UPDATE_ACCOUNT_HISTORY_PERIOD = "update_account_history_period"
257
+ """History period changed to '%s'."""
258
+ UPDATE_ACCOUNT_SUBPLANS = "update_account_subplans"
259
+ """List of subplans changed."""
260
+ UPDATE_SERVICE = "update_service"
261
+ """Service '%s' updated."""
262
+ DELETE_DRIVER_MSG = "delete_driver_msg"
263
+ """Message dated %s from driver '%s' deleted."""
264
+ DELETE_TRAILER_MSG = "delete_trailer_msg"
265
+ """Message dated %s from trailer '%s' deleted."""
266
+ CONVERT_MEASURE_UNITS = "convert_measure_units"
267
+ """
268
+ Measurement system changed to %s.
269
+ Conversion to the %s.
270
+ """
271
+ DELETE_ZONES_GROUP = "delete_zones_group"
272
+ """Group of geofences deleted."""
273
+ CREATE_ZONES_GROUP = "create_zones_group"
274
+ """Group of geofences '%s' created."""
275
+ UPDATE_ZONES_GROUP = "update_zones_group"
276
+ """Group of geofences '%s' updated."""
277
+ TRAILER_RESET_IMAGE = "trailer_reset_image"
278
+ """Trailer '%s' updated."""
279
+ DRIVER_RESET_IMAGE = "driver_reset_image"
280
+ """Driver '%s' updated."""
281
+ ZONE_RESET_IMAGE = "zone_reset_image"
282
+ """Geofence '%s' updated."""
283
+ CREATE_ORDER = "create_order"
284
+ """Order '%s' created."""
285
+ UPDATE_ORDER = "update_order"
286
+ """Order '%s' updated."""
287
+ DELETE_ORDER = "delete_order"
288
+ """Order '%s' deleted."""
289
+ CREATE_ORDER_ROUTE = "create_order_route"
290
+ """Order route '%s' created."""
291
+ UPDATE_ORDER_ROUTE = "update_order_route"
292
+ """Order route '%s' updated."""
293
+ DELETE_ORDER_ROUTE = "delete_order_route"
294
+ """Order route '%s' deleted."""
295
+ CREATE_TAG = "create_tag"
296
+ """Passenger '%s' created."""
297
+ UPDATE_TAG = "update_tag"
298
+ """Passenger '%s' updated."""
299
+ TAG_RESET_IMAGE = "tag_reset_image"
300
+ """Passenger '%s' updated."""
301
+ DELETE_TAG = "delete_tag"
302
+ """Passenger '%s' deleted."""
303
+ DELETE_TAG_MSG = "delete_tag_msg"
304
+ """Message dated %s from passenger '%s' deleted."""
305
+ UPDATE_TAG_UNITS = "update_tag_units"
306
+ """Automatic assignment list of passengers updated."""
307
+ CRITERIA_UPDATED = "criteria_updated"
308
+ """Criteria updated."""
309
+ SET_ACTIVE = "set_active"
310
+ """
311
+ Unit was deactivated.
312
+ Unit was activated.
313
+ Unit was activated automatically.
119
314
  """
120
-
121
- ACCOUNT_BALANCE = "sys_account_balance"
122
- """Current account balance."""
123
- ACCOUNT_BLOCKED = "sys_account_disabled"
124
- """Whether or not the account is blocked."""
125
- ACCOUNT_BLOCKED_TIME = "rel_account_disabled_mod_time"
126
- """Time (UNIX timestamp) the account was last blocked."""
127
- ACCOUNT_DAYS = "sys_account_days"
128
- """Number of days on the account."""
129
- ACCOUNT_DEALER_RIGHTS = "sys_account_enable_parent"
130
- """Whether or not the account has dealer rights."""
131
- ACCOUNT_ID = "sys_billing_account_guid"
132
- """Account id."""
133
- ACCOUNT_NAME = "rel_billing_account_name"
134
- """Account name."""
135
- ACCOUNT_NUM_UNITS = "rel_account_units_usage"
136
- """Number of units in the account."""
137
- ACCOUNT_PARENT_NAME = "rel_billing_parent_account_name"
138
- """Parent account name for the account."""
139
- ACCOUNT_PLAN_NAME = "rel_billing_plan_name"
140
- """Billing plan assigned to the account."""
141
- ADMIN_FIELD_NAME = "rel_adminfield_name"
142
- """Admin field name."""
143
- ADMIN_FIELD_NAME_VALUE = "rel_adminfield_name_value"
144
- """Admin field name/value, format: ``'name:value'``."""
145
- ADMIN_FIELD_VALUE = "rel_adminfield_value"
146
- """Admin field value."""
147
- CREATION_TIME = "rel_creation_time"
148
- """Time (UNIX timestamp) the object was created."""
149
- CREATOR_ID = "sys_user_creator"
150
- """Creator user id."""
151
- CREATOR_NAME = "rel_user_creator_name"
152
- """Creator user name."""
153
- CUSTOM_FIELD_NAME = "rel_customfield_name"
154
- """Custom field name."""
155
- CUSTOM_FIELD_NAME_VALUE = "rel_customfield_name_value"
156
- """Custom field name/value, format: ``'name:value'``."""
157
- CUSTOM_FIELD_VALUE = "rel_customfield_value"
158
- """Custom field value."""
159
- GROUP_NUM_UNITS = "rel_group_unit_count"
160
- """Number of units in the group."""
161
- HARDWARE_ID = "rel_hw_type_id"
162
- """Hardware id."""
163
- HARDWARE_NAME = "rel_hw_type_name"
164
- """Hardware name."""
165
- HARDWARE_STATE = "sys_comm_state"
166
- """Hardware state."""
167
- ID = "sys_id"
168
- """Object id."""
169
- LAST_LOGIN_TIME = "login_date"
170
- """Time (UNIX timestamp) the user last logged in."""
171
- LAST_MESSAGE_TIME = "rel_last_msg_date"
172
- """Time (UNIX timestamp) of the last message."""
173
- NAME = "sys_name"
174
- """Object name."""
175
- PHONE = "sys_phone_number"
176
- """Object phone number."""
177
- PHONE2 = "sys_phone_number2"
178
- """Secondary (optional) object phone number."""
179
- PROFILE_FIELD = "profilefield"
180
- """Profile field."""
181
- PROFILE_FIELD_NAME = "rel_profilefield_name"
182
- """Profile field name."""
183
- PROFILE_FIELD_NAME_VALUE = "rel_profilefield_name_value"
184
- """Profile field name/value, format: ``'name:value'``"""
185
- PROFILE_FIELD_VALUE = "rel_profilefield_value"
186
- """Profile field value."""
187
- RESOURCE_IS_ACCOUNT = "rel_is_account"
188
- """Whether or not the resource is an account."""
189
- RETRANSLATOR_ENABLED = "retranslator_enabled"
190
- """Whether or not a retranslator is enabled."""
191
- UNIQUE_ID = "sys_unique_id"
192
- """Object unique id."""
193
-
194
- @override
195
- def __add__(self, other: str) -> str:
196
- return ",".join([super().__str__(), str(other)])
197
315
 
198
316
 
199
317
  ACCESSMASK_RESOURCE_BASIC: int = sum(
@@ -1,3 +1,4 @@
1
+ from .account import WialonAccount
1
2
  from .resource import WialonResource
2
3
  from .retranslator import WialonRetranslator
3
4
  from .route import WialonRoute