@freelog/tools-lib 0.1.197 → 0.1.198
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 +14 -0
- package/dist/tools-lib.cjs.development.js +9 -15
- 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 -15
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/payment.ts +22 -14
|
@@ -65,4 +65,18 @@ interface QueryWithdrawCashListParamsType {
|
|
|
65
65
|
limit?: number;
|
|
66
66
|
}
|
|
67
67
|
export declare function queryWithdrawCashList(params: QueryWithdrawCashListParamsType, config?: AxiosRequestConfig): Promise<any>;
|
|
68
|
+
interface QueryTransactionListParamsType {
|
|
69
|
+
skip?: number;
|
|
70
|
+
limit?: number;
|
|
71
|
+
ownerId: number;
|
|
72
|
+
ownerType: 1 | 2;
|
|
73
|
+
transactionStatus?: 1 | 2 | 3;
|
|
74
|
+
businessType?: 'ContractRoutinePayment';
|
|
75
|
+
minTransactionAmount?: number;
|
|
76
|
+
maxTransactionAmount?: number;
|
|
77
|
+
startTransactionDate?: string;
|
|
78
|
+
endTransactionDate?: string;
|
|
79
|
+
keywords?: string;
|
|
80
|
+
}
|
|
81
|
+
export declare function queryTransactionList(params: QueryTransactionListParamsType, config?: AxiosRequestConfig): Promise<any>;
|
|
68
82
|
export {};
|
|
@@ -3487,20 +3487,13 @@ function queryWithdrawCashList(params, config) {
|
|
|
3487
3487
|
params: params
|
|
3488
3488
|
}, config));
|
|
3489
3489
|
}
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
// return FUtil.Request({
|
|
3498
|
-
// method: 'GET',
|
|
3499
|
-
// url: `/v3/transactions/transaction/list`,
|
|
3500
|
-
// params: params,
|
|
3501
|
-
// ...config,
|
|
3502
|
-
// });
|
|
3503
|
-
// }
|
|
3490
|
+
function queryTransactionList(params, config) {
|
|
3491
|
+
return FUtil.Request(_extends({
|
|
3492
|
+
method: 'GET',
|
|
3493
|
+
url: "/v3/transactions/records",
|
|
3494
|
+
params: params
|
|
3495
|
+
}, config));
|
|
3496
|
+
}
|
|
3504
3497
|
|
|
3505
3498
|
var Payment = {
|
|
3506
3499
|
__proto__: null,
|
|
@@ -3513,7 +3506,8 @@ var Payment = {
|
|
|
3513
3506
|
queryBindWithdrawCard: queryBindWithdrawCard,
|
|
3514
3507
|
queryWithdrawStatus: queryWithdrawStatus,
|
|
3515
3508
|
withdrawCash: withdrawCash,
|
|
3516
|
-
queryWithdrawCashList: queryWithdrawCashList
|
|
3509
|
+
queryWithdrawCashList: queryWithdrawCashList,
|
|
3510
|
+
queryTransactionList: queryTransactionList
|
|
3517
3511
|
};
|
|
3518
3512
|
|
|
3519
3513
|
var FServiceAPI = {
|