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

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/admin.d.ts CHANGED
@@ -2344,6 +2344,9 @@ export type EntitySchemasUpdateData = {
2344
2344
  file?: KnowledgeFileFieldEntry;
2345
2345
  mediaVisibility?: KnowledgeFileVisibility;
2346
2346
  relation?: KnowledgeRelationFieldEntry;
2347
+ user?: {
2348
+ multiple: boolean;
2349
+ };
2347
2350
  };
2348
2351
  };
2349
2352
  fqn?: string;
@@ -2485,6 +2488,9 @@ export type EntitySchemasCreateData = {
2485
2488
  file?: KnowledgeFileFieldEntry;
2486
2489
  mediaVisibility?: KnowledgeFileVisibility;
2487
2490
  relation?: KnowledgeRelationFieldEntry;
2491
+ user?: {
2492
+ multiple: boolean;
2493
+ };
2488
2494
  };
2489
2495
  };
2490
2496
  fqn: string;
@@ -5564,7 +5570,7 @@ declare const createAdministrationApi: (client: Client$1) => {
5564
5570
  type: "pattern";
5565
5571
  value: string;
5566
5572
  }>;
5567
- "ui:widget": "checkbox" | "color" | "date" | "date_range" | "datetime" | "email" | "file" | "hidden" | "number" | "password" | "structured_file_preview" | "switch" | "text" | "textarea" | "variable_references";
5573
+ "ui:widget": "checkbox" | "color" | "date" | "date_range" | "datetime" | "email" | "file" | "hidden" | "number" | "password" | "structured_file_preview" | "switch" | "text" | "textarea" | "user_multi_select" | "user_select" | "variable_references";
5568
5574
  } | {
5569
5575
  "ui:disabled"?: boolean;
5570
5576
  "ui:help"?: string;
@@ -6191,7 +6197,7 @@ declare const createAdministrationApi: (client: Client$1) => {
6191
6197
  type: "pattern";
6192
6198
  value: string;
6193
6199
  }>;
6194
- "ui:widget": "checkbox" | "color" | "date" | "date_range" | "datetime" | "email" | "file" | "hidden" | "number" | "password" | "structured_file_preview" | "switch" | "text" | "textarea" | "variable_references";
6200
+ "ui:widget": "checkbox" | "color" | "date" | "date_range" | "datetime" | "email" | "file" | "hidden" | "number" | "password" | "structured_file_preview" | "switch" | "text" | "textarea" | "user_multi_select" | "user_select" | "variable_references";
6195
6201
  } | {
6196
6202
  "ui:disabled"?: boolean;
6197
6203
  "ui:help"?: string;
@@ -6640,6 +6646,9 @@ declare const createAdministrationApi: (client: Client$1) => {
6640
6646
  file?: KnowledgeFileFieldEntry;
6641
6647
  mediaVisibility?: KnowledgeFileVisibility;
6642
6648
  relation?: KnowledgeRelationFieldEntry;
6649
+ user?: {
6650
+ multiple: boolean;
6651
+ };
6643
6652
  };
6644
6653
  };
6645
6654
  fqn: string;
@@ -6881,6 +6890,9 @@ declare const createAdministrationApi: (client: Client$1) => {
6881
6890
  file?: KnowledgeFileFieldEntry;
6882
6891
  mediaVisibility?: KnowledgeFileVisibility;
6883
6892
  relation?: KnowledgeRelationFieldEntry;
6893
+ user?: {
6894
+ multiple: boolean;
6895
+ };
6884
6896
  };
6885
6897
  };
6886
6898
  fqn: string;
@@ -7117,6 +7129,9 @@ declare const createAdministrationApi: (client: Client$1) => {
7117
7129
  file?: KnowledgeFileFieldEntry;
7118
7130
  mediaVisibility?: KnowledgeFileVisibility;
7119
7131
  relation?: KnowledgeRelationFieldEntry;
7132
+ user?: {
7133
+ multiple: boolean;
7134
+ };
7120
7135
  };
7121
7136
  };
7122
7137
  fqn: string;
package/dist/express.d.ts CHANGED
@@ -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";
@@ -398,16 +398,18 @@ export type FilterValue = ResourceJsonValue | readonly ResourceJsonValue[];
398
398
  * through at most three fields that hold Entity References to a field of
399
399
  * the last target, such as `company.industry` or
400
400
  * `contacts.company.parent.industry`. On a field that holds Entity
401
- * References, `is_empty` means no reference, and `contains_any` and
402
- * `contains_all` compare the ids of a field that holds many.
401
+ * References, `is_empty` means no reference. User fields accept identity
402
+ * predicates for one ID and `contains_any`, `contains_all`, `contains_none`
403
+ * for multiple IDs, plus empty/not-empty aliases. CI validates operators
404
+ * against the actual field semantic; UUID shape alone does not declare User.
403
405
  */
404
406
  export type ResourceFilter = Readonly<{
405
407
  field: string;
406
- operator: "contains" | "contains_all" | "contains_any" | "ends_with" | "eq" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "not_in" | "starts_with";
408
+ operator: "contains" | "contains_all" | "contains_any" | "contains_none" | "ends_with" | "eq" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "not_in" | "starts_with";
407
409
  value: FilterValue;
408
410
  }> | Readonly<{
409
411
  field: string;
410
- operator: "is_empty" | "is_not_null" | "is_null";
412
+ operator: "is_empty" | "is_not_empty" | "is_not_null" | "is_null";
411
413
  }> | Readonly<{
412
414
  filters: readonly ResourceFilter[];
413
415
  operator: "and" | "or";
package/dist/gateway.d.ts CHANGED
@@ -439,16 +439,18 @@ export type FilterValue = ResourceJsonValue | readonly ResourceJsonValue[];
439
439
  * through at most three fields that hold Entity References to a field of
440
440
  * the last target, such as `company.industry` or
441
441
  * `contacts.company.parent.industry`. On a field that holds Entity
442
- * References, `is_empty` means no reference, and `contains_any` and
443
- * `contains_all` compare the ids of a field that holds many.
442
+ * References, `is_empty` means no reference. User fields accept identity
443
+ * predicates for one ID and `contains_any`, `contains_all`, `contains_none`
444
+ * for multiple IDs, plus empty/not-empty aliases. CI validates operators
445
+ * against the actual field semantic; UUID shape alone does not declare User.
444
446
  */
445
447
  export type ResourceFilter = Readonly<{
446
448
  field: string;
447
- operator: "contains" | "contains_all" | "contains_any" | "ends_with" | "eq" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "not_in" | "starts_with";
449
+ operator: "contains" | "contains_all" | "contains_any" | "contains_none" | "ends_with" | "eq" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "not_in" | "starts_with";
448
450
  value: FilterValue;
449
451
  }> | Readonly<{
450
452
  field: string;
451
- operator: "is_empty" | "is_not_null" | "is_null";
453
+ operator: "is_empty" | "is_not_empty" | "is_not_null" | "is_null";
452
454
  }> | Readonly<{
453
455
  filters: readonly ResourceFilter[];
454
456
  operator: "and" | "or";