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.
Files changed (57) hide show
  1. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/PKG-INFO +1 -1
  2. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/conf.py +1 -1
  3. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/pyproject.toml +1 -1
  4. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/transactions.py +9 -2
  5. python_terminusgps-49.2.0/terminusgps/tests/authorizenet/__init__.py +0 -0
  6. python_terminusgps-49.2.0/terminusgps/tests/wialon/__init__.py +0 -0
  7. python_terminusgps-49.2.0/terminusgps/wialon/__init__.py +0 -0
  8. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/session.py +12 -0
  9. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/uv.lock +4 -4
  10. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/.github/workflows/sphinx.yml +0 -0
  11. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/.gitignore +0 -0
  12. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/.python-version +0 -0
  13. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/COPYING +0 -0
  14. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/README.md +0 -0
  15. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/Makefile +0 -0
  16. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/make.bat +0 -0
  17. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/requirements.txt +0 -0
  18. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/authorizenet/api.rst +0 -0
  19. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/authorizenet/constants.rst +0 -0
  20. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/authorizenet/index.rst +0 -0
  21. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/authorizenet/service.rst +0 -0
  22. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/index.rst +0 -0
  23. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/mixins.rst +0 -0
  24. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/validators.rst +0 -0
  25. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/constants.rst +0 -0
  26. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/exceptions.rst +0 -0
  27. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/index.rst +0 -0
  28. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/items.rst +0 -0
  29. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/session.rst +0 -0
  30. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/usage.rst +0 -0
  31. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/docs/source/wialon/utils.rst +0 -0
  32. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/__init__.py +0 -0
  33. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/__init__.py +0 -0
  34. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/__init__.py +0 -0
  35. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/address_profiles.py +0 -0
  36. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/customer_profiles.py +0 -0
  37. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/payment_profiles.py +0 -0
  38. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/api/subscriptions.py +0 -0
  39. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/constants.py +0 -0
  40. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/authorizenet/service.py +0 -0
  41. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/default_settings.py +0 -0
  42. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/mixins.py +0 -0
  43. {python_terminusgps-49.0.0/terminusgps/wialon → python_terminusgps-49.2.0/terminusgps/tests}/__init__.py +0 -0
  44. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/validators.py +0 -0
  45. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/constants.py +0 -0
  46. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/flags.py +0 -0
  47. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/__init__.py +0 -0
  48. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/account.py +0 -0
  49. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/base.py +0 -0
  50. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/factory.py +0 -0
  51. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/resource.py +0 -0
  52. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/retranslator.py +0 -0
  53. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/route.py +0 -0
  54. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/unit.py +0 -0
  55. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/unit_group.py +0 -0
  56. {python_terminusgps-49.0.0 → python_terminusgps-49.2.0}/terminusgps/wialon/items/user.py +0 -0
  57. {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.0.0
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.0.0"
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.0.0"
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" } ]
@@ -203,10 +203,13 @@ def void_transaction(
203
203
 
204
204
 
205
205
  def charge_customer_profile(
206
- customer_profile_id: int, payment_profile_id: int, amount: Decimal
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
@@ -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.10.5"
196
+ version = "2025.11.12"
197
197
  source = { registry = "https://pypi.org/simple" }
198
- sdist = { url = "https://files.pythonhosted.org/packages/4c/5b/b6ce21586237c77ce67d01dc5507039d444b630dd76611bbca2d8e5dcd91/certifi-2025.10.5.tar.gz", hash = "sha256:47c09d31ccf2acf0be3f701ea53595ee7e0b8fa08801c6624be771df09ae7b43", size = 164519 }
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/e4/37/af0d2ef3967ac0d6113837b44a4f0bfe1328c2b9763bd5b1744520e5cfed/certifi-2025.10.5-py3-none-any.whl", hash = "sha256:0f212c2744a9bb6de0c56639a6f68afe01ecd92d91f14ae897c4fe7bbeeef0de", size = 163286 },
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.0.0"
751
+ version = "49.2.0"
752
752
  source = { editable = "." }
753
753
  dependencies = [
754
754
  { name = "authorizenet" },