@lightdash/common 0.1860.0 → 0.1861.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 (65) 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 +57 -54
  14. package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
  15. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +6 -0
  16. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
  17. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +1 -0
  18. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
  19. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
  20. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
  21. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  22. package/dist/cjs/types/catalog.d.ts +5 -2
  23. package/dist/cjs/types/catalog.d.ts.map +1 -1
  24. package/dist/cjs/types/catalog.js.map +1 -1
  25. package/dist/esm/ee/AiAgent/schemas/fieldId.d.ts +1 -2
  26. package/dist/esm/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
  27. package/dist/esm/ee/AiAgent/schemas/fieldId.js +1 -4
  28. package/dist/esm/ee/AiAgent/schemas/fieldId.js.map +1 -1
  29. package/dist/esm/ee/AiAgent/schemas/fieldType.d.ts +1 -1
  30. package/dist/esm/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
  31. package/dist/esm/ee/AiAgent/schemas/fieldType.js +2 -22
  32. package/dist/esm/ee/AiAgent/schemas/fieldType.js.map +1 -1
  33. package/dist/esm/ee/AiAgent/schemas/filters/index.d.ts +30 -30
  34. package/dist/esm/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
  35. package/dist/esm/ee/AiAgent/schemas/filters/index.js +8 -4
  36. package/dist/esm/ee/AiAgent/schemas/filters/index.js.map +1 -1
  37. package/dist/esm/ee/AiAgent/schemas/index.d.ts +57 -54
  38. package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
  39. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +6 -0
  40. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
  41. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +1 -0
  42. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
  43. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
  44. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
  45. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  46. package/dist/esm/types/catalog.d.ts +5 -2
  47. package/dist/esm/types/catalog.d.ts.map +1 -1
  48. package/dist/esm/types/catalog.js.map +1 -1
  49. package/dist/tsconfig.types.tsbuildinfo +1 -1
  50. package/dist/types/ee/AiAgent/schemas/fieldId.d.ts +1 -2
  51. package/dist/types/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
  52. package/dist/types/ee/AiAgent/schemas/fieldType.d.ts +1 -1
  53. package/dist/types/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
  54. package/dist/types/ee/AiAgent/schemas/filters/index.d.ts +30 -30
  55. package/dist/types/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
  56. package/dist/types/ee/AiAgent/schemas/index.d.ts +57 -54
  57. package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
  58. package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +6 -0
  59. package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
  60. package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
  61. package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
  62. package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  63. package/dist/types/types/catalog.d.ts +5 -2
  64. package/dist/types/types/catalog.d.ts.map +1 -1
  65. package/package.json +1 -1
@@ -4,6 +4,7 @@ export * from './tools';
4
4
  export * from './visualizations';
5
5
  export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6
6
  type: z.ZodLiteral<"find_fields">;
7
+ table: z.ZodString;
7
8
  fieldSearchQueries: z.ZodArray<z.ZodObject<{
8
9
  label: z.ZodString;
9
10
  }, "strip", z.ZodTypeAny, {
@@ -14,12 +15,14 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
14
15
  page: z.ZodNullable<z.ZodNumber>;
15
16
  }, "strip", z.ZodTypeAny, {
16
17
  type: "find_fields";
18
+ table: string;
17
19
  page: number | null;
18
20
  fieldSearchQueries: {
19
21
  label: string;
20
22
  }[];
21
23
  }, {
22
24
  type: "find_fields";
25
+ table: string;
23
26
  page: number | null;
24
27
  fieldSearchQueries: {
25
28
  label: string;
@@ -84,12 +87,12 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
84
87
  type: z.ZodEnum<["or", "and"]>;
85
88
  target: z.ZodObject<{
86
89
  fieldId: z.ZodString;
87
- 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>]>]>;
90
+ type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
88
91
  }, "strip", z.ZodTypeAny, {
89
- type: import("../../..").DimensionType | import("../../..").MetricType;
92
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
90
93
  fieldId: string;
91
94
  }, {
92
- type: import("../../..").DimensionType | import("../../..").MetricType;
95
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
93
96
  fieldId: string;
94
97
  }>;
