@lightdash/common 0.1864.0 → 0.1865.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.
Files changed (129) hide show
  1. package/dist/cjs/ee/AiAgent/schemas/fieldId.d.ts +1 -2
  2. package/dist/cjs/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
  3. package/dist/cjs/ee/AiAgent/schemas/fieldId.js +1 -5
  4. package/dist/cjs/ee/AiAgent/schemas/fieldId.js.map +1 -1
  5. package/dist/cjs/ee/AiAgent/schemas/fieldType.d.ts +1 -1
  6. package/dist/cjs/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
  7. package/dist/cjs/ee/AiAgent/schemas/fieldType.js +2 -22
  8. package/dist/cjs/ee/AiAgent/schemas/fieldType.js.map +1 -1
  9. package/dist/cjs/ee/AiAgent/schemas/filters/index.d.ts +30 -30
  10. package/dist/cjs/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
  11. package/dist/cjs/ee/AiAgent/schemas/filters/index.js +8 -4
  12. package/dist/cjs/ee/AiAgent/schemas/filters/index.js.map +1 -1
  13. package/dist/cjs/ee/AiAgent/schemas/index.d.ts +69 -75
  14. package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
  15. package/dist/cjs/ee/AiAgent/schemas/index.js +1 -4
  16. package/dist/cjs/ee/AiAgent/schemas/index.js.map +1 -1
  17. package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts +0 -1
  18. package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
  19. package/dist/cjs/ee/AiAgent/schemas/tools/index.js +0 -1
  20. package/dist/cjs/ee/AiAgent/schemas/tools/index.js.map +1 -1
  21. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +6 -0
  22. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
  23. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +4 -0
  24. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
  25. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +38 -6
  26. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
  27. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +8 -1
  28. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
  29. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
  30. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
  31. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  32. package/dist/cjs/index.d.ts +0 -1
  33. package/dist/cjs/index.d.ts.map +1 -1
  34. package/dist/cjs/index.js +0 -1
  35. package/dist/cjs/index.js.map +1 -1
  36. package/dist/cjs/types/catalog.d.ts +8 -4
  37. package/dist/cjs/types/catalog.d.ts.map +1 -1
  38. package/dist/cjs/types/catalog.js.map +1 -1
  39. package/dist/esm/ee/AiAgent/schemas/fieldId.d.ts +1 -2
  40. package/dist/esm/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
  41. package/dist/esm/ee/AiAgent/schemas/fieldId.js +1 -4
  42. package/dist/esm/ee/AiAgent/schemas/fieldId.js.map +1 -1
  43. package/dist/esm/ee/AiAgent/schemas/fieldType.d.ts +1 -1
  44. package/dist/esm/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
  45. package/dist/esm/ee/AiAgent/schemas/fieldType.js +2 -22
  46. package/dist/esm/ee/AiAgent/schemas/fieldType.js.map +1 -1
  47. package/dist/esm/ee/AiAgent/schemas/filters/index.d.ts +30 -30
  48. package/dist/esm/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
  49. package/dist/esm/ee/AiAgent/schemas/filters/index.js +8 -4
  50. package/dist/esm/ee/AiAgent/schemas/filters/index.js.map +1 -1
  51. package/dist/esm/ee/AiAgent/schemas/index.d.ts +69 -75
  52. package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
  53. package/dist/esm/ee/AiAgent/schemas/index.js +2 -5
  54. package/dist/esm/ee/AiAgent/schemas/index.js.map +1 -1
  55. package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts +0 -1
  56. package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
  57. package/dist/esm/ee/AiAgent/schemas/tools/index.js +0 -1
  58. package/dist/esm/ee/AiAgent/schemas/tools/index.js.map +1 -1
  59. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +6 -0
  60. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
  61. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +4 -0
  62. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
  63. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +38 -6
  64. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
  65. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +8 -1
  66. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
  67. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
  68. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
  69. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  70. package/dist/esm/index.d.ts +0 -1
  71. package/dist/esm/index.d.ts.map +1 -1
  72. package/dist/esm/index.js +0 -1
  73. package/dist/esm/index.js.map +1 -1
  74. package/dist/esm/types/catalog.d.ts +8 -4
  75. package/dist/esm/types/catalog.d.ts.map +1 -1
  76. package/dist/esm/types/catalog.js.map +1 -1
  77. package/dist/tsconfig.types.tsbuildinfo +1 -1
  78. package/dist/types/ee/AiAgent/schemas/fieldId.d.ts +1 -2
  79. package/dist/types/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
  80. package/dist/types/ee/AiAgent/schemas/fieldType.d.ts +1 -1
  81. package/dist/types/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
  82. package/dist/types/ee/AiAgent/schemas/filters/index.d.ts +30 -30
  83. package/dist/types/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
  84. package/dist/types/ee/AiAgent/schemas/index.d.ts +69 -75
  85. package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
  86. package/dist/types/ee/AiAgent/schemas/tools/index.d.ts +0 -1
  87. package/dist/types/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
  88. package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +6 -0
  89. package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
  90. package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +38 -6
  91. package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
  92. package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
  93. package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
  94. package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  95. package/dist/types/index.d.ts +0 -1
  96. package/dist/types/index.d.ts.map +1 -1
  97. package/dist/types/types/catalog.d.ts +8 -4
  98. package/dist/types/types/catalog.d.ts.map +1 -1
  99. package/package.json +1 -1
  100. package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.d.ts +0 -13
  101. package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +0 -1
  102. package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.js +0 -10
  103. package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.js.map +0 -1
  104. package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +0 -54
  105. package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +0 -1
  106. package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js +0 -13
  107. package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js.map +0 -1
  108. package/dist/cjs/utils/explore.d.ts +0 -3
  109. package/dist/cjs/utils/explore.d.ts.map +0 -1
  110. package/dist/cjs/utils/explore.js +0 -18
  111. package/dist/cjs/utils/explore.js.map +0 -1
  112. package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.d.ts +0 -13
  113. package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +0 -1
  114. package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.js +0 -7
  115. package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.js.map +0 -1
  116. package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +0 -54
  117. package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +0 -1
  118. package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js +0 -10
  119. package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js.map +0 -1
  120. package/dist/esm/utils/explore.d.ts +0 -3
  121. package/dist/esm/utils/explore.d.ts.map +0 -1
  122. package/dist/esm/utils/explore.js +0 -14
  123. package/dist/esm/utils/explore.js.map +0 -1
  124. package/dist/types/ee/AiAgent/schemas/fieldSearchQuery.d.ts +0 -13
  125. package/dist/types/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +0 -1
  126. package/dist/types/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +0 -54
  127. package/dist/types/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +0 -1
  128. package/dist/types/utils/explore.d.ts +0 -3
  129. package/dist/types/utils/explore.d.ts.map +0 -1
