python-terminusgps 1.2.2__py3-none-any.whl → 1.3.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,10 +1,11 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 1.2.2
3
+ Version: 1.3.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://app.terminusgps.com/docs/apps/python-terminusgps/index.html
6
6
  Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
7
7
  Author-email: Blake Nall <blake@terminusgps.com>
8
+ License-File: COPYING
8
9
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
9
10
  Classifier: Operating System :: OS Independent
10
11
  Classifier: Programming Language :: Python :: 3
@@ -4,7 +4,7 @@ terminusgps/authorizenet/auth.py,sha256=TBq_PY_-kUlg7ZOK4iWxJbpOnMkM5170j3ZyWSsu
4
4
  terminusgps/aws/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  terminusgps/aws/secrets.py,sha256=kgRA77rs0mD4berWRLkPtJLOe4Grf--o5f8NzwQqXCk,360
6
6
  terminusgps/wialon/__init__.py,sha256=vDlkEycUXBKRaZHJXpZIKis3v3Lmp1qjt9FNx3PtjZk,166
7
- terminusgps/wialon/constants.py,sha256=CoYo2knzROOZkQXom_n0Lz-zOW_jJ8B1HbGGvnRW49Y,1368
7
+ terminusgps/wialon/constants.py,sha256=dsQaNt3TIjIZbr_m94KmBGFdrqe6HER2r6lol3X8QpU,2802
8
8
  terminusgps/wialon/errors.py,sha256=AFnu6RHPFlJ6x3zAC-iKn4x_8PyUgheY2IOSEv02Sp4,880
9
9
  terminusgps/wialon/flags.py,sha256=-OoH-eZM54yjRqxsAXL8VImdQu_7C0OAxCrFqaCEuko,13510
10
10
  terminusgps/wialon/session.py,sha256=A8vJbofARlOMXxc_ihSbgPSPM5B1tRtS8EjvNRB2wS8,2327
@@ -17,7 +17,7 @@ terminusgps/wialon/items/route.py,sha256=NbiMfo_FRM6HrA1iWXN3v3bb927mWSanDgS3eho
17
17
  terminusgps/wialon/items/unit.py,sha256=7t6v1IOSmbdXUy1nDseQB8GghcqYfykTwcot02ndzZg,2822
18
18
  terminusgps/wialon/items/unit_group.py,sha256=ru81kbkVF2OCTONBP1MXrgxEcOasYL3UerNz13mvy4c,2648
19
19
  terminusgps/wialon/items/user.py,sha256=GmwE4Lblh7M2XjaEz4amd_pa5XlbIfRnj8nGEcJ_ehc,2913
20
- python_terminusgps-1.2.2.dist-info/METADATA,sha256=yAfchUnXMEIXRDSEYtskG_Vf1hPk2MTvimPiGUj9rnM,860
21
- python_terminusgps-1.2.2.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
22
- python_terminusgps-1.2.2.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
23
- python_terminusgps-1.2.2.dist-info/RECORD,,
20
+ python_terminusgps-1.3.0.dist-info/METADATA,sha256=5TowQW1zR0gbu-UlFRED9nFMUioO7HbMh5DL_iZTuik,882
21
+ python_terminusgps-1.3.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
22
+ python_terminusgps-1.3.0.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
23
+ python_terminusgps-1.3.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.26.3
2
+ Generator: hatchling 1.27.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,5 +1,42 @@
1
+ from django.db import models
2
+ from django.utils.translation import gettext_lazy as _
1
3
  from terminusgps.wialon import flags
2
4
 
5
+
6
+ class WialonCommandName(models.TextChoices):
7
+ SUB_BASIC = "Basic", _("Basic Subscription")
8
+ SUB_STANDARD = "Standard", _("Standard Subscription")
9
+ SUB_PREMIUM = "Premium", _("Premium Subscription")
10
+ STARTER_DISABLED = "Starter Disable On", _("Disable Starter")
11
+ STARTER_ENABLED = "Starter Disable Off", _("Enable Starter")
12
+ ENABLE = "On", _("Enable")
13
+ DISABLE = "Off", _("Disable")
14
+
15
+
16
+ class WialonCommandType(models.TextChoices):
17
+ ENGINE_BLOCK = "block_engine", _("Block Engine")
18
+ ENGINE_UNBLOCK = "unblock_engine", _("Unblock Engine")
19
+ CUSTOM_MSG = "custom_msg", _("Custom Message")
20
+ DRIVER_MSG = "driver_msg", _("Message to Driver")
21
+ DOWNLOAD_MSG = "download_msgs", _("Download messages")
22
+ QUERY_POS = "query_pos", _("Query Position")
23
+ QUERY_PHOTO = "query_photo", _("Query Snapshot")
24
+ OUTPUT_ON = "output_on", _("Activate Output")
25
+ OUTPUT_OFF = "output_off", _("Deactive Output")
26
+ SEND_POS = "send_position", _("Send Coordinates")
27
+ SET_REPORT_INT = "set_report_interval", _("Set Data Transfer Interval")
28
+ UPLOAD_CFG = "upload_cfg", _("Upload Configuration")
29
+ UPLOAD_SW = "upload_sw", _("Upload Firmware")
30
+
31
+
32
+ class WialonCommandLink(models.TextChoices):
33
+ AUTO = "", _("Auto")
34
+ TCP = "tcp", _("TCP")
35
+ UDP = "udp", _("UDP")
36
+ VRT = "vrt", _("Virtual")
37
+ GSM = "gsm", _("SMS")
38
+
39
+
3
40
  ACCESSMASK_UNIT_BASIC: int = sum(
4
41
  [
5
42
  flags.ACCESSFLAG_VIEW_ITEM_BASIC,