added charge for all product
This commit is contained in:
@@ -102,6 +102,25 @@ export interface Charge {
|
||||
talabBedehi?: boolean
|
||||
direction?: WalletChargeDirection
|
||||
amountAbs?: number | string
|
||||
product_id?: number
|
||||
}
|
||||
|
||||
/** گزینهٔ شارژ — نقدی یا محصول فعال */
|
||||
export interface ChargeTarget {
|
||||
key: string
|
||||
kind: 'money' | 'metal'
|
||||
label: string
|
||||
unit: string
|
||||
product_id?: number
|
||||
metal_id?: number
|
||||
uses_main_wallet?: boolean
|
||||
trade_by_quantity?: boolean
|
||||
group_type?: string
|
||||
}
|
||||
|
||||
export interface ChargeTargetsResponse {
|
||||
targets: ChargeTarget[]
|
||||
catalogMetals?: Array<{ metal_id: number; label: string; display_unit?: string }>
|
||||
}
|
||||
|
||||
export interface WithdrawStatus {
|
||||
|
||||
Reference in New Issue
Block a user