@lightdash/common 0.2077.5 → 0.2078.1
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/filterExploreByTags.d.ts +23 -12
- package/dist/cjs/ee/AiAgent/filterExploreByTags.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/filterExploreByTags.js +57 -28
- package/dist/cjs/ee/AiAgent/filterExploreByTags.js.map +1 -1
- package/dist/cjs/ee/AiAgent/filterExploreByTags.test.js +220 -18
- package/dist/cjs/ee/AiAgent/filterExploreByTags.test.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts +1210 -0
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.js +2 -1
- package/dist/cjs/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js +8 -4
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts +3 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js +4 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +109 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.js +103 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.js.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +216 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.js +87 -30
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.d.ts +14 -2
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.js +10 -7
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +2218 -4
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindChartsArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindChartsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +52 -4
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +23 -8
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolImproveContext.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolImproveContext.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +354 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +354 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +354 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +354 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/utils.d.ts +69 -0
- package/dist/cjs/ee/AiAgent/utils.d.ts.map +1 -1
- package/dist/cjs/types/catalog.d.ts +0 -2
- package/dist/cjs/types/catalog.d.ts.map +1 -1
- package/dist/cjs/types/catalog.js.map +1 -1
- package/dist/cjs/types/field.d.ts +42 -1
- package/dist/cjs/types/field.d.ts.map +1 -1
- package/dist/cjs/types/field.js +25 -1
- package/dist/cjs/types/field.js.map +1 -1
- package/dist/esm/ee/AiAgent/filterExploreByTags.d.ts +23 -12
- package/dist/esm/ee/AiAgent/filterExploreByTags.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/filterExploreByTags.js +57 -28
- package/dist/esm/ee/AiAgent/filterExploreByTags.js.map +1 -1
- package/dist/esm/ee/AiAgent/filterExploreByTags.test.js +220 -18
- package/dist/esm/ee/AiAgent/filterExploreByTags.test.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.d.ts +1210 -0
- package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.js +3 -2
- package/dist/esm/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js +8 -4
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts +3 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js +5 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +109 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.js +100 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +216 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.js +88 -31
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.d.ts +14 -2
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.js +10 -5
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +2218 -4
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindChartsArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindChartsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +52 -4
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +22 -7
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolImproveContext.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolImproveContext.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +354 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +354 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +354 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +354 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/utils.d.ts +69 -0
- package/dist/esm/ee/AiAgent/utils.d.ts.map +1 -1
- package/dist/esm/types/catalog.d.ts +0 -2
- package/dist/esm/types/catalog.d.ts.map +1 -1
- package/dist/esm/types/catalog.js.map +1 -1
- package/dist/esm/types/field.d.ts +42 -1
- package/dist/esm/types/field.d.ts.map +1 -1
- package/dist/esm/types/field.js +24 -0
- package/dist/esm/types/field.js.map +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/filterExploreByTags.d.ts +23 -12
- package/dist/types/ee/AiAgent/filterExploreByTags.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/index.d.ts +1210 -0
- package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts +3 -0
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +109 -0
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +216 -0
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/toolSchemaBuilder.d.ts +14 -2
- package/dist/types/ee/AiAgent/schemas/toolSchemaBuilder.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +2218 -4
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +52 -4
- package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +354 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +354 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +354 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +354 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/utils.d.ts +69 -0
- package/dist/types/ee/AiAgent/utils.d.ts.map +1 -1
- package/dist/types/types/catalog.d.ts +0 -2
- package/dist/types/types/catalog.d.ts.map +1 -1
- package/dist/types/types/field.d.ts +42 -1
- package/dist/types/types/field.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js +0 -56
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js +0 -54
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +0 -1
|
@@ -138,16 +138,19 @@ export declare const toolRunMetricQueryArgsSchema: z.ZodObject<{
|
|
|
138
138
|
} & {
|
|
139
139
|
type: z.ZodLiteral<"percent_of_column_total">;
|
|
140
140
|
fieldId: z.ZodString;
|
|
141
|
+
partitionBy: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
141
142
|
}, "strip", z.ZodTypeAny, {
|
|
142
143
|
name: string;
|
|
143
144
|
fieldId: string;
|
|
144
145
|
type: "percent_of_column_total";
|
|
145
146
|
displayName: string;
|
|
147
|
+
partitionBy: string[] | null;
|
|
146
148
|
}, {
|
|
147
149
|
name: string;
|
|
148
150
|
fieldId: string;
|
|
149
151
|
type: "percent_of_column_total";
|
|
150
152
|
displayName: string;
|
|
153
|
+
partitionBy: string[] | null;
|
|
151
154
|
}>, z.ZodObject<{
|
|
152
155
|
name: z.ZodString;
|
|
153
156
|
displayName: z.ZodString;
|
|
@@ -180,6 +183,111 @@ export declare const toolRunMetricQueryArgsSchema: z.ZodObject<{
|
|
|
180
183
|
fieldId: string;
|
|
181
184
|
type: "running_total";
|
|
182
185
|
displayName: string;
|
|
186
|
+
}>, z.ZodObject<{
|
|
187
|
+
name: z.ZodString;
|
|
188
|
+
displayName: z.ZodString;
|
|
189
|
+
} & {
|
|
190
|
+
type: z.ZodLiteral<"window_function">;
|
|
191
|
+
windowFunction: z.ZodEnum<["row_number", "percent_rank", "sum", "avg", "count", "min", "max"]>;
|
|
192
|
+
fieldId: z.ZodNullable<z.ZodString>;
|
|
193
|
+
orderBy: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
194
|
+
fieldId: z.ZodString;
|
|
195
|
+
order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
|
|
196
|
+
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
fieldId: string;
|
|
198
|
+
order: "asc" | "desc" | null;
|
|
199
|
+
}, {
|
|
200
|
+
fieldId: string;
|
|
201
|
+
order: "asc" | "desc" | null;
|
|
202
|
+
}>, "many">>;
|
|
203
|
+
partitionBy: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
204
|
+
frame: z.ZodNullable<z.ZodObject<{
|
|
205
|
+
frameType: z.ZodEnum<["rows", "range"]>;
|
|
206
|
+
start: z.ZodNullable<z.ZodObject<{
|
|
207
|
+
type: z.ZodEnum<["unbounded_preceding", "preceding", "current_row", "following", "unbounded_following"]>;
|
|
208
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
209
|
+
}, "strip", z.ZodTypeAny, {
|
|
210
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
211
|
+
offset: number | null;
|
|
212
|
+
}, {
|
|
213
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
214
|
+
offset: number | null;
|
|
215
|
+
}>>;
|
|
216
|
+
end: z.ZodObject<{
|
|
217
|
+
type: z.ZodEnum<["unbounded_preceding", "preceding", "current_row", "following", "unbounded_following"]>;
|
|
218
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
219
|
+
}, "strip", z.ZodTypeAny, {
|
|
220
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
221
|
+
offset: number | null;
|
|
222
|
+
}, {
|
|
223
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
224
|
+
offset: number | null;
|
|
225
|
+
}>;
|
|
226
|
+
}, "strip", z.ZodTypeAny, {
|
|
227
|
+
start: {
|
|
228
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
229
|
+
offset: number | null;
|
|
230
|
+
} | null;
|
|
231
|
+
end: {
|
|
232
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
233
|
+
offset: number | null;
|
|
234
|
+
};
|
|
235
|
+
frameType: "rows" | "range";
|
|
236
|
+
}, {
|
|
237
|
+
start: {
|
|
238
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
239
|
+
offset: number | null;
|
|
240
|
+
} | null;
|
|
241
|
+
end: {
|
|
242
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
243
|
+
offset: number | null;
|
|
244
|
+
};
|
|
245
|
+
frameType: "rows" | "range";
|
|
246
|
+
}>>;
|
|
247
|
+
}, "strip", z.ZodTypeAny, {
|
|
248
|
+
name: string;
|
|
249
|
+
fieldId: string | null;
|
|
250
|
+
type: "window_function";
|
|
251
|
+
displayName: string;
|
|
252
|
+
orderBy: {
|
|
253
|
+
fieldId: string;
|
|
254
|
+
order: "asc" | "desc" | null;
|
|
255
|
+
}[] | null;
|
|
256
|
+
partitionBy: string[] | null;
|
|
257
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
258
|
+
frame: {
|
|
259
|
+
start: {
|
|
260
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
261
|
+
offset: number | null;
|
|
262
|
+
} | null;
|
|
263
|
+
end: {
|
|
264
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
265
|
+
offset: number | null;
|
|
266
|
+
};
|
|
267
|
+
frameType: "rows" | "range";
|
|
268
|
+
} | null;
|
|
269
|
+
}, {
|
|
270
|
+
name: string;
|
|
271
|
+
fieldId: string | null;
|
|
272
|
+
type: "window_function";
|
|
273
|
+
displayName: string;
|
|
274
|
+
orderBy: {
|
|
275
|
+
fieldId: string;
|
|
276
|
+
order: "asc" | "desc" | null;
|
|
277
|
+
}[] | null;
|
|
278
|
+
partitionBy: string[] | null;
|
|
279
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
280
|
+
frame: {
|
|
281
|
+
start: {
|
|
282
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
283
|
+
offset: number | null;
|
|
284
|
+
} | null;
|
|
285
|
+
end: {
|
|
286
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
287
|
+
offset: number | null;
|
|
288
|
+
};
|
|
289
|
+
frameType: "rows" | "range";
|
|
290
|
+
} | null;
|
|
183
291
|
}>]>, "many">>;
|
|
184
292
|
filters: z.ZodNullable<z.ZodObject<{
|
|
185
293
|
type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
|
|
@@ -1273,6 +1381,7 @@ export declare const toolRunMetricQueryArgsSchema: z.ZodObject<{
|
|
|
1273
1381
|
fieldId: string;
|
|
1274
1382
|
type: "percent_of_column_total";
|
|
1275
1383
|
displayName: string;
|
|
1384
|
+
partitionBy: string[] | null;
|
|
1276
1385
|
} | {
|
|
1277
1386
|
name: string;
|
|
1278
1387
|
fieldId: string;
|
|
@@ -1283,6 +1392,28 @@ export declare const toolRunMetricQueryArgsSchema: z.ZodObject<{
|
|
|
1283
1392
|
fieldId: string;
|
|
1284
1393
|
type: "running_total";
|
|
1285
1394
|
displayName: string;
|
|
1395
|
+
} | {
|
|
1396
|
+
name: string;
|
|
1397
|
+
fieldId: string | null;
|
|
1398
|
+
type: "window_function";
|
|
1399
|
+
displayName: string;
|
|
1400
|
+
orderBy: {
|
|
1401
|
+
fieldId: string;
|
|
1402
|
+
order: "asc" | "desc" | null;
|
|
1403
|
+
}[] | null;
|
|
1404
|
+
partitionBy: string[] | null;
|
|
1405
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
1406
|
+
frame: {
|
|
1407
|
+
start: {
|
|
1408
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1409
|
+
offset: number | null;
|
|
1410
|
+
} | null;
|
|
1411
|
+
end: {
|
|
1412
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1413
|
+
offset: number | null;
|
|
1414
|
+
};
|
|
1415
|
+
frameType: "rows" | "range";
|
|
1416
|
+
} | null;
|
|
1286
1417
|
})[] | null;
|
|
1287
1418
|
type: "run_metric_query";
|
|
1288
1419
|
filters: {
|
|
@@ -1533,6 +1664,7 @@ export declare const toolRunMetricQueryArgsSchema: z.ZodObject<{
|
|
|
1533
1664
|
fieldId: string;
|
|
1534
1665
|
type: "percent_of_column_total";
|
|
1535
1666
|
displayName: string;
|
|
1667
|
+
partitionBy: string[] | null;
|
|
1536
1668
|
} | {
|
|
1537
1669
|
name: string;
|
|
1538
1670
|
fieldId: string;
|
|
@@ -1543,6 +1675,28 @@ export declare const toolRunMetricQueryArgsSchema: z.ZodObject<{
|
|
|
1543
1675
|
fieldId: string;
|
|
1544
1676
|
type: "running_total";
|
|
1545
1677
|
displayName: string;
|
|
1678
|
+
} | {
|
|
1679
|
+
name: string;
|
|
1680
|
+
fieldId: string | null;
|
|
1681
|
+
type: "window_function";
|
|
1682
|
+
displayName: string;
|
|
1683
|
+
orderBy: {
|
|
1684
|
+
fieldId: string;
|
|
1685
|
+
order: "asc" | "desc" | null;
|
|
1686
|
+
}[] | null;
|
|
1687
|
+
partitionBy: string[] | null;
|
|
1688
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
1689
|
+
frame: {
|
|
1690
|
+
start: {
|
|
1691
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1692
|
+
offset: number | null;
|
|
1693
|
+
} | null;
|
|
1694
|
+
end: {
|
|
1695
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1696
|
+
offset: number | null;
|
|
1697
|
+
};
|
|
1698
|
+
frameType: "rows" | "range";
|
|
1699
|
+
} | null;
|
|
1546
1700
|
})[] | null;
|
|
1547
1701
|
type: "run_metric_query";
|
|
1548
1702
|
filters: {
|
|
@@ -1909,16 +2063,19 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
|
|
|
1909
2063
|
} & {
|
|
1910
2064
|
type: z.ZodLiteral<"percent_of_column_total">;
|
|
1911
2065
|
fieldId: z.ZodString;
|
|
2066
|
+
partitionBy: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
1912
2067
|
}, "strip", z.ZodTypeAny, {
|
|
1913
2068
|
name: string;
|
|
1914
2069
|
fieldId: string;
|
|
1915
2070
|
type: "percent_of_column_total";
|
|
1916
2071
|
displayName: string;
|
|
2072
|
+
partitionBy: string[] | null;
|
|
1917
2073
|
}, {
|
|
1918
2074
|
name: string;
|
|
1919
2075
|
fieldId: string;
|
|
1920
2076
|
type: "percent_of_column_total";
|
|
1921
2077
|
displayName: string;
|
|
2078
|
+
partitionBy: string[] | null;
|
|
1922
2079
|
}>, z.ZodObject<{
|
|
1923
2080
|
name: z.ZodString;
|
|
1924
2081
|
displayName: z.ZodString;
|
|
@@ -1951,6 +2108,111 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
|
|
|
1951
2108
|
fieldId: string;
|
|
1952
2109
|
type: "running_total";
|
|
1953
2110
|
displayName: string;
|
|
2111
|
+
}>, z.ZodObject<{
|
|
2112
|
+
name: z.ZodString;
|
|
2113
|
+
displayName: z.ZodString;
|
|
2114
|
+
} & {
|
|
2115
|
+
type: z.ZodLiteral<"window_function">;
|
|
2116
|
+
windowFunction: z.ZodEnum<["row_number", "percent_rank", "sum", "avg", "count", "min", "max"]>;
|
|
2117
|
+
fieldId: z.ZodNullable<z.ZodString>;
|
|
2118
|
+
orderBy: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2119
|
+
fieldId: z.ZodString;
|
|
2120
|
+
order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
|
|
2121
|
+
}, "strip", z.ZodTypeAny, {
|
|
2122
|
+
fieldId: string;
|
|
2123
|
+
order: "asc" | "desc" | null;
|
|
2124
|
+
}, {
|
|
2125
|
+
fieldId: string;
|
|
2126
|
+
order: "asc" | "desc" | null;
|
|
2127
|
+
}>, "many">>;
|
|
2128
|
+
partitionBy: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
2129
|
+
frame: z.ZodNullable<z.ZodObject<{
|
|
2130
|
+
frameType: z.ZodEnum<["rows", "range"]>;
|
|
2131
|
+
start: z.ZodNullable<z.ZodObject<{
|
|
2132
|
+
type: z.ZodEnum<["unbounded_preceding", "preceding", "current_row", "following", "unbounded_following"]>;
|
|
2133
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
2134
|
+
}, "strip", z.ZodTypeAny, {
|
|
2135
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2136
|
+
offset: number | null;
|
|
2137
|
+
}, {
|
|
2138
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2139
|
+
offset: number | null;
|
|
2140
|
+
}>>;
|
|
2141
|
+
end: z.ZodObject<{
|
|
2142
|
+
type: z.ZodEnum<["unbounded_preceding", "preceding", "current_row", "following", "unbounded_following"]>;
|
|
2143
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
2144
|
+
}, "strip", z.ZodTypeAny, {
|
|
2145
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2146
|
+
offset: number | null;
|
|
2147
|
+
}, {
|
|
2148
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2149
|
+
offset: number | null;
|
|
2150
|
+
}>;
|
|
2151
|
+
}, "strip", z.ZodTypeAny, {
|
|
2152
|
+
start: {
|
|
2153
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2154
|
+
offset: number | null;
|
|
2155
|
+
} | null;
|
|
2156
|
+
end: {
|
|
2157
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2158
|
+
offset: number | null;
|
|
2159
|
+
};
|
|
2160
|
+
frameType: "rows" | "range";
|
|
2161
|
+
}, {
|
|
2162
|
+
start: {
|
|
2163
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2164
|
+
offset: number | null;
|
|
2165
|
+
} | null;
|
|
2166
|
+
end: {
|
|
2167
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2168
|
+
offset: number | null;
|
|
2169
|
+
};
|
|
2170
|
+
frameType: "rows" | "range";
|
|
2171
|
+
}>>;
|
|
2172
|
+
}, "strip", z.ZodTypeAny, {
|
|
2173
|
+
name: string;
|
|
2174
|
+
fieldId: string | null;
|
|
2175
|
+
type: "window_function";
|
|
2176
|
+
displayName: string;
|
|
2177
|
+
orderBy: {
|
|
2178
|
+
fieldId: string;
|
|
2179
|
+
order: "asc" | "desc" | null;
|
|
2180
|
+
}[] | null;
|
|
2181
|
+
partitionBy: string[] | null;
|
|
2182
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
2183
|
+
frame: {
|
|
2184
|
+
start: {
|
|
2185
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2186
|
+
offset: number | null;
|
|
2187
|
+
} | null;
|
|
2188
|
+
end: {
|
|
2189
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2190
|
+
offset: number | null;
|
|
2191
|
+
};
|
|
2192
|
+
frameType: "rows" | "range";
|
|
2193
|
+
} | null;
|
|
2194
|
+
}, {
|
|
2195
|
+
name: string;
|
|
2196
|
+
fieldId: string | null;
|
|
2197
|
+
type: "window_function";
|
|
2198
|
+
displayName: string;
|
|
2199
|
+
orderBy: {
|
|
2200
|
+
fieldId: string;
|
|
2201
|
+
order: "asc" | "desc" | null;
|
|
2202
|
+
}[] | null;
|
|
2203
|
+
partitionBy: string[] | null;
|
|
2204
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
2205
|
+
frame: {
|
|
2206
|
+
start: {
|
|
2207
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2208
|
+
offset: number | null;
|
|
2209
|
+
} | null;
|
|
2210
|
+
end: {
|
|
2211
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2212
|
+
offset: number | null;
|
|
2213
|
+
};
|
|
2214
|
+
frameType: "rows" | "range";
|
|
2215
|
+
} | null;
|
|
1954
2216
|
}>]>, "many">>;
|
|
1955
2217
|
filters: z.ZodNullable<z.ZodObject<{
|
|
1956
2218
|
type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
|
|
@@ -3044,6 +3306,7 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
|
|
|
3044
3306
|
fieldId: string;
|
|
3045
3307
|
type: "percent_of_column_total";
|
|
3046
3308
|
displayName: string;
|
|
3309
|
+
partitionBy: string[] | null;
|
|
3047
3310
|
} | {
|
|
3048
3311
|
name: string;
|
|
3049
3312
|
fieldId: string;
|
|
@@ -3054,6 +3317,28 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
|
|
|
3054
3317
|
fieldId: string;
|
|
3055
3318
|
type: "running_total";
|
|
3056
3319
|
displayName: string;
|
|
3320
|
+
} | {
|
|
3321
|
+
name: string;
|
|
3322
|
+
fieldId: string | null;
|
|
3323
|
+
type: "window_function";
|
|
3324
|
+
displayName: string;
|
|
3325
|
+
orderBy: {
|
|
3326
|
+
fieldId: string;
|
|
3327
|
+
order: "asc" | "desc" | null;
|
|
3328
|
+
}[] | null;
|
|
3329
|
+
partitionBy: string[] | null;
|
|
3330
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
3331
|
+
frame: {
|
|
3332
|
+
start: {
|
|
3333
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3334
|
+
offset: number | null;
|
|
3335
|
+
} | null;
|
|
3336
|
+
end: {
|
|
3337
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3338
|
+
offset: number | null;
|
|
3339
|
+
};
|
|
3340
|
+
frameType: "rows" | "range";
|
|
3341
|
+
} | null;
|
|
3057
3342
|
})[] | null;
|
|
3058
3343
|
type: "run_metric_query";
|
|
3059
3344
|
filters: {
|
|
@@ -3304,6 +3589,7 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
|
|
|
3304
3589
|
fieldId: string;
|
|
3305
3590
|
type: "percent_of_column_total";
|
|
3306
3591
|
displayName: string;
|
|
3592
|
+
partitionBy: string[] | null;
|
|
3307
3593
|
} | {
|
|
3308
3594
|
name: string;
|
|
3309
3595
|
fieldId: string;
|
|
@@ -3314,6 +3600,28 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
|
|
|
3314
3600
|
fieldId: string;
|
|
3315
3601
|
type: "running_total";
|
|
3316
3602
|
displayName: string;
|
|
3603
|
+
} | {
|
|
3604
|
+
name: string;
|
|
3605
|
+
fieldId: string | null;
|
|
3606
|
+
type: "window_function";
|
|
3607
|
+
displayName: string;
|
|
3608
|
+
orderBy: {
|
|
3609
|
+
fieldId: string;
|
|
3610
|
+
order: "asc" | "desc" | null;
|
|
3611
|
+
}[] | null;
|
|
3612
|
+
partitionBy: string[] | null;
|
|
3613
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
3614
|
+
frame: {
|
|
3615
|
+
start: {
|
|
3616
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3617
|
+
offset: number | null;
|
|
3618
|
+
} | null;
|
|
3619
|
+
end: {
|
|
3620
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3621
|
+
offset: number | null;
|
|
3622
|
+
};
|
|
3623
|
+
frameType: "rows" | "range";
|
|
3624
|
+
} | null;
|
|
3317
3625
|
})[] | null;
|
|
3318
3626
|
type: "run_metric_query";
|
|
3319
3627
|
filters: {
|
|
@@ -3573,6 +3881,7 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
|
|
|
3573
3881
|
fieldId: string;
|
|
3574
3882
|
type: "percent_of_column_total";
|
|
3575
3883
|
displayName: string;
|
|
3884
|
+
partitionBy: string[] | null;
|
|
3576
3885
|
} | {
|
|
3577
3886
|
name: string;
|
|
3578
3887
|
fieldId: string;
|
|
@@ -3583,6 +3892,28 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
|
|
|
3583
3892
|
fieldId: string;
|
|
3584
3893
|
type: "running_total";
|
|
3585
3894
|
displayName: string;
|
|
3895
|
+
} | {
|
|
3896
|
+
name: string;
|
|
3897
|
+
fieldId: string | null;
|
|
3898
|
+
type: "window_function";
|
|
3899
|
+
displayName: string;
|
|
3900
|
+
orderBy: {
|
|
3901
|
+
fieldId: string;
|
|
3902
|
+
order: "asc" | "desc" | null;
|
|
3903
|
+
}[] | null;
|
|
3904
|
+
partitionBy: string[] | null;
|
|
3905
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
3906
|
+
frame: {
|
|
3907
|
+
start: {
|
|
3908
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3909
|
+
offset: number | null;
|
|
3910
|
+
} | null;
|
|
3911
|
+
end: {
|
|
3912
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3913
|
+
offset: number | null;
|
|
3914
|
+
};
|
|
3915
|
+
frameType: "rows" | "range";
|
|
3916
|
+
} | null;
|
|
3586
3917
|
})[] | null;
|
|
3587
3918
|
type: "run_metric_query";
|
|
3588
3919
|
vizConfig: {
|
|
@@ -3620,6 +3951,7 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
|
|
|
3620
3951
|
fieldId: string;
|
|
3621
3952
|
type: "percent_of_column_total";
|
|
3622
3953
|
displayName: string;
|
|
3954
|
+
partitionBy: string[] | null;
|
|
3623
3955
|
} | {
|
|
3624
3956
|
name: string;
|
|
3625
3957
|
fieldId: string;
|
|
@@ -3630,6 +3962,28 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
|
|
|
3630
3962
|
fieldId: string;
|
|
3631
3963
|
type: "running_total";
|
|
3632
3964
|
displayName: string;
|
|
3965
|
+
} | {
|
|
3966
|
+
name: string;
|
|
3967
|
+
fieldId: string | null;
|
|
3968
|
+
type: "window_function";
|
|
3969
|
+
displayName: string;
|
|
3970
|
+
orderBy: {
|
|
3971
|
+
fieldId: string;
|
|
3972
|
+
order: "asc" | "desc" | null;
|
|
3973
|
+
}[] | null;
|
|
3974
|
+
partitionBy: string[] | null;
|
|
3975
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
3976
|
+
frame: {
|
|
3977
|
+
start: {
|
|
3978
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3979
|
+
offset: number | null;
|
|
3980
|
+
} | null;
|
|
3981
|
+
end: {
|
|
3982
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3983
|
+
offset: number | null;
|
|
3984
|
+
};
|
|
3985
|
+
frameType: "rows" | "range";
|
|
3986
|
+
} | null;
|
|
3633
3987
|
})[] | null;
|
|
3634
3988
|
type: "run_metric_query";
|
|
3635
3989
|
filters: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolRunMetricQueryArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.ts"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK7C,CAAC;AAER,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,uCAAuC,CACjD,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;EAGzC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,8BAA8B,CACxC,CAAC"}
|
|
@@ -19,7 +19,10 @@ Usage Tips:
|
|
|
19
19
|
- Use this when you need to analyze data or export query results
|
|
20
20
|
- The query respects the same limits and permissions as other visualization tools
|
|
21
21
|
`;
|
|
22
|
-
exports.toolRunMetricQueryArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)(
|
|
22
|
+
exports.toolRunMetricQueryArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)({
|
|
23
|
+
type: 'run_metric_query',
|
|
24
|
+
description: exports.TOOL_RUN_METRIC_QUERY_DESCRIPTION,
|
|
25
|
+
})
|
|
23
26
|
.extend({
|
|
24
27
|
vizConfig: visualizations_1.tableVizConfigSchema,
|
|
25
28
|
customMetrics: customMetrics_1.customMetricsSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolRunMetricQueryArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,oDAAuD;AACvD,wCAAuE;AACvE,sDAA6D;AAC7D,yDAA4D;AAC5D,4DAAwD;AACxD,sDAAyD;AAE5C,QAAA,iCAAiC,GAAG;;;;;;;;;;CAUhD,CAAC;AAEW,QAAA,4BAA4B,GAAG,IAAA,oCAAgB,
|
|
1
|
+
{"version":3,"file":"toolRunMetricQueryArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,oDAAuD;AACvD,wCAAuE;AACvE,sDAA6D;AAC7D,yDAA4D;AAC5D,4DAAwD;AACxD,sDAAyD;AAE5C,QAAA,iCAAiC,GAAG;;;;;;;;;;CAUhD,CAAC;AAEW,QAAA,4BAA4B,GAAG,IAAA,oCAAgB,EAAC;IACzD,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE,yCAAiC;CACjD,CAAC;KACG,MAAM,CAAC;IACJ,SAAS,EAAE,qCAAoB;IAC/B,aAAa,EAAE,mCAAmB;IAClC,iBAAiB,EAAE,6BAAgB;IACnC,OAAO,EAAE,yBAAe;SACnB,QAAQ,EAAE;SACV,QAAQ,CACL,oIAAoI,CACvI;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAMA,QAAA,uCAAuC,GAChD,oCAA4B,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAC9C,GAAG,IAAI;IACP,aAAa,EAAE,mCAAmB,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,IAAI,EAAE,CAAC;IAClE,OAAO,EAAE,kCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC;CAChE,CAAC,CAAC,CAAC;AAMK,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,yCAAwB;CACrC,CAAC,CAAC"}
|
|
@@ -17,7 +17,10 @@ Usage Tips:
|
|
|
17
17
|
- Optionally add filters to further restrict the results
|
|
18
18
|
- Results are returned as a list of unique field values (limited to 100)
|
|
19
19
|
`;
|
|
20
|
-
exports.toolSearchFieldValuesArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)(
|
|
20
|
+
exports.toolSearchFieldValuesArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)({
|
|
21
|
+
type: 'search_field_values',
|
|
22
|
+
description: exports.TOOL_SEARCH_FIELD_VALUES_DESCRIPTION,
|
|
23
|
+
})
|
|
21
24
|
.extend({
|
|
22
25
|
table: zod_1.z.string().describe('The table to search in.'),
|
|
23
26
|
fieldId: (0, fieldId_1.getFieldIdSchema)({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolSearchFieldValuesArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAA8C;AAC9C,wCAAuE;AACvE,sDAA6D;AAC7D,4DAAwD;AAE3C,QAAA,oCAAoC,GAAG;;;;;;;;;;CAUnD,CAAC;AAEW,QAAA,+BAA+B,GAAG,IAAA,oCAAgB,
|
|
1
|
+
{"version":3,"file":"toolSearchFieldValuesArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAA8C;AAC9C,wCAAuE;AACvE,sDAA6D;AAC7D,4DAAwD;AAE3C,QAAA,oCAAoC,GAAG;;;;;;;;;;CAUnD,CAAC;AAEW,QAAA,+BAA+B,GAAG,IAAA,oCAAgB,EAAC;IAC5D,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,4CAAoC;CACpD,CAAC;KACG,MAAM,CAAC;IACJ,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACrD,OAAO,EAAE,IAAA,0BAAgB,EAAC;QACtB,qBAAqB,EAAE,0CAA0C;KACpE,CAAC;IACF,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,QAAQ,CAAC,qCAAqC,CAAC;SAC/C,QAAQ,EAAE;IACf,OAAO,EAAE,yBAAe;SACnB,QAAQ,EAAE;SACV,QAAQ,CACL,oIAAoI,CACvI;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAMA,QAAA,0CAA0C,GACnD,uCAA+B,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IACjD,GAAG,IAAI;IACP,OAAO,EAAE,IAAI,CAAC,OAAO;QACjB,CAAC,CAAC,kCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;QAC9C,CAAC,CAAC,SAAS;IACf,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,EAAE;CAC1B,CAAC,CAAC,CAAC;AAMK,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,yCAAwB;CACrC,CAAC,CAAC"}
|