@lightdash/common 0.2183.1 → 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 (88) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/dbt/schemas/lightdashV20.json +84 -0
  3. package/dist/cjs/dbt/schemas/manifestV20.json +22567 -0
  4. package/dist/cjs/dbt/validation.d.ts.map +1 -1
  5. package/dist/cjs/dbt/validation.js +4 -0
  6. package/dist/cjs/dbt/validation.js.map +1 -1
  7. package/dist/cjs/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
  8. package/dist/cjs/ee/AiAgent/schemas/parser.d.ts +54 -54
  9. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
  10. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
  11. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
  12. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
  13. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
  14. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
  15. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
  16. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
  17. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  18. package/dist/cjs/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  19. package/dist/cjs/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  20. package/dist/cjs/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
  21. package/dist/cjs/ee/AiAgent/utils.d.ts +16 -16
  22. package/dist/cjs/types/dbt.d.ts +2 -1
  23. package/dist/cjs/types/dbt.d.ts.map +1 -1
  24. package/dist/cjs/types/dbt.js +2 -0
  25. package/dist/cjs/types/dbt.js.map +1 -1
  26. package/dist/cjs/types/scheduler.d.ts +2 -0
  27. package/dist/cjs/types/scheduler.d.ts.map +1 -1
  28. package/dist/cjs/types/scheduler.js.map +1 -1
  29. package/dist/cjs/utils/i18n/chartAsCode.d.ts +165 -165
  30. package/dist/esm/.tsbuildinfo +1 -1
  31. package/dist/esm/dbt/schemas/lightdashV20.json +84 -0
  32. package/dist/esm/dbt/schemas/manifestV20.json +22567 -0
  33. package/dist/esm/dbt/validation.d.ts.map +1 -1
  34. package/dist/esm/dbt/validation.js +4 -0
  35. package/dist/esm/dbt/validation.js.map +1 -1
  36. package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
  37. package/dist/esm/ee/AiAgent/schemas/parser.d.ts +54 -54
  38. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
  39. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
  40. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
  41. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
  42. package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
  43. package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
  44. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
  45. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
  46. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  47. package/dist/esm/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  48. package/dist/esm/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  49. package/dist/esm/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
  50. package/dist/esm/ee/AiAgent/utils.d.ts +16 -16
  51. package/dist/esm/types/dbt.d.ts +2 -1
  52. package/dist/esm/types/dbt.d.ts.map +1 -1
  53. package/dist/esm/types/dbt.js +2 -0
  54. package/dist/esm/types/dbt.js.map +1 -1
  55. package/dist/esm/types/scheduler.d.ts +2 -0
  56. package/dist/esm/types/scheduler.d.ts.map +1 -1
  57. package/dist/esm/types/scheduler.js.map +1 -1
  58. package/dist/esm/utils/i18n/chartAsCode.d.ts +165 -165
  59. package/dist/types/.tsbuildinfo +1 -1
  60. package/dist/types/dbt/schemas/lightdashV20.json +84 -0
  61. package/dist/types/dbt/schemas/manifestV20.json +22567 -0
  62. package/dist/types/dbt/validation.d.ts.map +1 -1
  63. package/dist/types/dbt/validation.js +4 -0
  64. package/dist/types/dbt/validation.js.map +1 -1
  65. package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
  66. package/dist/types/ee/AiAgent/schemas/parser.d.ts +54 -54
  67. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
  68. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
  69. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
  70. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
  71. package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
  72. package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
  73. package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
  74. package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
  75. package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
  76. package/dist/types/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  77. package/dist/types/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  78. package/dist/types/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
  79. package/dist/types/ee/AiAgent/utils.d.ts +16 -16
  80. package/dist/types/types/dbt.d.ts +2 -1
  81. package/dist/types/types/dbt.d.ts.map +1 -1
  82. package/dist/types/types/dbt.js +2 -0
  83. package/dist/types/types/dbt.js.map +1 -1
  84. package/dist/types/types/scheduler.d.ts +2 -0
  85. package/dist/types/types/scheduler.d.ts.map +1 -1
  86. package/dist/types/types/scheduler.js.map +1 -1
  87. package/dist/types/utils/i18n/chartAsCode.d.ts +165 -165
  88. package/package.json +1 -1
