@freelog/tools-lib 0.1.187 → 0.1.189

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.
@@ -32,4 +32,19 @@ interface QueryFinancialAccountInfoParamsType {
32
32
  ownerId: number;
33
33
  }
34
34
  export declare function queryFinancialAccountInfo(params: QueryFinancialAccountInfoParamsType, config?: AxiosRequestConfig): Promise<any>;
35
+ interface QueryBindWithdrawCardParamsType {
36
+ accountId: string;
37
+ }
38
+ export declare function queryBindWithdrawCard({ accountId }: QueryBindWithdrawCardParamsType, config?: AxiosRequestConfig): Promise<any>;
39
+ interface WithdrawCashParamsType {
40
+ accountId: string;
41
+ transactionAmount: number;
42
+ }
43
+ export declare function withdrawCash(params: WithdrawCashParamsType, config?: AxiosRequestConfig): Promise<any>;
44
+ interface QueryWithdrawCashListParamsType {
45
+ accountId: string;
46
+ skip?: number;
47
+ limit?: number;
48
+ }
49
+ export declare function queryWithdrawCashList(params: QueryWithdrawCashListParamsType, config?: AxiosRequestConfig): Promise<any>;
35
50
  export {};
@@ -3387,13 +3387,51 @@ function queryFinancialAccountInfo(params, config) {
3387
3387
  params: params
3388
3388
  }, config));
3389
3389
  }
3390
+ function queryBindWithdrawCard(_ref2, config) {
3391
+ var accountId = _ref2.accountId;
3392
+ return FUtil.Request(_extends({
3393
+ method: 'GET',
3394
+ url: "/v3/transactions/accounts/" + accountId + "/cashCard"
3395
+ }, config));
3396
+ }
3397
+ function withdrawCash(params, config) {
3398
+ return FUtil.Request(_extends({
3399
+ method: 'POST',
3400
+ url: "/v3/transactions/withdrawCash",
3401
+ data: params
3402
+ }, config));
3403
+ }
3404
+ function queryWithdrawCashList(params, config) {
3405
+ return FUtil.Request(_extends({
3406
+ method: 'GET',
3407
+ url: "/v3/transactions/withdrawCash/list",
3408
+ params: params
3409
+ }, config));
3410
+ }
3411
+ // 交易记录分页列表查询
3412
+ // interface QueryTransactionListParamsType {
3413
+ // skip?: number;
3414
+ // limit?: number;
3415
+ // accountId: string;
3416
+ // }
3417
+ // export function queryTransactionList(params: QueryTransactionListParamsType, config?: AxiosRequestConfig) {
3418
+ // return FUtil.Request({
3419
+ // method: 'GET',
3420
+ // url: `/v3/transactions/transaction/list`,
3421
+ // params: params,
3422
+ // ...config,
3423
+ // });
3424
+ // }
3390
3425
 
3391
3426
  var Payment = {
3392
3427
  __proto__: null,
3393
3428
  uploadIDCard: uploadIDCard,
3394
3429
  openFinancialAccount: openFinancialAccount,
3395
3430
  bindWithdrawCard: bindWithdrawCard,
3396
- queryFinancialAccountInfo: queryFinancialAccountInfo
3431
+ queryFinancialAccountInfo: queryFinancialAccountInfo,
3432
+ queryBindWithdrawCard: queryBindWithdrawCard,
3433
+ withdrawCash: withdrawCash,
3434
+ queryWithdrawCashList: queryWithdrawCashList
3397
3435
  };
3398
3436
 
3399
3437
  var FServiceAPI = {