@lightdash/common 0.1989.1 → 0.1989.3

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 (65) hide show
  1. package/dist/cjs/ee/AiAgent/followUpTools.d.ts +3 -7
  2. package/dist/cjs/ee/AiAgent/followUpTools.d.ts.map +1 -1
  3. package/dist/cjs/ee/AiAgent/followUpTools.js +6 -11
  4. package/dist/cjs/ee/AiAgent/followUpTools.js.map +1 -1
  5. package/dist/cjs/ee/AiAgent/schemas/index.d.ts +9 -9
  6. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +8 -9
  7. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
  8. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.js +2 -3
  9. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.js.map +1 -1
  10. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +8 -9
  11. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
  12. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js +3 -4
  13. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js.map +1 -1
  14. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +8 -9
  15. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
  16. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js +3 -4
  17. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js.map +1 -1
  18. package/dist/cjs/ee/AiAgent/types.d.ts +0 -1
  19. package/dist/cjs/ee/AiAgent/types.d.ts.map +1 -1
  20. package/dist/cjs/ee/AiAgent/types.js +0 -1
  21. package/dist/cjs/ee/AiAgent/types.js.map +1 -1
  22. package/dist/cjs/ee/AiAgent/utils.d.ts +3 -3
  23. package/dist/cjs/pivot/derivePivotConfigFromChart.d.ts.map +1 -1
  24. package/dist/cjs/pivot/derivePivotConfigFromChart.js +14 -5
  25. package/dist/cjs/pivot/derivePivotConfigFromChart.js.map +1 -1
  26. package/dist/esm/ee/AiAgent/followUpTools.d.ts +3 -7
  27. package/dist/esm/ee/AiAgent/followUpTools.d.ts.map +1 -1
  28. package/dist/esm/ee/AiAgent/followUpTools.js +5 -10
  29. package/dist/esm/ee/AiAgent/followUpTools.js.map +1 -1
  30. package/dist/esm/ee/AiAgent/schemas/index.d.ts +9 -9
  31. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +8 -9
  32. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
  33. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.js +2 -3
  34. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.js.map +1 -1
  35. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +8 -9
  36. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
  37. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js +3 -4
  38. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js.map +1 -1
  39. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +8 -9
  40. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
  41. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js +3 -4
  42. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js.map +1 -1
  43. package/dist/esm/ee/AiAgent/types.d.ts +0 -1
  44. package/dist/esm/ee/AiAgent/types.d.ts.map +1 -1
  45. package/dist/esm/ee/AiAgent/types.js +0 -1
  46. package/dist/esm/ee/AiAgent/types.js.map +1 -1
  47. package/dist/esm/ee/AiAgent/utils.d.ts +3 -3
  48. package/dist/esm/pivot/derivePivotConfigFromChart.d.ts.map +1 -1
  49. package/dist/esm/pivot/derivePivotConfigFromChart.js +14 -5
  50. package/dist/esm/pivot/derivePivotConfigFromChart.js.map +1 -1
  51. package/dist/tsconfig.types.tsbuildinfo +1 -1
  52. package/dist/types/ee/AiAgent/followUpTools.d.ts +3 -7
  53. package/dist/types/ee/AiAgent/followUpTools.d.ts.map +1 -1
  54. package/dist/types/ee/AiAgent/schemas/index.d.ts +9 -9
  55. package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +8 -9
  56. package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
  57. package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +8 -9
  58. package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
  59. package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +8 -9
  60. package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
  61. package/dist/types/ee/AiAgent/types.d.ts +0 -1
  62. package/dist/types/ee/AiAgent/types.d.ts.map +1 -1
  63. package/dist/types/ee/AiAgent/utils.d.ts +3 -3
  64. package/dist/types/pivot/derivePivotConfigFromChart.d.ts.map +1 -1
  65. package/package.json +1 -1
@@ -1,12 +1,8 @@
1
1
  import { z } from 'zod';
2
- export declare enum FollowUpTools {
3
- GENERATE_TABLE = "generate_table",
4
- GENERATE_BAR_VIZ = "generate_bar_viz",
5
- GENERATE_TIME_SERIES_VIZ = "generate_time_series_viz"
6
- }
2
+ import { AiResultType } from './types';
7
3
  export type FollowUpToolsText = {
8
- [key in FollowUpTools]: string;
4
+ [key in AiResultType]: string;
9
5
  };
10
6
  export declare const followUpToolsText: FollowUpToolsText;
11
- export declare const followUpToolsSchema: z.ZodArray<z.ZodNativeEnum<typeof FollowUpTools>, "many">;
7
+ export declare const followUpToolsSchema: z.ZodArray<z.ZodNativeEnum<typeof AiResultType>, "many">;
12
8
  //# sourceMappingURL=followUpTools.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"followUpTools.d.ts","sourceRoot":"","sources":["../../../../src/ee/AiAgent/followUpTools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,oBAAY,aAAa;IACrB,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,wBAAwB,6BAA6B;CACxD;AAED,MAAM,MAAM,iBAAiB,GAAG;KAC3B,GAAG,IAAI,aAAa,GAAG,MAAM;CACjC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,iBAI/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,2DAAsC,CAAC"}
