@freelog/tools-lib 0.1.181 → 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.
@@ -227,7 +227,7 @@ interface GetItemsFromPresentableCollectionIsExistParamsType {
227
227
  export declare function getItemsFromPresentableCollectionIsExist({ presentableId, ...params }: GetItemsFromPresentableCollectionIsExistParamsType): Promise<any>;
228
228
  interface SetItemsSortFromPresentableCollectionManualParamsType {
229
229
  presentableId: string;
230
- sortIds: string[];
230
+ itemIds: string[];
231
231
  targetSortId: number;
232
232
  }
233
233
  export declare function setItemsSortFromPresentableCollectionManual({ presentableId, ...params }: SetItemsSortFromPresentableCollectionManualParamsType): Promise<any>;
@@ -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 {
@@ -1,4 +1,4 @@
1
- import { AxiosRequestConfig } from "axios";
1
+ import { AxiosRequestConfig } from 'axios';
2
2
  interface LoginParamsType {
3
3
  loginName: string;
4
4
  password: string;
@@ -101,4 +101,8 @@ interface SearchForConsoleParamsType {
101
101
  keywords?: string;
102
102
  }
103
103
  export declare function searchForConsole(params?: SearchForConsoleParamsType): Promise<any>;
104
+ interface WechatPublicApisShareSignatureParamsType {
105
+ shareUrl: string;
106
+ }
107
+ export declare function wechatPublicApisShareSignature({ ...params }: WechatPublicApisShareSignatureParamsType): Promise<any>;
104
108
  export {};
@@ -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"],
@@ -2450,6 +2460,14 @@ function searchForConsole(params) {
2450
2460
  params: params
2451
2461
  });
2452
2462
  }
2463
+ function wechatPublicApisShareSignature(_ref5) {
2464
+ var params = _extends({}, (_objectDestructuringEmpty(_ref5), _ref5));
2465
+ return FUtil.Request({
2466
+ method: 'GET',
2467
+ url: '/v2/users/wechatPublicApis/shareSignature',
2468
+ params: params
2469
+ });
2470
+ }
2453
2471
 
2454
2472
  var User = {
2455
2473
  __proto__: null,
@@ -2473,7 +2491,8 @@ var User = {
2473
2491
  thirdPartyIsBind: thirdPartyIsBind,
2474
2492
  signForCoins: signForCoins,
2475
2493
  getSignInfo: getSignInfo,
2476
- searchForConsole: searchForConsole
2494
+ searchForConsole: searchForConsole,
2495
+ wechatPublicApisShareSignature: wechatPublicApisShareSignature
2477
2496
  };
2478
2497
 
2479
2498
  var _excluded$5 = ["nodeId"],