@freelog/tools-lib 0.1.176 → 0.1.178

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.176",
3
+ "version": "0.1.178",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -529,13 +529,13 @@ 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
- url: `/v2/presentables/catalogues/${presentableId}/items`,
538
+ url: `/v2/presentables/catalogues/${presentableId}/items/collectRules`,
539
539
  data: params,
540
540
  });
541
541
  }