
    wg                     J    d dl mZ d dlmZ d dlmZmZ  G d de          ZdS )    )Iterable)Protocol)NotificationInterfaceNotificationPatternInterfacec                       e Zd ZdedefdZdedee         fdZdedee         fdZ	deddfd	Z
dededefd
ZdedefdZdS )NotificationRepositoryInterfaceidreturnc                     t           NNotImplementedErrorselfr	   s     9/var/www/html/cms/domain/user/notifications/repository.pygetz#NotificationRepositoryInterface.get       !!    notification_idc                     t           r   r   )r   r   s     r   get_patternsz,NotificationRepositoryInterface.get_patterns   r   r   user_idc                     t           r   r   )r   r   s     r   get_notificationsz1NotificationRepositoryInterface.get_notifications   r   r   Nc                     t           r   r   r   s     r   delete_user_notificationz8NotificationRepositoryInterface.delete_user_notification   r   r   c                     t           r   r   )r   r   r   s      r   createz&NotificationRepositoryInterface.create   r   r   triger_namec                     t           r   r   )r   r   s     r   get_notifiation_by_triggerz:NotificationRepositoryInterface.get_notifiation_by_trigger   r   r   )__name__
__module____qualname__intr   r   r   r   r   r   r   r   strr!    r   r   r   r   
   s        "c "3 " " " ""C "H=Y4Z " " " "" ":O1P " " " ""3 "4 " " " ""c "C "<Q " " " ""c ">S " " " " " "r   r   N)collections.abcr   typingr   'domain.user.notifications.notificationsr   r   r   r'   r   r   <module>r+      s    $ $ $ $ $ $             " " " " "h " " " " "r   