layrz-sdk 4.0.16__py3-none-any.whl → 4.0.18__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 layrz-sdk might be problematic. Click here for more details.

@@ -17,11 +17,11 @@ class AtsOperationMovement(BaseModel):
17
17
  OrderStatus: lambda v: v.value,
18
18
  },
19
19
  }
20
- pk: int = Field(description='Defines the primary key of the Function', alias='id')
21
- status: OrderStatus = Field(..., description='Current status of the order')
22
- created_at: datetime = Field(description='Timestamp when the operation movement was created')
23
- asset_id: int = Field(description='ID of the asset')
24
- operation_id: int = Field(description='ID of the operation')
20
+ pk: int | None = Field(description='Defines the primary key of the Function', alias='id', default=None)
21
+ status: OrderStatus | None = Field(description='Current status of the order', default=None)
22
+ created_at: datetime | None = Field(description='Timestamp when the operation movement was created', default=None)
23
+ asset_id: int | None = Field(description='ID of the asset', default=None)
24
+ operation_id: int | None = Field(description='ID of the operation', default=None)
25
25
 
26
26
 
27
27
  class AtsOperation(BaseModel):
@@ -42,6 +42,6 @@ class AtsOperation(BaseModel):
42
42
  deliver_category: DeliveryCategories = Field(..., description='Delivery category of the operation')
43
43
  seller_asset_id: int = Field(description='ID of the seller asset')
44
44
  transport_asset_id: int = Field(description='ID of the transport asset')
45
- finished_at: datetime = Field(description='Timestamp when the operation was finished')
45
+ finished_at: datetime | None = Field(description='Timestamp when the operation was finished', default=None)
46
46
  history: list[AtsOperationMovement] = Field(description='List of operation movements')
47
47
  purchase_orders: list[AtsPurchaseOrder] = Field(description='List of purchase orders')
@@ -53,13 +53,13 @@ class AtsPurchaseOrder(BaseModel):
53
53
  purchased_at: datetime = Field(description='Timestamp when the operation was purchased')
54
54
  order_status: OrderStatus = Field(..., description='Current status of the order')
55
55
  order_id: int = Field(description='ID of the order')
56
- category: OrderCategories | None = Field(..., description='Category of the operation')
57
- deliver_category: DeliveryCategories | None = Field(..., description='Delivery category of the operation')
56
+ category: OrderCategories | None = Field(description='Category of the operation', default=None)
57
+ deliver_category: DeliveryCategories | None = Field(description='Delivery category of the operation', default=None)
58
58
  seller_asset_id: int = Field(description='ID of the seller asset')
59
- transport_asset_id: int = Field(description='ID of the transport asset')
59
+ transport_asset_id: int | None = Field(description='ID of the transport asset', default=None)
60
60
  asset_id: int = Field(description='ID of the asset')
61
- delivered_at: datetime = Field(description='Timestamp when the operation was delivered')
62
- eta: datetime = Field(description='Estimated time of arrival to the destination')
63
- eta_updated_at: datetime = Field(description='Timestamp when the ETA was last updated')
61
+ delivered_at: datetime | None = Field(description='Timestamp when the operation was delivered', default=None)
62
+ eta: datetime | None = Field(description='Estimated time of arrival to the destination', default=None)
63
+ eta_updated_at: datetime | None = Field(description='Timestamp when the ETA was last updated', default=None)
64
64
  invoice_type: str = Field(description='Type of the invoice')
