@freelog/tools-lib 0.1.197 → 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.
@@ -65,4 +65,23 @@ 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 | 3;
73
+ transactionStatus?: 1 | 2;
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>;
82
+ interface QueryStatisticsParamsType {
83
+ ownerId: number;
84
+ ownerType: 1 | 2;
85
+ }
86
+ export declare function queryStatistics(params: QueryStatisticsParamsType, config?: AxiosRequestConfig): Promise<any>;
68
87
  export {};
@@ -3487,20 +3487,20 @@ function queryWithdrawCashList(params, config) {
3487
3487
  params: params
3488
3488
  }, config));
3489
3489
  }
3490
- // 交易记录分页列表查询
3491
- // interface QueryTransactionListParamsType {
3492
- // skip?: number;
3493
- // limit?: number;
3494
- // accountId: string;
3495
- // }
3496
- // export function queryTransactionList(params: QueryTransactionListParamsType, config?: AxiosRequestConfig) {
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
+ }
3497
+ function queryStatistics(params, config) {
3498
+ return FUtil.Request(_extends({
3499
+ method: 'GET',
3500
+ url: "/v3/transactions/statistics",
3501
+ params: params
3502
+ }, config));
3503
+ }
3504
3504
 
3505
3505
  var Payment = {
3506
3506
  __proto__: null,
@@ -3513,7 +3513,9 @@ var Payment = {
3513
3513
  queryBindWithdrawCard: queryBindWithdrawCard,
3514
3514
  queryWithdrawStatus: queryWithdrawStatus,
3515
3515
  withdrawCash: withdrawCash,
3516
- queryWithdrawCashList: queryWithdrawCashList
3516
+ queryWithdrawCashList: queryWithdrawCashList,
3517
+ queryTransactionList: queryTransactionList,
3518
+ queryStatistics: queryStatistics
3517
3519
  };
3518
3520
 
3519
3521
  var FServiceAPI = {