1
+ {"version":3,"file":"followUpTools.d.ts","sourceRoot":"","sources":["../../../../src/ee/AiAgent/followUpTools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG;KAC3B,GAAG,IAAI,YAAY,GAAG,MAAM;CAChC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,iBAI/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,0DAAqC,CAAC"}
@@ -1,17 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.followUpToolsSchema = exports.followUpToolsText = exports.FollowUpTools = void 0;
3
+ exports.followUpToolsSchema = exports.followUpToolsText = void 0;
4
4
  const zod_1 = require("zod");
5
- var FollowUpTools;
6
- (function (FollowUpTools) {
7
- FollowUpTools["GENERATE_TABLE"] = "generate_table";
8
- FollowUpTools["GENERATE_BAR_VIZ"] = "generate_bar_viz";
9
- FollowUpTools["GENERATE_TIME_SERIES_VIZ"] = "generate_time_series_viz";
10
- })(FollowUpTools || (exports.FollowUpTools = FollowUpTools = {}));
5
+ const types_1 = require("./types");
11
6
  exports.followUpToolsText = {
12
- [FollowUpTools.GENERATE_TABLE]: 'Generate a Table',
13
- [FollowUpTools.GENERATE_BAR_VIZ]: 'Generate a Bar Chart',
14
- [FollowUpTools.GENERATE_TIME_SERIES_VIZ]: 'Generate a Time Series Chart',
7
+ [types_1.AiResultType.TABLE_RESULT]: 'Generate a Table',
8
+ [types_1.AiResultType.VERTICAL_BAR_RESULT]: 'Generate a Bar Chart',
9
+ [types_1.AiResultType.TIME_SERIES_RESULT]: 'Generate a Time Series Chart',
15
10
  };
16
- exports.followUpToolsSchema = zod_1.z.nativeEnum(FollowUpTools).array();
11
+ exports.followUpToolsSchema = zod_1.z.nativeEnum(types_1.AiResultType).array();
17
12
  //# sourceMappingURL=followUpTools.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"followUpTools.js","sourceRoot":"","sources":["../../../../src/ee/AiAgent/followUpTools.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,IAAY,aAIX;AAJD,WAAY,aAAa;IACrB,kDAAiC,CAAA;IACjC,sDAAqC,CAAA;IACrC,sEAAqD,CAAA;AACzD,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAMY,QAAA,iBAAiB,GAAsB;IAChD,CAAC,aAAa,CAAC,cAAc,CAAC,EAAE,kBAAkB;IAClD,CAAC,aAAa,CAAC,gBAAgB,CAAC,EAAE,sBAAsB;IACxD,CAAC,aAAa,CAAC,wBAAwB,CAAC,EAAE,8BAA8B;CAC3E,CAAC;AAEW,QAAA,mBAAmB,GAAG,OAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"followUpTools.js","sourceRoot":"","sources":["../../../../src/ee/AiAgent/followUpTools.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,mCAAuC;AAM1B,QAAA,iBAAiB,GAAsB;IAChD,CAAC,oBAAY,CAAC,YAAY,CAAC,EAAE,kBAAkB;IAC/C,CAAC,oBAAY,CAAC,mBAAmB,CAAC,EAAE,sBAAsB;IAC1D,CAAC,oBAAY,CAAC,kBAAkB,CAAC,EAAE,8BAA8B;CACpE,CAAC;AAEW,QAAA,mBAAmB,GAAG,OAAC,CAAC,UAAU,CAAC,oBAAY,CAAC,CAAC,KAAK,EAAE,CAAC"}
@@ -1100,7 +1100,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1100
1100
  })[] | null;
1101
1101
  type: "and" | "or";
1102
1102
  }>>;
1103
- followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<import("..").FollowUpTools.GENERATE_BAR_VIZ>, z.ZodLiteral<import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
1103
+ followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<import("..").AiResultType.TABLE_RESULT>, z.ZodLiteral<import("..").AiResultType.TIME_SERIES_RESULT>]>, "many">;
1104
1104
  title: z.ZodString;
1105
1105
  description: z.ZodString;
1106
1106
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -1311,7 +1311,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1311
1311
  stackBars: boolean | null;
1312
1312
  xAxisType: "time" | "category";
1313
1313
  };
1314
- followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
1314
+ followUpTools: (import("..").AiResultType.TIME_SERIES_RESULT | import("..").AiResultType.TABLE_RESULT)[];
1315
1315
  }, {
1316
1316
  type: import("..").AiResultType.VERTICAL_BAR_RESULT;
1317
1317
  description: string;
@@ -1520,7 +1520,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
1520
1520
  stackBars: boolean | null;
1521
1521
  xAxisType: "time" | "category";
1522
1522
  };
1523
- followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
1523
+ followUpTools: (import("..").AiResultType.TIME_SERIES_RESULT | import("..").AiResultType.TABLE_RESULT)[];
1524
1524
  }>, z.ZodObject<{
1525
1525
  type: z.ZodLiteral<import("..").AiResultType.TABLE_RESULT>;
1526
1526
  } & {
@@ -2527,7 +2527,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2527
2527
  })[] | null;
2528
2528
  type: "and" | "or";
2529
2529
  }>>;
2530
- followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<import("..").FollowUpTools.GENERATE_BAR_VIZ>, z.ZodLiteral<import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
2530
+ followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<import("..").AiResultType.VERTICAL_BAR_RESULT>, z.ZodLiteral<import("..").AiResultType.TIME_SERIES_RESULT>]>, "many">;
2531
2531
  title: z.ZodString;
2532
2532
  description: z.ZodString;
2533
2533
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -2733,7 +2733,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2733
2733
  nullsFirst: boolean | null;
