@lightdash/common 3.223.0 → 3.224.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 (61) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/ee/AiAgent/chartConfig/slack/getSlackNativeChart.d.ts +54 -0
  3. package/dist/cjs/ee/AiAgent/chartConfig/slack/getSlackNativeChart.d.ts.map +1 -0
  4. package/dist/cjs/ee/AiAgent/chartConfig/slack/getSlackNativeChart.js +216 -0
  5. package/dist/cjs/ee/AiAgent/chartConfig/slack/getSlackNativeChart.js.map +1 -0
  6. package/dist/cjs/ee/AiAgent/chartConfig/slack/index.d.ts +1 -0
  7. package/dist/cjs/ee/AiAgent/chartConfig/slack/index.d.ts.map +1 -1
  8. package/dist/cjs/ee/AiAgent/chartConfig/slack/index.js +4 -1
  9. package/dist/cjs/ee/AiAgent/chartConfig/slack/index.js.map +1 -1
  10. package/dist/cjs/ee/AiAgent/index.d.ts +20 -0
  11. package/dist/cjs/ee/AiAgent/index.d.ts.map +1 -1
  12. package/dist/cjs/ee/AiAgent/index.js.map +1 -1
  13. package/dist/cjs/ee/AiAgent/schemas/filterExpressions/resolvedArgs.d.ts +100 -100
  14. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +50 -50
  15. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +30 -30
  16. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +232 -232
  17. package/dist/cjs/types/featureFlags.d.ts +5 -0
  18. package/dist/cjs/types/featureFlags.d.ts.map +1 -1
  19. package/dist/cjs/types/featureFlags.js +5 -0
  20. package/dist/cjs/types/featureFlags.js.map +1 -1
  21. package/dist/esm/.tsbuildinfo +1 -1
  22. package/dist/esm/ee/AiAgent/chartConfig/slack/getSlackNativeChart.d.ts +54 -0
  23. package/dist/esm/ee/AiAgent/chartConfig/slack/getSlackNativeChart.d.ts.map +1 -0
  24. package/dist/esm/ee/AiAgent/chartConfig/slack/getSlackNativeChart.js +211 -0
  25. package/dist/esm/ee/AiAgent/chartConfig/slack/getSlackNativeChart.js.map +1 -0
  26. package/dist/esm/ee/AiAgent/chartConfig/slack/index.d.ts +1 -0
  27. package/dist/esm/ee/AiAgent/chartConfig/slack/index.d.ts.map +1 -1
  28. package/dist/esm/ee/AiAgent/chartConfig/slack/index.js +1 -0
  29. package/dist/esm/ee/AiAgent/chartConfig/slack/index.js.map +1 -1
  30. package/dist/esm/ee/AiAgent/index.d.ts +20 -0
  31. package/dist/esm/ee/AiAgent/index.d.ts.map +1 -1
  32. package/dist/esm/ee/AiAgent/index.js.map +1 -1
  33. package/dist/esm/ee/AiAgent/schemas/filterExpressions/resolvedArgs.d.ts +100 -100
  34. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +50 -50
  35. package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +30 -30
  36. package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +232 -232
  37. package/dist/esm/types/featureFlags.d.ts +5 -0
  38. package/dist/esm/types/featureFlags.d.ts.map +1 -1
  39. package/dist/esm/types/featureFlags.js +5 -0
  40. package/dist/esm/types/featureFlags.js.map +1 -1
  41. package/dist/types/.tsbuildinfo +1 -1
  42. package/dist/types/ee/AiAgent/chartConfig/slack/getSlackNativeChart.d.ts +54 -0
  43. package/dist/types/ee/AiAgent/chartConfig/slack/getSlackNativeChart.d.ts.map +1 -0
  44. package/dist/types/ee/AiAgent/chartConfig/slack/getSlackNativeChart.js +211 -0
  45. package/dist/types/ee/AiAgent/chartConfig/slack/getSlackNativeChart.js.map +1 -0
  46. package/dist/types/ee/AiAgent/chartConfig/slack/index.d.ts +1 -0
  47. package/dist/types/ee/AiAgent/chartConfig/slack/index.d.ts.map +1 -1
  48. package/dist/types/ee/AiAgent/chartConfig/slack/index.js +1 -0
  49. package/dist/types/ee/AiAgent/chartConfig/slack/index.js.map +1 -1
  50. package/dist/types/ee/AiAgent/index.d.ts +20 -0
  51. package/dist/types/ee/AiAgent/index.d.ts.map +1 -1
  52. package/dist/types/ee/AiAgent/index.js.map +1 -1
  53. package/dist/types/ee/AiAgent/schemas/filterExpressions/resolvedArgs.d.ts +100 -100
  54. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +50 -50
  55. package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +30 -30
  56. package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +232 -232
  57. package/dist/types/types/featureFlags.d.ts +5 -0
  58. package/dist/types/types/featureFlags.d.ts.map +1 -1
  59. package/dist/types/types/featureFlags.js +5 -0
  60. package/dist/types/types/featureFlags.js.map +1 -1
  61. package/package.json +1 -1
