@lightdash/common 0.2045.0 → 0.2047.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/dist/cjs/compiler/exploreCompiler.mock.d.ts.map +1 -1
  2. package/dist/cjs/compiler/exploreCompiler.mock.js +1 -0
  3. package/dist/cjs/compiler/exploreCompiler.mock.js.map +1 -1
  4. package/dist/cjs/ee/AiAgent/schemas/index.d.ts +1524 -5
  5. package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
  6. package/dist/cjs/ee/AiAgent/schemas/index.js +1 -0
  7. package/dist/cjs/ee/AiAgent/schemas/index.js.map +1 -1
  8. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts +25 -0
  9. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts.map +1 -0
  10. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js +27 -0
  11. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js.map +1 -0
  12. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentChangeFromPrevious.d.ts +38 -0
  13. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentChangeFromPrevious.d.ts.map +1 -0
  14. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentChangeFromPrevious.js +17 -0
  15. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentChangeFromPrevious.js.map +1 -0
  16. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts +20 -0
  17. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts.map +1 -0
  18. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js +13 -0
  19. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js.map +1 -0
  20. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfPreviousValue.d.ts +38 -0
  21. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfPreviousValue.d.ts.map +1 -0
  22. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfPreviousValue.js +17 -0
  23. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfPreviousValue.js.map +1 -0
  24. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcRankInColumn.d.ts +20 -0
  25. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcRankInColumn.d.ts.map +1 -0
  26. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcRankInColumn.js +13 -0
  27. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcRankInColumn.js.map +1 -0
  28. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcRunningTotal.d.ts +20 -0
  29. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcRunningTotal.d.ts.map +1 -0
  30. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcRunningTotal.js +13 -0
  31. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcRunningTotal.js.map +1 -0
  32. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +241 -0
  33. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -0
  34. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.js +125 -0
  35. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.js.map +1 -0
  36. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +2 -0
  37. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +1 -0
  38. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js +56 -0
  39. package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js.map +1 -0
  40. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +2928 -39
  41. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts.map +1 -1
  42. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.js +2 -0
  43. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.js.map +1 -1
  44. package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.d.ts +1 -1
  45. package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.d.ts.map +1 -1
  46. package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.js +3 -3
  47. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +438 -0
  48. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -1
  49. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js +2 -0
  50. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js.map +1 -1
  51. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +438 -0
  52. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
  53. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.js +3 -0
  54. package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.js.map +1 -1
  55. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +438 -0
  56. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
  57. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js +3 -0
  58. package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js.map +1 -1
  59. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +438 -0
  60. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
  61. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js +3 -0
  62. package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js.map +1 -1
  63. package/dist/cjs/ee/AiAgent/schemas/visualizations/tableViz.d.ts +3 -1
  64. package/dist/cjs/ee/AiAgent/schemas/visualizations/tableViz.d.ts.map +1 -1
  65. package/dist/cjs/ee/AiAgent/schemas/visualizations/tableViz.js +2 -1
  66. package/dist/cjs/ee/AiAgent/schemas/visualizations/tableViz.js.map +1 -1
  67. package/dist/cjs/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +3 -1
  68. package/dist/cjs/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts.map +1 -1
  69. package/dist/cjs/ee/AiAgent/schemas/visualizations/timeSeriesViz.js +2 -1
  70. package/dist/cjs/ee/AiAgent/schemas/visualizations/timeSeriesViz.js.map +1 -1
  71. package/dist/cjs/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +3 -1
  72. package/dist/cjs/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts.map +1 -1
  73. package/dist/cjs/ee/AiAgent/schemas/visualizations/verticalBarViz.js +3 -1
  74. package/dist/cjs/ee/AiAgent/schemas/visualizations/verticalBarViz.js.map +1 -1
  75. package/dist/cjs/ee/AiAgent/types.d.ts +1 -1
  76. package/dist/cjs/ee/AiAgent/types.d.ts.map +1 -1
  77. package/dist/cjs/ee/AiAgent/utils.d.ts +102 -0
  78. package/dist/cjs/ee/AiAgent/utils.d.ts.map +1 -1
  79. package/dist/cjs/ee/AiAgent/utils.js +3 -0
  80. package/dist/cjs/ee/AiAgent/utils.js.map +1 -1
  81. package/dist/cjs/types/field.d.ts +42 -2
  82. package/dist/cjs/types/field.d.ts.map +1 -1
  83. package/dist/cjs/types/field.js +15 -2
  84. package/dist/cjs/types/field.js.map +1 -1
  85. package/dist/cjs/types/warehouse.d.ts +1 -0
  86. package/dist/cjs/types/warehouse.d.ts.map +1 -1
  87. package/dist/cjs/types/warehouse.js.map +1 -1
  88. package/dist/cjs/utils/convertCustomDimensionsToYaml.d.ts.map +1 -1
  89. package/dist/cjs/utils/convertCustomDimensionsToYaml.js +3 -0
  90. package/dist/cjs/utils/convertCustomDimensionsToYaml.js.map +1 -1
  91. package/dist/cjs/utils/virtualView.d.ts.map +1 -1
  92. package/dist/cjs/utils/virtualView.js +1 -0
  93. package/dist/cjs/utils/virtualView.js.map +1 -1
  94. package/dist/esm/compiler/exploreCompiler.mock.d.ts.map +1 -1
  95. package/dist/esm/compiler/exploreCompiler.mock.js +1 -0
  96. package/dist/esm/compiler/exploreCompiler.mock.js.map +1 -1
  97. package/dist/esm/ee/AiAgent/schemas/index.d.ts +1524 -5
  98. package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
  99. package/dist/esm/ee/AiAgent/schemas/index.js +1 -0
  100. package/dist/esm/ee/AiAgent/schemas/index.js.map +1 -1
  101. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts +25 -0
  102. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts.map +1 -0
  103. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js +24 -0
  104. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js.map +1 -0
  105. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentChangeFromPrevious.d.ts +38 -0
  106. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentChangeFromPrevious.d.ts.map +1 -0
  107. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentChangeFromPrevious.js +14 -0
  108. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentChangeFromPrevious.js.map +1 -0
  109. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts +20 -0
  110. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts.map +1 -0
  111. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js +10 -0
  112. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js.map +1 -0
  113. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfPreviousValue.d.ts +38 -0
  114. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfPreviousValue.d.ts.map +1 -0
  115. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfPreviousValue.js +14 -0
  116. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfPreviousValue.js.map +1 -0
  117. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcRankInColumn.d.ts +20 -0
  118. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcRankInColumn.d.ts.map +1 -0
  119. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcRankInColumn.js +10 -0
  120. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcRankInColumn.js.map +1 -0
  121. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcRunningTotal.d.ts +20 -0
  122. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcRunningTotal.d.ts.map +1 -0
  123. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcRunningTotal.js +10 -0
  124. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcRunningTotal.js.map +1 -0
  125. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +241 -0
  126. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -0
  127. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.js +120 -0
  128. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.js.map +1 -0
  129. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +2 -0
  130. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +1 -0
  131. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js +54 -0
  132. package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js.map +1 -0
  133. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +2928 -39
  134. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts.map +1 -1
  135. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.js +2 -0
  136. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.js.map +1 -1
  137. package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.d.ts +1 -1
  138. package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.d.ts.map +1 -1
  139. package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.js +3 -3
  140. package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +438 -0
  141. package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -1
  142. package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js +2 -0
  143. package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js.map +1 -1
  144. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +438 -0
  145. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
  146. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.js +3 -0
  147. package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.js.map +1 -1
  148. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +438 -0
  149. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
  150. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js +3 -0
  151. package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js.map +1 -1
  152. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +438 -0
  153. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
  154. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js +3 -0
  155. package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js.map +1 -1
  156. package/dist/esm/ee/AiAgent/schemas/visualizations/tableViz.d.ts +3 -1
  157. package/dist/esm/ee/AiAgent/schemas/visualizations/tableViz.d.ts.map +1 -1
  158. package/dist/esm/ee/AiAgent/schemas/visualizations/tableViz.js +2 -1
  159. package/dist/esm/ee/AiAgent/schemas/visualizations/tableViz.js.map +1 -1
  160. package/dist/esm/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +3 -1
  161. package/dist/esm/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts.map +1 -1
  162. package/dist/esm/ee/AiAgent/schemas/visualizations/timeSeriesViz.js +2 -1
  163. package/dist/esm/ee/AiAgent/schemas/visualizations/timeSeriesViz.js.map +1 -1
  164. package/dist/esm/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +3 -1
  165. package/dist/esm/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts.map +1 -1
  166. package/dist/esm/ee/AiAgent/schemas/visualizations/verticalBarViz.js +3 -1
  167. package/dist/esm/ee/AiAgent/schemas/visualizations/verticalBarViz.js.map +1 -1
  168. package/dist/esm/ee/AiAgent/types.d.ts +1 -1
  169. package/dist/esm/ee/AiAgent/types.d.ts.map +1 -1
  170. package/dist/esm/ee/AiAgent/utils.d.ts +102 -0
  171. package/dist/esm/ee/AiAgent/utils.d.ts.map +1 -1
  172. package/dist/esm/ee/AiAgent/utils.js +4 -1
  173. package/dist/esm/ee/AiAgent/utils.js.map +1 -1
  174. package/dist/esm/types/field.d.ts +42 -2
  175. package/dist/esm/types/field.d.ts.map +1 -1
  176. package/dist/esm/types/field.js +12 -1
  177. package/dist/esm/types/field.js.map +1 -1
  178. package/dist/esm/types/warehouse.d.ts +1 -0
  179. package/dist/esm/types/warehouse.d.ts.map +1 -1
  180. package/dist/esm/types/warehouse.js.map +1 -1
  181. package/dist/esm/utils/convertCustomDimensionsToYaml.d.ts.map +1 -1
  182. package/dist/esm/utils/convertCustomDimensionsToYaml.js +3 -0
  183. package/dist/esm/utils/convertCustomDimensionsToYaml.js.map +1 -1
  184. package/dist/esm/utils/virtualView.d.ts.map +1 -1
  185. package/dist/esm/utils/virtualView.js +1 -0
  186. package/dist/esm/utils/virtualView.js.map +1 -1
  187. package/dist/tsconfig.types.tsbuildinfo +1 -1
  188. package/dist/types/compiler/exploreCompiler.mock.d.ts.map +1 -1
  189. package/dist/types/ee/AiAgent/schemas/index.d.ts +1524 -5
  190. package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
  191. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts +25 -0
  192. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts.map +1 -0
  193. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcPercentChangeFromPrevious.d.ts +38 -0
  194. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcPercentChangeFromPrevious.d.ts.map +1 -0
  195. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts +20 -0
  196. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts.map +1 -0
  197. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfPreviousValue.d.ts +38 -0
  198. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfPreviousValue.d.ts.map +1 -0
  199. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcRankInColumn.d.ts +20 -0
  200. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcRankInColumn.d.ts.map +1 -0
  201. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcRunningTotal.d.ts +20 -0
  202. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcRunningTotal.d.ts.map +1 -0
  203. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +241 -0
  204. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -0
  205. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +2 -0
  206. package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +1 -0
  207. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +2928 -39
  208. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts.map +1 -1
  209. package/dist/types/ee/AiAgent/schemas/tools/toolProposeChange.d.ts +1 -1
  210. package/dist/types/ee/AiAgent/schemas/tools/toolProposeChange.d.ts.map +1 -1
  211. package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +438 -0
  212. package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -1
  213. package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +438 -0
  214. package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
  215. package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +438 -0
  216. package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
  217. package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +438 -0
  218. package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
  219. package/dist/types/ee/AiAgent/schemas/visualizations/tableViz.d.ts +3 -1
  220. package/dist/types/ee/AiAgent/schemas/visualizations/tableViz.d.ts.map +1 -1
  221. package/dist/types/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts +3 -1
  222. package/dist/types/ee/AiAgent/schemas/visualizations/timeSeriesViz.d.ts.map +1 -1
  223. package/dist/types/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts +3 -1
  224. package/dist/types/ee/AiAgent/schemas/visualizations/verticalBarViz.d.ts.map +1 -1
  225. package/dist/types/ee/AiAgent/types.d.ts +1 -1
  226. package/dist/types/ee/AiAgent/types.d.ts.map +1 -1
  227. package/dist/types/ee/AiAgent/utils.d.ts +102 -0
  228. package/dist/types/ee/AiAgent/utils.d.ts.map +1 -1
  229. package/dist/types/types/field.d.ts +42 -2
  230. package/dist/types/types/field.d.ts.map +1 -1
  231. package/dist/types/types/warehouse.d.ts +1 -0
  232. package/dist/types/types/warehouse.d.ts.map +1 -1
  233. package/dist/types/utils/convertCustomDimensionsToYaml.d.ts.map +1 -1
  234. package/dist/types/utils/virtualView.d.ts.map +1 -1
  235. package/package.json +1 -1
@@ -21,6 +21,123 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
21
21
  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;
22
22
  baseDimensionName: string;
23
23
  }>, "many">>;
24
+ tableCalculations: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
25
+ name: z.ZodString;
26
+ displayName: z.ZodString;
27
+ } & {
28
+ type: z.ZodLiteral<"percent_change_from_previous">;
29
+ fieldId: z.ZodString;
30
+ orderBy: z.ZodArray<z.ZodObject<{
31
+ fieldId: z.ZodString;
32
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ fieldId: string;
35
+ order: "asc" | "desc" | null;
36
+ }, {
37
+ fieldId: string;
38
+ order: "asc" | "desc" | null;
39
+ }>, "many">;
40
+ }, "strip", z.ZodTypeAny, {
41
+ name: string;
42
+ fieldId: string;
43
+ type: "percent_change_from_previous";
44
+ displayName: string;
45
+ orderBy: {
46
+ fieldId: string;
47
+ order: "asc" | "desc" | null;
48
+ }[];
49
+ }, {
50
+ name: string;
51
+ fieldId: string;
52
+ type: "percent_change_from_previous";
53
+ displayName: string;
54
+ orderBy: {
55
+ fieldId: string;
56
+ order: "asc" | "desc" | null;
57
+ }[];
58
+ }>, z.ZodObject<{
59
+ name: z.ZodString;
60
+ displayName: z.ZodString;
61
+ } & {
62
+ type: z.ZodLiteral<"percent_of_previous_value">;
63
+ fieldId: z.ZodString;
64
+ orderBy: z.ZodArray<z.ZodObject<{
65
+ fieldId: z.ZodString;
66
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
67
+ }, "strip", z.ZodTypeAny, {
68
+ fieldId: string;
69
+ order: "asc" | "desc" | null;
70
+ }, {
71
+ fieldId: string;
72
+ order: "asc" | "desc" | null;
73
+ }>, "many">;
74
+ }, "strip", z.ZodTypeAny, {
75
+ name: string;
76
+ fieldId: string;
77
+ type: "percent_of_previous_value";
78
+ displayName: string;
79
+ orderBy: {
80
+ fieldId: string;
81
+ order: "asc" | "desc" | null;
82
+ }[];
83
+ }, {
84
+ name: string;
85
+ fieldId: string;
86
+ type: "percent_of_previous_value";
87
+ displayName: string;
88
+ orderBy: {
89
+ fieldId: string;
90
+ order: "asc" | "desc" | null;
91
+ }[];
92
+ }>, z.ZodObject<{
93
+ name: z.ZodString;
94
+ displayName: z.ZodString;
95
+ } & {
96
+ type: z.ZodLiteral<"percent_of_column_total">;
97
+ fieldId: z.ZodString;
98
+ }, "strip", z.ZodTypeAny, {
99
+ name: string;
100
+ fieldId: string;
101
+ type: "percent_of_column_total";
102
+ displayName: string;
103
+ }, {
104
+ name: string;
105
+ fieldId: string;
106
+ type: "percent_of_column_total";
107
+ displayName: string;
108
+ }>, z.ZodObject<{
109
+ name: z.ZodString;
110
+ displayName: z.ZodString;
111
+ } & {
112
+ type: z.ZodLiteral<"rank_in_column">;
113
+ fieldId: z.ZodString;
114
+ }, "strip", z.ZodTypeAny, {
115
+ name: string;
116
+ fieldId: string;
117
+ type: "rank_in_column";
118
+ displayName: string;
119
+ }, {
120
+ name: string;
121
+ fieldId: string;
122
+ type: "rank_in_column";
123
+ displayName: string;
124
+ }>, z.ZodObject<{
125
+ name: z.ZodString;
126
+ displayName: z.ZodString;
127
+ } & {
128
+ type: z.ZodLiteral<"running_total">;
129
+ fieldId: z.ZodString;
130
+ }, "strip", z.ZodTypeAny, {
131
+ name: string;
132
+ fieldId: string;
133
+ type: "running_total";
134
+ displayName: string;
135
+ }, {
136
+ name: string;
137
+ fieldId: string;
138
+ type: "running_total";
139
+ displayName: string;
140
+ }>]>, "many">>;
24
141
  filters: z.ZodNullable<z.ZodObject<{
25
142
  type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
26
143
  dimensions: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -1010,6 +1127,40 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
1010
1127
  }[];
1011
1128
  }>;
1012
1129
  }, "strip", z.ZodTypeAny, {
1130
+ tableCalculations: ({
1131
+ name: string;
1132
+ fieldId: string;
1133
+ type: "percent_change_from_previous";
1134
+ displayName: string;
1135
+ orderBy: {
1136
+ fieldId: string;
1137
+ order: "asc" | "desc" | null;
1138
+ }[];
1139
+ } | {
1140
+ name: string;
1141
+ fieldId: string;
1142
+ type: "percent_of_previous_value";
1143
+ displayName: string;
1144
+ orderBy: {
1145
+ fieldId: string;
1146
+ order: "asc" | "desc" | null;
1147
+ }[];
1148
+ } | {
1149
+ name: string;
1150
+ fieldId: string;
1151
+ type: "percent_of_column_total";
1152
+ displayName: string;
1153
+ } | {
1154
+ name: string;
1155
+ fieldId: string;
1156
+ type: "rank_in_column";
1157
+ displayName: string;
1158
+ } | {
1159
+ name: string;
1160
+ fieldId: string;
1161
+ type: "running_total";
1162
+ displayName: string;
1163
+ })[] | null;
1013
1164
  type: AiResultType.TABLE_RESULT;
1014
1165
  description: string;
1015
1166
  filters: {
@@ -1213,6 +1364,40 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
1213
1364
  }[];
1214
1365
  };
1215
1366
  }, {
1367
+ tableCalculations: ({
1368
+ name: string;
1369
+ fieldId: string;
1370
+ type: "percent_change_from_previous";
1371
+ displayName: string;
1372
+ orderBy: {
1373
+ fieldId: string;
1374
+ order: "asc" | "desc" | null;
1375
+ }[];
1376
+ } | {
1377
+ name: string;
1378
+ fieldId: string;
1379
+ type: "percent_of_previous_value";
1380
+ displayName: string;
1381
+ orderBy: {
1382
+ fieldId: string;
1383
+ order: "asc" | "desc" | null;
1384
+ }[];
1385
+ } | {
1386
+ name: string;
1387
+ fieldId: string;
1388
+ type: "percent_of_column_total";
1389
+ displayName: string;
1390
+ } | {
1391
+ name: string;
1392
+ fieldId: string;
1393
+ type: "rank_in_column";
1394
+ displayName: string;
1395
+ } | {
1396
+ name: string;
1397
+ fieldId: string;
1398
+ type: "running_total";
1399
+ displayName: string;
1400
+ })[] | null;
1216
1401
  type: AiResultType.TABLE_RESULT;
1217
1402
  description: string;
1218
1403
  filters: {
@@ -1435,6 +1620,123 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
1435
1620
  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;
1436
1621
  baseDimensionName: string;
1437
1622
  }>, "many">>;
1623
+ tableCalculations: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1624
+ name: z.ZodString;
1625
+ displayName: z.ZodString;
1626
+ } & {
1627
+ type: z.ZodLiteral<"percent_change_from_previous">;
1628
+ fieldId: z.ZodString;
1629
+ orderBy: z.ZodArray<z.ZodObject<{
1630
+ fieldId: z.ZodString;
1631
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
1632
+ }, "strip", z.ZodTypeAny, {
1633
+ fieldId: string;
1634
+ order: "asc" | "desc" | null;
1635
+ }, {
1636
+ fieldId: string;
1637
+ order: "asc" | "desc" | null;
1638
+ }>, "many">;
1639
+ }, "strip", z.ZodTypeAny, {
1640
+ name: string;
1641
+ fieldId: string;
1642
+ type: "percent_change_from_previous";
1643
+ displayName: string;
1644
+ orderBy: {
1645
+ fieldId: string;
1646
+ order: "asc" | "desc" | null;
1647
+ }[];
1648
+ }, {
1649
+ name: string;
1650
+ fieldId: string;
1651
+ type: "percent_change_from_previous";
1652
+ displayName: string;
1653
+ orderBy: {
1654
+ fieldId: string;
1655
+ order: "asc" | "desc" | null;
1656
+ }[];
1657
+ }>, z.ZodObject<{
1658
+ name: z.ZodString;
1659
+ displayName: z.ZodString;
1660
+ } & {
1661
+ type: z.ZodLiteral<"percent_of_previous_value">;
1662
+ fieldId: z.ZodString;
1663
+ orderBy: z.ZodArray<z.ZodObject<{
1664
+ fieldId: z.ZodString;
1665
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
1666
+ }, "strip", z.ZodTypeAny, {
1667
+ fieldId: string;
1668
+ order: "asc" | "desc" | null;
1669
+ }, {
1670
+ fieldId: string;
1671
+ order: "asc" | "desc" | null;
1672
+ }>, "many">;
1673
+ }, "strip", z.ZodTypeAny, {
1674
+ name: string;
1675
+ fieldId: string;
1676
+ type: "percent_of_previous_value";
1677
+ displayName: string;
1678
+ orderBy: {
1679
+ fieldId: string;
1680
+ order: "asc" | "desc" | null;
1681
+ }[];
1682
+ }, {
1683
+ name: string;
1684
+ fieldId: string;
1685
+ type: "percent_of_previous_value";
1686
+ displayName: string;
1687
+ orderBy: {
1688
+ fieldId: string;
1689
+ order: "asc" | "desc" | null;
1690
+ }[];
1691
+ }>, z.ZodObject<{
1692
+ name: z.ZodString;
1693
+ displayName: z.ZodString;
1694
+ } & {
1695
+ type: z.ZodLiteral<"percent_of_column_total">;
1696
+ fieldId: z.ZodString;
1697
+ }, "strip", z.ZodTypeAny, {
1698
+ name: string;
1699
+ fieldId: string;
1700
+ type: "percent_of_column_total";
1701
+ displayName: string;
1702
+ }, {
1703
+ name: string;
1704
+ fieldId: string;
1705
+ type: "percent_of_column_total";
1706
+ displayName: string;
1707
+ }>, z.ZodObject<{
1708
+ name: z.ZodString;
1709
+ displayName: z.ZodString;
1710
+ } & {
1711
+ type: z.ZodLiteral<"rank_in_column">;
1712
+ fieldId: z.ZodString;
1713
+ }, "strip", z.ZodTypeAny, {
1714
+ name: string;
1715
+ fieldId: string;
1716
+ type: "rank_in_column";
1717
+ displayName: string;
1718
+ }, {
1719
+ name: string;
1720
+ fieldId: string;
1721
+ type: "rank_in_column";
1722
+ displayName: string;
1723
+ }>, z.ZodObject<{
1724
+ name: z.ZodString;
1725
+ displayName: z.ZodString;
1726
+ } & {
1727
+ type: z.ZodLiteral<"running_total">;
1728
+ fieldId: z.ZodString;
1729
+ }, "strip", z.ZodTypeAny, {
1730
+ name: string;
1731
+ fieldId: string;
1732
+ type: "running_total";
1733
+ displayName: string;
1734
+ }, {
1735
+ name: string;
1736
+ fieldId: string;
1737
+ type: "running_total";
1738
+ displayName: string;
1739
+ }>]>, "many">>;
1438
1740
  filters: z.ZodNullable<z.ZodObject<{
1439
1741
  type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
1440
1742
  dimensions: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -2436,6 +2738,40 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
2436
2738
  lineType: "line" | "area";
2437
2739
  }>;
2438
2740
  }, "strip", z.ZodTypeAny, {
2741
+ tableCalculations: ({
2742
+ name: string;
2743
+ fieldId: string;
2744
+ type: "percent_change_from_previous";
2745
+ displayName: string;
2746
+ orderBy: {
2747
+ fieldId: string;
2748
+ order: "asc" | "desc" | null;
2749
+ }[];
2750
+ } | {
2751
+ name: string;
2752
+ fieldId: string;
2753
+ type: "percent_of_previous_value";
2754
+ displayName: string;
2755
+ orderBy: {
2756
+ fieldId: string;
2757
+ order: "asc" | "desc" | null;
2758
+ }[];
2759
+ } | {
2760
+ name: string;
2761
+ fieldId: string;
2762
+ type: "percent_of_column_total";
2763
+ displayName: string;
2764
+ } | {
2765
+ name: string;
2766
+ fieldId: string;
2767
+ type: "rank_in_column";
2768
+ displayName: string;
2769
+ } | {
2770
+ name: string;
2771
+ fieldId: string;
2772
+ type: "running_total";
2773
+ displayName: string;
2774
+ })[] | null;
2439
2775
  type: AiResultType.TIME_SERIES_RESULT;
2440
2776
  description: string;
2441
2777
  filters: {
@@ -2643,6 +2979,40 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
2643
2979
  lineType: "line" | "area";
2644
2980
  };
2645
2981
  }, {
2982
+ tableCalculations: ({
2983
+ name: string;
2984
+ fieldId: string;
2985
+ type: "percent_change_from_previous";
2986
+ displayName: string;
2987
+ orderBy: {
2988
+ fieldId: string;
2989
+ order: "asc" | "desc" | null;
2990
+ }[];
2991
+ } | {
2992
+ name: string;
2993
+ fieldId: string;
2994
+ type: "percent_of_previous_value";
2995
+ displayName: string;
2996
+ orderBy: {
2997
+ fieldId: string;
2998
+ order: "asc" | "desc" | null;
2999
+ }[];
3000
+ } | {
3001
+ name: string;
3002
+ fieldId: string;
3003
+ type: "percent_of_column_total";
3004
+ displayName: string;
3005
+ } | {
3006
+ name: string;
3007
+ fieldId: string;
3008
+ type: "rank_in_column";
3009
+ displayName: string;
3010
+ } | {
3011
+ name: string;
3012
+ fieldId: string;
3013
+ type: "running_total";
3014
+ displayName: string;
3015
+ })[] | null;
2646
3016
  type: AiResultType.TIME_SERIES_RESULT;
2647
3017
  description: string;
2648
3018
  filters: {
@@ -2869,6 +3239,123 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
2869
3239
  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;
2870
3240
  baseDimensionName: string;
2871
3241
  }>, "many">>;
3242
+ tableCalculations: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3243
+ name: z.ZodString;
3244
+ displayName: z.ZodString;
3245
+ } & {
3246
+ type: z.ZodLiteral<"percent_change_from_previous">;
3247
+ fieldId: z.ZodString;
3248
+ orderBy: z.ZodArray<z.ZodObject<{
3249
+ fieldId: z.ZodString;
3250
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
3251
+ }, "strip", z.ZodTypeAny, {
3252
+ fieldId: string;
3253
+ order: "asc" | "desc" | null;
3254
+ }, {
3255
+ fieldId: string;
3256
+ order: "asc" | "desc" | null;
3257
+ }>, "many">;
3258
+ }, "strip", z.ZodTypeAny, {
3259
+ name: string;
3260
+ fieldId: string;
3261
+ type: "percent_change_from_previous";
3262
+ displayName: string;
3263
+ orderBy: {
3264
+ fieldId: string;
3265
+ order: "asc" | "desc" | null;
3266
+ }[];
3267
+ }, {
3268
+ name: string;
3269
+ fieldId: string;
3270
+ type: "percent_change_from_previous";
3271
+ displayName: string;
3272
+ orderBy: {
3273
+ fieldId: string;
3274
+ order: "asc" | "desc" | null;
3275
+ }[];
3276
+ }>, z.ZodObject<{
3277
+ name: z.ZodString;
3278
+ displayName: z.ZodString;
3279
+ } & {
3280
+ type: z.ZodLiteral<"percent_of_previous_value">;
3281
+ fieldId: z.ZodString;
3282
+ orderBy: z.ZodArray<z.ZodObject<{
3283
+ fieldId: z.ZodString;
3284
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
3285
+ }, "strip", z.ZodTypeAny, {
3286
+ fieldId: string;
3287
+ order: "asc" | "desc" | null;
3288
+ }, {
3289
+ fieldId: string;
3290
+ order: "asc" | "desc" | null;
3291
+ }>, "many">;
3292
+ }, "strip", z.ZodTypeAny, {
3293
+ name: string;
3294
+ fieldId: string;
3295
+ type: "percent_of_previous_value";
3296
+ displayName: string;
3297
+ orderBy: {
3298
+ fieldId: string;
3299
+ order: "asc" | "desc" | null;
3300
+ }[];
3301
+ }, {
3302
+ name: string;
3303
+ fieldId: string;
3304
+ type: "percent_of_previous_value";
3305
+ displayName: string;
3306
+ orderBy: {
3307
+ fieldId: string;
3308
+ order: "asc" | "desc" | null;
3309
+ }[];
3310
+ }>, z.ZodObject<{
3311
+ name: z.ZodString;
3312
+ displayName: z.ZodString;
3313
+ } & {
3314
+ type: z.ZodLiteral<"percent_of_column_total">;
3315
+ fieldId: z.ZodString;
3316
+ }, "strip", z.ZodTypeAny, {
3317
+ name: string;
3318
+ fieldId: string;
3319
+ type: "percent_of_column_total";
3320
+ displayName: string;
3321
+ }, {
3322
+ name: string;
3323
+ fieldId: string;
3324
+ type: "percent_of_column_total";
3325
+ displayName: string;
3326
+ }>, z.ZodObject<{
3327
+ name: z.ZodString;
3328
+ displayName: z.ZodString;
3329
+ } & {
3330
+ type: z.ZodLiteral<"rank_in_column">;
3331
+ fieldId: z.ZodString;
3332
+ }, "strip", z.ZodTypeAny, {
3333
+ name: string;
3334
+ fieldId: string;
3335
+ type: "rank_in_column";
3336
+ displayName: string;
3337
+ }, {
3338
+ name: string;
3339
+ fieldId: string;
3340
+ type: "rank_in_column";
3341
+ displayName: string;
3342
+ }>, z.ZodObject<{
3343
+ name: z.ZodString;
3344
+ displayName: z.ZodString;
3345
+ } & {
3346
+ type: z.ZodLiteral<"running_total">;
3347
+ fieldId: z.ZodString;
3348
+ }, "strip", z.ZodTypeAny, {
3349
+ name: string;
3350
+ fieldId: string;
3351
+ type: "running_total";
3352
+ displayName: string;
3353
+ }, {
3354
+ name: string;
3355
+ fieldId: string;
3356
+ type: "running_total";
3357
+ displayName: string;
3358
+ }>]>, "many">>;
2872
3359
  filters: z.ZodNullable<z.ZodObject<{
2873
3360
  type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
2874
3361
  dimensions: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -3873,6 +4360,40 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
3873
4360
  yAxisLabel: string | null;
3874
4361
  }>;
