tgshops-integrations 3.2__tar.gz → 3.4__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/PKG-INFO +1 -1
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/setup.py +1 -1
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/middlewares/gateway.py +2 -2
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/models/products.py +4 -5
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations.egg-info/PKG-INFO +1 -1
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/README.md +0 -0
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/setup.cfg +0 -0
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/__init__.py +0 -0
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/middlewares/__init__.py +0 -0
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/models/__init__.py +0 -0
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/models/categories.py +0 -0
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/nocodb_connector/__init__.py +0 -0
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/nocodb_connector/categories_management.py +0 -0
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/nocodb_connector/client.py +0 -0
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/nocodb_connector/model_mapping.py +0 -0
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/nocodb_connector/products_management.py +0 -0
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/nocodb_connector/tables.py +0 -0
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations.egg-info/SOURCES.txt +0 -0
- {tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations.egg-info/dependency_links.txt +0 -0
- {tgshops_integrations-3.2 → 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
|
+
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
|
{tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/middlewares/gateway.py
RENAMED
@@ -23,8 +23,8 @@ from tgshops_integrations.nocodb_connector.model_mapping import (
|
|
23
23
|
PRODUCT_IMAGES_LOOKUP_FIELD,
|
24
24
|
PRODUCT_EXTERNAL_ID,
|
25
25
|
)
|
26
|
-
from tgshops_integrations.nocodb_connector.
|
27
|
-
from tgshops_integrations.nocodb_connector.
|
26
|
+
from tgshops_integrations.nocodb_connector.categories_management import CategoryManager
|
27
|
+
from tgshops_integrations.nocodb_connector.products_management import ProductManager
|
28
28
|
from loguru import logger
|
29
29
|
|
30
30
|
|
{tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/models/products.py
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
from pydantic import BaseModel
|
2
|
-
from typing import Any, List,
|
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
|
-
|
32
|
-
|
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[
|
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)
|
{tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations.egg-info/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tgshops-integrations
|
3
|
-
Version: 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
|
File without changes
|
File without changes
|
File without changes
|
{tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/middlewares/__init__.py
RENAMED
File without changes
|
{tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/models/__init__.py
RENAMED
File without changes
|
{tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations/models/categories.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{tgshops_integrations-3.2 → tgshops_integrations-3.4}/tgshops_integrations.egg-info/top_level.txt
RENAMED
File without changes
|