codestring required
Human readable code, TK-<number>
kind'REQUEST' | 'CHAT' required
Which of the two halves of support_tickets a row uses.
status'OPEN' | 'IN_PROGRESS' | 'CLOSED' required
Life of a support ticket. IN_PROGRESS is set by taking it in charge.
priority_labelstring nullable
department_idstring nullable
Owning department, null on a chat
department_labelstring nullable
created_by_user_idstring required
created_by_namestring nullable
patient_namestring nullable
Patient the request is about
assignee_user_idstring nullable
assignee_namestring nullable
related_ticket_idstring nullable
related_ticket_codestring nullable
chat_idstring nullable
Where to post a reply. On a request this is its chat, if one exists; on a chat it is the row itself
has_chatboolean required
Whether a conversation was ever opened
chat_openboolean required
Whether anyone can still write in it
chat_expires_atstring nullable
chat_expiredboolean required
Whether it died of inactivity
waiting_on'EXPERT' | 'STAFF'
Which side owes the next message, derived from who wrote last.
unreadboolean required
Whether the caller has something unread here
idle_hoursinteger nullable
Hours since the last entry
is_staleboolean required
Idle longer than this priority allows
created_atstring nullable
updated_atstring nullable
last_activity_atstring nullable
assistant_conversation_idstring uuid nullable
descriptionstring required
patient_idstring nullable
Patient the request is about
operator_alert_idstring nullable
operator_alert_titlestring nullable
can_replyboolean required
Whether the caller can post right now
can_manageboolean required
Whether the caller acts from the handling side
can_takeboolean
Whether the caller can take this unassigned request