Обновление структуры моделей интеграций

This commit is contained in:
2026-01-15 12:19:44 +03:00
parent a23d714128
commit 607c5ac8f4
2 changed files with 5 additions and 0 deletions

View File

@@ -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',
]

View File

@@ -6,6 +6,7 @@ class IntegrationType(models.TextChoices):
MARKETPLACE = 'marketplace', 'Маркетплейс'
PAYMENT = 'payment', 'Платёжная система'
SHIPPING = 'shipping', 'Служба доставки'
AI_SERVICE = 'ai_service', 'Сервис ИИ'
class BaseIntegration(models.Model):