diff --git a/myproject/integrations/models/__init__.py b/myproject/integrations/models/__init__.py index a0a9689..0d81238 100644 --- a/myproject/integrations/models/__init__.py +++ b/myproject/integrations/models/__init__.py @@ -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', ] diff --git a/myproject/integrations/models/base.py b/myproject/integrations/models/base.py index 672f198..8c46942 100644 --- a/myproject/integrations/models/base.py +++ b/myproject/integrations/models/base.py @@ -6,6 +6,7 @@ class IntegrationType(models.TextChoices): MARKETPLACE = 'marketplace', 'Маркетплейс' PAYMENT = 'payment', 'Платёжная система' SHIPPING = 'shipping', 'Служба доставки' + AI_SERVICE = 'ai_service', 'Сервис ИИ' class BaseIntegration(models.Model):