2024-09-05 22:40:11 +03:00
|
|
|
export type Invoice = {
|
2024-09-08 23:15:54 +03:00
|
|
|
metadata?: Object
|
|
|
|
created?: string
|
|
|
|
price: string
|
|
|
|
store_id: string
|
|
|
|
currency?: string
|
|
|
|
order_id?: string
|
|
|
|
notification_url?: string
|
|
|
|
redirect_url?: string
|
|
|
|
buyer_email?: string
|
|
|
|
promocode?: string
|
|
|
|
shipping_address?: string
|
|
|
|
notes?: string
|
|
|
|
status?: string
|
|
|
|
exception_status?: string
|
|
|
|
products?: string[] | Object[]
|
|
|
|
tx_hashes?: string[]
|
|
|
|
expiration?: number
|
|
|
|
sent_amount?: number
|
|
|
|
id: string
|
|
|
|
user_id: string
|
|
|
|
time_left: number
|
|
|
|
expiration_seconds: number
|
|
|
|
product_names?: Object
|
|
|
|
payments: Object[]
|
|
|
|
paid_date: string
|
|
|
|
payment_id: string
|
|
|
|
refund_id: string
|
|
|
|
paid_currency: string | null
|
|
|
|
discount: string | null
|
2024-09-05 22:40:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
type TError = {
|
2024-09-08 23:15:54 +03:00
|
|
|
loc: string[] | number[]
|
|
|
|
msg: string
|
|
|
|
type: string
|
2024-09-05 22:40:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
export type Errors = {
|
2024-09-08 23:15:54 +03:00
|
|
|
detail: TError[]
|
2024-09-05 22:40:11 +03:00
|
|
|
}
|