@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.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
- package/dist/cjs/ee/AiAgent/schemas/parser.d.ts +54 -54
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
- package/dist/cjs/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
- package/dist/cjs/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
- package/dist/cjs/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
- package/dist/cjs/ee/AiAgent/utils.d.ts +16 -16
- package/dist/cjs/types/scheduler.d.ts +2 -0
- package/dist/cjs/types/scheduler.d.ts.map +1 -1
- package/dist/cjs/types/scheduler.js.map +1 -1
- package/dist/cjs/utils/i18n/chartAsCode.d.ts +165 -165
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
- package/dist/esm/ee/AiAgent/schemas/parser.d.ts +54 -54
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
- package/dist/esm/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
- package/dist/esm/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
- package/dist/esm/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
- package/dist/esm/ee/AiAgent/utils.d.ts +16 -16
- package/dist/esm/types/scheduler.d.ts +2 -0
- package/dist/esm/types/scheduler.d.ts.map +1 -1
- package/dist/esm/types/scheduler.js.map +1 -1
- package/dist/esm/utils/i18n/chartAsCode.d.ts +165 -165
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +16 -16
- package/dist/types/ee/AiAgent/schemas/parser.d.ts +54 -54
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +4 -4
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +8 -8
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +240 -240
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +108 -108
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +24 -24
- package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +58 -58
- package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +28 -28
- package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +28 -28
- package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +38 -38
- package/dist/types/ee/AiAgent/schemas/visualizations/tableViz.d.ts +2 -2
- package/dist/types/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +2 -2
- package/dist/types/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +4 -4
- package/dist/types/ee/AiAgent/utils.d.ts +16 -16
- package/dist/types/types/scheduler.d.ts +2 -0
- package/dist/types/types/scheduler.d.ts.map +1 -1
- package/dist/types/types/scheduler.js.map +1 -1
- package/dist/types/utils/i18n/chartAsCode.d.ts +165 -165
- package/package.json +1 -1
|
@@ -463,12 +463,12 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
463
463
|
dimensions: string[];
|
|
464
464
|
metrics: string[];
|
|
465
465
|
limit: number | null;
|
|
466
|
-
exploreName: string;
|
|
467
466
|
sorts: {
|
|
468
467
|
fieldId: string;
|
|
469
468
|
descending: boolean;
|
|
470
469
|
nullsFirst: boolean | null;
|
|
471
470
|
}[];
|
|
471
|
+
exploreName: string;
|
|
472
472
|
};
|
|
473
473
|
followUpTools: (import("..").AiResultType.TIME_SERIES_RESULT | import("..").AiResultType.VERTICAL_BAR_RESULT | import("..").LegacyFollowUpTools.GENERATE_BAR_VIZ | import("..").LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
|
474
474
|
tableCalculations?: ({
|
|
@@ -517,6 +517,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
517
517
|
partitionBy: string[] | null;
|
|
518
518
|
windowFunction: import("../../..").WindowFunctionType;
|
|
519
519
|
frame: {
|
|
520
|
+
frameType: "rows" | "range";
|
|
520
521
|
start: {
|
|
521
522
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
522
523
|
offset: number | null;
|
|
@@ -525,7 +526,6 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
525
526
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
526
527
|
offset: number | null;
|
|
527
528
|
};
|
|
528
|
-
frameType: "rows" | "range";
|
|
529
529
|
} | null;
|
|
530
530
|
})[] | null | undefined;
|
|
531
531
|
customMetrics?: {
|
|
@@ -584,6 +584,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
584
584
|
partitionBy: string[] | null;
|
|
585
585
|
windowFunction: import("../../..").WindowFunctionType;
|
|
586
586
|
frame: {
|
|
587
|
+
frameType: "rows" | "range";
|
|
587
588
|
start: {
|
|
588
589
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
589
590
|
offset: number | null;
|
|
@@ -592,12 +593,12 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
592
593
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
593
594
|
offset: number | null;
|
|
594
595
|
};
|
|
595
|
-
frameType: "rows" | "range";
|
|
596
596
|
} | null;
|
|
597
597
|
})[] | null;
|
|
598
598
|
type: import("..").AiResultType.TABLE_RESULT;
|
|
599
599
|
description: string;
|
|
600
600
|
filters: import("../../..").Filters;
|
|
601
|
+
title: string;
|
|
601
602
|
customMetrics: {
|
|
602
603
|
baseDimensionName: string;
|
|
603
604
|
name: string;
|
|
@@ -606,17 +607,16 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
606
607
|
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;
|
|
607
608
|
description: string;
|
|
608
609
|
}[] | null;
|
|
609
|
-
title: string;
|
|
610
610
|
vizConfig: {
|
|
611
611
|
dimensions: string[];
|
|
612
612
|
metrics: string[];
|
|
613
613
|
limit: number | null;
|
|
614
|
-
exploreName: string;
|
|
615
614
|
sorts: {
|
|
616
615
|
fieldId: string;
|
|
617
616
|
descending: boolean;
|
|
618
617
|
nullsFirst: boolean | null;
|
|
619
618
|
}[];
|
|
619
|
+
exploreName: string;
|
|
620
620
|
};
|
|
621
621
|
}> | import("zod").SafeParseReturnType<{
|
|
622
622
|
type: import("..").AiResultType.TIME_SERIES_RESULT;
|
|
@@ -1074,12 +1074,12 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1074
1074
|
title: string;
|
|
1075
1075
|
vizConfig: {
|
|
1076
1076
|
limit: number | null;
|
|
1077
|
-
exploreName: string;
|
|
1078
1077
|
sorts: {
|
|
1079
1078
|
fieldId: string;
|
|
1080
1079
|
descending: boolean;
|
|
1081
1080
|
nullsFirst: boolean | null;
|
|
1082
1081
|
}[];
|
|
1082
|
+
exploreName: string;
|
|
1083
1083
|
xDimension: string;
|
|
1084
1084
|
yMetrics: string[];
|
|
1085
1085
|
breakdownByDimension: string | null;
|
|
@@ -1134,6 +1134,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1134
1134
|
partitionBy: string[] | null;
|
|
1135
1135
|
windowFunction: import("../../..").WindowFunctionType;
|
|
1136
1136
|
frame: {
|
|
1137
|
+
frameType: "rows" | "range";
|
|
1137
1138
|
start: {
|
|
1138
1139
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1139
1140
|
offset: number | null;
|
|
@@ -1142,7 +1143,6 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1142
1143
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1143
1144
|
offset: number | null;
|
|
1144
1145
|
};
|
|
1145
|
-
frameType: "rows" | "range";
|
|
1146
1146
|
} | null;
|
|
1147
1147
|
})[] | null | undefined;
|
|
1148
1148
|
customMetrics?: {
|
|
@@ -1201,6 +1201,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1201
1201
|
partitionBy: string[] | null;
|
|
1202
1202
|
windowFunction: import("../../..").WindowFunctionType;
|
|
1203
1203
|
frame: {
|
|
1204
|
+
frameType: "rows" | "range";
|
|
1204
1205
|
start: {
|
|
1205
1206
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1206
1207
|
offset: number | null;
|
|
@@ -1209,12 +1210,12 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1209
1210
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1210
1211
|
offset: number | null;
|
|
1211
1212
|
};
|
|
1212
|
-
frameType: "rows" | "range";
|
|
1213
1213
|
} | null;
|
|
1214
1214
|
})[] | null;
|
|
1215
1215
|
type: import("..").AiResultType.TIME_SERIES_RESULT;
|
|
1216
1216
|
description: string;
|
|
1217
1217
|
filters: import("../../..").Filters;
|
|
1218
|
+
title: string;
|
|
1218
1219
|
customMetrics: {
|
|
1219
1220
|
baseDimensionName: string;
|
|
1220
1221
|
name: string;
|
|
@@ -1223,15 +1224,14 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1223
1224
|
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;
|
|
1224
1225
|
description: string;
|
|
1225
1226
|
}[] | null;
|
|
1226
|
-
title: string;
|
|
1227
1227
|
vizConfig: {
|
|
1228
1228
|
limit: number | null;
|
|
1229
|
-
exploreName: string;
|
|
1230
1229
|
sorts: {
|
|
1231
1230
|
fieldId: string;
|
|
1232
1231
|
descending: boolean;
|
|
1233
1232
|
nullsFirst: boolean | null;
|
|
1234
1233
|
}[];
|
|
1234
|
+
exploreName: string;
|
|
1235
1235
|
xDimension: string;
|
|
1236
1236
|
yMetrics: string[];
|
|
1237
1237
|
breakdownByDimension: string | null;
|
|
@@ -1695,17 +1695,17 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1695
1695
|
title: string;
|
|
1696
1696
|
vizConfig: {
|
|
1697
1697
|
limit: number | null;
|
|
1698
|
-
exploreName: string;
|
|
1699
1698
|
sorts: {
|
|
1700
1699
|
fieldId: string;
|
|
1701
1700
|
descending: boolean;
|
|
1702
1701
|
nullsFirst: boolean | null;
|
|
1703
1702
|
}[];
|
|
1703
|
+
exploreName: string;
|
|
1704
1704
|
xDimension: string;
|
|
1705
1705
|
yMetrics: string[];
|
|
1706
1706
|
breakdownByDimension: string | null;
|
|
1707
1707
|
stackBars: boolean | null;
|
|
1708
|
-
xAxisType: "
|
|
1708
|
+
xAxisType: "category" | "time";
|
|
1709
1709
|
xAxisLabel: string | null;
|
|
1710
1710
|
yAxisLabel: string | null;
|
|
1711
1711
|
};
|
|
@@ -1756,6 +1756,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1756
1756
|
partitionBy: string[] | null;
|
|
1757
1757
|
windowFunction: import("../../..").WindowFunctionType;
|
|
1758
1758
|
frame: {
|
|
1759
|
+
frameType: "rows" | "range";
|
|
1759
1760
|
start: {
|
|
1760
1761
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1761
1762
|
offset: number | null;
|
|
@@ -1764,7 +1765,6 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1764
1765
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1765
1766
|
offset: number | null;
|
|
1766
1767
|
};
|
|
1767
|
-
frameType: "rows" | "range";
|
|
1768
1768
|
} | null;
|
|
1769
1769
|
})[] | null | undefined;
|
|
1770
1770
|
customMetrics?: {
|
|
@@ -1823,6 +1823,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1823
1823
|
partitionBy: string[] | null;
|
|
1824
1824
|
windowFunction: import("../../..").WindowFunctionType;
|
|
1825
1825
|
frame: {
|
|
1826
|
+
frameType: "rows" | "range";
|
|
1826
1827
|
start: {
|
|
1827
1828
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1828
1829
|
offset: number | null;
|
|
@@ -1831,12 +1832,12 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1831
1832
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1832
1833
|
offset: number | null;
|
|
1833
1834
|
};
|
|
1834
|
-
frameType: "rows" | "range";
|
|
1835
1835
|
} | null;
|
|
1836
1836
|
})[] | null;
|
|
1837
1837
|
type: import("..").AiResultType.VERTICAL_BAR_RESULT;
|
|
1838
1838
|
description: string;
|
|
1839
1839
|
filters: import("../../..").Filters;
|
|
1840
|
+
title: string;
|
|
1840
1841
|
customMetrics: {
|
|
1841
1842
|
baseDimensionName: string;
|
|
1842
1843
|
name: string;
|
|
@@ -1845,20 +1846,19 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1845
1846
|
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;
|
|
1846
1847
|
description: string;
|
|
1847
1848
|
}[] | null;
|
|
1848
|
-
title: string;
|
|
1849
1849
|
vizConfig: {
|
|
1850
1850
|
limit: number | null;
|
|
1851
|
-
exploreName: string;
|
|
1852
1851
|
sorts: {
|
|
1853
1852
|
fieldId: string;
|
|
1854
1853
|
descending: boolean;
|
|
1855
1854
|
nullsFirst: boolean | null;
|
|
1856
1855
|
}[];
|
|
1856
|
+
exploreName: string;
|
|
1857
1857
|
xDimension: string;
|
|
1858
1858
|
yMetrics: string[];
|
|
1859
1859
|
breakdownByDimension: string | null;
|
|
1860
1860
|
stackBars: boolean | null;
|
|
1861
|
-
xAxisType: "
|
|
1861
|
+
xAxisType: "category" | "time";
|
|
1862
1862
|
xAxisLabel: string | null;
|
|
1863
1863
|
yAxisLabel: string | null;
|
|
1864
1864
|
};
|
|
@@ -1913,6 +1913,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1913
1913
|
partitionBy: string[] | null;
|
|
1914
1914
|
windowFunction: import("../../..").WindowFunctionType;
|
|
1915
1915
|
frame: {
|
|
1916
|
+
frameType: "rows" | "range";
|
|
1916
1917
|
start: {
|
|
1917
1918
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1918
1919
|
offset: number | null;
|
|
@@ -1921,7 +1922,6 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
1921
1922
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1922
1923
|
offset: number | null;
|
|
1923
1924
|
};
|
|
1924
|
-
frameType: "rows" | "range";
|
|
1925
1925
|
} | null;
|
|
1926
1926
|
})[] | null;
|
|
1927
1927
|
type: import("..").AiResultType.TABLE_RESULT;
|
|
@@ -2131,6 +2131,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2131
2131
|
})[] | null;
|
|
2132
2132
|
type: "and" | "or";
|
|
2133
2133
|
} | null;
|
|
2134
|
+
title: string;
|
|
2134
2135
|
customMetrics: {
|
|
2135
2136
|
name: string;
|
|
2136
2137
|
label: string;
|
|
@@ -2139,17 +2140,16 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2139
2140
|
description: string;
|
|
2140
2141
|
baseDimensionName: string;
|
|
2141
2142
|
}[] | null;
|
|
2142
|
-
title: string;
|
|
2143
2143
|
vizConfig: {
|
|
2144
2144
|
dimensions: string[];
|
|
2145
2145
|
metrics: string[];
|
|
2146
2146
|
limit: number | null;
|
|
2147
|
-
exploreName: string;
|
|
2148
2147
|
sorts: {
|
|
2149
2148
|
fieldId: string;
|
|
2150
2149
|
descending: boolean;
|
|
2151
2150
|
nullsFirst: boolean | null;
|
|
2152
2151
|
}[];
|
|
2152
|
+
exploreName: string;
|
|
2153
2153
|
};
|
|
2154
2154
|
} | {
|
|
2155
2155
|
tableCalculations: ({
|
|
@@ -2198,6 +2198,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2198
2198
|
partitionBy: string[] | null;
|
|
2199
2199
|
windowFunction: import("../../..").WindowFunctionType;
|
|
2200
2200
|
frame: {
|
|
2201
|
+
frameType: "rows" | "range";
|
|
2201
2202
|
start: {
|
|
2202
2203
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2203
2204
|
offset: number | null;
|
|
@@ -2206,7 +2207,6 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2206
2207
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2207
2208
|
offset: number | null;
|
|
2208
2209
|
};
|
|
2209
|
-
frameType: "rows" | "range";
|
|
2210
2210
|
} | null;
|
|
2211
2211
|
})[] | null;
|
|
2212
2212
|
type: import("..").AiResultType.TIME_SERIES_RESULT;
|
|
@@ -2416,6 +2416,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2416
2416
|
})[] | null;
|
|
2417
2417
|
type: "and" | "or";
|
|
2418
2418
|
} | null;
|
|
2419
|
+
title: string;
|
|
2419
2420
|
customMetrics: {
|
|
2420
2421
|
name: string;
|
|
2421
2422
|
label: string;
|
|
@@ -2424,15 +2425,14 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2424
2425
|
description: string;
|
|
2425
2426
|
baseDimensionName: string;
|
|
2426
2427
|
}[] | null;
|
|
2427
|
-
title: string;
|
|
2428
2428
|
vizConfig: {
|
|
2429
2429
|
limit: number | null;
|
|
2430
|
-
exploreName: string;
|
|
2431
2430
|
sorts: {
|
|
2432
2431
|
fieldId: string;
|
|
2433
2432
|
descending: boolean;
|
|
2434
2433
|
nullsFirst: boolean | null;
|
|
2435
2434
|
}[];
|
|
2435
|
+
exploreName: string;
|
|
2436
2436
|
xDimension: string;
|
|
2437
2437
|
yMetrics: string[];
|
|
2438
2438
|
breakdownByDimension: string | null;
|
|
@@ -2487,6 +2487,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2487
2487
|
partitionBy: string[] | null;
|
|
2488
2488
|
windowFunction: import("../../..").WindowFunctionType;
|
|
2489
2489
|
frame: {
|
|
2490
|
+
frameType: "rows" | "range";
|
|
2490
2491
|
start: {
|
|
2491
2492
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2492
2493
|
offset: number | null;
|
|
@@ -2495,7 +2496,6 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2495
2496
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2496
2497
|
offset: number | null;
|
|
2497
2498
|
};
|
|
2498
|
-
frameType: "rows" | "range";
|
|
2499
2499
|
} | null;
|
|
2500
2500
|
})[] | null;
|
|
2501
2501
|
type: import("..").AiResultType.VERTICAL_BAR_RESULT;
|
|
@@ -2705,6 +2705,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2705
2705
|
})[] | null;
|
|
2706
2706
|
type: "and" | "or";
|
|
2707
2707
|
} | null;
|
|
2708
|
+
title: string;
|
|
2708
2709
|
customMetrics: {
|
|
2709
2710
|
name: string;
|
|
2710
2711
|
label: string;
|
|
@@ -2713,20 +2714,19 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2713
2714
|
description: string;
|
|
2714
2715
|
baseDimensionName: string;
|
|
2715
2716
|
}[] | null;
|
|
2716
|
-
title: string;
|
|
2717
2717
|
vizConfig: {
|
|
2718
2718
|
limit: number | null;
|
|
2719
|
-
exploreName: string;
|
|
2720
2719
|
sorts: {
|
|
2721
2720
|
fieldId: string;
|
|
2722
2721
|
descending: boolean;
|
|
2723
2722
|
nullsFirst: boolean | null;
|
|
2724
2723
|
}[];
|
|
2724
|
+
exploreName: string;
|
|
2725
2725
|
xDimension: string;
|
|
2726
2726
|
yMetrics: string[];
|
|
2727
2727
|
breakdownByDimension: string | null;
|
|
2728
2728
|
stackBars: boolean | null;
|
|
2729
|
-
xAxisType: "
|
|
2729
|
+
xAxisType: "category" | "time";
|
|
2730
2730
|
xAxisLabel: string | null;
|
|
2731
2731
|
yAxisLabel: string | null;
|
|
2732
2732
|
};
|
|
@@ -2780,6 +2780,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2780
2780
|
partitionBy: string[] | null;
|
|
2781
2781
|
windowFunction: import("../../..").WindowFunctionType;
|
|
2782
2782
|
frame: {
|
|
2783
|
+
frameType: "rows" | "range";
|
|
2783
2784
|
start: {
|
|
2784
2785
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2785
2786
|
offset: number | null;
|
|
@@ -2788,12 +2789,12 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2788
2789
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2789
2790
|
offset: number | null;
|
|
2790
2791
|
};
|
|
2791
|
-
frameType: "rows" | "range";
|
|
2792
2792
|
} | null;
|
|
2793
2793
|
})[] | null;
|
|
2794
2794
|
type: import("..").AiResultType.TABLE_RESULT;
|
|
2795
2795
|
description: string;
|
|
2796
2796
|
filters: import("../../..").Filters;
|
|
2797
|
+
title: string;
|
|
2797
2798
|
customMetrics: {
|
|
2798
2799
|
baseDimensionName: string;
|
|
2799
2800
|
name: string;
|
|
@@ -2802,17 +2803,16 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2802
2803
|
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;
|
|
2803
2804
|
description: string;
|
|
2804
2805
|
}[] | null;
|
|
2805
|
-
title: string;
|
|
2806
2806
|
vizConfig: {
|
|
2807
2807
|
dimensions: string[];
|
|
2808
2808
|
metrics: string[];
|
|
2809
2809
|
limit: number | null;
|
|
2810
|
-
exploreName: string;
|
|
2811
2810
|
sorts: {
|
|
2812
2811
|
fieldId: string;
|
|
2813
2812
|
descending: boolean;
|
|
2814
2813
|
nullsFirst: boolean | null;
|
|
2815
2814
|
}[];
|
|
2815
|
+
exploreName: string;
|
|
2816
2816
|
};
|
|
2817
2817
|
} | {
|
|
2818
2818
|
followUpTools: import("..").AiResultType[];
|
|
@@ -2862,6 +2862,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2862
2862
|
partitionBy: string[] | null;
|
|
2863
2863
|
windowFunction: import("../../..").WindowFunctionType;
|
|
2864
2864
|
frame: {
|
|
2865
|
+
frameType: "rows" | "range";
|
|
2865
2866
|
start: {
|
|
2866
2867
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2867
2868
|
offset: number | null;
|
|
@@ -2870,12 +2871,12 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2870
2871
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2871
2872
|
offset: number | null;
|
|
2872
2873
|
};
|
|
2873
|
-
frameType: "rows" | "range";
|
|
2874
2874
|
} | null;
|
|
2875
2875
|
})[] | null;
|
|
2876
2876
|
type: import("..").AiResultType.TIME_SERIES_RESULT;
|
|
2877
2877
|
description: string;
|
|
2878
2878
|
filters: import("../../..").Filters;
|
|
2879
|
+
title: string;
|
|
2879
2880
|
customMetrics: {
|
|
2880
2881
|
baseDimensionName: string;
|
|
2881
2882
|
name: string;
|
|
@@ -2884,15 +2885,14 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2884
2885
|
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;
|
|
2885
2886
|
description: string;
|
|
2886
2887
|
}[] | null;
|
|
2887
|
-
title: string;
|
|
2888
2888
|
vizConfig: {
|
|
2889
2889
|
limit: number | null;
|
|
2890
|
-
exploreName: string;
|
|
2891
2890
|
sorts: {
|
|
2892
2891
|
fieldId: string;
|
|
2893
2892
|
descending: boolean;
|
|
2894
2893
|
nullsFirst: boolean | null;
|
|
2895
2894
|
}[];
|
|
2895
|
+
exploreName: string;
|
|
2896
2896
|
xDimension: string;
|
|
2897
2897
|
yMetrics: string[];
|
|
2898
2898
|
breakdownByDimension: string | null;
|
|
@@ -2948,6 +2948,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2948
2948
|
partitionBy: string[] | null;
|
|
2949
2949
|
windowFunction: import("../../..").WindowFunctionType;
|
|
2950
2950
|
frame: {
|
|
2951
|
+
frameType: "rows" | "range";
|
|
2951
2952
|
start: {
|
|
2952
2953
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2953
2954
|
offset: number | null;
|
|
@@ -2956,12 +2957,12 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2956
2957
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2957
2958
|
offset: number | null;
|
|
2958
2959
|
};
|
|
2959
|
-
frameType: "rows" | "range";
|
|
2960
2960
|
} | null;
|
|
2961
2961
|
})[] | null;
|
|
2962
2962
|
type: import("..").AiResultType.VERTICAL_BAR_RESULT;
|
|
2963
2963
|
description: string;
|
|
2964
2964
|
filters: import("../../..").Filters;
|
|
2965
|
+
title: string;
|
|
2965
2966
|
customMetrics: {
|
|
2966
2967
|
baseDimensionName: string;
|
|
2967
2968
|
name: string;
|
|
@@ -2970,20 +2971,19 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
2970
2971
|
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;
|
|
2971
2972
|
description: string;
|
|
2972
2973
|
}[] | null;
|
|
2973
|
-
title: string;
|
|
2974
2974
|
vizConfig: {
|
|
2975
2975
|
limit: number | null;
|
|
2976
|
-
exploreName: string;
|
|
2977
2976
|
sorts: {
|
|
2978
2977
|
fieldId: string;
|
|
2979
2978
|
descending: boolean;
|
|
2980
2979
|
nullsFirst: boolean | null;
|
|
2981
2980
|
}[];
|
|
2981
|
+
exploreName: string;
|
|
2982
2982
|
xDimension: string;
|
|
2983
2983
|
yMetrics: string[];
|
|
2984
2984
|
breakdownByDimension: string | null;
|
|
2985
2985
|
stackBars: boolean | null;
|
|
2986
|
-
xAxisType: "
|
|
2986
|
+
xAxisType: "category" | "time";
|
|
2987
2987
|
xAxisLabel: string | null;
|
|
2988
2988
|
yAxisLabel: string | null;
|
|
2989
2989
|
};
|
|
@@ -3204,12 +3204,12 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
3204
3204
|
dimensions: string[];
|
|
3205
3205
|
metrics: string[];
|
|
3206
3206
|
limit: number | null;
|
|
3207
|
-
exploreName: string;
|
|
3208
3207
|
sorts: {
|
|
3209
3208
|
fieldId: string;
|
|
3210
3209
|
descending: boolean;
|
|
3211
3210
|
nullsFirst: boolean | null;
|
|
3212
3211
|
}[];
|
|
3212
|
+
exploreName: string;
|
|
3213
3213
|
};
|
|
3214
3214
|
tableCalculations?: ({
|
|
3215
3215
|
name: string;
|
|
@@ -3257,6 +3257,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
3257
3257
|
partitionBy: string[] | null;
|
|
3258
3258
|
windowFunction: import("../../..").WindowFunctionType;
|
|
3259
3259
|
frame: {
|
|
3260
|
+
frameType: "rows" | "range";
|
|
3260
3261
|
start: {
|
|
3261
3262
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3262
3263
|
offset: number | null;
|
|
@@ -3265,19 +3266,18 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
3265
3266
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3266
3267
|
offset: number | null;
|
|
3267
3268
|
};
|
|
3268
|
-
frameType: "rows" | "range";
|
|
3269
3269
|
} | null;
|
|
3270
3270
|
})[] | null | undefined;
|
|
3271
3271
|
chartConfig?: {
|
|
3272
|
-
groupBy: string[] | null;
|
|
3273
3272
|
stackBars: boolean | null;
|
|
3274
|
-
xAxisType: "
|
|
3273
|
+
xAxisType: "category" | "time" | null;
|
|
3275
3274
|
xAxisLabel: string;
|
|
3276
3275
|
yAxisLabel: string;
|
|
3277
3276
|
lineType: "line" | "area" | null;
|
|
3278
|
-
defaultVizType: "table" | "line" | "bar" | "
|
|
3277
|
+
defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
|
|
3279
3278
|
xAxisDimension: string | null;
|
|
3280
3279
|
yAxisMetrics: string[] | null;
|
|
3280
|
+
groupBy: string[] | null;
|
|
3281
3281
|
funnelDataInput: "row" | "column" | null;
|
|
3282
3282
|
secondaryYAxisMetric: string | null;
|
|
3283
3283
|
secondaryYAxisLabel: string | null;
|
|
@@ -3338,6 +3338,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
3338
3338
|
partitionBy: string[] | null;
|
|
3339
3339
|
windowFunction: import("../../..").WindowFunctionType;
|
|
3340
3340
|
frame: {
|
|
3341
|
+
frameType: "rows" | "range";
|
|
3341
3342
|
start: {
|
|
3342
3343
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3343
3344
|
offset: number | null;
|
|
@@ -3346,25 +3347,25 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
3346
3347
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3347
3348
|
offset: number | null;
|
|
3348
3349
|
};
|
|
3349
|
-
frameType: "rows" | "range";
|
|
3350
3350
|
} | null;
|
|
3351
3351
|
})[] | null;
|
|
3352
3352
|
type: import("..").AiResultType.QUERY_RESULT;
|
|
3353
3353
|
description: string;
|
|
3354
3354
|
chartConfig: {
|
|
3355
|
-
groupBy: string[] | null;
|
|
3356
3355
|
stackBars: boolean | null;
|
|
3357
|
-
xAxisType: "
|
|
3356
|
+
xAxisType: "category" | "time" | null;
|
|
3358
3357
|
xAxisLabel: string;
|
|
3359
3358
|
yAxisLabel: string;
|
|
3360
3359
|
lineType: "line" | "area" | null;
|
|
3361
|
-
defaultVizType: "table" | "line" | "bar" | "
|
|
3360
|
+
defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
|
|
3362
3361
|
xAxisDimension: string | null;
|
|
3363
3362
|
yAxisMetrics: string[] | null;
|
|
3363
|
+
groupBy: string[] | null;
|
|
3364
3364
|
funnelDataInput: "row" | "column" | null;
|
|
3365
3365
|
secondaryYAxisMetric: string | null;
|
|
3366
3366
|
secondaryYAxisLabel: string | null;
|
|
3367
3367
|
} | null;
|
|
3368
|
+
title: string;
|
|
3368
3369
|
customMetrics: {
|
|
3369
3370
|
baseDimensionName: string;
|
|
3370
3371
|
name: string;
|
|
@@ -3373,17 +3374,16 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
3373
3374
|
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;
|
|
3374
3375
|
description: string;
|
|
3375
3376
|
}[] | null;
|
|
3376
|
-
title: string;
|
|
3377
3377
|
queryConfig: {
|
|
3378
3378
|
dimensions: string[];
|
|
3379
3379
|
metrics: string[];
|
|
3380
3380
|
limit: number | null;
|
|
3381
|
-
exploreName: string;
|
|
3382
3381
|
sorts: {
|
|
3383
3382
|
fieldId: string;
|
|
3384
3383
|
descending: boolean;
|
|
3385
3384
|
nullsFirst: boolean | null;
|
|
3386
3385
|
}[];
|
|
3386
|
+
exploreName: string;
|
|
3387
3387
|
};
|
|
3388
3388
|
}> | import("zod").SafeParseSuccess<{
|
|
3389
3389
|
visualizations: {
|
|
@@ -3434,6 +3434,7 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
3434
3434
|
partitionBy: string[] | null;
|
|
3435
3435
|
windowFunction: import("../../..").WindowFunctionType;
|
|
3436
3436
|
frame: {
|
|
3437
|
+
frameType: "rows" | "range";
|
|
3437
3438
|
start: {
|
|
3438
3439
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3439
3440
|
offset: number | null;
|
|
@@ -3442,25 +3443,25 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
3442
3443
|
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
3443
3444
|
offset: number | null;
|
|
3444
3445
|
};
|
|
3445
|
-
frameType: "rows" | "range";
|
|
3446
3446
|
} | null;
|
|
3447
3447
|
})[] | null;
|
|
3448
3448
|
type: import("..").AiResultType.QUERY_RESULT;
|
|
3449
3449
|
description: string;
|
|
3450
3450
|
chartConfig: {
|
|
3451
|
-
groupBy: string[] | null;
|
|
3452
3451
|
stackBars: boolean | null;
|
|
3453
|
-
xAxisType: "
|
|
3452
|
+
xAxisType: "category" | "time" | null;
|
|
3454
3453
|
xAxisLabel: string;
|
|
3455
3454
|
yAxisLabel: string;
|
|
3456
3455
|
lineType: "line" | "area" | null;
|
|
3457
|
-
defaultVizType: "table" | "line" | "bar" | "
|
|
3456
|
+
defaultVizType: "table" | "line" | "bar" | "horizontal" | "scatter" | "pie" | "funnel";
|
|
3458
3457
|
xAxisDimension: string | null;
|
|
3459
3458
|
yAxisMetrics: string[] | null;
|
|
3459
|
+
groupBy: string[] | null;
|
|
3460
3460
|
funnelDataInput: "row" | "column" | null;
|
|
3461
3461
|
secondaryYAxisMetric: string | null;
|
|
3462
3462
|
secondaryYAxisLabel: string | null;
|
|
3463
3463
|
} | null;
|
|
3464
|
+
title: string;
|
|
3464
3465
|
customMetrics: {
|
|
3465
3466
|
baseDimensionName: string;
|
|
3466
3467
|
name: string;
|
|
@@ -3469,17 +3470,16 @@ export declare const parseToolArgs: (toolName: ToolName, toolArgs: unknown) => i
|
|
|
3469
3470
|
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;
|
|
3470
3471
|
description: string;
|
|
3471
3472
|
}[] | null;
|
|
3472
|
-
title: string;
|
|
3473
3473
|
queryConfig: {
|
|
3474
3474
|
dimensions: string[];
|
|
3475
3475
|
metrics: string[];
|
|
3476
3476
|
limit: number | null;
|
|
3477
|
-
exploreName: string;
|
|
3478
3477
|
sorts: {
|
|
3479
3478
|
fieldId: string;
|
|
3480
3479
|
descending: boolean;
|
|
3481
3480
|
nullsFirst: boolean | null;
|
|
3482
3481
|
}[];
|
|
3482
|
+
exploreName: string;
|
|
3483
3483
|
};
|
|
3484
3484
|
}[];
|
|
3485
3485
|
type: import("..").AiResultType.DASHBOARD_V2_RESULT;
|