python-terminusgps 35.5.0__py3-none-any.whl → 35.6.0__py3-none-any.whl

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.

Potentially problematic release.


This version of python-terminusgps might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 35.5.0
3
+ Version: 35.6.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://docs.terminusgps.com
6
6
  Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
@@ -7,7 +7,7 @@ terminusgps/authorizenet/utils.py,sha256=FrKqXWrplcgiET1rDTmUaqmN_ze7j93jWgfFeJR
7
7
  terminusgps/authorizenet/profiles/__init__.py,sha256=IG4XCEEYtHKqXOatlZlob6J3ukAgF7cFR-RXxOSMS1c,161
8
8
  terminusgps/authorizenet/profiles/addresses.py,sha256=5GudJStBa4P0Hd7G_hRFH2C-WpICAH_k3MT9YJkicKw,6305
9
9
  terminusgps/authorizenet/profiles/base.py,sha256=Pu1NGrvC5Ox2W1oZuVcPqUw3aUoSK191Evexw1U6_3k,3940
10
- terminusgps/authorizenet/profiles/customers.py,sha256=SHFKr2Q8KbtJ1DUWuduiJTSJoVp_jV-65nVVd_Ew2lI,12624
10
+ terminusgps/authorizenet/profiles/customers.py,sha256=lLzQPJByu_oEck8u3h4vzoV_uVOKKeLr6qhFAV5uQ_E,12793
11
11
  terminusgps/authorizenet/profiles/payments.py,sha256=nhudGuJ6RzmK0MrhDVuYL2BxvyzKNpliBIfIpFU5Y-4,11038
12
12
  terminusgps/authorizenet/profiles/subscriptions.py,sha256=m_jb9GqeD1tLmeqSnaGwJrzPcQOulEkF8K1wCaqKR24,7924
13
13
  terminusgps/authorizenet/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -52,7 +52,7 @@ terminusgps/wialon/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
52
52
  terminusgps/wialon/tests/test_items.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
53
  terminusgps/wialon/tests/test_session.py,sha256=9mBlYchMo9NeqRIZsmxYzrM1zBHorqu4ooxqSNppLpI,1336
54
54
  terminusgps/wialon/tests/test_utils.py,sha256=SK4PxJQGECFnzx_EQeRAQfsQ5_3FLaVcis2W9u_ibuI,1730
55
- python_terminusgps-35.5.0.dist-info/METADATA,sha256=ioZ70eDiKBrxzHB368OpivXu9sP9AspIFVuxi9FvE10,1616
56
- python_terminusgps-35.5.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
57
- python_terminusgps-35.5.0.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
58
- python_terminusgps-35.5.0.dist-info/RECORD,,
55
+ python_terminusgps-35.6.0.dist-info/METADATA,sha256=X1DuwOhyOEoHoJjTMXXg5-6RpyXpB0F8m42BY8M4oUE,1616
56
+ python_terminusgps-35.6.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
57
+ python_terminusgps-35.6.0.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
58
+ python_terminusgps-35.6.0.dist-info/RECORD,,
@@ -173,6 +173,7 @@ class CustomerProfile(AuthorizenetProfileBase):
173
173
  return [
174
174
  int(p.customerPaymentProfileId)
175
175
  for p in response.profile.paymentProfiles
176
+ if hasattr(response.profile, "paymentProfiles")
176
177
  ]
177
178
 
178
179
  def get_address_profile_ids(self) -> list[int]:
@@ -185,7 +186,11 @@ class CustomerProfile(AuthorizenetProfileBase):
185
186
  """
186
187
  response = self._authorizenet_get_customer_profile()
187
188
  if response is not None:
188
- return [int(p.customerAddressId) for p in response.profile.shipToList]
189
+ return [
190
+ int(p.customerAddressId)
191
+ for p in response.profile.shipToList
192
+ if hasattr(response.profile, "shipToList")
193
+ ]
189
194
 
190
195
  def _generate_customer_profile_ex_type(
191
196
  self,