fix: update endpoints

This commit is contained in:
2026-05-12 00:26:21 +03:00
parent b1a763675a
commit 8ea86ccb10
10 changed files with 199 additions and 38 deletions

View File

@@ -42,6 +42,21 @@ class IKycRepository(ABC):
raise NotImplementedError
@abstractmethod
async def expire_all_started_sessions(self,*,now: datetime) -> None:
raise NotImplementedError
@abstractmethod
async def get_started_sessions(self,*,now: datetime,limit: int) -> list[KycEntity]:
raise NotImplementedError
@abstractmethod
async def get_active_session(self,*,user_id: str,now: datetime) -> KycEntity | None:
raise NotImplementedError
@abstractmethod
async def get_latest_session(self,*,user_id: str) -> KycEntity | None:
raise NotImplementedError