@freelog/tools-lib 0.1.110 → 0.1.111

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.
@@ -253,4 +253,8 @@ interface BatchAuthParamsType {
253
253
  versionRanges?: string;
254
254
  }
255
255
  export declare function batchAuth({ ...params }: BatchAuthParamsType): Promise<any>;
256
+ interface ResourcesRecommendParamsType {
257
+ recommendType: 1 | 2;
258
+ }
259
+ export declare function resourcesRecommend({ ...params }: ResourcesRecommendParamsType): Promise<any>;
256
260
  export {};
@@ -68,4 +68,12 @@ interface RegisterOrBindParamsType {
68
68
  identityId: string;
69
69
  }
70
70
  export declare function registerOrBind(params: RegisterOrBindParamsType): Promise<any>;
71
+ interface ThirdPartyUnbindParamsType {
72
+ thirdPartyType: string;
73
+ password: string;
74
+ }
75
+ export declare function thirdPartyUnbind(params: ThirdPartyUnbindParamsType): Promise<any>;
76
+ interface ThirdPartyListParamsType {
77
+ }
78
+ export declare function thirdPartyList(params?: ThirdPartyListParamsType): Promise<any>;
71
79
  export {};
@@ -1055,11 +1055,9 @@ function dashboard(_temp3) {
1055
1055
  }
1056
1056
  function market(_temp4) {
1057
1057
  var _ref5 = _temp4 === void 0 ? {} : _temp4,
1058
- query = _ref5.query;
1058
+ params = _extends({}, _ref5);
1059
1059
 
1060
- return "/market" + handleQuery({
1061
- query: query
1062
- });
1060
+ return "/market" + handleQuery(params);
1063
1061
  }
1064
1062
  function exampleNodes(_temp5) {
1065
1063
  var _ref6 = _temp5 === void 0 ? {} : _temp5;
@@ -2118,6 +2116,15 @@ function batchAuth$1(_ref13) {
2118
2116
  params: params
2119
2117
  });
2120
2118
  }
2119
+ function resourcesRecommend(_ref14) {
2120
+ var params = _extends({}, _ref14);
2121
+
2122
+ return FUtil.Request({
2123
+ method: 'GET',
2124
+ url: "/v2/resources/recommend?recommendType=2",
2125
+ params: params
2126
+ });
2127
+ }
2121
2128
 
2122
2129
  var Resource = {
2123
2130
  __proto__: null,
@@ -2144,7 +2151,8 @@ var Resource = {
2144
2151
  cycleDependencyCheck: cycleDependencyCheck$1,
2145
2152
  relationTree: relationTree$1,
2146
2153
  relationTreeAuth: relationTreeAuth,
2147
- batchAuth: batchAuth$1
2154
+ batchAuth: batchAuth$1,
2155
+ resourcesRecommend: resourcesRecommend
2148
2156
  };
2149
2157
 
2150
2158
  var _excluded$4 = ["loginName"];
@@ -2276,6 +2284,24 @@ function registerOrBind(params) {
2276
2284
  noRedirect: true
2277
2285
  });
2278
2286
  }
2287
+ function thirdPartyUnbind(params) {
2288
+ return FUtil.Request({
2289
+ method: 'PUT',
2290
+ url: "/v2/thirdParty/unbind",
2291
+ data: params
2292
+ });
2293
+ }
2294
+ function thirdPartyList(params) {
2295
+ if (params === void 0) {
2296
+ params = {};
2297
+ }
2298
+
2299
+ return FUtil.Request({
2300
+ method: 'GET',
2301
+ url: "/v2/thirdParty/list",
2302
+ data: params
2303
+ });
2304
+ }
2279
2305
 
2280
2306
  var User = {
2281
2307
  __proto__: null,
@@ -2291,7 +2317,9 @@ var User = {
2291
2317
  verifyLoginPassword: verifyLoginPassword,
2292
2318
  areasProvinces: areasProvinces,
2293
2319
  updateMobileOrEmail: updateMobileOrEmail,
2294
- registerOrBind: registerOrBind
2320
+ registerOrBind: registerOrBind,
2321
+ thirdPartyUnbind: thirdPartyUnbind,
2322
+ thirdPartyList: thirdPartyList
2295
2323
  };
2296
2324
 
2297
2325
  var _excluded$5 = ["nodeId"],