@lightdash/common 0.2184.0 → 0.2184.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.
Files changed (61) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
  3. package/dist/cjs/ee/AiAgent/schemas/parser.d.ts +54 -54
  4. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
  5. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
  6. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
  7. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
  8. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
  9. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
  10. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
  11. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
  12. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  13. package/dist/cjs/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  14. package/dist/cjs/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  15. package/dist/cjs/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
  16. package/dist/cjs/ee/AiAgent/utils.d.ts +16 -16
  17. package/dist/cjs/types/scheduler.d.ts +2 -0
  18. package/dist/cjs/types/scheduler.d.ts.map +1 -1
  19. package/dist/cjs/types/scheduler.js.map +1 -1
  20. package/dist/cjs/utils/i18n/chartAsCode.d.ts +165 -165
  21. package/dist/esm/.tsbuildinfo +1 -1
  22. package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
  23. package/dist/esm/ee/AiAgent/schemas/parser.d.ts +54 -54
  24. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
  25. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
  26. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
  27. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
  28. package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
  29. package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
  30. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
  31. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
  32. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  33. package/dist/esm/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  34. package/dist/esm/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  35. package/dist/esm/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
  36. package/dist/esm/ee/AiAgent/utils.d.ts +16 -16
  37. package/dist/esm/types/scheduler.d.ts +2 -0
  38. package/dist/esm/types/scheduler.d.ts.map +1 -1
  39. package/dist/esm/types/scheduler.js.map +1 -1
  40. package/dist/esm/utils/i18n/chartAsCode.d.ts +165 -165
  41. package/dist/types/.tsbuildinfo +1 -1
  42. package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
  43. package/dist/types/ee/AiAgent/schemas/parser.d.ts +54 -54
  44. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
  45. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
  46. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
  47. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
  48. package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
  49. package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
  50. package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
  51. package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
  52. package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  53. package/dist/types/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  54. package/dist/types/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  55. package/dist/types/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
  56. package/dist/types/ee/AiAgent/utils.d.ts +16 -16
  57. package/dist/types/types/scheduler.d.ts +2 -0
  58. package/dist/types/types/scheduler.d.ts.map +1 -1
  59. package/dist/types/types/scheduler.js.map +1 -1
  60. package/dist/types/utils/i18n/chartAsCode.d.ts +165 -165
  61. package/package.json +1 -1
@@ -200,6 +200,7 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
200
200
  offset: number | null;
201
201
  }>;
202
202
  }, "strip", z.ZodTypeAny, {
203
+ frameType: "rows" | "range";
203
204
  start: {
204
205
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
205
206
  offset: number | null;
@@ -208,8 +209,8 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
208
209
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
209
210
  offset: number | null;
210
211
  };
211
- frameType: "rows" | "range";
212
212
  }, {
213
+ frameType: "rows" | "range";
213
214
  start: {
214
215
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
215
216
  offset: number | null;
@@ -218,7 +219,6 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
218
219
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
219
220
  offset: number | null;
220
221
  };
221
- frameType: "rows" | "range";
222
222
  }>>;
223
223
  }, "strip", z.ZodTypeAny, {
224
224
  name: string;
@@ -232,6 +232,7 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
232
232
  partitionBy: string[] | null;
233
233
  windowFunction: import("../../../..").WindowFunctionType;
234
234
  frame: {
235
+ frameType: "rows" | "range";
235
236
  start: {
236
237
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
237
238
  offset: number | null;
@@ -240,7 +241,6 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
240
241
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
241
242
  offset: number | null;
242
243
  };
243
- frameType: "rows" | "range";
244
244
  } | null;
245
245
  }, {
246
246
  name: string;
@@ -254,6 +254,7 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
254
254
  partitionBy: string[] | null;
255
255
  windowFunction: import("../../../..").WindowFunctionType;
256
256
  frame: {
257
+ frameType: "rows" | "range";
257
258
  start: {
258
259
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
259
260
  offset: number | null;
@@ -262,7 +263,6 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
262
263
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
263
264
  offset: number | null;
264
265
  };
265
- frameType: "rows" | "range";
266
266
  } | null;
267
267
  }>]>, "many">>;
268
268
  queryConfig: z.ZodObject<{
@@ -287,22 +287,22 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
287
287
  dimensions: string[];
288
288
  metrics: string[];
289
289
  limit: number | null;
290
- exploreName: string;
291
290
  sorts: {
292
291
  fieldId: string;
293
292
  descending: boolean;
294
293
  nullsFirst: boolean | null;
295
294
  }[];
295
+ exploreName: string;
296
296
  }, {
297
297
  dimensions: string[];
298
298
  metrics: string[];
299
299
  limit: number | null;
300
- exploreName: string;
301
300
  sorts: {
302
301
  fieldId: string;
303
302
  descending: boolean;
304
303
  nullsFirst: boolean | null;
305
304
  }[];
305
+ exploreName: string;
306
306
  }>;
307
307
  chartConfig: z.ZodNullable<z.ZodObject<{
308
308
  defaultVizType: z.ZodEnum<["table", "bar", "horizontal", "line", "scatter", "pie", "funnel"]>;
@@ -318,28 +318,28 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
318
318
  secondaryYAxisMetric: z.ZodNullable<z.ZodString>;
319
319
  secondaryYAxisLabel: z.ZodNullable<z.ZodString>;
320
320
  }, "strip", z.ZodTypeAny, {
321
- groupBy: string[] | null;
322
321
  stackBars: boolean | null;
323
- xAxisType: "time" | "category" | null;
322
+ xAxisType: "category" | "time" | null;
324
323
  xAxisLabel: string;
325
324
  yAxisLabel: string;
326
325
  lineType: "line" | "area" | null;
327
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
326
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
328
327
  xAxisDimension: string | null;
329
328
  yAxisMetrics: string[] | null;
329
+ groupBy: string[] | null;
330
330
  funnelDataInput: "row" | "column" | null;
331
331
  secondaryYAxisMetric: string | null;
332
332
  secondaryYAxisLabel: string | null;
333
333
  }, {
334
- groupBy: string[] | null;
335
334
  stackBars: boolean | null;
336
- xAxisType: "time" | "category" | null;
335
+ xAxisType: "category" | "time" | null;
337
336
  xAxisLabel: string;
338
337
  yAxisLabel: string;
339
338
  lineType: "line" | "area" | null;
340
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
339
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
341
340
  xAxisDimension: string | null;
342
341
  yAxisMetrics: string[] | null;
342
+ groupBy: string[] | null;
343
343
  funnelDataInput: "row" | "column" | null;
344
344
  secondaryYAxisMetric: string | null;
345
345
  secondaryYAxisLabel: string | null;
@@ -1461,6 +1461,7 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
1461
1461
  partitionBy: string[] | null;
1462
1462
  windowFunction: import("../../../..").WindowFunctionType;
1463
1463
  frame: {
1464
+ frameType: "rows" | "range";
1464
1465
  start: {
1465
1466
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
1466
1467
  offset: number | null;
@@ -1469,7 +1470,6 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
1469
1470
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
1470
1471
  offset: number | null;
1471
1472
  };
1472
- frameType: "rows" | "range";
1473
1473
  } | null;
1474
1474
  })[] | null;
1475
1475
  type: AiResultType.QUERY_RESULT;
@@ -1680,19 +1680,20 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
1680
1680
  type: "and" | "or";
1681
1681
  } | null;
1682
1682
  chartConfig: {
1683
- groupBy: string[] | null;
1684
1683
  stackBars: boolean | null;
1685
- xAxisType: "time" | "category" | null;
1684
+ xAxisType: "category" | "time" | null;
1686
1685
  xAxisLabel: string;
1687
1686
  yAxisLabel: string;
1688
1687
  lineType: "line" | "area" | null;
1689
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
1688
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
1690
1689
  xAxisDimension: string | null;
1691
1690
  yAxisMetrics: string[] | null;
1691
+ groupBy: string[] | null;
1692
1692
  funnelDataInput: "row" | "column" | null;
1693
1693
  secondaryYAxisMetric: string | null;
1694
1694
  secondaryYAxisLabel: string | null;
1695
1695
  } | null;
1696
+ title: string;
1696
1697
  customMetrics: {
1697
1698
  baseDimensionName: string;
1698
1699
  name: string;
@@ -1701,17 +1702,16 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
1701
1702
  type: import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.MEDIAN;
1702
1703
  description: string;
1703
1704
  }[] | null;
1704
- title: string;
1705
1705
  queryConfig: {
1706
1706
  dimensions: string[];
1707
1707
  metrics: string[];
1708
1708
  limit: number | null;
1709
- exploreName: string;
1710
1709
  sorts: {
1711
1710
  fieldId: string;
1712
1711
  descending: boolean;
1713
1712
  nullsFirst: boolean | null;
1714
1713
  }[];
1714
+ exploreName: string;
1715
1715
  };
1716
1716
  }, {
1717
1717
  tableCalculations: ({
@@ -1760,6 +1760,7 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
1760
1760
  partitionBy: string[] | null;
1761
1761
  windowFunction: import("../../../..").WindowFunctionType;
1762
1762
  frame: {
1763
+ frameType: "rows" | "range";
1763
1764
  start: {
1764
1765
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
1765
1766
  offset: number | null;
@@ -1768,7 +1769,6 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
1768
1769
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
1769
1770
  offset: number | null;
1770
1771
  };
1771
- frameType: "rows" | "range";
1772
1772
  } | null;
1773
1773
  })[] | null;
1774
1774
  type: AiResultType.QUERY_RESULT;
@@ -1979,19 +1979,20 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
1979
1979
  type: "and" | "or";
1980
1980
  } | null;
1981
1981
  chartConfig: {
1982
- groupBy: string[] | null;
1983
1982
  stackBars: boolean | null;
1984
- xAxisType: "time" | "category" | null;
1983
+ xAxisType: "category" | "time" | null;
1985
1984
  xAxisLabel: string;
1986
1985
  yAxisLabel: string;
1987
1986
  lineType: "line" | "area" | null;
1988
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
1987
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
1989
1988
  xAxisDimension: string | null;
1990
1989
  yAxisMetrics: string[] | null;
1990
+ groupBy: string[] | null;
1991
1991
  funnelDataInput: "row" | "column" | null;
1992
1992
  secondaryYAxisMetric: string | null;
1993
1993
  secondaryYAxisLabel: string | null;
1994
1994
  } | null;
1995
+ title: string;
1995
1996
  customMetrics: {
1996
1997
  name: string;
1997
1998
  label: string;
@@ -2000,17 +2001,16 @@ declare const dashboardV2VisualizationSchema: z.ZodObject<{
2000
2001
  description: string;
2001
2002
  baseDimensionName: string;
2002
2003
  }[] | null;
2003
- title: string;
2004
2004
  queryConfig: {
2005
2005
  dimensions: string[];
2006
2006
  metrics: string[];
2007
2007
  limit: number | null;
2008
- exploreName: string;
2009
2008
  sorts: {
2010
2009
  fieldId: string;
2011
2010
  descending: boolean;
2012
2011
  nullsFirst: boolean | null;
2013
2012
  }[];
2013
+ exploreName: string;
2014
2014
  };
2015
2015
  }>;
