python-terminusgps 49.1.0__py3-none-any.whl → 49.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.
- {python_terminusgps-49.1.0.dist-info → python_terminusgps-49.3.0.dist-info}/METADATA +1 -1
- {python_terminusgps-49.1.0.dist-info → python_terminusgps-49.3.0.dist-info}/RECORD +6 -6
- terminusgps/authorizenet/constants.py +18 -0
- terminusgps/wialon/session.py +12 -0
- {python_terminusgps-49.1.0.dist-info → python_terminusgps-49.3.0.dist-info}/WHEEL +0 -0
- {python_terminusgps-49.1.0.dist-info → python_terminusgps-49.3.0.dist-info}/licenses/COPYING +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 49.
|
|
3
|
+
Version: 49.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://terminusgps.github.io/python-terminusgps
|
|
6
6
|
Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
|
|
@@ -3,7 +3,7 @@ terminusgps/default_settings.py,sha256=QizHKYUN9637Hs5eqi70S-Qj4Hvvu2Ds-a1mWcJ9n
|
|
|
3
3
|
terminusgps/mixins.py,sha256=6moOXJaFSvJ2Ul7P5jaEiXjVH4sOHGtWw4SVBy8BIg4,1020
|
|
4
4
|
terminusgps/validators.py,sha256=ZO3ychuBfpGTLsXFU_PFVMkMOyE1fJIsQh2hYsGDjKM,9508
|
|
5
5
|
terminusgps/authorizenet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
terminusgps/authorizenet/constants.py,sha256=
|
|
6
|
+
terminusgps/authorizenet/constants.py,sha256=AfRP-Ta-bZW3LPagGuSqHlXUdANofgL6WaWwoi14As4,3371
|
|
7
7
|
terminusgps/authorizenet/service.py,sha256=jjYo1vLgTZSXVNeBY6uKSma94AgEj3Q5xOAT5wUB6ko,4260
|
|
8
8
|
terminusgps/authorizenet/api/__init__.py,sha256=VXR4Yco1yz5R-R7vgaH2zTP9VFqzfvvGy_XJVjyb3i0,154
|
|
9
9
|
terminusgps/authorizenet/api/address_profiles.py,sha256=VouUN6dIxlnuE3qEiacFqqDBi_VtwvSbsELqTqFZ0BE,4746
|
|
@@ -17,7 +17,7 @@ terminusgps/tests/wialon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
17
17
|
terminusgps/wialon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
18
|
terminusgps/wialon/constants.py,sha256=fs0KpTSEBddYKgvuB6OZfy_JCIgKoiupQJxx53EBg8k,15486
|
|
19
19
|
terminusgps/wialon/flags.py,sha256=M50EdhxQ8IMnJnU0mrHK7-h8Asc6tvNiTOOfd1dBW6A,12815
|
|
20
|
-
terminusgps/wialon/session.py,sha256=
|
|
20
|
+
terminusgps/wialon/session.py,sha256=FI8Kf5saa_nHb_doug7aV8M2JssArQgJ4lOoXnI1BCo,7115
|
|
21
21
|
terminusgps/wialon/utils.py,sha256=LlXiqUFrIkpIl2LX_aBcwpJVp5gzjulWM8udMUodF3U,18187
|
|
22
22
|
terminusgps/wialon/items/__init__.py,sha256=RTiY9ziXqKCB8VWGoExOIErDlUMBBfzzsA7nlOlCZ2w,41
|
|
23
23
|
terminusgps/wialon/items/account.py,sha256=eN9oOuXReVR_x5P9HKg2xlk6vk7FlVnki7bjzlzaWg4,7868
|
|
@@ -29,7 +29,7 @@ terminusgps/wialon/items/route.py,sha256=9hmRBEFRJF3lKukv_y3blZxqxv75YgFCcRALrU6
|
|
|
29
29
|
terminusgps/wialon/items/unit.py,sha256=B5iuGEghu89SL8KzYLUytYNRa8cogsVtf-bJ_RybPTA,5522
|
|
30
30
|
terminusgps/wialon/items/unit_group.py,sha256=MIR0x5IlTjcnwx8Y9wXLNTql-wwVVj7NCe7dL2vOw4c,2131
|
|
31
31
|
terminusgps/wialon/items/user.py,sha256=CRSICiJ-qzybEO_gXuKyzW5oa2RQeIp0SzX9ARcdME4,5151
|
|
32
|
-
python_terminusgps-49.
|
|
33
|
-
python_terminusgps-49.
|
|
34
|
-
python_terminusgps-49.
|
|
35
|
-
python_terminusgps-49.
|
|
32
|
+
python_terminusgps-49.3.0.dist-info/METADATA,sha256=kHNXYx-CE88YYRDWnfvvW6rYKqxRjZQhKi_6IvNPxZI,973
|
|
33
|
+
python_terminusgps-49.3.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
34
|
+
python_terminusgps-49.3.0.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
35
|
+
python_terminusgps-49.3.0.dist-info/RECORD,,
|
|
@@ -4,6 +4,24 @@ from django.db import models
|
|
|
4
4
|
from django.utils.translation import gettext_lazy as _
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
class BankAccountType(models.TextChoices):
|
|
8
|
+
CHECKING = "checking", _("Checking account")
|
|
9
|
+
"""Checking account."""
|
|
10
|
+
SAVINGS = "savings", _("Savings account")
|
|
11
|
+
"""Savings account."""
|
|
12
|
+
BUSINESS_CHECKING = "businessChecking", _("Business checking account")
|
|
13
|
+
"""Business checking account."""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class ECheckType(models.TextChoices):
|
|
17
|
+
PPD = "PPD", _("Prearranged Payment and Deposit Entry")
|
|
18
|
+
"""Prearranged Payment and Deposit Entry."""
|
|
19
|
+
TEL = "TEL", _("Telephone-Initiated Entry")
|
|
20
|
+
"""Telephone-Initiated Entry."""
|
|
21
|
+
WEB = "WEB", _("Web-Initiated Entry")
|
|
22
|
+
"""Web-Initiated Entry."""
|
|
23
|
+
|
|
24
|
+
|
|
7
25
|
class CreditCardType(models.TextChoices):
|
|
8
26
|
AMEX = apicontractsv1.cardTypeEnum.AmericanExpress, _("American Express")
|
|
9
27
|
"""American express card."""
|
terminusgps/wialon/session.py
CHANGED
|
@@ -123,6 +123,7 @@ class WialonSession:
|
|
|
123
123
|
self.wialon_api.sid = response.get("eid")
|
|
124
124
|
self._username = response.get("au")
|
|
125
125
|
self._uid = response.get("user", {}).get("id")
|
|
126
|
+
self._gis_sid = response.get("gis_sid")
|
|
126
127
|
|
|
127
128
|
def auth_hash_login(
|
|
128
129
|
self, auth_hash: str, username: str, check_service: str | None = None
|
|
@@ -192,6 +193,17 @@ class WialonSession:
|
|
|
192
193
|
"""
|
|
193
194
|
return self._username
|
|
194
195
|
|
|
196
|
+
@property
|
|
197
|
+
def gis_sid(self) -> str | None:
|
|
198
|
+
"""
|
|
199
|
+
GIS session id for the Wialon API session.
|
|
200
|
+
|
|
201
|
+
:type: str | None
|
|
202
|
+
:value: None
|
|
203
|
+
|
|
204
|
+
"""
|
|
205
|
+
return self._gis_sid
|
|
206
|
+
|
|
195
207
|
@property
|
|
196
208
|
def id(self) -> str | None:
|
|
197
209
|
"""
|
|
File without changes
|
{python_terminusgps-49.1.0.dist-info → python_terminusgps-49.3.0.dist-info}/licenses/COPYING
RENAMED
|
File without changes
|