ETASCOM CRM V3 - Documentation API
    Preparing search index...

    Interface Post

    interface Post {
        id: string;
        companyId?: string;
        authorId: string;
        title: string;
        content: string;
        type: PostType;
        priority: PostPriority;
        isPinned: boolean;
        isPublic: boolean;
        publishedAt?: Date;
        createdAt: Date;
        updatedAt: Date;
        company?: { id: string; name: string; logo?: string };
        author: { id: string; name: string; email: string; avatar?: string };
        comments: PostComment[];
        likes: PostLike[];
        files: PostFile[];
        likesCount: number;
        commentsCount: number;
        isLiked?: boolean;
    }
    Index

    Properties

    id: string
    companyId?: string
    authorId: string
    title: string
    content: string
    type: PostType
    priority: PostPriority
    isPinned: boolean
    isPublic: boolean
    publishedAt?: Date
    createdAt: Date
    updatedAt: Date
    company?: { id: string; name: string; logo?: string }
    author: { id: string; name: string; email: string; avatar?: string }
    comments: PostComment[]
    likes: PostLike[]
    files: PostFile[]
    likesCount: number
    commentsCount: number
    isLiked?: boolean