Обновление структуры моделей интеграций
This commit is contained in:
@@ -5,6 +5,8 @@ from .marketplaces import (
|
|||||||
RecommerceIntegration,
|
RecommerceIntegration,
|
||||||
)
|
)
|
||||||
from .category_mappings import IntegrationCategoryMapping
|
from .category_mappings import IntegrationCategoryMapping
|
||||||
|
from .ai_services.glm import GLMIntegration
|
||||||
|
from .ai_services.openrouter import OpenRouterIntegration
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
'BaseIntegration',
|
'BaseIntegration',
|
||||||
@@ -13,4 +15,6 @@ __all__ = [
|
|||||||
'WooCommerceIntegration',
|
'WooCommerceIntegration',
|
||||||
'RecommerceIntegration',
|
'RecommerceIntegration',
|
||||||
'IntegrationCategoryMapping',
|
'IntegrationCategoryMapping',
|
||||||
|
'GLMIntegration',
|
||||||
|
'OpenRouterIntegration',
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ class IntegrationType(models.TextChoices):
|
|||||||
MARKETPLACE = 'marketplace', 'Маркетплейс'
|
MARKETPLACE = 'marketplace', 'Маркетплейс'
|
||||||
PAYMENT = 'payment', 'Платёжная система'
|
PAYMENT = 'payment', 'Платёжная система'
|
||||||
SHIPPING = 'shipping', 'Служба доставки'
|
SHIPPING = 'shipping', 'Служба доставки'
|
||||||
|
AI_SERVICE = 'ai_service', 'Сервис ИИ'
|
||||||
|
|
||||||
|
|
||||||
class BaseIntegration(models.Model):
|
class BaseIntegration(models.Model):
|
||||||
|
|||||||
Reference in New Issue
Block a user