@lightdash/common 0.1861.0 → 0.1861.2

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 (132) hide show
  1. package/dist/cjs/ee/AiAgent/schemas/fieldId.d.ts +2 -1
  2. package/dist/cjs/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
  3. package/dist/cjs/ee/AiAgent/schemas/fieldId.js +5 -1
  4. package/dist/cjs/ee/AiAgent/schemas/fieldId.js.map +1 -1
  5. package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.d.ts +13 -0
  6. package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +1 -0
  7. package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.js +10 -0
  8. package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.js.map +1 -0
  9. package/dist/cjs/ee/AiAgent/schemas/fieldType.d.ts +1 -1
  10. package/dist/cjs/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
  11. package/dist/cjs/ee/AiAgent/schemas/fieldType.js +22 -2
  12. package/dist/cjs/ee/AiAgent/schemas/fieldType.js.map +1 -1
  13. package/dist/cjs/ee/AiAgent/schemas/filters/index.d.ts +30 -30
  14. package/dist/cjs/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
  15. package/dist/cjs/ee/AiAgent/schemas/filters/index.js +4 -8
  16. package/dist/cjs/ee/AiAgent/schemas/filters/index.js.map +1 -1
  17. package/dist/cjs/ee/AiAgent/schemas/index.d.ts +75 -69
  18. package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
  19. package/dist/cjs/ee/AiAgent/schemas/index.js +4 -1
  20. package/dist/cjs/ee/AiAgent/schemas/index.js.map +1 -1
  21. package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts +1 -0
  22. package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
  23. package/dist/cjs/ee/AiAgent/schemas/tools/index.js +1 -0
  24. package/dist/cjs/ee/AiAgent/schemas/tools/index.js.map +1 -1
  25. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +0 -6
  26. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
  27. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +0 -4
  28. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
  29. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +6 -38
  30. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
  31. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +1 -8
  32. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
  33. package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +54 -0
  34. package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +1 -0
  35. package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js +13 -0
  36. package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js.map +1 -0
  37. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
  38. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
  39. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  40. package/dist/cjs/index.d.ts +1 -0
  41. package/dist/cjs/index.d.ts.map +1 -1
  42. package/dist/cjs/index.js +1 -0
  43. package/dist/cjs/index.js.map +1 -1
  44. package/dist/cjs/types/catalog.d.ts +4 -7
  45. package/dist/cjs/types/catalog.d.ts.map +1 -1
  46. package/dist/cjs/types/catalog.js.map +1 -1
  47. package/dist/cjs/types/parameters.d.ts.map +1 -1
  48. package/dist/cjs/utils/explore.d.ts +3 -0
  49. package/dist/cjs/utils/explore.d.ts.map +1 -0
  50. package/dist/cjs/utils/explore.js +18 -0
  51. package/dist/cjs/utils/explore.js.map +1 -0
  52. package/dist/esm/ee/AiAgent/schemas/fieldId.d.ts +2 -1
  53. package/dist/esm/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
  54. package/dist/esm/ee/AiAgent/schemas/fieldId.js +4 -1
  55. package/dist/esm/ee/AiAgent/schemas/fieldId.js.map +1 -1
  56. package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.d.ts +13 -0
  57. package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +1 -0
  58. package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.js +7 -0
  59. package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.js.map +1 -0
  60. package/dist/esm/ee/AiAgent/schemas/fieldType.d.ts +1 -1
  61. package/dist/esm/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
  62. package/dist/esm/ee/AiAgent/schemas/fieldType.js +22 -2
  63. package/dist/esm/ee/AiAgent/schemas/fieldType.js.map +1 -1
  64. package/dist/esm/ee/AiAgent/schemas/filters/index.d.ts +30 -30
  65. package/dist/esm/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
  66. package/dist/esm/ee/AiAgent/schemas/filters/index.js +4 -8
  67. package/dist/esm/ee/AiAgent/schemas/filters/index.js.map +1 -1
  68. package/dist/esm/ee/AiAgent/schemas/index.d.ts +75 -69
  69. package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
  70. package/dist/esm/ee/AiAgent/schemas/index.js +5 -2
  71. package/dist/esm/ee/AiAgent/schemas/index.js.map +1 -1
  72. package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts +1 -0
  73. package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
  74. package/dist/esm/ee/AiAgent/schemas/tools/index.js +1 -0
  75. package/dist/esm/ee/AiAgent/schemas/tools/index.js.map +1 -1
  76. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +0 -6
  77. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
  78. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +0 -4
  79. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
  80. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +6 -38
  81. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
  82. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +1 -8
  83. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
  84. package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +54 -0
  85. package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +1 -0
  86. package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js +10 -0
  87. package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js.map +1 -0
  88. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
  89. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
  90. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  91. package/dist/esm/index.d.ts +1 -0
  92. package/dist/esm/index.d.ts.map +1 -1
  93. package/dist/esm/index.js +1 -0
  94. package/dist/esm/index.js.map +1 -1
  95. package/dist/esm/types/catalog.d.ts +4 -7
  96. package/dist/esm/types/catalog.d.ts.map +1 -1
  97. package/dist/esm/types/catalog.js.map +1 -1
  98. package/dist/esm/types/parameters.d.ts.map +1 -1
  99. package/dist/esm/utils/explore.d.ts +3 -0
  100. package/dist/esm/utils/explore.d.ts.map +1 -0
  101. package/dist/esm/utils/explore.js +14 -0
  102. package/dist/esm/utils/explore.js.map +1 -0
  103. package/dist/tsconfig.types.tsbuildinfo +1 -1
  104. package/dist/types/ee/AiAgent/schemas/fieldId.d.ts +2 -1
  105. package/dist/types/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
  106. package/dist/types/ee/AiAgent/schemas/fieldSearchQuery.d.ts +13 -0
  107. package/dist/types/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +1 -0
  108. package/dist/types/ee/AiAgent/schemas/fieldType.d.ts +1 -1
  109. package/dist/types/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
  110. package/dist/types/ee/AiAgent/schemas/filters/index.d.ts +30 -30
  111. package/dist/types/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
  112. package/dist/types/ee/AiAgent/schemas/index.d.ts +75 -69
  113. package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
  114. package/dist/types/ee/AiAgent/schemas/tools/index.d.ts +1 -0
  115. package/dist/types/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
  116. package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +0 -6
  117. package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
  118. package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +6 -38
  119. package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
  120. package/dist/types/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +54 -0
  121. package/dist/types/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +1 -0
  122. package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
  123. package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
  124. package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  125. package/dist/types/index.d.ts +1 -0
  126. package/dist/types/index.d.ts.map +1 -1
  127. package/dist/types/types/catalog.d.ts +4 -7
  128. package/dist/types/types/catalog.d.ts.map +1 -1
  129. package/dist/types/types/parameters.d.ts.map +1 -1
  130. package/dist/types/utils/explore.d.ts +3 -0
  131. package/dist/types/utils/explore.d.ts.map +1 -0
  132. package/package.json +1 -1
