@freelog/tools-lib 0.1.176 → 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.
@@ -226,5 +226,15 @@ interface GetItemsAutoCollectRuleParamsType {
226
226
  presentableId: string;
227
227
  }
228
228
  export declare function getItemsAutoCollectRule({ presentableId, }: GetItemsAutoCollectRuleParamsType): Promise<any>;
229
- export declare function SetItemsAutoCollectRuleParamsType({ presentableId, ...params }: AddItemsToPresentableCollectionParamsType): Promise<any>;
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 {};
@@ -1255,7 +1255,7 @@ function getItemsAutoCollectRule(_ref19) {
1255
1255
  url: "/v2/presentables/catalogues/" + presentableId + "/items/collectRules"
1256
1256
  });
1257
1257
  }
1258
- function SetItemsAutoCollectRuleParamsType(_ref20) {
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
- SetItemsAutoCollectRuleParamsType: SetItemsAutoCollectRuleParamsType
1294
+ setItemsAutoCollectRule: setItemsAutoCollectRule
1295
1295
  };
1296
1296
 
1297
1297
  var _excluded$2 = ["bucketName"],