import { Observable } from "rxjs"; import { CsNotificationServiceConfig } from "../../../cs-module"; import { NotificationData } from "../../../models/notification"; export interface CsNotificationService { notificationRead(uid: string, config?: CsNotificationServiceConfig): Observable; notificationUpdate(req: CsNotificationUpdateReq, config?: CsNotificationServiceConfig): Observable; notificationDelete(req: CsNotificationDeleteReq, config?: CsNotificationServiceConfig): Observable; } export interface CsNotificationReadResponse { feeds: Array; } export interface CsNotificationUpdateReq { ids: string[]; userId: string; } export interface CsNotificationDeleteReq { ids: string[]; userId: string; } export interface CsNotificationUpdateResponse { result: any; }