2734
2734
  }[];
2735
2735
  };
2736
- followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
2736
+ followUpTools: (import("..").AiResultType.TIME_SERIES_RESULT | import("..").AiResultType.VERTICAL_BAR_RESULT)[];
2737
2737
  }, {
2738
2738
  type: import("..").AiResultType.TABLE_RESULT;
2739
2739
  description: string;
@@ -2937,7 +2937,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
2937
2937
  nullsFirst: boolean | null;
2938
2938
  }[];
2939
2939
  };
2940
- followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
2940
+ followUpTools: (import("..").AiResultType.TIME_SERIES_RESULT | import("..").AiResultType.VERTICAL_BAR_RESULT)[];
2941
2941
  }>, z.ZodObject<{
2942
2942
  type: z.ZodLiteral<import("..").AiResultType.TIME_SERIES_RESULT>;
2943
2943
  } & {
@@ -3956,7 +3956,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
3956
3956
  })[] | null;
3957
3957
  type: "and" | "or";
3958
3958
  }>>;
3959
- followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<import("..").FollowUpTools.GENERATE_BAR_VIZ>, z.ZodLiteral<import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
3959
+ followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<import("..").AiResultType.TABLE_RESULT>, z.ZodLiteral<import("..").AiResultType.VERTICAL_BAR_RESULT>]>, "many">;
3960
3960
  title: z.ZodString;
3961
3961
  description: z.ZodString;
3962
3962
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -4166,7 +4166,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
4166
4166
  xAxisLabel: string | null;
4167
4167
  yAxisLabel: string | null;
4168
4168
  };
4169
- followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
4169
+ followUpTools: (import("..").AiResultType.VERTICAL_BAR_RESULT | import("..").AiResultType.TABLE_RESULT)[];
4170
4170
  }, {
4171
4171
  type: import("..").AiResultType.TIME_SERIES_RESULT;
4172
4172
  description: string;
@@ -4374,7 +4374,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
4374
4374
  xAxisLabel: string | null;
4375
4375
  yAxisLabel: string | null;
4376
4376
  };
4377
- followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
4377
+ followUpTools: (import("..").AiResultType.VERTICAL_BAR_RESULT | import("..").AiResultType.TABLE_RESULT)[];
4378
4378
  }>, z.ZodObject<{
4379
4379
  type: z.ZodLiteral<"find_explores">;
4380
4380
  } & {
@@ -1,5 +1,4 @@
1
1
  import { z } from 'zod';
2
- import { FollowUpTools } from '../../followUpTools';
3
2
  import { AiResultType } from '../../types';
4
3
  export declare const TOOL_TABLE_VIZ_DESCRIPTION = "Use this tool to query data to display in a table or summarized if limit is set to 1.";
5
4
  export declare const toolTableVizArgsSchema: z.ZodObject<{
@@ -1008,7 +1007,7 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
1008
1007
  })[] | null;
1009
1008
  type: "and" | "or";
1010
1009
  }>>;
1011
- followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<FollowUpTools.GENERATE_BAR_VIZ>, z.ZodLiteral<FollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
1010
+ followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.VERTICAL_BAR_RESULT>, z.ZodLiteral<AiResultType.TIME_SERIES_RESULT>]>, "many">;
1012
1011
  title: z.ZodString;
1013
1012
  description: z.ZodString;
1014
1013
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -1214,7 +1213,7 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
1214
1213
  nullsFirst: boolean | null;
1215
1214
  }[];
1216
1215
  };
1217
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
1216
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
1218
1217
  }, {
1219
1218
  type: AiResultType.TABLE_RESULT;
1220
1219
  description: string;
@@ -1418,7 +1417,7 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
1418
1417
  nullsFirst: boolean | null;
1419
1418
  }[];
1420
1419
  };
1421
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
1420
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
1422
1421
  }>;
1423
1422
  export type ToolTableVizArgs = z.infer<typeof toolTableVizArgsSchema>;
1424
1423
  export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject<{
@@ -2407,7 +2406,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
2407
2406
  })[] | null;
2408
2407
  type: "and" | "or";
2409
2408
  }>>;
2410
- followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<FollowUpTools.GENERATE_BAR_VIZ>, z.ZodLiteral<FollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
2409
+ followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.VERTICAL_BAR_RESULT>, z.ZodLiteral<AiResultType.TIME_SERIES_RESULT>]>, "many">;
2411
2410
  title: z.ZodString;
2412
2411
  description: z.ZodString;
2413
2412
  } & {
@@ -2633,7 +2632,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
2633
2632
  nullsFirst: boolean | null;
2634
2633
  }[];
2635
2634
  };
2636
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
2635
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
2637
2636
  }, {
2638
2637
  type: AiResultType.TABLE_RESULT;
2639
2638
  description: string;
@@ -2830,7 +2829,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
2830
2829
  nullsFirst: boolean | null;
2831
2830
  }[];
2832
2831
  };
2833
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
2832
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
2834
2833
  customMetrics?: {
2835
2834
  name: string;
2836
2835
  label: string;
@@ -2861,7 +2860,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
2861
2860
  nullsFirst: boolean | null;
2862
2861
  }[];
2863
2862
  };
2864
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
2863
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
2865
2864
  }, {
2866
2865
  type: AiResultType.TABLE_RESULT;
2867
2866
  description: string;
@@ -3058,7 +3057,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
3058
3057
  nullsFirst: boolean | null;
3059
3058
  }[];
