feat(MED-85): add logging for medipost actions with xml and related order id

This commit is contained in:
2025-08-28 11:56:07 +03:00
parent 47ab39172e
commit a37c4cad9c
6 changed files with 100 additions and 87 deletions

View File

@@ -1188,6 +1188,28 @@ export type Database = {
},
]
}
medipost_actions: {
Row: {
id: string
action: string
xml: string
has_analysis_results: boolean
created_at: string
medusa_order_id: string
}
Insert: {
action: string
xml: string
has_analysis_results: boolean
medusa_order_id: string
}
Update: {
action?: string
xml?: string
has_analysis_results?: boolean
medusa_order_id?: string
}
}
medreport_product_groups: {
Row: {
created_at: string
@@ -2076,7 +2098,7 @@ export type Database = {
}
send_medipost_test_response_for_order: {
Args: {
order_id: string
medusa_order_id: string
}
}
}