@freelog/tools-lib 0.1.201 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/service-API/payment.d.ts +5 -0
- package/dist/tools-lib.cjs.development.js +9 -1
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +9 -1
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/payment.ts +15 -0
|
@@ -85,4 +85,9 @@ interface QueryStatisticsParamsType {
|
|
|
85
85
|
endTransactionDate: string;
|
|
86
86
|
}
|
|
87
87
|
export declare function queryStatistics(params: QueryStatisticsParamsType, config?: AxiosRequestConfig): Promise<any>;
|
|
88
|
+
interface QueryFeeParamsType {
|
|
89
|
+
accountId: string;
|
|
90
|
+
transactionAmount: number;
|
|
91
|
+
}
|
|
92
|
+
export declare function queryFee(params: QueryFeeParamsType, config?: AxiosRequestConfig): Promise<any>;
|
|
88
93
|
export {};
|
|
@@ -3501,6 +3501,13 @@ function queryStatistics(params, config) {
|
|
|
3501
3501
|
params: params
|
|
3502
3502
|
}, config));
|
|
3503
3503
|
}
|
|
3504
|
+
function queryFee(params, config) {
|
|
3505
|
+
return FUtil.Request(_extends({
|
|
3506
|
+
method: 'GET',
|
|
3507
|
+
url: "/v3/transactions/withdrawCashFeeCalculate",
|
|
3508
|
+
params: params
|
|
3509
|
+
}, config));
|
|
3510
|
+
}
|
|
3504
3511
|
|
|
3505
3512
|
var Payment = {
|
|
3506
3513
|
__proto__: null,
|
|
@@ -3515,7 +3522,8 @@ var Payment = {
|
|
|
3515
3522
|
withdrawCash: withdrawCash,
|
|
3516
3523
|
queryWithdrawCashList: queryWithdrawCashList,
|
|
3517
3524
|
queryTransactionList: queryTransactionList,
|
|
3518
|
-
queryStatistics: queryStatistics
|
|
3525
|
+
queryStatistics: queryStatistics,
|
|
3526
|
+
queryFee: queryFee
|
|
3519
3527
|
};
|
|
3520
3528
|
|
|
3521
3529
|
var FServiceAPI = {
|