@lightdash/common 3.223.0 → 3.225.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 (118) 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/chartConfig/web/getWebAiChartConfig.d.ts +13 -13
  11. package/dist/cjs/ee/AiAgent/index.d.ts +20 -0
  12. package/dist/cjs/ee/AiAgent/index.d.ts.map +1 -1
  13. package/dist/cjs/ee/AiAgent/index.js.map +1 -1
  14. package/dist/cjs/ee/AiAgent/schemas/filterExpressions/resolvedArgs.d.ts +100 -100
  15. package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts +1 -0
  16. package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
  17. package/dist/cjs/ee/AiAgent/schemas/tools/index.js +1 -0
  18. package/dist/cjs/ee/AiAgent/schemas/tools/index.js.map +1 -1
  19. package/dist/cjs/ee/AiAgent/schemas/tools/toolAskUserArgs.d.ts +89 -0
  20. package/dist/cjs/ee/AiAgent/schemas/tools/toolAskUserArgs.d.ts.map +1 -0
  21. package/dist/cjs/ee/AiAgent/schemas/tools/toolAskUserArgs.js +65 -0
  22. package/dist/cjs/ee/AiAgent/schemas/tools/toolAskUserArgs.js.map +1 -0
  23. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +58 -58
  24. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.d.ts +3 -0
  25. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
  26. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.js +14 -3
  27. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
  28. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +20 -20
  29. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +232 -232
  30. package/dist/cjs/ee/AiAgent/schemas/visualizations/index.d.ts +4 -2
  31. package/dist/cjs/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
  32. package/dist/cjs/ee/AiAgent/schemas/visualizations/index.js +3 -0
  33. package/dist/cjs/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
  34. package/dist/cjs/ee/AiAgent/utils.d.ts +12 -12
  35. package/dist/cjs/schemas/chartAsCodeSchema.d.ts +36 -36
  36. package/dist/cjs/types/featureFlags.d.ts +10 -0
  37. package/dist/cjs/types/featureFlags.d.ts.map +1 -1
  38. package/dist/cjs/types/featureFlags.js +10 -0
  39. package/dist/cjs/types/featureFlags.js.map +1 -1
  40. package/dist/esm/.tsbuildinfo +1 -1
  41. package/dist/esm/ee/AiAgent/chartConfig/slack/getSlackNativeChart.d.ts +54 -0
  42. package/dist/esm/ee/AiAgent/chartConfig/slack/getSlackNativeChart.d.ts.map +1 -0
  43. package/dist/esm/ee/AiAgent/chartConfig/slack/getSlackNativeChart.js +211 -0
  44. package/dist/esm/ee/AiAgent/chartConfig/slack/getSlackNativeChart.js.map +1 -0
  45. package/dist/esm/ee/AiAgent/chartConfig/slack/index.d.ts +1 -0
  46. package/dist/esm/ee/AiAgent/chartConfig/slack/index.d.ts.map +1 -1
  47. package/dist/esm/ee/AiAgent/chartConfig/slack/index.js +1 -0
  48. package/dist/esm/ee/AiAgent/chartConfig/slack/index.js.map +1 -1
  49. package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +12 -12
  50. package/dist/esm/ee/AiAgent/index.d.ts +20 -0
  51. package/dist/esm/ee/AiAgent/index.d.ts.map +1 -1
  52. package/dist/esm/ee/AiAgent/index.js.map +1 -1
  53. package/dist/esm/ee/AiAgent/schemas/filterExpressions/resolvedArgs.d.ts +100 -100
  54. package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts +1 -0
  55. package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
  56. package/dist/esm/ee/AiAgent/schemas/tools/index.js +1 -0
  57. package/dist/esm/ee/AiAgent/schemas/tools/index.js.map +1 -1
  58. package/dist/esm/ee/AiAgent/schemas/tools/toolAskUserArgs.d.ts +89 -0
  59. package/dist/esm/ee/AiAgent/schemas/tools/toolAskUserArgs.d.ts.map +1 -0
  60. package/dist/esm/ee/AiAgent/schemas/tools/toolAskUserArgs.js +59 -0
  61. package/dist/esm/ee/AiAgent/schemas/tools/toolAskUserArgs.js.map +1 -0
  62. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +58 -58
  63. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.d.ts +3 -0
  64. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
  65. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.js +11 -0
  66. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
  67. package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +20 -20
  68. package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +232 -232
  69. package/dist/esm/ee/AiAgent/schemas/visualizations/index.d.ts +4 -2
  70. package/dist/esm/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
  71. package/dist/esm/ee/AiAgent/schemas/visualizations/index.js +3 -0
  72. package/dist/esm/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
  73. package/dist/esm/ee/AiAgent/utils.d.ts +25 -25
  74. package/dist/esm/schemas/chartAsCodeSchema.d.ts +36 -36
  75. package/dist/esm/types/featureFlags.d.ts +10 -0
  76. package/dist/esm/types/featureFlags.d.ts.map +1 -1
  77. package/dist/esm/types/featureFlags.js +10 -0
  78. package/dist/esm/types/featureFlags.js.map +1 -1
  79. package/dist/types/.tsbuildinfo +1 -1
  80. package/dist/types/ee/AiAgent/chartConfig/slack/getSlackNativeChart.d.ts +54 -0
  81. package/dist/types/ee/AiAgent/chartConfig/slack/getSlackNativeChart.d.ts.map +1 -0
  82. package/dist/types/ee/AiAgent/chartConfig/slack/getSlackNativeChart.js +211 -0
  83. package/dist/types/ee/AiAgent/chartConfig/slack/getSlackNativeChart.js.map +1 -0
  84. package/dist/types/ee/AiAgent/chartConfig/slack/index.d.ts +1 -0
  85. package/dist/types/ee/AiAgent/chartConfig/slack/index.d.ts.map +1 -1
  86. package/dist/types/ee/AiAgent/chartConfig/slack/index.js +1 -0
  87. package/dist/types/ee/AiAgent/chartConfig/slack/index.js.map +1 -1
  88. package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +12 -12
  89. package/dist/types/ee/AiAgent/index.d.ts +20 -0
  90. package/dist/types/ee/AiAgent/index.d.ts.map +1 -1
  91. package/dist/types/ee/AiAgent/index.js.map +1 -1
  92. package/dist/types/ee/AiAgent/schemas/filterExpressions/resolvedArgs.d.ts +100 -100
  93. package/dist/types/ee/AiAgent/schemas/tools/index.d.ts +1 -0
  94. package/dist/types/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
  95. package/dist/types/ee/AiAgent/schemas/tools/index.js +1 -0
  96. package/dist/types/ee/AiAgent/schemas/tools/index.js.map +1 -1
  97. package/dist/types/ee/AiAgent/schemas/tools/toolAskUserArgs.d.ts +89 -0
  98. package/dist/types/ee/AiAgent/schemas/tools/toolAskUserArgs.d.ts.map +1 -0
  99. package/dist/types/ee/AiAgent/schemas/tools/toolAskUserArgs.js +59 -0
  100. package/dist/types/ee/AiAgent/schemas/tools/toolAskUserArgs.js.map +1 -0
  101. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +58 -58
  102. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.d.ts +3 -0
  103. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
  104. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.js +11 -0
  105. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
  106. package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +20 -20
  107. package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.d.ts +232 -232
  108. package/dist/types/ee/AiAgent/schemas/visualizations/index.d.ts +4 -2
  109. package/dist/types/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
  110. package/dist/types/ee/AiAgent/schemas/visualizations/index.js +3 -0
  111. package/dist/types/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
  112. package/dist/types/ee/AiAgent/utils.d.ts +25 -25
  113. package/dist/types/schemas/chartAsCodeSchema.d.ts +36 -36
  114. package/dist/types/types/featureFlags.d.ts +10 -0
  115. package/dist/types/types/featureFlags.d.ts.map +1 -1
  116. package/dist/types/types/featureFlags.js +10 -0
  117. package/dist/types/types/featureFlags.js.map +1 -1
  118. package/package.json +1 -1