3875
4362
  }, "strip", z.ZodTypeAny, {
4363
+ tableCalculations: ({
4364
+ name: string;
4365
+ fieldId: string;
4366
+ type: "percent_change_from_previous";
4367
+ displayName: string;
4368
+ orderBy: {
4369
+ fieldId: string;
4370
+ order: "asc" | "desc" | null;
4371
+ }[];
4372
+ } | {
4373
+ name: string;
4374
+ fieldId: string;
4375
+ type: "percent_of_previous_value";
4376
+ displayName: string;
4377
+ orderBy: {
4378
+ fieldId: string;
4379
+ order: "asc" | "desc" | null;
4380
+ }[];
4381
+ } | {
4382
+ name: string;
4383
+ fieldId: string;
4384
+ type: "percent_of_column_total";
4385
+ displayName: string;
4386
+ } | {
4387
+ name: string;
4388
+ fieldId: string;
4389
+ type: "rank_in_column";
4390
+ displayName: string;
4391
+ } | {
4392
+ name: string;
4393
+ fieldId: string;
4394
+ type: "running_total";
4395
+ displayName: string;
4396
+ })[] | null;
3876
4397
  type: AiResultType.VERTICAL_BAR_RESULT;
3877
4398
  description: string;
3878
4399
  filters: {
@@ -4081,6 +4602,40 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
4081
4602
  yAxisLabel: string | null;
4082
4603
  };
4083
4604
  }, {
4605
+ tableCalculations: ({
4606
+ name: string;
4607
+ fieldId: string;
4608
+ type: "percent_change_from_previous";
4609
+ displayName: string;
4610
+ orderBy: {
4611
+ fieldId: string;
4612
+ order: "asc" | "desc" | null;
4613
+ }[];
4614
+ } | {
4615
+ name: string;
4616
+ fieldId: string;
4617
+ type: "percent_of_previous_value";
4618
+ displayName: string;
4619
+ orderBy: {
4620
+ fieldId: string;
4621
+ order: "asc" | "desc" | null;
4622
+ }[];
4623
+ } | {
4624
+ name: string;
4625
+ fieldId: string;
4626
+ type: "percent_of_column_total";
4627
+ displayName: string;
4628
+ } | {
4629
+ name: string;
4630
+ fieldId: string;
4631
+ type: "rank_in_column";
4632
+ displayName: string;
4633
+ } | {
4634
+ name: string;
4635
+ fieldId: string;
4636
+ type: "running_total";
4637
+ displayName: string;
4638
+ })[] | null;
4084
4639
  type: AiResultType.VERTICAL_BAR_RESULT;
4085
4640
  description: string;
4086
4641
  filters: {
@@ -4290,6 +4845,40 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
4290
4845
  };
4291
4846
  }>]>, {
4292
4847
  followUpTools: never[];
4848
+ tableCalculations: ({
4849
+ name: string;
4850
+ fieldId: string;
4851
+ type: "percent_change_from_previous";
4852
+ displayName: string;
4853
+ orderBy: {
4854
+ fieldId: string;
4855
+ order: "asc" | "desc" | null;
4856
+ }[];
4857
+ } | {
4858
+ name: string;
4859
+ fieldId: string;
4860
+ type: "percent_of_previous_value";
4861
+ displayName: string;
4862
+ orderBy: {
4863
+ fieldId: string;
4864
+ order: "asc" | "desc" | null;
4865
+ }[];
4866
+ } | {
4867
+ name: string;
4868
+ fieldId: string;
4869
+ type: "percent_of_column_total";
4870
+ displayName: string;
4871
+ } | {
4872
+ name: string;
4873
+ fieldId: string;
4874
+ type: "rank_in_column";
4875
+ displayName: string;
4876
+ } | {
4877
+ name: string;
4878
+ fieldId: string;
4879
+ type: "running_total";
4880
+ displayName: string;
4881
+ })[] | null;
4293
4882
  type: AiResultType.TABLE_RESULT;
4294
4883
  description: string;
4295
4884
  filters: {
@@ -4494,9 +5083,43 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
4494
5083
  };
4495
5084
  } | {
4496
5085
  followUpTools: never[];
4497
- type: AiResultType.TIME_SERIES_RESULT;
4498
- description: string;
4499
- filters: {
5086
+ tableCalculations: ({
5087
+ name: string;
5088
+ fieldId: string;
5089
+ type: "percent_change_from_previous";
5090
+ displayName: string;
5091
+ orderBy: {
5092
+ fieldId: string;
5093
+ order: "asc" | "desc" | null;
5094
+ }[];
5095
+ } | {
5096
+ name: string;
5097
+ fieldId: string;
5098
+ type: "percent_of_previous_value";
5099
+ displayName: string;
5100
+ orderBy: {
5101
+ fieldId: string;
5102
+ order: "asc" | "desc" | null;
5103
+ }[];
5104
+ } | {
5105
+ name: string;
5106
+ fieldId: string;
5107
+ type: "percent_of_column_total";
5108
+ displayName: string;
5109
+ } | {
5110
+ name: string;
5111
+ fieldId: string;
5112
+ type: "rank_in_column";
5113
+ displayName: string;
5114
+ } | {
5115
+ name: string;
5116
+ fieldId: string;
5117
+ type: "running_total";
5118
+ displayName: string;
5119
+ })[] | null;
5120
+ type: AiResultType.TIME_SERIES_RESULT;
5121
+ description: string;
5122
+ filters: {
4500
5123
  dimensions: ({
4501
5124
  operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
4502
5125
  fieldId: string;
@@ -4702,6 +5325,40 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
4702
5325
  };
4703
5326
  } | {
4704
5327
  followUpTools: never[];
5328
+ tableCalculations: ({
5329
+ name: string;
5330
+ fieldId: string;
5331
+ type: "percent_change_from_previous";
5332
+ displayName: string;
5333
+ orderBy: {
5334
+ fieldId: string;
5335
+ order: "asc" | "desc" | null;
5336
+ }[];
5337
+ } | {
5338
+ name: string;
5339
+ fieldId: string;
5340
+ type: "percent_of_previous_value";
5341
+ displayName: string;
5342
+ orderBy: {
5343
+ fieldId: string;
5344
+ order: "asc" | "desc" | null;
5345
+ }[];
5346
+ } | {
5347
+ name: string;
5348
+ fieldId: string;
5349
+ type: "percent_of_column_total";
5350
+ displayName: string;
5351
+ } | {
5352
+ name: string;
5353
+ fieldId: string;
5354
+ type: "rank_in_column";
5355
+ displayName: string;
5356
+ } | {
5357
+ name: string;
5358
+ fieldId: string;
5359
+ type: "running_total";
5360
+ displayName: string;
5361
+ })[] | null;
4705
5362
  type: AiResultType.VERTICAL_BAR_RESULT;
4706
5363
  description: string;
4707
5364
  filters: {
@@ -4910,6 +5567,40 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
4910
5567
  yAxisLabel: string | null;
4911
5568
  };
4912
5569
  }, {
5570
+ tableCalculations: ({
5571
+ name: string;
5572
+ fieldId: string;
5573
+ type: "percent_change_from_previous";
5574
+ displayName: string;
5575
+ orderBy: {
5576
+ fieldId: string;
5577
+ order: "asc" | "desc" | null;
5578
+ }[];
5579
+ } | {
5580
+ name: string;
5581
+ fieldId: string;
5582
+ type: "percent_of_previous_value";
5583
+ displayName: string;
5584
+ orderBy: {
5585
+ fieldId: string;
5586
+ order: "asc" | "desc" | null;
5587
+ }[];
5588
+ } | {
5589
+ name: string;
5590
+ fieldId: string;
5591
+ type: "percent_of_column_total";
5592
+ displayName: string;
5593
+ } | {
5594
+ name: string;
5595
+ fieldId: string;
5596
+ type: "rank_in_column";
5597
+ displayName: string;
5598
+ } | {
5599
+ name: string;
5600
+ fieldId: string;
5601
+ type: "running_total";
5602
+ displayName: string;
5603
+ })[] | null;
4913
5604
  type: AiResultType.TABLE_RESULT;
4914
5605
  description: string;
4915
5606
  filters: {
@@ -5113,6 +5804,40 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
5113
5804
  }[];
5114
5805
  };
5115
5806
  } | {
5807
+ tableCalculations: ({
5808
+ name: string;
5809
+ fieldId: string;
5810
+ type: "percent_change_from_previous";
5811
+ displayName: string;
5812
+ orderBy: {
5813
+ fieldId: string;
5814
+ order: "asc" | "desc" | null;
5815
+ }[];
5816
+ } | {
5817
+ name: string;
5818
+ fieldId: string;
5819
+ type: "percent_of_previous_value";
5820
+ displayName: string;
5821
+ orderBy: {
5822
+ fieldId: string;
5823
+ order: "asc" | "desc" | null;
5824
+ }[];
5825
+ } | {
5826
+ name: string;
5827
+ fieldId: string;
5828
+ type: "percent_of_column_total";
5829
+ displayName: string;
5830
+ } | {
5831
+ name: string;
5832
+ fieldId: string;
5833
+ type: "rank_in_column";
5834
+ displayName: string;
5835
+ } | {
5836
+ name: string;
5837
+ fieldId: string;
5838
+ type: "running_total";
5839
+ displayName: string;
5840
+ })[] | null;
5116
5841
  type: AiResultType.TIME_SERIES_RESULT;
5117
5842
  description: string;
5118
5843
  filters: {
@@ -5320,6 +6045,40 @@ declare const dashboardVisualizationSchema: z.ZodEffects<z.ZodUnion<[z.ZodObject
5320
6045
  lineType: "line" | "area";
5321
6046
  };
5322
6047
  } | {
6048
+ tableCalculations: ({
6049
+ name: string;
6050
+ fieldId: string;
6051
+ type: "percent_change_from_previous";
6052
+ displayName: string;
6053
+ orderBy: {
6054
+ fieldId: string;
6055
+ order: "asc" | "desc" | null;
6056
+ }[];
6057
+ } | {
6058
+ name: string;
6059
+ fieldId: string;
6060
+ type: "percent_of_previous_value";
6061
+ displayName: string;
6062
+ orderBy: {
6063
+ fieldId: string;
6064
+ order: "asc" | "desc" | null;
6065
+ }[];
6066
+ } | {
6067
+ name: string;
6068
+ fieldId: string;
6069
+ type: "percent_of_column_total";
6070
+ displayName: string;
6071
+ } | {
6072
+ name: string;
6073
+ fieldId: string;
6074
+ type: "rank_in_column";
6075
+ displayName: string;
6076
+ } | {
6077
+ name: string;
6078
+ fieldId: string;
6079
+ type: "running_total";
6080
+ displayName: string;
6081
+ })[] | null;
5323
6082
  type: AiResultType.VERTICAL_BAR_RESULT;
5324
6083
  description: string;
5325
6084
  filters: {
@@ -5554,6 +6313,123 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
5554
6313
  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;
5555
6314
  baseDimensionName: string;
5556
6315
  }>, "many">>;
6316
+ tableCalculations: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6317
+ name: z.ZodString;
6318
+ displayName: z.ZodString;
6319
+ } & {
6320
+ type: z.ZodLiteral<"percent_change_from_previous">;
6321
+ fieldId: z.ZodString;
6322
+ orderBy: z.ZodArray<z.ZodObject<{
6323
+ fieldId: z.ZodString;
6324
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
6325
+ }, "strip", z.ZodTypeAny, {
6326
+ fieldId: string;
6327
+ order: "asc" | "desc" | null;
6328
+ }, {
6329
+ fieldId: string;
6330
+ order: "asc" | "desc" | null;
6331
+ }>, "many">;
6332
+ }, "strip", z.ZodTypeAny, {
6333
+ name: string;
6334
+ fieldId: string;
6335
+ type: "percent_change_from_previous";
6336
+ displayName: string;
6337
+ orderBy: {
6338
+ fieldId: string;
6339
+ order: "asc" | "desc" | null;
6340
+ }[];
6341
+ }, {
6342
+ name: string;
6343
+ fieldId: string;
6344
+ type: "percent_change_from_previous";
6345
+ displayName: string;
6346
+ orderBy: {
6347
+ fieldId: string;
6348
+ order: "asc" | "desc" | null;
6349
+ }[];
6350
+ }>, z.ZodObject<{
6351
+ name: z.ZodString;
6352
+ displayName: z.ZodString;
6353
+ } & {
6354
+ type: z.ZodLiteral<"percent_of_previous_value">;
6355
+ fieldId: z.ZodString;
6356
+ orderBy: z.ZodArray<z.ZodObject<{
6357
+ fieldId: z.ZodString;
6358
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
6359
+ }, "strip", z.ZodTypeAny, {
6360
+ fieldId: string;
6361
+ order: "asc" | "desc" | null;
6362
+ }, {
6363
+ fieldId: string;
6364
+ order: "asc" | "desc" | null;
6365
+ }>, "many">;
6366
+ }, "strip", z.ZodTypeAny, {
6367
+ name: string;
6368
+ fieldId: string;
6369
+ type: "percent_of_previous_value";
6370
+ displayName: string;
6371
+ orderBy: {
6372
+ fieldId: string;
6373
+ order: "asc" | "desc" | null;
6374
+ }[];
6375
+ }, {
6376
+ name: string;
6377
+ fieldId: string;
6378
+ type: "percent_of_previous_value";
6379
+ displayName: string;
6380
+ orderBy: {
6381
+ fieldId: string;
6382
+ order: "asc" | "desc" | null;
6383
+ }[];
6384
+ }>, z.ZodObject<{
6385
+ name: z.ZodString;
6386
+ displayName: z.ZodString;
6387
+ } & {
6388
+ type: z.ZodLiteral<"percent_of_column_total">;
6389
+ fieldId: z.ZodString;
6390
+ }, "strip", z.ZodTypeAny, {
6391
+ name: string;
6392
+ fieldId: string;
6393
+ type: "percent_of_column_total";
6394
+ displayName: string;
6395
+ }, {
6396
+ name: string;
6397
+ fieldId: string;
6398
+ type: "percent_of_column_total";
6399
+ displayName: string;
6400
+ }>, z.ZodObject<{
6401
+ name: z.ZodString;
6402
+ displayName: z.ZodString;
6403
+ } & {
6404
+ type: z.ZodLiteral<"rank_in_column">;
6405
+ fieldId: z.ZodString;
6406
+ }, "strip", z.ZodTypeAny, {
6407
+ name: string;
6408
+ fieldId: string;
6409
+ type: "rank_in_column";
6410
+ displayName: string;
6411
+ }, {
6412
+ name: string;
6413
+ fieldId: string;
6414
+ type: "rank_in_column";
6415
+ displayName: string;
6416
+ }>, z.ZodObject<{
6417
+ name: z.ZodString;
6418
+ displayName: z.ZodString;
6419
+ } & {
6420
+ type: z.ZodLiteral<"running_total">;
6421
+ fieldId: z.ZodString;
6422
+ }, "strip", z.ZodTypeAny, {
6423
+ name: string;
6424
+ fieldId: string;
6425
+ type: "running_total";
6426
+ displayName: string;
6427
+ }, {
6428
+ name: string;
6429
+ fieldId: string;
6430
+ type: "running_total";
6431
+ displayName: string;
6432
+ }>]>, "many">>;
5557
6433
  filters: z.ZodNullable<z.ZodObject<{
5558
6434
  type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
5559
6435
  dimensions: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -6543,6 +7419,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
6543
7419
  }[];
6544
7420
  }>;
6545
7421
  }, "strip", z.ZodTypeAny, {
7422
+ tableCalculations: ({
7423
+ name: string;
7424
+ fieldId: string;
7425
+ type: "percent_change_from_previous";
7426
+ displayName: string;
7427
+ orderBy: {
7428
+ fieldId: string;
7429
+ order: "asc" | "desc" | null;
7430
+ }[];
7431
+ } | {
7432
+ name: string;
7433
+ fieldId: string;
7434
+ type: "percent_of_previous_value";
7435
+ displayName: string;
7436
+ orderBy: {
7437
+ fieldId: string;
7438
+ order: "asc" | "desc" | null;
7439
+ }[];
7440
+ } | {
7441
+ name: string;
7442
+ fieldId: string;
7443
+ type: "percent_of_column_total";
7444
+ displayName: string;
7445
+ } | {
7446
+ name: string;
7447
+ fieldId: string;
7448
+ type: "rank_in_column";
7449
+ displayName: string;
7450
+ } | {
7451
+ name: string;
7452
+ fieldId: string;
7453
+ type: "running_total";
7454
+ displayName: string;
7455
+ })[] | null;
6546
7456
  type: AiResultType.TABLE_RESULT;
6547
7457
  description: string;
6548
7458
  filters: {
@@ -6746,6 +7656,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
6746
7656
  }[];
6747
7657
  };