3060
3059
  };
3061
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
3060
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
3062
3061
  customMetrics?: {
3063
3062
  name: string;
3064
3063
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"toolTableVizArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTableVizArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAO3C,eAAO,MAAM,0BAA0B,0FAA0F,CAAC;AAElI,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQvC,CAAC;AAER,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,iCAAiC,CAC3C,CAAC"}
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.toolTableVizArgsSchemaTransformed = exports.toolTableVizArgsSchema = exports.TOOL_TABLE_VIZ_DESCRIPTION = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const zod_1 = require("zod");
6
- const followUpTools_1 = require("../../followUpTools");
7
6
  const types_1 = require("../../types");
8
7
  const customMetrics_1 = require("../customMetrics");
9
8
  const filters_1 = require("../filters");
@@ -21,8 +20,8 @@ exports.toolTableVizArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)(types
21
20
  .describe('Filters to apply to the query. Filtered fields must exist in the selected explore or should be referenced from the custom metrics.'),
22
21
  followUpTools: zod_1.z
23
22
  .array(zod_1.z.union([
24
- zod_1.z.literal(followUpTools_1.FollowUpTools.GENERATE_BAR_VIZ),
25
- zod_1.z.literal(followUpTools_1.FollowUpTools.GENERATE_TIME_SERIES_VIZ),
23
+ zod_1.z.literal(types_1.AiResultType.VERTICAL_BAR_RESULT),
24
+ zod_1.z.literal(types_1.AiResultType.TIME_SERIES_RESULT),
26
25
  ]))
27
26
  .describe('The actions the User can ask for after the AI has generated the table.'),
28
27
  })
@@ -1 +1 @@
1
- {"version":3,"file":"toolTableVizArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTableVizArgs.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,uDAAoD;AACpD,uCAA2C;AAC3C,oDAAuD;AACvD,wCAAqE;AACrE,4DAAwD;AACxD,6FAAmE;AACnE,sDAAyD;AAE5C,QAAA,0BAA0B,GAAG,uFAAuF,CAAC;AAErH,QAAA,sBAAsB,GAAG,IAAA,oCAAgB,EAClD,oBAAY,CAAC,YAAY,EACzB,kCAA0B,CAC7B;KACI,MAAM,CAAC;IACJ,GAAG,+BAA2B,CAAC,KAAK;IACpC,aAAa,EAAE,mCAAmB;IAClC,SAAS,EAAE,qCAAoB;IAC/B,OAAO,EAAE,uBAAa;SACjB,QAAQ,EAAE;SACV,QAAQ,CACL,oIAAoI,CACvI;IACL,aAAa,EAAE,OAAC;SACX,KAAK,CACF,OAAC,CAAC,KAAK,CAAC;QACJ,OAAC,CAAC,OAAO,CAAC,6BAAa,CAAC,gBAAgB,CAAC;QACzC,OAAC,CAAC,OAAO,CAAC,6BAAa,CAAC,wBAAwB,CAAC;KACpD,CAAC,CACL;SACA,QAAQ,CACL,wEAAwE,CAC3E;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAIA,QAAA,iCAAiC,GAAG,8BAAsB;KAClE,MAAM,CAAC;IACJ,oEAAoE;IACpE,aAAa,EAAE,mCAAmB,CAAC,OAAO,CAAC,IAAI,CAAC;CACnD,CAAC;KACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAClB,GAAG,IAAI;IACP,OAAO,EAAE,kCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;CACxD,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"toolTableVizArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTableVizArgs.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,uCAA2C;AAC3C,oDAAuD;AACvD,wCAAqE;AACrE,4DAAwD;AACxD,6FAAmE;AACnE,sDAAyD;AAE5C,QAAA,0BAA0B,GAAG,uFAAuF,CAAC;AAErH,QAAA,sBAAsB,GAAG,IAAA,oCAAgB,EAClD,oBAAY,CAAC,YAAY,EACzB,kCAA0B,CAC7B;KACI,MAAM,CAAC;IACJ,GAAG,+BAA2B,CAAC,KAAK;IACpC,aAAa,EAAE,mCAAmB;IAClC,SAAS,EAAE,qCAAoB;IAC/B,OAAO,EAAE,uBAAa;SACjB,QAAQ,EAAE;SACV,QAAQ,CACL,oIAAoI,CACvI;IACL,aAAa,EAAE,OAAC;SACX,KAAK,CACF,OAAC,CAAC,KAAK,CAAC;QACJ,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,mBAAmB,CAAC;QAC3C,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,kBAAkB,CAAC;KAC7C,CAAC,CACL;SACA,QAAQ,CACL,wEAAwE,CAC3E;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAIA,QAAA,iCAAiC,GAAG,8BAAsB;KAClE,MAAM,CAAC;IACJ,oEAAoE;IACpE,aAAa,EAAE,mCAAmB,CAAC,OAAO,CAAC,IAAI,CAAC;CACnD,CAAC;KACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAClB,GAAG,IAAI;IACP,OAAO,EAAE,kCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;CACxD,CAAC,CAAC,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { z } from 'zod';
2
- import { FollowUpTools } from '../../followUpTools';
3
2
  import { AiResultType } from '../../types';
4
3
  export declare const TOOL_TIME_SERIES_VIZ_DESCRIPTION = "Use this tool to generate a Time Series Chart.";
5
4
  export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
@@ -1020,7 +1019,7 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
1020
1019
  })[] | null;
