@lightdash/common 0.2077.5 → 0.2078.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/ee/AiAgent/filterExploreByTags.d.ts +23 -12
- package/dist/cjs/ee/AiAgent/filterExploreByTags.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/filterExploreByTags.js +57 -28
- package/dist/cjs/ee/AiAgent/filterExploreByTags.js.map +1 -1
- package/dist/cjs/ee/AiAgent/filterExploreByTags.test.js +220 -18
- package/dist/cjs/ee/AiAgent/filterExploreByTags.test.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts +1210 -0
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.js +2 -1
- package/dist/cjs/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js +8 -4
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts +3 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js +4 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +109 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.js +103 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.js.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +216 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.js +87 -30
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.d.ts +14 -2
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.js +10 -7
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +2218 -4
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindChartsArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindChartsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +52 -4
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +23 -8
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolImproveContext.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolImproveContext.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +354 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +354 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +354 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +354 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/utils.d.ts +69 -0
- package/dist/cjs/ee/AiAgent/utils.d.ts.map +1 -1
- package/dist/cjs/types/catalog.d.ts +0 -2
- package/dist/cjs/types/catalog.d.ts.map +1 -1
- package/dist/cjs/types/catalog.js.map +1 -1
- package/dist/cjs/types/field.d.ts +42 -1
- package/dist/cjs/types/field.d.ts.map +1 -1
- package/dist/cjs/types/field.js +25 -1
- package/dist/cjs/types/field.js.map +1 -1
- package/dist/esm/ee/AiAgent/filterExploreByTags.d.ts +23 -12
- package/dist/esm/ee/AiAgent/filterExploreByTags.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/filterExploreByTags.js +57 -28
- package/dist/esm/ee/AiAgent/filterExploreByTags.js.map +1 -1
- package/dist/esm/ee/AiAgent/filterExploreByTags.test.js +220 -18
- package/dist/esm/ee/AiAgent/filterExploreByTags.test.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.d.ts +1210 -0
- package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.js +3 -2
- package/dist/esm/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js +8 -4
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts +3 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js +5 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +109 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.js +100 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +216 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.js +88 -31
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.d.ts +14 -2
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.js +10 -5
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +2218 -4
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindChartsArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindChartsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +52 -4
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +22 -7
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolImproveContext.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolImproveContext.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +354 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +354 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +354 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +354 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/utils.d.ts +69 -0
- package/dist/esm/ee/AiAgent/utils.d.ts.map +1 -1
- package/dist/esm/types/catalog.d.ts +0 -2
- package/dist/esm/types/catalog.d.ts.map +1 -1
- package/dist/esm/types/catalog.js.map +1 -1
- package/dist/esm/types/field.d.ts +42 -1
- package/dist/esm/types/field.d.ts.map +1 -1
- package/dist/esm/types/field.js +24 -0
- package/dist/esm/types/field.js.map +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/filterExploreByTags.d.ts +23 -12
- package/dist/types/ee/AiAgent/filterExploreByTags.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/index.d.ts +1210 -0
- package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts +3 -0
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +109 -0
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +216 -0
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/toolSchemaBuilder.d.ts +14 -2
- package/dist/types/ee/AiAgent/schemas/toolSchemaBuilder.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +2218 -4
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +52 -4
- package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +354 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +354 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +354 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +354 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/utils.d.ts +69 -0
- package/dist/types/ee/AiAgent/utils.d.ts.map +1 -1
- package/dist/types/types/catalog.d.ts +0 -2
- package/dist/types/types/catalog.d.ts.map +1 -1
- package/dist/types/types/field.d.ts +42 -1
- package/dist/types/types/field.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js +0 -56
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js +0 -54
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +0 -1
|
@@ -101,16 +101,19 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
|
|
|
101
101
|
} & {
|
|
102
102
|
type: z.ZodLiteral<"percent_of_column_total">;
|
|
103
103
|
fieldId: z.ZodString;
|
|
104
|
+
partitionBy: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
104
105
|
}, "strip", z.ZodTypeAny, {
|
|
105
106
|
name: string;
|
|
106
107
|
fieldId: string;
|
|
107
108
|
type: "percent_of_column_total";
|
|
108
109
|
displayName: string;
|
|
110
|
+
partitionBy: string[] | null;
|
|
109
111
|
}, {
|
|
110
112
|
name: string;
|
|
111
113
|
fieldId: string;
|
|
112
114
|
type: "percent_of_column_total";
|
|
113
115
|
displayName: string;
|
|
116
|
+
partitionBy: string[] | null;
|
|
114
117
|
}>, z.ZodObject<{
|
|
115
118
|
name: z.ZodString;
|
|
116
119
|
displayName: z.ZodString;
|
|
@@ -143,6 +146,111 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
|
|
|
143
146
|
fieldId: string;
|
|
144
147
|
type: "running_total";
|
|
145
148
|
displayName: string;
|
|
149
|
+
}>, z.ZodObject<{
|
|
150
|
+
name: z.ZodString;
|
|
151
|
+
displayName: z.ZodString;
|
|
152
|
+
} & {
|
|
153
|
+
type: z.ZodLiteral<"window_function">;
|
|
154
|
+
windowFunction: z.ZodEnum<["row_number", "percent_rank", "sum", "avg", "count", "min", "max"]>;
|
|
155
|
+
fieldId: z.ZodNullable<z.ZodString>;
|
|
156
|
+
orderBy: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
157
|
+
fieldId: z.ZodString;
|
|
158
|
+
order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
fieldId: string;
|
|
161
|
+
order: "asc" | "desc" | null;
|
|
162
|
+
}, {
|
|
163
|
+
fieldId: string;
|
|
164
|
+
order: "asc" | "desc" | null;
|
|
165
|
+
}>, "many">>;
|
|
166
|
+
partitionBy: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
167
|
+
frame: z.ZodNullable<z.ZodObject<{
|
|
168
|
+
frameType: z.ZodEnum<["rows", "range"]>;
|
|
169
|
+
start: z.ZodNullable<z.ZodObject<{
|
|
170
|
+
type: z.ZodEnum<["unbounded_preceding", "preceding", "current_row", "following", "unbounded_following"]>;
|
|
171
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
172
|
+
}, "strip", z.ZodTypeAny, {
|
|
173
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
174
|
+
offset: number | null;
|
|
175
|
+
}, {
|
|
176
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
177
|
+
offset: number | null;
|
|
178
|
+
}>>;
|
|
179
|
+
end: z.ZodObject<{
|
|
180
|
+
type: z.ZodEnum<["unbounded_preceding", "preceding", "current_row", "following", "unbounded_following"]>;
|
|
181
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
184
|
+
offset: number | null;
|
|
185
|
+
}, {
|
|
186
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
187
|
+
offset: number | null;
|
|
188
|
+
}>;
|
|
189
|
+
}, "strip", z.ZodTypeAny, {
|
|
190
|
+
start: {
|
|
191
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
192
|
+
offset: number | null;
|
|
193
|
+
} | null;
|
|
194
|
+
end: {
|
|
195
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
196
|
+
offset: number | null;
|
|
197
|
+
};
|
|
198
|
+
frameType: "rows" | "range";
|
|
199
|
+
}, {
|
|
200
|
+
start: {
|
|
201
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
202
|
+
offset: number | null;
|
|
203
|
+
} | null;
|
|
204
|
+
end: {
|
|
205
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
206
|
+
offset: number | null;
|
|
207
|
+
};
|
|
208
|
+
frameType: "rows" | "range";
|
|
209
|
+
}>>;
|
|
210
|
+
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
name: string;
|
|
212
|
+
fieldId: string | null;
|
|
213
|
+
type: "window_function";
|
|
214
|
+
displayName: string;
|
|
215
|
+
orderBy: {
|
|
216
|
+
fieldId: string;
|
|
217
|
+
order: "asc" | "desc" | null;
|
|
218
|
+
}[] | null;
|
|
219
|
+
partitionBy: string[] | null;
|
|
220
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
221
|
+
frame: {
|
|
222
|
+
start: {
|
|
223
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
224
|
+
offset: number | null;
|
|
225
|
+
} | null;
|
|
226
|
+
end: {
|
|
227
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
228
|
+
offset: number | null;
|
|
229
|
+
};
|
|
230
|
+
frameType: "rows" | "range";
|
|
231
|
+
} | null;
|
|
232
|
+
}, {
|
|
233
|
+
name: string;
|
|
234
|
+
fieldId: string | null;
|
|
235
|
+
type: "window_function";
|
|
236
|
+
displayName: string;
|
|
237
|
+
orderBy: {
|
|
238
|
+
fieldId: string;
|
|
239
|
+
order: "asc" | "desc" | null;
|
|
240
|
+
}[] | null;
|
|
241
|
+
partitionBy: string[] | null;
|
|
242
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
243
|
+
frame: {
|
|
244
|
+
start: {
|
|
245
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
246
|
+
offset: number | null;
|
|
247
|
+
} | null;
|
|
248
|
+
end: {
|
|
249
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
250
|
+
offset: number | null;
|
|
251
|
+
};
|
|
252
|
+
frameType: "rows" | "range";
|
|
253
|
+
} | null;
|
|
146
254
|
}>]>, "many">>;
|
|
147
255
|
vizConfig: z.ZodObject<{
|
|
148
256
|
exploreName: z.ZodString;
|
|
@@ -1290,6 +1398,7 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
|
|
|
1290
1398
|
fieldId: string;
|
|
1291
1399
|
type: "percent_of_column_total";
|
|
1292
1400
|
displayName: string;
|
|
1401
|
+
partitionBy: string[] | null;
|
|
1293
1402
|
} | {
|
|
1294
1403
|
name: string;
|
|
1295
1404
|
fieldId: string;
|
|
@@ -1300,6 +1409,28 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
|
|
|
1300
1409
|
fieldId: string;
|
|
1301
1410
|
type: "running_total";
|
|
1302
1411
|
displayName: string;
|
|
1412
|
+
} | {
|
|
1413
|
+
name: string;
|
|
1414
|
+
fieldId: string | null;
|
|
1415
|
+
type: "window_function";
|
|
1416
|
+
displayName: string;
|
|
1417
|
+
orderBy: {
|
|
1418
|
+
fieldId: string;
|
|
1419
|
+
order: "asc" | "desc" | null;
|
|
1420
|
+
}[] | null;
|
|
1421
|
+
partitionBy: string[] | null;
|
|
1422
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
1423
|
+
frame: {
|
|
1424
|
+
start: {
|
|
1425
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1426
|
+
offset: number | null;
|
|
1427
|
+
} | null;
|
|
1428
|
+
end: {
|
|
1429
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1430
|
+
offset: number | null;
|
|
1431
|
+
};
|
|
1432
|
+
frameType: "rows" | "range";
|
|
1433
|
+
} | null;
|
|
1303
1434
|
})[] | null;
|
|
1304
1435
|
type: AiResultType.TIME_SERIES_RESULT;
|
|
1305
1436
|
description: string;
|
|
@@ -1557,6 +1688,7 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
|
|
|
1557
1688
|
fieldId: string;
|
|
1558
1689
|
type: "percent_of_column_total";
|
|
1559
1690
|
displayName: string;
|
|
1691
|
+
partitionBy: string[] | null;
|
|
1560
1692
|
} | {
|
|
1561
1693
|
name: string;
|
|
1562
1694
|
fieldId: string;
|
|
@@ -1567,6 +1699,28 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
|
|
|
1567
1699
|
fieldId: string;
|
|
1568
1700
|
type: "running_total";
|
|
1569
1701
|
displayName: string;
|
|
1702
|
+
} | {
|
|
1703
|
+
name: string;
|
|
1704
|
+
fieldId: string | null;
|
|
1705
|
+
type: "window_function";
|
|
1706
|
+
displayName: string;
|
|
1707
|
+
orderBy: {
|
|
1708
|
+
fieldId: string;
|
|
1709
|
+
order: "asc" | "desc" | null;
|
|
1710
|
+
}[] | null;
|
|
1711
|
+
partitionBy: string[] | null;
|
|
1712
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
1713
|
+
frame: {
|
|
1714
|
+
start: {
|
|
1715
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1716
|
+
offset: number | null;
|
|
1717
|
+
} | null;
|
|
1718
|
+
end: {
|
|
1719
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1720
|
+
offset: number | null;
|
|
1721
|
+
};
|
|
1722
|
+
frameType: "rows" | "range";
|
|
1723
|
+
} | null;
|
|
1570
1724
|
})[] | null;
|
|
1571
1725
|
type: AiResultType.TIME_SERIES_RESULT;
|
|
1572
1726
|
description: string;
|
|
@@ -1955,16 +2109,19 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
|
1955
2109
|
} & {
|
|
1956
2110
|
type: z.ZodLiteral<"percent_of_column_total">;
|
|
1957
2111
|
fieldId: z.ZodString;
|
|
2112
|
+
partitionBy: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
1958
2113
|
}, "strip", z.ZodTypeAny, {
|
|
1959
2114
|
name: string;
|
|
1960
2115
|
fieldId: string;
|
|
1961
2116
|
type: "percent_of_column_total";
|
|
1962
2117
|
displayName: string;
|
|
2118
|
+
partitionBy: string[] | null;
|
|
1963
2119
|
}, {
|
|
1964
2120
|
name: string;
|
|
1965
2121
|
fieldId: string;
|
|
1966
2122
|
type: "percent_of_column_total";
|
|
1967
2123
|
displayName: string;
|
|
2124
|
+
partitionBy: string[] | null;
|
|
1968
2125
|
}>, z.ZodObject<{
|
|
1969
2126
|
name: z.ZodString;
|
|
1970
2127
|
displayName: z.ZodString;
|
|
@@ -1997,6 +2154,111 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
|
1997
2154
|
fieldId: string;
|
|
1998
2155
|
type: "running_total";
|
|
1999
2156
|
displayName: string;
|
|
2157
|
+
}>, z.ZodObject<{
|
|
2158
|
+
name: z.ZodString;
|
|
2159
|
+
displayName: z.ZodString;
|
|
2160
|
+
} & {
|
|
2161
|
+
type: z.ZodLiteral<"window_function">;
|
|
2162
|
+
windowFunction: z.ZodEnum<["row_number", "percent_rank", "sum", "avg", "count", "min", "max"]>;
|
|
2163
|
+
fieldId: z.ZodNullable<z.ZodString>;
|
|
2164
|
+
orderBy: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2165
|
+
fieldId: z.ZodString;
|
|
2166
|
+
order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
|
|
2167
|
+
}, "strip", z.ZodTypeAny, {
|
|
2168
|
+
fieldId: string;
|
|
2169
|
+
order: "asc" | "desc" | null;
|
|
2170
|
+
}, {
|
|
2171
|
+
fieldId: string;
|
|
2172
|
+
order: "asc" | "desc" | null;
|
|
2173
|
+
}>, "many">>;
|
|
2174
|
+
partitionBy: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
2175
|
+
frame: z.ZodNullable<z.ZodObject<{
|
|
2176
|
+
frameType: z.ZodEnum<["rows", "range"]>;
|
|
2177
|
+
start: z.ZodNullable<z.ZodObject<{
|
|
2178
|
+
type: z.ZodEnum<["unbounded_preceding", "preceding", "current_row", "following", "unbounded_following"]>;
|
|
2179
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
2180
|
+
}, "strip", z.ZodTypeAny, {
|
|
2181
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2182
|
+
offset: number | null;
|
|
2183
|
+
}, {
|
|
2184
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2185
|
+
offset: number | null;
|
|
2186
|
+
}>>;
|
|
2187
|
+
end: z.ZodObject<{
|
|
2188
|
+
type: z.ZodEnum<["unbounded_preceding", "preceding", "current_row", "following", "unbounded_following"]>;
|
|
2189
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
2190
|
+
}, "strip", z.ZodTypeAny, {
|
|
2191
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2192
|
+
offset: number | null;
|
|
2193
|
+
}, {
|
|
2194
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2195
|
+
offset: number | null;
|
|
2196
|
+
}>;
|
|
2197
|
+
}, "strip", z.ZodTypeAny, {
|
|
2198
|
+
start: {
|
|
2199
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2200
|
+
offset: number | null;
|
|
2201
|
+
} | null;
|
|
2202
|
+
end: {
|
|
2203
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2204
|
+
offset: number | null;
|
|
2205
|
+
};
|
|
2206
|
+
frameType: "rows" | "range";
|
|
2207
|
+
}, {
|
|
2208
|
+
start: {
|
|
2209
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2210
|
+
offset: number | null;
|
|
2211
|
+
} | null;
|
|
2212
|
+
end: {
|
|
2213
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2214
|
+
offset: number | null;
|
|
2215
|
+
};
|
|
2216
|
+
frameType: "rows" | "range";
|
|
2217
|
+
}>>;
|
|
2218
|
+
}, "strip", z.ZodTypeAny, {
|
|
2219
|
+
name: string;
|
|
2220
|
+
fieldId: string | null;
|
|
2221
|
+
type: "window_function";
|
|
2222
|
+
displayName: string;
|
|
2223
|
+
orderBy: {
|
|
2224
|
+
fieldId: string;
|
|
2225
|
+
order: "asc" | "desc" | null;
|
|
2226
|
+
}[] | null;
|
|
2227
|
+
partitionBy: string[] | null;
|
|
2228
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
2229
|
+
frame: {
|
|
2230
|
+
start: {
|
|
2231
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2232
|
+
offset: number | null;
|
|
2233
|
+
} | null;
|
|
2234
|
+
end: {
|
|
2235
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2236
|
+
offset: number | null;
|
|
2237
|
+
};
|
|
2238
|
+
frameType: "rows" | "range";
|
|
2239
|
+
} | null;
|
|
2240
|
+
}, {
|
|
2241
|
+
name: string;
|
|
2242
|
+
fieldId: string | null;
|
|
2243
|
+
type: "window_function";
|
|
2244
|
+
displayName: string;
|
|
2245
|
+
orderBy: {
|
|
2246
|
+
fieldId: string;
|
|
2247
|
+
order: "asc" | "desc" | null;
|
|
2248
|
+
}[] | null;
|
|
2249
|
+
partitionBy: string[] | null;
|
|
2250
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
2251
|
+
frame: {
|
|
2252
|
+
start: {
|
|
2253
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2254
|
+
offset: number | null;
|
|
2255
|
+
} | null;
|
|
2256
|
+
end: {
|
|
2257
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2258
|
+
offset: number | null;
|
|
2259
|
+
};
|
|
2260
|
+
frameType: "rows" | "range";
|
|
2261
|
+
} | null;
|
|
2000
2262
|
}>]>, "many">>>;
|
|
2001
2263
|
followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.TABLE_RESULT>, z.ZodLiteral<AiResultType.VERTICAL_BAR_RESULT>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_TABLE>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_BAR_VIZ>]>, "many">;
|
|
2002
2264
|
filters: z.ZodEffects<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
@@ -4831,6 +5093,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
|
4831
5093
|
fieldId: string;
|
|
4832
5094
|
type: "percent_of_column_total";
|
|
4833
5095
|
displayName: string;
|
|
5096
|
+
partitionBy: string[] | null;
|
|
4834
5097
|
} | {
|
|
4835
5098
|
name: string;
|
|
4836
5099
|
fieldId: string;
|
|
@@ -4841,6 +5104,28 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
|
4841
5104
|
fieldId: string;
|
|
4842
5105
|
type: "running_total";
|
|
4843
5106
|
displayName: string;
|
|
5107
|
+
} | {
|
|
5108
|
+
name: string;
|
|
5109
|
+
fieldId: string | null;
|
|
5110
|
+
type: "window_function";
|
|
5111
|
+
displayName: string;
|
|
5112
|
+
orderBy: {
|
|
5113
|
+
fieldId: string;
|
|
5114
|
+
order: "asc" | "desc" | null;
|
|
5115
|
+
}[] | null;
|
|
5116
|
+
partitionBy: string[] | null;
|
|
5117
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
5118
|
+
frame: {
|
|
5119
|
+
start: {
|
|
5120
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
5121
|
+
offset: number | null;
|
|
5122
|
+
} | null;
|
|
5123
|
+
end: {
|
|
5124
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
5125
|
+
offset: number | null;
|
|
5126
|
+
};
|
|
5127
|
+
frameType: "rows" | "range";
|
|
5128
|
+
} | null;
|
|
4844
5129
|
})[] | null;
|
|
4845
5130
|
type: AiResultType.TIME_SERIES_RESULT;
|
|
4846
5131
|
description: string;
|
|
@@ -5363,6 +5648,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
|
5363
5648
|
fieldId: string;
|
|
5364
5649
|
type: "percent_of_column_total";
|
|
5365
5650
|
displayName: string;
|
|
5651
|
+
partitionBy: string[] | null;
|
|
5366
5652
|
} | {
|
|
5367
5653
|
name: string;
|
|
5368
5654
|
fieldId: string;
|
|
@@ -5373,6 +5659,28 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
|
5373
5659
|
fieldId: string;
|
|
5374
5660
|
type: "running_total";
|
|
5375
5661
|
displayName: string;
|
|
5662
|
+
} | {
|
|
5663
|
+
name: string;
|
|
5664
|
+
fieldId: string | null;
|
|
5665
|
+
type: "window_function";
|
|
5666
|
+
displayName: string;
|
|
5667
|
+
orderBy: {
|
|
5668
|
+
fieldId: string;
|
|
5669
|
+
order: "asc" | "desc" | null;
|
|
5670
|
+
}[] | null;
|
|
5671
|
+
partitionBy: string[] | null;
|
|
5672
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
5673
|
+
frame: {
|
|
5674
|
+
start: {
|
|
5675
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
5676
|
+
offset: number | null;
|
|
5677
|
+
} | null;
|
|
5678
|
+
end: {
|
|
5679
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
5680
|
+
offset: number | null;
|
|
5681
|
+
};
|
|
5682
|
+
frameType: "rows" | "range";
|
|
5683
|
+
} | null;
|
|
5376
5684
|
})[] | null | undefined;
|
|
5377
5685
|
customMetrics?: {
|
|
5378
5686
|
name: string;
|
|
@@ -5407,6 +5715,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
|
5407
5715
|
fieldId: string;
|
|
5408
5716
|
type: "percent_of_column_total";
|
|
5409
5717
|
displayName: string;
|
|
5718
|
+
partitionBy: string[] | null;
|
|
5410
5719
|
} | {
|
|
5411
5720
|
name: string;
|
|
5412
5721
|
fieldId: string;
|
|
@@ -5417,6 +5726,28 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
|
5417
5726
|
fieldId: string;
|
|
5418
5727
|
type: "running_total";
|
|
5419
5728
|
displayName: string;
|
|
5729
|
+
} | {
|
|
5730
|
+
name: string;
|
|
5731
|
+
fieldId: string | null;
|
|
5732
|
+
type: "window_function";
|
|
5733
|
+
displayName: string;
|
|
5734
|
+
orderBy: {
|
|
5735
|
+
fieldId: string;
|
|
5736
|
+
order: "asc" | "desc" | null;
|
|
5737
|
+
}[] | null;
|
|
5738
|
+
partitionBy: string[] | null;
|
|
5739
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
5740
|
+
frame: {
|
|
5741
|
+
start: {
|
|
5742
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
5743
|
+
offset: number | null;
|
|
5744
|
+
} | null;
|
|
5745
|
+
end: {
|
|
5746
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
5747
|
+
offset: number | null;
|
|
5748
|
+
};
|
|
5749
|
+
frameType: "rows" | "range";
|
|
5750
|
+
} | null;
|
|
5420
5751
|
})[] | null;
|
|
5421
5752
|
type: AiResultType.TIME_SERIES_RESULT;
|
|
5422
5753
|
description: string;
|
|
@@ -5938,6 +6269,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
|
5938
6269
|
fieldId: string;
|
|
5939
6270
|
type: "percent_of_column_total";
|
|
5940
6271
|
displayName: string;
|
|
6272
|
+
partitionBy: string[] | null;
|
|
5941
6273
|
} | {
|
|
5942
6274
|
name: string;
|
|
5943
6275
|
fieldId: string;
|
|
@@ -5948,6 +6280,28 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
|
5948
6280
|
fieldId: string;
|
|
5949
6281
|
type: "running_total";
|
|
5950
6282
|
displayName: string;
|
|
6283
|
+
} | {
|
|
6284
|
+
name: string;
|
|
6285
|
+
fieldId: string | null;
|
|
6286
|
+
type: "window_function";
|
|
6287
|
+
displayName: string;
|
|
6288
|
+
orderBy: {
|
|
6289
|
+
fieldId: string;
|
|
6290
|
+
order: "asc" | "desc" | null;
|
|
6291
|
+
}[] | null;
|
|
6292
|
+
partitionBy: string[] | null;
|
|
6293
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
6294
|
+
frame: {
|
|
6295
|
+
start: {
|
|
6296
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
6297
|
+
offset: number | null;
|
|
6298
|
+
} | null;
|
|
6299
|
+
end: {
|
|
6300
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
6301
|
+
offset: number | null;
|
|
6302
|
+
};
|
|
6303
|
+
frameType: "rows" | "range";
|
|
6304
|
+
} | null;
|
|
5951
6305
|
})[] | null | undefined;
|
|
5952
6306
|
customMetrics?: {
|
|
5953
6307
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolTimeSeriesArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,mBAAmB,EAEtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAS3C,eAAO,MAAM,gCAAgC,mDAAmD,CAAC;AAEjG,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"toolTimeSeriesArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,mBAAmB,EAEtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAS3C,eAAO,MAAM,gCAAgC,mDAAmD,CAAC;AAEjG,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AGrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -13,7 +13,10 @@ const toolSchemaBuilder_1 = require("../toolSchemaBuilder");
|
|
|
13
13
|
const visualizationMetadata_1 = tslib_1.__importDefault(require("../visualizationMetadata"));
|
|
14
14
|
const timeSeriesViz_1 = require("../visualizations/timeSeriesViz");
|
|
15
15
|
exports.TOOL_TIME_SERIES_VIZ_DESCRIPTION = `Use this tool to generate a Time Series Chart.`;
|
|
16
|
-
exports.toolTimeSeriesArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)(
|
|
16
|
+
exports.toolTimeSeriesArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)({
|
|
17
|
+
type: types_1.AiResultType.TIME_SERIES_RESULT,
|
|
18
|
+
description: exports.TOOL_TIME_SERIES_VIZ_DESCRIPTION,
|
|
19
|
+
})
|
|
17
20
|
.extend({
|
|
18
21
|
...visualizationMetadata_1.default.shape,
|
|
19
22
|
customMetrics: customMetrics_1.customMetricsSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolTimeSeriesArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,uDAG6B;AAC7B,uCAA2C;AAC3C,oDAAuD;AACvD,wCAAuE;AACvE,sDAA6D;AAC7D,yDAA4D;AAC5D,4DAAwD;AACxD,6FAAmE;AACnE,mEAAkF;AAErE,QAAA,gCAAgC,GAAG,gDAAgD,CAAC;AAEpF,QAAA,wBAAwB,GAAG,IAAA,oCAAgB,
|
|
1
|
+
{"version":3,"file":"toolTimeSeriesArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,uDAG6B;AAC7B,uCAA2C;AAC3C,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