@@ -4621,31 +4621,13 @@ export declare const toolRunQueryExpressionResolvedArgsSchemaTransformed: z.ZodP
4621
4621
  tableCalculations: ({
4622
4622
  name: string;
4623
4623
  displayName: string;
4624
- type: "percent_of_column_total";
4624
+ type: "percent_of_previous_value";
4625
4625
  fieldId: string;
4626
- partitionBy: string[] | null;
4627
- } | {
4628
- name: string;
4629
- displayName: string;
4630
- type: "window_function";
4631
- windowFunction: import("../../../..").WindowFunctionType;
4632
- fieldId: string | null;
4633
4626
  orderBy: {
4634
4627
  fieldId: string;
4635
4628
  order: "asc" | "desc" | null;
4636
- }[] | null;
4629
+ }[];
4637
4630
  partitionBy: string[] | null;
4638
- frame: {
4639
- frameType: "range" | "rows";
4640
- start: {
4641
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
4642
- offset: number | null;
4643
- } | null;
4644
- end: {
4645
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
4646
- offset: number | null;
4647
- };
4648
- } | null;
4649
4631
  } | {
4650
4632
  name: string;
4651
4633
  displayName: string;
@@ -4666,12 +4648,8 @@ export declare const toolRunQueryExpressionResolvedArgsSchemaTransformed: z.ZodP
4666
4648
  } | {
4667
4649
  name: string;
4668
4650
  displayName: string;
4669
- type: "percent_of_previous_value";
4651
+ type: "percent_of_column_total";
4670
4652
  fieldId: string;
4671
- orderBy: {
4672
- fieldId: string;
4673
- order: "asc" | "desc" | null;
4674
- }[];
4675
4653
  partitionBy: string[] | null;
4676
4654
  } | {
4677
4655
  name: string;
@@ -4683,6 +4661,28 @@ export declare const toolRunQueryExpressionResolvedArgsSchemaTransformed: z.ZodP
4683
4661
  displayName: string;
4684
4662
  type: "running_total";
4685
4663
  fieldId: string;
4664
+ } | {
4665
+ name: string;
4666
+ displayName: string;
4667
+ type: "window_function";
4668
+ windowFunction: import("../../../..").WindowFunctionType;
4669
+ fieldId: string | null;
4670
+ orderBy: {
4671
+ fieldId: string;
4672
+ order: "asc" | "desc" | null;
4673
+ }[] | null;
4674
+ partitionBy: string[] | null;
4675
+ frame: {
4676
+ frameType: "range" | "rows";
4677
+ start: {
4678
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
4679
+ offset: number | null;
4680
+ } | null;
4681
+ end: {
4682
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
4683
+ offset: number | null;
4684
+ };
4685
+ } | null;
4686
4686
  })[] | null;
4687
4687
  filters: Filters;
4688
4688
  };
