@freelog/tools-lib 0.1.189 → 0.1.191

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,
@@ -2845,6 +2859,20 @@ function statisticSingleRewardRecordForAll(params) {
2845
2859
  data: params
2846
2860
  });
2847
2861
  }
2862
+ function lotteryDraw(params) {
2863
+ return FUtil.Request({
2864
+ method: 'POST',
2865
+ url: "/v2/activities/lottery/capsule/draw",
2866
+ data: params
2867
+ });
2868
+ }
2869
+ function lotteryDrawResult(params) {
2870
+ return FUtil.Request({
2871
+ method: 'GET',
2872
+ url: "/v2/activities/lottery/capsule/getInfo",
2873
+ params: params
2874
+ });
2875
+ }
2848
2876
 
2849
2877
  var Activity = {
2850
2878
  __proto__: null,
@@ -2870,7 +2898,9 @@ var Activity = {
2870
2898
  listRewardRecordInfos: listRewardRecordInfos,
2871
2899
  statisticRewardRecords: statisticRewardRecords,
2872
2900
  statisticTaskRecords: statisticTaskRecords,
2873
- statisticSingleRewardRecordForAll: statisticSingleRewardRecordForAll
2901
+ statisticSingleRewardRecordForAll: statisticSingleRewardRecordForAll,
2902
+ lotteryDraw: lotteryDraw,
2903
+ lotteryDrawResult: lotteryDrawResult
2874
2904
  };
2875
2905
 
2876
2906
  var _excluded$9 = ["recordId"];
@@ -3398,7 +3428,7 @@ function withdrawCash(params, config) {
3398
3428
  function queryWithdrawCashList(params, config) {
3399
3429
  return FUtil.Request(_extends({
3400
3430
  method: 'GET',
3401
- url: "/v3/transactions/withdrawCash/list",
3431
+ url: "/v3/transactions/withdrawCash/records",
3402
3432
  params: params
3403
3433
  }, config));
3404
3434
  }