python-terminusgps 42.0.0__tar.gz → 42.0.2__tar.gz

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.
Files changed (70) hide show
  1. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/PKG-INFO +1 -1
  2. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/conf.py +1 -1
  3. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/pyproject.toml +1 -1
  4. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/items/factory.py +62 -0
  5. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/uv.lock +1 -1
  6. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/.gitignore +0 -0
  7. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/COPYING +0 -0
  8. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/README.md +0 -0
  9. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/Makefile +0 -0
  10. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/make.bat +0 -0
  11. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/authorizenet/auth.rst +0 -0
  12. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/authorizenet/constants.rst +0 -0
  13. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/authorizenet/controllers.rst +0 -0
  14. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/authorizenet/examples.rst +0 -0
  15. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/authorizenet/index.rst +0 -0
  16. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/authorizenet/profiles.rst +0 -0
  17. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/authorizenet/subscriptions.rst +0 -0
  18. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/authorizenet/utils.rst +0 -0
  19. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/authorizenet/validators.rst +0 -0
  20. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/django/forms.rst +0 -0
  21. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/django/index.rst +0 -0
  22. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/django/mixins.rst +0 -0
  23. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/django/settings.rst +0 -0
  24. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/django/validators.rst +0 -0
  25. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/index.rst +0 -0
  26. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/wialon/constants.rst +0 -0
  27. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/wialon/errors.rst +0 -0
  28. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/wialon/examples.rst +0 -0
  29. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/wialon/flags.rst +0 -0
  30. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/wialon/index.rst +0 -0
  31. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/wialon/items.rst +0 -0
  32. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/wialon/session.rst +0 -0
  33. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/docs/source/wialon/utils.rst +0 -0
  34. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/__init__.py +0 -0
  35. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/authorizenet/__init__.py +0 -0
  36. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/authorizenet/auth.py +0 -0
  37. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/authorizenet/constants.py +0 -0
  38. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/authorizenet/controllers.py +0 -0
  39. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/authorizenet/profiles/__init__.py +0 -0
  40. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/authorizenet/profiles/addresses.py +0 -0
  41. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/authorizenet/profiles/customers.py +0 -0
  42. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/authorizenet/profiles/payments.py +0 -0
  43. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/authorizenet/subscriptions.py +0 -0
  44. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/authorizenet/utils.py +0 -0
  45. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/authorizenet/validators.py +0 -0
  46. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/django/__init__.py +0 -0
  47. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/django/forms/__init__.py +0 -0
  48. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/django/forms/fields.py +0 -0
  49. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/django/forms/forms.py +0 -0
  50. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/django/forms/renderer.py +0 -0
  51. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/django/forms/widgets.py +0 -0
  52. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/django/mixins.py +0 -0
  53. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/django/settings.py +0 -0
  54. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/django/utils.py +0 -0
  55. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/django/validators.py +0 -0
  56. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/__init__.py +0 -0
  57. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/constants.py +0 -0
  58. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/flags.py +0 -0
  59. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/items/__init__.py +0 -0
  60. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/items/account.py +0 -0
  61. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/items/base.py +0 -0
  62. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/items/resource.py +0 -0
  63. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/items/retranslator.py +0 -0
  64. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/items/route.py +0 -0
  65. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/items/unit.py +0 -0
  66. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/items/unit_group.py +0 -0
  67. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/items/user.py +0 -0
  68. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/session.py +0 -0
  69. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/utils.py +0 -0
  70. {python_terminusgps-42.0.0 → python_terminusgps-42.0.2}/terminusgps/wialon/validators.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 42.0.0
3
+ Version: 42.0.2
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
@@ -18,7 +18,7 @@ django.setup()
18
18
  project = "python-terminusgps"
19
19
  copyright = "2025, Terminus GPS, LLC"
20
20
  author = "Terminus GPS, LLC"
21
- release = "42.0.0"
21
+ release = "42.0.2"
22
22
 
23
23
  # -- General configuration ---------------------------------------------------
24
24
  # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "python-terminusgps"
3
- version = "42.0.0"
3
+ version = "42.0.2"
4
4
  description = "Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more."
5
5
  readme = "README.md"
6
6
  authors = [ {name = "Blake Nall", email = "blake@terminusgps.com" } ]
@@ -1,3 +1,5 @@
1
+ from typing import Literal, overload
2
+
1
3
  from terminusgps.wialon.items.account import WialonAccount
2
4
  from terminusgps.wialon.items.base import WialonObject
3
5
  from terminusgps.wialon.items.resource import WialonResource
@@ -27,6 +29,66 @@ class WialonObjectFactory:
27
29
  # TODO: Add session refreshing
28
30
  self.session = session
29
31
 
32
+ @overload
33
+ def create(self, items_type: Literal["user"], *args, **kwargs) -> WialonUser: ...
34
+
35
+ @overload
36
+ def get(self, items_type: Literal["user"], id: int | str) -> WialonUser: ...
37
+
38
+ @overload
39
+ def create(
40
+ self, items_type: Literal["account"], *args, **kwargs
41
+ ) -> WialonAccount: ...
42
+
43
+ @overload
44
+ def get(self, items_type: Literal["account"], id: int | str) -> WialonAccount: ...
45
+
46
+ @overload
47
+ def create(
48
+ self, items_type: Literal["avl_resource"], *args, **kwargs
49
+ ) -> WialonResource: ...
50
+
51
+ @overload
52
+ def get(
53
+ self, items_type: Literal["avl_resource"], id: int | str
54
+ ) -> WialonResource: ...
55
+
56
+ @overload
57
+ def create(
58
+ self, items_type: Literal["avl_retranslator"], *args, **kwargs
59
+ ) -> WialonRetranslator: ...
60
+
61
+ @overload
62
+ def get(
63
+ self, items_type: Literal["avl_retranslator"], id: int | str
64
+ ) -> WialonRetranslator: ...
65
+
66
+ @overload
67
+ def create(
68
+ self, items_type: Literal["avl_route"], *args, **kwargs
69
+ ) -> WialonRoute: ...
70
+
71
+ @overload
72
+ def get(self, items_type: Literal["avl_route"], id: int | str) -> WialonRoute: ...
73
+
74
+ @overload
75
+ def create(
76
+ self, items_type: Literal["avl_unit"], *args, **kwargs
77
+ ) -> WialonUnit: ...
78
+
79
+ @overload
80
+ def get(self, items_type: Literal["avl_unit"], id: int | str) -> WialonUnit: ...
81
+
82
+ @overload
83
+ def create(
84
+ self, items_type: Literal["avl_unit_group"], *args, **kwargs
85
+ ) -> WialonUnitGroup: ...
86
+
87
+ @overload
88
+ def get(
89
+ self, items_type: Literal["avl_unit_group"], id: int | str
90
+ ) -> WialonUnitGroup: ...
91
+
30
92
  def create(self, items_type: str, *args, **kwargs) -> WialonObject:
31
93
  """Creates a Wialon object in Wialon and returns its Python equivalent."""
32
94
  cls = self._get_wialon_cls(items_type)
@@ -298,7 +298,7 @@ wheels = [
298
298
 
299
299
  [[package]]
300
300
  name = "python-terminusgps"
301
- version = "42.0.0"
301
+ version = "42.0.2"
302
302
  source = { editable = "." }
303
303
  dependencies = [
304
304
  { name = "authorizenet" },