6748
7658
  }, {
7659
+ tableCalculations: ({
7660
+ name: string;
7661
+ fieldId: string;
7662
+ type: "percent_change_from_previous";
7663
+ displayName: string;
7664
+ orderBy: {
7665
+ fieldId: string;
7666
+ order: "asc" | "desc" | null;
7667
+ }[];
7668
+ } | {
7669
+ name: string;
7670
+ fieldId: string;
7671
+ type: "percent_of_previous_value";
7672
+ displayName: string;
7673
+ orderBy: {
7674
+ fieldId: string;
7675
+ order: "asc" | "desc" | null;
7676
+ }[];
7677
+ } | {
7678
+ name: string;
7679
+ fieldId: string;
7680
+ type: "percent_of_column_total";
7681
+ displayName: string;
7682
+ } | {
7683
+ name: string;
7684
+ fieldId: string;
7685
+ type: "rank_in_column";
7686
+ displayName: string;
7687
+ } | {
7688
+ name: string;
7689
+ fieldId: string;
7690
+ type: "running_total";
7691
+ displayName: string;
7692
+ })[] | null;
6749
7693
  type: AiResultType.TABLE_RESULT;
6750
7694
  description: string;
6751
7695
  filters: {
@@ -6968,6 +7912,123 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
6968
7912
  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;
6969
7913
  baseDimensionName: string;
6970
7914
  }>, "many">>;
7915
+ tableCalculations: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7916
+ name: z.ZodString;
7917
+ displayName: z.ZodString;
7918
+ } & {
7919
+ type: z.ZodLiteral<"percent_change_from_previous">;
7920
+ fieldId: z.ZodString;
7921
+ orderBy: z.ZodArray<z.ZodObject<{
7922
+ fieldId: z.ZodString;
7923
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
7924
+ }, "strip", z.ZodTypeAny, {
7925
+ fieldId: string;
7926
+ order: "asc" | "desc" | null;
7927
+ }, {
7928
+ fieldId: string;
7929
+ order: "asc" | "desc" | null;
7930
+ }>, "many">;
7931
+ }, "strip", z.ZodTypeAny, {
7932
+ name: string;
7933
+ fieldId: string;
7934
+ type: "percent_change_from_previous";
7935
+ displayName: string;
7936
+ orderBy: {
7937
+ fieldId: string;
7938
+ order: "asc" | "desc" | null;
7939
+ }[];
7940
+ }, {
7941
+ name: string;
7942
+ fieldId: string;
7943
+ type: "percent_change_from_previous";
7944
+ displayName: string;
7945
+ orderBy: {
7946
+ fieldId: string;
7947
+ order: "asc" | "desc" | null;
7948
+ }[];
7949
+ }>, z.ZodObject<{
7950
+ name: z.ZodString;
7951
+ displayName: z.ZodString;
7952
+ } & {
7953
+ type: z.ZodLiteral<"percent_of_previous_value">;
7954
+ fieldId: z.ZodString;
7955
+ orderBy: z.ZodArray<z.ZodObject<{
7956
+ fieldId: z.ZodString;
7957
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
7958
+ }, "strip", z.ZodTypeAny, {
7959
+ fieldId: string;
7960
+ order: "asc" | "desc" | null;
7961
+ }, {
7962
+ fieldId: string;
7963
+ order: "asc" | "desc" | null;
7964
+ }>, "many">;
7965
+ }, "strip", z.ZodTypeAny, {
7966
+ name: string;
7967
+ fieldId: string;
7968
+ type: "percent_of_previous_value";
7969
+ displayName: string;
7970
+ orderBy: {
7971
+ fieldId: string;
7972
+ order: "asc" | "desc" | null;
7973
+ }[];
7974
+ }, {
7975
+ name: string;
7976
+ fieldId: string;
7977
+ type: "percent_of_previous_value";
7978
+ displayName: string;
7979
+ orderBy: {
7980
+ fieldId: string;
7981
+ order: "asc" | "desc" | null;
7982
+ }[];
7983
+ }>, z.ZodObject<{
7984
+ name: z.ZodString;
7985
+ displayName: z.ZodString;
7986
+ } & {
7987
+ type: z.ZodLiteral<"percent_of_column_total">;
7988
+ fieldId: z.ZodString;
7989
+ }, "strip", z.ZodTypeAny, {
7990
+ name: string;
7991
+ fieldId: string;
7992
+ type: "percent_of_column_total";
7993
+ displayName: string;
7994
+ }, {
7995
+ name: string;
7996
+ fieldId: string;
7997
+ type: "percent_of_column_total";
7998
+ displayName: string;
7999
+ }>, z.ZodObject<{
8000
+ name: z.ZodString;
8001
+ displayName: z.ZodString;
8002
+ } & {
8003
+ type: z.ZodLiteral<"rank_in_column">;
8004
+ fieldId: z.ZodString;
8005
+ }, "strip", z.ZodTypeAny, {
8006
+ name: string;
8007
+ fieldId: string;
8008
+ type: "rank_in_column";
8009
+ displayName: string;
8010
+ }, {
8011
+ name: string;
8012
+ fieldId: string;
8013
+ type: "rank_in_column";
8014
+ displayName: string;
8015
+ }>, z.ZodObject<{
8016
+ name: z.ZodString;
8017
+ displayName: z.ZodString;
8018
+ } & {
8019
+ type: z.ZodLiteral<"running_total">;
8020
+ fieldId: z.ZodString;
8021
+ }, "strip", z.ZodTypeAny, {
8022
+ name: string;
8023
+ fieldId: string;
8024
+ type: "running_total";
8025
+ displayName: string;
8026
+ }, {
8027
+ name: string;
8028
+ fieldId: string;
8029
+ type: "running_total";
8030
+ displayName: string;
8031
+ }>]>, "many">>;
6971
8032
  filters: z.ZodNullable<z.ZodObject<{
6972
8033
  type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
6973
8034
  dimensions: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -7969,17 +9030,51 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
7969
9030
  lineType: "line" | "area";
7970
9031
  }>;