2016
2016
  export type DashboardV2Visualization = z.infer<typeof dashboardV2VisualizationSchema>;
@@ -2218,6 +2218,7 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
2218
2218
  offset: number | null;
2219
2219
  }>;
2220
2220
  }, "strip", z.ZodTypeAny, {
2221
+ frameType: "rows" | "range";
2221
2222
  start: {
2222
2223
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2223
2224
  offset: number | null;
@@ -2226,8 +2227,8 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
2226
2227
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2227
2228
  offset: number | null;
2228
2229
  };
2229
- frameType: "rows" | "range";
2230
2230
  }, {
2231
+ frameType: "rows" | "range";
2231
2232
  start: {
2232
2233
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2233
2234
  offset: number | null;
@@ -2236,7 +2237,6 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
2236
2237
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2237
2238
  offset: number | null;
2238
2239
  };
2239
- frameType: "rows" | "range";
2240
2240
  }>>;
2241
2241
  }, "strip", z.ZodTypeAny, {
2242
2242
  name: string;
@@ -2250,6 +2250,7 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
2250
2250
  partitionBy: string[] | null;
2251
2251
  windowFunction: import("../../../..").WindowFunctionType;
2252
2252
  frame: {
2253
+ frameType: "rows" | "range";
2253
2254
  start: {
2254
2255
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2255
2256
  offset: number | null;
@@ -2258,7 +2259,6 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
2258
2259
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2259
2260
  offset: number | null;
2260
2261
  };
2261
- frameType: "rows" | "range";
2262
2262
  } | null;
2263
2263
  }, {
2264
2264
  name: string;
@@ -2272,6 +2272,7 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
2272
2272
  partitionBy: string[] | null;
2273
2273
  windowFunction: import("../../../..").WindowFunctionType;
2274
2274
  frame: {
2275
+ frameType: "rows" | "range";
2275
2276
  start: {
2276
2277
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2277
2278
  offset: number | null;
@@ -2280,7 +2281,6 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
2280
2281
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2281
2282
  offset: number | null;
2282
2283
  };
2283
- frameType: "rows" | "range";
2284
2284
  } | null;
2285
2285
  }>]>, "many">>;
2286
2286
  queryConfig: z.ZodObject<{
@@ -2305,22 +2305,22 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
2305
2305
  dimensions: string[];
2306
2306
  metrics: string[];
2307
2307
  limit: number | null;
2308
- exploreName: string;
2309
2308
  sorts: {
2310
2309
  fieldId: string;
2311
2310
  descending: boolean;
2312
2311
  nullsFirst: boolean | null;
2313
2312
  }[];
2313
+ exploreName: string;
2314
2314
  }, {
2315
2315
  dimensions: string[];
2316
2316
  metrics: string[];
2317
2317
  limit: number | null;
2318
- exploreName: string;
2319
2318
  sorts: {
2320
2319
  fieldId: string;
2321
2320
  descending: boolean;
2322
2321
  nullsFirst: boolean | null;
2323
2322
  }[];
2323
+ exploreName: string;
2324
2324
  }>;
2325
2325
  chartConfig: z.ZodNullable<z.ZodObject<{
2326
2326
  defaultVizType: z.ZodEnum<["table", "bar", "horizontal", "line", "scatter", "pie", "funnel"]>;
@@ -2336,28 +2336,28 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
2336
2336
  secondaryYAxisMetric: z.ZodNullable<z.ZodString>;
2337
2337
  secondaryYAxisLabel: z.ZodNullable<z.ZodString>;
2338
2338
  }, "strip", z.ZodTypeAny, {
2339
- groupBy: string[] | null;
2340
2339
  stackBars: boolean | null;
2341
- xAxisType: "time" | "category" | null;
2340
+ xAxisType: "category" | "time" | null;
2342
2341
  xAxisLabel: string;
2343
2342
  yAxisLabel: string;
2344
2343
  lineType: "line" | "area" | null;
2345
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
2344
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
2346
2345
  xAxisDimension: string | null;
2347
2346
  yAxisMetrics: string[] | null;
2347
+ groupBy: string[] | null;
2348
2348
  funnelDataInput: "row" | "column" | null;
2349
2349
  secondaryYAxisMetric: string | null;
2350
2350
  secondaryYAxisLabel: string | null;
2351
2351
  }, {
2352
- groupBy: string[] | null;
2353
2352
  stackBars: boolean | null;
2354
- xAxisType: "time" | "category" | null;
2353
+ xAxisType: "category" | "time" | null;
2355
2354
  xAxisLabel: string;
2356
2355
  yAxisLabel: string;
2357
2356
  lineType: "line" | "area" | null;
2358
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
2357
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
2359
2358
  xAxisDimension: string | null;
2360
2359
  yAxisMetrics: string[] | null;
2360
+ groupBy: string[] | null;
2361
2361
  funnelDataInput: "row" | "column" | null;
2362
2362
  secondaryYAxisMetric: string | null;
2363
2363
  secondaryYAxisLabel: string | null;
@@ -3479,6 +3479,7 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
3479
3479
  partitionBy: string[] | null;
3480
3480
  windowFunction: import("../../../..").WindowFunctionType;
3481
3481
  frame: {
3482
+ frameType: "rows" | "range";
3482
3483
  start: {
3483
3484
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3484
3485
  offset: number | null;
@@ -3487,7 +3488,6 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
3487
3488
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3488
3489
  offset: number | null;
3489
3490
  };
3490
- frameType: "rows" | "range";
3491
3491
  } | null;
3492
3492
  })[] | null;