@@ -4859,31 +4859,13 @@ export declare const toolRunQueryExpressionResolvedArgsSchemaTransformed: z.ZodP
4859
4859
  tableCalculations: ({
4860
4860
  name: string;
4861
4861
  displayName: string;
4862
- type: "percent_of_column_total";
4862
+ type: "percent_of_previous_value";
4863
4863
  fieldId: string;
4864
- partitionBy: string[] | null;
4865
- } | {
4866
- name: string;
4867
- displayName: string;
4868
- type: "window_function";
4869
- windowFunction: import("../../../..").WindowFunctionType;
4870
- fieldId: string | null;
4871
4864
  orderBy: {
4872
4865
  fieldId: string;
4873
4866
  order: "asc" | "desc" | null;
4874
- }[] | null;
4867
+ }[];
4875
4868
  partitionBy: string[] | null;
4876
- frame: {
4877
- frameType: "range" | "rows";
4878
- start: {
4879
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
4880
- offset: number | null;
4881
- } | null;
4882
- end: {
4883
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
4884
- offset: number | null;
4885
- };
4886
- } | null;
4887
4869
  } | {
4888
4870
  name: string;
4889
4871
  displayName: string;
@@ -4904,12 +4886,8 @@ export declare const toolRunQueryExpressionResolvedArgsSchemaTransformed: z.ZodP
4904
4886
  } | {
4905
4887
  name: string;
4906
4888
  displayName: string;
4907
- type: "percent_of_previous_value";
4889
+ type: "percent_of_column_total";
4908
4890
  fieldId: string;
4909
- orderBy: {
4910
- fieldId: string;
4911
- order: "asc" | "desc" | null;
4912
- }[];
4913
4891
  partitionBy: string[] | null;
4914
4892
  } | {
4915
4893
  name: string;
@@ -4921,6 +4899,28 @@ export declare const toolRunQueryExpressionResolvedArgsSchemaTransformed: z.ZodP
4921
4899
  displayName: string;
4922
4900
  type: "running_total";
4923
4901
  fieldId: string;
4902
+ } | {
4903
+ name: string;
4904
+ displayName: string;
4905
+ type: "window_function";
4906
+ windowFunction: import("../../../..").WindowFunctionType;
4907
+ fieldId: string | null;
4908
+ orderBy: {
4909
+ fieldId: string;
4910
+ order: "asc" | "desc" | null;
4911
+ }[] | null;
4912
+ partitionBy: string[] | null;
4913
+ frame: {
4914
+ frameType: "range" | "rows";
4915
+ start: {
4916
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
4917
+ offset: number | null;
4918
+ } | null;
4919
+ end: {
4920
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
4921
+ offset: number | null;
4922
+ };
4923
+ } | null;
4924
4924
  })[] | null;
4925
4925
  filters: {
4926
4926
  type: "and" | "or";
@@ -5945,31 +5945,13 @@ export declare const toolRunQueryExpressionResolvedArgsSchemaTransformed: z.ZodP
5945
5945
  tableCalculations: ({
5946
5946
  name: string;
5947
5947
  displayName: string;
5948
- type: "percent_of_column_total";
5948
+ type: "percent_of_previous_value";
5949
5949
  fieldId: string;
5950
- partitionBy: string[] | null;
5951
- } | {
5952
- name: string;
5953
- displayName: string;
5954
- type: "window_function";
5955
- windowFunction: import("../../../..").WindowFunctionType;
5956
- fieldId: string | null;
5957
5950
  orderBy: {
5958
5951
  fieldId: string;
5959
5952
  order: "asc" | "desc" | null;
5960
- }[] | null;
5953
+ }[];
5961
5954
  partitionBy: string[] | null;
5962
- frame: {
5963
- frameType: "range" | "rows";
5964
- start: {
5965
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
5966
- offset: number | null;
5967
- } | null;
5968
- end: {
5969
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
5970
- offset: number | null;
5971
- };
5972
- } | null;
5973
5955
  } | {
5974
5956
  name: string;
5975
5957
  displayName: string;
@@ -5990,12 +5972,8 @@ export declare const toolRunQueryExpressionResolvedArgsSchemaTransformed: z.ZodP
5990
5972
  } | {
5991
5973
  name: string;
5992
5974
  displayName: string;
5993
- type: "percent_of_previous_value";
5975
+ type: "percent_of_column_total";
5994
5976
  fieldId: string;
5995
- orderBy: {
5996
- fieldId: string;
5997
- order: "asc" | "desc" | null;
5998
- }[];
5999
5977
  partitionBy: string[] | null;
6000
5978
  } | {
6001
5979
  name: string;
@@ -6007,6 +5985,28 @@ export declare const toolRunQueryExpressionResolvedArgsSchemaTransformed: z.ZodP
6007
5985
  displayName: string;
6008
5986
  type: "running_total";
6009
5987
  fieldId: string;
5988
+ } | {
5989
+ name: string;
5990
+ displayName: string;
5991
+ type: "window_function";
5992
+ windowFunction: import("../../../..").WindowFunctionType;
5993
+ fieldId: string | null;
5994
+ orderBy: {
5995
+ fieldId: string;
5996
+ order: "asc" | "desc" | null;
5997
+ }[] | null;
5998
+ partitionBy: string[] | null;
5999
+ frame: {
6000
+ frameType: "range" | "rows";
6001
+ start: {
6002
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
6003
+ offset: number | null;
6004
+ } | null;
6005
+ end: {
6006
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
6007
+ offset: number | null;
6008
+ };
6009
+ } | null;
6010
6010
  })[] | null;
