UNPKG

projectmanager-sdk

Version:

Software development kit for the ProjectManager.com API. for TypeScript

37 lines (36 loc) 1.44 kB
/** * ProjectManager API for TypeScript * * (c) ProjectManager.com, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @author ProjectManager.com <support@projectmanager.com> * @copyright ProjectManager.com, Inc. * @link https://github.com/projectmgr/projectmanager-sdk-typescript */ import { NotificationDto } from "../index.js"; /** * Information about notifications for the current user. * * A notification represents a message sent to a user to inform them of relevant actions or events within their * workspace. Notifications are ephemeral and may be deleted when they are no longer needed. When a user has more * than 1,000 pending notifications some old notifications will be deleted automatically. */ export type NotificationResponseDto = { /** * The most recent notifications pending for the current user. If no notifications are pending for the current * user, this will be an empty array. If there are more than 1,000 notifications this list may be truncated to * only the 1,000 most recent notifications. */ items: NotificationDto[]; /** * The total number of pending notifications for the current user, including both read and unread. */ totalCount: number; /** * The number of unread notifications for the current user. */ unreadCount: number; };