3493
3493
  type: AiResultType.QUERY_RESULT;
@@ -3698,19 +3698,20 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
3698
3698
  type: "and" | "or";
3699
3699
  } | null;
3700
3700
  chartConfig: {
3701
- groupBy: string[] | null;
3702
3701
  stackBars: boolean | null;
3703
- xAxisType: "time" | "category" | null;
3702
+ xAxisType: "category" | "time" | null;
3704
3703
  xAxisLabel: string;
3705
3704
  yAxisLabel: string;
3706
3705
  lineType: "line" | "area" | null;
3707
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
3706
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
3708
3707
  xAxisDimension: string | null;
3709
3708
  yAxisMetrics: string[] | null;
3709
+ groupBy: string[] | null;
3710
3710
  funnelDataInput: "row" | "column" | null;
3711
3711
  secondaryYAxisMetric: string | null;
3712
3712
  secondaryYAxisLabel: string | null;
3713
3713
  } | null;
3714
+ title: string;
3714
3715
  customMetrics: {
3715
3716
  baseDimensionName: string;
3716
3717
  name: string;
@@ -3719,17 +3720,16 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
3719
3720
  type: import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.MEDIAN;
3720
3721
  description: string;
3721
3722
  }[] | null;
3722
- title: string;
3723
3723
  queryConfig: {
3724
3724
  dimensions: string[];
3725
3725
  metrics: string[];
3726
3726
  limit: number | null;
3727
- exploreName: string;
3728
3727
  sorts: {
3729
3728
  fieldId: string;
3730
3729
  descending: boolean;
3731
3730
  nullsFirst: boolean | null;
3732
3731
  }[];
3732
+ exploreName: string;
3733
3733
  };
3734
3734
  }, {
3735
3735
  tableCalculations: ({
@@ -3778,6 +3778,7 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
3778
3778
  partitionBy: string[] | null;
3779
3779
  windowFunction: import("../../../..").WindowFunctionType;
3780
3780
  frame: {
3781
+ frameType: "rows" | "range";
3781
3782
  start: {
3782
3783
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3783
3784
  offset: number | null;
@@ -3786,7 +3787,6 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
3786
3787
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3787
3788
  offset: number | null;
3788
3789
  };
3789
- frameType: "rows" | "range";
3790
3790
  } | null;
3791
3791
  })[] | null;
3792
3792
  type: AiResultType.QUERY_RESULT;
@@ -3997,19 +3997,20 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
3997
3997
  type: "and" | "or";
3998
3998
  } | null;
3999
3999
  chartConfig: {
4000
- groupBy: string[] | null;
4001
4000
  stackBars: boolean | null;
4002
- xAxisType: "time" | "category" | null;
4001
+ xAxisType: "category" | "time" | null;
4003
4002
  xAxisLabel: string;
4004
4003
  yAxisLabel: string;
4005
4004
  lineType: "line" | "area" | null;
4006
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
4005
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
4007
4006
  xAxisDimension: string | null;
4008
4007
  yAxisMetrics: string[] | null;
4008
+ groupBy: string[] | null;
4009
4009
  funnelDataInput: "row" | "column" | null;
4010
4010
  secondaryYAxisMetric: string | null;
4011
4011
  secondaryYAxisLabel: string | null;
4012
4012
  } | null;
4013
+ title: string;
4013
4014
  customMetrics: {
4014
4015
  name: string;
4015
4016
  label: string;
@@ -4018,17 +4019,16 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
4018
4019
  description: string;
4019
4020
  baseDimensionName: string;
4020
4021
  }[] | null;
4021
- title: string;
4022
4022
  queryConfig: {
4023
4023
  dimensions: string[];
4024
4024
  metrics: string[];
4025
4025
  limit: number | null;
4026
- exploreName: string;
4027
4026
  sorts: {
4028
4027
  fieldId: string;
4029
4028
  descending: boolean;
4030
4029
  nullsFirst: boolean | null;
4031
4030
  }[];
4031
+ exploreName: string;
4032
4032
  };
4033
4033
  }>, "many">;
4034
4034
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -4082,6 +4082,7 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
4082
4082
  partitionBy: string[] | null;
4083
4083
  windowFunction: import("../../../..").WindowFunctionType;
4084
4084
  frame: {
4085
+ frameType: "rows" | "range";
4085
4086
  start: {
4086
4087
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4087
4088
  offset: number | null;
@@ -4090,7 +4091,6 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
4090
4091
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4091
4092
  offset: number | null;
4092
4093
  };
4093
- frameType: "rows" | "range";
4094
4094
  } | null;
4095
4095
  })[] | null;
4096
4096
  type: AiResultType.QUERY_RESULT;
@@ -4301,19 +4301,20 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
4301
4301
  type: "and" | "or";
4302
4302
  } | null;
4303
4303
  chartConfig: {
4304
- groupBy: string[] | null;
4305
4304
  stackBars: boolean | null;
4306
- xAxisType: "time" | "category" | null;
4305
+ xAxisType: "category" | "time" | null;
4307
4306
  xAxisLabel: string;
4308
4307
  yAxisLabel: string;
4309
4308
  lineType: "line" | "area" | null;
4310
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
4309
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
4311
4310
  xAxisDimension: string | null;
4312
4311
  yAxisMetrics: string[] | null;
4312
+ groupBy: string[] | null;
4313
4313
  funnelDataInput: "row" | "column" | null;
4314
4314
  secondaryYAxisMetric: string | null;
4315
4315
  secondaryYAxisLabel: string | null;
4316
4316
  } | null;
