UNPKG

@simplyhomes/sos-sdk

Version:

TypeScript SDK for Simply Homes SoS API v4

64 lines 2.25 kB
/** * API v4 * Swagger documentation for API v4 * * The version of the OpenAPI document: 4.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 { MessageNotificationEntityType } from './MessageNotificationEntityType'; /** * * @export * @interface SoSMessageNotificationEntityBase */ export interface SoSMessageNotificationEntityBase { /** * Unique notification identifier * @type {number} * @memberof SoSMessageNotificationEntityBase */ id: number; /** * User ID who receives this notification * @type {string} * @memberof SoSMessageNotificationEntityBase */ userId: string; /** * Message ID that triggered this notification * @type {number} * @memberof SoSMessageNotificationEntityBase */ messageId: number; /** * Type of notification (mention or subscription) * @type {MessageNotificationEntityType} * @memberof SoSMessageNotificationEntityBase */ type: MessageNotificationEntityType; /** * Whether the notification has been read * @type {boolean} * @memberof SoSMessageNotificationEntityBase */ read: boolean; /** * When the notification was created * @type {Date} * @memberof SoSMessageNotificationEntityBase */ createdAt: string; } /** * Check if a given object implements the SoSMessageNotificationEntityBase interface. */ export declare function instanceOfSoSMessageNotificationEntityBase(value: object): value is SoSMessageNotificationEntityBase; export declare function SoSMessageNotificationEntityBaseFromJSON(json: any): SoSMessageNotificationEntityBase; export declare function SoSMessageNotificationEntityBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SoSMessageNotificationEntityBase; export declare function SoSMessageNotificationEntityBaseToJSON(json: any): SoSMessageNotificationEntityBase; export declare function SoSMessageNotificationEntityBaseToJSONTyped(value?: SoSMessageNotificationEntityBase | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=SoSMessageNotificationEntityBase.d.ts.map