@lightdash/common 0.1864.0 → 0.1865.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ee/AiAgent/schemas/fieldId.d.ts +1 -2
- package/dist/cjs/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldId.js +1 -5
- package/dist/cjs/ee/AiAgent/schemas/fieldId.js.map +1 -1
- 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 +2 -22
- 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 +8 -4
- package/dist/cjs/ee/AiAgent/schemas/filters/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts +69 -75
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.js +1 -4
- package/dist/cjs/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/index.js +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +6 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +4 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +38 -6
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +8 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
- 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 +0 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/catalog.d.ts +8 -4
- package/dist/cjs/types/catalog.d.ts.map +1 -1
- package/dist/cjs/types/catalog.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/fieldId.d.ts +1 -2
- package/dist/esm/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/fieldId.js +1 -4
- package/dist/esm/ee/AiAgent/schemas/fieldId.js.map +1 -1
- 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 +2 -22
- 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 +8 -4
- package/dist/esm/ee/AiAgent/schemas/filters/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.d.ts +69 -75
- package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.js +2 -5
- package/dist/esm/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/index.js +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +6 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +4 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +38 -6
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +8 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
- 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 +0 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +0 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/catalog.d.ts +8 -4
- package/dist/esm/types/catalog.d.ts.map +1 -1
- package/dist/esm/types/catalog.js.map +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/schemas/fieldId.d.ts +1 -2
- package/dist/types/ee/AiAgent/schemas/fieldId.d.ts.map +1 -1
- 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 +69 -75
- package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/index.d.ts +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +6 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +38 -6
- package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
- 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 +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types/catalog.d.ts +8 -4
- package/dist/types/types/catalog.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.d.ts +0 -13
- package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.js +0 -10
- package/dist/cjs/ee/AiAgent/schemas/fieldSearchQuery.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +0 -54
- package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js +0 -13
- package/dist/cjs/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js.map +0 -1
- package/dist/cjs/utils/explore.d.ts +0 -3
- package/dist/cjs/utils/explore.d.ts.map +0 -1
- package/dist/cjs/utils/explore.js +0 -18
- package/dist/cjs/utils/explore.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.d.ts +0 -13
- package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.js +0 -7
- package/dist/esm/ee/AiAgent/schemas/fieldSearchQuery.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +0 -54
- package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js +0 -10
- package/dist/esm/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.js.map +0 -1
- package/dist/esm/utils/explore.d.ts +0 -3
- package/dist/esm/utils/explore.d.ts.map +0 -1
- package/dist/esm/utils/explore.js +0 -14
- package/dist/esm/utils/explore.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/fieldSearchQuery.d.ts +0 -13
- package/dist/types/ee/AiAgent/schemas/fieldSearchQuery.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts +0 -54
- package/dist/types/ee/AiAgent/schemas/tools/toolNewFindFieldsArgs.d.ts.map +0 -1
- package/dist/types/utils/explore.d.ts +0 -3
- package/dist/types/utils/explore.d.ts.map +0 -1
|
@@ -1,40 +1,31 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export * from './fieldSearchQuery';
|
|
3
2
|
export * from './filters';
|
|
4
3
|
export * from './tools';
|
|
5
4
|
export * from './visualizations';
|
|
6
|
-
export declare const AgentToolCallArgsSchema: z.
|
|
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<{
|
|
5
|
+
export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
16
6
|
type: z.ZodLiteral<"find_fields">;
|
|
7
|
+
table: z.ZodString;
|
|
17
8
|
fieldSearchQueries: z.ZodArray<z.ZodObject<{
|
|
18
|
-
|
|
19
|
-
description: z.ZodString;
|
|
9
|
+
label: z.ZodString;
|
|
20
10
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
|
|
22
|
-
description: string;
|
|
11
|
+
label: string;
|
|
23
12
|
}, {
|
|
24
|
-
|
|
25
|
-
description: string;
|
|
13
|
+
label: string;
|
|
26
14
|
}>, "many">;
|
|
15
|
+
page: z.ZodNullable<z.ZodNumber>;
|
|
27
16
|
}, "strip", z.ZodTypeAny, {
|
|
28
17
|
type: "find_fields";
|
|
18
|
+
table: string;
|
|
19
|
+
page: number | null;
|
|
29
20
|
fieldSearchQueries: {
|
|
30
|
-
|
|
31
|
-
description: string;
|
|
21
|
+
label: string;
|
|
32
22
|
}[];
|
|
33
23
|
}, {
|
|
34
24
|
type: "find_fields";
|
|
25
|
+
table: string;
|
|
26
|
+
page: number | null;
|
|
35
27
|
fieldSearchQueries: {
|
|
36
|
-
|
|
37
|
-
description: string;
|
|
28
|
+
label: string;
|
|
38
29
|
}[];
|
|
39
30
|
}>, z.ZodObject<{
|
|
40
31
|
title: z.ZodString;
|
|
@@ -96,12 +87,12 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
96
87
|
type: z.ZodEnum<["or", "and"]>;
|
|
97
88
|
target: z.ZodObject<{
|
|
98
89
|
fieldId: z.ZodString;
|
|
99
|
-
type: z.
|
|
90
|
+
type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
|
|
100
91
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
type:
|
|
92
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
102
93
|
fieldId: string;
|
|
103
94
|
}, {
|
|
104
|
-
type:
|
|
95
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
105
96
|
fieldId: string;
|
|
106
97
|
}>;
|
|
107
98
|
rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -258,7 +249,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
258
249
|
}, "strip", z.ZodTypeAny, {
|
|
259
250
|
type: "and" | "or";
|
|
260
251
|
target: {
|
|
261
|
-
type:
|
|
252
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
262
253
|
fieldId: string;
|
|
263
254
|
};
|
|
264
255
|
rule: {
|
|
@@ -311,7 +302,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
311
302
|
}, {
|
|
312
303
|
type: "and" | "or";
|
|
313
304
|
target: {
|
|
314
|
-
type:
|
|
305
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
315
306
|
fieldId: string;
|
|
316
307
|
};
|
|
317
308
|
rule: {
|
|
@@ -366,12 +357,12 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
366
357
|
type: z.ZodEnum<["or", "and"]>;
|
|
367
358
|
target: z.ZodObject<{
|
|
368
359
|
fieldId: z.ZodString;
|
|
369
|
-
type: z.
|
|
360
|
+
type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
|
|
370
361
|
}, "strip", z.ZodTypeAny, {
|
|
371
|
-
type:
|
|
362
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
372
363
|
fieldId: string;
|
|
373
364
|
}, {
|
|
374
|
-
type:
|
|
365
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
375
366
|
fieldId: string;
|
|
376
367
|
}>;
|
|
377
368
|
rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -528,7 +519,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
528
519
|
}, "strip", z.ZodTypeAny, {
|
|
529
520
|
type: "and" | "or";
|
|
530
521
|
target: {
|
|
531
|
-
type:
|
|
522
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
532
523
|
fieldId: string;
|
|
533
524
|
};
|
|
534
525
|
rule: {
|
|
@@ -581,7 +572,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
581
572
|
}, {
|
|
582
573
|
type: "and" | "or";
|
|
583
574
|
target: {
|
|
584
|
-
type:
|
|
575
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
585
576
|
fieldId: string;
|
|
586
577
|
};
|
|
587
578
|
rule: {
|
|
@@ -637,7 +628,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
637
628
|
metrics: {
|
|
638
629
|
type: "and" | "or";
|
|
639
630
|
target: {
|
|
640
|
-
type:
|
|
631
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
641
632
|
fieldId: string;
|
|
642
633
|
};
|
|
643
634
|
rule: {
|
|
@@ -691,7 +682,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
691
682
|
dimensions: {
|
|
692
683
|
type: "and" | "or";
|
|
693
684
|
target: {
|
|
694
|
-
type:
|
|
685
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
695
686
|
fieldId: string;
|
|
696
687
|
};
|
|
697
688
|
rule: {
|
|
@@ -747,7 +738,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
747
738
|
metrics: {
|
|
748
739
|
type: "and" | "or";
|
|
749
740
|
target: {
|
|
750
|
-
type:
|
|
741
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
751
742
|
fieldId: string;
|
|
752
743
|
};
|
|
753
744
|
rule: {
|
|
@@ -801,7 +792,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
801
792
|
dimensions: {
|
|
802
793
|
type: "and" | "or";
|
|
803
794
|
target: {
|
|
804
|
-
type:
|
|
795
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
805
796
|
fieldId: string;
|
|
806
797
|
};
|
|
807
798
|
rule: {
|
|
@@ -861,7 +852,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
861
852
|
metrics: {
|
|
862
853
|
type: "and" | "or";
|
|
863
854
|
target: {
|
|
864
|
-
type:
|
|
855
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
865
856
|
fieldId: string;
|
|
866
857
|
};
|
|
867
858
|
rule: {
|
|
@@ -915,7 +906,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
915
906
|
dimensions: {
|
|
916
907
|
type: "and" | "or";
|
|
917
908
|
target: {
|
|
918
|
-
type:
|
|
909
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
919
910
|
fieldId: string;
|
|
920
911
|
};
|
|
921
912
|
rule: {
|
|
@@ -992,7 +983,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
992
983
|
metrics: {
|
|
993
984
|
type: "and" | "or";
|
|
994
985
|
target: {
|
|
995
|
-
type:
|
|
986
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
996
987
|
fieldId: string;
|
|
997
988
|
};
|
|
998
989
|
rule: {
|
|
@@ -1046,7 +1037,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1046
1037
|
dimensions: {
|
|
1047
1038
|
type: "and" | "or";
|
|
1048
1039
|
target: {
|
|
1049
|
-
type:
|
|
1040
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1050
1041
|
fieldId: string;
|
|
1051
1042
|
};
|
|
1052
1043
|
rule: {
|
|
@@ -1161,12 +1152,12 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1161
1152
|
type: z.ZodEnum<["or", "and"]>;
|
|
1162
1153
|
target: z.ZodObject<{
|
|
1163
1154
|
fieldId: z.ZodString;
|
|
1164
|
-
type: z.
|
|
1155
|
+
type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
|
|
1165
1156
|
}, "strip", z.ZodTypeAny, {
|
|
1166
|
-
type:
|
|
1157
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1167
1158
|
fieldId: string;
|
|
1168
1159
|
}, {
|
|
1169
|
-
type:
|
|
1160
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1170
1161
|
fieldId: string;
|
|
1171
1162
|
}>;
|
|
1172
1163
|
rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -1323,7 +1314,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1323
1314
|
}, "strip", z.ZodTypeAny, {
|
|
1324
1315
|
type: "and" | "or";
|
|
1325
1316
|
target: {
|
|
1326
|
-
type:
|
|
1317
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1327
1318
|
fieldId: string;
|
|
1328
1319
|
};
|
|
1329
1320
|
rule: {
|
|
@@ -1376,7 +1367,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1376
1367
|
}, {
|
|
1377
1368
|
type: "and" | "or";
|
|
1378
1369
|
target: {
|
|
1379
|
-
type:
|
|
1370
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1380
1371
|
fieldId: string;
|
|
1381
1372
|
};
|
|
1382
1373
|
rule: {
|
|
@@ -1431,12 +1422,12 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1431
1422
|
type: z.ZodEnum<["or", "and"]>;
|
|
1432
1423
|
target: z.ZodObject<{
|
|
1433
1424
|
fieldId: z.ZodString;
|
|
1434
|
-
type: z.
|
|
1425
|
+
type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
|
|
1435
1426
|
}, "strip", z.ZodTypeAny, {
|
|
1436
|
-
type:
|
|
1427
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1437
1428
|
fieldId: string;
|
|
1438
1429
|
}, {
|
|
1439
|
-
type:
|
|
1430
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1440
1431
|
fieldId: string;
|
|
1441
1432
|
}>;
|
|
1442
1433
|
rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -1593,7 +1584,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1593
1584
|
}, "strip", z.ZodTypeAny, {
|
|
1594
1585
|
type: "and" | "or";
|
|
1595
1586
|
target: {
|
|
1596
|
-
type:
|
|
1587
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1597
1588
|
fieldId: string;
|
|
1598
1589
|
};
|
|
1599
1590
|
rule: {
|
|
@@ -1646,7 +1637,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1646
1637
|
}, {
|
|
1647
1638
|
type: "and" | "or";
|
|
1648
1639
|
target: {
|
|
1649
|
-
type:
|
|
1640
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1650
1641
|
fieldId: string;
|
|
1651
1642
|
};
|
|
1652
1643
|
rule: {
|
|
@@ -1702,7 +1693,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1702
1693
|
metrics: {
|
|
1703
1694
|
type: "and" | "or";
|
|
1704
1695
|
target: {
|
|
1705
|
-
type:
|
|
1696
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1706
1697
|
fieldId: string;
|
|
1707
1698
|
};
|
|
1708
1699
|
rule: {
|
|
@@ -1756,7 +1747,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1756
1747
|
dimensions: {
|
|
1757
1748
|
type: "and" | "or";
|
|
1758
1749
|
target: {
|
|
1759
|
-
type:
|
|
1750
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1760
1751
|
fieldId: string;
|
|
1761
1752
|
};
|
|
1762
1753
|
rule: {
|
|
@@ -1812,7 +1803,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1812
1803
|
metrics: {
|
|
1813
1804
|
type: "and" | "or";
|
|
1814
1805
|
target: {
|
|
1815
|
-
type:
|
|
1806
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1816
1807
|
fieldId: string;
|
|
1817
1808
|
};
|
|
1818
1809
|
rule: {
|
|
@@ -1866,7 +1857,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1866
1857
|
dimensions: {
|
|
1867
1858
|
type: "and" | "or";
|
|
1868
1859
|
target: {
|
|
1869
|
-
type:
|
|
1860
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1870
1861
|
fieldId: string;
|
|
1871
1862
|
};
|
|
1872
1863
|
rule: {
|
|
@@ -1926,7 +1917,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1926
1917
|
metrics: {
|
|
1927
1918
|
type: "and" | "or";
|
|
1928
1919
|
target: {
|
|
1929
|
-
type:
|
|
1920
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1930
1921
|
fieldId: string;
|
|
1931
1922
|
};
|
|
1932
1923
|
rule: {
|
|
@@ -1980,7 +1971,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1980
1971
|
dimensions: {
|
|
1981
1972
|
type: "and" | "or";
|
|
1982
1973
|
target: {
|
|
1983
|
-
type:
|
|
1974
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
1984
1975
|
fieldId: string;
|
|
1985
1976
|
};
|
|
1986
1977
|
rule: {
|
|
@@ -2052,7 +2043,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2052
2043
|
metrics: {
|
|
2053
2044
|
type: "and" | "or";
|
|
2054
2045
|
target: {
|
|
2055
|
-
type:
|
|
2046
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2056
2047
|
fieldId: string;
|
|
2057
2048
|
};
|
|
2058
2049
|
rule: {
|
|
@@ -2106,7 +2097,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2106
2097
|
dimensions: {
|
|
2107
2098
|
type: "and" | "or";
|
|
2108
2099
|
target: {
|
|
2109
|
-
type:
|
|
2100
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2110
2101
|
fieldId: string;
|
|
2111
2102
|
};
|
|
2112
2103
|
rule: {
|
|
@@ -2228,12 +2219,12 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2228
2219
|
type: z.ZodEnum<["or", "and"]>;
|
|
2229
2220
|
target: z.ZodObject<{
|
|
2230
2221
|
fieldId: z.ZodString;
|
|
2231
|
-
type: z.
|
|
2222
|
+
type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
|
|
2232
2223
|
}, "strip", z.ZodTypeAny, {
|
|
2233
|
-
type:
|
|
2224
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2234
2225
|
fieldId: string;
|
|
2235
2226
|
}, {
|
|
2236
|
-
type:
|
|
2227
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2237
2228
|
fieldId: string;
|
|
2238
2229
|
}>;
|
|
2239
2230
|
rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -2390,7 +2381,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2390
2381
|
}, "strip", z.ZodTypeAny, {
|
|
2391
2382
|
type: "and" | "or";
|
|
2392
2383
|
target: {
|
|
2393
|
-
type:
|
|
2384
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2394
2385
|
fieldId: string;
|
|
2395
2386
|
};
|
|
2396
2387
|
rule: {
|
|
@@ -2443,7 +2434,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2443
2434
|
}, {
|
|
2444
2435
|
type: "and" | "or";
|
|
2445
2436
|
target: {
|
|
2446
|
-
type:
|
|
2437
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2447
2438
|
fieldId: string;
|
|
2448
2439
|
};
|
|
2449
2440
|
rule: {
|
|
@@ -2498,12 +2489,12 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2498
2489
|
type: z.ZodEnum<["or", "and"]>;
|
|
2499
2490
|
target: z.ZodObject<{
|
|
2500
2491
|
fieldId: z.ZodString;
|
|
2501
|
-
type: z.
|
|
2492
|
+
type: z.ZodEnum<["date", "timestamp", "number", "string", "boolean"]>;
|
|
2502
2493
|
}, "strip", z.ZodTypeAny, {
|
|
2503
|
-
type:
|
|
2494
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2504
2495
|
fieldId: string;
|
|
2505
2496
|
}, {
|
|
2506
|
-
type:
|
|
2497
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2507
2498
|
fieldId: string;
|
|
2508
2499
|
}>;
|
|
2509
2500
|
rule: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -2660,7 +2651,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2660
2651
|
}, "strip", z.ZodTypeAny, {
|
|
2661
2652
|
type: "and" | "or";
|
|
2662
2653
|
target: {
|
|
2663
|
-
type:
|
|
2654
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2664
2655
|
fieldId: string;
|
|
2665
2656
|
};
|
|
2666
2657
|
rule: {
|
|
@@ -2713,7 +2704,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2713
2704
|
}, {
|
|
2714
2705
|
type: "and" | "or";
|
|
2715
2706
|
target: {
|
|
2716
|
-
type:
|
|
2707
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2717
2708
|
fieldId: string;
|
|
2718
2709
|
};
|
|
2719
2710
|
rule: {
|
|
@@ -2769,7 +2760,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2769
2760
|
metrics: {
|
|
2770
2761
|
type: "and" | "or";
|
|
2771
2762
|
target: {
|
|
2772
|
-
type:
|
|
2763
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2773
2764
|
fieldId: string;
|
|
2774
2765
|
};
|
|
2775
2766
|
rule: {
|
|
@@ -2823,7 +2814,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2823
2814
|
dimensions: {
|
|
2824
2815
|
type: "and" | "or";
|
|
2825
2816
|
target: {
|
|
2826
|
-
type:
|
|
2817
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2827
2818
|
fieldId: string;
|
|
2828
2819
|
};
|
|
2829
2820
|
rule: {
|
|
@@ -2879,7 +2870,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2879
2870
|
metrics: {
|
|
2880
2871
|
type: "and" | "or";
|
|
2881
2872
|
target: {
|
|
2882
|
-
type:
|
|
2873
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2883
2874
|
fieldId: string;
|
|
2884
2875
|
};
|
|
2885
2876
|
rule: {
|
|
@@ -2933,7 +2924,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2933
2924
|
dimensions: {
|
|
2934
2925
|
type: "and" | "or";
|
|
2935
2926
|
target: {
|
|
2936
|
-
type:
|
|
2927
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2937
2928
|
fieldId: string;
|
|
2938
2929
|
};
|
|
2939
2930
|
rule: {
|
|
@@ -2993,7 +2984,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2993
2984
|
metrics: {
|
|
2994
2985
|
type: "and" | "or";
|
|
2995
2986
|
target: {
|
|
2996
|
-
type:
|
|
2987
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
2997
2988
|
fieldId: string;
|
|
2998
2989
|
};
|
|
2999
2990
|
rule: {
|
|
@@ -3047,7 +3038,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3047
3038
|
dimensions: {
|
|
3048
3039
|
type: "and" | "or";
|
|
3049
3040
|
target: {
|
|
3050
|
-
type:
|
|
3041
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
3051
3042
|
fieldId: string;
|
|
3052
3043
|
};
|
|
3053
3044
|
rule: {
|
|
@@ -3123,7 +3114,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3123
3114
|
metrics: {
|
|
3124
3115
|
type: "and" | "or";
|
|
3125
3116
|
target: {
|
|
3126
|
-
type:
|
|
3117
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
3127
3118
|
fieldId: string;
|
|
3128
3119
|
};
|
|
3129
3120
|
rule: {
|
|
@@ -3177,7 +3168,7 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3177
3168
|
dimensions: {
|
|
3178
3169
|
type: "and" | "or";
|
|
3179
3170
|
target: {
|
|
3180
|
-
type:
|
|
3171
|
+
type: "string" | "number" | "boolean" | "timestamp" | "date";
|
|
3181
3172
|
fieldId: string;
|
|
3182
3173
|
};
|
|
3183
3174
|
rule: {
|
|
@@ -3248,10 +3239,13 @@ export declare const AgentToolCallArgsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3248
3239
|
followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
|
3249
3240
|
}>, z.ZodObject<{
|
|
3250
3241
|
type: z.ZodLiteral<"find_explores">;
|
|
3242
|
+
page: z.ZodNullable<z.ZodNumber>;
|
|
3251
3243
|
}, "strip", z.ZodTypeAny, {
|
|
3252
3244
|
type: "find_explores";
|
|
3245
|
+
page: number | null;
|
|
3253
3246
|
}, {
|
|
3254
3247
|
type: "find_explores";
|
|
3248
|
+
page: number | null;
|
|
3255
3249
|
}>]>;
|
|
3256
3250
|
export type AgentToolCallArgs = z.infer<typeof AgentToolCallArgsSchema>;
|
|
3257
3251
|
//# 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;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"}
|
|
@@ -4,14 +4,11 @@ exports.AgentToolCallArgsSchema = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
const tools_1 = require("./tools");
|
|
7
|
-
tslib_1.__exportStar(require("./fieldSearchQuery"), exports);
|
|
8
7
|
tslib_1.__exportStar(require("./filters"), exports);
|
|
9
8
|
tslib_1.__exportStar(require("./tools"), exports);
|
|
10
9
|
tslib_1.__exportStar(require("./visualizations"), exports);
|
|
11
|
-
|
|
12
|
-
exports.AgentToolCallArgsSchema = zod_1.z.union([
|
|
10
|
+
exports.AgentToolCallArgsSchema = zod_1.z.discriminatedUnion('type', [
|
|
13
11
|
tools_1.toolFindFieldsArgsSchema,
|
|
14
|
-
tools_1.toolNewFindFieldsArgsSchema,
|
|
15
12
|
tools_1.toolVerticalBarArgsSchema,
|
|
16
13
|
tools_1.toolTableVizArgsSchema,
|
|
17
14
|
tools_1.toolTimeSeriesArgsSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/index.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/index.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,mCAMiB;AAEjB,oDAA0B;AAC1B,kDAAwB;AACxB,2DAAiC;AAEpB,QAAA,uBAAuB,GAAG,OAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAChE,gCAAwB;IACxB,iCAAyB;IACzB,8BAAsB;IACtB,gCAAwB;IACxB,kCAA0B;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,
|
|
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"}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./toolFindExploresArgs"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./toolFindFieldsArgs"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./toolNewFindFieldsArgs"), exports);
|
|
7
6
|
tslib_1.__exportStar(require("./toolTableVizArgs"), exports);
|
|
8
7
|
tslib_1.__exportStar(require("./toolTimeSeriesArgs"), exports);
|
|
9
8
|
tslib_1.__exportStar(require("./toolVerticalBarArgs"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/index.ts"],"names":[],"mappings":";;;AAAA,iEAAuC;AACvC,+DAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/index.ts"],"names":[],"mappings":";;;AAAA,iEAAuC;AACvC,+DAAqC;AACrC,6DAAmC;AACnC,+DAAqC;AACrC,gEAAsC"}
|
|
@@ -1,18 +1,24 @@
|
|
|
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>;
|
|
4
5
|
}, "strip", z.ZodTypeAny, {
|
|
5
6
|
type: "find_explores";
|
|
7
|
+
page: number | null;
|
|
6
8
|
}, {
|
|
7
9
|
type: "find_explores";
|
|
10
|
+
page: number | null;
|
|
8
11
|
}>;
|
|
9
12
|
export type ToolFindExploresArgs = z.infer<typeof toolFindExploresArgsSchema>;
|
|
10
13
|
export declare const toolFindExploresArgsSchemaTransformed: z.ZodObject<{
|
|
11
14
|
type: z.ZodLiteral<"find_explores">;
|
|
15
|
+
page: z.ZodNullable<z.ZodNumber>;
|
|
12
16
|
}, "strip", z.ZodTypeAny, {
|
|
13
17
|
type: "find_explores";
|
|
18
|
+
page: number | null;
|
|
14
19
|
}, {
|
|
15
20
|
type: "find_explores";
|
|
21
|
+
page: number | null;
|
|
16
22
|
}>;
|
|
17
23
|
export type ToolFindExploresArgsTransformed = ToolFindExploresArgs;
|
|
18
24
|
//# 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;;;;;;;;;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"}
|
|
@@ -4,6 +4,10 @@ exports.toolFindExploresArgsSchemaTransformed = exports.toolFindExploresArgsSche
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.toolFindExploresArgsSchema = zod_1.z.object({
|
|
6
6
|
type: zod_1.z.literal('find_explores'),
|
|
7
|
+
page: zod_1.z
|
|
8
|
+
.number()
|
|
9
|
+
.nullable()
|
|
10
|
+
.describe('Use this to paginate through the results. Starts at 1 and increments by 1.'),
|
|
7
11
|
});
|
|
8
12
|
exports.toolFindExploresArgsSchemaTransformed = exports.toolFindExploresArgsSchema;
|
|
9
13
|
//# sourceMappingURL=toolFindExploresArgs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolFindExploresArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindExploresArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"toolFindExploresArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindExploresArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IAChC,IAAI,EAAE,OAAC;SACF,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,4EAA4E,CAC/E;CACR,CAAC,CAAC;AAIU,QAAA,qCAAqC,GAAG,kCAA0B,CAAC"}
|