4317
+ title: string;
4317
4318
  customMetrics: {
4318
4319
  baseDimensionName: string;
4319
4320
  name: string;
@@ -4322,17 +4323,16 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
4322
4323
  type: import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.MEDIAN;
4323
4324
  description: string;
4324
4325
  }[] | null;
4325
- title: string;
4326
4326
  queryConfig: {
4327
4327
  dimensions: string[];
4328
4328
  metrics: string[];
4329
4329
  limit: number | null;
4330
- exploreName: string;
4331
4330
  sorts: {
4332
4331
  fieldId: string;
4333
4332
  descending: boolean;
4334
4333
  nullsFirst: boolean | null;
4335
4334
  }[];
4335
+ exploreName: string;
4336
4336
  };
4337
4337
  }[];
4338
4338
  }, {
@@ -4386,6 +4386,7 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
4386
4386
  partitionBy: string[] | null;
4387
4387
  windowFunction: import("../../../..").WindowFunctionType;
4388
4388
  frame: {
4389
+ frameType: "rows" | "range";
4389
4390
  start: {
4390
4391
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4391
4392
  offset: number | null;
@@ -4394,7 +4395,6 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
4394
4395
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4395
4396
  offset: number | null;
4396
4397
  };
4397
- frameType: "rows" | "range";
4398
4398
  } | null;
4399
4399
  })[] | null;
4400
4400
  type: AiResultType.QUERY_RESULT;
@@ -4605,19 +4605,20 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
4605
4605
  type: "and" | "or";
4606
4606
  } | null;
4607
4607
  chartConfig: {
4608
- groupBy: string[] | null;
4609
4608
  stackBars: boolean | null;
4610
- xAxisType: "time" | "category" | null;
4609
+ xAxisType: "category" | "time" | null;
4611
4610
  xAxisLabel: string;
4612
4611
  yAxisLabel: string;
4613
4612
  lineType: "line" | "area" | null;
4614
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
4613
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
4615
4614
  xAxisDimension: string | null;
4616
4615
  yAxisMetrics: string[] | null;
4616
+ groupBy: string[] | null;
4617
4617
  funnelDataInput: "row" | "column" | null;
4618
4618
  secondaryYAxisMetric: string | null;
4619
4619
  secondaryYAxisLabel: string | null;
4620
4620
  } | null;
4621
+ title: string;
4621
4622
  customMetrics: {
4622
4623
  name: string;
4623
4624
  label: string;
@@ -4626,17 +4627,16 @@ export declare const toolDashboardV2ArgsSchema: z.ZodObject<{
4626
4627
  description: string;
4627
4628
  baseDimensionName: string;
4628
4629
  }[] | null;
4629
- title: string;
4630
4630
  queryConfig: {
4631
4631
  dimensions: string[];
4632
4632
  metrics: string[];
4633
4633
  limit: number | null;
4634
- exploreName: string;
4635
4634
  sorts: {
4636
4635
  fieldId: string;
4637
4636
  descending: boolean;
4638
4637
  nullsFirst: boolean | null;
4639
4638
  }[];
4639
+ exploreName: string;
4640
4640
  };
4641
4641
  }[];
4642
4642
  }>;
@@ -4845,6 +4845,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
4845
4845
  offset: number | null;
4846
4846
  }>;
4847
4847
  }, "strip", z.ZodTypeAny, {
4848
+ frameType: "rows" | "range";
4848
4849
  start: {
4849
4850
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4850
4851
  offset: number | null;
@@ -4853,8 +4854,8 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
4853
4854
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4854
4855
  offset: number | null;
4855
4856
  };
4856
- frameType: "rows" | "range";
4857
4857
  }, {
4858
+ frameType: "rows" | "range";
4858
4859
  start: {
4859
4860
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4860
4861
  offset: number | null;
@@ -4863,7 +4864,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
4863
4864
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4864
4865
  offset: number | null;
4865
4866
  };
4866
- frameType: "rows" | "range";
4867
4867
  }>>;
4868
4868
  }, "strip", z.ZodTypeAny, {
4869
4869
  name: string;
@@ -4877,6 +4877,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
4877
4877
  partitionBy: string[] | null;
4878
4878
  windowFunction: import("../../../..").WindowFunctionType;
4879
4879
  frame: {
4880
+ frameType: "rows" | "range";
4880
4881
  start: {
4881
4882
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4882
4883
  offset: number | null;
@@ -4885,7 +4886,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
4885
4886
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4886
4887
  offset: number | null;
4887
4888
  };
4888
- frameType: "rows" | "range";
4889
4889
  } | null;
4890
4890
  }, {
4891
4891
  name: string;
@@ -4899,6 +4899,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
4899
4899
  partitionBy: string[] | null;
4900
4900
  windowFunction: import("../../../..").WindowFunctionType;
4901
4901
  frame: {
4902
+ frameType: "rows" | "range";
4902
4903
  start: {
4903
4904
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4904
4905
  offset: number | null;
@@ -4907,7 +4908,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
4907
4908
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4908
4909
  offset: number | null;
4909
4910
  };
4910
- frameType: "rows" | "range";
4911
4911
  } | null;
4912
4912
  }>]>, "many">>;
