@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/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
|
@@ -226,5 +226,15 @@ interface GetItemsAutoCollectRuleParamsType {
|
|
|
226
226
|
presentableId: string;
|
|
227
227
|
}
|
|
228
228
|
export declare function getItemsAutoCollectRule({ presentableId, }: GetItemsAutoCollectRuleParamsType): Promise<any>;
|
|
229
|
-
|
|
229
|
+
interface SetItemsAutoCollectRuleParamsType {
|
|
230
|
+
presentableId: string;
|
|
231
|
+
status: 0 | 1;
|
|
232
|
+
conditionType: 1 | 2;
|
|
233
|
+
filterConditions: {
|
|
234
|
+
key: 'presentableTitle' | 'resourceTypeCode' | 'authIdentity';
|
|
235
|
+
limitOperatorType: 'INCLUDES' | 'NOT_INCLUDES' | 'STARTS_WITH' | 'ENDS_WITH' | 'EQUAL' | 'NOT_EQUAL';
|
|
236
|
+
value: string;
|
|
237
|
+
}[];
|
|
238
|
+
}
|
|
239
|
+
export declare function setItemsAutoCollectRule({ presentableId, ...params }: SetItemsAutoCollectRuleParamsType): Promise<any>;
|
|
230
240
|
export {};
|
|
@@ -1252,10 +1252,10 @@ function getItemsAutoCollectRule(_ref19) {
|
|
|
1252
1252
|
var presentableId = _ref19.presentableId;
|
|
1253
1253
|
return FUtil.Request({
|
|
1254
1254
|
method: 'GET',
|
|
1255
|
-
url: "/v2/presentables/
|
|
1255
|
+
url: "/v2/presentables/catalogues/" + presentableId + "/items/collectRules"
|
|
1256
1256
|
});
|
|
1257
1257
|
}
|
|
1258
|
-
function
|
|
1258
|
+
function setItemsAutoCollectRule(_ref20) {
|
|
1259
1259
|
var presentableId = _ref20.presentableId,
|
|
1260
1260
|
params = _objectWithoutPropertiesLoose(_ref20, _excluded17);
|
|
1261
1261
|
return FUtil.Request({
|
|
@@ -1291,7 +1291,7 @@ var Exhibit = {
|
|
|
1291
1291
|
setItemsSortFromPresentableCollectionManual: setItemsSortFromPresentableCollectionManual,
|
|
1292
1292
|
setItemsSortFromPresentableCollectionQuick: setItemsSortFromPresentableCollectionQuick,
|
|
1293
1293
|
getItemsAutoCollectRule: getItemsAutoCollectRule,
|
|
1294
|
-
|
|
1294
|
+
setItemsAutoCollectRule: setItemsAutoCollectRule
|
|
1295
1295
|
};
|
|
1296
1296
|
|
|
1297
1297
|
var _excluded$2 = ["bucketName"],
|