shop_system_models 0.0.1.dev26587__py3-none-any.whl → 1.0.0.dev26932__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.
@@ -83,6 +83,11 @@ class CreateOrderModel(MetaBaseModel):
83
83
  class ProductsInBasket(ProductResponseModel):
84
84
  count_in_basket: int = 1
85
85
 
86
+ class OrderPaymentDetails(BaseModel):
87
+ title: str
88
+ description: str
89
+ expires_at: datetime
90
+ link: str
86
91
 
87
92
  # This depends on UserBasketResponseModelV2 which we'll define in a separate file
88
93
  # For now, we'll create a placeholder class that can be updated later
@@ -99,6 +104,7 @@ class OrderModel(CreateOrderModel):
99
104
  process_key: Optional[int] = None
100
105
  coupon: Optional[str] = None
101
106
  admin_message_id: str | None = None
107
+ payment_data: OrderPaymentDetails | None = None
102
108
 
103
109
 
104
110
  class LabeledPrice(BaseModel):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: shop_system_models
3
- Version: 0.0.1.dev26587
3
+ Version: 1.0.0.dev26932
4
4
  Summary: Shared model definitions for shop system services
5
5
  Author: Pavel Mulin
6
6
  Author-email: pavel@tg-shops.com
@@ -40,7 +40,7 @@ shop_system_models/shop_api/shop/request/baskets.py,sha256=pQsnXoekis2_5aZYmktUa
40
40
  shop_system_models/shop_api/shop/request/categories.py,sha256=Z5BTycKC3rQfBP5GI2s3VpxaGxJ3DstfwmJpgF8EVXw,626
41
41
  shop_system_models/shop_api/shop/request/coupons.py,sha256=9TigEAUKie8Rdg38llkQ6oSRl3aWzppJd1FvWEllolI,1537
42
42
  shop_system_models/shop_api/shop/request/details.py,sha256=6cWi5jKpLP9gKQkNryCOkuuB_MU6dZTwXnKgTQ6QOkw,1047
43
- shop_system_models/shop_api/shop/request/orders.py,sha256=7zG7SSSN0auhSGSkrru6uoNtxCRg7HzMBMhvTDPNnvI,4526
43
+ shop_system_models/shop_api/shop/request/orders.py,sha256=o4_G1OtolUVGK1svHISHE8yxJaGslxFA4S9ga-xwOPI,4691
44
44
  shop_system_models/shop_api/shop/request/payment_methods.py,sha256=KnHM0nz9lp3J8vQ36QIra_jEiaF2uEipNnKKYKsFD6g,388
45
45
  shop_system_models/shop_api/shop/request/products.py,sha256=LKIxg0OcmD-uGK9DkuCVJzOgqOv3LWmCa2W5c-uX0os,1076
46
46
  shop_system_models/shop_api/shop/request/review.py,sha256=jZOaKx2cPymXnd2RjWKnKZZvSHljYDG3VdyPSWAi54o,270
@@ -57,6 +57,6 @@ shop_system_models/shop_api/shop/response/payment_methods.py,sha256=gSb5zU_8LX4x
57
57
  shop_system_models/shop_api/shop/response/products.py,sha256=_r5ZZwJJe4iYht4yIu266xsm1U_zQeSFkj5P3P6Y9Oo,1275
58
58
  shop_system_models/shop_api/shop/response/review.py,sha256=k5jzgS1HinyjbGfR6gnJENB5WufAedsMS77-vZm6fdw,486
59
59
  shop_system_models/shop_api/shop/response/users.py,sha256=DdZOTxGxQdxEg1yZi4v4mm8V8O0pV6K7zc6DWylLrMY,141
60
- shop_system_models-0.0.1.dev26587.dist-info/METADATA,sha256=0FvdkCqAKz8wZHUOHgoFlY9ZB5yjt_UKPRySrvZ3eu8,978
61
- shop_system_models-0.0.1.dev26587.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
62
- shop_system_models-0.0.1.dev26587.dist-info/RECORD,,
60
+ shop_system_models-1.0.0.dev26932.dist-info/METADATA,sha256=tD5doaU3SR_k2zscbvI9FnmICDY06YMHlxLmE1dNMIg,978
61
+ shop_system_models-1.0.0.dev26932.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
62
+ shop_system_models-1.0.0.dev26932.dist-info/RECORD,,