python-terminusgps 50.1.1__tar.gz → 50.1.3__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 (44) hide show
  1. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/PKG-INFO +1 -1
  2. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/conf.py +1 -1
  3. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/pyproject.toml +1 -1
  4. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/authorizenet/api/address_profiles.py +24 -1
  5. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/uv.lock +13 -13
  6. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/.github/workflows/sphinx.yml +0 -0
  7. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/.gitignore +0 -0
  8. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/.python-version +0 -0
  9. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/COPYING +0 -0
  10. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/README.md +0 -0
  11. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/Makefile +0 -0
  12. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/make.bat +0 -0
  13. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/requirements.txt +0 -0
  14. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/authorizenet/api.rst +0 -0
  15. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/authorizenet/constants.rst +0 -0
  16. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/authorizenet/index.rst +0 -0
  17. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/authorizenet/service.rst +0 -0
  18. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/index.rst +0 -0
  19. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/mixins.rst +0 -0
  20. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/validators.rst +0 -0
  21. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/wialon/constants.rst +0 -0
  22. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/wialon/exceptions.rst +0 -0
  23. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/wialon/index.rst +0 -0
  24. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/wialon/items.rst +0 -0
  25. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/wialon/session.rst +0 -0
  26. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/wialon/usage.rst +0 -0
  27. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/docs/source/wialon/utils.rst +0 -0
  28. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/__init__.py +0 -0
  29. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/authorizenet/__init__.py +0 -0
  30. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/authorizenet/api/__init__.py +0 -0
  31. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/authorizenet/api/customer_profiles.py +0 -0
  32. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/authorizenet/api/payment_profiles.py +0 -0
  33. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/authorizenet/api/subscriptions.py +0 -0
  34. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/authorizenet/api/transactions.py +0 -0
  35. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/authorizenet/constants.py +0 -0
  36. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/authorizenet/service.py +0 -0
  37. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/default_settings.py +0 -0
  38. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/mixins.py +0 -0
  39. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/validators.py +0 -0
  40. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/wialon/__init__.py +0 -0
  41. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/wialon/constants.py +0 -0
  42. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/wialon/flags.py +0 -0
  43. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/wialon/session.py +0 -0
  44. {python_terminusgps-50.1.1 → python_terminusgps-50.1.3}/terminusgps/wialon/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 50.1.1
3
+ Version: 50.1.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://terminusgps.github.io/python-terminusgps
6
6
  Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
@@ -12,7 +12,7 @@ sys.path.insert(0, os.path.abspath("../../"))
12
12
  project = "python-terminusgps"
13
13
  copyright = "2025, Terminus GPS, LLC"
14
14
  author = "Terminus GPS, LLC"
15
- release = "50.1.1"
15
+ release = "50.1.3"
16
16
 
17
17
  # -- General configuration ---------------------------------------------------
18
18
  # 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 = "50.1.1"