@@ -1,31 +1,40 @@
1
1
  import { z } from 'zod';
2
+ export * from './fieldSearchQuery';
2
3
  export * from './filters';
3
4
  export * from './tools';
4
5
  export * from './visualizations';
5
- export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6
+ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
7
+ type: z.ZodLiteral<"find_fields">;
8
+ exploreName: z.ZodString;
9
+ }, "strip", z.ZodTypeAny, {
10
+ type: "find_fields";
11
+ exploreName: string;
12
+ }, {
13
+ type: "find_fields";
14
+ exploreName: string;
15
+ }>, z.ZodObject<{
6
16
  type: z.ZodLiteral<"find_fields">;
7
- table: z.ZodString;
8
17
  fieldSearchQueries: z.ZodArray<z.ZodObject<{
9
- label: z.ZodString;
18
+ name: z.ZodString;
19
+ description: z.ZodString;
10
20
  }, "strip", z.ZodTypeAny, {
11
- label: string;
21
+ name: string;
22
+ description: string;
12
23
  }, {
13
- label: string;
24
+ name: string;
25
+ description: string;
14
26
  }>, "many">;
15
- page: z.ZodNullable<z.ZodNumber>;
16
27
  }, "strip", z.ZodTypeAny, {
17
28
  type: "find_fields";
18
- table: string;
19
- page: number | null;
20
29
  fieldSearchQueries: {
21
- label: string;
30
+ name: string;
31
+ description: string;
22
32
  }[];
23
33
  }, {
24
34
  type: "find_fields";
25
- table: string;
26
- page: number | null;
27
35
  fieldSearchQueries: {
28
- label: string;
36
+ name: string;
37
+ description: string;
29
38
  }[];
30
39
  }>, z.ZodObject<{
31
40
  title: z.ZodString;
@@ -87,12 +96,12 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
87
96
  type: z.ZodEnum<["or", "and"]>;
88
97
  target: z.ZodObject<{
89
98
  fieldId: z.ZodString;
90
- type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
99
+ 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>]>]>;
91
100
  }, "strip", z.ZodTypeAny, {
92
- type: "string" | "number" | "boolean" | "timestamp" | "date";
101
+ type: import("../../..").DimensionType | import("../../..").MetricType;
93
102
  fieldId: string;
94
103
  }, {
95
- type: "string" | "number" | "boolean" | "timestamp" | "date";
104
+ type: import("../../..").DimensionType | import("../../..").MetricType;
96
105
  fieldId: string;
97
106
  }>;
