@freelog/tools-lib 0.1.187 → 0.1.190

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.
@@ -595,34 +595,46 @@ function globalSearch(_ref49) {
595
595
  search: search
596
596
  });
597
597
  }
598
+ function settlementInfo(_ref50) {
599
+ var nodeID = _ref50.nodeID;
600
+ return "/settlementInfo" + handleQuery({
601
+ nodeID: nodeID
602
+ });
603
+ }
604
+ function settlementInfoEditor(_ref51) {
605
+ var nodeID = _ref51.nodeID;
606
+ return "/settlementEditor" + handleQuery({
607
+ nodeID: nodeID
608
+ });
609
+ }
598
610
  function login(_temp19) {
599
- var _ref50 = _temp19 === void 0 ? {} : _temp19,
600
- goTo = _ref50.goTo;
611
+ var _ref52 = _temp19 === void 0 ? {} : _temp19,
612
+ goTo = _ref52.goTo;
601
613
  return "/login" + handleQuery({
602
614
  goTo: goTo ? encodeURIComponent(goTo) : undefined
603
615
  });
604
616
  }
605
617
  function logon(_temp20) {
606
- var _ref51 = _temp20 === void 0 ? {} : _temp20,
607
- goTo = _ref51.goTo,
608
- params = _objectWithoutPropertiesLoose(_ref51, _excluded6);
618
+ var _ref53 = _temp20 === void 0 ? {} : _temp20,
619
+ goTo = _ref53.goTo,
620
+ params = _objectWithoutPropertiesLoose(_ref53, _excluded6);
609
621
  return "/logon" + handleQuery(_extends({
610
622
  goTo: goTo ? encodeURIComponent(goTo) : undefined
611
623
  }, params));
612
624
  }
613
625
  function bind(_temp21) {
614
- var _ref52 = _temp21 === void 0 ? {} : _temp21,
615
- goTo = _ref52.goTo,
616
- returnUrl = _ref52.returnUrl,
617
- params = _objectWithoutPropertiesLoose(_ref52, _excluded7);
626
+ var _ref54 = _temp21 === void 0 ? {} : _temp21,
627
+ goTo = _ref54.goTo,
628
+ returnUrl = _ref54.returnUrl,
629
+ params = _objectWithoutPropertiesLoose(_ref54, _excluded7);
618
630
  return "/bind" + handleQuery(_extends({
619
631
  goTo: goTo ? encodeURIComponent(goTo) : undefined,
620
632
  returnUrl: returnUrl ? encodeURIComponent(returnUrl) : undefined
621
633
  }, params));
622
634
  }
623
635
  function retrieveUserPassword(_temp22) {
624
- var _ref53 = _temp22 === void 0 ? {} : _temp22,
625
- goTo = _ref53.goTo;
636
+ var _ref55 = _temp22 === void 0 ? {} : _temp22,
637
+ goTo = _ref55.goTo;
626
638
  return "/retrieve" + handleQuery({
627
639
  goTo: goTo ? encodeURIComponent(goTo) : undefined
628
640
  });
@@ -644,8 +656,8 @@ function reward(_temp26) {
644
656
  return "/logged/reward";
645
657
  }
646
658
  function contract(_temp27) {
647
- var _ref58 = _temp27 === void 0 ? {} : _temp27,
648
- params = _extends({}, (_objectDestructuringEmpty(_ref58), _ref58));
659
+ var _ref60 = _temp27 === void 0 ? {} : _temp27,
660
+ params = _extends({}, (_objectDestructuringEmpty(_ref60), _ref60));
649
661
  return "/logged/contract" + handleQuery(_extends({}, params));
650
662
  }
651
663
  function setting(_temp28) {
@@ -728,6 +740,8 @@ var LinkTo = {
728
740
  nodeFreeze: nodeFreeze,
729
741
  resourceFreeze: resourceFreeze,
730
742
  globalSearch: globalSearch,
743
+ settlementInfo: settlementInfo,
744
+ settlementInfoEditor: settlementInfoEditor,
731
745
  login: login,
732
746
  logon: logon,
733
747
  bind: bind,
@@ -3381,13 +3395,51 @@ function queryFinancialAccountInfo(params, config) {
3381
3395
  params: params
3382
3396
  }, config));
3383
3397
  }
3398
+ function queryBindWithdrawCard(_ref2, config) {
3399
+ var accountId = _ref2.accountId;
3400
+ return FUtil.Request(_extends({
3401
+ method: 'GET',
3402
+ url: "/v3/transactions/accounts/" + accountId + "/cashCard"
3403
+ }, config));
3404
+ }
3405
+ function withdrawCash(params, config) {
3406
+ return FUtil.Request(_extends({
3407
+ method: 'POST',
3408
+ url: "/v3/transactions/withdrawCash",
3409
+ data: params
3410
+ }, config));
3411
+ }
3412
+ function queryWithdrawCashList(params, config) {
3413
+ return FUtil.Request(_extends({
3414
+ method: 'GET',
3415
+ url: "/v3/transactions/withdrawCash/records",
3416
+ params: params
3417
+ }, config));
3418
+ }
3419
+ // 交易记录分页列表查询
3420
+ // interface QueryTransactionListParamsType {
3421
+ // skip?: number;
3422
+ // limit?: number;
3423
+ // accountId: string;
3424
+ // }
3425
+ // export function queryTransactionList(params: QueryTransactionListParamsType, config?: AxiosRequestConfig) {
3426
+ // return FUtil.Request({
3427
+ // method: 'GET',
3428
+ // url: `/v3/transactions/transaction/list`,
3429
+ // params: params,
3430
+ // ...config,
3431
+ // });
3432
+ // }
3384
3433
 
3385
3434
  var Payment = {
3386
3435
  __proto__: null,
3387
3436
  uploadIDCard: uploadIDCard,
3388
3437
  openFinancialAccount: openFinancialAccount,
3389
3438
  bindWithdrawCard: bindWithdrawCard,
3390
- queryFinancialAccountInfo: queryFinancialAccountInfo
3439
+ queryFinancialAccountInfo: queryFinancialAccountInfo,
3440
+ queryBindWithdrawCard: queryBindWithdrawCard,
3441
+ withdrawCash: withdrawCash,
3442
+ queryWithdrawCashList: queryWithdrawCashList
3391
3443
  };
3392
3444
 
3393
3445
  var FServiceAPI = {