3
+ version = "50.1.3"
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" } ]
@@ -57,6 +57,7 @@ def get_customer_shipping_address(
57
57
 
58
58
  def update_customer_shipping_address(
59
59
  customer_profile_id: int,
60
+ address_profile_id: int,
60
61
  address: apicontractsv1.customerAddressType,
61
62
  default: bool = False,
62
63
  ) -> tuple[ObjectifiedElement, type[APIOperationBase]]:
@@ -65,6 +66,9 @@ def update_customer_shipping_address(
65
66
 
66
67
  :param customer_profile_id: An Authorizenet customer profile id.
67
68
  :type customer_profile_id: int
69
+ :param address_profile_id: An Authorizenet address profile id.
70
+ :type address_profile_id: int
71
+ :type address: ~authorizenet.apicontractsv1.customerAddressType
68
72
  :param address: An Authorizenet customer address element.
69
73
  :type address: ~authorizenet.apicontractsv1.customerAddressType
70
74
  :param default: Whether to set the address profile as default. Default is :py:obj:`False`.
@@ -73,9 +77,28 @@ def update_customer_shipping_address(
73
77
  :rtype: tuple[~lxml.objectify.ObjectifiedElement, type[~authorizenet.apicontrollersbase.APIOperationBase]]
74
78
 
75
79
  """
80
+ address_ex = apicontractsv1.customerAddressExType()
81
+ address_ex.customerAddressId = str(address_profile_id)
82
+ if first_name := getattr(address, "firstName", None):
83
+ address_ex.firstName = str(first_name)
84
+ if last_name := getattr(address, "lastName", None):
85
+ address_ex.lastName = str(last_name)
86
+ if street := getattr(address, "address", None):
87
+ address_ex.address = str(street)
88
+ if city := getattr(address, "city", None):
89
+ address_ex.city = str(city)
90
+ if state := getattr(address, "state", None):
91
+ address_ex.state = str(state)
92
+ if country := getattr(address, "country", None):
93
+ address_ex.country = str(country)
94
+ if phone_number := getattr(address, "phoneNumber", None):
95
+ address_ex.phoneNumber = str(phone_number)
96
+ if zip_code := getattr(address, "zip", None):
97
+ address_ex.zip = str(zip_code)
98
+
76
99
  request = apicontractsv1.updateCustomerShippingAddressRequest()
77
100
  request.customerProfileId = str(customer_profile_id)
78
- request.address = address
101
+ request.address = address_ex
79
102
  request.defaultShippingAddress = str(default).lower()
80
103
  return request, apicontrollers.updateCustomerShippingAddressController
81
104
 
@@ -748,7 +748,7 @@ wheels = [
748
748
 
749
749
  [[package]]
750
750
  name = "python-terminusgps"
751
- version = "50.1.1"
751
+ version = "50.1.3"
752
752
  source = { editable = "." }
753
753
  dependencies = [
754
754
  { name = "authorizenet" },
@@ -822,23 +822,23 @@ wheels = [
822
822
 
823
823
  [[package]]
824
824
  name = "roman-numerals"
825
- version = "4.0.0"
825
+ version = "4.1.0"
826
826
  source = { registry = "https://pypi.org/simple" }
827
- sdist = { url = "https://files.pythonhosted.org/packages/6b/20/a6b20239f54814de5c34bf3f504e553b11780c2aad3677ad2daf989f1fb3/roman_numerals-4.0.0.tar.gz", hash = "sha256:231287018a8788bf8c0718482a08c15b90458523ea1d840a18a791a86d4583b3", size = 9027 }
827
+ sdist = { url = "https://files.pythonhosted.org/packages/ae/f9/41dc953bbeb056c17d5f7a519f50fdf010bd0553be2d630bc69d1e022703/roman_numerals-4.1.0.tar.gz", hash = "sha256:1af8b147eb1405d5839e78aeb93131690495fe9da5c91856cb33ad55a7f1e5b2", size = 9077 }
828
828
  wheels = [
829
- { url = "https://files.pythonhosted.org/packages/ad/9d/ad950fd3b65cf0974c633862320829f3d461aef125b981504277c8409a93/roman_numerals-4.0.0-py3-none-any.whl", hash = "sha256:4131feb23ba1a542494873e4cee7844ec8d226a750134efc65ceb20939ed33c9", size = 7668 },
829
+ { url = "https://files.pythonhosted.org/packages/04/54/6f679c435d28e0a568d8e8a7c0a93a09010818634c3c3907fc98d8983770/roman_numerals-4.1.0-py3-none-any.whl", hash = "sha256:647ba99caddc2cc1e55a51e4360689115551bf4476d90e8162cf8c345fe233c7", size = 7676 },
830
830
  ]
831
831
 
832
832
  [[package]]
833
833
  name = "roman-numerals-py"
834
- version = "4.0.0"
834
+ version = "4.1.0"
835
835
  source = { registry = "https://pypi.org/simple" }
836
836
  dependencies = [
837
837
  { name = "roman-numerals" },
838
838
  ]
839
- sdist = { url = "https://files.pythonhosted.org/packages/7e/02/6cb667fc1872c5fe814971be2973317f0747d86f1c0aac37d0e1a1df1ecc/roman_numerals_py-4.0.0.tar.gz", hash = "sha256:f7fa8dff5b7b7251d3a7586b97c57a0698e2e28898fa42c23bcc0cf51b02aee9", size = 1119 }
839
+ sdist = { url = "https://files.pythonhosted.org/packages/cb/b5/de96fca640f4f656eb79bbee0e79aeec52e3e0e359f8a3e6a0d366378b64/roman_numerals_py-4.1.0.tar.gz", hash = "sha256:f5d7b2b4ca52dd855ef7ab8eb3590f428c0b1ea480736ce32b01fef2a5f8daf9", size = 4274 }
840
840
  wheels = [
841
- { url = "https://files.pythonhosted.org/packages/d2/b7/c0aa3b0154e022faa8e8b4eadda0c49f53b09b6b8d55ed3b7cd311abfd92/roman_numerals_py-4.0.0-py3-none-any.whl", hash = "sha256:dfcecf6e0cddbf2ee1112e7e2ebf58ba771984f075cb57a30e1811cee4f06332", size = 1244 },
841
+ { url = "https://files.pythonhosted.org/packages/27/2c/daca29684cbe9fd4bc711f8246da3c10adca1ccc4d24436b17572eb2590e/roman_numerals_py-4.1.0-py3-none-any.whl", hash = "sha256:553114c1167141c1283a51743759723ecd05604a1b6b507225e91dc1a6df0780", size = 4547 },
842
842
  ]
843
843
 
844
844
  [[package]]
@@ -887,11 +887,11 @@ wheels = [
887
887
 
888
888
  [[package]]
889
889
  name = "soupsieve"
890
- version = "2.8"
890
+ version = "2.8.1"
891
891
  source = { registry = "https://pypi.org/simple" }
892
- sdist = { url = "https://files.pythonhosted.org/packages/6d/e6/21ccce3262dd4889aa3332e5a119a3491a95e8f60939870a3a035aabac0d/soupsieve-2.8.tar.gz", hash = "sha256:e2dd4a40a628cb5f28f6d4b0db8800b8f581b65bb380b97de22ba5ca8d72572f", size = 103472 }
892
+ sdist = { url = "https://files.pythonhosted.org/packages/89/23/adf3796d740536d63a6fbda113d07e60c734b6ed5d3058d1e47fc0495e47/soupsieve-2.8.1.tar.gz", hash = "sha256:4cf733bc50fa805f5df4b8ef4740fc0e0fa6218cf3006269afd3f9d6d80fd350", size = 117856 }
893
893
  wheels = [
894
- { url = "https://files.pythonhosted.org/packages/14/a0/bb38d3b76b8cae341dad93a2dd83ab7462e6dbcdd84d43f54ee60a8dc167/soupsieve-2.8-py3-none-any.whl", hash = "sha256:0cc76456a30e20f5d7f2e14a98a4ae2ee4e5abdc7c5ea0aafe795f344bc7984c", size = 36679 },
894
+ { url = "https://files.pythonhosted.org/packages/48/f3/b67d6ea49ca9154453b6d70b34ea22f3996b9fa55da105a79d8732227adc/soupsieve-2.8.1-py3-none-any.whl", hash = "sha256:a11fe2a6f3d76ab3cf2de04eb339c1be5b506a8a47f2ceb6d139803177f85434", size = 36710 },
895
895
  ]
896
896
 
897
897
  [[package]]
@@ -991,11 +991,11 @@ wheels = [
991
991
 
992
992
  [[package]]
993
993
  name = "sqlparse"
994
- version = "0.5.4"
994
+ version = "0.5.5"
995
995
  source = { registry = "https://pypi.org/simple" }
996
- sdist = { url = "https://files.pythonhosted.org/packages/18/67/701f86b28d63b2086de47c942eccf8ca2208b3be69715a1119a4e384415a/sqlparse-0.5.4.tar.gz", hash = "sha256:4396a7d3cf1cd679c1be976cf3dc6e0a51d0111e87787e7a8d780e7d5a998f9e", size = 120112 }
996
+ sdist = { url = "https://files.pythonhosted.org/packages/90/76/437d71068094df0726366574cf3432a4ed754217b436eb7429415cf2d480/sqlparse-0.5.5.tar.gz", hash = "sha256:e20d4a9b0b8585fdf63b10d30066c7c94c5d7a7ec47c889a2d83a3caa93ff28e", size = 120815 }
997
997
  wheels = [
998
- { url = "https://files.pythonhosted.org/packages/25/70/001ee337f7aa888fb2e3f5fd7592a6afc5283adb1ed44ce8df5764070f22/sqlparse-0.5.4-py3-none-any.whl", hash = "sha256:99a9f0314977b76d776a0fcb8554de91b9bb8a18560631d6bc48721d07023dcb", size = 45933 },
998
+ { url = "https://files.pythonhosted.org/packages/49/4b/359f28a903c13438ef59ebeee215fb25da53066db67b305c125f1c6d2a25/sqlparse-0.5.5-py3-none-any.whl", hash = "sha256:12a08b3bf3eec877c519589833aed092e2444e68240a3577e8e26148acc7b1ba", size = 46138 },
999
999
  ]
1000
1000
 
1001
1001
  [[package]]