Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
68d86e08ea
commit
3374695d1b
@@ -1110,6 +1110,147 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
invoice_line_items: {
|
||||
Row: {
|
||||
amount: number
|
||||
case_id: string | null
|
||||
created_at: string
|
||||
description: string
|
||||
expense_id: string | null
|
||||
id: string
|
||||
invoice_id: string
|
||||
kind: string
|
||||
quantity: number
|
||||
rate: number
|
||||
sort_order: number
|
||||
time_entry_id: string | null
|
||||
updated_at: string
|
||||
user_id: string | null
|
||||
work_date: string | null
|
||||
}
|
||||
Insert: {
|
||||
amount?: number
|
||||
case_id?: string | null
|
||||
created_at?: string
|
||||
description?: string
|
||||
expense_id?: string | null
|
||||
id?: string
|
||||
invoice_id: string
|
||||
kind?: string
|
||||
quantity?: number
|
||||
rate?: number
|
||||
sort_order?: number
|
||||
time_entry_id?: string | null
|
||||
updated_at?: string
|
||||
user_id?: string | null
|
||||
work_date?: string | null
|
||||
}
|
||||
Update: {
|
||||
amount?: number
|
||||
case_id?: string | null
|
||||
created_at?: string
|
||||
description?: string
|
||||
expense_id?: string | null
|
||||
id?: string
|
||||
invoice_id?: string
|
||||
kind?: string
|
||||
quantity?: number
|
||||
rate?: number
|
||||
sort_order?: number
|
||||
time_entry_id?: string | null
|
||||
updated_at?: string
|
||||
user_id?: string | null
|
||||
work_date?: string | null
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "invoice_line_items_case_id_fkey"
|
||||
columns: ["case_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "cases"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "invoice_line_items_expense_id_fkey"
|
||||
columns: ["expense_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "expenses"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "invoice_line_items_invoice_id_fkey"
|
||||
columns: ["invoice_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "invoices"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "invoice_line_items_time_entry_id_fkey"
|
||||
columns: ["time_entry_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "time_entries"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "invoice_line_items_user_id_fkey"
|
||||
columns: ["user_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "profiles"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
invoice_payments: {
|
||||
Row: {
|
||||
amount: number
|
||||
created_at: string
|
||||
created_by: string | null
|
||||
id: string
|
||||
invoice_id: string
|
||||
method: string | null
|
||||
notes: string | null
|
||||
paid_on: string
|
||||
reference: string | null
|
||||
}
|
||||
Insert: {
|
||||
amount?: number
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
id?: string
|
||||
invoice_id: string
|
||||
method?: string | null
|
||||
notes?: string | null
|
||||
paid_on?: string
|
||||
reference?: string | null
|
||||
}
|
||||
Update: {
|
||||
amount?: number
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
id?: string
|
||||
invoice_id?: string
|
||||
method?: string | null
|
||||
notes?: string | null
|
||||
paid_on?: string
|
||||
reference?: string | null
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "invoice_payments_created_by_fkey"
|
||||
columns: ["created_by"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "profiles"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "invoice_payments_invoice_id_fkey"
|
||||
columns: ["invoice_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "invoices"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
invoices: {
|
||||
Row: {
|
||||
amount_paid: number
|
||||
|
||||
Reference in New Issue
Block a user