@@ -7215,17 +7215,40 @@ export declare const toolRunQueryArgsSchemaV2Transformed: z.ZodPipe<z.ZodObject<
7215
7215
  parameters: Record<string, string | number | string[] | number[]> | null;
7216
7216
  customMetrics: import("..").TransformedCustomMetric[] | null;
7217
7217
  tableCalculations: ({
7218
+ name: string;
7219
+ displayName: string;
7220
+ type: "percent_of_column_total";
7221
+ fieldId: string;
7222
+ partitionBy: string[] | null;
7223
+ } | {
7224
+ name: string;
7225
+ displayName: string;
7226
+ type: "window_function";
7227
+ windowFunction: import("../../../..").WindowFunctionType;
7228
+ fieldId: string | null;
7229
+ orderBy: {
7230
+ fieldId: string;
7231
+ order: "asc" | "desc" | null;
7232
+ }[] | null;
7233
+ partitionBy: string[] | null;
7234
+ frame: {
7235
+ frameType: "range" | "rows";
7236
+ start: {
7237
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7238
+ offset: number | null;
7239
+ } | null;
7240
+ end: {
7241
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7242
+ offset: number | null;
7243
+ };
7244
+ } | null;
7245
+ } | {
7218
7246
  name: string;
7219
7247
  displayName: string;
7220
7248
  type: "formula";
7221
7249
  formula: string;
7222
7250
  format: "number" | "percent" | null;
7223
7251
  resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
7224
- } | {
7225
- name: string;
7226
- displayName: string;
7227
- type: "rank_in_column";
7228
- fieldId: string;
7229
7252
  } | {
7230
7253
  name: string;
7231
7254
  displayName: string;
@@ -7249,36 +7272,13 @@ export declare const toolRunQueryArgsSchemaV2Transformed: z.ZodPipe<z.ZodObject<
7249
7272
  } | {
7250
7273
  name: string;
7251
7274
  displayName: string;
7252
- type: "percent_of_column_total";
7275
+ type: "rank_in_column";
7253
7276
  fieldId: string;
7254
- partitionBy: string[] | null;
7255
7277
  } | {
7256
7278
  name: string;
7257
7279
  displayName: string;
7258
7280
  type: "running_total";
7259
7281
  fieldId: string;
7260
- } | {
7261
- name: string;
7262
- displayName: string;
7263
- type: "window_function";
7264
- windowFunction: import("../../../..").WindowFunctionType;
7265
- fieldId: string | null;
7266
- orderBy: {
7267
- fieldId: string;
7268
- order: "asc" | "desc" | null;
7269
- }[] | null;
7270
- partitionBy: string[] | null;
7271
- frame: {
7272
- frameType: "range" | "rows";
7273
- start: {
7274
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7275
- offset: number | null;
7276
- } | null;
7277
- end: {
7278
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7279
- offset: number | null;
7280
- };
7281
- } | null;
7282
7282
  })[] | null;
