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