1021
1020
  type: "and" | "or";
1022
1021
  }>>;
1023
- followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<FollowUpTools.GENERATE_BAR_VIZ>, z.ZodLiteral<FollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
1022
+ followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.TABLE_RESULT>, z.ZodLiteral<AiResultType.VERTICAL_BAR_RESULT>]>, "many">;
1024
1023
  title: z.ZodString;
1025
1024
  description: z.ZodString;
1026
1025
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -1230,7 +1229,7 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
1230
1229
  xAxisLabel: string | null;
1231
1230
  yAxisLabel: string | null;
1232
1231
  };
1233
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
1232
+ followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT)[];
1234
1233
  }, {
1235
1234
  type: AiResultType.TIME_SERIES_RESULT;
1236
1235
  description: string;
@@ -1438,7 +1437,7 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
1438
1437
  xAxisLabel: string | null;
1439
1438
  yAxisLabel: string | null;
1440
1439
  };
1441
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
1440
+ followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT)[];
1442
1441
  }>;
1443
1442
  export type ToolTimeSeriesArgs = z.infer<typeof toolTimeSeriesArgsSchema>;
1444
1443
  export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObject<{
@@ -2388,7 +2387,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
2388
2387
  })[] | null;
2389
2388
  type: "and" | "or";
2390
2389
  }>>;
2391
- followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<FollowUpTools.GENERATE_BAR_VIZ>, z.ZodLiteral<FollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
2390
+ followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.TABLE_RESULT>, z.ZodLiteral<AiResultType.VERTICAL_BAR_RESULT>]>, "many">;
2392
2391
  title: z.ZodString;
2393
2392
  description: z.ZodString;
2394
2393
  } & {
@@ -2670,7 +2669,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
2670
2669
  xAxisLabel: string;
2671
2670
  yAxisLabel: string;
2672
2671
  };
2673
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
2672
+ followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT)[];
2674
2673
  }, {
2675
2674
  type: AiResultType.TIME_SERIES_RESULT;
2676
2675
  description: string;
@@ -2871,7 +2870,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
2871
2870
  xAxisLabel?: string | undefined;
2872
2871
  yAxisLabel?: string | undefined;
2873
2872
  };
2874
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
2873
+ followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT)[];
2875
2874
  customMetrics?: {
2876
2875
  name: string;
2877
2876
  label: string;
@@ -2906,7 +2905,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
2906
2905
  xAxisLabel: string;
2907
2906
  yAxisLabel: string;
2908
2907
  };
2909
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
2908
+ followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT)[];
2910
2909
  }, {
2911
2910
  type: AiResultType.TIME_SERIES_RESULT;
2912
2911
  description: string;
@@ -3107,7 +3106,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
3107
3106
  xAxisLabel?: string | undefined;
3108
3107
  yAxisLabel?: string | undefined;
3109
3108
  };
3110
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
3109
+ followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT)[];
3111
3110
  customMetrics?: {
3112
3111
  name: string;
3113
3112
  label: 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,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAO3C,eAAO,MAAM,gCAAgC,mDAAmD,CAAC;AAEjG,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAazC,CAAC;AAER,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,mCAAmC,CAC7C,CAAC"}
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.toolTimeSeriesArgsSchemaTransformed = exports.toolTimeSeriesArgsSchema = exports.TOOL_TIME_SERIES_VIZ_DESCRIPTION = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const zod_1 = require("zod");
6
- const followUpTools_1 = require("../../followUpTools");
7
6
  const types_1 = require("../../types");
8
7
  const customMetrics_1 = require("../customMetrics");
9
8
  const filters_1 = require("../filters");
@@ -21,10 +20,10 @@ exports.toolTimeSeriesArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)(typ
21
20
  .describe('Filters to apply to the query. Filtered fields must exist in the selected explore or should be referenced from the custom metrics.'),
22
21
  followUpTools: zod_1.z
23
22
  .array(zod_1.z.union([
24
- zod_1.z.literal(followUpTools_1.FollowUpTools.GENERATE_BAR_VIZ),
25
- zod_1.z.literal(followUpTools_1.FollowUpTools.GENERATE_TIME_SERIES_VIZ),
23
+ zod_1.z.literal(types_1.AiResultType.TABLE_RESULT),
24
+ zod_1.z.literal(types_1.AiResultType.VERTICAL_BAR_RESULT),
26
25
  ]))
27
- .describe(`The actions the User can ask for after the AI has generated the chart. NEVER include ${followUpTools_1.FollowUpTools.GENERATE_TIME_SERIES_VIZ} in this list.`),
26
+ .describe(`The actions the User can ask for after the AI has generated the chart.`),
28
27
  })
29
28
  .build();
30
29
  exports.toolTimeSeriesArgsSchemaTransformed = exports.toolTimeSeriesArgsSchema