@@ -200,6 +200,7 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 @@ export declare const toolRunQueryArgsSchema: 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 ToolRunQueryArgs = z.infer<typeof toolRunQueryArgsSchema>;
@@ -2038,22 +2038,22 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
2038
2038
  dimensions: string[];
2039
2039
  metrics: string[];
2040
2040
  limit: number | null;
2041
- exploreName: string;
2042
2041
  sorts: {
2043
2042
  fieldId: string;
2044
2043
  descending: boolean;
2045
2044
  nullsFirst: boolean | null;
2046
2045
  }[];
2046
+ exploreName: string;
2047
2047
  }, {
2048
2048
  dimensions: string[];
2049
2049
  metrics: string[];
2050
2050
  limit: number | null;
2051
- exploreName: string;
2052
2051
  sorts: {
2053
2052
  fieldId: string;
2054
2053
  descending: boolean;
2055
2054
  nullsFirst: boolean | null;
2056
2055
  }[];
2056
+ exploreName: string;
2057
2057
  }>;
2058
2058
  filters: z.ZodNullable<z.ZodObject<{
2059
2059
  type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
@@ -3322,6 +3322,7 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3322
3322
  offset: number | null;
3323
3323
  }>;
3324
3324
  }, "strip", z.ZodTypeAny, {
3325
+ frameType: "rows" | "range";
3325
3326
  start: {
3326
3327
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3327
3328
  offset: number | null;
@@ -3330,8 +3331,8 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3330
3331
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3331
3332
  offset: number | null;
3332
3333
  };
3333
- frameType: "rows" | "range";
3334
3334
  }, {
3335
+ frameType: "rows" | "range";
3335
3336
  start: {
3336
3337
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3337
3338
  offset: number | null;
@@ -3340,7 +3341,6 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3340
3341
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3341
3342
  offset: number | null;
3342
3343
  };
3343
- frameType: "rows" | "range";
3344
3344
  }>>;
3345
3345
  }, "strip", z.ZodTypeAny, {
3346
3346
  name: string;
@@ -3354,6 +3354,7 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3354
3354
  partitionBy: string[] | null;
3355
3355
  windowFunction: import("../../../..").WindowFunctionType;
3356
3356
  frame: {
3357
+ frameType: "rows" | "range";
3357
3358
  start: {
3358
3359
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3359
3360
  offset: number | null;
@@ -3362,7 +3363,6 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3362
3363
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3363
3364
  offset: number | null;
3364
3365
  };
3365
- frameType: "rows" | "range";
3366
3366
  } | null;
3367
3367
  }, {
3368
3368
  name: string;
@@ -3376,6 +3376,7 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3376
3376
  partitionBy: string[] | null;
3377
3377
  windowFunction: import("../../../..").WindowFunctionType;
3378
3378
  frame: {
3379
+ frameType: "rows" | "range";
3379
3380
  start: {
3380
3381
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3381
3382
  offset: number | null;
@@ -3384,7 +3385,6 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3384
3385
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3385
3386
  offset: number | null;
3386
3387
  };
3387
- frameType: "rows" | "range";
3388
3388
  } | null;
3389
3389
  }>]>, "many">>>;
