feat: delete /api/v1/external_channels/import/

This commit is contained in:
Artem Tsyrulnikov
2025-11-11 23:15:50 +03:00
parent 552a3ddef2
commit 292bb0d49b
5 changed files with 1 additions and 82 deletions

View File

@@ -17,8 +17,6 @@ __all__ = (
'DeleteExternalChannelInput',
'UpdateExternalChannelInput',
'UpdateExternalChannelLinksInput',
'ImportExternalChannelsInput',
'ImportExternalChannelsOutput',
'CreativeOutput',
'GetCreativesInput',
'GetCreativesOutput',
@@ -56,8 +54,6 @@ from .external_channel import (
ExternalChannelOutput,
GetExternalChannelsInput,
GetExternalChannelsOutput,
ImportExternalChannelsInput,
ImportExternalChannelsOutput,
UpdateExternalChannelInput,
UpdateExternalChannelLinksInput,
)

View File

@@ -45,15 +45,3 @@ class UpdateExternalChannelInput(pydantic.BaseModel):
class UpdateExternalChannelLinksInput(pydantic.BaseModel):
add_target_channel_ids: list[uuid.UUID] = []
remove_target_channel_ids: list[uuid.UUID] = []
class ImportExternalChannelsInput(pydantic.BaseModel):
target_channel_id: uuid.UUID
user_id: uuid.UUID
file_content: bytes # Excel file content
class ImportExternalChannelsOutput(pydantic.BaseModel):
created_count: int
skipped_count: int
errors: list[str]