@@ -1 +1 @@
1
- {"version":3,"file":"toolTimeSeriesArgs.js","sourceRoot":"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kCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;CACxD,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"toolTimeSeriesArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,uCAA2C;AAC3C,oDAAuD;AACvD,wCAAqE;AACrE,4DAAwD;AACxD,6FAAmE;AACnE,mEAAkF;AAErE,QAAA,gCAAgC,GAAG,gDAAgD,CAAC;AAEpF,QAAA,wBAAwB,GAAG,IAAA,oCAAgB,EACpD,oBAAY,CAAC,kBAAkB,EAC/B,wCAAgC,CACnC;KACI,MAAM,CAAC;IACJ,GAAG,+BAA2B,CAAC,KAAK;IACpC,aAAa,EAAE,mCAAmB;IAClC,SAAS,EAAE,+CAA+B;IAC1C,OAAO,EAAE,uBAAa;SACjB,QAAQ,EAAE;SACV,QAAQ,CACL,oIAAoI,CACvI;IACL,aAAa,EAAE,OAAC;SACX,KAAK,CACF,OAAC,CAAC,KAAK,CAAC;QACJ,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,YAAY,CAAC;QACpC,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,mBAAmB,CAAC;KAC9C,CAAC,CACL;SACA,QAAQ,CACL,wEAAwE,CAC3E;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAIA,QAAA,mCAAmC,GAAG,gCAAwB;KACtE,MAAM,CAAC;IACJ,8CAA8C;IAC9C,SAAS,EAAE,+CAA+B,CAAC,MAAM,CAAC;QAC9C,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAClC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;KACrC,CAAC;IACF,oEAAoE;IACpE,aAAa,EAAE,mCAAmB,CAAC,OAAO,CAAC,IAAI,CAAC;CACnD,CAAC;KACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAClB,GAAG,IAAI;IACP,OAAO,EAAE,kCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;CACxD,CAAC,CAAC,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { z } from 'zod';
2
- import { FollowUpTools } from '../../followUpTools';
3
2
  import { AiResultType } from '../../types';
4
3
  export declare const TOOL_VERTICAL_BAR_VIZ_DESCRIPTION = "Use this tool to generate a Bar Chart Visualization.";
5
4
  export declare const toolVerticalBarArgsSchema: z.ZodObject<{
@@ -1023,7 +1022,7 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
1023
1022
  })[] | null;
1024
1023
  type: "and" | "or";
1025
1024
  }>>;
1026
- followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<FollowUpTools.GENERATE_BAR_VIZ>, z.ZodLiteral<FollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
1025
+ followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.TABLE_RESULT>, z.ZodLiteral<AiResultType.TIME_SERIES_RESULT>]>, "many">;
1027
1026
  title: z.ZodString;
1028
1027
  description: z.ZodString;
1029
1028
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -1234,7 +1233,7 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
1234
1233
  stackBars: boolean | null;
1235
1234
  xAxisType: "time" | "category";
1236
1235
  };
1237
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
1236
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT)[];
1238
1237
  }, {
1239
1238
  type: AiResultType.VERTICAL_BAR_RESULT;
1240
1239
  description: string;
@@ -1443,7 +1442,7 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
1443
1442
  stackBars: boolean | null;
1444
1443
  xAxisType: "time" | "category";
1445
1444
  };
1446
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
1445
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT)[];
1447
1446
  }>;
1448
1447
  export type ToolVerticalBarArgs = z.infer<typeof toolVerticalBarArgsSchema>;
1449
1448
  export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObject<{
@@ -2447,7 +2446,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
2447
2446
  })[] | null;
2448
2447
  type: "and" | "or";
2449
2448
  }>>;
2450
- followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<FollowUpTools.GENERATE_BAR_VIZ>, z.ZodLiteral<FollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
2449
+ followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.TABLE_RESULT>, z.ZodLiteral<AiResultType.TIME_SERIES_RESULT>]>, "many">;
2451
2450
  title: z.ZodString;
2452
2451
  description: z.ZodString;
2453
2452
  } & {
@@ -2678,7 +2677,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
2678
2677
  stackBars: boolean | null;
2679
2678
  xAxisType: "time" | "category";
2680
2679
  };
2681
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
2680
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT)[];
2682
2681
  }, {
2683
2682
  type: AiResultType.VERTICAL_BAR_RESULT;
2684
2683
  description: string;
@@ -2880,7 +2879,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
2880
2879
  stackBars: boolean | null;
2881
2880
  xAxisType: "time" | "category";
2882
2881
  };
2883
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
2882
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT)[];
2884
2883
  customMetrics?: {
2885
2884
  name: string;
2886
2885
  label: string;
@@ -2916,7 +2915,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
2916
2915
  stackBars: boolean | null;
2917
2916
  xAxisType: "time" | "category";
2918
2917
  };
2919
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
2918
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT)[];
2920
2919
  }, {
2921
2920
  type: AiResultType.VERTICAL_BAR_RESULT;
2922
2921
  description: string;
@@ -3118,7 +3117,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
3118
3117
  stackBars: boolean | null;
3119
3118
  xAxisType: "time" | "category";
3120
3119
  };
3121
- followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
3120
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT)[];
3122
3121
  customMetrics?: {
3123
3122
  name: string;
3124
3123
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"toolVerticalBarArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolVerticalBarArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAO3C,eAAO,MAAM,iCAAiC,yDAAyD,CAAC;AAExG,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ1C,CAAC;AAER,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,oCAAoC,CAC9C,CAAC"}
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.toolVerticalBarArgsSchemaTransformed = exports.toolVerticalBarArgsSchema = exports.TOOL_VERTICAL_BAR_VIZ_DESCRIPTION = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const zod_1 = require("zod");
6
- const followUpTools_1 = require("../../followUpTools");
7
6
  const types_1 = require("../../types");
8
7
  const customMetrics_1 = require("../customMetrics");
9
8
  const filters_1 = require("../filters");
