add refund type and store
This commit is contained in:
@@ -63,6 +63,46 @@ export interface OrderItemFilters {
|
||||
created_date_range: [string, string] | null
|
||||
}
|
||||
|
||||
/** 退款列表记录(14 字段) */
|
||||
export interface RefundRecord {
|
||||
id: number
|
||||
company_id: number
|
||||
platform_id: number
|
||||
store_id: number
|
||||
platform_refund_id: string
|
||||
platform_order_id: string
|
||||
refund_status_id: number
|
||||
refund_type_id: number
|
||||
refund_amount: string
|
||||
freight_refund: string
|
||||
refund_total: string
|
||||
currency: string
|
||||
created_date: string | null
|
||||
completed_date: string | null
|
||||
}
|
||||
|
||||
/** 退款详情(含扩展字段) */
|
||||
export interface RefundDetail extends RefundRecord {
|
||||
order_id: number
|
||||
buyer_user_id: string | null
|
||||
reason: string | null
|
||||
order_created_date: string | null
|
||||
order_paid_date: string | null
|
||||
updated_date: string | null
|
||||
ext: Record<string, unknown> | null
|
||||
created_at: string
|
||||
updated_at: string
|
||||
}
|
||||
|
||||
/** 退款筛选参数 */
|
||||
export interface RefundFilters {
|
||||
refund_status_id: number | undefined
|
||||
refund_type_id: number | undefined
|
||||
platform_refund_id: string
|
||||
platform_order_id: string
|
||||
created_date_range: [string, string] | null
|
||||
}
|
||||
|
||||
/** 业务异常 */
|
||||
export class ApiError extends Error {
|
||||
code: number
|
||||
|
||||
Reference in New Issue
Block a user