tgshops-integrations 3.3__tar.gz → 3.4__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (20) hide show
  1. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/PKG-INFO +1 -1
  2. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/setup.py +1 -1
  3. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations/models/products.py +4 -5
  4. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations.egg-info/PKG-INFO +1 -1
  5. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/README.md +0 -0
  6. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/setup.cfg +0 -0
  7. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations/__init__.py +0 -0
  8. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations/middlewares/__init__.py +0 -0
  9. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations/middlewares/gateway.py +0 -0
  10. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations/models/__init__.py +0 -0
  11. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations/models/categories.py +0 -0
  12. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations/nocodb_connector/__init__.py +0 -0
  13. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations/nocodb_connector/categories_management.py +0 -0
  14. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations/nocodb_connector/client.py +0 -0
  15. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations/nocodb_connector/model_mapping.py +0 -0
  16. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations/nocodb_connector/products_management.py +0 -0
  17. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations/nocodb_connector/tables.py +0 -0
  18. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations.egg-info/SOURCES.txt +0 -0
  19. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations.egg-info/dependency_links.txt +0 -0
  20. {tgshops_integrations-3.3 → tgshops_integrations-3.4}/tgshops_integrations.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tgshops_integrations
3
- Version: 3.3
3
+ Version: 3.4
4
4
  Summary: Library is intended to provide the integration of the external service or CRM system with the TelegramShops/It allows to configure the relationship between NocoDB list of the products used further to display in the shop/As a resultss the products can be synchronized and updated uppon the request.
5
5
  Home-page: https://git.the-devs.com/virtual-shops/shop-system/shop-backend-integrations/integration-library/integration-library
6
6
  Author: Dimi Latoff
@@ -2,7 +2,7 @@ from setuptools import setup,find_packages
2
2
 
3
3
  setup(
4
4
  name='tgshops_integrations',
5
- version='3.3',
5
+ version='3.4',
6
6
  packages=find_packages(),
7
7
  install_requires=[
8
8
  # List your library's dependencies here
@@ -1,5 +1,5 @@
1
1
  from pydantic import BaseModel
2
- from typing import Any, List, Optional
2
+ from typing import Any, List,Dict,Optional
3
3
  from datetime import datetime
4
4
 
5
5
  from pydantic import BaseModel, Field, schema, validator
@@ -10,7 +10,6 @@ class ExtraAttribute(BaseModel):
10
10
 
11
11
  class ExternalProductModel(BaseModel):
12
12
  external_id: str
13
-
14
13
  category: Optional[List[str]]
15
14
  category_name: Optional[List[str]]
16
15
  name: str
@@ -28,12 +27,12 @@ class ExternalProductModel(BaseModel):
28
27
  class ProductModel(BaseModel):
29
28
  id: Optional[str]
30
29
  external_id: Optional[str]
31
- category: Optional[List[int]]
32
- category_name: Optional[List[str]]
30
+ product_properties: Optional[List[str]]
31
+ categories_structure: Optional[Dict[str, Any]]
33
32
  name: str
34
33
  description: Optional[str]
35
34
  price: Optional[float]
36
- final_price: Optional[int]
35
+ final_price: Optional[float]
37
36
  currency: Optional[str]
38
37
  stock_qty: int
39
38
  orders_qty: int = Field(0, hidden_field=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tgshops-integrations
3
- Version: 3.3
3
+ Version: 3.4
4
4
  Summary: Library is intended to provide the integration of the external service or CRM system with the TelegramShops/It allows to configure the relationship between NocoDB list of the products used further to display in the shop/As a resultss the products can be synchronized and updated uppon the request.
5
5
  Home-page: https://git.the-devs.com/virtual-shops/shop-system/shop-backend-integrations/integration-library/integration-library
6
6
  Author: Dimi Latoff