Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
42f6fab6e7
commit
9e2c88392e
@@ -141,6 +141,7 @@ export type Database = {
|
||||
Row: {
|
||||
address_line1: string | null
|
||||
address_line2: string | null
|
||||
annual_interest_rate: number | null
|
||||
board_members: Json
|
||||
city: string | null
|
||||
client_type: Database["public"]["Enums"]["client_type"]
|
||||
@@ -161,6 +162,7 @@ export type Database = {
|
||||
Insert: {
|
||||
address_line1?: string | null
|
||||
address_line2?: string | null
|
||||
annual_interest_rate?: number | null
|
||||
board_members?: Json
|
||||
city?: string | null
|
||||
client_type?: Database["public"]["Enums"]["client_type"]
|
||||
@@ -181,6 +183,7 @@ export type Database = {
|
||||
Update: {
|
||||
address_line1?: string | null
|
||||
address_line2?: string | null
|
||||
annual_interest_rate?: number | null
|
||||
board_members?: Json
|
||||
city?: string | null
|
||||
client_type?: Database["public"]["Enums"]["client_type"]
|
||||
@@ -200,6 +203,107 @@ export type Database = {
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
collection_ledger_entries: {
|
||||
Row: {
|
||||
collection_id: string
|
||||
created_at: string
|
||||
created_by: string | null
|
||||
credit: number
|
||||
debit: number
|
||||
description: string | null
|
||||
entry_date: string
|
||||
id: string
|
||||
transaction_type: string
|
||||
updated_at: string
|
||||
}
|
||||
Insert: {
|
||||
collection_id: string
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
credit?: number
|
||||
debit?: number
|
||||
description?: string | null
|
||||
entry_date?: string
|
||||
id?: string
|
||||
transaction_type: string
|
||||
updated_at?: string
|
||||
}
|
||||
Update: {
|
||||
collection_id?: string
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
credit?: number
|
||||
debit?: number
|
||||
description?: string | null
|
||||
entry_date?: string
|
||||
id?: string
|
||||
transaction_type?: string
|
||||
updated_at?: string
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "collection_ledger_entries_collection_id_fkey"
|
||||
columns: ["collection_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "collections"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
collections: {
|
||||
Row: {
|
||||
case_id: string
|
||||
closed_at: string | null
|
||||
created_at: string
|
||||
created_by: string | null
|
||||
homeowner_id: string
|
||||
id: string
|
||||
notes: string | null
|
||||
opened_at: string
|
||||
status: string
|
||||
updated_at: string
|
||||
}
|
||||
Insert: {
|
||||
case_id: string
|
||||
closed_at?: string | null
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
homeowner_id: string
|
||||
id?: string
|
||||
notes?: string | null
|
||||
opened_at?: string
|
||||
status?: string
|
||||
updated_at?: string
|
||||
}
|
||||
Update: {
|
||||
case_id?: string
|
||||
closed_at?: string | null
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
homeowner_id?: string
|
||||
id?: string
|
||||
notes?: string | null
|
||||
opened_at?: string
|
||||
status?: string
|
||||
updated_at?: string
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "collections_case_id_fkey"
|
||||
columns: ["case_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "cases"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "collections_homeowner_id_fkey"
|
||||
columns: ["homeowner_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "homeowners"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
documents: {
|
||||
Row: {
|
||||
case_id: string
|
||||
@@ -301,6 +405,62 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
homeowners: {
|
||||
Row: {
|
||||
address: string | null
|
||||
client_id: string
|
||||
created_at: string
|
||||
created_by: string | null
|
||||
email: string | null
|
||||
first_name: string
|
||||
id: string
|
||||
last_name: string
|
||||
notes: string | null
|
||||
opening_balance: number
|
||||
phone: string | null
|
||||
unit_number: string | null
|
||||
updated_at: string
|
||||
}
|
||||
Insert: {
|
||||
address?: string | null
|
||||
client_id: string
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
email?: string | null
|
||||
first_name: string
|
||||
id?: string
|
||||
last_name: string
|
||||
notes?: string | null
|
||||
opening_balance?: number
|
||||
phone?: string | null
|
||||
unit_number?: string | null
|
||||
updated_at?: string
|
||||
}
|
||||
Update: {
|
||||
address?: string | null
|
||||
client_id?: string
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
email?: string | null
|
||||
first_name?: string
|
||||
id?: string
|
||||
last_name?: string
|
||||
notes?: string | null
|
||||
opening_balance?: number
|
||||
phone?: string | null
|
||||
unit_number?: string | null
|
||||
updated_at?: string
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "homeowners_client_id_fkey"
|
||||
columns: ["client_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "clients"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
invoices: {
|
||||
Row: {
|
||||
amount_paid: number
|
||||
|
||||
Reference in New Issue
Block a user