karrio-geodis 2025.5.6__py3-none-any.whl → 2025.5.7__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.
- karrio/providers/geodis/tracking.py +11 -0
- karrio/providers/geodis/units.py +8 -0
- {karrio_geodis-2025.5.6.dist-info → karrio_geodis-2025.5.7.dist-info}/METADATA +1 -1
- {karrio_geodis-2025.5.6.dist-info → karrio_geodis-2025.5.7.dist-info}/RECORD +7 -7
- {karrio_geodis-2025.5.6.dist-info → karrio_geodis-2025.5.7.dist-info}/WHEEL +0 -0
- {karrio_geodis-2025.5.6.dist-info → karrio_geodis-2025.5.7.dist-info}/entry_points.txt +0 -0
- {karrio_geodis-2025.5.6.dist-info → karrio_geodis-2025.5.7.dist-info}/top_level.txt +0 -0
|
@@ -54,6 +54,17 @@ def _extract_details(
|
|
|
54
54
|
code=event.codeSituationJustification,
|
|
55
55
|
time=lib.flocaltime(event.heureSuivi),
|
|
56
56
|
location=event.libelleCentre,
|
|
57
|
+
timestamp=lib.fiso_timestamp(
|
|
58
|
+
lib.text(event.dateSuivi, event.heureSuivi, separator=" ")
|
|
59
|
+
),
|
|
60
|
+
reason=next(
|
|
61
|
+
(
|
|
62
|
+
r.name
|
|
63
|
+
for r in list(provider_units.TrackingIncidentReason)
|
|
64
|
+
if event.codeSituationJustification in r.value
|
|
65
|
+
),
|
|
66
|
+
None,
|
|
67
|
+
),
|
|
57
68
|
)
|
|
58
69
|
for event in contenu.listSuivis
|
|
59
70
|
],
|
karrio/providers/geodis/units.py
CHANGED
|
@@ -180,6 +180,14 @@ LABTEST_RATE_SHEET = [
|
|
|
180
180
|
]
|
|
181
181
|
|
|
182
182
|
|
|
183
|
+
class TrackingIncidentReason(lib.Enum):
|
|
184
|
+
"""Maps Geodis exception codes to normalized TrackingIncidentReason."""
|
|
185
|
+
carrier_damaged_parcel = []
|
|
186
|
+
consignee_refused = []
|
|
187
|
+
consignee_not_home = []
|
|
188
|
+
unknown = []
|
|
189
|
+
|
|
190
|
+
|
|
183
191
|
DEFAULT_SERVICES = [
|
|
184
192
|
models.ServiceLevel(
|
|
185
193
|
service_name="GEODIS Express",
|
|
@@ -5,8 +5,8 @@ karrio/mappers/geodis/settings.py,sha256=rxSFMlzyJ7cpwVj1bqRnckuiRaNdWk8BaDVRMIq
|
|
|
5
5
|
karrio/plugins/geodis/__init__.py,sha256=O5KyFBVDwcKyKjZv0-gXKx0JCpckGuWUO4EitBp9m5s,519
|
|
6
6
|
karrio/providers/geodis/__init__.py,sha256=mORc64CizSQPWZotdDsGc0GQ3_8cf2gPGnd5DEW17jc,316
|
|
7
7
|
karrio/providers/geodis/error.py,sha256=IiCv6yjI1alxgO6ujfk7GeKdVNoMQFiTWPr0VcuDfzY,840
|
|
8
|
-
karrio/providers/geodis/tracking.py,sha256=
|
|
9
|
-
karrio/providers/geodis/units.py,sha256=
|
|
8
|
+
karrio/providers/geodis/tracking.py,sha256=LguYDLrWIqvPNVKTX6EUJ_wFqqbRU-yM5dQxh-s1bNI,3863
|
|
9
|
+
karrio/providers/geodis/units.py,sha256=OUEoGX2Dsq7er45_yKMWCPPzGV5O9ns0XSdv4XAiXyI,8066
|
|
10
10
|
karrio/providers/geodis/utils.py,sha256=b9N3NtMWKD8hZ6YUkdAYyIP7u3V7beWN4BP5_Q3O98M,1538
|
|
11
11
|
karrio/providers/geodis/shipment/__init__.py,sha256=UntO3FIgOv0jZzcp70e-P0d7KSGQ0dQ_oGk22WEHel0,228
|
|
12
12
|
karrio/providers/geodis/shipment/cancel.py,sha256=8NT1M0Jk8rZF3tJXDC21-Jg1J8asJkC-BUA0N4L2cmE,1201
|
|
@@ -19,8 +19,8 @@ karrio/schemas/geodis/shipping_request.py,sha256=hukxIfMyqpClZyF3-zrIS_1lmk5YY8g
|
|
|
19
19
|
karrio/schemas/geodis/shipping_response.py,sha256=tEh0aTS7Rd7B73XYuki3eqraOlJlLuSiwle6g9VtIW0,3395
|
|
20
20
|
karrio/schemas/geodis/tracking_request.py,sha256=drZlCbINrSOOfBgZtIUmotmeJMqs_cqOBFkbwbeFOVQ,181
|
|
21
21
|
karrio/schemas/geodis/tracking_response.py,sha256=MDtb-SEI6UYCwWtPr808_V931t42SozAc_ejUejS51A,9366
|
|
22
|
-
karrio_geodis-2025.5.
|
|
23
|
-
karrio_geodis-2025.5.
|
|
24
|
-
karrio_geodis-2025.5.
|
|
25
|
-
karrio_geodis-2025.5.
|
|
26
|
-
karrio_geodis-2025.5.
|
|
22
|
+
karrio_geodis-2025.5.7.dist-info/METADATA,sha256=6FtIlcjuE4W7o35w0MSdUDHyHBW3xKkW83q0DtRHd8c,981
|
|
23
|
+
karrio_geodis-2025.5.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
24
|
+
karrio_geodis-2025.5.7.dist-info/entry_points.txt,sha256=aWuFnvMvXF2TLAPblGwpwH-XWzbCv4FnZDsF41vKyJs,57
|
|
25
|
+
karrio_geodis-2025.5.7.dist-info/top_level.txt,sha256=FZCY8Nwft8oEGHdl--xku8P3TrnOxu5dETEU_fWpRSM,20
|
|
26
|
+
karrio_geodis-2025.5.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|