@freelog/tools-lib 0.1.71 → 0.1.72

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.
@@ -191,4 +191,10 @@ interface RelationTreeAuthParamsType {
191
191
  versionRange?: string;
192
192
  }
193
193
  export declare function relationTreeAuth({ resourceId, ...params }: RelationTreeAuthParamsType): Promise<any>;
194
+ interface BatchAuthParamsType {
195
+ resourceIds: string;
196
+ versions?: string;
197
+ versionRanges?: string;
198
+ }
199
+ export declare function batchAuth({ ...params }: BatchAuthParamsType): Promise<any>;
194
200
  export {};
@@ -2263,15 +2263,21 @@ function relationTreeAuth(_ref11) {
2263
2263
  var resourceId = _ref11.resourceId,
2264
2264
  params = _objectWithoutPropertiesLoose(_ref11, _excluded11);
2265
2265
 
2266
- // return FUtil.Axios.get(`/v2/auths/resources/${resourceId}/relationTreeAuth`, {
2267
- // params,
2268
- // });
2269
2266
  return FUtil.Request({
2270
2267
  method: 'GET',
2271
2268
  url: "/v2/auths/resources/" + resourceId + "/relationTreeAuth",
2272
2269
  params: params
2273
2270
  });
2274
2271
  }
2272
+ function batchAuth$1(_ref12) {
2273
+ var params = _extends({}, _ref12);
2274
+
2275
+ return FUtil.Request({
2276
+ method: 'GET',
2277
+ url: "/v2/auths/resources/batchAuth/results",
2278
+ params: params
2279
+ });
2280
+ }
2275
2281
 
2276
2282
  var Resource = {
2277
2283
  __proto__: null,
@@ -2296,7 +2302,8 @@ var Resource = {
2296
2302
  batchSetContracts: batchSetContracts,
2297
2303
  cycleDependencyCheck: cycleDependencyCheck$1,
2298
2304
  relationTree: relationTree$1,
2299
- relationTreeAuth: relationTreeAuth
2305
+ relationTreeAuth: relationTreeAuth,
2306
+ batchAuth: batchAuth$1
2300
2307
  };
2301
2308
 
2302
2309
  var _excluded$4 = ["loginName"];