3390
3390
  chartConfig: z.ZodDefault<z.ZodNullable<z.ZodObject<{
@@ -3401,28 +3401,28 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3401
3401
  secondaryYAxisMetric: z.ZodNullable<z.ZodString>;
3402
3402
  secondaryYAxisLabel: z.ZodNullable<z.ZodString>;
3403
3403
  }, "strip", z.ZodTypeAny, {
3404
- groupBy: string[] | null;
3405
3404
  stackBars: boolean | null;
3406
- xAxisType: "time" | "category" | null;
3405
+ xAxisType: "category" | "time" | null;
3407
3406
  xAxisLabel: string;
3408
3407
  yAxisLabel: string;
3409
3408
  lineType: "line" | "area" | null;
3410
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
3409
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
3411
3410
  xAxisDimension: string | null;
3412
3411
  yAxisMetrics: string[] | null;
3412
+ groupBy: string[] | null;
3413
3413
  funnelDataInput: "row" | "column" | null;
3414
3414
  secondaryYAxisMetric: string | null;
3415
3415
  secondaryYAxisLabel: string | null;
3416
3416
  }, {
3417
- groupBy: string[] | null;
3418
3417
  stackBars: boolean | null;
3419
- xAxisType: "time" | "category" | null;
3418
+ xAxisType: "category" | "time" | null;
3420
3419
  xAxisLabel: string;
3421
3420
  yAxisLabel: string;
3422
3421
  lineType: "line" | "area" | null;
3423
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
3422
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
3424
3423
  xAxisDimension: string | null;
3425
3424
  yAxisMetrics: string[] | null;
3425
+ groupBy: string[] | null;
3426
3426
  funnelDataInput: "row" | "column" | null;
3427
3427
  secondaryYAxisMetric: string | null;
3428
3428
  secondaryYAxisLabel: string | null;
@@ -3474,6 +3474,7 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3474
3474
  partitionBy: string[] | null;
3475
3475
  windowFunction: import("../../../..").WindowFunctionType;
3476
3476
  frame: {
3477
+ frameType: "rows" | "range";
3477
3478
  start: {
3478
3479
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3479
3480
  offset: number | null;
@@ -3482,7 +3483,6 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3482
3483
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3483
3484
  offset: number | null;
3484
3485
  };
3485
- frameType: "rows" | "range";
3486
3486
  } | null;
3487
3487
  })[] | null;
3488
3488
  type: AiResultType.QUERY_RESULT;
@@ -3693,19 +3693,20 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3693
3693
  type: "and" | "or";
3694
3694
  } | null;
3695
3695
  chartConfig: {
3696
- groupBy: string[] | null;
3697
3696
  stackBars: boolean | null;
3698
- xAxisType: "time" | "category" | null;
3697
+ xAxisType: "category" | "time" | null;
3699
3698
  xAxisLabel: string;
3700
3699
  yAxisLabel: string;
3701
3700
  lineType: "line" | "area" | null;
3702
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
3701
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
3703
3702
  xAxisDimension: string | null;
3704
3703
  yAxisMetrics: string[] | null;
3704
+ groupBy: string[] | null;
3705
3705
  funnelDataInput: "row" | "column" | null;
3706
3706
  secondaryYAxisMetric: string | null;
3707
3707
  secondaryYAxisLabel: string | null;
3708
3708
  } | null;
3709
+ title: string;
3709
3710
  customMetrics: {
3710
3711
  baseDimensionName: string;
3711
3712
  name: string;
@@ -3714,17 +3715,16 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3714
3715
  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;
3715
3716
  description: string;
3716
3717
  }[] | null;
3717
- title: string;
3718
3718
  queryConfig: {
3719
3719
  dimensions: string[];
3720
3720
  metrics: string[];
3721
3721
  limit: number | null;
3722
- exploreName: string;
3723
3722
  sorts: {
3724
3723
  fieldId: string;
3725
3724
  descending: boolean;
3726
3725
  nullsFirst: boolean | null;
3727
3726
  }[];
3727
+ exploreName: string;
3728
3728
  };
3729
3729
  }, {
3730
3730
  type: AiResultType.QUERY_RESULT;
@@ -3939,12 +3939,12 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3939
3939
  dimensions: string[];
3940
3940
  metrics: string[];
3941
3941
  limit: number | null;
3942
- exploreName: string;
3943
3942
  sorts: {
3944
3943
  fieldId: string;
3945
3944
  descending: boolean;
3946
3945
  nullsFirst: boolean | null;
3947
3946
  }[];
3947
+ exploreName: string;
3948
3948
  };
3949
3949
  tableCalculations?: ({
3950
3950
  name: string;
@@ -3992,6 +3992,7 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3992
3992
  partitionBy: string[] | null;
3993
3993
  windowFunction: import("../../../..").WindowFunctionType;
3994
3994
  frame: {
3995
+ frameType: "rows" | "range";
3995
3996
  start: {
3996
3997
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
3997
3998
  offset: number | null;
@@ -4000,19 +4001,18 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
4000
4001
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4001
4002
  offset: number | null;
4002
4003
  };
4003
- frameType: "rows" | "range";
4004
4004
  } | null;
4005
4005
  })[] | null | undefined;
