🐛 fix(api): Update API type definitions to replace 'deduction' with 'gift_amount' and make 'commission' field optional

This commit is contained in:
web@ppanel
2025-01-09 21:40:02 +07:00
parent 8f8a12a510
commit c2af06052c
7 changed files with 12 additions and 23 deletions
+3 -3
View File
@@ -555,7 +555,7 @@ declare namespace API {
discount: number;
coupon: string;
coupon_discount: number;
commission: number;
commission?: number;
method: string;
fee_amount: number;
trade_no: string;
@@ -577,7 +577,7 @@ declare namespace API {
discount: number;
coupon: string;
coupon_discount: number;
commission: number;
commission?: number;
method: string;
fee_amount: number;
trade_no: string;
@@ -1016,7 +1016,7 @@ declare namespace API {
avatar: string;
balance: number;
commission: number;
deduction: number;
gift_amount: number;
telegram: number;
refer_code: string;
referer_id: number;