@@ -21,10 +20,10 @@ exports.toolVerticalBarArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)(ty
21
20
  .describe('Filters to apply to the query. Filtered fields must exist in the selected explore or should be referenced from the custom metrics.'),
22
21
  followUpTools: zod_1.z
23
22
  .array(zod_1.z.union([
24
- zod_1.z.literal(followUpTools_1.FollowUpTools.GENERATE_BAR_VIZ),
25
- zod_1.z.literal(followUpTools_1.FollowUpTools.GENERATE_TIME_SERIES_VIZ),
23
+ zod_1.z.literal(types_1.AiResultType.TABLE_RESULT),
24
+ zod_1.z.literal(types_1.AiResultType.TIME_SERIES_RESULT),
26
25
  ]))
27
- .describe(`The actions the User can ask for after the AI has generated the chart. NEVER include ${followUpTools_1.FollowUpTools.GENERATE_BAR_VIZ} in this list.`),
26
+ .describe(`The actions the User can ask for after the AI has generated the chart.`),
28
27
  })
29
28
  .build();
30
29
  exports.toolVerticalBarArgsSchemaTransformed = exports.toolVerticalBarArgsSchema
@@ -1 +1 @@
1
- {"version":3,"file":"toolVerticalBarArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolVerticalBarArgs.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,uDAAoD;AACpD,uCAA2C;AAC3C,oDAAuD;AACvD,wCAAqE;AACrE,4DAAwD;AACxD,6FAAmE;AACnE,sDAAqE;AAExD,QAAA,iCAAiC,GAAG,sDAAsD,CAAC;AAE3F,QAAA,yBAAyB,GAAG,IAAA,oCAAgB,EACrD,oBAAY,CAAC,mBAAmB,EAChC,yCAAiC,CACpC;KACI,MAAM,CAAC;IACJ,GAAG,+BAA2B,CAAC,KAAK;IACpC,aAAa,EAAE,mCAAmB;IAClC,SAAS,EAAE,iDAAgC;IAC3C,OAAO,EAAE,uBAAa;SACjB,QAAQ,EAAE;SACV,QAAQ,CACL,oIAAoI,CACvI;IACL,aAAa,EAAE,OAAC;SACX,KAAK,CACF,OAAC,CAAC,KAAK,CAAC;QACJ,OAAC,CAAC,OAAO,CAAC,6BAAa,CAAC,gBAAgB,CAAC;QACzC,OAAC,CAAC,OAAO,CAAC,6BAAa,CAAC,wBAAwB,CAAC;KACpD,CAAC,CACL;SACA,QAAQ,CACL,wFAAwF,6BAAa,CAAC,gBAAgB,gBAAgB,CACzI;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAIA,QAAA,oCAAoC,GAAG,iCAAyB;KACxE,MAAM,CAAC;IACJ,oEAAoE;IACpE,aAAa,EAAE,mCAAmB,CAAC,OAAO,CAAC,IAAI,CAAC;CACnD,CAAC;KACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAClB,GAAG,IAAI;IACP,OAAO,EAAE,kCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;CACxD,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"toolVerticalBarArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolVerticalBarArgs.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,uCAA2C;AAC3C,oDAAuD;AACvD,wCAAqE;AACrE,4DAAwD;AACxD,6FAAmE;AACnE,sDAAqE;AAExD,QAAA,iCAAiC,GAAG,sDAAsD,CAAC;AAE3F,QAAA,yBAAyB,GAAG,IAAA,oCAAgB,EACrD,oBAAY,CAAC,mBAAmB,EAChC,yCAAiC,CACpC;KACI,MAAM,CAAC;IACJ,GAAG,+BAA2B,CAAC,KAAK;IACpC,aAAa,EAAE,mCAAmB;IAClC,SAAS,EAAE,iDAAgC;IAC3C,OAAO,EAAE,uBAAa;SACjB,QAAQ,EAAE;SACV,QAAQ,CACL,oIAAoI,CACvI;IACL,aAAa,EAAE,OAAC;SACX,KAAK,CACF,OAAC,CAAC,KAAK,CAAC;QACJ,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,YAAY,CAAC;QACpC,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,kBAAkB,CAAC;KAC7C,CAAC,CACL;SACA,QAAQ,CACL,wEAAwE,CAC3E;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAIA,QAAA,oCAAoC,GAAG,iCAAyB;KACxE,MAAM,CAAC;IACJ,oEAAoE;IACpE,aAAa,EAAE,mCAAmB,CAAC,OAAO,CAAC,IAAI,CAAC;CACnD,CAAC;KACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAClB,GAAG,IAAI;IACP,OAAO,EAAE,kCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;CACxD,CAAC,CAAC,CAAC"}
@@ -4,7 +4,6 @@ import type { ToolTableVizArgs, ToolTimeSeriesArgs, ToolVerticalBarArgs } from '
4
4
  export declare enum AiResultType {
5
5
  TIME_SERIES_RESULT = "time_series_chart",
6
6
  VERTICAL_BAR_RESULT = "vertical_bar_chart",
7
- ONE_LINE_RESULT = "one_line_result",
8
7
  TABLE_RESULT = "table"
9
8
  }
10
9
  export type AiMetricQuery = Pick<MetricQuery, 'metrics' | 'dimensions' | 'sorts' | 'limit' | 'exploreName'> & {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ee/AiAgent/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EACR,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACtB,MAAM,iBAAiB,CAAC;AAEzB,oBAAY,YAAY;IACpB,kBAAkB,sBAAsB;IACxC,mBAAmB,uBAAuB;IAC1C,eAAe,oBAAoB;IACnC,YAAY,UAAU;CACzB;AAED,MAAM,MAAM,aAAa,GAAG,IAAI,CAC5B,WAAW,EACX,SAAS,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,GAAG,aAAa,CAC/D,GAAG;IACA,iBAAiB,EAAE,IAAI,CAAC,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC;CACtD,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,aAAa,GAAG;IACnD,OAAO,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GACtB;IACI,IAAI,EAAE,oBAAoB,CAAC;IAC3B,MAAM,EAAE,mBAAmB,CAAC;CAC/B,GACD;IACI,IAAI,EAAE,mBAAmB,CAAC;IAC1B,MAAM,EAAE,kBAAkB,CAAC;CAC9B,GACD;IACI,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,gBAAgB,CAAC;CAC5B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ee/AiAgent/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EACR,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACtB,MAAM,iBAAiB,CAAC;AAEzB,oBAAY,YAAY;IACpB,kBAAkB,sBAAsB;IACxC,mBAAmB,uBAAuB;IAC1C,YAAY,UAAU;CACzB;AAED,MAAM,MAAM,aAAa,GAAG,IAAI,CAC5B,WAAW,EACX,SAAS,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,GAAG,aAAa,CAC/D,GAAG;IACA,iBAAiB,EAAE,IAAI,CAAC,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC;CACtD,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,aAAa,GAAG;IACnD,OAAO,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GACtB;IACI,IAAI,EAAE,oBAAoB,CAAC;IAC3B,MAAM,EAAE,mBAAmB,CAAC;CAC/B,GACD;IACI,IAAI,EAAE,mBAAmB,CAAC;IAC1B,MAAM,EAAE,kBAAkB,CAAC;CAC9B,GACD;IACI,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,gBAAgB,CAAC;CAC5B,CAAC"}
@@ -5,7 +5,6 @@ var AiResultType;
5
5
  (function (AiResultType) {
6
6
  AiResultType["TIME_SERIES_RESULT"] = "time_series_chart";
7
7
  AiResultType["VERTICAL_BAR_RESULT"] = "vertical_bar_chart";
8
- AiResultType["ONE_LINE_RESULT"] = "one_line_result";
9
8
  AiResultType["TABLE_RESULT"] = "table";
10
9
  })(AiResultType || (exports.AiResultType = AiResultType = {}));
11
10
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/ee/AiAgent/types.ts"],"names":[],"mappings":";;;AAQA,IAAY,YAKX;AALD,WAAY,YAAY;IACpB,wDAAwC,CAAA;IACxC,0DAA0C,CAAA;IAC1C,mDAAmC,CAAA;IACnC,sCAAsB,CAAA;AAC1B,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/ee/AiAgent/types.ts"],"names":[],"mappings":";;;AAQA,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,wDAAwC,CAAA;IACxC,0DAA0C,CAAA;IAC1C,sCAAsB,CAAA;AAC1B,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
@@ -29,7 +29,7 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
29
29
  stackBars: boolean | null;
30
30
  xAxisType: "time" | "category";
31
31
  };
32
- followUpTools: (import("./followUpTools").FollowUpTools.GENERATE_BAR_VIZ | import("./followUpTools").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
32
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT)[];
33
33
  };
