add health benefit form
fix super admin
This commit is contained in:
@@ -9,6 +9,39 @@ export type Json =
|
||||
export type Database = {
|
||||
audit: {
|
||||
Tables: {
|
||||
cart_entries: {
|
||||
Row: {
|
||||
account_id: string
|
||||
cart_id: string
|
||||
changed_by: string
|
||||
comment: string | null
|
||||
created_at: string
|
||||
id: number
|
||||
operation: string
|
||||
variant_id: string | null
|
||||
}
|
||||
Insert: {
|
||||
account_id: string
|
||||
cart_id: string
|
||||
changed_by: string
|
||||
comment?: string | null
|
||||
created_at?: string
|
||||
id?: number
|
||||
operation: string
|
||||
variant_id?: string | null
|
||||
}
|
||||
Update: {
|
||||
account_id?: string
|
||||
cart_id?: string
|
||||
changed_by?: string
|
||||
comment?: string | null
|
||||
created_at?: string
|
||||
id?: number
|
||||
operation?: string
|
||||
variant_id?: string | null
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
log_entries: {
|
||||
Row: {
|
||||
changed_at: string
|
||||
@@ -116,29 +149,7 @@ export type Database = {
|
||||
status?: string
|
||||
}
|
||||
Relationships: []
|
||||
},
|
||||
cart_entries: {
|
||||
Row: {
|
||||
id: number
|
||||
account_id: string
|
||||
cart_id: string
|
||||
operation: string
|
||||
variant_id: string
|
||||
comment: string | null
|
||||
created_at: string
|
||||
changed_by: string | null
|
||||
}
|
||||
Insert: {
|
||||
id: number
|
||||
account_id: string
|
||||
cart_id: string
|
||||
operation: string
|
||||
variant_id: string
|
||||
comment: string | null
|
||||
created_at: string
|
||||
changed_by: string | null
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
Views: {
|
||||
[_ in never]: never
|
||||
@@ -685,6 +696,58 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
company_params: {
|
||||
Row: {
|
||||
account_id: string | null
|
||||
benefit_amount: number | null
|
||||
benefit_occurance: string | null
|
||||
created_at: string | null
|
||||
id: string
|
||||
slug: string | null
|
||||
updated_at: string | null
|
||||
}
|
||||
Insert: {
|
||||
account_id?: string | null
|
||||
benefit_amount?: number | null
|
||||
benefit_occurance?: string | null
|
||||
created_at?: string | null
|
||||
id?: string
|
||||
slug?: string | null
|
||||
updated_at?: string | null
|
||||
}
|
||||
Update: {
|
||||
account_id?: string | null
|
||||
benefit_amount?: number | null
|
||||
benefit_occurance?: string | null
|
||||
created_at?: string | null
|
||||
id?: string
|
||||
slug?: string | null
|
||||
updated_at?: string | null
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "company_params_account_id_fkey"
|
||||
columns: ["account_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "accounts"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "company_params_account_id_fkey"
|
||||
columns: ["account_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "user_account_workspace"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "company_params_account_id_fkey"
|
||||
columns: ["account_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "user_accounts"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
config: {
|
||||
Row: {
|
||||
billing_provider: Database["medreport"]["Enums"]["billing_provider"]
|
||||
@@ -1628,6 +1691,10 @@ export type Database = {
|
||||
Args: { target_account_id: string }
|
||||
Returns: boolean
|
||||
}
|
||||
is_company_admin: {
|
||||
Args: { account_slug: string }
|
||||
Returns: boolean
|
||||
}
|
||||
is_mfa_compliant: {
|
||||
Args: Record<PropertyKey, never>
|
||||
Returns: boolean
|
||||
|
||||
Reference in New Issue
Block a user