6011
6011
  filters: Filters;
6012
6012
  };
@@ -6183,31 +6183,13 @@ export declare const toolRunQueryExpressionResolvedArgsSchemaTransformed: z.ZodP
6183
6183
  tableCalculations: ({
6184
6184
  name: string;
6185
6185
  displayName: string;
6186
- type: "percent_of_column_total";
6186
+ type: "percent_of_previous_value";
6187
6187
  fieldId: string;
6188
- partitionBy: string[] | null;
6189
- } | {
6190
- name: string;
6191
- displayName: string;
6192
- type: "window_function";
6193
- windowFunction: import("../../../..").WindowFunctionType;
6194
- fieldId: string | null;
6195
6188
  orderBy: {
6196
6189
  fieldId: string;
6197
6190
  order: "asc" | "desc" | null;
6198
- }[] | null;
6191
+ }[];
6199
6192
  partitionBy: string[] | null;
6200
- frame: {
6201
- frameType: "range" | "rows";
6202
- start: {
6203
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
6204
- offset: number | null;
6205
- } | null;
6206
- end: {
6207
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
6208
- offset: number | null;
6209
- };
6210
- } | null;
6211
6193
  } | {
6212
6194
  name: string;
6213
6195
  displayName: string;
@@ -6228,12 +6210,8 @@ export declare const toolRunQueryExpressionResolvedArgsSchemaTransformed: z.ZodP
6228
6210
  } | {
6229
6211
  name: string;
6230
6212
  displayName: string;
6231
- type: "percent_of_previous_value";
6213
+ type: "percent_of_column_total";
6232
6214
  fieldId: string;
6233
- orderBy: {
6234
- fieldId: string;
6235
- order: "asc" | "desc" | null;
6236
- }[];
6237
6215
  partitionBy: string[] | null;
6238
6216
  } | {
6239
6217
  name: string;
@@ -6245,6 +6223,28 @@ export declare const toolRunQueryExpressionResolvedArgsSchemaTransformed: z.ZodP
6245
6223
  displayName: string;
6246
6224
  type: "running_total";
6247
6225
  fieldId: string;
6226
+ } | {
6227
+ name: string;
6228
+ displayName: string;
6229
+ type: "window_function";
6230
+ windowFunction: import("../../../..").WindowFunctionType;
6231
+ fieldId: string | null;
6232
+ orderBy: {
6233
+ fieldId: string;
6234
+ order: "asc" | "desc" | null;
6235
+ }[] | null;
6236
+ partitionBy: string[] | null;
6237
+ frame: {
6238
+ frameType: "range" | "rows";
6239
+ start: {
6240
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
6241
+ offset: number | null;
6242
+ } | null;
6243
+ end: {
6244
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
6245
+ offset: number | null;
6246
+ };
6247
+ } | null;
6248
6248
  })[] | null;
