@freelog/tools-lib 0.1.196 → 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.
@@ -20,7 +20,7 @@ interface UpdateFinancialAccountParamsType {
20
20
  accountId: string;
21
21
  certNo: string;
22
22
  name: string;
23
- certValidityType: 1 | 2;
23
+ certValidityType: 0 | 1;
24
24
  certBeginDate: string;
25
25
  certEndDate?: string;
26
26
  certImagePaths: string[];
@@ -30,7 +30,6 @@ interface BindWithdrawCardParamsType {
30
30
  accountId: string;
31
31
  cardType: 0 | 1 | 2 | 4;
32
32
  bankName: string;
33
- cardName: string;
34
33
  cardNo: string;
35
34
  provId: string;
36
35
  areaId: string;
@@ -50,6 +49,11 @@ interface QueryBindWithdrawCardParamsType {
50
49
  accountId: string;
51
50
  }
52
51
  export declare function queryBindWithdrawCard({ accountId }: QueryBindWithdrawCardParamsType, config?: AxiosRequestConfig): Promise<any>;
52
+ interface QueryWithdrawStatusParamsType {
53
+ ownerId: number;
54
+ accountType: 1 | 2;
55
+ }
56
+ export declare function queryWithdrawStatus(params: QueryWithdrawStatusParamsType, config?: AxiosRequestConfig): Promise<any>;
53
57
  interface WithdrawCashParamsType {
54
58
  accountId: string;
55
59
  transactionAmount: number;
@@ -61,4 +65,18 @@ interface QueryWithdrawCashListParamsType {
61
65
  limit?: number;
62
66
  }
63
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>;
64
82
  export {};
@@ -3466,6 +3466,13 @@ function queryBindWithdrawCard(_ref4, config) {
3466
3466
  url: "/v3/transactions/accounts/" + accountId + "/cashCard"
3467
3467
  }, config));
3468
3468
  }
3469
+ function queryWithdrawStatus(params, config) {
3470
+ return FUtil.Request(_extends({
3471
+ method: 'GET',
3472
+ url: "/v3/transactions/withdrawCash/check",
3473
+ params: params
3474
+ }, config));
3475
+ }
3469
3476
  function withdrawCash(params, config) {
3470
3477
  return FUtil.Request(_extends({
3471
3478
  method: 'POST',
@@ -3480,20 +3487,13 @@ function queryWithdrawCashList(params, config) {
3480
3487
  params: params
3481
3488
  }, config));
3482
3489
  }
3483
- // 交易记录分页列表查询
3484
- // interface QueryTransactionListParamsType {
3485
- // skip?: number;
3486
- // limit?: number;
3487
- // accountId: string;
3488
- // }
3489
- // export function queryTransactionList(params: QueryTransactionListParamsType, config?: AxiosRequestConfig) {
3490
- // return FUtil.Request({
3491
- // method: 'GET',
3492
- // url: `/v3/transactions/transaction/list`,
3493
- // params: params,
3494
- // ...config,
3495
- // });
3496
- // }
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
3497
 
3498
3498
  var Payment = {
3499
3499
  __proto__: null,
@@ -3504,8 +3504,10 @@ var Payment = {
3504
3504
  queryFinancialAccountInfo: queryFinancialAccountInfo,
3505
3505
  queryFinancialAccountInfo2: queryFinancialAccountInfo2,
3506
3506
  queryBindWithdrawCard: queryBindWithdrawCard,
3507
+ queryWithdrawStatus: queryWithdrawStatus,
3507
3508
  withdrawCash: withdrawCash,
3508
- queryWithdrawCashList: queryWithdrawCashList
3509
+ queryWithdrawCashList: queryWithdrawCashList,
3510
+ queryTransactionList: queryTransactionList
3509
3511
  };
3510
3512
 
3511
3513
  var FServiceAPI = {