@freelog/tools-lib 0.1.148 → 0.1.150

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.
@@ -996,21 +996,26 @@ function details(params) {
996
996
  });
997
997
  }
998
998
  function nodes(params) {
999
- // return FUtil.Axios.get('/v2/nodes', {
1000
- // params
1001
- // });
1002
999
  return FUtil.Request({
1003
1000
  method: 'GET',
1004
1001
  url: "/v2/nodes",
1005
1002
  params: params
1006
1003
  });
1007
1004
  }
1005
+ function setNodeInfo(params) {
1006
+ return FUtil.Request({
1007
+ method: 'POST',
1008
+ url: "/v2/nodes/setNodeInfo",
1009
+ data: params
1010
+ });
1011
+ }
1008
1012
 
1009
1013
  var Node = {
1010
1014
  __proto__: null,
1011
1015
  create: create,
1012
1016
  details: details,
1013
- nodes: nodes
1017
+ nodes: nodes,
1018
+ setNodeInfo: setNodeInfo
1014
1019
  };
1015
1020
 
1016
1021
  var _excluded$1 = ["presentableId"],
@@ -1763,6 +1768,43 @@ function availableTags(_ref16) {
1763
1768
  params: params
1764
1769
  });
1765
1770
  }
1771
+ function resourceTypes$1(_temp) {
1772
+ var _ref17 = _temp === void 0 ? {} : _temp,
1773
+ params = _extends({}, _ref17);
1774
+
1775
+ return FUtil.Request({
1776
+ method: 'GET',
1777
+ url: "/v2/resources/types/listSimpleByGroup",
1778
+ params: params
1779
+ });
1780
+ }
1781
+ function ListSimpleByParentCode(_ref18) {
1782
+ var params = _extends({}, _ref18);
1783
+
1784
+ return FUtil.Request({
1785
+ method: 'GET',
1786
+ url: "/v2/resources/types/listSimpleByParentCode",
1787
+ params: params
1788
+ });
1789
+ }
1790
+ function getResourceTypeInfoByCode(_ref19) {
1791
+ var params = _extends({}, _ref19);
1792
+
1793
+ return FUtil.Request({
1794
+ method: 'GET',
1795
+ url: "/v2/resources/types/getInfoByCode",
1796
+ params: params
1797
+ });
1798
+ }
1799
+ function getResourceAttrListSimple(_ref20) {
1800
+ var params = _extends({}, _ref20);
1801
+
1802
+ return FUtil.Request({
1803
+ method: 'GET',
1804
+ url: "/v2/resources/attrs/listSimple",
1805
+ params: params
1806
+ });
1807
+ }
1766
1808
 
1767
1809
  var Resource = {
1768
1810
  __proto__: null,
@@ -1792,7 +1834,11 @@ var Resource = {
1792
1834
  resourcesCount: resourcesCount,
1793
1835
  batchAuth: batchAuth$1,
1794
1836
  resourcesRecommend: resourcesRecommend,
1795
- availableTags: availableTags
1837
+ availableTags: availableTags,
1838
+ resourceTypes: resourceTypes$1,
1839
+ ListSimpleByParentCode: ListSimpleByParentCode,
1840
+ getResourceTypeInfoByCode: getResourceTypeInfoByCode,
1841
+ getResourceAttrListSimple: getResourceAttrListSimple
1796
1842
  };
1797
1843
 
1798
1844
  var _excluded$4 = ["loginName"];
@@ -2969,6 +3015,22 @@ var recombination = {
2969
3015
  getFilesSha1Info: getFilesSha1Info
2970
3016
  };
2971
3017
 
3018
+ function operationCategories(_temp) {
3019
+ var _ref = _temp === void 0 ? {} : _temp,
3020
+ params = _extends({}, _ref);
3021
+
3022
+ return FUtil.Request({
3023
+ method: 'GET',
3024
+ url: "/v2/resources/operation-categories/listSimpleByGroup",
3025
+ params: params
3026
+ });
3027
+ }
3028
+
3029
+ var Operation = {
3030
+ __proto__: null,
3031
+ operationCategories: operationCategories
3032
+ };
3033
+
2972
3034
  var FServiceAPI = {
2973
3035
  Node: Node,
2974
3036
  Exhibit: Exhibit,
@@ -2986,7 +3048,8 @@ var FServiceAPI = {
2986
3048
  Statistic: Statistic,
2987
3049
  I18n: I18n,
2988
3050
  Policy: Policy,
2989
- recombination: recombination
3051
+ recombination: recombination,
3052
+ Operation: Operation
2990
3053
  };
2991
3054
 
2992
3055
  var codeMessage = {