6249
6249
  filters: {
6250
6250
  type: "and" | "or";
@@ -2252,31 +2252,13 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
2252
2252
  tableCalculations: ({
2253
2253
  name: string;
2254
2254
  displayName: string;
2255
- type: "percent_of_column_total";
2255
+ type: "percent_of_previous_value";
2256
2256
  fieldId: string;
2257
- partitionBy: string[] | null;
2258
- } | {
2259
- name: string;
2260
- displayName: string;
2261
- type: "window_function";
2262
- windowFunction: import("../../../..").WindowFunctionType;
2263
- fieldId: string | null;
2264
2257
  orderBy: {
2265
2258
  fieldId: string;
2266
2259
  order: "asc" | "desc" | null;
2267
- }[] | null;
2260
+ }[];
2268
2261
  partitionBy: string[] | null;
2269
- frame: {
2270
- frameType: "range" | "rows";
2271
- start: {
2272
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
2273
- offset: number | null;
2274
- } | null;
2275
- end: {
2276
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
2277
- offset: number | null;
2278
- };
2279
- } | null;
2280
2262
  } | {
2281
2263
  name: string;
2282
2264
  displayName: string;
@@ -2297,12 +2279,8 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
2297
2279
  } | {
2298
2280
  name: string;
2299
2281
  displayName: string;
2300
- type: "percent_of_previous_value";
2282
+ type: "percent_of_column_total";
2301
2283
  fieldId: string;
2302
- orderBy: {
2303
- fieldId: string;
2304
- order: "asc" | "desc" | null;
2305
- }[];
2306
2284
  partitionBy: string[] | null;
2307
2285
  } | {
2308
2286
  name: string;
@@ -2314,6 +2292,28 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
2314
2292
  displayName: string;
2315
2293
  type: "running_total";
2316
2294
  fieldId: string;
2295
+ } | {
2296
+ name: string;
2297
+ displayName: string;
2298
+ type: "window_function";
2299
+ windowFunction: import("../../../..").WindowFunctionType;
2300
+ fieldId: string | null;
2301
+ orderBy: {
2302
+ fieldId: string;
2303
+ order: "asc" | "desc" | null;
2304
+ }[] | null;
2305
+ partitionBy: string[] | null;
2306
+ frame: {
2307
+ frameType: "range" | "rows";
2308
+ start: {
2309
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
2310
+ offset: number | null;
2311
+ } | null;
2312
+ end: {
2313
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
2314
+ offset: number | null;
2315
+ };
2316
+ } | null;
2317
2317
  })[] | null;
2318
2318
  filters: import("../../../..").Filters;
2319
2319
  };
@@ -2494,31 +2494,13 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
2494
2494
  tableCalculations: ({
2495
2495
  name: string;
2496
2496
  displayName: string;
2497
- type: "percent_of_column_total";
2497
+ type: "percent_of_previous_value";
2498
2498
  fieldId: string;
2499
- partitionBy: string[] | null;
2500
- } | {
2501
- name: string;
2502
- displayName: string;
2503
- type: "window_function";
2504
- windowFunction: import("../../../..").WindowFunctionType;
2505
- fieldId: string | null;
2506
2499
  orderBy: {
2507
2500
  fieldId: string;
2508
2501
  order: "asc" | "desc" | null;
2509
- }[] | null;
2502
+ }[];
2510
2503
  partitionBy: string[] | null;
2511
- frame: {
2512
- frameType: "range" | "rows";
2513
- start: {
2514
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
2515
- offset: number | null;
2516
- } | null;
2517
- end: {
2518
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
2519
- offset: number | null;
2520
- };
2521
- } | null;
2522
2504
  } | {
2523
2505
  name: string;
2524
2506
  displayName: string;
@@ -2539,12 +2521,8 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
2539
2521
  } | {
2540
2522
  name: string;
2541
2523
  displayName: string;
2542
- type: "percent_of_previous_value";
2524
+ type: "percent_of_column_total";
2543
2525
  fieldId: string;
2544
- orderBy: {
2545
- fieldId: string;
2546
- order: "asc" | "desc" | null;
2547
- }[];
2548
2526
  partitionBy: string[] | null;
2549
2527
  } | {
2550
2528
  name: string;
@@ -2556,6 +2534,28 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
2556
2534
  displayName: string;
2557
2535
  type: "running_total";
2558
2536
  fieldId: string;
2537
+ } | {
2538
+ name: string;
2539
+ displayName: string;
2540
+ type: "window_function";
2541
+ windowFunction: import("../../../..").WindowFunctionType;
2542
+ fieldId: string | null;
2543
+ orderBy: {
2544
+ fieldId: string;
2545
+ order: "asc" | "desc" | null;
2546
+ }[] | null;
2547
+ partitionBy: string[] | null;
2548
+ frame: {
2549
+ frameType: "range" | "rows";
2550
+ start: {
2551
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
2552
+ offset: number | null;
2553
+ } | null;
2554
+ end: {
2555
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
2556
+ offset: number | null;
2557
+ };
2558
+ } | null;
2559
2559
  })[] | null;
