shop_system_models 1.2.1__tar.gz → 1.3.0__tar.gz

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.
Files changed (67) hide show
  1. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/PKG-INFO +3 -2
  2. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/pyproject.toml +1 -1
  3. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/deployment_api/shared.py +13 -3
  4. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/deployment_api/shared.pyi +11 -0
  5. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/README.md +0 -0
  6. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/__init__.py +0 -0
  7. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/__init__.pyi +0 -0
  8. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/consts/__init__.py +0 -0
  9. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/consts/__init__.pyi +0 -0
  10. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/consts/country_codes.py +0 -0
  11. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/consts/country_codes.pyi +0 -0
  12. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/consts/enums.py +0 -0
  13. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/consts/enums.pyi +0 -0
  14. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/consts/messages/admin.py +0 -0
  15. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/consts/messages/locales/en.json +0 -0
  16. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/consts/messages/locales/ru.json +0 -0
  17. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/consts/messages/mapping.py +0 -0
  18. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/deployment_api/__init__.py +0 -0
  19. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/deployment_api/__init__.pyi +0 -0
  20. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/deployment_api/request/authorization.py +0 -0
  21. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/deployment_api/request/bot.py +0 -0
  22. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/deployment_api/request/nocodb.py +0 -0
  23. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/deployment_api/request/premium.py +0 -0
  24. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/deployment_api/request/processes.py +0 -0
  25. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/deployment_api/request/servers.py +0 -0
  26. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/deployment_api/request/services.py +0 -0
  27. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/deployment_api/users.py +0 -0
  28. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/deployment_api/users.pyi +0 -0
  29. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/py.typed +0 -0
  30. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shared.py +0 -0
  31. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shared.pyi +0 -0
  32. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/__init__.py +0 -0
  33. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/__init__.pyi +0 -0
  34. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/bot/__init__.py +0 -0
  35. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/bot/request.py +0 -0
  36. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/bot/response.py +0 -0
  37. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/commands/__init__.py +0 -0
  38. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/commands/request.py +0 -0
  39. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/commands/response.py +0 -0
  40. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/links.py +0 -0
  41. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/processes/__init__.py +0 -0
  42. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/processes/request.py +0 -0
  43. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/processes/response.py +0 -0
  44. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shared.py +0 -0
  45. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/__init__.py +0 -0
  46. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/request/__init__.py +0 -0
  47. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/request/baskets.py +0 -0
  48. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/request/categories.py +0 -0
  49. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/request/coupons.py +0 -0
  50. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/request/details.py +0 -0
  51. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/request/orders.py +0 -0
  52. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/request/payment_methods.py +0 -0
  53. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/request/products.py +0 -0
  54. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/request/review.py +0 -0
  55. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/request/shop.py +0 -0
  56. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/response/__init__.py +0 -0
  57. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/response/basic.py +0 -0
  58. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/response/baskets.py +0 -0
  59. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/response/categories.py +0 -0
  60. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/response/coupons.py +0 -0
  61. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/response/extra_product_options.py +0 -0
  62. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/response/initialization_data.py +0 -0
  63. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/response/orders.py +0 -0
  64. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/response/payment_methods.py +0 -0
  65. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/response/products.py +0 -0
  66. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/response/review.py +0 -0
  67. {shop_system_models-1.2.1 → shop_system_models-1.3.0}/shop_system_models/shop_api/shop/response/users.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: shop_system_models
3
- Version: 1.2.1
3
+ Version: 1.3.0
4
4
  Summary: Shared model definitions for shop system services
5
5
  Author: Pavel Mulin
6
6
  Author-email: pavel@tg-shops.com
@@ -11,6 +11,7 @@ Classifier: Programming Language :: Python :: 3.10
11
11
  Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: Programming Language :: Python :: 3.12
13
13
  Classifier: Programming Language :: Python :: 3.13
14
+ Classifier: Programming Language :: Python :: 3.14
14
15
  Requires-Dist: pydantic (>=2.10.3)
15
16
  Description-Content-Type: text/markdown
16
17
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "shop_system_models"
3
- version = "v1.2.1"
3
+ version = "v1.3.0"
4
4
  description = "Shared model definitions for shop system services"
5
5
  authors = ["Pavel Mulin <pavel@tg-shops.com>"]
6
6
  readme = "README.md"
@@ -15,6 +15,16 @@ class NocoDBConfig(BaseModel):
15
15
  nocodb_options_category_table: Optional[str] = None
16
16
 
17
17
 
18
+ class OpeningHours(BaseModel):
19
+ monday: Optional[str] = None
20
+ tuesday: Optional[str] = None
21
+ wednesday: Optional[str] = None
22
+ thursday: Optional[str] = None
23
+ friday: Optional[str] = None
24
+ saturday: Optional[str] = None
25
+ sunday: Optional[str] = None
26
+
27
+
18
28
  class ShopDetailsModel(BaseModel):
19
29
  shop_id: str
20
30
  shop_name: str
@@ -32,9 +42,9 @@ class ShopDetailsModel(BaseModel):
32
42
  payment_token: str | None = None
33
43
  placeholder: str
34
44
  order_process: str
35
-
36
45
  nocodb_config: Optional[NocoDBConfig] = None
37
-
38
46
  topic_chat_id: Optional[int] = None
39
47
  premium_expiration_date: Optional[datetime] = None
40
- web_app_url: str
48
+ web_app_url: str
49
+ short_description: Optional[str] = None
50
+ description: Optional[str] = None
@@ -11,6 +11,15 @@ class NocoDBConfig(BaseModel):
11
11
  nocodb_options_table: str | None
12
12
  nocodb_options_category_table: str | None
13
13
 
14
+ class OpeningHours(BaseModel):
15
+ monday: str | None
16
+ tuesday: str | None
17
+ wednesday: str | None
18
+ thursday: str | None
19
+ friday: str | None
20
+ saturday: str | None
21
+ sunday: str | None
22
+
14
23
  class ShopDetailsModel(BaseModel):
15
24
  shop_id: str
16
25
  shop_name: str
@@ -32,3 +41,5 @@ class ShopDetailsModel(BaseModel):
32
41
  topic_chat_id: int | None
33
42
  premium_expiration_date: datetime | None
34
43
  web_app_url: str
44
+ short_description: str | None
45
+ description: str | None