Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
3592c3c8d9
commit
83fdf8e4b2
@@ -1477,6 +1477,93 @@ export type Database = {
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
email_send_log: {
|
||||
Row: {
|
||||
created_at: string
|
||||
error_message: string | null
|
||||
id: string
|
||||
message_id: string | null
|
||||
metadata: Json | null
|
||||
recipient_email: string
|
||||
status: string
|
||||
template_name: string
|
||||
}
|
||||
Insert: {
|
||||
created_at?: string
|
||||
error_message?: string | null
|
||||
id?: string
|
||||
message_id?: string | null
|
||||
metadata?: Json | null
|
||||
recipient_email: string
|
||||
status: string
|
||||
template_name: string
|
||||
}
|
||||
Update: {
|
||||
created_at?: string
|
||||
error_message?: string | null
|
||||
id?: string
|
||||
message_id?: string | null
|
||||
metadata?: Json | null
|
||||
recipient_email?: string
|
||||
status?: string
|
||||
template_name?: string
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
email_send_state: {
|
||||
Row: {
|
||||
auth_email_ttl_minutes: number
|
||||
batch_size: number
|
||||
id: number
|
||||
retry_after_until: string | null
|
||||
send_delay_ms: number
|
||||
transactional_email_ttl_minutes: number
|
||||
updated_at: string
|
||||
}
|
||||
Insert: {
|
||||
auth_email_ttl_minutes?: number
|
||||
batch_size?: number
|
||||
id?: number
|
||||
retry_after_until?: string | null
|
||||
send_delay_ms?: number
|
||||
transactional_email_ttl_minutes?: number
|
||||
updated_at?: string
|
||||
}
|
||||
Update: {
|
||||
auth_email_ttl_minutes?: number
|
||||
batch_size?: number
|
||||
id?: number
|
||||
retry_after_until?: string | null
|
||||
send_delay_ms?: number
|
||||
transactional_email_ttl_minutes?: number
|
||||
updated_at?: string
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
email_unsubscribe_tokens: {
|
||||
Row: {
|
||||
created_at: string
|
||||
email: string
|
||||
id: string
|
||||
token: string
|
||||
used_at: string | null
|
||||
}
|
||||
Insert: {
|
||||
created_at?: string
|
||||
email: string
|
||||
id?: string
|
||||
token: string
|
||||
used_at?: string | null
|
||||
}
|
||||
Update: {
|
||||
created_at?: string
|
||||
email?: string
|
||||
id?: string
|
||||
token?: string
|
||||
used_at?: string | null
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
events: {
|
||||
Row: {
|
||||
all_day: boolean
|
||||
@@ -2780,6 +2867,30 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
suppressed_emails: {
|
||||
Row: {
|
||||
created_at: string
|
||||
email: string
|
||||
id: string
|
||||
metadata: Json | null
|
||||
reason: string
|
||||
}
|
||||
Insert: {
|
||||
created_at?: string
|
||||
email: string
|
||||
id?: string
|
||||
metadata?: Json | null
|
||||
reason: string
|
||||
}
|
||||
Update: {
|
||||
created_at?: string
|
||||
email?: string
|
||||
id?: string
|
||||
metadata?: Json | null
|
||||
reason?: string
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
task_assignees: {
|
||||
Row: {
|
||||
assigned_by: string | null
|
||||
@@ -3239,6 +3350,14 @@ export type Database = {
|
||||
Args: { _task_id: string; _user_id: string }
|
||||
Returns: boolean
|
||||
}
|
||||
delete_email: {
|
||||
Args: { message_id: number; queue_name: string }
|
||||
Returns: boolean
|
||||
}
|
||||
enqueue_email: {
|
||||
Args: { payload: Json; queue_name: string }
|
||||
Returns: number
|
||||
}
|
||||
has_role: {
|
||||
Args: {
|
||||
_role: Database["public"]["Enums"]["app_role"]
|
||||
@@ -3251,6 +3370,23 @@ export type Database = {
|
||||
Args: { _conv_id: string; _user_id: string }
|
||||
Returns: boolean
|
||||
}
|
||||
move_to_dlq: {
|
||||
Args: {
|
||||
dlq_name: string
|
||||
message_id: number
|
||||
payload: Json
|
||||
source_queue: string
|
||||
}
|
||||
Returns: number
|
||||
}
|
||||
read_email_batch: {
|
||||
Args: { batch_size: number; queue_name: string; vt: number }
|
||||
Returns: {
|
||||
message: Json
|
||||
msg_id: number
|
||||
read_ct: number
|
||||
}[]
|
||||
}
|
||||
}
|
||||
Enums: {
|
||||
app_role: "admin" | "attorney" | "staff" | "paralegal" | "legal_clerk"
|
||||
|
||||
Reference in New Issue
Block a user