@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
@@ -201,6 +201,7 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
201
201
  offset: number | null;
202
202
  }>;
203
203
  }, "strip", z.ZodTypeAny, {
204
+ frameType: "rows" | "range";
204
205
  start: {
205
206
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
206
207
  offset: number | null;
@@ -209,8 +210,8 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
209
210
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
210
211
  offset: number | null;
211
212
  };
212
- frameType: "rows" | "range";
213
213
  }, {
214
+ frameType: "rows" | "range";
214
215
  start: {
215
216
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
216
217
  offset: number | null;
@@ -219,7 +220,6 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
219
220
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
220
221
  offset: number | null;
221
222
  };
222
- frameType: "rows" | "range";
223
223
  }>>;
224
224
  }, "strip", z.ZodTypeAny, {
225
225
  name: string;
@@ -233,6 +233,7 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
233
233
  partitionBy: string[] | null;
234
234
  windowFunction: import("../../../..").WindowFunctionType;
235
235
  frame: {
236
+ frameType: "rows" | "range";
236
237
  start: {
237
238
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
238
239
  offset: number | null;
@@ -241,7 +242,6 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
241
242
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
242
243
  offset: number | null;
243
244
  };
244
- frameType: "rows" | "range";
245
245
  } | null;
246
246
  }, {
247
247
  name: string;
@@ -255,6 +255,7 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
255
255
  partitionBy: string[] | null;
256
256
  windowFunction: import("../../../..").WindowFunctionType;
257
257
  frame: {
258
+ frameType: "rows" | "range";
258
259
  start: {
259
260
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
260
261
  offset: number | null;
@@ -263,7 +264,6 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
263
264
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
264
265
  offset: number | null;
265
266
  };
266
- frameType: "rows" | "range";
267
267
  } | null;
268
268
  }>]>, "many">>;
269
269
  vizConfig: z.ZodObject<{
@@ -291,32 +291,32 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
291
291
  yAxisLabel: z.ZodNullable<z.ZodString>;
292
292
  }, "strip", z.ZodTypeAny, {
293
293
  limit: number | null;
294
- exploreName: string;
295
294
  sorts: {
296
295
  fieldId: string;
297
296
  descending: boolean;
298
297
  nullsFirst: boolean | null;
299
298
  }[];
299
+ exploreName: string;
300
300
  xDimension: string;
301
301
  yMetrics: string[];
302
302
  breakdownByDimension: string | null;
303
303
  stackBars: boolean | null;
304
- xAxisType: "time" | "category";
304
+ xAxisType: "category" | "time";
305
305
  xAxisLabel: string | null;
306
306
  yAxisLabel: string | null;
307
307
  }, {
308
308
  limit: number | null;
309
- exploreName: string;
310
309
  sorts: {
311
310
  fieldId: string;
312
311
  descending: boolean;
313
312
  nullsFirst: boolean | null;
314
313
  }[];
314
+ exploreName: string;
315
315
  xDimension: string;
316
316
  yMetrics: string[];
317
317
  breakdownByDimension: string | null;
318
318
  stackBars: boolean | null;
319
- xAxisType: "time" | "category";
319
+ xAxisType: "category" | "time";
320
320
  xAxisLabel: string | null;
321
321
  yAxisLabel: string | null;
322
322
  }>;
@@ -1438,6 +1438,7 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
1438
1438
  partitionBy: string[] | null;
1439
1439
  windowFunction: import("../../../..").WindowFunctionType;
1440
1440
  frame: {
1441
+ frameType: "rows" | "range";
1441
1442
  start: {
1442
1443
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
1443
1444
  offset: number | null;
@@ -1446,7 +1447,6 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
1446
1447
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
1447
1448
  offset: number | null;
1448
1449
  };
1449
- frameType: "rows" | "range";
1450
1450
  } | null;
1451
1451
  })[] | null;
1452
1452
  type: AiResultType.VERTICAL_BAR_RESULT;
@@ -1656,6 +1656,7 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
1656
1656
  })[] | null;
1657
1657
  type: "and" | "or";
1658
1658
  } | null;
1659
+ title: string;
1659
1660
  customMetrics: {
1660
1661
  baseDimensionName: string;
1661
1662
  name: string;
@@ -1664,20 +1665,19 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
1664
1665
  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;
1665
1666
  description: string;
1666
1667
  }[] | null;
1667
- title: string;
1668
1668
  vizConfig: {
1669
1669
  limit: number | null;
1670
- exploreName: string;
1671
1670
  sorts: {
1672
1671
  fieldId: string;
1673
1672
  descending: boolean;
1674
1673
  nullsFirst: boolean | null;
1675
1674
  }[];
1675
+ exploreName: string;
1676
1676
  xDimension: string;
1677
1677
  yMetrics: string[];
1678
1678
  breakdownByDimension: string | null;
1679
1679
  stackBars: boolean | null;
1680
- xAxisType: "time" | "category";
1680
+ xAxisType: "category" | "time";
1681
1681
  xAxisLabel: string | null;
1682
1682
  yAxisLabel: string | null;
1683
1683
  };
@@ -1729,6 +1729,7 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
1729
1729
  partitionBy: string[] | null;
1730
1730
  windowFunction: import("../../../..").WindowFunctionType;
1731
1731
  frame: {
1732
+ frameType: "rows" | "range";
1732
1733
  start: {
1733
1734
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
1734
1735
  offset: number | null;
@@ -1737,7 +1738,6 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
1737
1738
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
1738
1739
  offset: number | null;
1739
1740
  };
1740
- frameType: "rows" | "range";
1741
1741
  } | null;
1742
1742
  })[] | null;
1743
1743
  type: AiResultType.VERTICAL_BAR_RESULT;
@@ -1947,6 +1947,7 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
1947
1947
  })[] | null;
1948
1948
  type: "and" | "or";
1949
1949
  } | null;
1950
+ title: string;
1950
1951
  customMetrics: {
1951
1952
  name: string;
1952
1953
  label: string;
@@ -1955,20 +1956,19 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
1955
1956
  description: string;
1956
1957
  baseDimensionName: string;
1957
1958
  }[] | null;
1958
- title: string;
1959
1959
  vizConfig: {
1960
1960
  limit: number | null;
1961
- exploreName: string;
1962
1961
  sorts: {
1963
1962
  fieldId: string;
1964
1963
  descending: boolean;
1965
1964
  nullsFirst: boolean | null;
1966
1965
  }[];
1966
+ exploreName: string;
1967
1967
  xDimension: string;
1968
1968
  yMetrics: string[];
1969
1969
  breakdownByDimension: string | null;
1970
1970
  stackBars: boolean | null;
1971
- xAxisType: "time" | "category";
1971
+ xAxisType: "category" | "time";
1972
1972
  xAxisLabel: string | null;
1973
1973
  yAxisLabel: string | null;
1974
1974
  };
@@ -2002,32 +2002,32 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
2002
2002
  yAxisLabel: z.ZodNullable<z.ZodString>;
2003
2003
  }, "strip", z.ZodTypeAny, {
2004
2004
  limit: number | null;
2005
- exploreName: string;
2006
2005
  sorts: {
2007
2006
  fieldId: string;
2008
2007
  descending: boolean;
2009
2008
  nullsFirst: boolean | null;
2010
2009
  }[];
2010
+ exploreName: string;
2011
2011
  xDimension: string;
2012
2012
  yMetrics: string[];
2013
2013
  breakdownByDimension: string | null;
2014
2014
  stackBars: boolean | null;
2015
- xAxisType: "time" | "category";
2015
+ xAxisType: "category" | "time";
2016
2016
  xAxisLabel: string | null;
2017
2017
  yAxisLabel: string | null;
2018
2018
  }, {
2019
2019
  limit: number | null;
2020
- exploreName: string;
2021
2020
  sorts: {
2022
2021
  fieldId: string;
2023
2022
  descending: boolean;
2024
2023
  nullsFirst: boolean | null;
2025
2024
  }[];
2025
+ exploreName: string;
2026
2026
  xDimension: string;
2027
2027
  yMetrics: string[];
2028
2028
  breakdownByDimension: string | null;
2029
2029
  stackBars: boolean | null;
2030
- xAxisType: "time" | "category";
2030
+ xAxisType: "category" | "time";
2031
2031
  xAxisLabel: string | null;
2032
2032
  yAxisLabel: string | null;
2033
2033
  }>;
@@ -2230,6 +2230,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
2230
2230
  offset: number | null;
2231
2231
  }>;
2232
2232
  }, "strip", z.ZodTypeAny, {
2233
+ frameType: "rows" | "range";
2233
2234
  start: {
2234
2235
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2235
2236
  offset: number | null;
@@ -2238,8 +2239,8 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
2238
2239
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2239
2240
  offset: number | null;
2240
2241
  };
2241
- frameType: "rows" | "range";
2242
2242
  }, {
2243
+ frameType: "rows" | "range";
2243
2244
  start: {
2244
2245
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2245
2246
  offset: number | null;
@@ -2248,7 +2249,6 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
2248
2249
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2249
2250
  offset: number | null;
2250
2251
  };
2251
- frameType: "rows" | "range";
2252
2252
  }>>;
2253
2253
  }, "strip", z.ZodTypeAny, {
2254
2254
  name: string;
@@ -2262,6 +2262,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
2262
2262
  partitionBy: string[] | null;
2263
2263
  windowFunction: import("../../../..").WindowFunctionType;
2264
2264
  frame: {
2265
+ frameType: "rows" | "range";
2265
2266
  start: {
2266
2267
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2267
2268
  offset: number | null;
@@ -2270,7 +2271,6 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
2270
2271
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2271
2272
  offset: number | null;
2272
2273
  };
2273
- frameType: "rows" | "range";
2274
2274
  } | null;
2275
2275
  }, {
2276
2276
  name: string;
@@ -2284,6 +2284,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
2284
2284
  partitionBy: string[] | null;
2285
2285
  windowFunction: import("../../../..").WindowFunctionType;
2286
2286
  frame: {
2287
+ frameType: "rows" | "range";
2287
2288
  start: {
2288
2289
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2289
2290
  offset: number | null;
@@ -2292,7 +2293,6 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
2292
2293
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
2293
2294
  offset: number | null;
2294
2295
  };
2295
- frameType: "rows" | "range";
2296
2296
  } | null;
2297
2297
  }>]>, "many">>>;
2298
2298
  followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.TABLE_RESULT>, z.ZodLiteral<AiResultType.TIME_SERIES_RESULT>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_TABLE>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
@@ -5151,6 +5151,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
5151
5151
  partitionBy: string[] | null;
5152
5152
  windowFunction: import("../../../..").WindowFunctionType;
5153
5153
  frame: {
5154
+ frameType: "rows" | "range";
5154
5155
  start: {
5155
5156
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
5156
5157
  offset: number | null;
@@ -5159,12 +5160,12 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
5159
5160
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
5160
5161
  offset: number | null;
5161
5162
  };
5162
- frameType: "rows" | "range";
5163
5163
  } | null;
5164
5164
  })[] | null;
5165
5165
  type: AiResultType.VERTICAL_BAR_RESULT;
5166
5166
  description: string;
5167
5167
  filters: import("../../../..").Filters;
5168
+ title: string;
5168
5169
  customMetrics: {
5169
5170
  baseDimensionName: string;
5170
5171
  name: string;
@@ -5173,20 +5174,19 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
5173
5174
  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;
5174
5175
  description: string;
5175
5176
  }[] | null;
5176
- title: string;
5177
5177
  vizConfig: {
5178
5178
  limit: number | null;
5179
- exploreName: string;
5180
5179
  sorts: {
5181
5180
  fieldId: string;
5182
5181
  descending: boolean;
5183
5182
  nullsFirst: boolean | null;
5184
5183
  }[];
5184
+ exploreName: string;
5185
5185
  xDimension: string;
5186
5186
  yMetrics: string[];
5187
5187
  breakdownByDimension: string | null;
5188
5188
  stackBars: boolean | null;
5189
- xAxisType: "time" | "category";
5189
+ xAxisType: "category" | "time";
5190
5190
  xAxisLabel: string | null;
5191
5191
  yAxisLabel: string | null;
5192
5192
  };
@@ -5647,17 +5647,17 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
5647
5647
  title: string;
5648
5648
  vizConfig: {
5649
5649
  limit: number | null;
5650
- exploreName: string;
5651
5650
  sorts: {
5652
5651
  fieldId: string;
5653
5652
  descending: boolean;
5654
5653
  nullsFirst: boolean | null;
5655
5654
  }[];
5655
+ exploreName: string;
5656
5656
  xDimension: string;
5657
5657
  yMetrics: string[];
5658
5658
  breakdownByDimension: string | null;
5659
5659
  stackBars: boolean | null;
5660
- xAxisType: "time" | "category";
5660
+ xAxisType: "category" | "time";
5661
5661
  xAxisLabel: string | null;
5662
5662
  yAxisLabel: string | null;
5663
5663
  };
@@ -5708,6 +5708,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
5708
5708
  partitionBy: string[] | null;
5709
5709
  windowFunction: import("../../../..").WindowFunctionType;
5710
5710
  frame: {
5711
+ frameType: "rows" | "range";
5711
5712
  start: {
5712
5713
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
5713
5714
  offset: number | null;
@@ -5716,7 +5717,6 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
5716
5717
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
5717
5718
  offset: number | null;
5718
5719
  };
5719
- frameType: "rows" | "range";
5720
5720
  } | null;
5721
5721
  })[] | null | undefined;
5722
5722
  customMetrics?: {
@@ -5775,6 +5775,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
5775
5775
  partitionBy: string[] | null;
5776
5776
  windowFunction: import("../../../..").WindowFunctionType;
5777
5777
  frame: {
5778
+ frameType: "rows" | "range";
5778
5779
  start: {
5779
5780
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
5780
5781
  offset: number | null;
@@ -5783,12 +5784,12 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
5783
5784
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
5784
5785
  offset: number | null;
5785
5786
  };
5786
- frameType: "rows" | "range";
5787
5787
  } | null;
5788
5788
  })[] | null;
5789
5789
  type: AiResultType.VERTICAL_BAR_RESULT;
5790
5790
  description: string;
5791
5791
  filters: import("../../../..").Filters;
5792
+ title: string;
5792
5793
  customMetrics: {
5793
5794
  baseDimensionName: string;
5794
5795
  name: string;
@@ -5797,20 +5798,19 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
5797
5798
  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;
5798
5799
  description: string;
5799
5800
  }[] | null;
5800
- title: string;
5801
5801
  vizConfig: {
5802
5802
  limit: number | null;
5803
- exploreName: string;
5804
5803
  sorts: {
5805
5804
  fieldId: string;
5806
5805
  descending: boolean;
5807
5806
  nullsFirst: boolean | null;
5808
5807
  }[];
5808
+ exploreName: string;
5809
5809
  xDimension: string;
5810
5810
  yMetrics: string[];
5811
5811
  breakdownByDimension: string | null;
5812
5812
  stackBars: boolean | null;
5813
- xAxisType: "time" | "category";
5813
+ xAxisType: "category" | "time";
5814
5814
  xAxisLabel: string | null;
5815
5815
  yAxisLabel: string | null;
5816
5816
  };
@@ -6270,17 +6270,17 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6270
6270
  title: string;
6271
6271
  vizConfig: {
6272
6272
  limit: number | null;
6273
- exploreName: string;
6274
6273
  sorts: {
6275
6274
  fieldId: string;
6276
6275
  descending: boolean;
6277
6276
  nullsFirst: boolean | null;
6278
6277
  }[];
6278
+ exploreName: string;
6279
6279
  xDimension: string;
6280
6280
  yMetrics: string[];
6281
6281
  breakdownByDimension: string | null;
6282
6282
  stackBars: boolean | null;
6283
- xAxisType: "time" | "category";
6283
+ xAxisType: "category" | "time";
6284
6284
  xAxisLabel: string | null;
6285
6285
  yAxisLabel: string | null;
6286
6286
  };
@@ -6331,6 +6331,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6331
6331
  partitionBy: string[] | null;
6332
6332
  windowFunction: import("../../../..").WindowFunctionType;
6333
6333
  frame: {
6334
+ frameType: "rows" | "range";
6334
6335
  start: {
6335
6336
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
6336
6337
  offset: number | null;
@@ -6339,7 +6340,6 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
6339
6340
  type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
6340
6341
  offset: number | null;
6341
6342
  };
6342
- frameType: "rows" | "range";
6343
6343
  } | null;
6344
6344
  })[] | null | undefined;
6345
6345
  customMetrics?: {
@@ -25,22 +25,22 @@ export declare const tableVizConfigSchema: z.ZodObject<{
25
25
  dimensions: string[];
26
26
  metrics: string[];
27
27
  limit: number | null;
28
- exploreName: string;
29
28
  sorts: {
30
29
  fieldId: string;
31
30
  descending: boolean;
32
31
  nullsFirst: boolean | null;
33
32
  }[];
33
+ exploreName: string;
34
34
  }, {
35
35
  dimensions: string[];
36
36
  metrics: string[];
37
37
  limit: number | null;
38
- exploreName: string;
39
38
  sorts: {
40
39
  fieldId: string;
41
40
  descending: boolean;
42
41
  nullsFirst: boolean | null;
43
42
  }[];
43
+ exploreName: string;
44
44
  }>;
45
45
  export type TableVizConfigSchemaType = z.infer<typeof tableVizConfigSchema>;
46
46
  export declare const metricQueryTableViz: ({ vizConfig, filters, maxLimit, customMetrics, tableCalculations, }: {
@@ -27,12 +27,12 @@ export declare const timeSeriesMetricVizConfigSchema: z.ZodObject<{
27
27
  yAxisLabel: z.ZodNullable<z.ZodString>;
28
28
  }, "strip", z.ZodTypeAny, {
29
29
  limit: number | null;
30
- exploreName: string;
31
30
  sorts: {
32
31
  fieldId: string;
33
32
  descending: boolean;
34
33
  nullsFirst: boolean | null;
35
34
  }[];
35
+ exploreName: string;
36
36
  xDimension: string;
37
37
  yMetrics: string[];
38
38
  breakdownByDimension: string | null;
@@ -41,12 +41,12 @@ export declare const timeSeriesMetricVizConfigSchema: z.ZodObject<{
41
41
  lineType: "line" | "area";
42
42
  }, {
43
43
  limit: number | null;
44
- exploreName: string;
45
44
  sorts: {
46
45
  fieldId: string;
47
46
  descending: boolean;
48
47
  nullsFirst: boolean | null;
49
48
  }[];
49
+ exploreName: string;
50
50
  xDimension: string;
51
51
  yMetrics: string[];
52
52
  breakdownByDimension: string | null;
@@ -28,32 +28,32 @@ export declare const verticalBarMetricVizConfigSchema: z.ZodObject<{
28
28
  yAxisLabel: z.ZodNullable<z.ZodString>;
29
29
  }, "strip", z.ZodTypeAny, {
30
30
  limit: number | null;
31
- exploreName: string;
32
31
  sorts: {
33
32
  fieldId: string;
34
33
  descending: boolean;
35
34
  nullsFirst: boolean | null;
36
35
  }[];
36
+ exploreName: string;
37
37
  xDimension: string;
38
38
  yMetrics: string[];
39
39
  breakdownByDimension: string | null;
40
40
  stackBars: boolean | null;
41
- xAxisType: "time" | "category";
41
+ xAxisType: "category" | "time";
42
42
  xAxisLabel: string | null;
43
43
  yAxisLabel: string | null;
44
44
  }, {
45
45
  limit: number | null;
46
- exploreName: string;
47
46
  sorts: {
48
47
  fieldId: string;
49
48
  descending: boolean;
50
49
  nullsFirst: boolean | null;
51
50
  }[];
51
+ exploreName: string;
52
52
  xDimension: string;
53
53
  yMetrics: string[];
54
54
  breakdownByDimension: string | null;
55
55
  stackBars: boolean | null;
56
- xAxisType: "time" | "category";
56
+ xAxisType: "category" | "time";
57
57
  xAxisLabel: string | null;
58
58
  yAxisLabel: string | null;
59
59
  }>;