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