@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.
- package/dist/service-API/activities.d.ts +9 -0
- package/dist/tools-lib.cjs.development.js +45 -15
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +45 -15
- package/dist/tools-lib.esm.js.map +1 -1
- package/dist/utils/linkTo.d.ts +8 -0
- package/package.json +1 -1
- package/src/service-API/activities.ts +342 -314
- package/src/service-API/payment.ts +1 -1
- package/src/utils/linkTo.ts +18 -0
package/dist/tools-lib.esm.js
CHANGED
|
@@ -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
|
|
600
|
-
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
|
|
607
|
-
goTo =
|
|
608
|
-
params = _objectWithoutPropertiesLoose(
|
|
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
|
|
615
|
-
goTo =
|
|
616
|
-
returnUrl =
|
|
617
|
-
params = _objectWithoutPropertiesLoose(
|
|
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
|
|
625
|
-
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
|
|
648
|
-
params = _extends({}, (_objectDestructuringEmpty(
|
|
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/
|
|
3431
|
+
url: "/v3/transactions/withdrawCash/records",
|
|
3402
3432
|
params: params
|
|
3403
3433
|
}, config));
|
|
3404
3434
|
}
|