Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-04-17 17:46:18 +00:00
parent e8d75c7896
commit 13b3951a1e
2 changed files with 111 additions and 1 deletions

View file

@ -97,6 +97,33 @@ export type Database = {
}
Relationships: []
}
paddle_webhook_events: {
Row: {
environment: string
event_type: string
id: string
paddle_event_id: string
payload: Json | null
processed_at: string
}
Insert: {
environment: string
event_type: string
id?: string
paddle_event_id: string
payload?: Json | null
processed_at?: string
}
Update: {
environment?: string
event_type?: string
id?: string
paddle_event_id?: string
payload?: Json | null
processed_at?: string
}
Relationships: []
}
plans: {
Row: {
created_at: string
@ -154,6 +181,7 @@ export type Database = {
full_name: string
id: string
onboarding_completed: boolean
paddle_customer_id: string | null
phone: string | null
stripe_customer_id: string | null
updated_at: string
@ -166,6 +194,7 @@ export type Database = {
full_name?: string
id: string
onboarding_completed?: boolean
paddle_customer_id?: string | null
phone?: string | null
stripe_customer_id?: string | null
updated_at?: string
@ -178,6 +207,7 @@ export type Database = {
full_name?: string
id?: string
onboarding_completed?: boolean
paddle_customer_id?: string | null
phone?: string | null
stripe_customer_id?: string | null
updated_at?: string
@ -215,8 +245,13 @@ export type Database = {
created_at: string
current_period_end: string | null
current_period_start: string | null
environment: string
id: string
paddle_customer_id: string | null
paddle_subscription_id: string | null
plan_id: string | null
price_id: string | null
product_id: string | null
status: string
stripe_subscription_id: string | null
updated_at: string
@ -228,8 +263,13 @@ export type Database = {
created_at?: string
current_period_end?: string | null
current_period_start?: string | null
environment?: string
id?: string
paddle_customer_id?: string | null
paddle_subscription_id?: string | null
plan_id?: string | null
price_id?: string | null
product_id?: string | null
status: string
stripe_subscription_id?: string | null
updated_at?: string
@ -241,8 +281,13 @@ export type Database = {
created_at?: string
current_period_end?: string | null
current_period_start?: string | null
environment?: string
id?: string
paddle_customer_id?: string | null
paddle_subscription_id?: string | null
plan_id?: string | null
price_id?: string | null
product_id?: string | null
status?: string
stripe_subscription_id?: string | null
updated_at?: string
@ -270,7 +315,10 @@ export type Database = {
[_ in never]: never
}
Functions: {
[_ in never]: never
has_active_subscription: {
Args: { check_env?: string; user_uuid: string }
Returns: boolean
}
}
Enums: {
[_ in never]: never