Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
20ce4f89e3
commit
a6213785ea
@@ -1561,6 +1561,7 @@ export type Database = {
|
||||
due_date: string | null
|
||||
id: string
|
||||
invoice_number: string
|
||||
is_retainer: boolean
|
||||
issue_date: string
|
||||
notes: string | null
|
||||
paid_at: string | null
|
||||
@@ -1579,6 +1580,7 @@ export type Database = {
|
||||
due_date?: string | null
|
||||
id?: string
|
||||
invoice_number: string
|
||||
is_retainer?: boolean
|
||||
issue_date?: string
|
||||
notes?: string | null
|
||||
paid_at?: string | null
|
||||
@@ -1597,6 +1599,7 @@ export type Database = {
|
||||
due_date?: string | null
|
||||
id?: string
|
||||
invoice_number?: string
|
||||
is_retainer?: boolean
|
||||
issue_date?: string
|
||||
notes?: string | null
|
||||
paid_at?: string | null
|
||||
@@ -2287,6 +2290,90 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
trust_ledger_entries: {
|
||||
Row: {
|
||||
amount: number
|
||||
applied_invoice_id: string | null
|
||||
applied_payment_id: string | null
|
||||
client_id: string
|
||||
created_at: string
|
||||
created_by: string | null
|
||||
entry_date: string
|
||||
entry_type: string
|
||||
id: string
|
||||
note: string | null
|
||||
source_invoice_id: string | null
|
||||
source_payment_id: string | null
|
||||
updated_at: string
|
||||
}
|
||||
Insert: {
|
||||
amount: number
|
||||
applied_invoice_id?: string | null
|
||||
applied_payment_id?: string | null
|
||||
client_id: string
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
entry_date?: string
|
||||
entry_type: string
|
||||
id?: string
|
||||
note?: string | null
|
||||
source_invoice_id?: string | null
|
||||
source_payment_id?: string | null
|
||||
updated_at?: string
|
||||
}
|
||||
Update: {
|
||||
amount?: number
|
||||
applied_invoice_id?: string | null
|
||||
applied_payment_id?: string | null
|
||||
client_id?: string
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
entry_date?: string
|
||||
entry_type?: string
|
||||
id?: string
|
||||
note?: string | null
|
||||
source_invoice_id?: string | null
|
||||
source_payment_id?: string | null
|
||||
updated_at?: string
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "trust_ledger_entries_applied_invoice_id_fkey"
|
||||
columns: ["applied_invoice_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "invoices"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "trust_ledger_entries_applied_payment_id_fkey"
|
||||
columns: ["applied_payment_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "invoice_payments"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "trust_ledger_entries_client_id_fkey"
|
||||
columns: ["client_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "clients"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "trust_ledger_entries_source_invoice_id_fkey"
|
||||
columns: ["source_invoice_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "invoices"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "trust_ledger_entries_source_payment_id_fkey"
|
||||
columns: ["source_payment_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "invoice_payments"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
user_roles: {
|
||||
Row: {
|
||||
created_at: string
|
||||
|
||||
Reference in New Issue
Block a user