2560
2560
  filters: {
2561
2561
  type: "and" | "or";
@@ -979,22 +979,17 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
979
979
  limit: number | null;
980
980
  };
981
981
  tableCalculations: ({
982
- name: string;
983
- displayName: string;
984
- type: "percent_of_previous_value";
985
- fieldId: string;
986
- orderBy: {
987
- fieldId: string;
988
- order: "asc" | "desc" | null;
989
- }[];
990
- partitionBy: string[] | null;
991
- } | {
992
982
  name: string;
993
983
  displayName: string;
994
984
  type: "formula";
995
985
  formula: string;
996
986
  format: "number" | "percent" | null;
997
987
  resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
988
+ } | {
989
+ name: string;
990
+ displayName: string;
991
+ type: "rank_in_column";
992
+ fieldId: string;
998
993
  } | {
999
994
  name: string;
1000
995
  displayName: string;
@@ -1008,14 +1003,19 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
1008
1003
  } | {
1009
1004
  name: string;
1010
1005
  displayName: string;
1011
- type: "percent_of_column_total";
1006
+ type: "percent_of_previous_value";
1012
1007
  fieldId: string;
1008
+ orderBy: {
1009
+ fieldId: string;
1010
+ order: "asc" | "desc" | null;
1011
+ }[];
1013
1012
  partitionBy: string[] | null;
1014
1013
  } | {
1015
1014
  name: string;
1016
1015
  displayName: string;
1017
- type: "rank_in_column";
1016
+ type: "percent_of_column_total";
1018
1017
  fieldId: string;
1018
+ partitionBy: string[] | null;
1019
1019
  } | {
1020
1020
  name: string;
1021
1021
  displayName: string;
@@ -1059,6 +1059,12 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
1059
1059
  limit: number | null;
1060
1060
  };
1061
1061
  customMetrics: ({
1062
+ kind: "periodComparison";
1063
+ baseMetricId: string;
1064
+ timeDimensionId: string;
1065
+ granularity: import("../../../..").TimeFrames;
1066
+ periodOffset: number;
1067
+ } | {
1062
1068
  kind: "aggregation";
1063
1069
  name: string;
1064
1070
  label: string;
@@ -1160,30 +1166,19 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
1160
1166
  };
1161
1167
  table: string;
1162
1168
  }[] | null;
1163
- } | {
1164
- kind: "periodComparison";
1165
- baseMetricId: string;
1166
- timeDimensionId: string;
1167
- granularity: import("../../../..").TimeFrames;
1168
- periodOffset: number;
1169
1169
  })[] | null;
1170
1170
  tableCalculations: ({
1171
- name: string;
1172
- displayName: string;
1173
- type: "percent_of_previous_value";
1174
- fieldId: string;
1175
- orderBy: {
1176
- fieldId: string;
1177
- order: "asc" | "desc" | null;
1178
- }[];
1179
- partitionBy: string[] | null;
1180
- } | {
1181
1171
  name: string;
1182
1172
  displayName: string;
1183
1173
  type: "formula";
1184
1174
  formula: string;
1185
1175
  format: "number" | "percent" | null;
1186
1176
  resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
1177
+ } | {
1178
+ name: string;
1179
+ displayName: string;
1180
+ type: "rank_in_column";
1181
+ fieldId: string;
1187
1182
  } | {
1188
1183
  name: string;
1189
1184
  displayName: string;
@@ -1197,14 +1192,19 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
1197
1192
  } | {
1198
1193
  name: string;
1199
1194
  displayName: string;
1200
- type: "percent_of_column_total";
1195
+ type: "percent_of_previous_value";
1201
1196
  fieldId: string;
1197
+ orderBy: {
1198
+ fieldId: string;
1199
+ order: "asc" | "desc" | null;
1200
+ }[];
1202
1201
  partitionBy: string[] | null;
1203
1202
  } | {
1204
1203
  name: string;
1205
1204
  displayName: string;
1206
- type: "rank_in_column";
1205
+ type: "percent_of_column_total";
1207
1206
  fieldId: string;
1207
+ partitionBy: string[] | null;
1208
1208
  } | {
1209
1209
  name: string;
1210
1210
  displayName: string;