UNPKG

@likeminds.community/feed-js

Version:

LikeMinds Javascript SDK for chat APIs

15 lines (14 loc) 1.01 kB
import NetworkLibrary from "../core/services/networklibrary"; import GetNotificationFeedRequest from "./model/GetNotificationFeedRequest"; import MarkReadNotificationRequest from "./model/MarkReadNotificationRequest"; import { GetNotification } from "../types/api-responses/getNotificationResponse"; import { GetNotificationCount } from "../types/api-responses/getNotificationCount"; import { MarkReadNotification } from "../types/api-responses/markReadResponse"; declare class NotificationFeedClient { networkLibrary: NetworkLibrary; constructor(instance: NetworkLibrary); getNotificationFeed(request: GetNotificationFeedRequest): Promise<import("../core/services/lmresponse").default<GetNotification>>; markReadNotification(request: MarkReadNotificationRequest): Promise<import("../core/services/lmresponse").default<MarkReadNotification>>; getUnreadNotificationCount(): Promise<import("../core/services/lmresponse").default<GetNotificationCount>>; } export default NotificationFeedClient;