95
98
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -246,7 +249,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
246
249
  }, "strip", z.ZodTypeAny, {
247
250
  type: "and" | "or";
248
251
  target: {
249
- type: import("../../..").DimensionType | import("../../..").MetricType;
252
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
250
253
  fieldId: string;
251
254
  };
252
255
  rule: {
@@ -299,7 +302,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
299
302
  }, {
300
303
  type: "and" | "or";
301
304
  target: {
302
- type: import("../../..").DimensionType | import("../../..").MetricType;
305
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
303
306
  fieldId: string;
304
307
  };
305
308
  rule: {
@@ -354,12 +357,12 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
354
357
  type: z.ZodEnum<["or", "and"]>;
355
358
  target: z.ZodObject<{
356
359
  fieldId: z.ZodString;
357
- 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>]>]>;
360
+ type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
358
361
  }, "strip", z.ZodTypeAny, {
359
- type: import("../../..").DimensionType | import("../../..").MetricType;
362
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
360
363
  fieldId: string;
361
364
  }, {
362
- type: import("../../..").DimensionType | import("../../..").MetricType;
365
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
363
366
  fieldId: string;
364
367
  }>;
365
368
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -516,7 +519,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
516
519
  }, "strip", z.ZodTypeAny, {
517
520
  type: "and" | "or";
518
521
  target: {
519
- type: import("../../..").DimensionType | import("../../..").MetricType;
522
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
520
523
  fieldId: string;
521
524
  };
522
525
  rule: {
@@ -569,7 +572,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
569
572
  }, {
570
573
  type: "and" | "or";
571
574
  target: {
572
- type: import("../../..").DimensionType | import("../../..").MetricType;
575
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
573
576
  fieldId: string;
574
577
  };
575
578
  rule: {
@@ -625,7 +628,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
625
628
  metrics: {
626
629
  type: "and" | "or";
627
630
  target: {
628
- type: import("../../..").DimensionType | import("../../..").MetricType;
631
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
629
632
  fieldId: string;
630
633
  };
631
634
  rule: {
@@ -679,7 +682,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
679
682
  dimensions: {
680
683
  type: "and" | "or";
681
684
  target: {
682
- type: import("../../..").DimensionType | import("../../..").MetricType;
685
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
683
686
  fieldId: string;
684
687
  };
685
688
  rule: {
@@ -735,7 +738,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
735
738
  metrics: {
736
739
  type: "and" | "or";
737
740
  target: {
738
- type: import("../../..").DimensionType | import("../../..").MetricType;
741
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
739
742
  fieldId: string;
740
743
  };
741
744
  rule: {
@@ -789,7 +792,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
789
792
  dimensions: {
790
793
  type: "and" | "or";
791
794
  target: {
792
- type: import("../../..").DimensionType | import("../../..").MetricType;
795
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
793
796
  fieldId: string;
794
797
  };
795
798
  rule: {
@@ -849,7 +852,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
849
852
  metrics: {
850
853
  type: "and" | "or";
851
854
  target: {
852
- type: import("../../..").DimensionType | import("../../..").MetricType;
855
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
853
856
  fieldId: string;
854
857
  };
855
858
  rule: {
@@ -903,7 +906,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
903
906
  dimensions: {
904
907
  type: "and" | "or";
905
908
  target: {
906
- type: import("../../..").DimensionType | import("../../..").MetricType;
909
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
907
910
  fieldId: string;
908
911
  };
909
912
  rule: {
@@ -980,7 +983,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
980
983
  metrics: {
981
984
  type: "and" | "or";
982
985
  target: {
983
- type: import("../../..").DimensionType | import("../../..").MetricType;
986
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
984
987
  fieldId: string;
985
988
  };
986
989
  rule: {
@@ -1034,7 +1037,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1034
1037
  dimensions: {
1035
1038
  type: "and" | "or";
1036
1039
  target: {
1037
- type: import("../../..").DimensionType | import("../../..").MetricType;
1040
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1038
1041
  fieldId: string;
1039
1042
  };
1040
1043
  rule: {
@@ -1149,12 +1152,12 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1149
1152
  type: z.ZodEnum<["or", "and"]>;
1150
1153
  target: z.ZodObject<{
1151
1154
  fieldId: z.ZodString;
1152
- 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>]>]>;
1155
+ type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
1153
1156
  }, "strip", z.ZodTypeAny, {
1154
- type: import("../../..").DimensionType | import("../../..").MetricType;
1157
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1155
1158
  fieldId: string;
1156
1159
  }, {
1157
- type: import("../../..").DimensionType | import("../../..").MetricType;
1160
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1158
1161
  fieldId: string;
1159
1162
  }>;
1160
1163
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -1311,7 +1314,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1311
1314
  }, "strip", z.ZodTypeAny, {
1312
1315
  type: "and" | "or";
1313
1316
  target: {
1314
- type: import("../../..").DimensionType | import("../../..").MetricType;
1317
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1315
1318
  fieldId: string;
1316
1319
  };
1317
1320
  rule: {
@@ -1364,7 +1367,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1364
1367
  }, {
1365
1368
  type: "and" | "or";
1366
1369
  target: {
1367
- type: import("../../..").DimensionType | import("../../..").MetricType;
1370
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1368
1371
  fieldId: string;
1369
1372
  };
1370
1373
  rule: {
@@ -1419,12 +1422,12 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1419
1422
  type: z.ZodEnum<["or", "and"]>;
1420
1423
  target: z.ZodObject<{
1421
1424
  fieldId: z.ZodString;
1422
- 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>]>]>;
1425
+ type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
1423
1426
  }, "strip", z.ZodTypeAny, {
1424
- type: import("../../..").DimensionType | import("../../..").MetricType;
1427
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1425
1428
  fieldId: string;
1426
1429
  }, {
1427
- type: import("../../..").DimensionType | import("../../..").MetricType;
1430
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1428
1431
  fieldId: string;
1429
1432
  }>;
1430
1433
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -1581,7 +1584,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1581
1584
  }, "strip", z.ZodTypeAny, {
1582
1585
  type: "and" | "or";
1583
1586
  target: {
1584
- type: import("../../..").DimensionType | import("../../..").MetricType;
1587
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1585
1588
  fieldId: string;
1586
1589
  };
1587
1590
  rule: {
@@ -1634,7 +1637,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1634
1637
  }, {
1635
1638
  type: "and" | "or";
1636
1639
  target: {
1637
- type: import("../../..").DimensionType | import("../../..").MetricType;
1640
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1638
1641
  fieldId: string;
1639
1642
  };
1640
1643
  rule: {
@@ -1690,7 +1693,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1690
1693
  metrics: {
1691
1694
  type: "and" | "or";
1692
1695
  target: {
1693
- type: import("../../..").DimensionType | import("../../..").MetricType;
1696
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1694
1697
  fieldId: string;
1695
1698
  };
1696
1699
  rule: {
@@ -1744,7 +1747,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1744
1747
  dimensions: {
1745
1748
  type: "and" | "or";
1746
1749
  target: {
1747
- type: import("../../..").DimensionType | import("../../..").MetricType;
1750
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1748
1751
  fieldId: string;
1749
1752
  };
1750
1753
  rule: {
@@ -1800,7 +1803,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1800
1803
  metrics: {
1801
1804
  type: "and" | "or";
1802
1805
  target: {
1803
- type: import("../../..").DimensionType | import("../../..").MetricType;
1806
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1804
1807
  fieldId: string;
1805
1808
  };
1806
1809
  rule: {
@@ -1854,7 +1857,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1854
1857
  dimensions: {
1855
1858
  type: "and" | "or";
1856
1859
  target: {
1857
- type: import("../../..").DimensionType | import("../../..").MetricType;
1860
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1858
1861
  fieldId: string;
1859
1862
  };
1860
1863
  rule: {
@@ -1914,7 +1917,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1914
1917
  metrics: {
1915
1918
  type: "and" | "or";
1916
1919
  target: {
1917
- type: import("../../..").DimensionType | import("../../..").MetricType;
1920
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1918
1921
  fieldId: string;
1919
1922
  };
1920
1923
  rule: {
@@ -1968,7 +1971,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1968
1971
  dimensions: {
1969
1972
  type: "and" | "or";
1970
1973
  target: {
1971
- type: import("../../..").DimensionType | import("../../..").MetricType;
1974
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
1972
1975
  fieldId: string;
1973
1976
  };
1974
1977
  rule: {
@@ -2040,7 +2043,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2040
2043
  metrics: {
2041
2044
  type: "and" | "or";
2042
2045
  target: {
2043
- type: import("../../..").DimensionType | import("../../..").MetricType;
2046
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2044
2047
  fieldId: string;
2045
2048
  };
2046
2049
  rule: {
@@ -2094,7 +2097,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2094
2097
  dimensions: {
2095
2098
  type: "and" | "or";
2096
2099
  target: {
2097
- type: import("../../..").DimensionType | import("../../..").MetricType;
2100
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2098
2101
  fieldId: string;
2099
2102
  };
2100
2103
  rule: {
@@ -2216,12 +2219,12 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2216
2219
  type: z.ZodEnum<["or", "and"]>;
2217
2220
  target: z.ZodObject<{
2218
2221
  fieldId: z.ZodString;
2219
- 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>]>]>;
2222
+ type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
2220
2223
  }, "strip", z.ZodTypeAny, {
2221
- type: import("../../..").DimensionType | import("../../..").MetricType;
2224
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2222
2225
  fieldId: string;
2223
2226
  }, {
2224
- type: import("../../..").DimensionType | import("../../..").MetricType;
2227
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2225
2228
  fieldId: string;
2226
2229
  }>;
2227
2230
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -2378,7 +2381,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2378
2381
  }, "strip", z.ZodTypeAny, {
2379
2382
  type: "and" | "or";
2380
2383
  target: {
2381
- type: import("../../..").DimensionType | import("../../..").MetricType;
2384
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2382
2385
  fieldId: string;
2383
2386
  };
2384
2387
  rule: {
@@ -2431,7 +2434,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2431
2434
  }, {
2432
2435
  type: "and" | "or";
2433
2436
  target: {
2434
- type: import("../../..").DimensionType | import("../../..").MetricType;
2437
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2435
2438
  fieldId: string;
2436
2439
  };
2437
2440
  rule: {
@@ -2486,12 +2489,12 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2486
2489
  type: z.ZodEnum<["or", "and"]>;
2487
2490
  target: z.ZodObject<{
2488
2491
  fieldId: z.ZodString;
2489
- 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>]>]>;
2492
+ type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
2490
2493
  }, "strip", z.ZodTypeAny, {
2491
- type: import("../../..").DimensionType | import("../../..").MetricType;
2494
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2492
2495
  fieldId: string;
2493
2496
  }, {
2494
- type: import("../../..").DimensionType | import("../../..").MetricType;
2497
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2495
2498
  fieldId: string;
2496
2499
  }>;
2497
2500
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -2648,7 +2651,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2648
2651
  }, "strip", z.ZodTypeAny, {
2649
2652
  type: "and" | "or";
2650
2653
  target: {
2651
- type: import("../../..").DimensionType | import("../../..").MetricType;
2654
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2652
2655
  fieldId: string;
2653
2656
  };
2654
2657
  rule: {
@@ -2701,7 +2704,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2701
2704
  }, {
2702
2705
  type: "and" | "or";
2703
2706
  target: {
2704
- type: import("../../..").DimensionType | import("../../..").MetricType;
2707
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2705
2708
  fieldId: string;
2706
2709
  };
2707
2710
  rule: {
@@ -2757,7 +2760,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2757
2760
  metrics: {
2758
2761
  type: "and" | "or";
2759
2762
  target: {
2760
- type: import("../../..").DimensionType | import("../../..").MetricType;
2763
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2761
2764
  fieldId: string;
2762
2765
  };
2763
2766
  rule: {
@@ -2811,7 +2814,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2811
2814
  dimensions: {
2812
2815
  type: "and" | "or";
2813
2816
  target: {
2814
- type: import("../../..").DimensionType | import("../../..").MetricType;
2817
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2815
2818
  fieldId: string;
2816
2819
  };
2817
2820
  rule: {
@@ -2867,7 +2870,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2867
2870
  metrics: {
2868
2871
  type: "and" | "or";
2869
2872
  target: {
2870
- type: import("../../..").DimensionType | import("../../..").MetricType;
2873
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2871
2874
  fieldId: string;
2872
2875
  };
2873
2876
  rule: {
@@ -2921,7 +2924,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2921
2924
  dimensions: {
2922
2925
  type: "and" | "or";
2923
2926
  target: {
2924
- type: import("../../..").DimensionType | import("../../..").MetricType;
2927
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2925
2928
  fieldId: string;
2926
2929
  };
2927
2930
  rule: {
@@ -2981,7 +2984,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2981
2984
  metrics: {
2982
2985
  type: "and" | "or";
2983
2986
  target: {
2984
- type: import("../../..").DimensionType | import("../../..").MetricType;
2987
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
2985
2988
  fieldId: string;
2986
2989
  };
2987
2990
  rule: {
@@ -3035,7 +3038,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
3035
3038
  dimensions: {
3036
3039
  type: "and" | "or";
3037
3040
  target: {
3038
- type: import("../../..").DimensionType | import("../../..").MetricType;
3041
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
3039
3042
  fieldId: string;
3040
3043
  };
3041
3044
  rule: {
@@ -3111,7 +3114,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
3111
3114
  metrics: {
3112
3115
  type: "and" | "or";
3113
3116
  target: {
3114
- type: import("../../..").DimensionType | import("../../..").MetricType;
3117
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
3115
3118
  fieldId: string;
3116
3119
  };
3117
3120
  rule: {
@@ -3165,7 +3168,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
3165
3168
  dimensions: {
3166
3169
  type: "and" | "or";
3167
3170
  target: {
3168
- type: import("../../..").DimensionType | import("../../..").MetricType;
3171
+ type: "string" | "number" | "boolean" | "timestamp" | "date";
3169
3172
  fieldId: string;
3170
3173
  };
3171
3174
  rule: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AAEjC,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const toolFindFieldsArgsSchema: z.ZodObject<{
3
3
  type: z.ZodLiteral<"find_fields">;
4
+ table: z.ZodString;
4
5
  fieldSearchQueries: z.ZodArray<z.ZodObject<{
5
6
  label: z.ZodString;
6
7
  }, "strip", z.ZodTypeAny, {
@@ -11,12 +12,14 @@ export declare const toolFindFieldsArgsSchema: z.ZodObject<{
11
12
  page: z.ZodNullable<z.ZodNumber>;
12
13
  }, "strip", z.ZodTypeAny, {
13
14
  type: "find_fields";
15
+ table: string;
14
16
  page: number | null;
15
17
  fieldSearchQueries: {
16
18
  label: string;
17
19
  }[];
18
20
  }, {
19
21
  type: "find_fields";
22
+ table: string;
20
23
  page: number | null;
21
24
  fieldSearchQueries: {
22
25
  label: string;
@@ -25,6 +28,7 @@ export declare const toolFindFieldsArgsSchema: z.ZodObject<{
25
28
  export type ToolFindFieldsArgs = z.infer<typeof toolFindFieldsArgsSchema>;
26
29
  export declare const toolFindFieldsArgsSchemaTransformed: z.ZodObject<{
27
30
  type: z.ZodLiteral<"find_fields">;
31
+ table: z.ZodString;
28
32
  fieldSearchQueries: z.ZodArray<z.ZodObject<{
29
33
  label: z.ZodString;
30
34
  }, "strip", z.ZodTypeAny, {
@@ -35,12 +39,14 @@ export declare const toolFindFieldsArgsSchemaTransformed: z.ZodObject<{
35
39
  page: z.ZodNullable<z.ZodNumber>;
36
40
  }, "strip", z.ZodTypeAny, {
37
41
  type: "find_fields";
42
+ table: string;
38
43
  page: number | null;
39
44
  fieldSearchQueries: {
40
45
  label: string;
41
46
  }[];
42
47
  }, {
43
48
  type: "find_fields";
49
+ table: string;
44
50
  page: number | null;
45
51
  fieldSearchQueries: {
46
52
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"toolFindFieldsArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindFieldsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;EAanC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;EAA2B,CAAC;AAE5E,MAAM,MAAM,6BAA6B,GAAG,kBAAkB,CAAC"}
1
+ {"version":3,"file":"toolFindFieldsArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindFieldsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;EAcnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;EAA2B,CAAC;AAE5E,MAAM,MAAM,6BAA6B,GAAG,kBAAkB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export const toolFindFieldsArgsSchema = z.object({
3
3
  type: z.literal('find_fields'),
4
+ table: z.string().describe('The table to search in.'),
4
5
  fieldSearchQueries: z.array(z.object({
5
6
  label: z.string().describe('Full field label'),
6
7
  })),
@@ -1 +1 @@
1
- {"version":3,"file":"toolFindFieldsArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindFieldsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IAC9B,kBAAkB,EAAE,CAAC,CAAC,KAAK,CACvB,CAAC,CAAC,MAAM,CAAC;QACL,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;KACjD,CAAC,CACL;IACD,IAAI,EAAE,CAAC;SACF,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,4EAA4E,CAC/E;CACR,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,mCAAmC,GAAG,wBAAwB,CAAC"}
1
+ {"version":3,"file":"toolFindFieldsArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindFieldsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IAC9B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACrD,kBAAkB,EAAE,CAAC,CAAC,KAAK,CACvB,CAAC,CAAC,MAAM,CAAC;QACL,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;KACjD,CAAC,CACL;IACD,IAAI,EAAE,CAAC;SACF,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,4EAA4E,CAC/E;CACR,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,mCAAmC,GAAG,wBAAwB,CAAC"}