import { Observable } from 'rxjs'; import { Notification, NotificationFilterCriteria } from './requests'; import { SdkServiceOnInitDelegate } from '../../sdk-service-on-init-delegate'; export interface NotificationService extends SdkServiceOnInitDelegate { notifications$: Observable; addNotification(notification: Notification): Observable; updateNotification(notification: Notification): Observable; getAllNotifications(criteria: NotificationFilterCriteria): Observable; deleteNotification(notification: Notification): Observable; deleteAllNotifications(): Observable; }