@freelog/tools-lib 0.1.175 → 0.1.177

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freelog/tools-lib",
3
- "version": "0.1.175",
3
+ "version": "0.1.177",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -506,7 +506,7 @@ export function getItemsAutoCollectRule({
506
506
  GetItemsAutoCollectRuleParamsType) {
507
507
  return FUtil.Request({
508
508
  method: 'GET',
509
- url: `/v2/presentables/cataloguea/${presentableId}/items/collectRules`,
509
+ url: `/v2/presentables/catalogues/${presentableId}/items/collectRules`,
510
510
  // params: params,
511
511
  });
512
512
  }
@@ -529,10 +529,10 @@ interface SetItemsAutoCollectRuleParamsType {
529
529
  }[];
530
530
  }
531
531
 
532
- export function SetItemsAutoCollectRuleParamsType({
532
+ export function setItemsAutoCollectRule({
533
533
  presentableId,
534
534
  ...params
535
- }: AddItemsToPresentableCollectionParamsType) {
535
+ }: SetItemsAutoCollectRuleParamsType) {
536
536
  return FUtil.Request({
537
537
  method: 'POST',
538
538
  url: `/v2/presentables/catalogues/${presentableId}/items`,