@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/dist/service-API/presentables.d.ts +11 -1
- package/dist/tools-lib.cjs.development.js +3 -3
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +3 -3
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/presentables.ts +3 -3
package/package.json
CHANGED
|
@@ -529,13 +529,13 @@ interface SetItemsAutoCollectRuleParamsType {
|
|
|
529
529
|
}[];
|
|
530
530
|
}
|
|
531
531
|
|
|
532
|
-
export function
|
|
532
|
+
export function setItemsAutoCollectRule({
|
|
533
533
|
presentableId,
|
|
534
534
|
...params
|
|
535
|
-
}:
|
|
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
|
}
|