interface
Source: index.ts ↗
IOrganizationNotificationService
This service provides access to organization notifications.
export interface IOrganizationNotificationService
Methods
Method | Description |
|---|---|
Query list of notifications | |
Mark all notifications as read | |
Mark notification as read |
Method details
IOrganizationNotificationService.getNotificationsQuery()method
Query list of notifications
getNotificationsQuery(): INotificationsQuery;
Returns
IOrganizationNotificationService.markAllNotificationsAsRead()method
Mark all notifications as read
markAllNotificationsAsRead(): Promise<void>;
Returns
Promise<void>
IOrganizationNotificationService.markNotificationAsRead()method
Mark notification as read
markNotificationAsRead(notificationId: string): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
notificationId | string |
Returns
Promise<void>
Promise resolved with updated notification.