@freelog/tools-lib 0.1.198 → 0.1.199
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 +7 -2
- 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 +17 -2
|
@@ -69,8 +69,8 @@ interface QueryTransactionListParamsType {
|
|
|
69
69
|
skip?: number;
|
|
70
70
|
limit?: number;
|
|
71
71
|
ownerId: number;
|
|
72
|
-
ownerType: 1 | 2;
|
|
73
|
-
transactionStatus?: 1 | 2
|
|
72
|
+
ownerType: 1 | 2 | 3;
|
|
73
|
+
transactionStatus?: 1 | 2;
|
|
74
74
|
businessType?: 'ContractRoutinePayment';
|
|
75
75
|
minTransactionAmount?: number;
|
|
76
76
|
maxTransactionAmount?: number;
|
|
@@ -79,4 +79,9 @@ interface QueryTransactionListParamsType {
|
|
|
79
79
|
keywords?: string;
|
|
80
80
|
}
|
|
81
81
|
export declare function queryTransactionList(params: QueryTransactionListParamsType, config?: AxiosRequestConfig): Promise<any>;
|
|
82
|
+
interface QueryStatisticsParamsType {
|
|
83
|
+
ownerId: number;
|
|
84
|
+
ownerType: 1 | 2;
|
|
85
|
+
}
|
|
86
|
+
export declare function queryStatistics(params: QueryStatisticsParamsType, config?: AxiosRequestConfig): Promise<any>;
|
|
82
87
|
export {};
|
|
@@ -3494,6 +3494,13 @@ function queryTransactionList(params, config) {
|
|
|
3494
3494
|
params: params
|
|
3495
3495
|
}, config));
|
|
3496
3496
|
}
|
|
3497
|
+
function queryStatistics(params, config) {
|
|
3498
|
+
return FUtil.Request(_extends({
|
|
3499
|
+
method: 'GET',
|
|
3500
|
+
url: "/v3/transactions/statistics",
|
|
3501
|
+
params: params
|
|
3502
|
+
}, config));
|
|
3503
|
+
}
|
|
3497
3504
|
|
|
3498
3505
|
var Payment = {
|
|
3499
3506
|
__proto__: null,
|
|
@@ -3507,7 +3514,8 @@ var Payment = {
|
|
|
3507
3514
|
queryWithdrawStatus: queryWithdrawStatus,
|
|
3508
3515
|
withdrawCash: withdrawCash,
|
|
3509
3516
|
queryWithdrawCashList: queryWithdrawCashList,
|
|
3510
|
-
queryTransactionList: queryTransactionList
|
|
3517
|
+
queryTransactionList: queryTransactionList,
|
|
3518
|
+
queryStatistics: queryStatistics
|
|
3511
3519
|
};
|
|
3512
3520
|
|
|
3513
3521
|
var FServiceAPI = {
|