4913
4913
  queryConfig: z.ZodObject<{
@@ -4932,22 +4932,22 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
4932
4932
  dimensions: string[];
4933
4933
  metrics: string[];
4934
4934
  limit: number | null;
4935
- exploreName: string;
4936
4935
  sorts: {
4937
4936
  fieldId: string;
4938
4937
  descending: boolean;
4939
4938
  nullsFirst: boolean | null;
4940
4939
  }[];
4940
+ exploreName: string;
4941
4941
  }, {
4942
4942
  dimensions: string[];
4943
4943
  metrics: string[];
4944
4944
  limit: number | null;
4945
- exploreName: string;
4946
4945
  sorts: {
4947
4946
  fieldId: string;
4948
4947
  descending: boolean;
4949
4948
  nullsFirst: boolean | null;
4950
4949
  }[];
4950
+ exploreName: string;
4951
4951
  }>;
4952
4952
  chartConfig: z.ZodNullable<z.ZodObject<{
4953
4953
  defaultVizType: z.ZodEnum<["table", "bar", "horizontal", "line", "scatter", "pie", "funnel"]>;
@@ -4963,28 +4963,28 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
4963
4963
  secondaryYAxisMetric: z.ZodNullable<z.ZodString>;
4964
4964
  secondaryYAxisLabel: z.ZodNullable<z.ZodString>;
4965
4965
  }, "strip", z.ZodTypeAny, {
4966
- groupBy: string[] | null;
4967
4966
  stackBars: boolean | null;
4968
- xAxisType: "time" | "category" | null;
4967
+ xAxisType: "category" | "time" | null;
4969
4968
  xAxisLabel: string;
4970
4969
  yAxisLabel: string;
4971
4970
  lineType: "line" | "area" | null;
4972
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
4971
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
4973
4972
  xAxisDimension: string | null;
4974
4973
  yAxisMetrics: string[] | null;
4974
+ groupBy: string[] | null;
4975
4975
  funnelDataInput: "row" | "column" | null;
4976
4976
  secondaryYAxisMetric: string | null;
4977
4977
  secondaryYAxisLabel: string | null;
4978
4978
  }, {
4979
- groupBy: string[] | null;
4980
4979
  stackBars: boolean | null;
4981
- xAxisType: "time" | "category" | null;
4980
+ xAxisType: "category" | "time" | null;
4982
4981
  xAxisLabel: string;
4983
4982
  yAxisLabel: string;
4984
4983
  lineType: "line" | "area" | null;
4985
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
4984
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
4986
4985
  xAxisDimension: string | null;
4987
4986
  yAxisMetrics: string[] | null;
4987
+ groupBy: string[] | null;
4988
4988
  funnelDataInput: "row" | "column" | null;
4989
4989
  secondaryYAxisMetric: string | null;
4990
4990
  secondaryYAxisLabel: string | null;
@@ -6106,6 +6106,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6106
6106
  partitionBy: string[] | null;
6107
6107
  windowFunction: import("../../../..").WindowFunctionType;
6108
6108
  frame: {
6109
+ frameType: "rows" | "range";
6109
6110
  start: {
6110
6111
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
6111
6112
  offset: number | null;
@@ -6114,7 +6115,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6114
6115
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
6115
6116
  offset: number | null;
6116
6117
  };
6117
- frameType: "rows" | "range";
6118
6118
  } | null;
6119
6119
  })[] | null;
6120
6120
  type: AiResultType.QUERY_RESULT;
@@ -6325,19 +6325,20 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6325
6325
  type: "and" | "or";
6326
6326
  } | null;
6327
6327
  chartConfig: {
6328
- groupBy: string[] | null;
6329
6328
  stackBars: boolean | null;
6330
- xAxisType: "time" | "category" | null;
6329
+ xAxisType: "category" | "time" | null;
6331
6330
  xAxisLabel: string;
6332
6331
  yAxisLabel: string;
6333
6332
  lineType: "line" | "area" | null;
6334
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
6333
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
6335
6334
  xAxisDimension: string | null;
6336
6335
  yAxisMetrics: string[] | null;
6336
+ groupBy: string[] | null;
6337
6337
  funnelDataInput: "row" | "column" | null;
6338
6338
  secondaryYAxisMetric: string | null;
6339
6339
  secondaryYAxisLabel: string | null;
6340
6340
  } | null;
6341
+ title: string;
6341
6342
  customMetrics: {
6342
6343
  baseDimensionName: string;
6343
6344
  name: string;
@@ -6346,17 +6347,16 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6346
6347
  type: import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.MEDIAN;
6347
6348
  description: string;
6348
6349
  }[] | null;
6349
- title: string;
6350
6350
  queryConfig: {
6351
6351
  dimensions: string[];
6352
6352
  metrics: string[];
6353
6353
  limit: number | null;
6354
- exploreName: string;
6355
6354
  sorts: {
6356
6355
  fieldId: string;
6357
6356
  descending: boolean;
6358
6357
  nullsFirst: boolean | null;
6359
6358
  }[];
6359
+ exploreName: string;
6360
6360
  };
6361
6361
  }, {
6362
6362
  tableCalculations: ({
@@ -6405,6 +6405,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6405
6405
  partitionBy: string[] | null;
6406
6406
  windowFunction: import("../../../..").WindowFunctionType;
6407
6407
  frame: {
6408
+ frameType: "rows" | "range";
6408
6409
  start: {
6409
6410
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
6410
6411
  offset: number | null;
@@ -6413,7 +6414,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6413
6414
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
6414
6415
  offset: number | null;
6415
6416
  };
6416
- frameType: "rows" | "range";
6417
6417
  } | null;
6418
6418
  })[] | null;
6419
6419
  type: AiResultType.QUERY_RESULT;
@@ -6624,19 +6624,20 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6624
6624
  type: "and" | "or";
6625
6625
  } | null;
