mirror of
https://github.com/hanzo-io/chat.git
synced 2026-10-30 18:57:58 +00:00
47 lines
1.2 KiB
TypeScript
47 lines
1.2 KiB
TypeScript
|
|
export interface RavenChannel {
|
|
creation: string
|
|
name: string
|
|
modified: string
|
|
owner: string
|
|
modified_by: string
|
|
docstatus: 0 | 1 | 2
|
|
parent?: string
|
|
parentfield?: string
|
|
parenttype?: string
|
|
idx?: number
|
|
/** Channel Name : Data */
|
|
channel_name: string
|
|
/** Channel Description : Small Text */
|
|
channel_description?: string
|
|
/** Type : Select */
|
|
type: "Private" | "Public" | "Open"
|
|
/** Is Synced : Check */
|
|
is_synced?: 0 | 1
|
|
/** Linked DocType : Link - DocType */
|
|
linked_doctype?: string
|
|
/** Linked Document : Dynamic Link */
|
|
linked_document?: string
|
|
/** Workspace : Link - Raven Workspace */
|
|
workspace?: string
|
|
/** Is Direct Message : Check */
|
|
is_direct_message?: 0 | 1
|
|
/** Is Thread : Check */
|
|
is_thread?: 0 | 1
|
|
/** Is DM Thread : Check */
|
|
is_dm_thread?: 0 | 1
|
|
/** Is Self Message : Check */
|
|
is_self_message?: 0 | 1
|
|
/** Is Archived : Check */
|
|
is_archived?: 0 | 1
|
|
/** Last Message Timestamp : Datetime */
|
|
last_message_timestamp?: string
|
|
/** Last Message Details : JSON */
|
|
last_message_details?: any
|
|
/** Is AI Thread : Check */
|
|
is_ai_thread?: 0 | 1
|
|
/** OpenAI Thread ID : Data */
|
|
openai_thread_id?: string
|
|
/** Thread Bot : Link - Raven Bot */
|
|
thread_bot?: string
|
|
} |