fix: update endpoints
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user