@freelog/tools-lib 0.1.182 → 0.1.183

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.
@@ -252,4 +252,11 @@ interface SetItemsAutoCollectRuleParamsType {
252
252
  }[];
253
253
  }
254
254
  export declare function setItemsAutoCollectRule({ presentableId, ...params }: SetItemsAutoCollectRuleParamsType): Promise<any>;
255
+ interface GetItemsFromPresentableCollectionsParamsType {
256
+ presentableIds: string;
257
+ sortType?: 1 | -1;
258
+ sortField?: 'createDate';
259
+ limit?: number;
260
+ }
261
+ export declare function getItemsFromPresentableCollections({ ...params }: GetItemsFromPresentableCollectionsParamsType): Promise<any>;
255
262
  export {};
@@ -339,6 +339,7 @@ interface ResourceTypesParamsType {
339
339
  isMine?: boolean;
340
340
  status?: 0 | 1;
341
341
  supportCreateBatch?: 1 | 2;
342
+ subjectType?: 1 | 4 | 5;
342
343
  }
343
344
  export declare function resourceTypes({ ...params }?: ResourceTypesParamsType): Promise<any>;
344
345
  interface ListSimpleByParentCodeParamsType {
@@ -348,6 +349,9 @@ interface ListSimpleByParentCodeParamsType {
348
349
  excludeParentCode?: boolean;
349
350
  isTerminate?: boolean;
350
351
  nameChain?: string;
352
+ subjectType?: 1 | 4 | 5;
353
+ supportCreateBatch?: 1 | 2;
354
+ status?: 0 | 1;
351
355
  }
352
356
  export declare function ListSimpleByParentCode({ ...params }: ListSimpleByParentCodeParamsType): Promise<any>;
353
357
  interface GetResourceTypeInfoByCodeParamsType {
@@ -1288,6 +1288,15 @@ function setItemsAutoCollectRule(_ref22) {
1288
1288
  data: params
1289
1289
  });
1290
1290
  }
1291
+ function getItemsFromPresentableCollections(_ref23) {
1292
+ var params = _extends({}, (_objectDestructuringEmpty(_ref23), _ref23));
1293
+ return FUtil.Request({
1294
+ method: 'GET',
1295
+ // url: `/v2/presentables/catalogues/items/batch/list?presentableIds=685cf423e1502e002fe3053b&limit=1&sortType=-1&sortField=createDate`,
1296
+ url: "/v2/presentables/catalogues/items/batch/list",
1297
+ params: params
1298
+ });
1299
+ }
1291
1300
 
1292
1301
  var Exhibit = {
1293
1302
  __proto__: null,
@@ -1317,7 +1326,8 @@ var Exhibit = {
1317
1326
  setItemsSortFromPresentableCollectionManual: setItemsSortFromPresentableCollectionManual,
1318
1327
  setItemsSortFromPresentableCollectionQuick: setItemsSortFromPresentableCollectionQuick,
1319
1328
  getItemsAutoCollectRule: getItemsAutoCollectRule,
1320
- setItemsAutoCollectRule: setItemsAutoCollectRule
1329
+ setItemsAutoCollectRule: setItemsAutoCollectRule,
1330
+ getItemsFromPresentableCollections: getItemsFromPresentableCollections
1321
1331
  };
1322
1332
 
1323
1333
  var _excluded$2 = ["bucketName"],