UNPKG

fastcomments-sdk

Version:

FastComments API Client - A SDK for interacting with the FastComments API

165 lines 3.3 kB
/** * fastcomments * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { NotificationObjectType } from './notification-object-type'; import type { NotificationType } from './notification-type'; /** * * @export * @interface UserNotification */ export interface UserNotification { /** * * @type {string} * @memberof UserNotification */ '_id': string; /** * * @type {string} * @memberof UserNotification */ 'tenantId': string; /** * * @type {string} * @memberof UserNotification */ 'userId'?: string | null; /** * * @type {string} * @memberof UserNotification */ 'anonUserId'?: string | null; /** * * @type {string} * @memberof UserNotification */ 'urlId': string; /** * * @type {string} * @memberof UserNotification */ 'url': string; /** * * @type {string} * @memberof UserNotification */ 'pageTitle'?: string | null; /** * * @type {NotificationObjectType} * @memberof UserNotification */ 'relatedObjectType': NotificationObjectType; /** * * @type {string} * @memberof UserNotification */ 'relatedObjectId': string; /** * * @type {boolean} * @memberof UserNotification */ 'viewed': boolean; /** * * @type {boolean} * @memberof UserNotification */ 'isUnreadMessage': boolean; /** * * @type {boolean} * @memberof UserNotification */ 'sent': boolean; /** * * @type {string} * @memberof UserNotification */ 'createdAt': string; /** * * @type {NotificationType} * @memberof UserNotification */ 'type': NotificationType; /** * * @type {string} * @memberof UserNotification */ 'fromCommentId'?: string | null; /** * * @type {string} * @memberof UserNotification */ 'fromVoteId'?: string | null; /** * * @type {string} * @memberof UserNotification */ 'fromUserName'?: string | null; /** * * @type {string} * @memberof UserNotification */ 'fromUserId'?: string | null; /** * * @type {string} * @memberof UserNotification */ 'fromUserAvatarSrc'?: string | null; /** * * @type {boolean} * @memberof UserNotification */ 'optedOut': boolean; /** * * @type {number} * @memberof UserNotification */ 'count'?: number; /** * * @type {Array<string>} * @memberof UserNotification */ 'relatedIds'?: Array<string>; /** * * @type {Array<string>} * @memberof UserNotification */ 'fromUserIds'?: Array<string>; /** * * @type {Array<string>} * @memberof UserNotification */ 'fromUserNames'?: Array<string>; } //# sourceMappingURL=user-notification.d.ts.map