@collective-intelligence/external-apps-server-sdk 0.1.12 → 0.1.13

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.
@@ -429,16 +429,18 @@ export type FilterValue = ResourceJsonValue | readonly ResourceJsonValue[];
429
429
  * through at most three fields that hold Entity References to a field of
430
430
  * the last target, such as `company.industry` or
431
431
  * `contacts.company.parent.industry`. On a field that holds Entity
432
- * References, `is_empty` means no reference, and `contains_any` and
433
- * `contains_all` compare the ids of a field that holds many.
432
+ * References, `is_empty` means no reference. User fields accept identity
433
+ * predicates for one ID and `contains_any`, `contains_all`, `contains_none`
434
+ * for multiple IDs, plus empty/not-empty aliases. CI validates operators
435
+ * against the actual field semantic; UUID shape alone does not declare User.
434
436
  */
435
437
  export type ResourceFilter = Readonly<{
436
438
  field: string;
437
- operator: "contains" | "contains_all" | "contains_any" | "ends_with" | "eq" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "not_in" | "starts_with";
439
+ operator: "contains" | "contains_all" | "contains_any" | "contains_none" | "ends_with" | "eq" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "not_in" | "starts_with";
438
440
  value: FilterValue;
439
441
  }> | Readonly<{
440
442
  field: string;
441
- operator: "is_empty" | "is_not_null" | "is_null";
443
+ operator: "is_empty" | "is_not_empty" | "is_not_null" | "is_null";
442
444
  }> | Readonly<{
443
445
  filters: readonly ResourceFilter[];
444
446
  operator: "and" | "or";