Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 17:49:57 +00:00
co-authored by renee-png
parent d566d0df8f
commit bd97829760
4 changed files with 154 additions and 0 deletions
+104
View File
@@ -2327,6 +2327,110 @@ export type Database = {
},
]
}
payment_requests: {
Row: {
base_amount_cents: number
case_id: string | null
client_id: string | null
collection_id: string | null
created_at: string
created_by: string | null
currency: string
description: string | null
email_sent_at: string | null
fee_amount_cents: number
homeowner_id: string | null
id: string
notes: string | null
paid_at: string | null
recipient_email: string | null
recipient_name: string
status: string
stripe_checkout_url: string | null
stripe_payment_intent_id: string | null
stripe_session_id: string | null
total_amount_cents: number
updated_at: string
}
Insert: {
base_amount_cents: number
case_id?: string | null
client_id?: string | null
collection_id?: string | null
created_at?: string
created_by?: string | null
currency?: string
description?: string | null
email_sent_at?: string | null
fee_amount_cents?: number
homeowner_id?: string | null
id?: string
notes?: string | null
paid_at?: string | null
recipient_email?: string | null
recipient_name: string
status?: string
stripe_checkout_url?: string | null
stripe_payment_intent_id?: string | null
stripe_session_id?: string | null
total_amount_cents: number
updated_at?: string
}
Update: {
base_amount_cents?: number
case_id?: string | null
client_id?: string | null
collection_id?: string | null
created_at?: string
created_by?: string | null
currency?: string
description?: string | null
email_sent_at?: string | null
fee_amount_cents?: number
homeowner_id?: string | null
id?: string
notes?: string | null
paid_at?: string | null
recipient_email?: string | null
recipient_name?: string
status?: string
stripe_checkout_url?: string | null
stripe_payment_intent_id?: string | null
stripe_session_id?: string | null
total_amount_cents?: number
updated_at?: string
}
Relationships: [
{
foreignKeyName: "payment_requests_case_id_fkey"
columns: ["case_id"]
isOneToOne: false
referencedRelation: "cases"
referencedColumns: ["id"]
},
{
foreignKeyName: "payment_requests_client_id_fkey"
columns: ["client_id"]
isOneToOne: false
referencedRelation: "clients"
referencedColumns: ["id"]
},
{
foreignKeyName: "payment_requests_collection_id_fkey"
columns: ["collection_id"]
isOneToOne: false
referencedRelation: "collections"
referencedColumns: ["id"]
},
{
foreignKeyName: "payment_requests_homeowner_id_fkey"
columns: ["homeowner_id"]
isOneToOne: false
referencedRelation: "homeowners"
referencedColumns: ["id"]
},
]
}
profiles: {
Row: {
avatar_url: string | null