Merge branch 'main' into MED-57

This commit is contained in:
Danel Kungla
2025-08-26 11:30:34 +03:00
22 changed files with 507 additions and 225 deletions

View File

@@ -549,6 +549,7 @@ export type Database = {
analysis_element_original_id: string
analysis_name: string | null
analysis_response_id: number
comment: string | null
created_at: string
id: number
norm_lower: number | null
@@ -566,6 +567,7 @@ export type Database = {
analysis_element_original_id: string
analysis_name?: string | null
analysis_response_id: number
comment?: string | null
created_at?: string
id?: number
norm_lower?: number | null
@@ -583,6 +585,7 @@ export type Database = {
analysis_element_original_id?: string
analysis_name?: string | null
analysis_response_id?: number
comment?: string | null
created_at?: string
id?: number
norm_lower?: number | null
@@ -1723,7 +1726,9 @@ export type Database = {
Returns: Json
}
create_team_account: {
Args: { account_name: string; new_personal_code: string }
Args:
| { account_name: string }
| { account_name: string; new_personal_code: string }
Returns: {
application_role: Database["medreport"]["Enums"]["application_role"]
city: string | null
@@ -1911,6 +1916,22 @@ export type Database = {
}
Returns: undefined
}
update_analysis_order_status: {
Args: {
order_id: number
medusa_order_id_param: string
status_param: Database["medreport"]["Enums"]["analysis_order_status"]
}
Returns: {
analysis_element_ids: number[] | null
analysis_ids: number[] | null
created_at: string
id: number
medusa_order_id: string
status: Database["medreport"]["Enums"]["analysis_order_status"]
user_id: string
}
}
upsert_order: {
Args: {
target_account_id: string

View File

@@ -21,6 +21,7 @@ export function useSignUpWithEmailAndPassword() {
const response = await client.auth.signUp({
...credentials,
options: {
emailRedirectTo,
captchaToken,
},
});