python-terminusgps 20.1.0__py3-none-any.whl → 20.2.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 20.1.0
3
+ Version: 20.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://app.terminusgps.com/docs/apps/python-terminusgps/index.html
6
6
  Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
@@ -18,7 +18,7 @@ terminusgps/wialon/constants.py,sha256=u7y9MsA5LYvjPjxJnCMQdprTF3QhPPR9j4MvzoSNB
18
18
  terminusgps/wialon/flags.py,sha256=-OoH-eZM54yjRqxsAXL8VImdQu_7C0OAxCrFqaCEuko,13510
19
19
  terminusgps/wialon/logger.py,sha256=nUBsaLMaffSaAHGHAM6mFXDzix9hbNecVtA3INVtii8,968
20
20
  terminusgps/wialon/session.py,sha256=47Cq3cM4sF-lySPtafzizKHeHbfuDuK1CnR0Jrmwk-Q,10634
21
- terminusgps/wialon/utils.py,sha256=KeZmV-MEdGOHXrsyn6IIoyX0EgVYiWYjvacXyZVr1u8,6501
21
+ terminusgps/wialon/utils.py,sha256=KhRgLcD4q2EXAGhi_OOdpo3Azvu65NAEQIvzClj9tbc,6494
22
22
  terminusgps/wialon/items/__init__.py,sha256=cfUC5sfVsTwmpgsR-w9wA4ay6_EZYAPgEeuw2k06RJM,256
23
23
  terminusgps/wialon/items/base.py,sha256=EAtzlnCvB7WTu3iX1bV1-S9TvwXc-Eez7e0X4TMiK9U,6943
24
24
  terminusgps/wialon/items/geofence.py,sha256=LOjWWtRpAFMhE_16SU4sqNEZphmswpeTNtiFCZBB5Ig,1740
@@ -27,9 +27,9 @@ terminusgps/wialon/items/resource.py,sha256=79SwbCyE1zlaoeBfU0erEqvqBAYUC4KAKs8A
27
27
  terminusgps/wialon/items/retranslator.py,sha256=8q9EDc92w92MElnHIeEzH3Ra4kiPXrx4t9V5nPDZuRU,3728
28
28
  terminusgps/wialon/items/route.py,sha256=PTJx1gmT_PGz7nlSSUS2VzjYD-aAuvkEOIdIFneUSSQ,1148
29
29
  terminusgps/wialon/items/unit.py,sha256=PwF7xlpDWI5MpM_u6TmYZjNHWk6TSKM4rJ4OB9CIn4A,7533
30
- terminusgps/wialon/items/unit_group.py,sha256=LdDCAz3lrr7ROAVKqx2joNitIi22Pw3mS7khAbtcGlc,5036
30
+ terminusgps/wialon/items/unit_group.py,sha256=vGVJMBY1BrKK0tP-C1DCIz4Bh6P-HKRnKY1g8g95UIs,5031
31
31
  terminusgps/wialon/items/user.py,sha256=INwAibQVmjNNelepQXMfDevgJqMvIjHHgEjAMLRvhB0,7082
32
- python_terminusgps-20.1.0.dist-info/METADATA,sha256=eOfT7nITGn2pLypPyBtiIImAN0npLFSP3_R-s60986Q,912
33
- python_terminusgps-20.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
34
- python_terminusgps-20.1.0.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
35
- python_terminusgps-20.1.0.dist-info/RECORD,,
32
+ python_terminusgps-20.2.0.dist-info/METADATA,sha256=vg1Atid3g22ZSAP-pLxwL0zrqxulClWPbgK22G0pMdc,912
33
+ python_terminusgps-20.2.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
34
+ python_terminusgps-20.2.0.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
35
+ python_terminusgps-20.2.0.dist-info/RECORD,,
@@ -57,7 +57,7 @@ class WialonUnitGroup(WialonBase):
57
57
  :rtype: :py:obj:`bool`
58
58
 
59
59
  """
60
- return True if str(item.id) in self.items else False
60
+ return True if item.id in self.items else False
61
61
 
62
62
  def add_item(self, item: WialonBase) -> None:
63
63
  """
@@ -50,10 +50,10 @@ def get_id_from_iccid(iccid: str, session: WialonSession) -> str | None:
50
50
  **{
51
51
  "spec": {
52
52
  "itemsType": "avl_unit",
53
- "propName": "rel_admin_field_value",
54
- "propValueMask": str(iccid),
55
- "sortType": "admin_fields",
56
- "propType": "adminfield",
53
+ "propName": "sys_unique_id",
54
+ "propValueMask": f"*{iccid}*",
55
+ "sortType": "sys_unique_id",
56
+ "propType": "property",
57
57
  "or_logic": 0,
58
58
  },
59
59
  "force": 0,