7283
7283
  filters: import("../../../..").Filters;
7284
7284
  };
@@ -7427,17 +7427,40 @@ export declare const toolRunQueryArgsSchemaV2Transformed: z.ZodPipe<z.ZodObject<
7427
7427
  periodOffset: number;
7428
7428
  })[] | null;
7429
7429
  tableCalculations: ({
7430
+ name: string;
7431
+ displayName: string;
7432
+ type: "percent_of_column_total";
7433
+ fieldId: string;
7434
+ partitionBy: string[] | null;
7435
+ } | {
7436
+ name: string;
7437
+ displayName: string;
7438
+ type: "window_function";
7439
+ windowFunction: import("../../../..").WindowFunctionType;
7440
+ fieldId: string | null;
7441
+ orderBy: {
7442
+ fieldId: string;
7443
+ order: "asc" | "desc" | null;
7444
+ }[] | null;
7445
+ partitionBy: string[] | null;
7446
+ frame: {
7447
+ frameType: "range" | "rows";
7448
+ start: {
7449
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7450
+ offset: number | null;
7451
+ } | null;
7452
+ end: {
7453
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7454
+ offset: number | null;
7455
+ };
7456
+ } | null;
7457
+ } | {
7430
7458
  name: string;
7431
7459
  displayName: string;
7432
7460
  type: "formula";
7433
7461
  formula: string;
7434
7462
  format: "number" | "percent" | null;
7435
7463
  resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
7436
- } | {
7437
- name: string;
7438
- displayName: string;
7439
- type: "rank_in_column";
7440
- fieldId: string;
7441
7464
  } | {
7442
7465
  name: string;
7443
7466
  displayName: string;
@@ -7461,36 +7484,13 @@ export declare const toolRunQueryArgsSchemaV2Transformed: z.ZodPipe<z.ZodObject<
7461
7484
  } | {
7462
7485
  name: string;
7463
7486
  displayName: string;
7464
- type: "percent_of_column_total";
7487
+ type: "rank_in_column";
7465
7488
  fieldId: string;
7466
- partitionBy: string[] | null;
7467
7489
  } | {
7468
7490
  name: string;
7469
7491
  displayName: string;
7470
7492
  type: "running_total";
7471
7493
  fieldId: string;
7472
- } | {
7473
- name: string;
7474
- displayName: string;
7475
- type: "window_function";
7476
- windowFunction: import("../../../..").WindowFunctionType;
7477
- fieldId: string | null;
7478
- orderBy: {
7479
- fieldId: string;
7480
- order: "asc" | "desc" | null;
7481
- }[] | null;
7482
- partitionBy: string[] | null;
7483
- frame: {
7484
- frameType: "range" | "rows";
7485
- start: {
7486
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7487
- offset: number | null;
7488
- } | null;
7489
- end: {
7490
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7491
- offset: number | null;
7492
- };
7493
- } | null;
7494
7494
  })[] | null;