6626
6626
  chartConfig: {
6627
- groupBy: string[] | null;
6628
6627
  stackBars: boolean | null;
6629
- xAxisType: "time" | "category" | null;
6628
+ xAxisType: "category" | "time" | null;
6630
6629
  xAxisLabel: string;
6631
6630
  yAxisLabel: string;
6632
6631
  lineType: "line" | "area" | null;
6633
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
6632
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
6634
6633
  xAxisDimension: string | null;
6635
6634
  yAxisMetrics: string[] | null;
6635
+ groupBy: string[] | null;
6636
6636
  funnelDataInput: "row" | "column" | null;
6637
6637
  secondaryYAxisMetric: string | null;
6638
6638
  secondaryYAxisLabel: string | null;
6639
6639
  } | null;
6640
+ title: string;
6640
6641
  customMetrics: {
6641
6642
  name: string;
6642
6643
  label: string;
@@ -6645,17 +6646,16 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6645
6646
  description: string;
6646
6647
  baseDimensionName: string;
6647
6648
  }[] | null;
6648
- title: string;
6649
6649
  queryConfig: {
6650
6650
  dimensions: string[];
6651
6651
  metrics: string[];
6652
6652
  limit: number | null;
6653
- exploreName: string;
6654
6653
  sorts: {
6655
6654
  fieldId: string;
6656
6655
  descending: boolean;
6657
6656
  nullsFirst: boolean | null;
6658
6657
  }[];
6658
+ exploreName: string;
6659
6659
  };
6660
6660
  }>, "many">;
6661
6661
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -6709,6 +6709,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6709
6709
  partitionBy: string[] | null;
6710
6710
  windowFunction: import("../../../..").WindowFunctionType;
6711
6711
  frame: {
6712
+ frameType: "rows" | "range";
6712
6713
  start: {
6713
6714
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
6714
6715
  offset: number | null;
@@ -6717,7 +6718,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6717
6718
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
6718
6719
  offset: number | null;
6719
6720
  };
6720
- frameType: "rows" | "range";
6721
6721
  } | null;
6722
6722
  })[] | null;
6723
6723
  type: AiResultType.QUERY_RESULT;
@@ -6928,19 +6928,20 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6928
6928
  type: "and" | "or";
6929
6929
  } | null;
6930
6930
  chartConfig: {
6931
- groupBy: string[] | null;
6932
6931
  stackBars: boolean | null;
6933
- xAxisType: "time" | "category" | null;
6932
+ xAxisType: "category" | "time" | null;
6934
6933
  xAxisLabel: string;
6935
6934
  yAxisLabel: string;
6936
6935
  lineType: "line" | "area" | null;
6937
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
6936
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
6938
6937
  xAxisDimension: string | null;
6939
6938
  yAxisMetrics: string[] | null;
6939
+ groupBy: string[] | null;
6940
6940
  funnelDataInput: "row" | "column" | null;
6941
6941
  secondaryYAxisMetric: string | null;
6942
6942
  secondaryYAxisLabel: string | null;
6943
6943
  } | null;
6944
+ title: string;
6944
6945
  customMetrics: {
6945
6946
  baseDimensionName: string;
6946
6947
  name: string;
@@ -6949,17 +6950,16 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6949
6950
  type: import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.MEDIAN;
6950
6951
  description: string;
6951
6952
  }[] | null;
6952
- title: string;
6953
6953
  queryConfig: {
6954
6954
  dimensions: string[];
6955
6955
  metrics: string[];
6956
6956
  limit: number | null;
6957
- exploreName: string;
6958
6957
  sorts: {
6959
6958
  fieldId: string;
6960
6959
  descending: boolean;
6961
6960
  nullsFirst: boolean | null;
6962
6961
  }[];
6962
+ exploreName: string;
6963
6963
  };
6964
6964
  }[];
6965
6965
  }, {
@@ -7013,6 +7013,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
7013
7013
  partitionBy: string[] | null;
7014
7014
  windowFunction: import("../../../..").WindowFunctionType;
7015
7015
  frame: {
7016
+ frameType: "rows" | "range";
7016
7017
  start: {
7017
7018
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
7018
7019
  offset: number | null;
@@ -7021,7 +7022,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
7021
7022
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
7022
7023
  offset: number | null;
7023
7024
  };
7024
- frameType: "rows" | "range";
7025
7025
  } | null;
7026
7026
  })[] | null;
7027
7027
  type: AiResultType.QUERY_RESULT;
@@ -7232,19 +7232,20 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
7232
7232
  type: "and" | "or";
7233
7233
  } | null;
7234
7234
  chartConfig: {
7235
- groupBy: string[] | null;
7236
7235
  stackBars: boolean | null;
7237
- xAxisType: "time" | "category" | null;
7236
+ xAxisType: "category" | "time" | null;
7238
7237
  xAxisLabel: string;
7239
7238
  yAxisLabel: string;
7240
7239
  lineType: "line" | "area" | null;
7241
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
7240
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
7242
7241
  xAxisDimension: string | null;
7243
7242
  yAxisMetrics: string[] | null;
7243
+ groupBy: string[] | null;
7244
7244
  funnelDataInput: "row" | "column" | null;
7245
7245
  secondaryYAxisMetric: string | null;
7246
7246
  secondaryYAxisLabel: string | null;
7247
7247
  } | null;