@@ -6,12 +6,12 @@ export declare const filtersSchema: z.ZodObject<{
6
6
  type: z.ZodEnum<["or", "and"]>;
7
7
  target: z.ZodObject<{
8
8
  fieldId: z.ZodString;
9
- type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<import("../../../..").DimensionType.BOOLEAN>, z.ZodLiteral<import("../../../..").DimensionType.DATE>, z.ZodLiteral<import("../../../..").DimensionType.NUMBER>, z.ZodLiteral<import("../../../..").DimensionType.STRING>, z.ZodLiteral<import("../../../..").DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<import("../../../..").MetricType.PERCENTILE>, z.ZodLiteral<import("../../../..").MetricType.AVERAGE>, z.ZodLiteral<import("../../../..").MetricType.COUNT>, z.ZodLiteral<import("../../../..").MetricType.COUNT_DISTINCT>, z.ZodLiteral<import("../../../..").MetricType.SUM>, z.ZodLiteral<import("../../../..").MetricType.MIN>, z.ZodLiteral<import("../../../..").MetricType.MAX>, z.ZodLiteral<import("../../../..").MetricType.NUMBER>, z.ZodLiteral<import("../../../..").MetricType.MEDIAN>, z.ZodLiteral<import("../../../..").MetricType.STRING>, z.ZodLiteral<import("../../../..").MetricType.DATE>, z.ZodLiteral<import("../../../..").MetricType.TIMESTAMP>, z.ZodLiteral<import("../../../..").MetricType.BOOLEAN>]>]>;
9
+ type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
10
10
  }, "strip", z.ZodTypeAny, {
11
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
11
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
12
12
  fieldId: string;
13
13
  }, {
14
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
14
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
15
15
  fieldId: string;
16
16
  }>;