4006
4006
  chartConfig?: {
4007
- groupBy: string[] | null;
4008
4007
  stackBars: boolean | null;
4009
- xAxisType: "time" | "category" | null;
4008
+ xAxisType: "category" | "time" | null;
4010
4009
  xAxisLabel: string;
4011
4010
  yAxisLabel: string;
4012
4011
  lineType: "line" | "area" | null;
4013
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
4012
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
4014
4013
  xAxisDimension: string | null;
4015
4014
  yAxisMetrics: string[] | null;
4015
+ groupBy: string[] | null;
4016
4016
  funnelDataInput: "row" | "column" | null;
4017
4017
  secondaryYAxisMetric: string | null;
4018
4018
  secondaryYAxisLabel: string | null;
@@ -4073,6 +4073,7 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
4073
4073
  partitionBy: string[] | null;
4074
4074
  windowFunction: import("../../../..").WindowFunctionType;
4075
4075
  frame: {
4076
+ frameType: "rows" | "range";
4076
4077
  start: {
4077
4078
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4078
4079
  offset: number | null;
@@ -4081,25 +4082,25 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
4081
4082
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
4082
4083
  offset: number | null;
4083
4084
  };
4084
- frameType: "rows" | "range";
4085
4085
  } | null;
4086
4086
  })[] | null;
4087
4087
  type: AiResultType.QUERY_RESULT;
4088
4088
  description: string;
4089
4089
  chartConfig: {
4090
- groupBy: string[] | null;
4091
4090
  stackBars: boolean | null;
4092
- xAxisType: "time" | "category" | null;
4091
+ xAxisType: "category" | "time" | null;
4093
4092
  xAxisLabel: string;
4094
4093
  yAxisLabel: string;
4095
4094
  lineType: "line" | "area" | null;
4096
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
4095
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
4097
4096
  xAxisDimension: string | null;
4098
4097
  yAxisMetrics: string[] | null;
4098
+ groupBy: string[] | null;
4099
4099
  funnelDataInput: "row" | "column" | null;
4100
4100
  secondaryYAxisMetric: string | null;
4101
4101
  secondaryYAxisLabel: string | null;
4102
4102
  } | null;
4103
+ title: string;
4103
4104
  customMetrics: {
4104
4105
  baseDimensionName: string;
4105
4106
  name: string;
@@ -4108,17 +4109,16 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
4108
4109
  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;
4109
4110
  description: string;
4110
4111
  }[] | null;
4111
- title: string;
4112
4112
  queryConfig: {
4113
4113
  dimensions: string[];
4114
4114
  metrics: string[];
4115
4115
  limit: number | null;
4116
- exploreName: string;
4117
4116
  sorts: {
4118
4117
  fieldId: string;
4119
4118
  descending: boolean;
4120
4119
  nullsFirst: boolean | null;
4121
4120
  }[];
4121
+ exploreName: string;
4122
4122
  };
4123
4123
  }, {
4124
4124
  type: AiResultType.QUERY_RESULT;
@@ -4333,12 +4333,12 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
4333
4333
  dimensions: string[];
4334
4334
  metrics: string[];
4335
4335
  limit: number | null;
4336
- exploreName: string;
4337
4336
  sorts: {
4338
4337
  fieldId: string;
4339
4338
  descending: boolean;
4340
4339
  nullsFirst: boolean | null;
4341
4340
  }[];
4341
+ exploreName: string;
4342
4342
  };
4343
4343
  tableCalculations?: ({
4344
4344
  name: string;
@@ -4386,6 +4386,7 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<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,19 +4395,18 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<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 | undefined;
4400
4400
  chartConfig?: {
4401
- groupBy: string[] | null;
4402
4401
  stackBars: boolean | null;
4403
- xAxisType: "time" | "category" | null;
4402
+ xAxisType: "category" | "time" | null;
4404
4403
  xAxisLabel: string;
4405
4404
  yAxisLabel: string;
4406
4405
  lineType: "line" | "area" | null;
4407
- defaultVizType: "table" | "line" | "bar" | "scatter" | "pie" | "funnel" | "horizontal";
4406
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
4408
4407
  xAxisDimension: string | null;
4409
4408
  yAxisMetrics: string[] | null;
4409
+ groupBy: string[] | null;
4410
4410
  funnelDataInput: "row" | "column" | null;
4411
4411
  secondaryYAxisMetric: string | null;
4412
4412
  secondaryYAxisLabel: string | null;