python-terminusgps 49.0.0__tar.gz → 49.2.0__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-49.0.0 → python_terminusgps-49.2.0}/PKG-INFO +1 -1
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/conf.py +1 -1
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/pyproject.toml +1 -1
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/transactions.py +9 -2
- python_terminusgps-49.2.0/terminusgps/tests/authorizenet/__init__.py +0 -0
- python_terminusgps-49.2.0/terminusgps/tests/wialon/__init__.py +0 -0
- python_terminusgps-49.2.0/terminusgps/wialon/__init__.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/session.py +12 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/uv.lock +4 -4
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/.github/workflows/sphinx.yml +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/.gitignore +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/.python-version +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/COPYING +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/README.md +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/Makefile +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/make.bat +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/requirements.txt +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/authorizenet/api.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/authorizenet/constants.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/authorizenet/index.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/authorizenet/service.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/index.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/mixins.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/validators.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/constants.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/exceptions.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/index.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/items.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/session.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/usage.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/utils.rst +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/__init__.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/__init__.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/__init__.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/address_profiles.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/customer_profiles.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/payment_profiles.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/subscriptions.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/constants.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/service.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/default_settings.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/mixins.py +0 -0
- {python_terminusgps-49.0.0/terminusgps/wialon → python_terminusgps-49.2.0/terminusgps/tests}/__init__.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/validators.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/constants.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/flags.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/__init__.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/account.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/base.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/factory.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/resource.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/retranslator.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/route.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/unit.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/unit_group.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/user.py +0 -0
- {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 49.
|
|
3
|
+
Version: 49.2.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
|
|
@@ -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 = "49.
|
|
15
|
+
release = "49.2.0"
|
|
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 = "49.
|
|
3
|
+
version = "49.2.0"
|
|
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" } ]
|
{python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/transactions.py
RENAMED
|
@@ -203,10 +203,13 @@ def void_transaction(
|
|
|
203
203
|
|
|
204
204
|
|
|
205
205
|
def charge_customer_profile(
|
|
206
|
-
customer_profile_id: int,
|
|
206
|
+
customer_profile_id: int,
|
|
207
|
+
payment_profile_id: int,
|
|
208
|
+
amount: Decimal,
|
|
209
|
+
line_items: apicontractsv1.ArrayOfLineItem | None = None,
|
|
207
210
|
) -> tuple[ObjectifiedElement, type[APIOperationBase]]:
|
|
208
211
|
"""
|
|
209
|
-
`Charges a customer profile <https://developer.authorize.net/api/reference/index.html#payment-transactions-charge-a-customer-profile
|
|
212
|
+
`Charges a customer profile <https://developer.authorize.net/api/reference/index.html#payment-transactions-charge-a-customer-profile>`_.
|
|
210
213
|
|
|
211
214
|
:param customer_profile_id: An Authorizenet customer profile id.
|
|
212
215
|
:type customer_profile_id: int
|
|
@@ -214,6 +217,8 @@ def charge_customer_profile(
|
|
|
214
217
|
:type payment_profile_id: int
|
|
215
218
|
:param amount: Amount to change the customer profile.
|
|
216
219
|
:type amount: ~decimal.Decimal
|
|
220
|
+
:param line_items: An array of line items. Default is :py:obj:`None`.
|
|
221
|
+
:type line_items: ~apicontractsv1.ArrayOfLineItem | None
|
|
217
222
|
:returns: A tuple containing an Authorizenet API request element and controller class.
|
|
218
223
|
:rtype: tuple[~lxml.objectify.ObjectifiedElement, type[~authorizenet.apicontrollersbase.APIOperationBase]]
|
|
219
224
|
|
|
@@ -229,4 +234,6 @@ def charge_customer_profile(
|
|
|
229
234
|
request.transactionRequest.transactionType = (
|
|
230
235
|
apicontractsv1.transactionTypeEnum.authCaptureTransaction
|
|
231
236
|
)
|
|
237
|
+
if line_items is not None:
|
|
238
|
+
request.transactionRequest.lineItems = line_items
|
|
232
239
|
return request, apicontrollers.createTransactionController
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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
|
"""
|
|
@@ -193,11 +193,11 @@ wheels = [
|
|
|
193
193
|
|
|
194
194
|
[[package]]
|
|
195
195
|
name = "certifi"
|
|
196
|
-
version = "2025.
|
|
196
|
+
version = "2025.11.12"
|
|
197
197
|
source = { registry = "https://pypi.org/simple" }
|
|
198
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
198
|
+
sdist = { url = "https://files.pythonhosted.org/packages/a2/8c/58f469717fa48465e4a50c014a0400602d3c437d7c0c468e17ada824da3a/certifi-2025.11.12.tar.gz", hash = "sha256:d8ab5478f2ecd78af242878415affce761ca6bc54a22a27e026d7c25357c3316", size = 160538 }
|
|
199
199
|
wheels = [
|
|
200
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
200
|
+
{ url = "https://files.pythonhosted.org/packages/70/7d/9bc192684cea499815ff478dfcdc13835ddf401365057044fb721ec6bddb/certifi-2025.11.12-py3-none-any.whl", hash = "sha256:97de8790030bbd5c2d96b7ec782fc2f7820ef8dba6db909ccf95449f2d062d4b", size = 159438 },
|
|
201
201
|
]
|
|
202
202
|
|
|
203
203
|
[[package]]
|
|
@@ -748,7 +748,7 @@ wheels = [
|
|
|
748
748
|
|
|
749
749
|
[[package]]
|
|
750
750
|
name = "python-terminusgps"
|
|
751
|
-
version = "49.
|
|
751
|
+
version = "49.2.0"
|
|
752
752
|
source = { editable = "." }
|
|
753
753
|
dependencies = [
|
|
754
754
|
{ name = "authorizenet" },
|
|
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-49.0.0 → python_terminusgps-49.2.0}/docs/source/authorizenet/constants.rst
RENAMED
|
File without changes
|
|
File without changes
|
{python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/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-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/__init__.py
RENAMED
|
File without changes
|
{python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/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
|
{python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/resource.py
RENAMED
|
File without changes
|
{python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/retranslator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/unit_group.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|