98
107
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -249,7 +258,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
249
258
  }, "strip", z.ZodTypeAny, {
250
259
  type: "and" | "or";
251
260
  target: {
252
- type: "string" | "number" | "boolean" | "timestamp" | "date";
261
+ type: import("../../..").DimensionType | import("../../..").MetricType;
253
262
  fieldId: string;
254
263
  };
255
264
  rule: {
@@ -302,7 +311,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
302
311
  }, {
303
312
  type: "and" | "or";
304
313
  target: {
305
- type: "string" | "number" | "boolean" | "timestamp" | "date";
314
+ type: import("../../..").DimensionType | import("../../..").MetricType;
306
315
  fieldId: string;
307
316
  };
308
317
  rule: {
@@ -357,12 +366,12 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
357
366
  type: z.ZodEnum<["or", "and"]>;
358
367
  target: z.ZodObject<{
359
368
  fieldId: z.ZodString;
360
- type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
369
+ 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>]>]>;
361
370
  }, "strip", z.ZodTypeAny, {
362
- type: "string" | "number" | "boolean" | "timestamp" | "date";
371
+ type: import("../../..").DimensionType | import("../../..").MetricType;
363
372
  fieldId: string;
364
373
  }, {
365
- type: "string" | "number" | "boolean" | "timestamp" | "date";
374
+ type: import("../../..").DimensionType | import("../../..").MetricType;
366
375
  fieldId: string;
367
376
  }>;
368
377
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -519,7 +528,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
519
528
  }, "strip", z.ZodTypeAny, {
520
529
  type: "and" | "or";
521
530
  target: {
522
- type: "string" | "number" | "boolean" | "timestamp" | "date";
531
+ type: import("../../..").DimensionType | import("../../..").MetricType;
523
532
  fieldId: string;
524
533
  };
525
534
  rule: {
@@ -572,7 +581,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
572
581
  }, {
573
582
  type: "and" | "or";
574
583
  target: {
575
- type: "string" | "number" | "boolean" | "timestamp" | "date";
584
+ type: import("../../..").DimensionType | import("../../..").MetricType;
576
585
  fieldId: string;
577
586
  };
578
587
  rule: {
@@ -628,7 +637,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
628
637
  metrics: {
629
638
  type: "and" | "or";
630
639
  target: {
631
- type: "string" | "number" | "boolean" | "timestamp" | "date";
640
+ type: import("../../..").DimensionType | import("../../..").MetricType;
632
641
  fieldId: string;
633
642
  };
634
643
  rule: {
@@ -682,7 +691,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
682
691
  dimensions: {
683
692
  type: "and" | "or";
684
693
  target: {
685
- type: "string" | "number" | "boolean" | "timestamp" | "date";
694
+ type: import("../../..").DimensionType | import("../../..").MetricType;
686
695
  fieldId: string;
687
696
  };
688
697
  rule: {
@@ -738,7 +747,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
738
747
  metrics: {
739
748
  type: "and" | "or";
740
749
  target: {
741
- type: "string" | "number" | "boolean" | "timestamp" | "date";
750
+ type: import("../../..").DimensionType | import("../../..").MetricType;
742
751
  fieldId: string;
743
752
  };
744
753
  rule: {
@@ -792,7 +801,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
792
801
  dimensions: {
793
802
  type: "and" | "or";
794
803
  target: {
795
- type: "string" | "number" | "boolean" | "timestamp" | "date";
804
+ type: import("../../..").DimensionType | import("../../..").MetricType;
796
805
  fieldId: string;
797
806
  };
798
807
  rule: {
@@ -852,7 +861,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
852
861
  metrics: {
853
862
  type: "and" | "or";
854
863
  target: {
855
- type: "string" | "number" | "boolean" | "timestamp" | "date";
864
+ type: import("../../..").DimensionType | import("../../..").MetricType;
856
865
  fieldId: string;
857
866
  };
858
867
  rule: {
@@ -906,7 +915,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
906
915
  dimensions: {
907
916
  type: "and" | "or";
908
917
  target: {
909
- type: "string" | "number" | "boolean" | "timestamp" | "date";
918
+ type: import("../../..").DimensionType | import("../../..").MetricType;
910
919
  fieldId: string;
911
920
  };
912
921
  rule: {
@@ -983,7 +992,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
983
992
  metrics: {
984
993
  type: "and" | "or";
985
994
  target: {
986
- type: "string" | "number" | "boolean" | "timestamp" | "date";
995
+ type: import("../../..").DimensionType | import("../../..").MetricType;
987
996
  fieldId: string;
988
997
  };
989
998
  rule: {
@@ -1037,7 +1046,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1037
1046
  dimensions: {
1038
1047
  type: "and" | "or";
1039
1048
  target: {
1040
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1049
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1041
1050
  fieldId: string;
1042
1051
  };
1043
1052
  rule: {
@@ -1152,12 +1161,12 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1152
1161
  type: z.ZodEnum<["or", "and"]>;
1153
1162
  target: z.ZodObject<{
1154
1163
  fieldId: z.ZodString;
1155
- type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
1164
+ 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>]>]>;
1156
1165
  }, "strip", z.ZodTypeAny, {
1157
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1166
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1158
1167
  fieldId: string;
1159
1168
  }, {
1160
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1169
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1161
1170
  fieldId: string;
1162
1171
  }>;
1163
1172
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -1314,7 +1323,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1314
1323
  }, "strip", z.ZodTypeAny, {
1315
1324
  type: "and" | "or";
1316
1325
  target: {
1317
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1326
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1318
1327
  fieldId: string;
1319
1328
  };
1320
1329
  rule: {
@@ -1367,7 +1376,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1367
1376
  }, {
1368
1377
  type: "and" | "or";
1369
1378
  target: {
1370
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1379
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1371
1380
  fieldId: string;
1372
1381
  };
1373
1382
  rule: {
@@ -1422,12 +1431,12 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1422
1431
  type: z.ZodEnum<["or", "and"]>;
1423
1432
  target: z.ZodObject<{
1424
1433
  fieldId: z.ZodString;
1425
- type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
1434
+ 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>]>]>;
1426
1435
  }, "strip", z.ZodTypeAny, {
1427
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1436
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1428
1437
  fieldId: string;
1429
1438
  }, {
1430
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1439
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1431
1440
  fieldId: string;
1432
1441
  }>;
1433
1442
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -1584,7 +1593,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1584
1593
  }, "strip", z.ZodTypeAny, {
1585
1594
  type: "and" | "or";
1586
1595
  target: {
1587
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1596
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1588
1597
  fieldId: string;
1589
1598
  };
1590
1599
  rule: {
@@ -1637,7 +1646,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1637
1646
  }, {
1638
1647
  type: "and" | "or";
1639
1648
  target: {
1640
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1649
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1641
1650
  fieldId: string;
1642
1651
  };
1643
1652
  rule: {
@@ -1693,7 +1702,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1693
1702
  metrics: {
1694
1703
  type: "and" | "or";
1695
1704
  target: {
1696
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1705
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1697
1706
  fieldId: string;
1698
1707
  };
1699
1708
  rule: {
@@ -1747,7 +1756,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1747
1756
  dimensions: {
1748
1757
  type: "and" | "or";
1749
1758
  target: {
1750
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1759
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1751
1760
  fieldId: string;
1752
1761
  };
1753
1762
  rule: {
@@ -1803,7 +1812,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1803
1812
  metrics: {
1804
1813
  type: "and" | "or";
1805
1814
  target: {
1806
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1815
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1807
1816
  fieldId: string;
1808
1817
  };
1809
1818
  rule: {
@@ -1857,7 +1866,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1857
1866
  dimensions: {
1858
1867
  type: "and" | "or";
1859
1868
  target: {
1860
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1869
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1861
1870
  fieldId: string;
1862
1871
  };
1863
1872
  rule: {
@@ -1917,7 +1926,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1917
1926
  metrics: {
1918
1927
  type: "and" | "or";
1919
1928
  target: {
1920
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1929
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1921
1930
  fieldId: string;
1922
1931
  };
1923
1932
  rule: {
@@ -1971,7 +1980,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1971
1980
  dimensions: {
1972
1981
  type: "and" | "or";
1973
1982
  target: {
1974
- type: "string" | "number" | "boolean" | "timestamp" | "date";
1983
+ type: import("../../..").DimensionType | import("../../..").MetricType;
1975
1984
  fieldId: string;
1976
1985
  };
1977
1986
  rule: {
@@ -2043,7 +2052,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2043
2052
  metrics: {
2044
2053
  type: "and" | "or";
2045
2054
  target: {
2046
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2055
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2047
2056
  fieldId: string;
2048
2057
  };
2049
2058
  rule: {
@@ -2097,7 +2106,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2097
2106
  dimensions: {
2098
2107
  type: "and" | "or";
2099
2108
  target: {
2100
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2109
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2101
2110
  fieldId: string;
2102
2111
  };
2103
2112
  rule: {
@@ -2219,12 +2228,12 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2219
2228
  type: z.ZodEnum<["or", "and"]>;
2220
2229
  target: z.ZodObject<{
2221
2230
  fieldId: z.ZodString;
2222
- type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
2231
+ 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>]>]>;
2223
2232
  }, "strip", z.ZodTypeAny, {
2224
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2233
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2225
2234
  fieldId: string;
2226
2235
  }, {
2227
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2236
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2228
2237
  fieldId: string;
2229
2238
  }>;
2230
2239
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -2381,7 +2390,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2381
2390
  }, "strip", z.ZodTypeAny, {
2382
2391
  type: "and" | "or";
2383
2392
  target: {
2384
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2393
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2385
2394
  fieldId: string;
2386
2395
  };
2387
2396
  rule: {
@@ -2434,7 +2443,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2434
2443
  }, {
2435
2444
  type: "and" | "or";
2436
2445
  target: {
2437
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2446
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2438
2447
  fieldId: string;
2439
2448
  };
2440
2449
  rule: {
@@ -2489,12 +2498,12 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2489
2498
  type: z.ZodEnum<["or", "and"]>;
2490
2499
  target: z.ZodObject<{
2491
2500
  fieldId: z.ZodString;
2492
- type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
2501
+ 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>]>]>;
2493
2502
  }, "strip", z.ZodTypeAny, {
2494
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2503
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2495
2504
  fieldId: string;
2496
2505
  }, {
2497
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2506
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2498
2507
  fieldId: string;
2499
2508
  }>;
2500
2509
  rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -2651,7 +2660,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2651
2660
  }, "strip", z.ZodTypeAny, {
2652
2661
  type: "and" | "or";
2653
2662
  target: {
2654
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2663
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2655
2664
  fieldId: string;
2656
2665
  };
2657
2666
  rule: {
@@ -2704,7 +2713,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2704
2713
  }, {
2705
2714
  type: "and" | "or";
2706
2715
  target: {
2707
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2716
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2708
2717
  fieldId: string;
2709
2718
  };
2710
2719
  rule: {
@@ -2760,7 +2769,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2760
2769
  metrics: {
2761
2770
  type: "and" | "or";
2762
2771
  target: {
2763
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2772
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2764
2773
  fieldId: string;
2765
2774
  };
2766
2775
  rule: {
@@ -2814,7 +2823,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2814
2823
  dimensions: {
2815
2824
  type: "and" | "or";
2816
2825
  target: {
2817
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2826
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2818
2827
  fieldId: string;
2819
2828
  };
2820
2829
  rule: {
@@ -2870,7 +2879,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2870
2879
  metrics: {
2871
2880
  type: "and" | "or";
2872
2881
  target: {
2873
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2882
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2874
2883
  fieldId: string;
2875
2884
  };
2876
2885
  rule: {
@@ -2924,7 +2933,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2924
2933
  dimensions: {
2925
2934
  type: "and" | "or";
2926
2935
  target: {
2927
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2936
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2928
2937
  fieldId: string;
2929
2938
  };
2930
2939
  rule: {
@@ -2984,7 +2993,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2984
2993
  metrics: {
2985
2994
  type: "and" | "or";
2986
2995
  target: {
2987
- type: "string" | "number" | "boolean" | "timestamp" | "date";
2996
+ type: import("../../..").DimensionType | import("../../..").MetricType;
2988
2997
  fieldId: string;
2989
2998
  };
2990
2999
  rule: {
@@ -3038,7 +3047,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
3038
3047
  dimensions: {
3039
3048
  type: "and" | "or";
3040
3049
  target: {
3041
- type: "string" | "number" | "boolean" | "timestamp" | "date";
3050
+ type: import("../../..").DimensionType | import("../../..").MetricType;
3042
3051
  fieldId: string;
3043
3052
  };
3044
3053
  rule: {
@@ -3114,7 +3123,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
3114
3123
  metrics: {
3115
3124
  type: "and" | "or";
3116
3125
  target: {
3117
- type: "string" | "number" | "boolean" | "timestamp" | "date";
3126
+ type: import("../../..").DimensionType | import("../../..").MetricType;
3118
3127
  fieldId: string;
3119
3128
  };
3120
3129
  rule: {
@@ -3168,7 +3177,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
3168
3177
  dimensions: {
3169
3178
  type: "and" | "or";
3170
3179
  target: {
3171
- type: "string" | "number" | "boolean" | "timestamp" | "date";
3180
+ type: import("../../..").DimensionType | import("../../..").MetricType;
3172
3181
  fieldId: string;
3173
3182
  };
3174
3183
  rule: {
@@ -3239,13 +3248,10 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
3239
3248
  followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
3240
3249
  }>, z.ZodObject<{
3241
3250
  type: z.ZodLiteral<"find_explores">;
3242
- page: z.ZodNullable<z.ZodNumber>;
3243
3251
  }, "strip", z.ZodTypeAny, {
3244
3252
  type: "find_explores";
3245
- page: number | null;
3246
3253
  }, {
3247
3254
  type: "find_explores";
3248
- page: number | null;
3249
3255
  }>]>;
3250
3256
  export type AgentToolCallArgs = z.infer<typeof AgentToolCallArgsSchema>;
3251
3257
  //# sourceMappingURL=index.d.ts.map
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAOlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export * from './toolFindExploresArgs';
2
2
  export * from './toolFindFieldsArgs';
3
+ export * from './toolNewFindFieldsArgs';
3
4
  export * from './toolTableVizArgs';
4
5
  export * from './toolTimeSeriesArgs';
5
6
  export * from './toolVerticalBarArgs';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC"}
@@ -1,24 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  export declare const toolFindExploresArgsSchema: z.ZodObject<{
3
3
  type: z.ZodLiteral<"find_explores">;
4
- page: z.ZodNullable<z.ZodNumber>;
5
4
  }, "strip", z.ZodTypeAny, {
6
5
  type: "find_explores";
7
- page: number | null;
8
6
  }, {
9
7
  type: "find_explores";
10
- page: number | null;
11
8
  }>;
12
9
  export type ToolFindExploresArgs = z.infer<typeof toolFindExploresArgsSchema>;
13
10
  export declare const toolFindExploresArgsSchemaTransformed: z.ZodObject<{
14
11
  type: z.ZodLiteral<"find_explores">;
15
- page: z.ZodNullable<z.ZodNumber>;
16
12
  }, "strip", z.ZodTypeAny, {
17
13
  type: "find_explores";
18
- page: number | null;
19
14
  }, {
20
15
  type: "find_explores";
21
- page: number | null;
22
16
  }>;
23
17
  export type ToolFindExploresArgsTransformed = ToolFindExploresArgs;
24
18
  //# sourceMappingURL=toolFindExploresArgs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolFindExploresArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindExploresArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;;;;;;;EAQrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,qCAAqC;;;;;;;;;EAA6B,CAAC;AAChF,MAAM,MAAM,+BAA+B,GAAG,oBAAoB,CAAC"}
1
+ {"version":3,"file":"toolFindExploresArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindExploresArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,qCAAqC;;;;;;EAA6B,CAAC;AAChF,MAAM,MAAM,+BAA+B,GAAG,oBAAoB,CAAC"}
@@ -1,56 +1,24 @@
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;
5
- fieldSearchQueries: z.ZodArray<z.ZodObject<{
6
- label: z.ZodString;
7
- }, "strip", z.ZodTypeAny, {
8
- label: string;
9
- }, {
10
- label: string;
11
- }>, "many">;
12
- page: z.ZodNullable<z.ZodNumber>;
4
+ exploreName: z.ZodString;
13
5
  }, "strip", z.ZodTypeAny, {
14
6
  type: "find_fields";
15
- table: string;
16
- page: number | null;
17
- fieldSearchQueries: {
18
- label: string;
19
- }[];
7
+ exploreName: string;
20
8
  }, {
21
9
  type: "find_fields";
22
- table: string;
23
- page: number | null;
24
- fieldSearchQueries: {
25
- label: string;
26
- }[];
10
+ exploreName: string;
27
11
  }>;
28
12
  export type ToolFindFieldsArgs = z.infer<typeof toolFindFieldsArgsSchema>;
29
13
  export declare const toolFindFieldsArgsSchemaTransformed: z.ZodObject<{
30
14
  type: z.ZodLiteral<"find_fields">;
31
- table: z.ZodString;
32
- fieldSearchQueries: z.ZodArray<z.ZodObject<{
33
- label: z.ZodString;
34
- }, "strip", z.ZodTypeAny, {
35
- label: string;
36
- }, {
37
- label: string;
38
- }>, "many">;
39
- page: z.ZodNullable<z.ZodNumber>;
15
+ exploreName: z.ZodString;
40
16
  }, "strip", z.ZodTypeAny, {
41
17
  type: "find_fields";
42
- table: string;
43
- page: number | null;
44
- fieldSearchQueries: {
45
- label: string;
46
- }[];
18
+ exploreName: string;
47
19
  }, {
48
20
  type: "find_fields";
49
- table: string;
50
- page: number | null;
51
- fieldSearchQueries: {
52
- label: string;
53
- }[];
21
+ exploreName: string;
54
22
  }>;
55
23
  export type ToolFindFieldsArgsTransformed = ToolFindFieldsArgs;
56
24
  //# sourceMappingURL=toolFindFieldsArgs.d.ts.map
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;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
+ {"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;;;;;;;;;EAGnC,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"}