/* Copyright (c), CKSource Holding sp. z o.o. All rights reserved. */ import Message, { type IMessage } from '../../../message'; import type { IDescriptorBody } from '../../../descriptor'; export interface IUpdateCommentThreadMessage extends IMessage { commentThreadId: string; documentId: string; context: string | null | undefined; attributes: string | null; unlinkedAt: string | null; } export default class UpdateCommentThreadMessage extends Message { readonly commentThreadId: string; readonly documentId: string; readonly context?: (Record | null) | undefined; readonly attributes: Record | null; readonly unlinkedAt: Date | string; static readonly TYPE: string; static readonly READABLE_TYPE_NAME: string; static readonly DESCRIPTOR_NAME: string; static readonly DESCRIPTOR: IDescriptorBody; constructor(commentThreadId: string, documentId: string, context?: (Record | null) | undefined, attributes?: Record | null, unlinkedAt?: string | Date | null); toJSON(): IUpdateCommentThreadMessage; static fromJSON(object: IUpdateCommentThreadMessage): UpdateCommentThreadMessage; }