Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-17 01:48:35 +00:00
co-authored by renee-png
parent 435fa8d77c
commit f085202d68
2 changed files with 133 additions and 0 deletions
+75
View File
@@ -205,6 +205,10 @@ export type Database = {
}
collection_ledger_entries: {
Row: {
account: string | null
admin: number
assess: number
bank: number
collection_id: string
created_at: string
created_by: string | null
@@ -213,10 +217,19 @@ export type Database = {
description: string | null
entry_date: string
id: string
interest: number
late: number
legal: number
payment: number
transaction_type: string
updated_at: string
viol: number
}
Insert: {
account?: string | null
admin?: number
assess?: number
bank?: number
collection_id: string
created_at?: string
created_by?: string | null
@@ -225,10 +238,19 @@ export type Database = {
description?: string | null
entry_date?: string
id?: string
interest?: number
late?: number
legal?: number
payment?: number
transaction_type: string
updated_at?: string
viol?: number
}
Update: {
account?: string | null
admin?: number
assess?: number
bank?: number
collection_id?: string
created_at?: string
created_by?: string | null
@@ -237,8 +259,13 @@ export type Database = {
description?: string | null
entry_date?: string
id?: string
interest?: number
late?: number
legal?: number
payment?: number
transaction_type?: string
updated_at?: string
viol?: number
}
Relationships: [
{
@@ -250,6 +277,48 @@ export type Database = {
},
]
}
collection_payment_allocations: {
Row: {
amount: number
bucket: string
collection_id: string
created_at: string
entry_id: string
id: string
}
Insert: {
amount?: number
bucket: string
collection_id: string
created_at?: string
entry_id: string
id?: string
}
Update: {
amount?: number
bucket?: string
collection_id?: string
created_at?: string
entry_id?: string
id?: string
}
Relationships: [
{
foreignKeyName: "collection_payment_allocations_collection_id_fkey"
columns: ["collection_id"]
isOneToOne: false
referencedRelation: "collections"
referencedColumns: ["id"]
},
{
foreignKeyName: "collection_payment_allocations_entry_id_fkey"
columns: ["entry_id"]
isOneToOne: false
referencedRelation: "collection_ledger_entries"
referencedColumns: ["id"]
},
]
}
collection_tasks: {
Row: {
assignee_id: string | null
@@ -391,6 +460,8 @@ export type Database = {
current_stage: string | null
homeowner_id: string
id: string
interest_rate_override: number | null
name: string | null
notes: string | null
opened_at: string
status: string
@@ -404,6 +475,8 @@ export type Database = {
current_stage?: string | null
homeowner_id: string
id?: string
interest_rate_override?: number | null
name?: string | null
notes?: string | null
opened_at?: string
status?: string
@@ -417,6 +490,8 @@ export type Database = {
current_stage?: string | null
homeowner_id?: string
id?: string
interest_rate_override?: number | null
name?: string | null
notes?: string | null
opened_at?: string
status?: string