@coveo/platform-client 67.0.0 → 68.0.0

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.
@@ -1,5 +1,56 @@
1
1
  import { PageModel, Paginated } from '../../BaseInterfaces.js';
2
2
  import { ConditionAssociationSortByType, ConditionAssociationType, ConditionPipelineStatementType, ListStatementAssocationFilter, ListStatementSortBy } from '../../Enums.js';
3
+ export interface DetailedObject {
4
+ object: string;
5
+ key?: string;
6
+ words?: string[];
7
+ }
8
+ export interface DetailedCondition {
9
+ /**
10
+ * The left-hand operand of this condition node.
11
+ * When present, this is either another nested condition or an object reference.
12
+ */
13
+ left?: DetailedCondition | DetailedObject;
14
+ /**
15
+ * The operator applied between the left-hand and right-hand operands.
16
+ */
17
+ operator?: string;
18
+ /**
19
+ * The right-hand operand of this condition node.
20
+ * When present, this is either another nested condition, an object reference,
21
+ * or a literal value.
22
+ */
23
+ right?: DetailedCondition | DetailedObject | string | boolean;
24
+ /**
25
+ * The object targeted by this condition
26
+ */
27
+ object?: string;
28
+ /**
29
+ * The key for this condition node.
30
+ */
31
+ key?: string;
32
+ /**
33
+ * The logical join operator used to combine this condition with another
34
+ * condition at the same level
35
+ */
36
+ joinOperator?: string;
37
+ /**
38
+ * The collection of values associated to this condition node.
39
+ */
40
+ values?: unknown;
41
+ /**
42
+ * Whether this node represents a sub-condition/grouping in the condition tree.
43
+ */
44
+ isSub?: boolean;
45
+ /**
46
+ * The start value of a range-based condition.
47
+ */
48
+ from?: string;
49
+ /**
50
+ * The end value of a range-based condition.
51
+ */
52
+ to?: string;
53
+ }
3
54
  interface ConditionAssociations {
4
55
  /**
5
56
  * The number of resources associated to this condition.
@@ -22,7 +73,9 @@ export interface ConditionModel {
22
73
  /**
23
74
  * The structured object of the query pipeline language expression of this statement.
24
75
  */
25
- detailed: any;
76
+ detailed: {
77
+ condition: DetailedCondition;
78
+ };
26
79
  /**
27
80
  * The identifier of the Coveo Cloud platform user who last modified this.
28
81
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/platform-client",
3
- "version": "67.0.0",
3
+ "version": "68.0.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {