@lightdash/common 0.2375.0 → 0.2377.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +18 -18
  3. package/dist/cjs/ee/AiAgent/index.d.ts +4 -4
  4. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +72 -72
  5. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +186 -186
  6. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +12 -12
  7. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +10 -10
  8. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +82 -82
  9. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +10 -10
  10. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +10 -10
  11. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +10 -10
  12. package/dist/cjs/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  13. package/dist/cjs/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  14. package/dist/cjs/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +2 -2
  15. package/dist/cjs/ee/AiAgent/utils.d.ts +18 -18
  16. package/dist/cjs/types/changeset.d.ts +10 -10
  17. package/dist/cjs/types/dashboard.d.ts +9 -0
  18. package/dist/cjs/types/dashboard.d.ts.map +1 -1
  19. package/dist/cjs/types/dashboard.js.map +1 -1
  20. package/dist/cjs/types/resourceViewItem.d.ts +1 -1
  21. package/dist/cjs/types/savedCharts.d.ts +9 -0
  22. package/dist/cjs/types/savedCharts.d.ts.map +1 -1
  23. package/dist/cjs/types/savedCharts.js.map +1 -1
  24. package/dist/cjs/utils/i18n/dashboardAsCode.d.ts +10 -10
  25. package/dist/esm/.tsbuildinfo +1 -1
  26. package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +18 -18
  27. package/dist/esm/ee/AiAgent/index.d.ts +4 -4
  28. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +72 -72
  29. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +186 -186
  30. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +12 -12
  31. package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +10 -10
  32. package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +82 -82
  33. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +10 -10
  34. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +10 -10
  35. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +10 -10
  36. package/dist/esm/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  37. package/dist/esm/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  38. package/dist/esm/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +2 -2
  39. package/dist/esm/ee/AiAgent/utils.d.ts +18 -18
  40. package/dist/esm/types/changeset.d.ts +10 -10
  41. package/dist/esm/types/dashboard.d.ts +9 -0
  42. package/dist/esm/types/dashboard.d.ts.map +1 -1
  43. package/dist/esm/types/dashboard.js.map +1 -1
  44. package/dist/esm/types/resourceViewItem.d.ts +1 -1
  45. package/dist/esm/types/savedCharts.d.ts +9 -0
  46. package/dist/esm/types/savedCharts.d.ts.map +1 -1
  47. package/dist/esm/types/savedCharts.js.map +1 -1
  48. package/dist/esm/utils/i18n/dashboardAsCode.d.ts +10 -10
  49. package/dist/types/.tsbuildinfo +1 -1
  50. package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +18 -18
  51. package/dist/types/ee/AiAgent/index.d.ts +4 -4
  52. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +72 -72
  53. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +186 -186
  54. package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +12 -12
  55. package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +10 -10
  56. package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +82 -82
  57. package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +10 -10
  58. package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +10 -10
  59. package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +10 -10
  60. package/dist/types/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
  61. package/dist/types/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
  62. package/dist/types/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +2 -2
  63. package/dist/types/ee/AiAgent/utils.d.ts +18 -18
  64. package/dist/types/types/changeset.d.ts +10 -10
  65. package/dist/types/types/dashboard.d.ts +9 -0
  66. package/dist/types/types/dashboard.d.ts.map +1 -1
  67. package/dist/types/types/dashboard.js.map +1 -1
  68. package/dist/types/types/resourceViewItem.d.ts +1 -1
  69. package/dist/types/types/savedCharts.d.ts +9 -0
  70. package/dist/types/types/savedCharts.d.ts.map +1 -1
  71. package/dist/types/types/savedCharts.js.map +1 -1
  72. package/dist/types/utils/i18n/dashboardAsCode.d.ts +10 -10
  73. package/package.json +1 -1
@@ -42,13 +42,13 @@ export declare const findExploresRankingMetadataSchema: z.ZodObject<{
42
42
  }, "strip", z.ZodTypeAny, {
43
43
  name: string;
44
44
  label: string;
45
- joinedTables?: string[] | null | undefined;
46
45
  searchRank?: number | null | undefined;
46
+ joinedTables?: string[] | null | undefined;
47
47
  }, {
48
48
  name: string;
49
49
  label: string;
50
- joinedTables?: string[] | null | undefined;
51
50
  searchRank?: number | null | undefined;
51
+ joinedTables?: string[] | null | undefined;
52
52
  }>, "many">>;
53
53
  topMatchingFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
54
54
  name: z.ZodString;
@@ -77,8 +77,8 @@ export declare const findExploresRankingMetadataSchema: z.ZodObject<{
77
77
  exploreSearchResults?: {
78
78
  name: string;
79
79
  label: string;
80
- joinedTables?: string[] | null | undefined;
81
80
  searchRank?: number | null | undefined;
81
+ joinedTables?: string[] | null | undefined;
82
82
  }[] | undefined;
83
83
  topMatchingFields?: {
84
84
  name: string;
@@ -93,8 +93,8 @@ export declare const findExploresRankingMetadataSchema: z.ZodObject<{
93
93
  exploreSearchResults?: {
94
94
  name: string;
95
95
  label: string;
96
- joinedTables?: string[] | null | undefined;
97
96
  searchRank?: number | null | undefined;
97
+ joinedTables?: string[] | null | undefined;
98
98
  }[] | undefined;
99
99
  topMatchingFields?: {
100
100
  name: string;
@@ -120,13 +120,13 @@ export declare const toolFindExploresOutputSchema: z.ZodObject<{
120
120
  }, "strip", z.ZodTypeAny, {
121
121
  name: string;
122
122
  label: string;
123
- joinedTables?: string[] | null | undefined;
124
123
  searchRank?: number | null | undefined;
124
+ joinedTables?: string[] | null | undefined;
125
125
  }, {
126
126
  name: string;
127
127
  label: string;
128
- joinedTables?: string[] | null | undefined;
129
128
  searchRank?: number | null | undefined;
129
+ joinedTables?: string[] | null | undefined;
130
130
  }>, "many">>;
131
131
  topMatchingFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
132
132
  name: z.ZodString;
@@ -155,8 +155,8 @@ export declare const toolFindExploresOutputSchema: z.ZodObject<{
155
155
  exploreSearchResults?: {
156
156
  name: string;
157
157
  label: string;
158
- joinedTables?: string[] | null | undefined;
159
158
  searchRank?: number | null | undefined;
159
+ joinedTables?: string[] | null | undefined;
160
160
  }[] | undefined;
161
161
  topMatchingFields?: {
162
162
  name: string;
@@ -171,8 +171,8 @@ export declare const toolFindExploresOutputSchema: z.ZodObject<{
171
171
  exploreSearchResults?: {
172
172
  name: string;
173
173
  label: string;
174
- joinedTables?: string[] | null | undefined;
175
174
  searchRank?: number | null | undefined;
175
+ joinedTables?: string[] | null | undefined;
176
176
  }[] | undefined;
177
177
  topMatchingFields?: {
178
178
  name: string;
@@ -190,8 +190,8 @@ export declare const toolFindExploresOutputSchema: z.ZodObject<{
190
190
  exploreSearchResults?: {
191
191
  name: string;
192
192
  label: string;
193
- joinedTables?: string[] | null | undefined;
194
193
  searchRank?: number | null | undefined;
194
+ joinedTables?: string[] | null | undefined;
195
195
  }[] | undefined;
196
196
  topMatchingFields?: {
197
197
  name: string;
@@ -209,8 +209,8 @@ export declare const toolFindExploresOutputSchema: z.ZodObject<{
209
209
  exploreSearchResults?: {
210
210
  name: string;
211
211
  label: string;
212
- joinedTables?: string[] | null | undefined;
213
212
  searchRank?: number | null | undefined;
213
+ joinedTables?: string[] | null | undefined;
214
214
  }[] | undefined;
215
215
  topMatchingFields?: {
216
216
  name: string;
@@ -230,8 +230,8 @@ export declare const toolFindExploresOutputSchema: z.ZodObject<{
230
230
  exploreSearchResults?: {
231
231
  name: string;
232
232
  label: string;
233
- joinedTables?: string[] | null | undefined;
234
233
  searchRank?: number | null | undefined;
234
+ joinedTables?: string[] | null | undefined;
235
235
  }[] | undefined;
236
236
  topMatchingFields?: {
237
237
  name: string;
@@ -252,8 +252,8 @@ export declare const toolFindExploresOutputSchema: z.ZodObject<{
252
252
  exploreSearchResults?: {
253
253
  name: string;
254
254
  label: string;
255
- joinedTables?: string[] | null | undefined;
256
255
  searchRank?: number | null | undefined;
256
+ joinedTables?: string[] | null | undefined;
257
257
  }[] | undefined;
258
258
  topMatchingFields?: {
259
259
  name: string;
@@ -22,23 +22,23 @@ export declare const toolRunMetricQueryArgsSchema: z.ZodObject<{
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  dimensions: string[];
24
24
  metrics: string[];
25
- limit: number | null;
26
25
  exploreName: string;
27
26
  sorts: {
28
27
  fieldId: string;
29
28
  descending: boolean;
30
29
  nullsFirst: boolean | null;
31
30
  }[];
31
+ limit: number | null;
32
32
  }, {
33
33
  dimensions: string[];
34
34
  metrics: string[];
35
- limit: number | null;
36
35
  exploreName: string;
37
36
  sorts: {
38
37
  fieldId: string;
39
38
  descending: boolean;
40
39
  nullsFirst: boolean | null;
41
40
  }[];
41
+ limit: number | null;
42
42
  }>;
43
43
  customMetrics: z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodObject<{
44
44
  name: z.ZodString;
@@ -1643,13 +1643,13 @@ export declare const toolRunMetricQueryArgsSchema: z.ZodObject<{
1643
1643
  vizConfig: {
1644
1644
  dimensions: string[];
1645
1645
  metrics: string[];
1646
- limit: number | null;
1647
1646
  exploreName: string;
1648
1647
  sorts: {
1649
1648
  fieldId: string;
1650
1649
  descending: boolean;
1651
1650
  nullsFirst: boolean | null;
1652
1651
  }[];
1652
+ limit: number | null;
1653
1653
  };
1654
1654
  }, {
1655
1655
  tableCalculations: ({
@@ -1925,13 +1925,13 @@ export declare const toolRunMetricQueryArgsSchema: z.ZodObject<{
1925
1925
  vizConfig: {
1926
1926
  dimensions: string[];
1927
1927
  metrics: string[];
1928
- limit: number | null;
1929
1928
  exploreName: string;
1930
1929
  sorts: {
1931
1930
  fieldId: string;
1932
1931
  descending: boolean;
1933
1932
  nullsFirst: boolean | null;
1934
1933
  }[];
1934
+ limit: number | null;
1935
1935
  };
1936
1936
  }>;
1937
1937
  export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject<{
@@ -1956,23 +1956,23 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
1956
1956
  }, "strip", z.ZodTypeAny, {
1957
1957
  dimensions: string[];
1958
1958
  metrics: string[];
1959
- limit: number | null;
1960
1959
  exploreName: string;
1961
1960
  sorts: {
1962
1961
  fieldId: string;
1963
1962
  descending: boolean;
1964
1963
  nullsFirst: boolean | null;
1965
1964
  }[];
1965
+ limit: number | null;
1966
1966
  }, {
1967
1967
  dimensions: string[];
1968
1968
  metrics: string[];
1969
- limit: number | null;
1970
1969
  exploreName: string;
1971
1970
  sorts: {
1972
1971
  fieldId: string;
1973
1972
  descending: boolean;
1974
1973
  nullsFirst: boolean | null;
1975
1974
  }[];
1975
+ limit: number | null;
1976
1976
  }>;
1977
1977
  customMetrics: z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodObject<{
1978
1978
  name: z.ZodString;
@@ -3577,13 +3577,13 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
3577
3577
  vizConfig: {
3578
3578
  dimensions: string[];
3579
3579
  metrics: string[];
3580
- limit: number | null;
3581
3580
  exploreName: string;
3582
3581
  sorts: {
3583
3582
  fieldId: string;
3584
3583
  descending: boolean;
3585
3584
  nullsFirst: boolean | null;
3586
3585
  }[];
3586
+ limit: number | null;
3587
3587
  };
3588
3588
  }, {
3589
3589
  tableCalculations: ({
@@ -3859,13 +3859,13 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
3859
3859
  vizConfig: {
3860
3860
  dimensions: string[];
3861
3861
  metrics: string[];
3862
- limit: number | null;
3863
3862
  exploreName: string;
3864
3863
  sorts: {
3865
3864
  fieldId: string;
3866
3865
  descending: boolean;
3867
3866
  nullsFirst: boolean | null;
3868
3867
  }[];
3868
+ limit: number | null;
3869
3869
  };
3870
3870
  }>, {
3871
3871
  customMetrics: {
@@ -3937,13 +3937,13 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
3937
3937
  vizConfig: {
3938
3938
  dimensions: string[];
3939
3939
  metrics: string[];
3940
- limit: number | null;
3941
3940
  exploreName: string;
3942
3941
  sorts: {
3943
3942
  fieldId: string;
3944
3943
  descending: boolean;
3945
3944
  nullsFirst: boolean | null;
3946
3945
  }[];
3946
+ limit: number | null;
3947
3947
  };
3948
3948
  }, {
3949
3949
  tableCalculations: ({
@@ -4219,13 +4219,13 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodEffects<z.Zod
4219
4219
  vizConfig: {
4220
4220
  dimensions: string[];
4221
4221
  metrics: string[];
4222
- limit: number | null;
4223
4222
  exploreName: string;
4224
4223
  sorts: {
4225
4224
  fieldId: string;
4226
4225
  descending: boolean;
4227
4226
  nullsFirst: boolean | null;
4228
4227
  }[];
4228
+ limit: number | null;
4229
4229
  };
4230
4230
  }>;
4231
4231
  export declare const toolRunMetricQueryOutputSchema: z.ZodObject<{
@@ -283,23 +283,23 @@ export declare const toolRunQueryArgsSchema: z.ZodObject<{
283
283
  }, "strip", z.ZodTypeAny, {
284
284
  dimensions: string[];
285
285
  metrics: string[];
286
- limit: number | null;
287
286
  exploreName: string;
288
287
  sorts: {
289
288
  fieldId: string;
290
289
  descending: boolean;
291
290
  nullsFirst: boolean | null;
292
291
  }[];
292
+ limit: number | null;
293
293
  }, {
294
294
  dimensions: string[];
295
295
  metrics: string[];
296
- limit: number | null;
297
296
  exploreName: string;
298
297
  sorts: {
299
298
  fieldId: string;
300
299
  descending: boolean;
301
300
  nullsFirst: boolean | null;
302
301
  }[];
302
+ limit: number | null;
303
303
  }>;
304
304
  chartConfig: z.ZodNullable<z.ZodObject<{
305
305
  defaultVizType: z.ZodEnum<["table", "bar", "horizontal", "line", "scatter", "pie", "funnel"]>;
@@ -1675,20 +1675,6 @@ export declare const toolRunQueryArgsSchema: z.ZodObject<{
1675
1675
  })[] | null;
1676
1676
  type: "and" | "or";
1677
1677
  } | null;
1678
- chartConfig: {
1679
- stackBars: boolean | null;
1680
- xAxisType: "category" | "time" | null;
1681
- xAxisLabel: string;
1682
- yAxisLabel: string;
1683
- lineType: "line" | "area" | null;
1684
- defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
1685
- xAxisDimension: string | null;
1686
- yAxisMetrics: string[] | null;
1687
- groupBy: string[] | null;
1688
- funnelDataInput: "row" | "column" | null;
1689
- secondaryYAxisMetric: string | null;
1690
- secondaryYAxisLabel: string | null;
1691
- } | null;
1692
1678
  title: string;
1693
1679
  customMetrics: {
1694
1680
  baseDimensionName: string;
@@ -1701,14 +1687,28 @@ export declare const toolRunQueryArgsSchema: z.ZodObject<{
1701
1687
  queryConfig: {
1702
1688
  dimensions: string[];
1703
1689
  metrics: string[];
1704
- limit: number | null;
1705
1690
  exploreName: string;
1706
1691
  sorts: {
1707
1692
  fieldId: string;
1708
1693
  descending: boolean;
1709
1694
  nullsFirst: boolean | null;
1710
1695
  }[];
1696
+ limit: number | null;
1711
1697
  };
1698
+ chartConfig: {
1699
+ stackBars: boolean | null;
1700
+ xAxisType: "category" | "time" | null;
1701
+ xAxisLabel: string;
1702
+ yAxisLabel: string;
1703
+ lineType: "line" | "area" | null;
1704
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
1705
+ xAxisDimension: string | null;
1706
+ yAxisMetrics: string[] | null;
1707
+ groupBy: string[] | null;
1708
+ funnelDataInput: "row" | "column" | null;
1709
+ secondaryYAxisMetric: string | null;
1710
+ secondaryYAxisLabel: string | null;
1711
+ } | null;
1712
1712
  }, {
1713
1713
  tableCalculations: ({
1714
1714
  name: string;
@@ -1973,20 +1973,6 @@ export declare const toolRunQueryArgsSchema: z.ZodObject<{
1973
1973
  })[] | null;
1974
1974
  type: "and" | "or";
1975
1975
  } | null;
1976
- chartConfig: {
1977
- stackBars: boolean | null;
1978
- xAxisType: "category" | "time" | null;
1979
- xAxisLabel: string;
1980
- yAxisLabel: string;
1981
- lineType: "line" | "area" | null;
1982
- defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
1983
- xAxisDimension: string | null;
1984
- yAxisMetrics: string[] | null;
1985
- groupBy: string[] | null;
1986
- funnelDataInput: "row" | "column" | null;
1987
- secondaryYAxisMetric: string | null;
1988
- secondaryYAxisLabel: string | null;
1989
- } | null;
1990
1976
  title: string;
1991
1977
  customMetrics: {
1992
1978
  name: string;
@@ -1999,14 +1985,28 @@ export declare const toolRunQueryArgsSchema: z.ZodObject<{
1999
1985
  queryConfig: {
2000
1986
  dimensions: string[];
2001
1987
  metrics: string[];
2002
- limit: number | null;
2003
1988
  exploreName: string;
2004
1989
  sorts: {
2005
1990
  fieldId: string;
2006
1991
  descending: boolean;
2007
1992
  nullsFirst: boolean | null;
2008
1993
  }[];
1994
+ limit: number | null;
2009
1995
  };
1996
+ chartConfig: {
1997
+ stackBars: boolean | null;
1998
+ xAxisType: "category" | "time" | null;
1999
+ xAxisLabel: string;
2000
+ yAxisLabel: string;
2001
+ lineType: "line" | "area" | null;
2002
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
2003
+ xAxisDimension: string | null;
2004
+ yAxisMetrics: string[] | null;
2005
+ groupBy: string[] | null;
2006
+ funnelDataInput: "row" | "column" | null;
2007
+ secondaryYAxisMetric: string | null;
2008
+ secondaryYAxisLabel: string | null;
2009
+ } | null;
2010
2010
  }>;
2011
2011
  export type ToolRunQueryArgs = z.infer<typeof toolRunQueryArgsSchema>;
2012
2012
  export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject<{
@@ -2031,23 +2031,23 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
2031
2031
  }, "strip", z.ZodTypeAny, {
2032
2032
  dimensions: string[];
2033
2033
  metrics: string[];
2034
- limit: number | null;
2035
2034
  exploreName: string;
2036
2035
  sorts: {
2037
2036
  fieldId: string;
2038
2037
  descending: boolean;
2039
2038
  nullsFirst: boolean | null;
2040
2039
  }[];
2040
+ limit: number | null;
2041
2041
  }, {
2042
2042
  dimensions: string[];
2043
2043
  metrics: string[];
2044
- limit: number | null;
2045
2044
  exploreName: string;
2046
2045
  sorts: {
2047
2046
  fieldId: string;
2048
2047
  descending: boolean;
2049
2048
  nullsFirst: boolean | null;
2050
2049
  }[];
2050
+ limit: number | null;
2051
2051
  }>;
2052
2052
  filters: z.ZodNullable<z.ZodObject<{
2053
2053
  type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
@@ -3685,20 +3685,6 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3685
3685
  })[] | null;
3686
3686
  type: "and" | "or";
3687
3687
  } | null;
3688
- chartConfig: {
3689
- stackBars: boolean | null;
3690
- xAxisType: "category" | "time" | null;
3691
- xAxisLabel: string;
3692
- yAxisLabel: string;
3693
- lineType: "line" | "area" | null;
3694
- defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
3695
- xAxisDimension: string | null;
3696
- yAxisMetrics: string[] | null;
3697
- groupBy: string[] | null;
3698
- funnelDataInput: "row" | "column" | null;
3699
- secondaryYAxisMetric: string | null;
3700
- secondaryYAxisLabel: string | null;
3701
- } | null;
3702
3688
  title: string;
3703
3689
  customMetrics: {
3704
3690
  baseDimensionName: string;
@@ -3711,14 +3697,28 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3711
3697
  queryConfig: {
3712
3698
  dimensions: string[];
3713
3699
  metrics: string[];
3714
- limit: number | null;
3715
3700
  exploreName: string;
3716
3701
  sorts: {
3717
3702
  fieldId: string;
3718
3703
  descending: boolean;
3719
3704
  nullsFirst: boolean | null;
3720
3705
  }[];
3706
+ limit: number | null;
3721
3707
  };
3708
+ chartConfig: {
3709
+ stackBars: boolean | null;
3710
+ xAxisType: "category" | "time" | null;
3711
+ xAxisLabel: string;
3712
+ yAxisLabel: string;
3713
+ lineType: "line" | "area" | null;
3714
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
3715
+ xAxisDimension: string | null;
3716
+ yAxisMetrics: string[] | null;
3717
+ groupBy: string[] | null;
3718
+ funnelDataInput: "row" | "column" | null;
3719
+ secondaryYAxisMetric: string | null;
3720
+ secondaryYAxisLabel: string | null;
3721
+ } | null;
3722
3722
  }, {
3723
3723
  description: string;
3724
3724
  filters: {
@@ -3930,13 +3930,13 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3930
3930
  queryConfig: {
3931
3931
  dimensions: string[];
3932
3932
  metrics: string[];
3933
- limit: number | null;
3934
3933
  exploreName: string;
3935
3934
  sorts: {
3936
3935
  fieldId: string;
3937
3936
  descending: boolean;
3938
3937
  nullsFirst: boolean | null;
3939
3938
  }[];
3939
+ limit: number | null;
3940
3940
  };
3941
3941
  tableCalculations?: ({
3942
3942
  name: string;
@@ -3995,6 +3995,14 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3995
3995
  };
3996
3996
  } | null;
3997
3997
  })[] | null | undefined;
3998
+ customMetrics?: {
3999
+ name: string;
4000
+ label: string;
4001
+ table: string;
4002
+ 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;
4003
+ description: string;
4004
+ baseDimensionName: string;
4005
+ }[] | null | undefined;
3998
4006
  chartConfig?: {
3999
4007
  stackBars: boolean | null;
4000
4008
  xAxisType: "category" | "time" | null;
@@ -4009,14 +4017,6 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
4009
4017
  secondaryYAxisMetric: string | null;
4010
4018
  secondaryYAxisLabel: string | null;
4011
4019
  } | null | undefined;
4012
- customMetrics?: {
4013
- name: string;
4014
- label: string;
4015
- table: string;
4016
- 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;
4017
- description: string;
4018
- baseDimensionName: string;
4019
- }[] | null | undefined;
4020
4020
  }>, {
4021
4021
  filters: import("../../../..").Filters;
4022
4022
  tableCalculations: ({
@@ -4077,20 +4077,6 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
4077
4077
  } | null;
4078
4078
  })[] | null;
4079
4079
  description: string;
4080
- chartConfig: {
4081
- stackBars: boolean | null;
4082
- xAxisType: "category" | "time" | null;
4083
- xAxisLabel: string;
4084
- yAxisLabel: string;
4085
- lineType: "line" | "area" | null;
4086
- defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
4087
- xAxisDimension: string | null;
4088
- yAxisMetrics: string[] | null;
4089
- groupBy: string[] | null;
4090
- funnelDataInput: "row" | "column" | null;
4091
- secondaryYAxisMetric: string | null;
4092
- secondaryYAxisLabel: string | null;
4093
- } | null;
4094
4080
  title: string;
4095
4081
  customMetrics: {
4096
4082
  baseDimensionName: string;
@@ -4103,14 +4089,28 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
4103
4089
  queryConfig: {
4104
4090
  dimensions: string[];
4105
4091
  metrics: string[];
4106
- limit: number | null;
4107
4092
  exploreName: string;
4108
4093
  sorts: {
4109
4094
  fieldId: string;
4110
4095
  descending: boolean;
4111
4096
  nullsFirst: boolean | null;
4112
4097
  }[];
4098
+ limit: number | null;
4113
4099
  };
4100
+ chartConfig: {
4101
+ stackBars: boolean | null;
4102
+ xAxisType: "category" | "time" | null;
4103
+ xAxisLabel: string;
4104
+ yAxisLabel: string;
4105
+ lineType: "line" | "area" | null;
4106
+ defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
4107
+ xAxisDimension: string | null;
4108
+ yAxisMetrics: string[] | null;
4109
+ groupBy: string[] | null;
4110
+ funnelDataInput: "row" | "column" | null;
4111
+ secondaryYAxisMetric: string | null;
4112
+ secondaryYAxisLabel: string | null;
4113
+ } | null;
4114
4114
  }, {
4115
4115
  description: string;
4116
4116
  filters: {
@@ -4322,13 +4322,13 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
4322
4322
  queryConfig: {
4323
4323
  dimensions: string[];
4324
4324
  metrics: string[];
4325
- limit: number | null;
4326
4325
  exploreName: string;
4327
4326
  sorts: {
4328
4327
  fieldId: string;
4329
4328
  descending: boolean;
4330
4329
  nullsFirst: boolean | null;
4331
4330
  }[];
4331
+ limit: number | null;
4332
4332
  };
4333
4333
  tableCalculations?: ({
4334
4334
  name: string;
@@ -4387,6 +4387,14 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
4387
4387
  };
4388
4388
  } | null;
4389
4389
  })[] | null | undefined;
4390
+ customMetrics?: {
4391
+ name: string;
4392
+ label: string;
4393
+ table: string;
4394
+ 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;
4395
+ description: string;
4396
+ baseDimensionName: string;
4397
+ }[] | null | undefined;
4390
4398
  chartConfig?: {
4391
4399
  stackBars: boolean | null;
4392
4400
  xAxisType: "category" | "time" | null;
@@ -4401,14 +4409,6 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodEffects<z.ZodObject
4401
4409
  secondaryYAxisMetric: string | null;
4402
4410
  secondaryYAxisLabel: string | null;
4403
4411
  } | null | undefined;
4404
- customMetrics?: {
4405
- name: string;
4406
- label: string;
4407
- table: string;
4408
- 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;
4409
- description: string;
4410
- baseDimensionName: string;
4411
- }[] | null | undefined;
4412
4412
  }>;
4413
4413
  export type ToolRunQueryArgsTransformed = z.infer<typeof toolRunQueryArgsSchemaTransformed>;
4414
4414
  export declare const toolRunQueryOutputSchema: z.ZodObject<{