python-terminusgps 50.1.0__tar.gz → 50.1.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.
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/PKG-INFO +1 -1
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/conf.py +1 -1
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/pyproject.toml +1 -1
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/authorizenet/api/address_profiles.py +24 -1
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/authorizenet/api/payment_profiles.py +1 -1
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/uv.lock +1 -1
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/.github/workflows/sphinx.yml +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/.gitignore +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/.python-version +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/COPYING +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/README.md +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/Makefile +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/make.bat +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/requirements.txt +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/authorizenet/api.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/authorizenet/constants.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/authorizenet/index.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/authorizenet/service.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/index.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/mixins.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/validators.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/wialon/constants.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/wialon/exceptions.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/wialon/index.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/wialon/items.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/wialon/session.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/wialon/usage.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/wialon/utils.rst +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/__init__.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/authorizenet/__init__.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/authorizenet/api/__init__.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/authorizenet/api/customer_profiles.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/authorizenet/api/subscriptions.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/authorizenet/api/transactions.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/authorizenet/constants.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/authorizenet/service.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/default_settings.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/mixins.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/validators.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/wialon/__init__.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/wialon/constants.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/wialon/flags.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/wialon/session.py +0 -0
- {python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/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.
|
|
3
|
+
Version: 50.1.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://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.
|
|
15
|
+
release = "50.1.2"
|
|
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.
|
|
3
|
+
version = "50.1.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" } ]
|
|
@@ -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 = first_name
|
|
84
|
+
if last_name := getattr(address, "lastName", None):
|
|
85
|
+
address_ex.lastName = last_name
|
|
86
|
+
if street := getattr(address, "address", None):
|
|
87
|
+
address_ex.address = street
|
|
88
|
+
if city := getattr(address, "city", None):
|
|
89
|
+
address_ex.city = city
|
|
90
|
+
if state := getattr(address, "state", None):
|
|
91
|
+
address_ex.state = state
|
|
92
|
+
if country := getattr(address, "country", None):
|
|
93
|
+
address_ex.country = country
|
|
94
|
+
if phone_number := getattr(address, "phoneNumber", None):
|
|
95
|
+
address_ex.phoneNumber = phone_number
|
|
96
|
+
if zip_code := getattr(address, "zip", None):
|
|
97
|
+
address_ex.zip = zip_code
|
|
98
|
+
|
|
76
99
|
request = apicontractsv1.updateCustomerShippingAddressRequest()
|
|
77
100
|
request.customerProfileId = str(customer_profile_id)
|
|
78
|
-
request.address =
|
|
101
|
+
request.address = address_ex
|
|
79
102
|
request.defaultShippingAddress = str(default).lower()
|
|
80
103
|
return request, apicontrollers.updateCustomerShippingAddressController
|
|
81
104
|
|
|
@@ -130,7 +130,7 @@ def update_customer_payment_profile(
|
|
|
130
130
|
|
|
131
131
|
request = apicontractsv1.updateCustomerPaymentProfileRequest()
|
|
132
132
|
request.customerProfileId = str(customer_profile_id)
|
|
133
|
-
request.paymentProfile = apicontractsv1.
|
|
133
|
+
request.paymentProfile = apicontractsv1.customerPaymentProfileExType()
|
|
134
134
|
request.paymentProfile.customerPaymentProfileId = str(payment_profile_id)
|
|
135
135
|
|
|
136
136
|
if payment is not None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/authorizenet/constants.rst
RENAMED
|
File without changes
|
|
File without changes
|
{python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/docs/source/authorizenet/service.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/authorizenet/__init__.py
RENAMED
|
File without changes
|
{python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/authorizenet/api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/authorizenet/api/transactions.py
RENAMED
|
File without changes
|
{python_terminusgps-50.1.0 → python_terminusgps-50.1.2}/terminusgps/authorizenet/constants.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|