karrio-server-manager 2025.5rc14__py3-none-any.whl → 2025.5rc16__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.
@@ -0,0 +1,168 @@
1
+ # Generated by Django 5.2.5 on 2025-08-19 19:09
2
+
3
+ from django.db import migrations, models
4
+
5
+
6
+ class Migration(migrations.Migration):
7
+
8
+ dependencies = [
9
+ ("manager", "0062_alter_tracking_status"),
10
+ ]
11
+
12
+ operations = [
13
+ migrations.AlterField(
14
+ model_name="commodity",
15
+ name="value_currency",
16
+ field=models.CharField(
17
+ blank=True,
18
+ choices=[
19
+ ("EUR", "EUR"),
20
+ ("AED", "AED"),
21
+ ("USD", "USD"),
22
+ ("XCD", "XCD"),
23
+ ("AMD", "AMD"),
24
+ ("ANG", "ANG"),
25
+ ("AOA", "AOA"),
26
+ ("ARS", "ARS"),
27
+ ("AUD", "AUD"),
28
+ ("AWG", "AWG"),
29
+ ("AZN", "AZN"),
30
+ ("BAM", "BAM"),
31
+ ("BBD", "BBD"),
32
+ ("BDT", "BDT"),
33
+ ("XOF", "XOF"),
34
+ ("BGN", "BGN"),
35
+ ("BHD", "BHD"),
36
+ ("BIF", "BIF"),
37
+ ("BMD", "BMD"),
38
+ ("BND", "BND"),
39
+ ("BOB", "BOB"),
40
+ ("BRL", "BRL"),
41
+ ("BSD", "BSD"),
42
+ ("BTN", "BTN"),
43
+ ("BWP", "BWP"),
44
+ ("BYN", "BYN"),
45
+ ("BZD", "BZD"),
46
+ ("CAD", "CAD"),
47
+ ("CDF", "CDF"),
48
+ ("XAF", "XAF"),
49
+ ("CHF", "CHF"),
50
+ ("NZD", "NZD"),
51
+ ("CLP", "CLP"),
52
+ ("CNY", "CNY"),
53
+ ("COP", "COP"),
54
+ ("CRC", "CRC"),
55
+ ("CUC", "CUC"),
56
+ ("CVE", "CVE"),
57
+ ("CZK", "CZK"),
58
+ ("DJF", "DJF"),
59
+ ("DKK", "DKK"),
60
+ ("DOP", "DOP"),
61
+ ("DZD", "DZD"),
62
+ ("EGP", "EGP"),
63
+ ("ERN", "ERN"),
64
+ ("ETB", "ETB"),
65
+ ("FJD", "FJD"),
66
+ ("GBP", "GBP"),
67
+ ("GEL", "GEL"),
68
+ ("GHS", "GHS"),
69
+ ("GMD", "GMD"),
70
+ ("GNF", "GNF"),
71
+ ("GTQ", "GTQ"),
72
+ ("GYD", "GYD"),
73
+ ("HKD", "HKD"),
74
+ ("HNL", "HNL"),
75
+ ("HRK", "HRK"),
76
+ ("HTG", "HTG"),
77
+ ("HUF", "HUF"),
78
+ ("IDR", "IDR"),
79
+ ("ILS", "ILS"),
80
+ ("INR", "INR"),
81
+ ("IRR", "IRR"),
82
+ ("ISK", "ISK"),
83
+ ("JMD", "JMD"),
84
+ ("JOD", "JOD"),
85
+ ("JPY", "JPY"),
86
+ ("KES", "KES"),
87
+ ("KGS", "KGS"),
88
+ ("KHR", "KHR"),
89
+ ("KMF", "KMF"),
90
+ ("KPW", "KPW"),
91
+ ("KRW", "KRW"),
92
+ ("KWD", "KWD"),
93
+ ("KYD", "KYD"),
94
+ ("KZT", "KZT"),
95
+ ("LAK", "LAK"),
96
+ ("LKR", "LKR"),
97
+ ("LRD", "LRD"),
98
+ ("LSL", "LSL"),
99
+ ("LYD", "LYD"),
100
+ ("MAD", "MAD"),
101
+ ("MDL", "MDL"),
102
+ ("MGA", "MGA"),
103
+ ("MKD", "MKD"),
104
+ ("MMK", "MMK"),
105
+ ("MNT", "MNT"),
106
+ ("MOP", "MOP"),
107
+ ("MRO", "MRO"),
108
+ ("MUR", "MUR"),
109
+ ("MVR", "MVR"),
110
+ ("MWK", "MWK"),
111
+ ("MXN", "MXN"),
112
+ ("MYR", "MYR"),
113
+ ("MZN", "MZN"),
114
+ ("NAD", "NAD"),
115
+ ("XPF", "XPF"),
116
+ ("NGN", "NGN"),
117
+ ("NIO", "NIO"),
118
+ ("NOK", "NOK"),
119
+ ("NPR", "NPR"),
120
+ ("OMR", "OMR"),
121
+ ("PEN", "PEN"),
122
+ ("PGK", "PGK"),
123
+ ("PHP", "PHP"),
124
+ ("PKR", "PKR"),
125
+ ("PLN", "PLN"),
126
+ ("PYG", "PYG"),
127
+ ("QAR", "QAR"),
128
+ ("RON", "RON"),
129
+ ("RSD", "RSD"),
130
+ ("RUB", "RUB"),
131
+ ("RWF", "RWF"),
132
+ ("SAR", "SAR"),
133
+ ("SBD", "SBD"),
134
+ ("SCR", "SCR"),
135
+ ("SDG", "SDG"),
136
+ ("SEK", "SEK"),
137
+ ("SGD", "SGD"),
138
+ ("SHP", "SHP"),
139
+ ("SLL", "SLL"),
140
+ ("SOS", "SOS"),
141
+ ("SRD", "SRD"),
142
+ ("SSP", "SSP"),
143
+ ("STD", "STD"),
144
+ ("SYP", "SYP"),
145
+ ("SZL", "SZL"),
146
+ ("THB", "THB"),
147
+ ("TJS", "TJS"),
148
+ ("TND", "TND"),
149
+ ("TOP", "TOP"),
150
+ ("TRY", "TRY"),
151
+ ("TTD", "TTD"),
152
+ ("TWD", "TWD"),
153
+ ("TZS", "TZS"),
154
+ ("UAH", "UAH"),
155
+ ("UYU", "UYU"),
156
+ ("UZS", "UZS"),
157
+ ("VEF", "VEF"),
158
+ ("VND", "VND"),
159
+ ("VUV", "VUV"),
160
+ ("WST", "WST"),
161
+ ("YER", "YER"),
162
+ ("ZAR", "ZAR"),
163
+ ],
164
+ max_length=3,
165
+ null=True,
166
+ ),
167
+ ),
168
+ ]
@@ -174,7 +174,7 @@ PICKUP_RESPONSE = {
174
174
  "carrier_id": "canadapost",
175
175
  "confirmation_number": "27241",
176
176
  "pickup_date": "2020-10-25",
177
- "pickup_charge": {"name": "Pickup fees", "amount": 0.0, "currency": "CAD"},
177
+ "pickup_charge": {"name": "Pickup fees", "amount": 0.0, "currency": "CAD", "id": ANY},
178
178
  "ready_time": "13:00",
179
179
  "closing_time": "17:00",
180
180
  "test_mode": True,
@@ -233,7 +233,7 @@ PICKUP_UPDATE_RESPONSE = {
233
233
  "carrier_id": "canadapost",
234
234
  "confirmation_number": "00110215",
235
235
  "pickup_date": "2020-10-25",
236
- "pickup_charge": {"name": "Pickup fees", "amount": 0.0, "currency": "CAD"},
236
+ "pickup_charge": {"name": "Pickup fees", "amount": 0.0, "currency": "CAD", "id": ANY},
237
237
  "ready_time": "14:00",
238
238
  "closing_time": "17:00",
239
239
  "test_mode": True,
@@ -292,11 +292,11 @@ PICKUP_CANCEL_RESPONSE = {
292
292
  "carrier_id": "canadapost",
293
293
  "confirmation_number": "00110215",
294
294
  "pickup_date": "2020-10-25",
295
- "pickup_charge": {"name": "Pickup fees", "amount": 0.0, "currency": "CAD"},
295
+ "pickup_charge": {"name": "Pickup fees", "amount": 0.0, "currency": "CAD", "id": ANY},
296
296
  "ready_time": "13:00",
297
297
  "closing_time": "17:00",
298
298
  "address": {
299
- "id": None,
299
+ "id": ANY,
300
300
  "postal_code": "E1C4Z8",
301
301
  "city": "Moncton",
302
302
  "federal_tax_id": None,
@@ -260,11 +260,11 @@ SHIPMENT_RATES = {
260
260
  "total_charge": 106.71,
261
261
  "transit_days": 2,
262
262
  "extra_charges": [
263
- {"name": "Duty and taxes", "amount": 13.92, "currency": "CAD"},
264
- {"name": "Fuel surcharge", "amount": 2.7, "currency": "CAD"},
265
- {"name": "SMB Savings", "amount": -11.74, "currency": "CAD"},
266
- {"name": "Discount", "amount": -9.04, "currency": "CAD"},
267
- {"name": "Base surcharge", "amount": 101.83, "currency": "CAD"},
263
+ {"name": "Duty and taxes", "amount": 13.92, "currency": "CAD", "id": ANY},
264
+ {"name": "Fuel surcharge", "amount": 2.7, "currency": "CAD", "id": ANY},
265
+ {"name": "SMB Savings", "amount": -11.74, "currency": "CAD", "id": ANY},
266
+ {"name": "Discount", "amount": -9.04, "currency": "CAD", "id": ANY},
267
+ {"name": "Base surcharge", "amount": 101.83, "currency": "CAD", "id": ANY},
268
268
  ],
269
269
  "meta": {
270
270
  "ext": "canadapost",
@@ -531,11 +531,11 @@ PURCHASED_SHIPMENT = {
531
531
  "total_charge": 106.71,
532
532
  "transit_days": 2,
533
533
  "extra_charges": [
534
- {"name": "Base charge", "amount": 101.83, "currency": "CAD"},
535
- {"name": "Fuel surcharge", "amount": 2.7, "currency": "CAD"},
536
- {"name": "SMB Savings", "amount": -11.74, "currency": "CAD"},
537
- {"name": "Discount", "amount": -9.04, "currency": "CAD"},
538
- {"name": "Duties and taxes", "amount": 13.92, "currency": "CAD"},
534
+ {"name": "Base charge", "amount": 101.83, "currency": "CAD", "id": ANY},
535
+ {"name": "Fuel surcharge", "amount": 2.7, "currency": "CAD", "id": ANY},
536
+ {"name": "SMB Savings", "amount": -11.74, "currency": "CAD", "id": ANY},
537
+ {"name": "Discount", "amount": -9.04, "currency": "CAD", "id": ANY},
538
+ {"name": "Duties and taxes", "amount": 13.92, "currency": "CAD", "id": ANY},
539
539
  ],
540
540
  "meta": {
541
541
  "service_name": "CANADAPOST PRIORITY",
@@ -568,11 +568,11 @@ PURCHASED_SHIPMENT = {
568
568
  "total_charge": 106.71,
569
569
  "transit_days": 2,
570
570
  "extra_charges": [
571
- {"name": "Base charge", "amount": 101.83, "currency": "CAD"},
572
- {"name": "Fuel surcharge", "amount": 2.7, "currency": "CAD"},
573
- {"name": "SMB Savings", "amount": -11.74, "currency": "CAD"},
574
- {"name": "Discount", "amount": -9.04, "currency": "CAD"},
575
- {"name": "Duties and taxes", "amount": 13.92, "currency": "CAD"},
571
+ {"name": "Base charge", "amount": 101.83, "currency": "CAD", "id": ANY},
572
+ {"name": "Fuel surcharge", "amount": 2.7, "currency": "CAD", "id": ANY},
573
+ {"name": "SMB Savings", "amount": -11.74, "currency": "CAD", "id": ANY},
574
+ {"name": "Discount", "amount": -9.04, "currency": "CAD", "id": ANY},
575
+ {"name": "Duties and taxes", "amount": 13.92, "currency": "CAD", "id": ANY},
576
576
  ],
577
577
  "meta": {
578
578
  "ext": "canadapost",
@@ -679,11 +679,11 @@ CANCEL_RESPONSE = {
679
679
  "total_charge": 106.71,
680
680
  "transit_days": 2,
681
681
  "extra_charges": [
682
- {"name": "Base charge", "amount": 101.83, "currency": "CAD"},
683
- {"name": "Fuel surcharge", "amount": 2.7, "currency": "CAD"},
684
- {"name": "SMB Savings", "amount": -11.74, "currency": "CAD"},
685
- {"name": "Discount", "amount": -9.04, "currency": "CAD"},
686
- {"name": "Duties and taxes", "amount": 13.92, "currency": "CAD"},
682
+ {"name": "Base charge", "amount": 101.83, "currency": "CAD", "id": None},
683
+ {"name": "Fuel surcharge", "amount": 2.7, "currency": "CAD", "id": None},
684
+ {"name": "SMB Savings", "amount": -11.74, "currency": "CAD", "id": None},
685
+ {"name": "Discount", "amount": -9.04, "currency": "CAD", "id": None},
686
+ {"name": "Duties and taxes", "amount": 13.92, "currency": "CAD", "id": None},
687
687
  ],
688
688
  "meta": {
689
689
  "carrier_connection_id": ANY,
@@ -797,11 +797,11 @@ CANCEL_PURCHASED_RESPONSE = {
797
797
  "total_charge": 106.71,
798
798
  "transit_days": 2,
799
799
  "extra_charges": [
800
- {"name": "Base charge", "amount": 101.83, "currency": "CAD"},
801
- {"name": "Fuel surcharge", "amount": 2.7, "currency": "CAD"},
802
- {"name": "SMB Savings", "amount": -11.74, "currency": "CAD"},
803
- {"name": "Discount", "amount": -9.04, "currency": "CAD"},
804
- {"name": "Duties and taxes", "amount": 13.92, "currency": "CAD"},
800
+ {"name": "Base charge", "amount": 101.83, "currency": "CAD", "id": None},
801
+ {"name": "Fuel surcharge", "amount": 2.7, "currency": "CAD", "id": None},
802
+ {"name": "SMB Savings", "amount": -11.74, "currency": "CAD", "id": None},
803
+ {"name": "Discount", "amount": -9.04, "currency": "CAD", "id": None},
804
+ {"name": "Duties and taxes", "amount": 13.92, "currency": "CAD", "id": None},
805
805
  ],
806
806
  "meta": {
807
807
  "carrier_connection_id": ANY,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: karrio_server_manager
3
- Version: 2025.5rc14
3
+ Version: 2025.5rc16
4
4
  Summary: Multi-carrier shipping API Shipments manager module
5
5
  Author-email: karrio <hello@karrio.io>
6
6
  License-Expression: Apache-2.0
@@ -68,6 +68,7 @@ karrio/server/manager/migrations/0059_shipment_return_address.py,sha256=ohSYroA8
68
68
  karrio/server/manager/migrations/0060_pickup_meta_alter_address_country_code_and_more.py,sha256=_eOj_ojhsNR-gAGVShTZZ8piYWkon6lwgJb80WvAP8Q,17515
69
69
  karrio/server/manager/migrations/0061_alter_customs_incoterm.py,sha256=sMlovgPFEiDKBoU_Moya9PxvAqXsOGy5BG-w3tZyUBY,1030
70
70
  karrio/server/manager/migrations/0062_alter_tracking_status.py,sha256=1m9mUrDakeVIwAwlXufGLAu-bIXnPwggMETEAYqbUh4,1121
71
+ karrio/server/manager/migrations/0063_alter_commodity_value_currency.py,sha256=87Ag0tTgso9wh-JjO9fh2_fzgG3cnWaCLlAk9t125DY,5714
71
72
  karrio/server/manager/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
72
73
  karrio/server/manager/serializers/__init__.py,sha256=cbi3PpPA8nw_le56PbGP_Ua1kDyyxOt88_Vn9uESbpI,1411
73
74
  karrio/server/manager/serializers/address.py,sha256=yGKvZiNukeI15LEDdbo1ycqqK8QW77ak_vyLMIKyglI,2779
@@ -84,8 +85,8 @@ karrio/server/manager/tests/__init__.py,sha256=Y1UNteEE60vWdUAkjbldu_r_-h4u0He8-
84
85
  karrio/server/manager/tests/test_addresses.py,sha256=pNkZC_yJyb29ZlEOtOAs4blcEYiOarw0zhZIZC5uj1w,3111
85
86
  karrio/server/manager/tests/test_custom_infos.py,sha256=QK7TdCsdTSzcGRYM-UwCDQHp6fP2w9u0m6JDtf88RC8,2603
86
87
  karrio/server/manager/tests/test_parcels.py,sha256=lVLBOsHzXgXQvYjHIUy5oiPvrMfxYpueVvvhtuhstWk,2559
87
- karrio/server/manager/tests/test_pickups.py,sha256=k-d_xOYG4RPo9ROZyCMvXe3lbCa30si7Qc5rrwbyprY,10649
88
- karrio/server/manager/tests/test_shipments.py,sha256=9AfX-tUX2JT6dfF_MNeyYBve6YPHzdSY-7SJmhYLUGs,26661
88
+ karrio/server/manager/tests/test_pickups.py,sha256=8jxddwTnBvBM9FOyWxW9TtZ-GOVYUje7HQ2EZjsbtD8,10681
89
+ karrio/server/manager/tests/test_shipments.py,sha256=9QlsvAZK0owvDwK8lVAdVVUYAtFOkr7cIKoU7W-wRls,26946
89
90
  karrio/server/manager/tests/test_trackers.py,sha256=KvmWkplokNDZ0dzB16mFl0WcMJ0OYp_ErZeWJPGW_NA,7151
90
91
  karrio/server/manager/views/__init__.py,sha256=kDFUaORRQ3Xh0ZPm-Jk88Ss8dgGYM57iUFXb9TPMzh0,401
91
92
  karrio/server/manager/views/addresses.py,sha256=Js-RwWhfq4bQaiL-lJsLt3mlQMjcGQQkyueAftiSXlY,4627
@@ -96,7 +97,7 @@ karrio/server/manager/views/parcels.py,sha256=hZY45rg6SrTWfQqyJ38MGKSor1yqgPUEVH
96
97
  karrio/server/manager/views/pickups.py,sha256=cBGxLwd1Cg_8v71Crf3Ex6yN2xhvauATnw38aP9Q1HI,5510
97
98
  karrio/server/manager/views/shipments.py,sha256=VuIw2mAi8euARAPqKkgXL3gK8pAGtV86Sby9EAQQCQ4,10273
98
99
  karrio/server/manager/views/trackers.py,sha256=aWwn_sO8WR2gai0cJhib7kEokhpgXPgW2T9x-BdTOX4,12369
99
- karrio_server_manager-2025.5rc14.dist-info/METADATA,sha256=rrsg2GAc_LjbX0Fhpkt-iw7Fceq8dmS_WtwkwDOSMuQ,734
100
- karrio_server_manager-2025.5rc14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
101
- karrio_server_manager-2025.5rc14.dist-info/top_level.txt,sha256=D1D7x8R3cTfjF_15mfiO7wCQ5QMtuM4x8GaPr7z5i78,12
102
- karrio_server_manager-2025.5rc14.dist-info/RECORD,,
100
+ karrio_server_manager-2025.5rc16.dist-info/METADATA,sha256=wFRMDQNxIzkvl5mGsQjMbLqImdNXrWYO0UhXIfeN84U,734
101
+ karrio_server_manager-2025.5rc16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
102
+ karrio_server_manager-2025.5rc16.dist-info/top_level.txt,sha256=D1D7x8R3cTfjF_15mfiO7wCQ5QMtuM4x8GaPr7z5i78,12
103
+ karrio_server_manager-2025.5rc16.dist-info/RECORD,,