@lightdash/common 2.136.2 → 2.137.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.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +13 -13
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +92 -92
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +62 -62
- package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts +22 -22
- package/dist/cjs/ee/AiAgent/utils.d.ts +12 -12
- package/dist/cjs/ee/apps/code.d.ts +2 -0
- package/dist/cjs/ee/apps/code.d.ts.map +1 -1
- package/dist/cjs/ee/apps/code.js.map +1 -1
- package/dist/cjs/index.barrel.test.d.ts +2 -0
- package/dist/cjs/index.barrel.test.d.ts.map +1 -0
- package/dist/cjs/index.barrel.test.js +65 -0
- package/dist/cjs/index.barrel.test.js.map +1 -0
- package/dist/cjs/index.d.ts +0 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/packageExports.test.d.ts +2 -0
- package/dist/cjs/packageExports.test.d.ts.map +1 -0
- package/dist/cjs/packageExports.test.js +42 -0
- package/dist/cjs/packageExports.test.js.map +1 -0
- package/dist/cjs/schemas/json/chart-as-code-1.0.json +53 -0
- package/dist/cjs/schemas/json/dashboard-as-code-1.0.json +53 -0
- package/dist/cjs/types/contentAsCode/charts.d.ts +9 -0
- package/dist/cjs/types/contentAsCode/charts.d.ts.map +1 -1
- package/dist/cjs/types/contentAsCode/dashboards.d.ts +3 -0
- package/dist/cjs/types/contentAsCode/dashboards.d.ts.map +1 -1
- package/dist/cjs/types/contentAsCode/directAccess.d.ts +26 -0
- package/dist/cjs/types/contentAsCode/directAccess.d.ts.map +1 -0
- package/dist/cjs/types/contentAsCode/directAccess.js +3 -0
- package/dist/cjs/types/contentAsCode/directAccess.js.map +1 -0
- package/dist/cjs/types/contentAsCode/index.d.ts +1 -0
- package/dist/cjs/types/contentAsCode/index.d.ts.map +1 -1
- package/dist/cjs/types/contentAsCode/index.js +1 -0
- package/dist/cjs/types/contentAsCode/index.js.map +1 -1
- package/dist/cjs/utils/additionalMetrics.d.ts.map +1 -1
- package/dist/cjs/utils/additionalMetrics.js +5 -0
- package/dist/cjs/utils/additionalMetrics.js.map +1 -1
- package/dist/cjs/utils/additionalMetrics.test.js +10 -0
- package/dist/cjs/utils/additionalMetrics.test.js.map +1 -1
- package/dist/cjs/utils/timeFrames.d.ts.map +1 -1
- package/dist/cjs/utils/timeFrames.js +20 -1
- package/dist/cjs/utils/timeFrames.js.map +1 -1
- package/dist/cjs/utils/timeFrames.test.js +11 -0
- package/dist/cjs/utils/timeFrames.test.js.map +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +13 -13
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +92 -92
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +62 -62
- package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts +22 -22
- package/dist/esm/ee/AiAgent/utils.d.ts +12 -12
- package/dist/esm/ee/apps/code.d.ts +2 -0
- package/dist/esm/ee/apps/code.d.ts.map +1 -1
- package/dist/esm/ee/apps/code.js.map +1 -1
- package/dist/esm/index.barrel.test.d.ts +2 -0
- package/dist/esm/index.barrel.test.d.ts.map +1 -0
- package/dist/esm/index.barrel.test.js +62 -0
- package/dist/esm/index.barrel.test.js.map +1 -0
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/packageExports.test.d.ts +2 -0
- package/dist/esm/packageExports.test.d.ts.map +1 -0
- package/dist/esm/packageExports.test.js +39 -0
- package/dist/esm/packageExports.test.js.map +1 -0
- package/dist/esm/schemas/json/chart-as-code-1.0.json +53 -0
- package/dist/esm/schemas/json/dashboard-as-code-1.0.json +53 -0
- package/dist/esm/types/contentAsCode/charts.d.ts +9 -0
- package/dist/esm/types/contentAsCode/charts.d.ts.map +1 -1
- package/dist/esm/types/contentAsCode/dashboards.d.ts +3 -0
- package/dist/esm/types/contentAsCode/dashboards.d.ts.map +1 -1
- package/dist/esm/types/contentAsCode/directAccess.d.ts +26 -0
- package/dist/esm/types/contentAsCode/directAccess.d.ts.map +1 -0
- package/dist/esm/types/contentAsCode/directAccess.js +2 -0
- package/dist/esm/types/contentAsCode/directAccess.js.map +1 -0
- package/dist/esm/types/contentAsCode/index.d.ts +1 -0
- package/dist/esm/types/contentAsCode/index.d.ts.map +1 -1
- package/dist/esm/types/contentAsCode/index.js +1 -0
- package/dist/esm/types/contentAsCode/index.js.map +1 -1
- package/dist/esm/utils/additionalMetrics.d.ts.map +1 -1
- package/dist/esm/utils/additionalMetrics.js +5 -0
- package/dist/esm/utils/additionalMetrics.js.map +1 -1
- package/dist/esm/utils/additionalMetrics.test.js +10 -0
- package/dist/esm/utils/additionalMetrics.test.js.map +1 -1
- package/dist/esm/utils/timeFrames.d.ts.map +1 -1
- package/dist/esm/utils/timeFrames.js +20 -1
- package/dist/esm/utils/timeFrames.js.map +1 -1
- package/dist/esm/utils/timeFrames.test.js +11 -0
- package/dist/esm/utils/timeFrames.test.js.map +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +13 -13
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +92 -92
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +62 -62
- package/dist/types/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts +22 -22
- package/dist/types/ee/AiAgent/utils.d.ts +12 -12
- package/dist/types/ee/apps/code.d.ts +2 -0
- package/dist/types/ee/apps/code.d.ts.map +1 -1
- package/dist/types/ee/apps/code.js.map +1 -1
- package/dist/types/index.barrel.test.d.ts +2 -0
- package/dist/types/index.barrel.test.d.ts.map +1 -0
- package/dist/types/index.barrel.test.js +62 -0
- package/dist/types/index.barrel.test.js.map +1 -0
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/packageExports.test.d.ts +2 -0
- package/dist/types/packageExports.test.d.ts.map +1 -0
- package/dist/types/packageExports.test.js +39 -0
- package/dist/types/packageExports.test.js.map +1 -0
- package/dist/types/schemas/json/chart-as-code-1.0.json +53 -0
- package/dist/types/schemas/json/dashboard-as-code-1.0.json +53 -0
- package/dist/types/types/contentAsCode/charts.d.ts +9 -0
- package/dist/types/types/contentAsCode/charts.d.ts.map +1 -1
- package/dist/types/types/contentAsCode/dashboards.d.ts +3 -0
- package/dist/types/types/contentAsCode/dashboards.d.ts.map +1 -1
- package/dist/types/types/contentAsCode/directAccess.d.ts +26 -0
- package/dist/types/types/contentAsCode/directAccess.d.ts.map +1 -0
- package/dist/types/types/contentAsCode/directAccess.js +2 -0
- package/dist/types/types/contentAsCode/directAccess.js.map +1 -0
- package/dist/types/types/contentAsCode/index.d.ts +1 -0
- package/dist/types/types/contentAsCode/index.d.ts.map +1 -1
- package/dist/types/types/contentAsCode/index.js +1 -0
- package/dist/types/types/contentAsCode/index.js.map +1 -1
- package/dist/types/utils/additionalMetrics.d.ts.map +1 -1
- package/dist/types/utils/additionalMetrics.js +5 -0
- package/dist/types/utils/additionalMetrics.js.map +1 -1
- package/dist/types/utils/additionalMetrics.test.js +10 -0
- package/dist/types/utils/additionalMetrics.test.js.map +1 -1
- package/dist/types/utils/timeFrames.d.ts.map +1 -1
- package/dist/types/utils/timeFrames.js +20 -1
- package/dist/types/utils/timeFrames.js.map +1 -1
- package/dist/types/utils/timeFrames.test.js +11 -0
- package/dist/types/utils/timeFrames.test.js.map +1 -1
- package/package.json +26 -2
|
@@ -25,18 +25,6 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
25
25
|
parameters: Record<string, string | number | string[] | number[]> | null;
|
|
26
26
|
customMetrics: import("../..").TransformedCustomMetric[] | null;
|
|
27
27
|
tableCalculations: ({
|
|
28
|
-
name: string;
|
|
29
|
-
displayName: string;
|
|
30
|
-
type: "formula";
|
|
31
|
-
formula: string;
|
|
32
|
-
format: "number" | "percent" | null;
|
|
33
|
-
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
34
|
-
} | {
|
|
35
|
-
name: string;
|
|
36
|
-
displayName: string;
|
|
37
|
-
type: "rank_in_column";
|
|
38
|
-
fieldId: string;
|
|
39
|
-
} | {
|
|
40
28
|
name: string;
|
|
41
29
|
displayName: string;
|
|
42
30
|
type: "percent_change_from_previous";
|
|
@@ -46,6 +34,18 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
46
34
|
order: "asc" | "desc" | null;
|
|
47
35
|
}[];
|
|
48
36
|
partitionBy: string[] | null;
|
|
37
|
+
} | {
|
|
38
|
+
name: string;
|
|
39
|
+
displayName: string;
|
|
40
|
+
type: "running_total";
|
|
41
|
+
fieldId: string;
|
|
42
|
+
} | {
|
|
43
|
+
name: string;
|
|
44
|
+
displayName: string;
|
|
45
|
+
type: "formula";
|
|
46
|
+
formula: string;
|
|
47
|
+
format: "number" | "percent" | null;
|
|
48
|
+
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
49
49
|
} | {
|
|
50
50
|
name: string;
|
|
51
51
|
displayName: string;
|
|
@@ -65,7 +65,7 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
65
65
|
} | {
|
|
66
66
|
name: string;
|
|
67
67
|
displayName: string;
|
|
68
|
-
type: "
|
|
68
|
+
type: "rank_in_column";
|
|
69
69
|
fieldId: string;
|
|
70
70
|
} | {
|
|
71
71
|
name: string;
|
|
@@ -2541,18 +2541,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2541
2541
|
parameters: Record<string, string | number | string[] | number[]> | null;
|
|
2542
2542
|
customMetrics: import("..").TransformedCustomMetric[] | null;
|
|
2543
2543
|
tableCalculations: ({
|
|
2544
|
-
name: string;
|
|
2545
|
-
displayName: string;
|
|
2546
|
-
type: "formula";
|
|
2547
|
-
formula: string;
|
|
2548
|
-
format: "number" | "percent" | null;
|
|
2549
|
-
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
2550
|
-
} | {
|
|
2551
|
-
name: string;
|
|
2552
|
-
displayName: string;
|
|
2553
|
-
type: "rank_in_column";
|
|
2554
|
-
fieldId: string;
|
|
2555
|
-
} | {
|
|
2556
2544
|
name: string;
|
|
2557
2545
|
displayName: string;
|
|
2558
2546
|
type: "percent_change_from_previous";
|
|
@@ -2562,6 +2550,18 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2562
2550
|
order: "asc" | "desc" | null;
|
|
2563
2551
|
}[];
|
|
2564
2552
|
partitionBy: string[] | null;
|
|
2553
|
+
} | {
|
|
2554
|
+
name: string;
|
|
2555
|
+
displayName: string;
|
|
2556
|
+
type: "running_total";
|
|
2557
|
+
fieldId: string;
|
|
2558
|
+
} | {
|
|
2559
|
+
name: string;
|
|
2560
|
+
displayName: string;
|
|
2561
|
+
type: "formula";
|
|
2562
|
+
formula: string;
|
|
2563
|
+
format: "number" | "percent" | null;
|
|
2564
|
+
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
2565
2565
|
} | {
|
|
2566
2566
|
name: string;
|
|
2567
2567
|
displayName: string;
|
|
@@ -2581,7 +2581,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2581
2581
|
} | {
|
|
2582
2582
|
name: string;
|
|
2583
2583
|
displayName: string;
|
|
2584
|
-
type: "
|
|
2584
|
+
type: "rank_in_column";
|
|
2585
2585
|
fieldId: string;
|
|
2586
2586
|
} | {
|
|
2587
2587
|
name: string;
|
|
@@ -2679,17 +2679,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2679
2679
|
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;
|
|
2680
2680
|
filters: {
|
|
2681
2681
|
filter: {
|
|
2682
|
-
fieldId: string;
|
|
2683
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2684
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2685
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
2686
|
-
} | {
|
|
2687
|
-
fieldId: string;
|
|
2688
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2689
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2690
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
2691
|
-
values: string[];
|
|
2692
|
-
} | {
|
|
2693
2682
|
fieldId: string;
|
|
2694
2683
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2695
2684
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -2700,6 +2689,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2700
2689
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2701
2690
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
2702
2691
|
values: boolean[];
|
|
2692
|
+
} | {
|
|
2693
|
+
fieldId: string;
|
|
2694
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2695
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2696
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
2697
|
+
} | {
|
|
2698
|
+
fieldId: string;
|
|
2699
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2700
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2701
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
2702
|
+
values: string[];
|
|
2703
2703
|
} | {
|
|
2704
2704
|
fieldId: string;
|
|
2705
2705
|
fieldType: import("../../../..").DimensionType.NUMBER | import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.SUM_DISTINCT | import("../../../..").MetricType.AVERAGE_DISTINCT | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.NUMBER | import("../../../..").MetricType.MEDIAN;
|
|
@@ -2777,18 +2777,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2777
2777
|
periodOffset: number;
|
|
2778
2778
|
})[] | null;
|
|
2779
2779
|
tableCalculations: ({
|
|
2780
|
-
name: string;
|
|
2781
|
-
displayName: string;
|
|
2782
|
-
type: "formula";
|
|
2783
|
-
formula: string;
|
|
2784
|
-
format: "number" | "percent" | null;
|
|
2785
|
-
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
2786
|
-
} | {
|
|
2787
|
-
name: string;
|
|
2788
|
-
displayName: string;
|
|
2789
|
-
type: "rank_in_column";
|
|
2790
|
-
fieldId: string;
|
|
2791
|
-
} | {
|
|
2792
2780
|
name: string;
|
|
2793
2781
|
displayName: string;
|
|
2794
2782
|
type: "percent_change_from_previous";
|
|
@@ -2798,6 +2786,18 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2798
2786
|
order: "asc" | "desc" | null;
|
|
2799
2787
|
}[];
|
|
2800
2788
|
partitionBy: string[] | null;
|
|
2789
|
+
} | {
|
|
2790
|
+
name: string;
|
|
2791
|
+
displayName: string;
|
|
2792
|
+
type: "running_total";
|
|
2793
|
+
fieldId: string;
|
|
2794
|
+
} | {
|
|
2795
|
+
name: string;
|
|
2796
|
+
displayName: string;
|
|
2797
|
+
type: "formula";
|
|
2798
|
+
formula: string;
|
|
2799
|
+
format: "number" | "percent" | null;
|
|
2800
|
+
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
2801
2801
|
} | {
|
|
2802
2802
|
name: string;
|
|
2803
2803
|
displayName: string;
|
|
@@ -2817,7 +2817,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2817
2817
|
} | {
|
|
2818
2818
|
name: string;
|
|
2819
2819
|
displayName: string;
|
|
2820
|
-
type: "
|
|
2820
|
+
type: "rank_in_column";
|
|
2821
2821
|
fieldId: string;
|
|
2822
2822
|
} | {
|
|
2823
2823
|
name: string;
|
|
@@ -2845,17 +2845,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2845
2845
|
filters: {
|
|
2846
2846
|
type: "and" | "or";
|
|
2847
2847
|
dimensions: ({
|
|
2848
|
-
fieldId: string;
|
|
2849
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2850
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2851
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
2852
|
-
} | {
|
|
2853
|
-
fieldId: string;
|
|
2854
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2855
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2856
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
2857
|
-
values: string[];
|
|
2858
|
-
} | {
|
|
2859
2848
|
fieldId: string;
|
|
2860
2849
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2861
2850
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -2866,6 +2855,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2866
2855
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2867
2856
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
2868
2857
|
values: boolean[];
|
|
2858
|
+
} | {
|
|
2859
|
+
fieldId: string;
|
|
2860
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2861
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2862
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
2863
|
+
} | {
|
|
2864
|
+
fieldId: string;
|
|
2865
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2866
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2867
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
2868
|
+
values: string[];
|
|
2869
2869
|
} | {
|
|
2870
2870
|
fieldId: string;
|
|
2871
2871
|
fieldType: import("../../../..").DimensionType.NUMBER | import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.SUM_DISTINCT | import("../../../..").MetricType.AVERAGE_DISTINCT | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.NUMBER | import("../../../..").MetricType.MEDIAN;
|
|
@@ -2934,17 +2934,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2934
2934
|
values: string[];
|
|
2935
2935
|
})[] | null;
|
|
2936
2936
|
metrics: ({
|
|
2937
|
-
fieldId: string;
|
|
2938
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2939
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2940
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
2941
|
-
} | {
|
|
2942
|
-
fieldId: string;
|
|
2943
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2944
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2945
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
2946
|
-
values: string[];
|
|
2947
|
-
} | {
|
|
2948
2937
|
fieldId: string;
|
|
2949
2938
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2950
2939
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -2955,6 +2944,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2955
2944
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2956
2945
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
2957
2946
|
values: boolean[];
|
|
2947
|
+
} | {
|
|
2948
|
+
fieldId: string;
|
|
2949
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2950
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2951
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
2952
|
+
} | {
|
|
2953
|
+
fieldId: string;
|
|
2954
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2955
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2956
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
2957
|
+
values: string[];
|
|
2958
2958
|
} | {
|
|
2959
2959
|
fieldId: string;
|
|
2960
2960
|
fieldType: import("../../../..").DimensionType.NUMBER | import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.SUM_DISTINCT | import("../../../..").MetricType.AVERAGE_DISTINCT | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.NUMBER | import("../../../..").MetricType.MEDIAN;
|
|
@@ -3088,17 +3088,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
3088
3088
|
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;
|
|
3089
3089
|
filters: {
|
|
3090
3090
|
filter: {
|
|
3091
|
-
fieldId: string;
|
|
3092
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3093
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3094
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
3095
|
-
} | {
|
|
3096
|
-
fieldId: string;
|
|
3097
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3098
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3099
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
3100
|
-
values: string[];
|
|
3101
|
-
} | {
|
|
3102
3091
|
fieldId: string;
|
|
3103
3092
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3104
3093
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -3109,6 +3098,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
3109
3098
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3110
3099
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
3111
3100
|
values: boolean[];
|
|
3101
|
+
} | {
|
|
3102
|
+
fieldId: string;
|
|
3103
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3104
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3105
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
3106
|
+
} | {
|
|
3107
|
+
fieldId: string;
|
|
3108
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3109
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3110
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
3111
|
+
values: string[];
|
|
3112
3112
|
} | {
|
|
3113
3113
|
fieldId: string;
|
|
3114
3114
|
fieldType: import("../../../..").DimensionType.NUMBER | import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.SUM_DISTINCT | import("../../../..").MetricType.AVERAGE_DISTINCT | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.NUMBER | import("../../../..").MetricType.MEDIAN;
|
|
@@ -3188,17 +3188,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
3188
3188
|
filters: {
|
|
3189
3189
|
type: "and" | "or";
|
|
3190
3190
|
dimensions: ({
|
|
3191
|
-
fieldId: string;
|
|
3192
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3193
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3194
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
3195
|
-
} | {
|
|
3196
|
-
fieldId: string;
|
|
3197
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3198
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3199
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
3200
|
-
values: string[];
|
|
3201
|
-
} | {
|
|
3202
3191
|
fieldId: string;
|
|
3203
3192
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3204
3193
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -3209,6 +3198,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
3209
3198
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3210
3199
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
3211
3200
|
values: boolean[];
|
|
3201
|
+
} | {
|
|
3202
|
+
fieldId: string;
|
|
3203
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3204
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3205
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
3206
|
+
} | {
|
|
3207
|
+
fieldId: string;
|
|
3208
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3209
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3210
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
3211
|
+
values: string[];
|
|
3212
3212
|
} | {
|
|
3213
3213
|
fieldId: string;
|
|
3214
3214
|
fieldType: import("../../../..").DimensionType.NUMBER | import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.SUM_DISTINCT | import("../../../..").MetricType.AVERAGE_DISTINCT | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.NUMBER | import("../../../..").MetricType.MEDIAN;
|
|
@@ -3277,17 +3277,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
3277
3277
|
values: string[];
|
|
3278
3278
|
})[] | null;
|
|
3279
3279
|
metrics: ({
|
|
3280
|
-
fieldId: string;
|
|
3281
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3282
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3283
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
3284
|
-
} | {
|
|
3285
|
-
fieldId: string;
|
|
3286
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3287
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3288
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
3289
|
-
values: string[];
|
|
3290
|
-
} | {
|
|
3291
3280
|
fieldId: string;
|
|
3292
3281
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3293
3282
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -3298,6 +3287,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
3298
3287
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3299
3288
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
3300
3289
|
values: boolean[];
|
|
3290
|
+
} | {
|
|
3291
|
+
fieldId: string;
|
|
3292
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3293
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3294
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
3295
|
+
} | {
|
|
3296
|
+
fieldId: string;
|
|
3297
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3298
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3299
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
3300
|
+
values: string[];
|
|
3301
3301
|
} | {
|
|
3302
3302
|
fieldId: string;
|
|
3303
3303
|
fieldType: import("../../../..").DimensionType.NUMBER | import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.SUM_DISTINCT | import("../../../..").MetricType.AVERAGE_DISTINCT | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.NUMBER | import("../../../..").MetricType.MEDIAN;
|
|
@@ -969,18 +969,31 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
969
969
|
tableCalculations: ({
|
|
970
970
|
name: string;
|
|
971
971
|
displayName: string;
|
|
972
|
-
type: "
|
|
972
|
+
type: "percent_of_column_total";
|
|
973
973
|
fieldId: string;
|
|
974
|
-
orderBy: {
|
|
975
|
-
fieldId: string;
|
|
976
|
-
order: "asc" | "desc" | null;
|
|
977
|
-
}[];
|
|
978
974
|
partitionBy: string[] | null;
|
|
979
975
|
} | {
|
|
980
976
|
name: string;
|
|
981
977
|
displayName: string;
|
|
982
|
-
type: "
|
|
983
|
-
|
|
978
|
+
type: "window_function";
|
|
979
|
+
windowFunction: import("../../../..").WindowFunctionType;
|
|
980
|
+
fieldId: string | null;
|
|
981
|
+
orderBy: {
|
|
982
|
+
fieldId: string;
|
|
983
|
+
order: "asc" | "desc" | null;
|
|
984
|
+
}[] | null;
|
|
985
|
+
partitionBy: string[] | null;
|
|
986
|
+
frame: {
|
|
987
|
+
frameType: "range" | "rows";
|
|
988
|
+
start: {
|
|
989
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
990
|
+
offset: number | null;
|
|
991
|
+
} | null;
|
|
992
|
+
end: {
|
|
993
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
994
|
+
offset: number | null;
|
|
995
|
+
};
|
|
996
|
+
} | null;
|
|
984
997
|
} | {
|
|
985
998
|
name: string;
|
|
986
999
|
displayName: string;
|
|
@@ -991,7 +1004,7 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
991
1004
|
} | {
|
|
992
1005
|
name: string;
|
|
993
1006
|
displayName: string;
|
|
994
|
-
type: "
|
|
1007
|
+
type: "percent_change_from_previous";
|
|
995
1008
|
fieldId: string;
|
|
996
1009
|
orderBy: {
|
|
997
1010
|
fieldId: string;
|
|
@@ -1001,8 +1014,12 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1001
1014
|
} | {
|
|
1002
1015
|
name: string;
|
|
1003
1016
|
displayName: string;
|
|
1004
|
-
type: "
|
|
1017
|
+
type: "percent_of_previous_value";
|
|
1005
1018
|
fieldId: string;
|
|
1019
|
+
orderBy: {
|
|
1020
|
+
fieldId: string;
|
|
1021
|
+
order: "asc" | "desc" | null;
|
|
1022
|
+
}[];
|
|
1006
1023
|
partitionBy: string[] | null;
|
|
1007
1024
|
} | {
|
|
1008
1025
|
name: string;
|
|
@@ -1012,25 +1029,8 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1012
1029
|
} | {
|
|
1013
1030
|
name: string;
|
|
1014
1031
|
displayName: string;
|
|
1015
|
-
type: "
|
|
1016
|
-
|
|
1017
|
-
fieldId: string | null;
|
|
1018
|
-
orderBy: {
|
|
1019
|
-
fieldId: string;
|
|
1020
|
-
order: "asc" | "desc" | null;
|
|
1021
|
-
}[] | null;
|
|
1022
|
-
partitionBy: string[] | null;
|
|
1023
|
-
frame: {
|
|
1024
|
-
frameType: "range" | "rows";
|
|
1025
|
-
start: {
|
|
1026
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
1027
|
-
offset: number | null;
|
|
1028
|
-
} | null;
|
|
1029
|
-
end: {
|
|
1030
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
1031
|
-
offset: number | null;
|
|
1032
|
-
};
|
|
1033
|
-
} | null;
|
|
1032
|
+
type: "running_total";
|
|
1033
|
+
fieldId: string;
|
|
1034
1034
|
})[] | null;
|
|
1035
1035
|
customMetrics: TransformedCustomMetric[] | null;
|
|
1036
1036
|
filters: Filters;
|
|
@@ -1047,12 +1047,6 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1047
1047
|
limit: number | null;
|
|
1048
1048
|
};
|
|
1049
1049
|
customMetrics: ({
|
|
1050
|
-
kind: "periodComparison";
|
|
1051
|
-
baseMetricId: string;
|
|
1052
|
-
timeDimensionId: string;
|
|
1053
|
-
granularity: import("../../../..").TimeFrames;
|
|
1054
|
-
periodOffset: number;
|
|
1055
|
-
} | {
|
|
1056
1050
|
kind: "aggregation";
|
|
1057
1051
|
name: string;
|
|
1058
1052
|
label: string;
|
|
@@ -1152,22 +1146,41 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1152
1146
|
};
|
|
1153
1147
|
table: string;
|
|
1154
1148
|
}[] | null;
|
|
1149
|
+
} | {
|
|
1150
|
+
kind: "periodComparison";
|
|
1151
|
+
baseMetricId: string;
|
|
1152
|
+
timeDimensionId: string;
|
|
1153
|
+
granularity: import("../../../..").TimeFrames;
|
|
1154
|
+
periodOffset: number;
|
|
1155
1155
|
})[] | null;
|
|
1156
1156
|
tableCalculations: ({
|
|
1157
1157
|
name: string;
|
|
1158
1158
|
displayName: string;
|
|
1159
|
-
type: "
|
|
1159
|
+
type: "percent_of_column_total";
|
|
1160
1160
|
fieldId: string;
|
|
1161
|
-
orderBy: {
|
|
1162
|
-
fieldId: string;
|
|
1163
|
-
order: "asc" | "desc" | null;
|
|
1164
|
-
}[];
|
|
1165
1161
|
partitionBy: string[] | null;
|
|
1166
1162
|
} | {
|
|
1167
1163
|
name: string;
|
|
1168
1164
|
displayName: string;
|
|
1169
|
-
type: "
|
|
1170
|
-
|
|
1165
|
+
type: "window_function";
|
|
1166
|
+
windowFunction: import("../../../..").WindowFunctionType;
|
|
1167
|
+
fieldId: string | null;
|
|
1168
|
+
orderBy: {
|
|
1169
|
+
fieldId: string;
|
|
1170
|
+
order: "asc" | "desc" | null;
|
|
1171
|
+
}[] | null;
|
|
1172
|
+
partitionBy: string[] | null;
|
|
1173
|
+
frame: {
|
|
1174
|
+
frameType: "range" | "rows";
|
|
1175
|
+
start: {
|
|
1176
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
1177
|
+
offset: number | null;
|
|
1178
|
+
} | null;
|
|
1179
|
+
end: {
|
|
1180
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
1181
|
+
offset: number | null;
|
|
1182
|
+
};
|
|
1183
|
+
} | null;
|
|
1171
1184
|
} | {
|
|
1172
1185
|
name: string;
|
|
1173
1186
|
displayName: string;
|
|
@@ -1178,7 +1191,7 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1178
1191
|
} | {
|
|
1179
1192
|
name: string;
|
|
1180
1193
|
displayName: string;
|
|
1181
|
-
type: "
|
|
1194
|
+
type: "percent_change_from_previous";
|
|
1182
1195
|
fieldId: string;
|
|
1183
1196
|
orderBy: {
|
|
1184
1197
|
fieldId: string;
|
|
@@ -1188,8 +1201,12 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1188
1201
|
} | {
|
|
1189
1202
|
name: string;
|
|
1190
1203
|
displayName: string;
|
|
1191
|
-
type: "
|
|
1204
|
+
type: "percent_of_previous_value";
|
|
1192
1205
|
fieldId: string;
|
|
1206
|
+
orderBy: {
|
|
1207
|
+
fieldId: string;
|
|
1208
|
+
order: "asc" | "desc" | null;
|
|
1209
|
+
}[];
|
|
1193
1210
|
partitionBy: string[] | null;
|
|
1194
1211
|
} | {
|
|
1195
1212
|
name: string;
|
|
@@ -1199,25 +1216,8 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1199
1216
|
} | {
|
|
1200
1217
|
name: string;
|
|
1201
1218
|
displayName: string;
|
|
1202
|
-
type: "
|
|
1203
|
-
|
|
1204
|
-
fieldId: string | null;
|
|
1205
|
-
orderBy: {
|
|
1206
|
-
fieldId: string;
|
|
1207
|
-
order: "asc" | "desc" | null;
|
|
1208
|
-
}[] | null;
|
|
1209
|
-
partitionBy: string[] | null;
|
|
1210
|
-
frame: {
|
|
1211
|
-
frameType: "range" | "rows";
|
|
1212
|
-
start: {
|
|
1213
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
1214
|
-
offset: number | null;
|
|
1215
|
-
} | null;
|
|
1216
|
-
end: {
|
|
1217
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
1218
|
-
offset: number | null;
|
|
1219
|
-
};
|
|
1220
|
-
} | null;
|
|
1219
|
+
type: "running_total";
|
|
1220
|
+
fieldId: string;
|
|
1221
1221
|
})[] | null;
|
|
1222
1222
|
filters: {
|
|
1223
1223
|
type: "and" | "or";
|
|
@@ -439,17 +439,6 @@ export declare const toolSearchFieldValuesArgsSchemaTransformed: z.ZodPipe<z.Zod
|
|
|
439
439
|
filters: {
|
|
440
440
|
type: "and" | "or";
|
|
441
441
|
dimensions: ({
|
|
442
|
-
fieldId: string;
|
|
443
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
444
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
445
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
446
|
-
} | {
|
|
447
|
-
fieldId: string;
|
|
448
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
449
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
450
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
451
|
-
values: string[];
|
|
452
|
-
} | {
|
|
453
442
|
fieldId: string;
|
|
454
443
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
455
444
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -460,6 +449,17 @@ export declare const toolSearchFieldValuesArgsSchemaTransformed: z.ZodPipe<z.Zod
|
|
|
460
449
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
461
450
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
462
451
|
values: boolean[];
|
|
452
|
+
} | {
|
|
453
|
+
fieldId: string;
|
|
454
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
455
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
456
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
457
|
+
} | {
|
|
458
|
+
fieldId: string;
|
|
459
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
460
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
461
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
462
|
+
values: string[];
|
|
463
463
|
} | {
|
|
464
464
|
fieldId: string;
|
|
465
465
|
fieldType: import("../../../..").DimensionType.NUMBER | import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.SUM_DISTINCT | import("../../../..").MetricType.AVERAGE_DISTINCT | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.NUMBER | import("../../../..").MetricType.MEDIAN;
|
|
@@ -528,17 +528,6 @@ export declare const toolSearchFieldValuesArgsSchemaTransformed: z.ZodPipe<z.Zod
|
|
|
528
528
|
values: string[];
|
|
529
529
|
})[] | null;
|
|
530
530
|
metrics: ({
|
|
531
|
-
fieldId: string;
|
|
532
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
533
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
534
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
535
|
-
} | {
|
|
536
|
-
fieldId: string;
|
|
537
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
538
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
539
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
540
|
-
values: string[];
|
|
541
|
-
} | {
|
|
542
531
|
fieldId: string;
|
|
543
532
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
544
533
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -549,6 +538,17 @@ export declare const toolSearchFieldValuesArgsSchemaTransformed: z.ZodPipe<z.Zod
|
|
|
549
538
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
550
539
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
551
540
|
values: boolean[];
|
|
541
|
+
} | {
|
|
542
|
+
fieldId: string;
|
|
543
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
544
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
545
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
546
|
+
} | {
|
|
547
|
+
fieldId: string;
|
|
548
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
549
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
550
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
551
|
+
values: string[];
|
|
552
552
|
} | {
|
|
553
553
|
fieldId: string;
|
|
554
554
|
fieldType: import("../../../..").DimensionType.NUMBER | import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.SUM_DISTINCT | import("../../../..").MetricType.AVERAGE_DISTINCT | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.NUMBER | import("../../../..").MetricType.MEDIAN;
|