7495
7495
  filters: {
7496
7496
  type: "and" | "or";
@@ -7739,17 +7739,40 @@ export declare const toolRunQueryArgsSchemaV2Transformed: z.ZodPipe<z.ZodObject<
7739
7739
  parameters: Record<string, string | number | string[] | number[]> | null;
7740
7740
  customMetrics: import("..").TransformedCustomMetric[] | null;
7741
7741
  tableCalculations: ({
7742
+ name: string;
7743
+ displayName: string;
7744
+ type: "percent_of_column_total";
7745
+ fieldId: string;
7746
+ partitionBy: string[] | null;
7747
+ } | {
7748
+ name: string;
7749
+ displayName: string;
7750
+ type: "window_function";
7751
+ windowFunction: import("../../../..").WindowFunctionType;
7752
+ fieldId: string | null;
7753
+ orderBy: {
7754
+ fieldId: string;
7755
+ order: "asc" | "desc" | null;
7756
+ }[] | null;
7757
+ partitionBy: string[] | null;
7758
+ frame: {
7759
+ frameType: "range" | "rows";
7760
+ start: {
7761
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7762
+ offset: number | null;
7763
+ } | null;
7764
+ end: {
7765
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7766
+ offset: number | null;
7767
+ };
7768
+ } | null;
7769
+ } | {
7742
7770
  name: string;
7743
7771
  displayName: string;
7744
7772
  type: "formula";
7745
7773
  formula: string;
7746
7774
  format: "number" | "percent" | null;
7747
7775
  resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
7748
- } | {
7749
- name: string;
7750
- displayName: string;
7751
- type: "rank_in_column";
7752
- fieldId: string;
7753
7776
  } | {
7754
7777
  name: string;
7755
7778
  displayName: string;
@@ -7773,36 +7796,13 @@ export declare const toolRunQueryArgsSchemaV2Transformed: z.ZodPipe<z.ZodObject<
7773
7796
  } | {
7774
7797
  name: string;
7775
7798
  displayName: string;
7776
- type: "percent_of_column_total";
7799
+ type: "rank_in_column";
7777
7800
  fieldId: string;
7778
- partitionBy: string[] | null;
7779
7801
  } | {
7780
7802
  name: string;
7781
7803
  displayName: string;
7782
7804
  type: "running_total";
7783
7805
  fieldId: string;
7784
- } | {
7785
- name: string;
7786
- displayName: string;
7787
- type: "window_function";
7788
- windowFunction: import("../../../..").WindowFunctionType;
7789
- fieldId: string | null;
7790
- orderBy: {
7791
- fieldId: string;
7792
- order: "asc" | "desc" | null;
7793
- }[] | null;
7794
- partitionBy: string[] | null;
7795
- frame: {
7796
- frameType: "range" | "rows";
7797
- start: {
7798
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7799
- offset: number | null;
7800
- } | null;
7801
- end: {
7802
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7803
- offset: number | null;
7804
- };
7805
- } | null;
7806
7806
  })[] | null;
7807
7807
  filters: import("../../../..").Filters;
7808
7808
  };