65
- operation_id: int = Field(description='ID of the operation')
65
+ operation_id: int | None = Field(description='ID of the operation', default=None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: layrz-sdk
3
- Version: 4.0.16
3
+ Version: 4.0.18
4
4
  Summary: Layrz SDK for Python
5
5
  Author-email: "Golden M, Inc." <software@goldenm.com>
6
6
  Maintainer-email: Kenny Mochizuki <kenny@goldenm.com>, Luis Reyes <lreyes@goldenm.com>, Kasen Li <kli@goldenm.com>, Miguel Zauzich <miguel@goldenm.com>, Angel Prieto <aprieto@goldenm.com>
@@ -14,10 +14,10 @@ layrz_sdk/entities/asset_contact.py,sha256=ptxItpob4VdQeM6qMUtSZgZxBw5DfKp3kVfBV
14
14
  layrz_sdk/entities/asset_operation_mode.py,sha256=umvmRb8W3kEDUd9dqyKhJ745xe3wssNjPw8gGGcKYO8,551
15
15
  layrz_sdk/entities/ats_entry.py,sha256=wtrw3F9Pkirn0uGIvWyxbSqf36GWu2CRfqXuc5legmQ,669
16
16
  layrz_sdk/entities/ats_exit_history.py,sha256=qfeOQcMQqoGEYk0Tp1Oe5K7M_nld7JxpX09rPUQl7hc,1457
17
- layrz_sdk/entities/ats_operation.py,sha256=safEv3UQGtDUU2cykWnmaTA-5QBVchR2QvKy9e9Pt9g,1931
17
+ layrz_sdk/entities/ats_operation.py,sha256=V5oi4wyahPjjy3s2d-ofGqpzJ0pC4AK4ovwazjTlPZA,2052
18
18
  layrz_sdk/entities/ats_possible_entry.py,sha256=Z6gcGyzX0XTYoTQvFDeN2ggkyjBDiX-3L-L_5EnzcUY,1432
19
19
  layrz_sdk/entities/ats_possible_exit.py,sha256=gCibHlXicrs7dsACVWIBZ-I7RqEbdbKJQllxkjHNHoY,1822
20
- layrz_sdk/entities/ats_purchaseorder.py,sha256=F19hQbYeaE0fPvYTC6y7KWx9EI-i36Tik0TD9Q_TVEk,2492
20
+ layrz_sdk/entities/ats_purchaseorder.py,sha256=4zT59cIbJ45706jRnyASQP6J-q8PWaZ0vJB0J-ibEeE,2615
21
21
  layrz_sdk/entities/ats_reception.py,sha256=1zzeUvUqSCYP1cBlBNWNgOrdBQ-5SUky2tuA5_EYiKI,958
22
22
  layrz_sdk/entities/case.py,sha256=4ufVTeVRNpLOe0cx2vUWLsraP4mePq8gNl8mt7-XFPo,1782
23
23
  layrz_sdk/entities/case_ignored_status.py,sha256=B7HDz6MAD3lQAab2gx5w6wcG_Yp6DRc2VXpeS2M45fw,429
@@ -113,8 +113,8 @@ layrz_sdk/helpers/__init__.py,sha256=5iW3z2m3jrYhvTfxX-p-QTkR9X9oTKfEsbtVOg9jFFY
113
113
  layrz_sdk/helpers/color.py,sha256=dlpMafbM-4Wd9D9hMbbnZJf4ALkpie_ZmBR2Vz_YCmM,1203
114
114
  layrz_sdk/lcl/__init__.py,sha256=U967AWANkL3u_YVxMNAYlh8jkZ6hqHfStacz7yz6sOA,89
115
115
  layrz_sdk/lcl/core.py,sha256=_3uK05I0iwJl63cVWKxt-qFkq0DWggCj5M680GHH5uQ,25161
116
- layrz_sdk-4.0.16.dist-info/licenses/LICENSE,sha256=d5ZrU--lIPER7QByXDKcrtOTOMk1JvN_9FdYDuoWi7Y,1057
117
- layrz_sdk-4.0.16.dist-info/METADATA,sha256=N0IH7nuuBxkY6w4UOjmvgWTk1AgMP-KQdx38rI8dblI,2045
118
- layrz_sdk-4.0.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
119
- layrz_sdk-4.0.16.dist-info/top_level.txt,sha256=yUTMMzfdZ0HDWQH5TaSlFM4xtwmP1fSGxmlL1dmu4l4,10
120
- layrz_sdk-4.0.16.dist-info/RECORD,,
116
+ layrz_sdk-4.0.18.dist-info/licenses/LICENSE,sha256=d5ZrU--lIPER7QByXDKcrtOTOMk1JvN_9FdYDuoWi7Y,1057
117
+ layrz_sdk-4.0.18.dist-info/METADATA,sha256=KU9CZv5IIFb4C77N0j_p8XwfWBa47iAM7855SSHtIWE,2045
118
+ layrz_sdk-4.0.18.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
119
+ layrz_sdk-4.0.18.dist-info/top_level.txt,sha256=yUTMMzfdZ0HDWQH5TaSlFM4xtwmP1fSGxmlL1dmu4l4,10
120
+ layrz_sdk-4.0.18.dist-info/RECORD,,