7971
9032
  }, "strip", z.ZodTypeAny, {
7972
- type: AiResultType.TIME_SERIES_RESULT;
7973
- description: string;
7974
- filters: {
7975
- dimensions: ({
7976
- operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
9033
+ tableCalculations: ({
9034
+ name: string;
9035
+ fieldId: string;
9036
+ type: "percent_change_from_previous";
9037
+ displayName: string;
9038
+ orderBy: {
7977
9039
  fieldId: string;
7978
- fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
7979
- fieldFilterType: import("../../../..").FilterType.BOOLEAN;
7980
- } | {
7981
- operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
7982
- values: boolean[];
9040
+ order: "asc" | "desc" | null;
9041
+ }[];
9042
+ } | {
9043
+ name: string;
9044
+ fieldId: string;
9045
+ type: "percent_of_previous_value";
9046
+ displayName: string;
9047
+ orderBy: {
9048
+ fieldId: string;
9049
+ order: "asc" | "desc" | null;
9050
+ }[];
9051
+ } | {
9052
+ name: string;
9053
+ fieldId: string;
9054
+ type: "percent_of_column_total";
9055
+ displayName: string;
9056
+ } | {
9057
+ name: string;
9058
+ fieldId: string;
9059
+ type: "rank_in_column";
9060
+ displayName: string;
9061
+ } | {
9062
+ name: string;
9063
+ fieldId: string;
9064
+ type: "running_total";
9065
+ displayName: string;
9066
+ })[] | null;
9067
+ type: AiResultType.TIME_SERIES_RESULT;
9068
+ description: string;
9069
+ filters: {
9070
+ dimensions: ({
9071
+ operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
9072
+ fieldId: string;
9073
+ fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
9074
+ fieldFilterType: import("../../../..").FilterType.BOOLEAN;
9075
+ } | {
9076
+ operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
9077
+ values: boolean[];
7983
9078
  fieldId: string;
7984
9079
  fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
7985
9080
  fieldFilterType: import("../../../..").FilterType.BOOLEAN;
@@ -8176,6 +9271,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
8176
9271
  lineType: "line" | "area";
8177
9272
  };
8178
9273
  }, {
9274
+ tableCalculations: ({
9275
+ name: string;
9276
+ fieldId: string;
9277
+ type: "percent_change_from_previous";
9278
+ displayName: string;
9279
+ orderBy: {
9280
+ fieldId: string;
9281
+ order: "asc" | "desc" | null;
9282
+ }[];
9283
+ } | {
9284
+ name: string;
9285
+ fieldId: string;
9286
+ type: "percent_of_previous_value";
9287
+ displayName: string;
9288
+ orderBy: {
9289
+ fieldId: string;
9290
+ order: "asc" | "desc" | null;
9291
+ }[];
9292
+ } | {
9293
+ name: string;
9294
+ fieldId: string;
9295
+ type: "percent_of_column_total";
9296
+ displayName: string;
9297
+ } | {
9298
+ name: string;
9299
+ fieldId: string;
9300
+ type: "rank_in_column";
9301
+ displayName: string;
9302
+ } | {
9303
+ name: string;
9304
+ fieldId: string;
9305
+ type: "running_total";
9306
+ displayName: string;
9307
+ })[] | null;
8179
9308
  type: AiResultType.TIME_SERIES_RESULT;
8180
9309
  description: string;
8181
9310
  filters: {
@@ -8402,6 +9531,123 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
8402
9531
  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;
8403
9532
  baseDimensionName: string;
8404
9533
  }>, "many">>;
9534
+ tableCalculations: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9535
+ name: z.ZodString;
9536
+ displayName: z.ZodString;
9537
+ } & {
9538
+ type: z.ZodLiteral<"percent_change_from_previous">;
9539
+ fieldId: z.ZodString;
9540
+ orderBy: z.ZodArray<z.ZodObject<{
9541
+ fieldId: z.ZodString;
9542
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
9543
+ }, "strip", z.ZodTypeAny, {
9544
+ fieldId: string;
9545
+ order: "asc" | "desc" | null;
9546
+ }, {
9547
+ fieldId: string;
9548
+ order: "asc" | "desc" | null;
9549
+ }>, "many">;
9550
+ }, "strip", z.ZodTypeAny, {
9551
+ name: string;
9552
+ fieldId: string;
9553
+ type: "percent_change_from_previous";
9554
+ displayName: string;
9555
+ orderBy: {
9556
+ fieldId: string;
9557
+ order: "asc" | "desc" | null;
9558
+ }[];
9559
+ }, {
9560
+ name: string;
9561
+ fieldId: string;
9562
+ type: "percent_change_from_previous";
9563
+ displayName: string;
9564
+ orderBy: {
9565
+ fieldId: string;
9566
+ order: "asc" | "desc" | null;
9567
+ }[];
9568
+ }>, z.ZodObject<{
9569
+ name: z.ZodString;
9570
+ displayName: z.ZodString;
9571
+ } & {
9572
+ type: z.ZodLiteral<"percent_of_previous_value">;
9573
+ fieldId: z.ZodString;
9574
+ orderBy: z.ZodArray<z.ZodObject<{
9575
+ fieldId: z.ZodString;
9576
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
9577
+ }, "strip", z.ZodTypeAny, {
9578
+ fieldId: string;
9579
+ order: "asc" | "desc" | null;
9580
+ }, {
9581
+ fieldId: string;
9582
+ order: "asc" | "desc" | null;
9583
+ }>, "many">;
9584
+ }, "strip", z.ZodTypeAny, {
9585
+ name: string;
9586
+ fieldId: string;
9587
+ type: "percent_of_previous_value";
9588
+ displayName: string;
9589
+ orderBy: {
9590
+ fieldId: string;
9591
+ order: "asc" | "desc" | null;
9592
+ }[];
9593
+ }, {
9594
+ name: string;
9595
+ fieldId: string;
9596
+ type: "percent_of_previous_value";
9597
+ displayName: string;
9598
+ orderBy: {
9599
+ fieldId: string;
9600
+ order: "asc" | "desc" | null;
9601
+ }[];
9602
+ }>, z.ZodObject<{
9603
+ name: z.ZodString;
9604
+ displayName: z.ZodString;
9605
+ } & {
9606
+ type: z.ZodLiteral<"percent_of_column_total">;
9607
+ fieldId: z.ZodString;
9608
+ }, "strip", z.ZodTypeAny, {
9609
+ name: string;
9610
+ fieldId: string;
9611
+ type: "percent_of_column_total";
9612
+ displayName: string;
9613
+ }, {
9614
+ name: string;
9615
+ fieldId: string;
9616
+ type: "percent_of_column_total";
9617
+ displayName: string;
9618
+ }>, z.ZodObject<{
9619
+ name: z.ZodString;
9620
+ displayName: z.ZodString;
9621
+ } & {
9622
+ type: z.ZodLiteral<"rank_in_column">;
9623
+ fieldId: z.ZodString;
9624
+ }, "strip", z.ZodTypeAny, {
9625
+ name: string;
9626
+ fieldId: string;
9627
+ type: "rank_in_column";
9628
+ displayName: string;
9629
+ }, {
9630
+ name: string;
9631
+ fieldId: string;
9632
+ type: "rank_in_column";
9633
+ displayName: string;
9634
+ }>, z.ZodObject<{
9635
+ name: z.ZodString;
9636
+ displayName: z.ZodString;
9637
+ } & {
9638
+ type: z.ZodLiteral<"running_total">;
9639
+ fieldId: z.ZodString;
9640
+ }, "strip", z.ZodTypeAny, {
9641
+ name: string;
9642
+ fieldId: string;
9643
+ type: "running_total";
9644
+ displayName: string;
9645
+ }, {
9646
+ name: string;
9647
+ fieldId: string;
9648
+ type: "running_total";
9649
+ displayName: string;
9650
+ }>]>, "many">>;
8405
9651
  filters: z.ZodNullable<z.ZodObject<{
8406
9652
  type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
8407
9653
  dimensions: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -9406,6 +10652,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
9406
10652
  yAxisLabel: string | null;
9407
10653
  }>;
9408
10654
  }, "strip", z.ZodTypeAny, {
10655
+ tableCalculations: ({
10656
+ name: string;
10657
+ fieldId: string;
10658
+ type: "percent_change_from_previous";
10659
+ displayName: string;
10660
+ orderBy: {
10661
+ fieldId: string;
10662
+ order: "asc" | "desc" | null;
10663
+ }[];
10664
+ } | {
10665
+ name: string;
10666
+ fieldId: string;
10667
+ type: "percent_of_previous_value";
10668
+ displayName: string;
10669
+ orderBy: {
10670
+ fieldId: string;
10671
+ order: "asc" | "desc" | null;
10672
+ }[];
10673
+ } | {
10674
+ name: string;
10675
+ fieldId: string;
10676
+ type: "percent_of_column_total";
10677
+ displayName: string;
10678
+ } | {
10679
+ name: string;
10680
+ fieldId: string;
10681
+ type: "rank_in_column";
10682
+ displayName: string;
10683
+ } | {
10684
+ name: string;
10685
+ fieldId: string;
10686
+ type: "running_total";
10687
+ displayName: string;
10688
+ })[] | null;
9409
10689
  type: AiResultType.VERTICAL_BAR_RESULT;
9410
10690
  description: string;
9411
10691
  filters: {
@@ -9614,6 +10894,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
9614
10894
  yAxisLabel: string | null;
9615
10895
  };
9616
10896
  }, {
10897
+ tableCalculations: ({
10898
+ name: string;
10899
+ fieldId: string;
10900
+ type: "percent_change_from_previous";
10901
+ displayName: string;
10902
+ orderBy: {
10903
+ fieldId: string;
10904
+ order: "asc" | "desc" | null;
10905
+ }[];
10906
+ } | {
10907
+ name: string;
10908
+ fieldId: string;
10909
+ type: "percent_of_previous_value";
10910
+ displayName: string;
10911
+ orderBy: {
10912
+ fieldId: string;
10913
+ order: "asc" | "desc" | null;
10914
+ }[];
10915
+ } | {
10916
+ name: string;
10917
+ fieldId: string;
10918
+ type: "percent_of_column_total";
10919
+ displayName: string;
10920
+ } | {
10921
+ name: string;
10922
+ fieldId: string;
10923
+ type: "rank_in_column";
10924
+ displayName: string;
10925
+ } | {
10926
+ name: string;
10927
+ fieldId: string;
10928
+ type: "running_total";
10929
+ displayName: string;
10930
+ })[] | null;
9617
10931
  type: AiResultType.VERTICAL_BAR_RESULT;
9618
10932
  description: string;
9619
10933
  filters: {
@@ -9823,6 +11137,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
9823
11137
  };
9824
11138
  }>]>, {
9825
11139
  followUpTools: never[];
11140
+ tableCalculations: ({
11141
+ name: string;
11142
+ fieldId: string;
11143
+ type: "percent_change_from_previous";
11144
+ displayName: string;
11145
+ orderBy: {
11146
+ fieldId: string;
11147
+ order: "asc" | "desc" | null;
11148
+ }[];
11149
+ } | {
11150
+ name: string;
11151
+ fieldId: string;
11152
+ type: "percent_of_previous_value";
11153
+ displayName: string;
11154
+ orderBy: {
11155
+ fieldId: string;
11156
+ order: "asc" | "desc" | null;
11157
+ }[];
11158
+ } | {
11159
+ name: string;
11160
+ fieldId: string;
11161
+ type: "percent_of_column_total";
11162
+ displayName: string;
11163
+ } | {
11164
+ name: string;
11165
+ fieldId: string;
11166
+ type: "rank_in_column";
11167
+ displayName: string;
11168
+ } | {
11169
+ name: string;
11170
+ fieldId: string;
11171
+ type: "running_total";
11172
+ displayName: string;
11173
+ })[] | null;
9826
11174
  type: AiResultType.TABLE_RESULT;
9827
11175
  description: string;
9828
11176
  filters: {
@@ -10027,6 +11375,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
10027
11375
  };
10028
11376
  } | {
10029
11377
  followUpTools: never[];
11378
+ tableCalculations: ({
11379
+ name: string;
11380
+ fieldId: string;
11381
+ type: "percent_change_from_previous";
11382
+ displayName: string;
11383
+ orderBy: {
11384
+ fieldId: string;
11385
+ order: "asc" | "desc" | null;
11386
+ }[];
11387
+ } | {
11388
+ name: string;
11389
+ fieldId: string;
11390
+ type: "percent_of_previous_value";
11391
+ displayName: string;
11392
+ orderBy: {
11393
+ fieldId: string;
11394
+ order: "asc" | "desc" | null;
11395
+ }[];
11396
+ } | {
11397
+ name: string;
11398
+ fieldId: string;
11399
+ type: "percent_of_column_total";
11400
+ displayName: string;
11401
+ } | {
11402
+ name: string;
11403
+ fieldId: string;
11404
+ type: "rank_in_column";
11405
+ displayName: string;
11406
+ } | {
11407
+ name: string;
11408
+ fieldId: string;
11409
+ type: "running_total";
11410
+ displayName: string;
11411
+ })[] | null;
10030
11412
  type: AiResultType.TIME_SERIES_RESULT;
10031
11413
  description: string;
10032
11414
  filters: {
@@ -10235,6 +11617,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
10235
11617
  };
10236
11618
  } | {
10237
11619
  followUpTools: never[];
11620
+ tableCalculations: ({
11621
+ name: string;
11622
+ fieldId: string;
11623
+ type: "percent_change_from_previous";
11624
+ displayName: string;
11625
+ orderBy: {
11626
+ fieldId: string;
11627
+ order: "asc" | "desc" | null;
11628
+ }[];
11629
+ } | {
11630
+ name: string;
11631
+ fieldId: string;
11632
+ type: "percent_of_previous_value";
11633
+ displayName: string;
11634
+ orderBy: {
11635
+ fieldId: string;
11636
+ order: "asc" | "desc" | null;
11637
+ }[];
11638
+ } | {
11639
+ name: string;
11640
+ fieldId: string;
11641
+ type: "percent_of_column_total";
11642
+ displayName: string;
11643
+ } | {
11644
+ name: string;
11645
+ fieldId: string;
11646
+ type: "rank_in_column";
11647
+ displayName: string;
11648
+ } | {
11649
+ name: string;
11650
+ fieldId: string;
11651
+ type: "running_total";
11652
+ displayName: string;
11653
+ })[] | null;
10238
11654
  type: AiResultType.VERTICAL_BAR_RESULT;
10239
11655
  description: string;
10240
11656
  filters: {
@@ -10443,6 +11859,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
10443
11859
  yAxisLabel: string | null;
10444
11860
  };
10445
11861
  }, {
11862
+ tableCalculations: ({
11863
+ name: string;
11864
+ fieldId: string;
11865
+ type: "percent_change_from_previous";
11866
+ displayName: string;
11867
+ orderBy: {
11868
+ fieldId: string;
11869
+ order: "asc" | "desc" | null;
11870
+ }[];
11871
+ } | {
11872
+ name: string;
11873
+ fieldId: string;
11874
+ type: "percent_of_previous_value";
11875
+ displayName: string;
11876
+ orderBy: {
11877
+ fieldId: string;
11878
+ order: "asc" | "desc" | null;
11879
+ }[];
11880
+ } | {
11881
+ name: string;
11882
+ fieldId: string;
11883
+ type: "percent_of_column_total";
11884
+ displayName: string;
11885
+ } | {
11886
+ name: string;
11887
+ fieldId: string;
11888
+ type: "rank_in_column";
11889
+ displayName: string;
11890
+ } | {
11891
+ name: string;
11892
+ fieldId: string;
11893
+ type: "running_total";
11894
+ displayName: string;
11895
+ })[] | null;
10446
11896
  type: AiResultType.TABLE_RESULT;
10447
11897
  description: string;
10448
11898
  filters: {
@@ -10646,6 +12096,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
10646
12096
  }[];
10647
12097
  };
10648
12098
  } | {
12099
+ tableCalculations: ({
12100
+ name: string;
12101
+ fieldId: string;
12102
+ type: "percent_change_from_previous";
12103
+ displayName: string;
12104
+ orderBy: {
12105
+ fieldId: string;
12106
+ order: "asc" | "desc" | null;
12107
+ }[];
12108
+ } | {
12109
+ name: string;
12110
+ fieldId: string;
12111
+ type: "percent_of_previous_value";
12112
+ displayName: string;
12113
+ orderBy: {
12114
+ fieldId: string;
12115
+ order: "asc" | "desc" | null;
12116
+ }[];
12117
+ } | {
12118
+ name: string;
12119
+ fieldId: string;
12120
+ type: "percent_of_column_total";
12121
+ displayName: string;
12122
+ } | {
12123
+ name: string;
12124
+ fieldId: string;
12125
+ type: "rank_in_column";
12126
+ displayName: string;
12127
+ } | {
12128
+ name: string;
12129
+ fieldId: string;
12130
+ type: "running_total";
12131
+ displayName: string;
12132
+ })[] | null;
10649
12133
  type: AiResultType.TIME_SERIES_RESULT;
10650
12134
  description: string;
10651
12135
  filters: {
@@ -10853,13 +12337,47 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
10853
12337
  lineType: "line" | "area";
10854
12338
  };
10855
12339
  } | {
10856
- type: AiResultType.VERTICAL_BAR_RESULT;
10857
- description: string;
10858
- filters: {
10859
- dimensions: ({
10860
- operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
12340
+ tableCalculations: ({
12341
+ name: string;
12342
+ fieldId: string;
12343
+ type: "percent_change_from_previous";
12344
+ displayName: string;
12345
+ orderBy: {
10861
12346
  fieldId: string;
10862
- fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
12347
+ order: "asc" | "desc" | null;
12348
+ }[];
12349
+ } | {
12350
+ name: string;
12351
+ fieldId: string;
12352
+ type: "percent_of_previous_value";
12353
+ displayName: string;
12354
+ orderBy: {
12355
+ fieldId: string;
12356
+ order: "asc" | "desc" | null;
12357
+ }[];
12358
+ } | {
12359
+ name: string;
12360
+ fieldId: string;
12361
+ type: "percent_of_column_total";
12362
+ displayName: string;
12363
+ } | {
12364
+ name: string;
12365
+ fieldId: string;
12366
+ type: "rank_in_column";
12367
+ displayName: string;
12368
+ } | {
12369
+ name: string;
12370
+ fieldId: string;
12371
+ type: "running_total";
12372
+ displayName: string;
12373
+ })[] | null;
12374
+ type: AiResultType.VERTICAL_BAR_RESULT;
12375
+ description: string;
12376
+ filters: {
12377
+ dimensions: ({
12378
+ operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
12379
+ fieldId: string;
12380
+ fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
10863
12381
  fieldFilterType: import("../../../..").FilterType.BOOLEAN;
10864
12382
  } | {
10865
12383
  operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
@@ -11067,6 +12585,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
11067
12585
  title: string;
11068
12586
  visualizations: ({
11069
12587
  followUpTools: never[];
12588
+ tableCalculations: ({
12589
+ name: string;
12590
+ fieldId: string;
12591
+ type: "percent_change_from_previous";
12592
+ displayName: string;
12593
+ orderBy: {
12594
+ fieldId: string;
12595
+ order: "asc" | "desc" | null;
12596
+ }[];
12597
+ } | {
12598
+ name: string;
12599
+ fieldId: string;
12600
+ type: "percent_of_previous_value";
12601
+ displayName: string;
12602
+ orderBy: {
12603
+ fieldId: string;
12604
+ order: "asc" | "desc" | null;
12605
+ }[];
12606
+ } | {
12607
+ name: string;
12608
+ fieldId: string;
12609
+ type: "percent_of_column_total";
12610
+ displayName: string;
12611
+ } | {
12612
+ name: string;
12613
+ fieldId: string;
12614
+ type: "rank_in_column";
12615
+ displayName: string;
12616
+ } | {
12617
+ name: string;
12618
+ fieldId: string;
12619
+ type: "running_total";
12620
+ displayName: string;
12621
+ })[] | null;
11070
12622
  type: AiResultType.TABLE_RESULT;
11071
12623
  description: string;
11072
12624
  filters: {
@@ -11271,6 +12823,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
11271
12823
  };
11272
12824
  } | {
11273
12825
  followUpTools: never[];
12826
+ tableCalculations: ({
12827
+ name: string;
12828
+ fieldId: string;
12829
+ type: "percent_change_from_previous";
12830
+ displayName: string;
12831
+ orderBy: {
12832
+ fieldId: string;
12833
+ order: "asc" | "desc" | null;
12834
+ }[];
12835
+ } | {
12836
+ name: string;
12837
+ fieldId: string;
12838
+ type: "percent_of_previous_value";
12839
+ displayName: string;
12840
+ orderBy: {
12841
+ fieldId: string;
12842
+ order: "asc" | "desc" | null;
12843
+ }[];
12844
+ } | {
12845
+ name: string;
12846
+ fieldId: string;
12847
+ type: "percent_of_column_total";
12848
+ displayName: string;
12849
+ } | {
12850
+ name: string;
12851
+ fieldId: string;
12852
+ type: "rank_in_column";
12853
+ displayName: string;
12854
+ } | {
12855
+ name: string;
12856
+ fieldId: string;
12857
+ type: "running_total";
12858
+ displayName: string;
12859
+ })[] | null;
11274
12860
  type: AiResultType.TIME_SERIES_RESULT;
11275
12861
  description: string;
11276
12862
  filters: {
@@ -11479,6 +13065,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
11479
13065
  };
11480
13066
  } | {
11481
13067
  followUpTools: never[];
13068
+ tableCalculations: ({
13069
+ name: string;
13070
+ fieldId: string;
13071
+ type: "percent_change_from_previous";
13072
+ displayName: string;
13073
+ orderBy: {
13074
+ fieldId: string;
13075
+ order: "asc" | "desc" | null;
13076
+ }[];
13077
+ } | {
13078
+ name: string;
13079
+ fieldId: string;
13080
+ type: "percent_of_previous_value";
13081
+ displayName: string;
13082
+ orderBy: {
13083
+ fieldId: string;
13084
+ order: "asc" | "desc" | null;
13085
+ }[];
13086
+ } | {
13087
+ name: string;
13088
+ fieldId: string;
13089
+ type: "percent_of_column_total";
13090
+ displayName: string;
13091
+ } | {
13092
+ name: string;
13093
+ fieldId: string;
13094
+ type: "rank_in_column";
13095
+ displayName: string;
13096
+ } | {
13097
+ name: string;
13098
+ fieldId: string;
13099
+ type: "running_total";
13100
+ displayName: string;
13101
+ })[] | null;
11482
13102
  type: AiResultType.VERTICAL_BAR_RESULT;
11483
13103
  description: string;
11484
13104
  filters: {
@@ -11692,6 +13312,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
11692
13312
  description: string;
11693
13313
  title: string;
11694
13314
  visualizations: ({
13315
+ tableCalculations: ({
13316
+ name: string;
13317
+ fieldId: string;
13318
+ type: "percent_change_from_previous";
13319
+ displayName: string;
13320
+ orderBy: {
13321
+ fieldId: string;
13322
+ order: "asc" | "desc" | null;
13323
+ }[];
13324
+ } | {
13325
+ name: string;
13326
+ fieldId: string;
13327
+ type: "percent_of_previous_value";
13328
+ displayName: string;
13329
+ orderBy: {
13330
+ fieldId: string;
13331
+ order: "asc" | "desc" | null;
13332
+ }[];
13333
+ } | {
13334
+ name: string;
13335
+ fieldId: string;
13336
+ type: "percent_of_column_total";
13337
+ displayName: string;
13338
+ } | {
13339
+ name: string;
13340
+ fieldId: string;
13341
+ type: "rank_in_column";
13342
+ displayName: string;
13343
+ } | {
13344
+ name: string;
13345
+ fieldId: string;
13346
+ type: "running_total";
13347
+ displayName: string;
13348
+ })[] | null;
11695
13349
  type: AiResultType.TABLE_RESULT;
11696
13350
  description: string;
11697
13351
  filters: {
@@ -11895,6 +13549,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
11895
13549
  }[];
11896
13550
  };
11897
13551
  } | {
13552
+ tableCalculations: ({
13553
+ name: string;
13554
+ fieldId: string;
13555
+ type: "percent_change_from_previous";
13556
+ displayName: string;
13557
+ orderBy: {
13558
+ fieldId: string;
13559
+ order: "asc" | "desc" | null;
13560
+ }[];
13561
+ } | {
13562
+ name: string;
13563
+ fieldId: string;
13564
+ type: "percent_of_previous_value";
13565
+ displayName: string;
13566
+ orderBy: {
13567
+ fieldId: string;
13568
+ order: "asc" | "desc" | null;
13569
+ }[];
13570
+ } | {
13571
+ name: string;
13572
+ fieldId: string;
13573
+ type: "percent_of_column_total";
13574
+ displayName: string;
13575
+ } | {
13576
+ name: string;
13577
+ fieldId: string;
13578
+ type: "rank_in_column";
13579
+ displayName: string;
13580
+ } | {
13581
+ name: string;
13582
+ fieldId: string;
13583
+ type: "running_total";
13584
+ displayName: string;
13585
+ })[] | null;
11898
13586
  type: AiResultType.TIME_SERIES_RESULT;
11899
13587
  description: string;
11900
13588
  filters: {
@@ -12102,6 +13790,40 @@ export declare const toolDashboardArgsSchema: z.ZodObject<{
12102
13790
  lineType: "line" | "area";
12103
13791
  };
12104
13792
  } | {
13793
+ tableCalculations: ({
13794
+ name: string;
13795
+ fieldId: string;
13796
+ type: "percent_change_from_previous";
13797
+ displayName: string;
13798
+ orderBy: {
13799
+ fieldId: string;
13800
+ order: "asc" | "desc" | null;
13801
+ }[];
13802
+ } | {
13803
+ name: string;
13804
+ fieldId: string;
13805
+ type: "percent_of_previous_value";
13806
+ displayName: string;
13807
+ orderBy: {
13808
+ fieldId: string;
13809
+ order: "asc" | "desc" | null;
13810
+ }[];
13811
+ } | {
13812
+ name: string;
13813
+ fieldId: string;
13814
+ type: "percent_of_column_total";
13815
+ displayName: string;
13816
+ } | {
13817
+ name: string;
13818
+ fieldId: string;
13819
+ type: "rank_in_column";
13820
+ displayName: string;
13821
+ } | {
13822
+ name: string;
13823
+ fieldId: string;
13824
+ type: "running_total";
13825
+ displayName: string;
13826
+ })[] | null;
12105
13827
  type: AiResultType.VERTICAL_BAR_RESULT;
12106
13828
  description: string;
12107
13829
  filters: {
@@ -12337,6 +14059,123 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
12337
14059
  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;
12338
14060
  baseDimensionName: string;
12339
14061
  }>, "many">>;
14062
+ tableCalculations: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14063
+ name: z.ZodString;
14064
+ displayName: z.ZodString;
14065
+ } & {
14066
+ type: z.ZodLiteral<"percent_change_from_previous">;
14067
+ fieldId: z.ZodString;
14068
+ orderBy: z.ZodArray<z.ZodObject<{
14069
+ fieldId: z.ZodString;
14070
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
14071
+ }, "strip", z.ZodTypeAny, {
14072
+ fieldId: string;
14073
+ order: "asc" | "desc" | null;
14074
+ }, {
14075
+ fieldId: string;
14076
+ order: "asc" | "desc" | null;
14077
+ }>, "many">;
14078
+ }, "strip", z.ZodTypeAny, {
14079
+ name: string;
14080
+ fieldId: string;
14081
+ type: "percent_change_from_previous";
14082
+ displayName: string;
14083
+ orderBy: {
14084
+ fieldId: string;
14085
+ order: "asc" | "desc" | null;
14086
+ }[];
14087
+ }, {
14088
+ name: string;
14089
+ fieldId: string;
14090
+ type: "percent_change_from_previous";
14091
+ displayName: string;
14092
+ orderBy: {
14093
+ fieldId: string;
14094
+ order: "asc" | "desc" | null;
14095
+ }[];
14096
+ }>, z.ZodObject<{
14097
+ name: z.ZodString;
14098
+ displayName: z.ZodString;
14099
+ } & {
14100
+ type: z.ZodLiteral<"percent_of_previous_value">;
14101
+ fieldId: z.ZodString;
14102
+ orderBy: z.ZodArray<z.ZodObject<{
14103
+ fieldId: z.ZodString;
14104
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
14105
+ }, "strip", z.ZodTypeAny, {
14106
+ fieldId: string;
14107
+ order: "asc" | "desc" | null;
14108
+ }, {
14109
+ fieldId: string;
14110
+ order: "asc" | "desc" | null;
14111
+ }>, "many">;
14112
+ }, "strip", z.ZodTypeAny, {
14113
+ name: string;
14114
+ fieldId: string;
14115
+ type: "percent_of_previous_value";
14116
+ displayName: string;
14117
+ orderBy: {
14118
+ fieldId: string;
14119
+ order: "asc" | "desc" | null;
14120
+ }[];
14121
+ }, {
14122
+ name: string;
14123
+ fieldId: string;
14124
+ type: "percent_of_previous_value";
14125
+ displayName: string;
14126
+ orderBy: {
14127
+ fieldId: string;
14128
+ order: "asc" | "desc" | null;
14129
+ }[];
14130
+ }>, z.ZodObject<{
14131
+ name: z.ZodString;
14132
+ displayName: z.ZodString;
14133
+ } & {
14134
+ type: z.ZodLiteral<"percent_of_column_total">;
14135
+ fieldId: z.ZodString;
14136
+ }, "strip", z.ZodTypeAny, {
14137
+ name: string;
14138
+ fieldId: string;
14139
+ type: "percent_of_column_total";
14140
+ displayName: string;
14141
+ }, {
14142
+ name: string;
14143
+ fieldId: string;
14144
+ type: "percent_of_column_total";
14145
+ displayName: string;
14146
+ }>, z.ZodObject<{
14147
+ name: z.ZodString;
14148
+ displayName: z.ZodString;
14149
+ } & {
14150
+ type: z.ZodLiteral<"rank_in_column">;
14151
+ fieldId: z.ZodString;
14152
+ }, "strip", z.ZodTypeAny, {
14153
+ name: string;
14154
+ fieldId: string;
14155
+ type: "rank_in_column";
14156
+ displayName: string;
14157
+ }, {
14158
+ name: string;
14159
+ fieldId: string;
14160
+ type: "rank_in_column";
14161
+ displayName: string;
14162
+ }>, z.ZodObject<{
14163
+ name: z.ZodString;
14164
+ displayName: z.ZodString;
14165
+ } & {
14166
+ type: z.ZodLiteral<"running_total">;
14167
+ fieldId: z.ZodString;
14168
+ }, "strip", z.ZodTypeAny, {
14169
+ name: string;
14170
+ fieldId: string;
14171
+ type: "running_total";
14172
+ displayName: string;
14173
+ }, {
14174
+ name: string;
14175
+ fieldId: string;
14176
+ type: "running_total";
14177
+ displayName: string;
14178
+ }>]>, "many">>;
12340
14179
  filters: z.ZodNullable<z.ZodObject<{
12341
14180
  type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
12342
14181
  dimensions: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -13326,6 +15165,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
13326
15165
  }[];
13327
15166
  }>;
13328
15167
  }, "strip", z.ZodTypeAny, {
15168
+ tableCalculations: ({
15169
+ name: string;
15170
+ fieldId: string;
15171
+ type: "percent_change_from_previous";
15172
+ displayName: string;
15173
+ orderBy: {
15174
+ fieldId: string;
15175
+ order: "asc" | "desc" | null;
15176
+ }[];
15177
+ } | {
15178
+ name: string;
15179
+ fieldId: string;
15180
+ type: "percent_of_previous_value";
15181
+ displayName: string;
15182
+ orderBy: {
15183
+ fieldId: string;
15184
+ order: "asc" | "desc" | null;
15185
+ }[];
15186
+ } | {
15187
+ name: string;
15188
+ fieldId: string;
15189
+ type: "percent_of_column_total";
15190
+ displayName: string;
15191
+ } | {
15192
+ name: string;
15193
+ fieldId: string;
15194
+ type: "rank_in_column";
15195
+ displayName: string;
15196
+ } | {
15197
+ name: string;
15198
+ fieldId: string;
15199
+ type: "running_total";
15200
+ displayName: string;
15201
+ })[] | null;
13329
15202
  type: AiResultType.TABLE_RESULT;
13330
15203
  description: string;
13331
15204
  filters: {
@@ -13529,6 +15402,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
13529
15402
  }[];
13530
15403
  };
13531
15404
  }, {
15405
+ tableCalculations: ({
15406
+ name: string;
15407
+ fieldId: string;
15408
+ type: "percent_change_from_previous";
15409
+ displayName: string;
15410
+ orderBy: {
15411
+ fieldId: string;
15412
+ order: "asc" | "desc" | null;
15413
+ }[];
15414
+ } | {
15415
+ name: string;
15416
+ fieldId: string;
15417
+ type: "percent_of_previous_value";
15418
+ displayName: string;
15419
+ orderBy: {
15420
+ fieldId: string;
15421
+ order: "asc" | "desc" | null;
15422
+ }[];
15423
+ } | {
15424
+ name: string;
15425
+ fieldId: string;
15426
+ type: "percent_of_column_total";
15427
+ displayName: string;
15428
+ } | {
15429
+ name: string;
15430
+ fieldId: string;
15431
+ type: "rank_in_column";
15432
+ displayName: string;
15433
+ } | {
15434
+ name: string;
15435
+ fieldId: string;
15436
+ type: "running_total";
15437
+ displayName: string;
15438
+ })[] | null;
13532
15439
  type: AiResultType.TABLE_RESULT;
13533
15440
  description: string;
13534
15441
  filters: {
@@ -13751,18 +15658,135 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
13751
15658
  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;
13752
15659
  baseDimensionName: string;
13753
15660
  }>, "many">>;
13754
- filters: z.ZodNullable<z.ZodObject<{
13755
- type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
13756
- dimensions: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
15661
+ tableCalculations: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15662
+ name: z.ZodString;
15663
+ displayName: z.ZodString;
15664
+ } & {
15665
+ type: z.ZodLiteral<"percent_change_from_previous">;
15666
+ fieldId: z.ZodString;
15667
+ orderBy: z.ZodArray<z.ZodObject<{
13757
15668
  fieldId: z.ZodString;
13758
- fieldType: z.ZodUnion<[z.ZodLiteral<import("../../../..").DimensionType.BOOLEAN>, z.ZodLiteral<import("../../../..").MetricType.BOOLEAN>]>;
13759
- fieldFilterType: z.ZodLiteral<import("../../../..").FilterType.BOOLEAN>;
13760
- } & {
13761
- operator: z.ZodUnion<[z.ZodLiteral<import("../../../..").FilterOperator.NULL>, z.ZodLiteral<import("../../../..").FilterOperator.NOT_NULL>]>;
15669
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
13762
15670
  }, "strip", z.ZodTypeAny, {
13763
- operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
13764
15671
  fieldId: string;
13765
- fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
15672
+ order: "asc" | "desc" | null;
15673
+ }, {
15674
+ fieldId: string;
15675
+ order: "asc" | "desc" | null;
15676
+ }>, "many">;
15677
+ }, "strip", z.ZodTypeAny, {
15678
+ name: string;
15679
+ fieldId: string;
15680
+ type: "percent_change_from_previous";
15681
+ displayName: string;
15682
+ orderBy: {
15683
+ fieldId: string;
15684
+ order: "asc" | "desc" | null;
15685
+ }[];
15686
+ }, {
15687
+ name: string;
15688
+ fieldId: string;
15689
+ type: "percent_change_from_previous";
15690
+ displayName: string;
15691
+ orderBy: {
15692
+ fieldId: string;
15693
+ order: "asc" | "desc" | null;
15694
+ }[];
15695
+ }>, z.ZodObject<{
15696
+ name: z.ZodString;
15697
+ displayName: z.ZodString;
15698
+ } & {
15699
+ type: z.ZodLiteral<"percent_of_previous_value">;
15700
+ fieldId: z.ZodString;
15701
+ orderBy: z.ZodArray<z.ZodObject<{
15702
+ fieldId: z.ZodString;
15703
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
15704
+ }, "strip", z.ZodTypeAny, {
15705
+ fieldId: string;
15706
+ order: "asc" | "desc" | null;
15707
+ }, {
15708
+ fieldId: string;
15709
+ order: "asc" | "desc" | null;
15710
+ }>, "many">;
15711
+ }, "strip", z.ZodTypeAny, {
15712
+ name: string;
15713
+ fieldId: string;
15714
+ type: "percent_of_previous_value";
15715
+ displayName: string;
15716
+ orderBy: {
15717
+ fieldId: string;
15718
+ order: "asc" | "desc" | null;
15719
+ }[];
15720
+ }, {
15721
+ name: string;
15722
+ fieldId: string;
15723
+ type: "percent_of_previous_value";
15724
+ displayName: string;
15725
+ orderBy: {
15726
+ fieldId: string;
15727
+ order: "asc" | "desc" | null;
15728
+ }[];
15729
+ }>, z.ZodObject<{
15730
+ name: z.ZodString;
15731
+ displayName: z.ZodString;
15732
+ } & {
15733
+ type: z.ZodLiteral<"percent_of_column_total">;
15734
+ fieldId: z.ZodString;
15735
+ }, "strip", z.ZodTypeAny, {
15736
+ name: string;
15737
+ fieldId: string;
15738
+ type: "percent_of_column_total";
15739
+ displayName: string;
15740
+ }, {
15741
+ name: string;
15742
+ fieldId: string;
15743
+ type: "percent_of_column_total";
15744
+ displayName: string;
15745
+ }>, z.ZodObject<{
15746
+ name: z.ZodString;
15747
+ displayName: z.ZodString;
15748
+ } & {
15749
+ type: z.ZodLiteral<"rank_in_column">;
15750
+ fieldId: z.ZodString;
15751
+ }, "strip", z.ZodTypeAny, {
15752
+ name: string;
15753
+ fieldId: string;
15754
+ type: "rank_in_column";
15755
+ displayName: string;
15756
+ }, {
15757
+ name: string;
15758
+ fieldId: string;
15759
+ type: "rank_in_column";
15760
+ displayName: string;
15761
+ }>, z.ZodObject<{
15762
+ name: z.ZodString;
15763
+ displayName: z.ZodString;
15764
+ } & {
15765
+ type: z.ZodLiteral<"running_total">;
15766
+ fieldId: z.ZodString;
15767
+ }, "strip", z.ZodTypeAny, {
15768
+ name: string;
15769
+ fieldId: string;
15770
+ type: "running_total";
15771
+ displayName: string;
15772
+ }, {
15773
+ name: string;
15774
+ fieldId: string;
15775
+ type: "running_total";
15776
+ displayName: string;
15777
+ }>]>, "many">>;
15778
+ filters: z.ZodNullable<z.ZodObject<{
15779
+ type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
15780
+ dimensions: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
15781
+ fieldId: z.ZodString;
15782
+ fieldType: z.ZodUnion<[z.ZodLiteral<import("../../../..").DimensionType.BOOLEAN>, z.ZodLiteral<import("../../../..").MetricType.BOOLEAN>]>;
15783
+ fieldFilterType: z.ZodLiteral<import("../../../..").FilterType.BOOLEAN>;
15784
+ } & {
15785
+ operator: z.ZodUnion<[z.ZodLiteral<import("../../../..").FilterOperator.NULL>, z.ZodLiteral<import("../../../..").FilterOperator.NOT_NULL>]>;
15786
+ }, "strip", z.ZodTypeAny, {
15787
+ operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
15788
+ fieldId: string;
15789
+ fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
13766
15790
  fieldFilterType: import("../../../..").FilterType.BOOLEAN;
13767
15791
  }, {
13768
15792
  operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
@@ -14752,6 +16776,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
14752
16776
  lineType: "line" | "area";
14753
16777
  }>;
14754
16778
  }, "strip", z.ZodTypeAny, {
16779
+ tableCalculations: ({
16780
+ name: string;
16781
+ fieldId: string;
16782
+ type: "percent_change_from_previous";
16783
+ displayName: string;
16784
+ orderBy: {
16785
+ fieldId: string;
16786
+ order: "asc" | "desc" | null;
16787
+ }[];
16788
+ } | {
16789
+ name: string;
16790
+ fieldId: string;
16791
+ type: "percent_of_previous_value";
16792
+ displayName: string;
16793
+ orderBy: {
16794
+ fieldId: string;
16795
+ order: "asc" | "desc" | null;
16796
+ }[];
16797
+ } | {
16798
+ name: string;
16799
+ fieldId: string;
16800
+ type: "percent_of_column_total";
16801
+ displayName: string;
16802
+ } | {
16803
+ name: string;
16804
+ fieldId: string;
16805
+ type: "rank_in_column";
16806
+ displayName: string;
16807
+ } | {
16808
+ name: string;
16809
+ fieldId: string;
16810
+ type: "running_total";
16811
+ displayName: string;
16812
+ })[] | null;
14755
16813
  type: AiResultType.TIME_SERIES_RESULT;
14756
16814
  description: string;
14757
16815
  filters: {
@@ -14959,6 +17017,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
14959
17017
  lineType: "line" | "area";
14960
17018
  };
14961
17019
  }, {
17020
+ tableCalculations: ({
17021
+ name: string;
17022
+ fieldId: string;
17023
+ type: "percent_change_from_previous";
17024
+ displayName: string;
17025
+ orderBy: {
17026
+ fieldId: string;
17027
+ order: "asc" | "desc" | null;
17028
+ }[];
17029
+ } | {
17030
+ name: string;
17031
+ fieldId: string;
17032
+ type: "percent_of_previous_value";
17033
+ displayName: string;
17034
+ orderBy: {
17035
+ fieldId: string;
17036
+ order: "asc" | "desc" | null;
17037
+ }[];
17038
+ } | {
17039
+ name: string;
17040
+ fieldId: string;
17041
+ type: "percent_of_column_total";
17042
+ displayName: string;
17043
+ } | {
17044
+ name: string;
17045
+ fieldId: string;
17046
+ type: "rank_in_column";
17047
+ displayName: string;
17048
+ } | {
17049
+ name: string;
17050
+ fieldId: string;
17051
+ type: "running_total";
17052
+ displayName: string;
17053
+ })[] | null;
14962
17054
  type: AiResultType.TIME_SERIES_RESULT;
14963
17055
  description: string;
14964
17056
  filters: {
@@ -15185,6 +17277,123 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
15185
17277
  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;
15186
17278
  baseDimensionName: string;
15187
17279
  }>, "many">>;
17280
+ tableCalculations: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17281
+ name: z.ZodString;
17282
+ displayName: z.ZodString;
17283
+ } & {
17284
+ type: z.ZodLiteral<"percent_change_from_previous">;
17285
+ fieldId: z.ZodString;
17286
+ orderBy: z.ZodArray<z.ZodObject<{
17287
+ fieldId: z.ZodString;
17288
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
17289
+ }, "strip", z.ZodTypeAny, {
17290
+ fieldId: string;
17291
+ order: "asc" | "desc" | null;
17292
+ }, {
17293
+ fieldId: string;
17294
+ order: "asc" | "desc" | null;
17295
+ }>, "many">;
17296
+ }, "strip", z.ZodTypeAny, {
17297
+ name: string;
17298
+ fieldId: string;
17299
+ type: "percent_change_from_previous";
17300
+ displayName: string;
17301
+ orderBy: {
17302
+ fieldId: string;
17303
+ order: "asc" | "desc" | null;
17304
+ }[];
17305
+ }, {
17306
+ name: string;
17307
+ fieldId: string;
17308
+ type: "percent_change_from_previous";
17309
+ displayName: string;
17310
+ orderBy: {
17311
+ fieldId: string;
17312
+ order: "asc" | "desc" | null;
17313
+ }[];
17314
+ }>, z.ZodObject<{
17315
+ name: z.ZodString;
17316
+ displayName: z.ZodString;
17317
+ } & {
17318
+ type: z.ZodLiteral<"percent_of_previous_value">;
17319
+ fieldId: z.ZodString;
17320
+ orderBy: z.ZodArray<z.ZodObject<{
17321
+ fieldId: z.ZodString;
17322
+ order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
17323
+ }, "strip", z.ZodTypeAny, {
17324
+ fieldId: string;
17325
+ order: "asc" | "desc" | null;
17326
+ }, {
17327
+ fieldId: string;
17328
+ order: "asc" | "desc" | null;
17329
+ }>, "many">;
17330
+ }, "strip", z.ZodTypeAny, {
17331
+ name: string;
17332
+ fieldId: string;
17333
+ type: "percent_of_previous_value";
17334
+ displayName: string;
17335
+ orderBy: {
17336
+ fieldId: string;
17337
+ order: "asc" | "desc" | null;
17338
+ }[];
17339
+ }, {
17340
+ name: string;
17341
+ fieldId: string;
17342
+ type: "percent_of_previous_value";
17343
+ displayName: string;
17344
+ orderBy: {
17345
+ fieldId: string;
17346
+ order: "asc" | "desc" | null;
17347
+ }[];
17348
+ }>, z.ZodObject<{
17349
+ name: z.ZodString;
17350
+ displayName: z.ZodString;
17351
+ } & {
17352
+ type: z.ZodLiteral<"percent_of_column_total">;
17353
+ fieldId: z.ZodString;
17354
+ }, "strip", z.ZodTypeAny, {
17355
+ name: string;
17356
+ fieldId: string;
17357
+ type: "percent_of_column_total";
17358
+ displayName: string;
17359
+ }, {
17360
+ name: string;
17361
+ fieldId: string;
17362
+ type: "percent_of_column_total";
17363
+ displayName: string;
17364
+ }>, z.ZodObject<{
17365
+ name: z.ZodString;
17366
+ displayName: z.ZodString;
17367
+ } & {
17368
+ type: z.ZodLiteral<"rank_in_column">;
17369
+ fieldId: z.ZodString;
17370
+ }, "strip", z.ZodTypeAny, {
17371
+ name: string;
17372
+ fieldId: string;
17373
+ type: "rank_in_column";
17374
+ displayName: string;
17375
+ }, {
17376
+ name: string;
17377
+ fieldId: string;
17378
+ type: "rank_in_column";
17379
+ displayName: string;
17380
+ }>, z.ZodObject<{
17381
+ name: z.ZodString;
17382
+ displayName: z.ZodString;
17383
+ } & {
17384
+ type: z.ZodLiteral<"running_total">;
17385
+ fieldId: z.ZodString;
17386
+ }, "strip", z.ZodTypeAny, {
17387
+ name: string;
17388
+ fieldId: string;
17389
+ type: "running_total";
17390
+ displayName: string;
17391
+ }, {
17392
+ name: string;
17393
+ fieldId: string;
17394
+ type: "running_total";
17395
+ displayName: string;
17396
+ }>]>, "many">>;
15188
17397
  filters: z.ZodNullable<z.ZodObject<{
15189
17398
  type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
15190
17399
  dimensions: z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -16189,6 +18398,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
16189
18398
  yAxisLabel: string | null;
16190
18399
  }>;
16191
18400
  }, "strip", z.ZodTypeAny, {
18401
+ tableCalculations: ({
18402
+ name: string;
18403
+ fieldId: string;
18404
+ type: "percent_change_from_previous";
18405
+ displayName: string;
18406
+ orderBy: {
18407
+ fieldId: string;
18408
+ order: "asc" | "desc" | null;
18409
+ }[];
18410
+ } | {
18411
+ name: string;
18412
+ fieldId: string;
18413
+ type: "percent_of_previous_value";
18414
+ displayName: string;
18415
+ orderBy: {
18416
+ fieldId: string;
18417
+ order: "asc" | "desc" | null;
18418
+ }[];
18419
+ } | {
18420
+ name: string;
18421
+ fieldId: string;
18422
+ type: "percent_of_column_total";
18423
+ displayName: string;
18424
+ } | {
18425
+ name: string;
18426
+ fieldId: string;
18427
+ type: "rank_in_column";
18428
+ displayName: string;
18429
+ } | {
18430
+ name: string;
18431
+ fieldId: string;
18432
+ type: "running_total";
18433
+ displayName: string;
18434
+ })[] | null;
16192
18435
  type: AiResultType.VERTICAL_BAR_RESULT;
16193
18436
  description: string;
16194
18437
  filters: {
@@ -16397,6 +18640,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
16397
18640
  yAxisLabel: string | null;
16398
18641
  };
16399
18642
  }, {
18643
+ tableCalculations: ({
18644
+ name: string;
18645
+ fieldId: string;
18646
+ type: "percent_change_from_previous";
18647
+ displayName: string;
18648
+ orderBy: {
18649
+ fieldId: string;
18650
+ order: "asc" | "desc" | null;
18651
+ }[];
18652
+ } | {
18653
+ name: string;
18654
+ fieldId: string;
18655
+ type: "percent_of_previous_value";
18656
+ displayName: string;
18657
+ orderBy: {
18658
+ fieldId: string;
18659
+ order: "asc" | "desc" | null;
18660
+ }[];
18661
+ } | {
18662
+ name: string;
18663
+ fieldId: string;
18664
+ type: "percent_of_column_total";
18665
+ displayName: string;
18666
+ } | {
18667
+ name: string;
18668
+ fieldId: string;
18669
+ type: "rank_in_column";
18670
+ displayName: string;
18671
+ } | {
18672
+ name: string;
18673
+ fieldId: string;
18674
+ type: "running_total";
18675
+ displayName: string;
18676
+ })[] | null;
16400
18677
  type: AiResultType.VERTICAL_BAR_RESULT;
16401
18678
  description: string;
16402
18679
  filters: {
@@ -16606,6 +18883,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
16606
18883
  };
16607
18884
  }>]>, {
16608
18885
  followUpTools: never[];
18886
+ tableCalculations: ({
18887
+ name: string;
18888
+ fieldId: string;
18889
+ type: "percent_change_from_previous";
18890
+ displayName: string;
18891
+ orderBy: {
18892
+ fieldId: string;
18893
+ order: "asc" | "desc" | null;
18894
+ }[];
18895
+ } | {
18896
+ name: string;
18897
+ fieldId: string;
18898
+ type: "percent_of_previous_value";
18899
+ displayName: string;
18900
+ orderBy: {
18901
+ fieldId: string;
18902
+ order: "asc" | "desc" | null;
18903
+ }[];
18904
+ } | {
18905
+ name: string;
18906
+ fieldId: string;
18907
+ type: "percent_of_column_total";
18908
+ displayName: string;
18909
+ } | {
18910
+ name: string;
18911
+ fieldId: string;
18912
+ type: "rank_in_column";
18913
+ displayName: string;
18914
+ } | {
18915
+ name: string;
18916
+ fieldId: string;
18917
+ type: "running_total";
18918
+ displayName: string;
18919
+ })[] | null;
16609
18920
  type: AiResultType.TABLE_RESULT;
16610
18921
  description: string;
16611
18922
  filters: {
@@ -16810,19 +19121,53 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
16810
19121
  };
16811
19122
  } | {
16812
19123
  followUpTools: never[];
16813
- type: AiResultType.TIME_SERIES_RESULT;
16814
- description: string;
16815
- filters: {
16816
- dimensions: ({
16817
- operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
19124
+ tableCalculations: ({
19125
+ name: string;
19126
+ fieldId: string;
19127
+ type: "percent_change_from_previous";
19128
+ displayName: string;
19129
+ orderBy: {
16818
19130
  fieldId: string;
16819
- fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
16820
- fieldFilterType: import("../../../..").FilterType.BOOLEAN;
16821
- } | {
16822
- operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
16823
- values: boolean[];
19131
+ order: "asc" | "desc" | null;
19132
+ }[];
19133
+ } | {
19134
+ name: string;
19135
+ fieldId: string;
19136
+ type: "percent_of_previous_value";
19137
+ displayName: string;
19138
+ orderBy: {
16824
19139
  fieldId: string;
16825
- fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
19140
+ order: "asc" | "desc" | null;
19141
+ }[];
19142
+ } | {
19143
+ name: string;
19144
+ fieldId: string;
19145
+ type: "percent_of_column_total";
19146
+ displayName: string;
19147
+ } | {
19148
+ name: string;
19149
+ fieldId: string;
19150
+ type: "rank_in_column";
19151
+ displayName: string;
19152
+ } | {
19153
+ name: string;
19154
+ fieldId: string;
19155
+ type: "running_total";
19156
+ displayName: string;
19157
+ })[] | null;
19158
+ type: AiResultType.TIME_SERIES_RESULT;
19159
+ description: string;
19160
+ filters: {
19161
+ dimensions: ({
19162
+ operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
19163
+ fieldId: string;
19164
+ fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
19165
+ fieldFilterType: import("../../../..").FilterType.BOOLEAN;
19166
+ } | {
19167
+ operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
19168
+ values: boolean[];
19169
+ fieldId: string;
19170
+ fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
16826
19171
  fieldFilterType: import("../../../..").FilterType.BOOLEAN;
16827
19172
  } | {
16828
19173
  operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
@@ -17018,6 +19363,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
17018
19363
  };
17019
19364
  } | {
17020
19365
  followUpTools: never[];
19366
+ tableCalculations: ({
19367
+ name: string;
19368
+ fieldId: string;
19369
+ type: "percent_change_from_previous";
19370
+ displayName: string;
19371
+ orderBy: {
19372
+ fieldId: string;
19373
+ order: "asc" | "desc" | null;
19374
+ }[];
19375
+ } | {
19376
+ name: string;
19377
+ fieldId: string;
19378
+ type: "percent_of_previous_value";
19379
+ displayName: string;
19380
+ orderBy: {
19381
+ fieldId: string;
19382
+ order: "asc" | "desc" | null;
19383
+ }[];
19384
+ } | {
19385
+ name: string;
19386
+ fieldId: string;
19387
+ type: "percent_of_column_total";
19388
+ displayName: string;
19389
+ } | {
19390
+ name: string;
19391
+ fieldId: string;
19392
+ type: "rank_in_column";
19393
+ displayName: string;
19394
+ } | {
19395
+ name: string;
19396
+ fieldId: string;
19397
+ type: "running_total";
19398
+ displayName: string;
19399
+ })[] | null;
17021
19400
  type: AiResultType.VERTICAL_BAR_RESULT;
17022
19401
  description: string;
17023
19402
  filters: {
@@ -17226,6 +19605,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
17226
19605
  yAxisLabel: string | null;
17227
19606
  };
17228
19607
  }, {
19608
+ tableCalculations: ({
19609
+ name: string;
19610
+ fieldId: string;
19611
+ type: "percent_change_from_previous";
19612
+ displayName: string;
19613
+ orderBy: {
19614
+ fieldId: string;
19615
+ order: "asc" | "desc" | null;
19616
+ }[];
19617
+ } | {
19618
+ name: string;
19619
+ fieldId: string;
19620
+ type: "percent_of_previous_value";
19621
+ displayName: string;
19622
+ orderBy: {
19623
+ fieldId: string;
19624
+ order: "asc" | "desc" | null;
19625
+ }[];
19626
+ } | {
19627
+ name: string;
19628
+ fieldId: string;
19629
+ type: "percent_of_column_total";
19630
+ displayName: string;
19631
+ } | {
19632
+ name: string;
19633
+ fieldId: string;
19634
+ type: "rank_in_column";
19635
+ displayName: string;
19636
+ } | {
19637
+ name: string;
19638
+ fieldId: string;
19639
+ type: "running_total";
19640
+ displayName: string;
19641
+ })[] | null;
17229
19642
  type: AiResultType.TABLE_RESULT;
17230
19643
  description: string;
17231
19644
  filters: {
@@ -17429,6 +19842,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
17429
19842
  }[];
17430
19843
  };
17431
19844
  } | {
19845
+ tableCalculations: ({
19846
+ name: string;
19847
+ fieldId: string;
19848
+ type: "percent_change_from_previous";
19849
+ displayName: string;
19850
+ orderBy: {
19851
+ fieldId: string;
19852
+ order: "asc" | "desc" | null;
19853
+ }[];
19854
+ } | {
19855
+ name: string;
19856
+ fieldId: string;
19857
+ type: "percent_of_previous_value";
19858
+ displayName: string;
19859
+ orderBy: {
19860
+ fieldId: string;
19861
+ order: "asc" | "desc" | null;
19862
+ }[];
19863
+ } | {
19864
+ name: string;
19865
+ fieldId: string;
19866
+ type: "percent_of_column_total";
19867
+ displayName: string;
19868
+ } | {
19869
+ name: string;
19870
+ fieldId: string;
19871
+ type: "rank_in_column";
19872
+ displayName: string;
19873
+ } | {
19874
+ name: string;
19875
+ fieldId: string;
19876
+ type: "running_total";
19877
+ displayName: string;
19878
+ })[] | null;
17432
19879
  type: AiResultType.TIME_SERIES_RESULT;
17433
19880
  description: string;
17434
19881
  filters: {
@@ -17636,6 +20083,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
17636
20083
  lineType: "line" | "area";
17637
20084
  };
17638
20085
  } | {
20086
+ tableCalculations: ({
20087
+ name: string;
20088
+ fieldId: string;
20089
+ type: "percent_change_from_previous";
20090
+ displayName: string;
20091
+ orderBy: {
20092
+ fieldId: string;
20093
+ order: "asc" | "desc" | null;
20094
+ }[];
20095
+ } | {
20096
+ name: string;
20097
+ fieldId: string;
20098
+ type: "percent_of_previous_value";
20099
+ displayName: string;
20100
+ orderBy: {
20101
+ fieldId: string;
20102
+ order: "asc" | "desc" | null;
20103
+ }[];
20104
+ } | {
20105
+ name: string;
20106
+ fieldId: string;
20107
+ type: "percent_of_column_total";
20108
+ displayName: string;
20109
+ } | {
20110
+ name: string;
20111
+ fieldId: string;
20112
+ type: "rank_in_column";
20113
+ displayName: string;
20114
+ } | {
20115
+ name: string;
20116
+ fieldId: string;
20117
+ type: "running_total";
20118
+ displayName: string;
20119
+ })[] | null;
17639
20120
  type: AiResultType.VERTICAL_BAR_RESULT;
17640
20121
  description: string;
17641
20122
  filters: {
@@ -17850,6 +20331,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
17850
20331
  title: string;
17851
20332
  visualizations: ({
17852
20333
  followUpTools: never[];
20334
+ tableCalculations: ({
20335
+ name: string;
20336
+ fieldId: string;
20337
+ type: "percent_change_from_previous";
20338
+ displayName: string;
20339
+ orderBy: {
20340
+ fieldId: string;
20341
+ order: "asc" | "desc" | null;
20342
+ }[];
20343
+ } | {
20344
+ name: string;
20345
+ fieldId: string;
20346
+ type: "percent_of_previous_value";
20347
+ displayName: string;
20348
+ orderBy: {
20349
+ fieldId: string;
20350
+ order: "asc" | "desc" | null;
20351
+ }[];
20352
+ } | {
20353
+ name: string;
20354
+ fieldId: string;
20355
+ type: "percent_of_column_total";
20356
+ displayName: string;
20357
+ } | {
20358
+ name: string;
20359
+ fieldId: string;
20360
+ type: "rank_in_column";
20361
+ displayName: string;
20362
+ } | {
20363
+ name: string;
20364
+ fieldId: string;
20365
+ type: "running_total";
20366
+ displayName: string;
20367
+ })[] | null;
17853
20368
  type: AiResultType.TABLE_RESULT;
17854
20369
  description: string;
17855
20370
  filters: {
@@ -18054,6 +20569,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
18054
20569
  };
18055
20570
  } | {
18056
20571
  followUpTools: never[];
20572
+ tableCalculations: ({
20573
+ name: string;
20574
+ fieldId: string;
20575
+ type: "percent_change_from_previous";
20576
+ displayName: string;
20577
+ orderBy: {
20578
+ fieldId: string;
20579
+ order: "asc" | "desc" | null;
20580
+ }[];
20581
+ } | {
20582
+ name: string;
20583
+ fieldId: string;
20584
+ type: "percent_of_previous_value";
20585
+ displayName: string;
20586
+ orderBy: {
20587
+ fieldId: string;
20588
+ order: "asc" | "desc" | null;
20589
+ }[];
20590
+ } | {
20591
+ name: string;
20592
+ fieldId: string;
20593
+ type: "percent_of_column_total";
20594
+ displayName: string;
20595
+ } | {
20596
+ name: string;
20597
+ fieldId: string;
20598
+ type: "rank_in_column";
20599
+ displayName: string;
20600
+ } | {
20601
+ name: string;
20602
+ fieldId: string;
20603
+ type: "running_total";
20604
+ displayName: string;
20605
+ })[] | null;
18057
20606
  type: AiResultType.TIME_SERIES_RESULT;
18058
20607
  description: string;
18059
20608
  filters: {
@@ -18262,6 +20811,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
18262
20811
  };
18263
20812
  } | {
18264
20813
  followUpTools: never[];
20814
+ tableCalculations: ({
20815
+ name: string;
20816
+ fieldId: string;
20817
+ type: "percent_change_from_previous";
20818
+ displayName: string;
20819
+ orderBy: {
20820
+ fieldId: string;
20821
+ order: "asc" | "desc" | null;
20822
+ }[];
20823
+ } | {
20824
+ name: string;
20825
+ fieldId: string;
20826
+ type: "percent_of_previous_value";
20827
+ displayName: string;
20828
+ orderBy: {
20829
+ fieldId: string;
20830
+ order: "asc" | "desc" | null;
20831
+ }[];
20832
+ } | {
20833
+ name: string;
20834
+ fieldId: string;
20835
+ type: "percent_of_column_total";
20836
+ displayName: string;
20837
+ } | {
20838
+ name: string;
20839
+ fieldId: string;
20840
+ type: "rank_in_column";
20841
+ displayName: string;
20842
+ } | {
20843
+ name: string;
20844
+ fieldId: string;
20845
+ type: "running_total";
20846
+ displayName: string;
20847
+ })[] | null;
18265
20848
  type: AiResultType.VERTICAL_BAR_RESULT;
18266
20849
  description: string;
18267
20850
  filters: {
@@ -18475,6 +21058,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
18475
21058
  description: string;
18476
21059
  title: string;
18477
21060
  visualizations: ({
21061
+ tableCalculations: ({
21062
+ name: string;
21063
+ fieldId: string;
21064
+ type: "percent_change_from_previous";
21065
+ displayName: string;
21066
+ orderBy: {
21067
+ fieldId: string;
21068
+ order: "asc" | "desc" | null;
21069
+ }[];
21070
+ } | {
21071
+ name: string;
21072
+ fieldId: string;
21073
+ type: "percent_of_previous_value";
21074
+ displayName: string;
21075
+ orderBy: {
21076
+ fieldId: string;
21077
+ order: "asc" | "desc" | null;
21078
+ }[];
21079
+ } | {
21080
+ name: string;
21081
+ fieldId: string;
21082
+ type: "percent_of_column_total";
21083
+ displayName: string;
21084
+ } | {
21085
+ name: string;
21086
+ fieldId: string;
21087
+ type: "rank_in_column";
21088
+ displayName: string;
21089
+ } | {
21090
+ name: string;
21091
+ fieldId: string;
21092
+ type: "running_total";
21093
+ displayName: string;
21094
+ })[] | null;
18478
21095
  type: AiResultType.TABLE_RESULT;
18479
21096
  description: string;
18480
21097
  filters: {
@@ -18678,6 +21295,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
18678
21295
  }[];
18679
21296
  };
18680
21297
  } | {
21298
+ tableCalculations: ({
21299
+ name: string;
21300
+ fieldId: string;
21301
+ type: "percent_change_from_previous";
21302
+ displayName: string;
21303
+ orderBy: {
21304
+ fieldId: string;
21305
+ order: "asc" | "desc" | null;
21306
+ }[];
21307
+ } | {
21308
+ name: string;
21309
+ fieldId: string;
21310
+ type: "percent_of_previous_value";
21311
+ displayName: string;
21312
+ orderBy: {
21313
+ fieldId: string;
21314
+ order: "asc" | "desc" | null;
21315
+ }[];
21316
+ } | {
21317
+ name: string;
21318
+ fieldId: string;
21319
+ type: "percent_of_column_total";
21320
+ displayName: string;
21321
+ } | {
21322
+ name: string;
21323
+ fieldId: string;
21324
+ type: "rank_in_column";
21325
+ displayName: string;
21326
+ } | {
21327
+ name: string;
21328
+ fieldId: string;
21329
+ type: "running_total";
21330
+ displayName: string;
21331
+ })[] | null;
18681
21332
  type: AiResultType.TIME_SERIES_RESULT;
18682
21333
  description: string;
18683
21334
  filters: {
@@ -18885,6 +21536,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
18885
21536
  lineType: "line" | "area";
18886
21537
  };
18887
21538
  } | {
21539
+ tableCalculations: ({
21540
+ name: string;
21541
+ fieldId: string;
21542
+ type: "percent_change_from_previous";
21543
+ displayName: string;
21544
+ orderBy: {
21545
+ fieldId: string;
21546
+ order: "asc" | "desc" | null;
21547
+ }[];
21548
+ } | {
21549
+ name: string;
21550
+ fieldId: string;
21551
+ type: "percent_of_previous_value";
21552
+ displayName: string;
21553
+ orderBy: {
21554
+ fieldId: string;
21555
+ order: "asc" | "desc" | null;
21556
+ }[];
21557
+ } | {
21558
+ name: string;
21559
+ fieldId: string;
21560
+ type: "percent_of_column_total";
21561
+ displayName: string;
21562
+ } | {
21563
+ name: string;
21564
+ fieldId: string;
21565
+ type: "rank_in_column";
21566
+ displayName: string;
21567
+ } | {
21568
+ name: string;
21569
+ fieldId: string;
21570
+ type: "running_total";
21571
+ displayName: string;
21572
+ })[] | null;
18888
21573
  type: AiResultType.VERTICAL_BAR_RESULT;
18889
21574
  description: string;
18890
21575
  filters: {
@@ -19097,6 +21782,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
19097
21782
  visualizations: ({
19098
21783
  filters: import("../../../..").Filters;
19099
21784
  followUpTools: AiResultType[];
21785
+ tableCalculations: ({
21786
+ name: string;
21787
+ fieldId: string;
21788
+ type: "percent_change_from_previous";
21789
+ displayName: string;
21790
+ orderBy: {
21791
+ fieldId: string;
21792
+ order: "asc" | "desc" | null;
21793
+ }[];
21794
+ } | {
21795
+ name: string;
21796
+ fieldId: string;
21797
+ type: "percent_of_previous_value";
21798
+ displayName: string;
21799
+ orderBy: {
21800
+ fieldId: string;
21801
+ order: "asc" | "desc" | null;
21802
+ }[];
21803
+ } | {
21804
+ name: string;
21805
+ fieldId: string;
21806
+ type: "percent_of_column_total";
21807
+ displayName: string;
21808
+ } | {
21809
+ name: string;
21810
+ fieldId: string;
21811
+ type: "rank_in_column";
21812
+ displayName: string;
21813
+ } | {
21814
+ name: string;
21815
+ fieldId: string;
21816
+ type: "running_total";
21817
+ displayName: string;
21818
+ })[] | null;
19100
21819
  type: AiResultType.TABLE_RESULT;
19101
21820
  description: string;
19102
21821
  customMetrics: {
@@ -19121,6 +21840,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
19121
21840
  } | {
19122
21841
  filters: import("../../../..").Filters;
19123
21842
  followUpTools: AiResultType[];
21843
+ tableCalculations: ({
21844
+ name: string;
21845
+ fieldId: string;
21846
+ type: "percent_change_from_previous";
21847
+ displayName: string;
21848
+ orderBy: {
21849
+ fieldId: string;
21850
+ order: "asc" | "desc" | null;
21851
+ }[];
21852
+ } | {
21853
+ name: string;
21854
+ fieldId: string;
21855
+ type: "percent_of_previous_value";
21856
+ displayName: string;
21857
+ orderBy: {
21858
+ fieldId: string;
21859
+ order: "asc" | "desc" | null;
21860
+ }[];
21861
+ } | {
21862
+ name: string;
21863
+ fieldId: string;
21864
+ type: "percent_of_column_total";
21865
+ displayName: string;
21866
+ } | {
21867
+ name: string;
21868
+ fieldId: string;
21869
+ type: "rank_in_column";
21870
+ displayName: string;
21871
+ } | {
21872
+ name: string;
21873
+ fieldId: string;
21874
+ type: "running_total";
21875
+ displayName: string;
21876
+ })[] | null;
19124
21877
  type: AiResultType.TIME_SERIES_RESULT;
19125
21878
  description: string;
19126
21879
  customMetrics: {
@@ -19149,6 +21902,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
19149
21902
  } | {
19150
21903
  filters: import("../../../..").Filters;
19151
21904
  followUpTools: AiResultType[];
21905
+ tableCalculations: ({
21906
+ name: string;
21907
+ fieldId: string;
21908
+ type: "percent_change_from_previous";
21909
+ displayName: string;
21910
+ orderBy: {
21911
+ fieldId: string;
21912
+ order: "asc" | "desc" | null;
21913
+ }[];
21914
+ } | {
21915
+ name: string;
21916
+ fieldId: string;
21917
+ type: "percent_of_previous_value";
21918
+ displayName: string;
21919
+ orderBy: {
21920
+ fieldId: string;
21921
+ order: "asc" | "desc" | null;
21922
+ }[];
21923
+ } | {
21924
+ name: string;
21925
+ fieldId: string;
21926
+ type: "percent_of_column_total";
21927
+ displayName: string;
21928
+ } | {
21929
+ name: string;
21930
+ fieldId: string;
21931
+ type: "rank_in_column";
21932
+ displayName: string;
21933
+ } | {
21934
+ name: string;
21935
+ fieldId: string;
21936
+ type: "running_total";
21937
+ displayName: string;
21938
+ })[] | null;
19152
21939
  type: AiResultType.VERTICAL_BAR_RESULT;
19153
21940
  description: string;
19154
21941
  customMetrics: {
@@ -19184,6 +21971,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
19184
21971
  description: string;
19185
21972
  title: string;
19186
21973
  visualizations: ({
21974
+ tableCalculations: ({
21975
+ name: string;
21976
+ fieldId: string;
21977
+ type: "percent_change_from_previous";
21978
+ displayName: string;
21979
+ orderBy: {
21980
+ fieldId: string;
21981
+ order: "asc" | "desc" | null;
21982
+ }[];
21983
+ } | {
21984
+ name: string;
21985
+ fieldId: string;
21986
+ type: "percent_of_previous_value";
21987
+ displayName: string;
21988
+ orderBy: {
21989
+ fieldId: string;
21990
+ order: "asc" | "desc" | null;
21991
+ }[];
21992
+ } | {
21993
+ name: string;
21994
+ fieldId: string;
21995
+ type: "percent_of_column_total";
21996
+ displayName: string;
21997
+ } | {
21998
+ name: string;
21999
+ fieldId: string;
22000
+ type: "rank_in_column";
22001
+ displayName: string;
22002
+ } | {
22003
+ name: string;
22004
+ fieldId: string;
22005
+ type: "running_total";
22006
+ displayName: string;
22007
+ })[] | null;
19187
22008
  type: AiResultType.TABLE_RESULT;
19188
22009
  description: string;
19189
22010
  filters: {
@@ -19387,6 +22208,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
19387
22208
  }[];
19388
22209
  };
19389
22210
  } | {
22211
+ tableCalculations: ({
22212
+ name: string;
22213
+ fieldId: string;
22214
+ type: "percent_change_from_previous";
22215
+ displayName: string;
22216
+ orderBy: {
22217
+ fieldId: string;
22218
+ order: "asc" | "desc" | null;
22219
+ }[];
22220
+ } | {
22221
+ name: string;
22222
+ fieldId: string;
22223
+ type: "percent_of_previous_value";
22224
+ displayName: string;
22225
+ orderBy: {
22226
+ fieldId: string;
22227
+ order: "asc" | "desc" | null;
22228
+ }[];
22229
+ } | {
22230
+ name: string;
22231
+ fieldId: string;
22232
+ type: "percent_of_column_total";
22233
+ displayName: string;
22234
+ } | {
22235
+ name: string;
22236
+ fieldId: string;
22237
+ type: "rank_in_column";
22238
+ displayName: string;
22239
+ } | {
22240
+ name: string;
22241
+ fieldId: string;
22242
+ type: "running_total";
22243
+ displayName: string;
22244
+ })[] | null;
19390
22245
  type: AiResultType.TIME_SERIES_RESULT;
19391
22246
  description: string;
19392
22247
  filters: {
@@ -19594,6 +22449,40 @@ export declare const toolDashboardArgsSchemaTransformed: z.ZodEffects<z.ZodObjec
19594
22449
  lineType: "line" | "area";
19595
22450
  };
19596
22451
  } | {
22452
+ tableCalculations: ({
22453
+ name: string;
22454
+ fieldId: string;
22455
+ type: "percent_change_from_previous";
22456
+ displayName: string;
22457
+ orderBy: {
22458
+ fieldId: string;
22459
+ order: "asc" | "desc" | null;
22460
+ }[];
22461
+ } | {
22462
+ name: string;
22463
+ fieldId: string;
22464
+ type: "percent_of_previous_value";
22465
+ displayName: string;
22466
+ orderBy: {
22467
+ fieldId: string;
22468
+ order: "asc" | "desc" | null;
22469
+ }[];
22470
+ } | {
22471
+ name: string;
22472
+ fieldId: string;
22473
+ type: "percent_of_column_total";
22474
+ displayName: string;
22475
+ } | {
22476
+ name: string;
22477
+ fieldId: string;
22478
+ type: "rank_in_column";
22479
+ displayName: string;
22480
+ } | {
22481
+ name: string;
22482
+ fieldId: string;
22483
+ type: "running_total";
22484
+ displayName: string;
22485
+ })[] | null;
19597
22486
  type: AiResultType.VERTICAL_BAR_RESULT;
19598
22487
  description: string;
19599
22488
  filters: {