7248
+ title: string;
7248
7249
  customMetrics: {
7249
7250
  name: string;
7250
7251
  label: string;
@@ -7253,17 +7254,16 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
7253
7254
  description: string;
7254
7255
  baseDimensionName: string;
7255
7256
  }[] | null;
7256
- title: string;
7257
7257
  queryConfig: {
7258
7258
  dimensions: string[];
7259
7259
  metrics: string[];
7260
7260
  limit: number | null;
7261
- exploreName: string;
7262
7261
  sorts: {
7263
7262
  fieldId: string;
7264
7263
  descending: boolean;
7265
7264
  nullsFirst: boolean | null;
7266
7265
  }[];
7266
+ exploreName: string;
7267
7267
  };
7268
7268
  }[];
7269
7269
  }>, {
@@ -7315,6 +7315,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
7315
7315
  partitionBy: string[] | null;
7316
7316
  windowFunction: import("../../../..").WindowFunctionType;
7317
7317
  frame: {
7318
+ frameType: "rows" | "range";
7318
7319
  start: {
7319
7320
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
7320
7321
  offset: number | null;
@@ -7323,25 +7324,25 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
7323
7324
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
7324
7325
  offset: number | null;
7325
7326
  };
7326
- frameType: "rows" | "range";
7327
7327
  } | null;
7328
7328
  })[] | null;
7329
7329
  type: AiResultType.QUERY_RESULT;
7330
7330
  description: string;
7331
7331
  chartConfig: {
7332
- groupBy: string[] | null;
7333
7332
  stackBars: boolean | null;
7334
- xAxisType: "time" | "category" | null;
7333
+ xAxisType: "category" | "time" | null;
7335
7334
  xAxisLabel: string;
7336
7335
  yAxisLabel: string;
7337
7336
  lineType: "line" | "area" | null;
7338
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
7337
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
7339
7338
  xAxisDimension: string | null;
7340
7339
  yAxisMetrics: string[] | null;
7340
+ groupBy: string[] | null;
7341
7341
  funnelDataInput: "row" | "column" | null;
7342
7342
  secondaryYAxisMetric: string | null;
7343
7343
  secondaryYAxisLabel: string | null;
7344
7344
  } | null;
7345
+ title: string;
7345
7346
  customMetrics: {
7346
7347
  baseDimensionName: string;
7347
7348
  name: string;
@@ -7350,17 +7351,16 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
7350
7351
  type: import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.MEDIAN;
7351
7352
  description: string;
7352
7353
  }[] | null;
7353
- title: string;
7354
7354
  queryConfig: {
7355
7355
  dimensions: string[];
7356
7356
  metrics: string[];
7357
7357
  limit: number | null;
7358
- exploreName: string;
7359
7358
  sorts: {
7360
7359
  fieldId: string;
7361
7360
  descending: boolean;
7362
7361
  nullsFirst: boolean | null;
7363
7362
  }[];
7363
+ exploreName: string;
7364
7364
  };
7365
7365
  }[];
7366
7366
  type: AiResultType.DASHBOARD_V2_RESULT;
@@ -7417,6 +7417,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
7417
7417
  partitionBy: string[] | null;
7418
7418
  windowFunction: import("../../../..").WindowFunctionType;
7419
7419
  frame: {
7420
+ frameType: "rows" | "range";
7420
7421
  start: {
7421
7422
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
7422
7423
  offset: number | null;
@@ -7425,7 +7426,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
7425
7426
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
7426
7427
  offset: number | null;
7427
7428
  };
7428
- frameType: "rows" | "range";
7429
7429
  } | null;
7430
7430
  })[] | null;
7431
7431
  type: AiResultType.QUERY_RESULT;
@@ -7636,19 +7636,20 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
7636
7636
  type: "and" | "or";
7637
7637
  } | null;
7638
7638
  chartConfig: {
7639
- groupBy: string[] | null;
7640
7639
  stackBars: boolean | null;
7641
- xAxisType: "time" | "category" | null;
7640
+ xAxisType: "category" | "time" | null;
7642
7641
  xAxisLabel: string;
7643
7642
  yAxisLabel: string;
7644
7643
  lineType: "line" | "area" | null;
7645
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
7644
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
7646
7645
  xAxisDimension: string | null;
7647
7646
  yAxisMetrics: string[] | null;
7647
+ groupBy: string[] | null;
7648
7648
  funnelDataInput: "row" | "column" | null;
7649
7649
  secondaryYAxisMetric: string | null;
7650
7650
  secondaryYAxisLabel: string | null;
7651
7651
  } | null;
7652
+ title: string;
7652
7653
  customMetrics: {
7653
7654
  name: string;
7654
7655
  label: string;
@@ -7657,17 +7658,16 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodEffects<z.ZodObj
7657
7658
  description: string;
7658
7659
  baseDimensionName: string;
7659
7660
  }[] | null;
7660
- title: string;
7661
7661
  queryConfig: {
7662
7662
  dimensions: string[];
7663
7663
  metrics: string[];
7664
7664
  limit: number | null;
7665
- exploreName: string;
7666
7665
  sorts: {
7667
7666
  fieldId: string;
7668
7667
  descending: boolean;
7669
7668
  nullsFirst: boolean | null;
7670
7669
  }[];
7670
+ exploreName: string;
7671
7671
  };
7672
7672
  }[];
7673
7673
  }>;