@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.
- package/dist/cjs/ee/AiAgent/schemas/fieldId.d.ts +2 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldId.js +5 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldId.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.d.ts +13 -0
- package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.js +10 -0
- package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.js.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/fieldType.d.ts +1 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldType.js +22 -2
- package/dist/cjs/ee/AiAgent/schemas/fieldType.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/filters/index.d.ts +30 -30
- package/dist/cjs/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/filters/index.js +4 -8
- package/dist/cjs/ee/AiAgent/schemas/filters/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts +75 -69
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/index.js +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +0 -6
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +0 -4
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +6 -38
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +1 -8
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +54 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js +13 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/catalog.d.ts +4 -7
- package/dist/cjs/types/catalog.d.ts.map +1 -1
- package/dist/cjs/types/catalog.js.map +1 -1
- package/dist/cjs/types/parameters.d.ts.map +1 -1
- package/dist/cjs/utils/explore.d.ts +3 -0
- package/dist/cjs/utils/explore.d.ts.map +1 -0
- package/dist/cjs/utils/explore.js +18 -0
- package/dist/cjs/utils/explore.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/fieldId.d.ts +2 -1
- package/dist/esm/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/fieldId.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/fieldId.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.d.ts +13 -0
- package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.js +7 -0
- package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/fieldType.d.ts +1 -1
- package/dist/esm/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/fieldType.js +22 -2
- package/dist/esm/ee/AiAgent/schemas/fieldType.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/filters/index.d.ts +30 -30
- package/dist/esm/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/filters/index.js +4 -8
- package/dist/esm/ee/AiAgent/schemas/filters/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.d.ts +75 -69
- package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.js +5 -2
- package/dist/esm/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/index.js +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +0 -6
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +0 -4
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +6 -38
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +1 -8
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +54 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js +10 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/catalog.d.ts +4 -7
- package/dist/esm/types/catalog.d.ts.map +1 -1
- package/dist/esm/types/catalog.js.map +1 -1
- package/dist/esm/types/parameters.d.ts.map +1 -1
- package/dist/esm/utils/explore.d.ts +3 -0
- package/dist/esm/utils/explore.d.ts.map +1 -0
- package/dist/esm/utils/explore.js +14 -0
- package/dist/esm/utils/explore.js.map +1 -0
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/schemas/fieldId.d.ts +2 -1
- package/dist/types/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/fieldSearchQuery.d.ts +13 -0
- package/dist/types/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/schemas/fieldType.d.ts +1 -1
- package/dist/types/ee/AiAgent/schemas/fieldType.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/filters/index.d.ts +30 -30
- package/dist/types/ee/AiAgent/schemas/filters/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/index.d.ts +75 -69
- package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/index.d.ts +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +0 -6
- package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +6 -38
- package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +54 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +38 -38
- package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +38 -38
- package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types/catalog.d.ts +4 -7
- package/dist/types/types/catalog.d.ts.map +1 -1
- package/dist/types/types/parameters.d.ts.map +1 -1
- package/dist/types/utils/explore.d.ts +3 -0
- package/dist/types/utils/explore.d.ts.map +1 -0
- 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.
|
|
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
|
-
|
|
18
|
+
name: z.ZodString;
|
|
19
|
+
description: z.ZodString;
|
|
10
20
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
|
|
21
|
+
name: string;
|
|
22
|
+
description: string;
|
|
12
23
|
}, {
|
|
13
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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: "
|
|
101
|
+
type: import("../../..").DimensionType | import("../../..").MetricType;
|
|
93
102
|
fieldId: string;
|
|
94
103
|
}, {
|
|
95
|
-
type: "
|
|
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: "
|
|
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: "
|
|
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.
|
|
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: "
|
|
371
|
+
type: import("../../..").DimensionType | import("../../..").MetricType;
|
|
363
372
|
fieldId: string;
|
|
364
373
|
}, {
|
|
365
|
-
type: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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.
|
|
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: "
|
|
1166
|
+
type: import("../../..").DimensionType | import("../../..").MetricType;
|
|
1158
1167
|
fieldId: string;
|
|
1159
1168
|
}, {
|
|
1160
|
-
type: "
|
|
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: "
|
|
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: "
|
|
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.
|
|
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: "
|
|
1436
|
+
type: import("../../..").DimensionType | import("../../..").MetricType;
|
|
1428
1437
|
fieldId: string;
|
|
1429
1438
|
}, {
|
|
1430
|
-
type: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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.
|
|
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: "
|
|
2233
|
+
type: import("../../..").DimensionType | import("../../..").MetricType;
|
|
2225
2234
|
fieldId: string;
|
|
2226
2235
|
}, {
|
|
2227
|
-
type: "
|
|
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: "
|
|
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: "
|
|
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.
|
|
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: "
|
|
2503
|
+
type: import("../../..").DimensionType | import("../../..").MetricType;
|
|
2495
2504
|
fieldId: string;
|
|
2496
2505
|
}, {
|
|
2497
|
-
type: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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;
|
|
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;AAUxB,cAAc,oBAAoB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAOlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { toolFindExploresArgsSchema, toolFindFieldsArgsSchema, toolTableVizArgsSchema, toolTimeSeriesArgsSchema, toolVerticalBarArgsSchema, } from './tools';
|
|
2
|
+
import { toolFindExploresArgsSchema, toolFindFieldsArgsSchema, toolNewFindFieldsArgsSchema, toolTableVizArgsSchema, toolTimeSeriesArgsSchema, toolVerticalBarArgsSchema, } from './tools';
|
|
3
|
+
export * from './fieldSearchQuery';
|
|
3
4
|
export * from './filters';
|
|
4
5
|
export * from './tools';
|
|
5
6
|
export * from './visualizations';
|
|
6
|
-
|
|
7
|
+
// TODO: use `discriminatedUnion` after removing old find fields tool
|
|
8
|
+
export const AgentToolCallArgsSchema = z.union([
|
|
7
9
|
toolFindFieldsArgsSchema,
|
|
10
|
+
toolNewFindFieldsArgsSchema,
|
|
8
11
|
toolVerticalBarArgsSchema,
|
|
9
12
|
toolTableVizArgsSchema,
|
|
10
13
|
toolTimeSeriesArgsSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,GAC5B,MAAM,SAAS,CAAC;AAEjB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AAEjC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,0BAA0B,EAC1B,wBAAwB,EACxB,2BAA2B,EAC3B,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,GAC5B,MAAM,SAAS,CAAC;AAEjB,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AAEjC,qEAAqE;AACrE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC3C,wBAAwB;IACxB,2BAA2B;IAC3B,yBAAyB;IACzB,sBAAsB;IACtB,wBAAwB;IACxB,0BAA0B;CAC7B,CAAC,CAAC"}
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","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.js","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
|
|
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,10 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export const toolFindExploresArgsSchema = z.object({
|
|
3
3
|
type: z.literal('find_explores'),
|
|
4
|
-
page: z
|
|
5
|
-
.number()
|
|
6
|
-
.nullable()
|
|
7
|
-
.describe('Use this to paginate through the results. Starts at 1 and increments by 1.'),
|
|
8
4
|
});
|
|
9
5
|
export const toolFindExploresArgsSchemaTransformed = toolFindExploresArgsSchema;
|
|
10
6
|
//# sourceMappingURL=toolFindExploresArgs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolFindExploresArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindExploresArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"toolFindExploresArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindExploresArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;CACnC,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,qCAAqC,GAAG,0BAA0B,CAAC"}
|