import { get , post } from './api.service' ; export async function getNotificationsList ( page ) { return await get ( `/widgets/notifications/feed?page=${ page }` ) ; } export async function getUnseenCount ( ) { return await get ( '/widgets/notifications/unseen' ) ; } export async function markMessageAsSeen ( messageId ) { return await post ( `/widgets/messages/${ messageId }/seen` , { } ) ; }