Record Activity

RecordActivityModel

{
    activity_id: string;        //UUID
    record_id: string;          //UUID
    created_by_user: UserModel;

    type: RecordActivityTypeEnum = RecordActivityTypeEnum.created;
    
    access_type: RecordAccessTypeEnum = RecordAccessTypeEnum.default;

    contact_id?: string;        //UUID
    contact?: RecordIdNameModel;

    task_id?: string;            //UUID
    task?: RecordIdNameModel;

    reaction_summaries: RecordActivityReactionSummaryModel[] = [];
    
    created_at: Date = new Date();
    modified_at: Date = new Date();
}

RecordActivityTypeEnum

export enum RecordActivityTypeEnum
{
    comment = "comment",
    call = "call",
    task_attached = "task_attached",

    assignee = "assignee",
    archive = "archive",
    contact_attached = "contact_attached",
    created = "created",
    custom_field = "custom_field",
    start_date = "start_date",
    due_date = "due_date",
    date_type = "date_type",
    date_interval = "date_interval",
    dependency = "dependency",
    description = "description",
    estimate = "estimate",
    file = "file",
    followers = "followers",
    name = "name",
    parent = "parent",
    priority = "priority",
    projects = "projects",
    record_type = "record_type",
    record_sub_type = "record_sub_type",
    status = "status",
    timeline = "timeline",                  //Utilized when timeline is shifted

}

RecordAccessTypeEnum

Last updated