@@ -7951,17 +7951,40 @@ export declare const toolRunQueryArgsSchemaV2Transformed: z.ZodPipe<z.ZodObject<
7951
7951
  periodOffset: number;
7952
7952
  })[] | null;
7953
7953
  tableCalculations: ({
7954
+ name: string;
7955
+ displayName: string;
7956
+ type: "percent_of_column_total";
7957
+ fieldId: string;
7958
+ partitionBy: string[] | null;
7959
+ } | {
7960
+ name: string;
7961
+ displayName: string;
7962
+ type: "window_function";
7963
+ windowFunction: import("../../../..").WindowFunctionType;
7964
+ fieldId: string | null;
7965
+ orderBy: {
7966
+ fieldId: string;
7967
+ order: "asc" | "desc" | null;
7968
+ }[] | null;
7969
+ partitionBy: string[] | null;
7970
+ frame: {
7971
+ frameType: "range" | "rows";
7972
+ start: {
7973
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7974
+ offset: number | null;
7975
+ } | null;
7976
+ end: {
7977
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
7978
+ offset: number | null;
7979
+ };
7980
+ } | null;
7981
+ } | {
7954
7982
  name: string;
7955
7983
  displayName: string;
7956
7984
  type: "formula";
7957
7985
  formula: string;
7958
7986
  format: "number" | "percent" | null;
7959
7987
  resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
7960
- } | {
7961
- name: string;
7962
- displayName: string;
7963
- type: "rank_in_column";
7964
- fieldId: string;
7965
7988
  } | {
7966
7989
  name: string;
7967
7990
  displayName: string;
@@ -7985,36 +8008,13 @@ export declare const toolRunQueryArgsSchemaV2Transformed: z.ZodPipe<z.ZodObject<
7985
8008
  } | {
7986
8009
  name: string;
7987
8010
  displayName: string;
7988
- type: "percent_of_column_total";
8011
+ type: "rank_in_column";
7989
8012
  fieldId: string;
7990
- partitionBy: string[] | null;
7991
8013
  } | {
7992
8014
  name: string;
7993
8015
  displayName: string;
7994
8016
  type: "running_total";
7995
8017
  fieldId: string;
7996
- } | {
7997
- name: string;
7998
- displayName: string;
7999
- type: "window_function";
8000
- windowFunction: import("../../../..").WindowFunctionType;
8001
- fieldId: string | null;
8002
- orderBy: {
8003
- fieldId: string;
8004
- order: "asc" | "desc" | null;
8005
- }[] | null;
8006
- partitionBy: string[] | null;
8007
- frame: {
8008
- frameType: "range" | "rows";
8009
- start: {
8010
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
8011
- offset: number | null;
8012
- } | null;
8013
- end: {
8014
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
8015
- offset: number | null;
8016
- };
8017
- } | null;
8018
8018
  })[] | null;