17
17
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -168,7 +168,7 @@ export declare const filtersSchema: z.ZodObject<{
168
168
  }, "strip", z.ZodTypeAny, {
169
169
  type: "and" | "or";
170
170
  target: {
171
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
171
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
172
172
  fieldId: string;
173
173
  };
174
174
  rule: {
@@ -221,7 +221,7 @@ export declare const filtersSchema: z.ZodObject<{
221
221
  }, {
222
222
  type: "and" | "or";
223
223
  target: {
224
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
224
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
225
225
  fieldId: string;
226
226
  };
227
227
  rule: {
@@ -276,12 +276,12 @@ export declare const filtersSchema: z.ZodObject<{
276
276
  type: z.ZodEnum<["or", "and"]>;
277
277
  target: z.ZodObject<{
278
278
  fieldId: z.ZodString;
279
- type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<import("../../../..").DimensionType.BOOLEAN>, z.ZodLiteral<import("../../../..").DimensionType.DATE>, z.ZodLiteral<import("../../../..").DimensionType.NUMBER>, z.ZodLiteral<import("../../../..").DimensionType.STRING>, z.ZodLiteral<import("../../../..").DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<import("../../../..").MetricType.PERCENTILE>, z.ZodLiteral<import("../../../..").MetricType.AVERAGE>, z.ZodLiteral<import("../../../..").MetricType.COUNT>, z.ZodLiteral<import("../../../..").MetricType.COUNT_DISTINCT>, z.ZodLiteral<import("../../../..").MetricType.SUM>, z.ZodLiteral<import("../../../..").MetricType.MIN>, z.ZodLiteral<import("../../../..").MetricType.MAX>, z.ZodLiteral<import("../../../..").MetricType.NUMBER>, z.ZodLiteral<import("../../../..").MetricType.MEDIAN>, z.ZodLiteral<import("../../../..").MetricType.STRING>, z.ZodLiteral<import("../../../..").MetricType.DATE>, z.ZodLiteral<import("../../../..").MetricType.TIMESTAMP>, z.ZodLiteral<import("../../../..").MetricType.BOOLEAN>]>]>;
279
+ type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
280
280
  }, "strip", z.ZodTypeAny, {
281
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
281
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
282
282
  fieldId: string;
283
283
  }, {
284
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
284
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
285
285
  fieldId: string;
286
286
  }>;
287
287
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -438,7 +438,7 @@ export declare const filtersSchema: z.ZodObject<{
438
438
  }, "strip", z.ZodTypeAny, {
439
439
  type: "and" | "or";
440
440
  target: {
441
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
441
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
442
442
  fieldId: string;
443
443
  };
444
444
  rule: {
@@ -491,7 +491,7 @@ export declare const filtersSchema: z.ZodObject<{
491
491
  }, {
492
492
  type: "and" | "or";
493
493
  target: {
494
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
494
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
495
495
  fieldId: string;
496
496
  };
497
497
  rule: {
@@ -547,7 +547,7 @@ export declare const filtersSchema: z.ZodObject<{
547
547
  metrics: {
548
548
  type: "and" | "or";
549
549
  target: {
550
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
550
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
551
551
  fieldId: string;
552
552
  };
553
553
  rule: {
@@ -601,7 +601,7 @@ export declare const filtersSchema: z.ZodObject<{
601
601
  dimensions: {
602
602
  type: "and" | "or";
603
603
  target: {
604
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
604
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
605
605
  fieldId: string;
606
606
  };
607
607
  rule: {
@@ -657,7 +657,7 @@ export declare const filtersSchema: z.ZodObject<{
657
657
  metrics: {
658
658
  type: "and" | "or";
659
659
  target: {
660
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
660
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
661
661
  fieldId: string;
662
662
  };
663
663
  rule: {
@@ -711,7 +711,7 @@ export declare const filtersSchema: z.ZodObject<{
711
711
  dimensions: {
712
712
  type: "and" | "or";
713
713
  target: {
714
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
714
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
715
715
  fieldId: string;
716
716
  };
717
717
  rule: {
@@ -769,12 +769,12 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
769
769
  type: z.ZodEnum<["or", "and"]>;
770
770
  target: z.ZodObject<{
771
771
  fieldId: z.ZodString;
772
- type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<import("../../../..").DimensionType.BOOLEAN>, z.ZodLiteral<import("../../../..").DimensionType.DATE>, z.ZodLiteral<import("../../../..").DimensionType.NUMBER>, z.ZodLiteral<import("../../../..").DimensionType.STRING>, z.ZodLiteral<import("../../../..").DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<import("../../../..").MetricType.PERCENTILE>, z.ZodLiteral<import("../../../..").MetricType.AVERAGE>, z.ZodLiteral<import("../../../..").MetricType.COUNT>, z.ZodLiteral<import("../../../..").MetricType.COUNT_DISTINCT>, z.ZodLiteral<import("../../../..").MetricType.SUM>, z.ZodLiteral<import("../../../..").MetricType.MIN>, z.ZodLiteral<import("../../../..").MetricType.MAX>, z.ZodLiteral<import("../../../..").MetricType.NUMBER>, z.ZodLiteral<import("../../../..").MetricType.MEDIAN>, z.ZodLiteral<import("../../../..").MetricType.STRING>, z.ZodLiteral<import("../../../..").MetricType.DATE>, z.ZodLiteral<import("../../../..").MetricType.TIMESTAMP>, z.ZodLiteral<import("../../../..").MetricType.BOOLEAN>]>]>;
772
+ type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
773
773
  }, "strip", z.ZodTypeAny, {
774
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
774
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
775
775
  fieldId: string;
776
776
  }, {
777
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
777
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
778
778
  fieldId: string;
779
779
  }>;
780
780
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -931,7 +931,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
931
931
  }, "strip", z.ZodTypeAny, {
932
932
  type: "and" | "or";
933
933
  target: {
934
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
934
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
935
935
  fieldId: string;
936
936
  };
937
937
  rule: {
@@ -984,7 +984,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
984
984
  }, {
985
985
  type: "and" | "or";
986
986
  target: {
987
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
987
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
988
988
  fieldId: string;
989
989
  };
990
990
  rule: {
@@ -1037,7 +1037,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
1037
1037
  }>, FilterRule<import("../../../../types/filter").FilterOperator, import("../../../../types/filter").FieldTarget, any, any>, {
1038
1038
  type: "and" | "or";
1039
1039
  target: {
1040
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
1040
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1041
1041
  fieldId: string;
1042
1042
  };
1043
1043
  rule: {
@@ -1092,12 +1092,12 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
1092
1092
  type: z.ZodEnum<["or", "and"]>;
1093
1093
  target: z.ZodObject<{
1094
1094
  fieldId: z.ZodString;
1095
- type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<import("../../../..").DimensionType.BOOLEAN>, z.ZodLiteral<import("../../../..").DimensionType.DATE>, z.ZodLiteral<import("../../../..").DimensionType.NUMBER>, z.ZodLiteral<import("../../../..").DimensionType.STRING>, z.ZodLiteral<import("../../../..").DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<import("../../../..").MetricType.PERCENTILE>, z.ZodLiteral<import("../../../..").MetricType.AVERAGE>, z.ZodLiteral<import("../../../..").MetricType.COUNT>, z.ZodLiteral<import("../../../..").MetricType.COUNT_DISTINCT>, z.ZodLiteral<import("../../../..").MetricType.SUM>, z.ZodLiteral<import("../../../..").MetricType.MIN>, z.ZodLiteral<import("../../../..").MetricType.MAX>, z.ZodLiteral<import("../../../..").MetricType.NUMBER>, z.ZodLiteral<import("../../../..").MetricType.MEDIAN>, z.ZodLiteral<import("../../../..").MetricType.STRING>, z.ZodLiteral<import("../../../..").MetricType.DATE>, z.ZodLiteral<import("../../../..").MetricType.TIMESTAMP>, z.ZodLiteral<import("../../../..").MetricType.BOOLEAN>]>]>;
1095
+ type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
1096
1096
  }, "strip", z.ZodTypeAny, {
1097
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
1097
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1098
1098
  fieldId: string;
1099
1099
  }, {
1100
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
1100
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1101
1101
  fieldId: string;
1102
1102
  }>;
1103
1103
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -1254,7 +1254,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
1254
1254
  }, "strip", z.ZodTypeAny, {
1255
1255
  type: "and" | "or";
1256
1256
  target: {
1257
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
1257
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1258
1258
  fieldId: string;
1259
1259
  };
1260
1260
  rule: {
@@ -1307,7 +1307,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
1307
1307
  }, {
1308
1308
  type: "and" | "or";
1309
1309
  target: {
1310
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
1310
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1311
1311
  fieldId: string;
1312
1312
  };
1313
1313
  rule: {
@@ -1360,7 +1360,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
1360
1360
  }>, FilterRule<import("../../../../types/filter").FilterOperator, import("../../../../types/filter").FieldTarget, any, any>, {
1361
1361
  type: "and" | "or";
1362
1362
  target: {
1363
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
1363
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1364
1364
  fieldId: string;
1365
1365
  };
1366
1366
  rule: {
@@ -1420,7 +1420,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
1420
1420
  metrics: {
1421
1421
  type: "and" | "or";
1422
1422
  target: {
1423
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
1423
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1424
1424
  fieldId: string;
1425
1425
  };
1426
1426
  rule: {
@@ -1474,7 +1474,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
1474
1474
  dimensions: {
1475
1475
  type: "and" | "or";
1476
1476
  target: {
1477
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
1477
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1478
1478
  fieldId: string;
1479
1479
  };
1480
1480
  rule: {
@@ -1530,7 +1530,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
1530
1530
  metrics: {
1531
1531
  type: "and" | "or";
1532
1532
  target: {
1533
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
1533
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1534
1534
  fieldId: string;
1535
1535
  };
1536
1536
  rule: {
@@ -1584,7 +1584,7 @@ export declare const filtersSchemaTransformed: z.ZodEffects<z.ZodNullable<z.ZodO
1584
1584
  dimensions: {
1585
1585
  type: "and" | "or";
1586
1586
  target: {
1587
- type: import("../../../..").DimensionType | import("../../../..").MetricType;
1587
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1588
1588
  fieldId: string;
1589
1589
  };
1590
1590
  rule: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/filters/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAiCpE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAkC/B,CAAC"}
@@ -2,23 +2,27 @@ import { v4 as uuid } from 'uuid';
2
2
  import { z } from 'zod';
3
3
  import assertUnreachable from '../../../../utils/assertUnreachable';
4
4
  import { getFieldIdSchema } from '../fieldId';
5
- import fieldTypeSchema from '../fieldType';
6
5
  import booleanFilterSchema from './booleanFilters';
7
6
  import dateFilterSchema from './dateFilters';
8
7
  import numberFilterSchema from './numberFilters';
9
8
  import stringFilterSchema from './stringFilters';
9
+ const filterRuleTypeSchema = z
10
+ .enum(['date', 'timestamp', 'number', 'string', 'boolean'])
11
+ .describe('"fieldFilterType" of the field');
10
12
  const filterRuleSchema = z.object({
11
13
  type: z.enum(['or', 'and']).describe('Type of filter group operation'),
12
14
  target: z.object({
13
15
  fieldId: getFieldIdSchema({ additionalDescription: null }),
14
- type: fieldTypeSchema,
16
+ type: filterRuleTypeSchema,
15
17
  }),
16
- rule: z.union([
18
+ rule: z
19
+ .union([
17
20
  booleanFilterSchema.describe('Boolean filter'),
18
21
  stringFilterSchema.describe('String filter'),
19
22
  numberFilterSchema.describe('Number filter'),
20
23
  dateFilterSchema.describe('Date filter'),
21
- ]),
24
+ ])
25
+ .describe('Filter rule for the field. You can only select filter rules that match the "fieldFilterType" type specified in the field details.'),
22
26
  });
23
27
  const filterRuleSchemaTransformed = filterRuleSchema.transform((data) => ({
24
28
  id: uuid(),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/filters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,iBAAiB,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,eAAe,MAAM,cAAc,CAAC;AAC3C,OAAO,mBAAmB,MAAM,kBAAkB,CAAC;AACnD,OAAO,gBAAgB,MAAM,eAAe,CAAC;AAC7C,OAAO,kBAAkB,MAAM,iBAAiB,CAAC;AACjD,OAAO,kBAAkB,MAAM,iBAAiB,CAAC;AAEjD,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,gCAAgC,CAAC;IACtE,MAAM,EAAE,CAA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