34
34
  readonly metricQuery: import("./types").AiMetricQueryWithFilters;
35
35
  } | {
@@ -61,7 +61,7 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
61
61
  xAxisLabel: string;
62
62
  yAxisLabel: string;
63
63
  };
64
- followUpTools: (import("./followUpTools").FollowUpTools.GENERATE_BAR_VIZ | import("./followUpTools").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
64
+ followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT)[];
65
65
  };
66
66
  readonly metricQuery: import("./types").AiMetricQueryWithFilters;
67
67
  } | {
@@ -89,7 +89,7 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
89
89
  nullsFirst: boolean | null;
90
90
  }[];
91
91
  };
92
- followUpTools: (import("./followUpTools").FollowUpTools.GENERATE_BAR_VIZ | import("./followUpTools").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
92
+ followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
93
93
  };
94
94
  readonly metricQuery: import("./types").AiMetricQueryWithFilters;
95
95
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"derivePivotConfigFromChart.d.ts","sourceRoot":"","sources":["../../../src/pivot/derivePivotConfigFromChart.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAKH,KAAK,QAAQ,EAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,OAAO,EAGH,KAAK,aAAa,EACrB,MAAM,sBAAsB,CAAC;AAsO9B,wBAAgB,iCAAiC,CAC7C,UAAU,EAAE,IAAI,CAAC,aAAa,EAAE,aAAa,GAAG,aAAa,CAAC,EAC9D,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,QAAQ,GACjB,kBAAkB,GAAG,SAAS,CAqChC"}
1
+ {"version":3,"file":"derivePivotConfigFromChart.d.ts","sourceRoot":"","sources":["../../../src/pivot/derivePivotConfigFromChart.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAKH,KAAK,QAAQ,EAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,OAAO,EAGH,KAAK,aAAa,EACrB,MAAM,sBAAsB,CAAC;AAsP9B,wBAAgB,iCAAiC,CAC7C,UAAU,EAAE,IAAI,CAAC,aAAa,EAAE,aAAa,GAAG,aAAa,CAAC,EAC9D,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,QAAQ,GACjB,kBAAkB,GAAG,SAAS,CAqChC"}