8019
8019
  filters: {
8020
8020
  type: "and" | "or";
@@ -9147,17 +9147,40 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObject<{
9147
9147
  parameters: Record<string, string | number | string[] | number[]> | null;
9148
9148
  customMetrics: import("..").TransformedCustomMetric[] | null;
9149
9149
  tableCalculations: ({
9150
+ name: string;
9151
+ displayName: string;
9152
+ type: "percent_of_column_total";
9153
+ fieldId: string;
9154
+ partitionBy: string[] | null;
9155
+ } | {
9156
+ name: string;
9157
+ displayName: string;
9158
+ type: "window_function";
9159
+ windowFunction: import("../../../..").WindowFunctionType;
9160
+ fieldId: string | null;
9161
+ orderBy: {
9162
+ fieldId: string;
9163
+ order: "asc" | "desc" | null;
9164
+ }[] | null;
9165
+ partitionBy: string[] | null;
9166
+ frame: {
9167
+ frameType: "range" | "rows";
9168
+ start: {
9169
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
9170
+ offset: number | null;
9171
+ } | null;
9172
+ end: {
9173
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
9174
+ offset: number | null;
9175
+ };
9176
+ } | null;
9177
+ } | {
9150
9178
  name: string;
9151
9179
  displayName: string;
9152
9180
  type: "formula";
9153
9181
  formula: string;
9154
9182
  format: "number" | "percent" | null;
9155
9183
  resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
9156
- } | {
9157
- name: string;
9158
- displayName: string;
9159
- type: "rank_in_column";
9160
- fieldId: string;
9161
9184
  } | {
9162
9185
  name: string;
9163
9186
  displayName: string;
@@ -9181,36 +9204,13 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObject<{
9181
9204
  } | {
9182
9205
  name: string;
9183
9206
  displayName: string;
9184
- type: "percent_of_column_total";
9207
+ type: "rank_in_column";
9185
9208
  fieldId: string;
9186
- partitionBy: string[] | null;
9187
9209
  } | {
9188
9210
  name: string;
9189
9211
  displayName: string;
9190
9212
  type: "running_total";
9191
9213
  fieldId: string;
9192
- } | {
9193
- name: string;
9194
- displayName: string;
9195
- type: "window_function";
9196
- windowFunction: import("../../../..").WindowFunctionType;
9197
- fieldId: string | null;
9198
- orderBy: {
9199
- fieldId: string;
9200
- order: "asc" | "desc" | null;
9201
- }[] | null;
9202
- partitionBy: string[] | null;
9203
- frame: {
9204
- frameType: "range" | "rows";
9205
- start: {
9206
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
9207
- offset: number | null;
9208
- } | null;
9209
- end: {
9210
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
9211
- offset: number | null;
9212
- };
9213
- } | null;
9214
9214
  })[] | null;
9215
9215
  filters: import("../../../..").Filters;
9216
9216
  };
@@ -9385,17 +9385,40 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObject<{
9385
9385
  periodOffset: number;
9386
9386
  })[] | null;
9387
9387
  tableCalculations: ({
9388
+ name: string;
9389
+ displayName: string;
9390
+ type: "percent_of_column_total";
9391
+ fieldId: string;
9392
+ partitionBy: string[] | null;
9393
+ } | {
9394
+ name: string;
9395
+ displayName: string;
9396
+ type: "window_function";
9397
+ windowFunction: import("../../../..").WindowFunctionType;
9398
+ fieldId: string | null;
9399
+ orderBy: {
9400
+ fieldId: string;
9401
+ order: "asc" | "desc" | null;
9402
+ }[] | null;
9403
+ partitionBy: string[] | null;
9404
+ frame: {
9405
+ frameType: "range" | "rows";
9406
+ start: {
9407
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
9408
+ offset: number | null;
9409
+ } | null;
9410
+ end: {
9411
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
9412
+ offset: number | null;
9413
+ };
9414
+ } | null;
9415
+ } | {
9388
9416
  name: string;
9389
9417
  displayName: string;
9390
9418
  type: "formula";
9391
9419
  formula: string;
9392
9420
  format: "number" | "percent" | null;
9393
9421
  resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
9394
- } | {
9395
- name: string;
9396
- displayName: string;
9397
- type: "rank_in_column";
9398
- fieldId: string;
9399
9422
  } | {
9400
9423
  name: string;
9401
9424
  displayName: string;
@@ -9419,36 +9442,13 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObject<{
9419
9442
  } | {
9420
9443
  name: string;
9421
9444
  displayName: string;
9422
- type: "percent_of_column_total";
9445
+ type: "rank_in_column";
9423
9446
  fieldId: string;
9424
- partitionBy: string[] | null;
9425
9447
  } | {
9426
9448
  name: string;
9427
9449
  displayName: string;
9428
9450
  type: "running_total";
9429
9451
  fieldId: string;
9430
- } | {
9431
- name: string;
9432
- displayName: string;
9433
- type: "window_function";
9434
- windowFunction: import("../../../..").WindowFunctionType;
9435
- fieldId: string | null;
9436
- orderBy: {
9437
- fieldId: string;
9438
- order: "asc" | "desc" | null;
9439
- }[] | null;
9440
- partitionBy: string[] | null;
9441
- frame: {
9442
- frameType: "range" | "rows";
9443
- start: {
9444
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
9445
- offset: number | null;
9446
- } | null;
9447
- end: {
9448
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
9449
- offset: number | null;
9450
- };
9451
- } | null;
9452
9452
  })[] | null;
9453
9453
  filters: {
9454
9454
  type: "and" | "or";
@@ -10039,17 +10039,40 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObject<{
10039
10039
  parameters: Record<string, string | number | string[] | number[]> | null;
10040
10040
  customMetrics: import("..").TransformedCustomMetric[] | null;
10041
10041
  tableCalculations: ({
10042
+ name: string;
10043
+ displayName: string;
10044
+ type: "percent_of_column_total";
10045
+ fieldId: string;
10046
+ partitionBy: string[] | null;
10047
+ } | {
10048
+ name: string;
10049
+ displayName: string;
10050
+ type: "window_function";
10051
+ windowFunction: import("../../../..").WindowFunctionType;
10052
+ fieldId: string | null;
10053
+ orderBy: {
10054
+ fieldId: string;
10055
+ order: "asc" | "desc" | null;
10056
+ }[] | null;
10057
+ partitionBy: string[] | null;
10058
+ frame: {
10059
+ frameType: "range" | "rows";
10060
+ start: {
10061
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
10062
+ offset: number | null;
10063
+ } | null;
10064
+ end: {
10065
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
10066
+ offset: number | null;
10067
+ };
10068
+ } | null;
10069
+ } | {
10042
10070
  name: string;
10043
10071
  displayName: string;
10044
10072
  type: "formula";
10045
10073
  formula: string;
10046
10074
  format: "number" | "percent" | null;
10047
10075
  resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
10048
- } | {
10049
- name: string;
10050
- displayName: string;
10051
- type: "rank_in_column";
10052
- fieldId: string;
10053
10076
  } | {
10054
10077
  name: string;
10055
10078
  displayName: string;
@@ -10073,36 +10096,13 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObject<{
10073
10096
  } | {
10074
10097
  name: string;
10075
10098
  displayName: string;
10076
- type: "percent_of_column_total";
10099
+ type: "rank_in_column";
10077
10100
  fieldId: string;
10078
- partitionBy: string[] | null;
10079
10101
  } | {
10080
10102
  name: string;
10081
10103
  displayName: string;
10082
10104
  type: "running_total";
10083
10105
  fieldId: string;
10084
- } | {
10085
- name: string;
10086
- displayName: string;
10087
- type: "window_function";
10088
- windowFunction: import("../../../..").WindowFunctionType;
10089
- fieldId: string | null;
10090
- orderBy: {
10091
- fieldId: string;
10092
- order: "asc" | "desc" | null;
10093
- }[] | null;
10094
- partitionBy: string[] | null;
10095
- frame: {
10096
- frameType: "range" | "rows";
10097
- start: {
10098
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
10099
- offset: number | null;
10100
- } | null;
10101
- end: {
10102
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
10103
- offset: number | null;
10104
- };
10105
- } | null;
10106
10106
  })[] | null;
10107
10107
  filters: import("../../../..").Filters;
10108
10108
  };
@@ -10277,17 +10277,40 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObject<{
10277
10277
  periodOffset: number;
10278
10278
  })[] | null;
10279
10279
  tableCalculations: ({
10280
+ name: string;
10281
+ displayName: string;
10282
+ type: "percent_of_column_total";
10283
+ fieldId: string;
10284
+ partitionBy: string[] | null;
10285
+ } | {
10286
+ name: string;
10287
+ displayName: string;
10288
+ type: "window_function";
10289
+ windowFunction: import("../../../..").WindowFunctionType;
10290
+ fieldId: string | null;
10291
+ orderBy: {
10292
+ fieldId: string;
10293
+ order: "asc" | "desc" | null;
10294
+ }[] | null;
10295
+ partitionBy: string[] | null;
10296
+ frame: {
10297
+ frameType: "range" | "rows";
10298
+ start: {
10299
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
10300
+ offset: number | null;
10301
+ } | null;
10302
+ end: {
10303
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
10304
+ offset: number | null;
10305
+ };
10306
+ } | null;
10307
+ } | {
10280
10308
  name: string;
10281
10309
  displayName: string;
10282
10310
  type: "formula";
10283
10311
  formula: string;
10284
10312
  format: "number" | "percent" | null;
10285
10313
  resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
10286
- } | {
10287
- name: string;
10288
- displayName: string;
10289
- type: "rank_in_column";
10290
- fieldId: string;
10291
10314
  } | {
10292
10315
  name: string;
10293
10316
  displayName: string;
@@ -10311,36 +10334,13 @@ export declare const toolRunQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObject<{
10311
10334
  } | {
10312
10335
  name: string;
10313
10336
  displayName: string;
10314
- type: "percent_of_column_total";
10337
+ type: "rank_in_column";
10315
10338
  fieldId: string;
10316
- partitionBy: string[] | null;
10317
10339
  } | {
10318
10340
  name: string;
10319
10341
  displayName: string;
10320
10342
  type: "running_total";
10321
10343
  fieldId: string;
10322
- } | {
10323
- name: string;
10324
- displayName: string;
10325
- type: "window_function";
10326
- windowFunction: import("../../../..").WindowFunctionType;
10327
- fieldId: string | null;
10328
- orderBy: {
10329
- fieldId: string;
10330
- order: "asc" | "desc" | null;
10331
- }[] | null;
10332
- partitionBy: string[] | null;
10333
- frame: {
10334
- frameType: "range" | "rows";
10335
- start: {
10336
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
10337
- offset: number | null;
10338
- } | null;
10339
- end: {
10340
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
10341
- offset: number | null;
10342
- };
10343
- } | null;
10344
10344
  })[] | null;
10345
10345
  filters: {
10346
10346
  type: "and" | "or";