@lightdash/common 0.1689.2 → 0.1690.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 (47) hide show
  1. package/dist/cjs/ee/Ai/schemas.d.ts +200 -200
  2. package/dist/cjs/ee/AiAgent/index.d.ts +2 -2
  3. package/dist/cjs/index.d.ts +1 -0
  4. package/dist/cjs/index.d.ts.map +1 -1
  5. package/dist/cjs/index.js +7 -1
  6. package/dist/cjs/index.js.map +1 -1
  7. package/dist/cjs/types/api/paginatedQuery.d.ts +17 -0
  8. package/dist/cjs/types/api/paginatedQuery.d.ts.map +1 -1
  9. package/dist/cjs/types/api/paginatedQuery.js.map +1 -1
  10. package/dist/cjs/types/downloadFile.d.ts +13 -0
  11. package/dist/cjs/types/downloadFile.d.ts.map +1 -1
  12. package/dist/cjs/types/downloadFile.js.map +1 -1
  13. package/dist/cjs/types/resourceViewItem.d.ts +1 -1
  14. package/dist/cjs/utils/fileDownloadLimit.d.ts +34 -0
  15. package/dist/cjs/utils/fileDownloadLimit.d.ts.map +1 -0
  16. package/dist/cjs/utils/fileDownloadLimit.js +49 -0
  17. package/dist/cjs/utils/fileDownloadLimit.js.map +1 -0
  18. package/dist/esm/ee/Ai/schemas.d.ts +200 -200
  19. package/dist/esm/ee/AiAgent/index.d.ts +2 -2
  20. package/dist/esm/index.d.ts +1 -0
  21. package/dist/esm/index.d.ts.map +1 -1
  22. package/dist/esm/index.js +2 -0
  23. package/dist/esm/index.js.map +1 -1
  24. package/dist/esm/types/api/paginatedQuery.d.ts +17 -0
  25. package/dist/esm/types/api/paginatedQuery.d.ts.map +1 -1
  26. package/dist/esm/types/api/paginatedQuery.js.map +1 -1
  27. package/dist/esm/types/downloadFile.d.ts +13 -0
  28. package/dist/esm/types/downloadFile.d.ts.map +1 -1
  29. package/dist/esm/types/downloadFile.js.map +1 -1
  30. package/dist/esm/types/resourceViewItem.d.ts +1 -1
  31. package/dist/esm/utils/fileDownloadLimit.d.ts +34 -0
  32. package/dist/esm/utils/fileDownloadLimit.d.ts.map +1 -0
  33. package/dist/esm/utils/fileDownloadLimit.js +43 -0
  34. package/dist/esm/utils/fileDownloadLimit.js.map +1 -0
  35. package/dist/tsconfig.types.tsbuildinfo +1 -1
  36. package/dist/types/ee/Ai/schemas.d.ts +200 -200
  37. package/dist/types/ee/AiAgent/index.d.ts +2 -2
  38. package/dist/types/index.d.ts +1 -0
  39. package/dist/types/index.d.ts.map +1 -1
  40. package/dist/types/types/api/paginatedQuery.d.ts +17 -0
  41. package/dist/types/types/api/paginatedQuery.d.ts.map +1 -1
  42. package/dist/types/types/downloadFile.d.ts +13 -0
  43. package/dist/types/types/downloadFile.d.ts.map +1 -1
  44. package/dist/types/types/resourceViewItem.d.ts +1 -1
  45. package/dist/types/utils/fileDownloadLimit.d.ts +34 -0
  46. package/dist/types/utils/fileDownloadLimit.d.ts.map +1 -0
  47. package/package.json +1 -1
@@ -11,10 +11,10 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
11
11
  fieldId: z.ZodString;
12
12
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
13
13
  }, "strip", z.ZodTypeAny, {
14
- type: MetricType | DimensionType;
14
+ type: DimensionType | MetricType;
15
15
  fieldId: string;
16
16
  }, {
17
- type: MetricType | DimensionType;
17
+ type: DimensionType | MetricType;
18
18
  fieldId: string;
19
19
  }>;
20
20
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -22,7 +22,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  values: (string | number | boolean | null)[];
24
24
  target: {
25
- type: MetricType | DimensionType;
25
+ type: DimensionType | MetricType;
26
26
  fieldId: string;
27
27
  };
28
28
  id: string;
@@ -30,7 +30,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
30
30
  }, {
31
31
  values: (string | number | boolean | null)[];
32
32
  target: {
33
- type: MetricType | DimensionType;
33
+ type: DimensionType | MetricType;
34
34
  fieldId: string;
35
35
  };
36
36
  id: string;
@@ -41,10 +41,10 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
41
41
  fieldId: z.ZodString;
42
42
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
43
43
  }, "strip", z.ZodTypeAny, {
44
- type: MetricType | DimensionType;
44
+ type: DimensionType | MetricType;
45
45
  fieldId: string;
46
46
  }, {
47
- type: MetricType | DimensionType;
47
+ type: DimensionType | MetricType;
48
48
  fieldId: string;
49
49
  }>;
50
50
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -65,7 +65,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
65
65
  }>, "strip", z.ZodTypeAny, {
66
66
  values: (string | null)[];
67
67
  target: {
68
- type: MetricType | DimensionType;
68
+ type: DimensionType | MetricType;
69
69
  fieldId: string;
70
70
  };
71
71
  id: string;
@@ -77,7 +77,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
77
77
  }, {
78
78
  values: (string | null)[];
79
79
  target: {
80
- type: MetricType | DimensionType;
80
+ type: DimensionType | MetricType;
81
81
  fieldId: string;
82
82
  };
83
83
  id: string;
@@ -92,7 +92,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
92
92
  and: ({
93
93
  values: (string | number | boolean | null)[];
94
94
  target: {
95
- type: MetricType | DimensionType;
95
+ type: DimensionType | MetricType;
96
96
  fieldId: string;
97
97
  };
98
98
  id: string;
@@ -100,7 +100,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
100
100
  } | {
101
101
  values: (string | null)[];
102
102
  target: {
103
- type: MetricType | DimensionType;
103
+ type: DimensionType | MetricType;
104
104
  fieldId: string;
105
105
  };
106
106
  id: string;
@@ -115,7 +115,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
115
115
  and: ({
116
116
  values: (string | number | boolean | null)[];
117
117
  target: {
118
- type: MetricType | DimensionType;
118
+ type: DimensionType | MetricType;
119
119
  fieldId: string;
120
120
  };
121
121
  id: string;
@@ -123,7 +123,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
123
123
  } | {
124
124
  values: (string | null)[];
125
125
  target: {
126
- type: MetricType | DimensionType;
126
+ type: DimensionType | MetricType;
127
127
  fieldId: string;
128
128
  };
129
129
  id: string;
@@ -141,10 +141,10 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
141
141
  fieldId: z.ZodString;
142
142
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
143
143
  }, "strip", z.ZodTypeAny, {
144
- type: MetricType | DimensionType;
144
+ type: DimensionType | MetricType;
145
145
  fieldId: string;
146
146
  }, {
147
- type: MetricType | DimensionType;
147
+ type: DimensionType | MetricType;
148
148
  fieldId: string;
149
149
  }>;
150
150
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -152,7 +152,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
152
152
  }, "strip", z.ZodTypeAny, {
153
153
  values: (string | number | boolean | null)[];
154
154
  target: {
155
- type: MetricType | DimensionType;
155
+ type: DimensionType | MetricType;
156
156
  fieldId: string;
157
157
  };
158
158
  id: string;
@@ -160,7 +160,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
160
160
  }, {
161
161
  values: (string | number | boolean | null)[];
162
162
  target: {
163
- type: MetricType | DimensionType;
163
+ type: DimensionType | MetricType;
164
164
  fieldId: string;
165
165
  };
166
166
  id: string;
@@ -171,10 +171,10 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
171
171
  fieldId: z.ZodString;
172
172
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
173
173
  }, "strip", z.ZodTypeAny, {
174
- type: MetricType | DimensionType;
174
+ type: DimensionType | MetricType;
175
175
  fieldId: string;
176
176
  }, {
177
- type: MetricType | DimensionType;
177
+ type: DimensionType | MetricType;
178
178
  fieldId: string;
179
179
  }>;
180
180
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -195,7 +195,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
195
195
  }>, "strip", z.ZodTypeAny, {
196
196
  values: (string | null)[];
197
197
  target: {
198
- type: MetricType | DimensionType;
198
+ type: DimensionType | MetricType;
199
199
  fieldId: string;
200
200
  };
201
201
  id: string;
@@ -207,7 +207,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
207
207
  }, {
208
208
  values: (string | null)[];
209
209
  target: {
210
- type: MetricType | DimensionType;
210
+ type: DimensionType | MetricType;
211
211
  fieldId: string;
212
212
  };
213
213
  id: string;
@@ -222,7 +222,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
222
222
  or: ({
223
223
  values: (string | number | boolean | null)[];
224
224
  target: {
225
- type: MetricType | DimensionType;
225
+ type: DimensionType | MetricType;
226
226
  fieldId: string;
227
227
  };
228
228
  id: string;
@@ -230,7 +230,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
230
230
  } | {
231
231
  values: (string | null)[];
232
232
  target: {
233
- type: MetricType | DimensionType;
233
+ type: DimensionType | MetricType;
234
234
  fieldId: string;
235
235
  };
236
236
  id: string;
@@ -245,7 +245,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
245
245
  or: ({
246
246
  values: (string | number | boolean | null)[];
247
247
  target: {
248
- type: MetricType | DimensionType;
248
+ type: DimensionType | MetricType;
249
249
  fieldId: string;
250
250
  };
251
251
  id: string;
@@ -253,7 +253,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
253
253
  } | {
254
254
  values: (string | null)[];
255
255
  target: {
256
- type: MetricType | DimensionType;
256
+ type: DimensionType | MetricType;
257
257
  fieldId: string;
258
258
  };
259
259
  id: string;
@@ -273,10 +273,10 @@ export declare const FilterSchema: z.ZodObject<{
273
273
  fieldId: z.ZodString;
274
274
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
275
275
  }, "strip", z.ZodTypeAny, {
276
- type: MetricType | DimensionType;
276
+ type: DimensionType | MetricType;
277
277
  fieldId: string;
278
278
  }, {
279
- type: MetricType | DimensionType;
279
+ type: DimensionType | MetricType;
280
280
  fieldId: string;
281
281
  }>;
282
282
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -284,7 +284,7 @@ export declare const FilterSchema: z.ZodObject<{
284
284
  }, "strip", z.ZodTypeAny, {
285
285
  values: (string | number | boolean | null)[];
286
286
  target: {
287
- type: MetricType | DimensionType;
287
+ type: DimensionType | MetricType;
288
288
  fieldId: string;
289
289
  };
290
290
  id: string;
@@ -292,7 +292,7 @@ export declare const FilterSchema: z.ZodObject<{
292
292
  }, {
293
293
  values: (string | number | boolean | null)[];
294
294
  target: {
295
- type: MetricType | DimensionType;
295
+ type: DimensionType | MetricType;
296
296
  fieldId: string;
297
297
  };
298
298
  id: string;
@@ -303,10 +303,10 @@ export declare const FilterSchema: z.ZodObject<{
303
303
  fieldId: z.ZodString;
304
304
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
305
305
  }, "strip", z.ZodTypeAny, {
306
- type: MetricType | DimensionType;
306
+ type: DimensionType | MetricType;
307
307
  fieldId: string;
308
308
  }, {
309
- type: MetricType | DimensionType;
309
+ type: DimensionType | MetricType;
310
310
  fieldId: string;
311
311
  }>;
312
312
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -327,7 +327,7 @@ export declare const FilterSchema: z.ZodObject<{
327
327
  }>, "strip", z.ZodTypeAny, {
328
328
  values: (string | null)[];
329
329
  target: {
330
- type: MetricType | DimensionType;
330
+ type: DimensionType | MetricType;
331
331
  fieldId: string;
332
332
  };
333
333
  id: string;
@@ -339,7 +339,7 @@ export declare const FilterSchema: z.ZodObject<{
339
339
  }, {
340
340
  values: (string | null)[];
341
341
  target: {
342
- type: MetricType | DimensionType;
342
+ type: DimensionType | MetricType;
343
343
  fieldId: string;
344
344
  };
345
345
  id: string;
@@ -354,7 +354,7 @@ export declare const FilterSchema: z.ZodObject<{
354
354
  and: ({
355
355
  values: (string | number | boolean | null)[];
356
356
  target: {
357
- type: MetricType | DimensionType;
357
+ type: DimensionType | MetricType;
358
358
  fieldId: string;
359
359
  };
360
360
  id: string;
@@ -362,7 +362,7 @@ export declare const FilterSchema: z.ZodObject<{
362
362
  } | {
363
363
  values: (string | null)[];
364
364
  target: {
365
- type: MetricType | DimensionType;
365
+ type: DimensionType | MetricType;
366
366
  fieldId: string;
367
367
  };
368
368
  id: string;
@@ -377,7 +377,7 @@ export declare const FilterSchema: z.ZodObject<{
377
377
  and: ({
378
378
  values: (string | number | boolean | null)[];
379
379
  target: {
380
- type: MetricType | DimensionType;
380
+ type: DimensionType | MetricType;
381
381
  fieldId: string;
382
382
  };
383
383
  id: string;
@@ -385,7 +385,7 @@ export declare const FilterSchema: z.ZodObject<{
385
385
  } | {
386
386
  values: (string | null)[];
387
387
  target: {
388
- type: MetricType | DimensionType;
388
+ type: DimensionType | MetricType;
389
389
  fieldId: string;
390
390
  };
391
391
  id: string;
@@ -403,10 +403,10 @@ export declare const FilterSchema: z.ZodObject<{
403
403
  fieldId: z.ZodString;
404
404
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
405
405
  }, "strip", z.ZodTypeAny, {
406
- type: MetricType | DimensionType;
406
+ type: DimensionType | MetricType;
407
407
  fieldId: string;
408
408
  }, {
409
- type: MetricType | DimensionType;
409
+ type: DimensionType | MetricType;
410
410
  fieldId: string;
411
411
  }>;
412
412
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -414,7 +414,7 @@ export declare const FilterSchema: z.ZodObject<{
414
414
  }, "strip", z.ZodTypeAny, {
415
415
  values: (string | number | boolean | null)[];
416
416
  target: {
417
- type: MetricType | DimensionType;
417
+ type: DimensionType | MetricType;
418
418
  fieldId: string;
419
419
  };
420
420
  id: string;
@@ -422,7 +422,7 @@ export declare const FilterSchema: z.ZodObject<{
422
422
  }, {
423
423
  values: (string | number | boolean | null)[];
424
424
  target: {
425
- type: MetricType | DimensionType;
425
+ type: DimensionType | MetricType;
426
426
  fieldId: string;
427
427
  };
428
428
  id: string;
@@ -433,10 +433,10 @@ export declare const FilterSchema: z.ZodObject<{
433
433
  fieldId: z.ZodString;
434
434
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
435
435
  }, "strip", z.ZodTypeAny, {
436
- type: MetricType | DimensionType;
436
+ type: DimensionType | MetricType;
437
437
  fieldId: string;
438
438
  }, {
439
- type: MetricType | DimensionType;
439
+ type: DimensionType | MetricType;
440
440
  fieldId: string;
441
441
  }>;
442
442
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -457,7 +457,7 @@ export declare const FilterSchema: z.ZodObject<{
457
457
  }>, "strip", z.ZodTypeAny, {
458
458
  values: (string | null)[];
459
459
  target: {
460
- type: MetricType | DimensionType;
460
+ type: DimensionType | MetricType;
461
461
  fieldId: string;
462
462
  };
463
463
  id: string;
@@ -469,7 +469,7 @@ export declare const FilterSchema: z.ZodObject<{
469
469
  }, {
470
470
  values: (string | null)[];
471
471
  target: {
472
- type: MetricType | DimensionType;
472
+ type: DimensionType | MetricType;
473
473
  fieldId: string;
474
474
  };
475
475
  id: string;
@@ -484,7 +484,7 @@ export declare const FilterSchema: z.ZodObject<{
484
484
  or: ({
485
485
  values: (string | number | boolean | null)[];
486
486
  target: {
487
- type: MetricType | DimensionType;
487
+ type: DimensionType | MetricType;
488
488
  fieldId: string;
489
489
  };
490
490
  id: string;
@@ -492,7 +492,7 @@ export declare const FilterSchema: z.ZodObject<{
492
492
  } | {
493
493
  values: (string | null)[];
494
494
  target: {
495
- type: MetricType | DimensionType;
495
+ type: DimensionType | MetricType;
496
496
  fieldId: string;
497
497
  };
498
498
  id: string;
@@ -507,7 +507,7 @@ export declare const FilterSchema: z.ZodObject<{
507
507
  or: ({
508
508
  values: (string | number | boolean | null)[];
509
509
  target: {
510
- type: MetricType | DimensionType;
510
+ type: DimensionType | MetricType;
511
511
  fieldId: string;
512
512
  };
513
513
  id: string;
@@ -515,7 +515,7 @@ export declare const FilterSchema: z.ZodObject<{
515
515
  } | {
516
516
  values: (string | null)[];
517
517
  target: {
518
- type: MetricType | DimensionType;
518
+ type: DimensionType | MetricType;
519
519
  fieldId: string;
520
520
  };
521
521
  id: string;
@@ -534,10 +534,10 @@ export declare const FilterSchema: z.ZodObject<{
534
534
  fieldId: z.ZodString;
535
535
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
536
536
  }, "strip", z.ZodTypeAny, {
537
- type: MetricType | DimensionType;
537
+ type: DimensionType | MetricType;
538
538
  fieldId: string;
539
539
  }, {
540
- type: MetricType | DimensionType;
540
+ type: DimensionType | MetricType;
541
541
  fieldId: string;
542
542
  }>;
543
543
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -545,7 +545,7 @@ export declare const FilterSchema: z.ZodObject<{
545
545
  }, "strip", z.ZodTypeAny, {
546
546
  values: (string | number | boolean | null)[];
547
547
  target: {
548
- type: MetricType | DimensionType;
548
+ type: DimensionType | MetricType;
549
549
  fieldId: string;
550
550
  };
551
551
  id: string;
@@ -553,7 +553,7 @@ export declare const FilterSchema: z.ZodObject<{
553
553
  }, {
554
554
  values: (string | number | boolean | null)[];
555
555
  target: {
556
- type: MetricType | DimensionType;
556
+ type: DimensionType | MetricType;
557
557
  fieldId: string;
558
558
  };
559
559
  id: string;
@@ -564,10 +564,10 @@ export declare const FilterSchema: z.ZodObject<{
564
564
  fieldId: z.ZodString;
565
565
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
566
566
  }, "strip", z.ZodTypeAny, {
567
- type: MetricType | DimensionType;
567
+ type: DimensionType | MetricType;
568
568
  fieldId: string;
569
569
  }, {
570
- type: MetricType | DimensionType;
570
+ type: DimensionType | MetricType;
571
571
  fieldId: string;
572
572
  }>;
573
573
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -588,7 +588,7 @@ export declare const FilterSchema: z.ZodObject<{
588
588
  }>, "strip", z.ZodTypeAny, {
589
589
  values: (string | null)[];
590
590
  target: {
591
- type: MetricType | DimensionType;
591
+ type: DimensionType | MetricType;
592
592
  fieldId: string;
593
593
  };
594
594
  id: string;
@@ -600,7 +600,7 @@ export declare const FilterSchema: z.ZodObject<{
600
600
  }, {
601
601
  values: (string | null)[];
602
602
  target: {
603
- type: MetricType | DimensionType;
603
+ type: DimensionType | MetricType;
604
604
  fieldId: string;
605
605
  };
606
606
  id: string;
@@ -615,7 +615,7 @@ export declare const FilterSchema: z.ZodObject<{
615
615
  and: ({
616
616
  values: (string | number | boolean | null)[];
617
617
  target: {
618
- type: MetricType | DimensionType;
618
+ type: DimensionType | MetricType;
619
619
  fieldId: string;
620
620
  };
621
621
  id: string;
@@ -623,7 +623,7 @@ export declare const FilterSchema: z.ZodObject<{
623
623
  } | {
624
624
  values: (string | null)[];
625
625
  target: {
626
- type: MetricType | DimensionType;
626
+ type: DimensionType | MetricType;
627
627
  fieldId: string;
628
628
  };
629
629
  id: string;
@@ -638,7 +638,7 @@ export declare const FilterSchema: z.ZodObject<{
638
638
  and: ({
639
639
  values: (string | number | boolean | null)[];
640
640
  target: {
641
- type: MetricType | DimensionType;
641
+ type: DimensionType | MetricType;
642
642
  fieldId: string;
643
643
  };
644
644
  id: string;
@@ -646,7 +646,7 @@ export declare const FilterSchema: z.ZodObject<{
646
646
  } | {
647
647
  values: (string | null)[];
648
648
  target: {
649
- type: MetricType | DimensionType;
649
+ type: DimensionType | MetricType;
650
650
  fieldId: string;
651
651
  };
652
652
  id: string;
@@ -664,10 +664,10 @@ export declare const FilterSchema: z.ZodObject<{
664
664
  fieldId: z.ZodString;
665
665
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
666
666
  }, "strip", z.ZodTypeAny, {
667
- type: MetricType | DimensionType;
667
+ type: DimensionType | MetricType;
668
668
  fieldId: string;
669
669
  }, {
670
- type: MetricType | DimensionType;
670
+ type: DimensionType | MetricType;
671
671
  fieldId: string;
672
672
  }>;
673
673
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -675,7 +675,7 @@ export declare const FilterSchema: z.ZodObject<{
675
675
  }, "strip", z.ZodTypeAny, {
676
676
  values: (string | number | boolean | null)[];
677
677
  target: {
678
- type: MetricType | DimensionType;
678
+ type: DimensionType | MetricType;
679
679
  fieldId: string;
680
680
  };
681
681
  id: string;
@@ -683,7 +683,7 @@ export declare const FilterSchema: z.ZodObject<{
683
683
  }, {
684
684
  values: (string | number | boolean | null)[];
685
685
  target: {
686
- type: MetricType | DimensionType;
686
+ type: DimensionType | MetricType;
687
687
  fieldId: string;
688
688
  };
689
689
  id: string;
@@ -694,10 +694,10 @@ export declare const FilterSchema: z.ZodObject<{
694
694
  fieldId: z.ZodString;
695
695
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
696
696
  }, "strip", z.ZodTypeAny, {
697
- type: MetricType | DimensionType;
697
+ type: DimensionType | MetricType;
698
698
  fieldId: string;
699
699
  }, {
700
- type: MetricType | DimensionType;
700
+ type: DimensionType | MetricType;
701
701
  fieldId: string;
702
702
  }>;
703
703
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -718,7 +718,7 @@ export declare const FilterSchema: z.ZodObject<{
718
718
  }>, "strip", z.ZodTypeAny, {
719
719
  values: (string | null)[];
720
720
  target: {
721
- type: MetricType | DimensionType;
721
+ type: DimensionType | MetricType;
722
722
  fieldId: string;
723
723
  };
724
724
  id: string;
@@ -730,7 +730,7 @@ export declare const FilterSchema: z.ZodObject<{
730
730
  }, {
731
731
  values: (string | null)[];
732
732
  target: {
733
- type: MetricType | DimensionType;
733
+ type: DimensionType | MetricType;
734
734
  fieldId: string;
735
735
  };
736
736
  id: string;
@@ -745,7 +745,7 @@ export declare const FilterSchema: z.ZodObject<{
745
745
  or: ({
746
746
  values: (string | number | boolean | null)[];
747
747
  target: {
748
- type: MetricType | DimensionType;
748
+ type: DimensionType | MetricType;
749
749
  fieldId: string;
750
750
  };
751
751
  id: string;
@@ -753,7 +753,7 @@ export declare const FilterSchema: z.ZodObject<{
753
753
  } | {
754
754
  values: (string | null)[];
755
755
  target: {
756
- type: MetricType | DimensionType;
756
+ type: DimensionType | MetricType;
757
757
  fieldId: string;
758
758
  };
759
759
  id: string;
@@ -768,7 +768,7 @@ export declare const FilterSchema: z.ZodObject<{
768
768
  or: ({
769
769
  values: (string | number | boolean | null)[];
770
770
  target: {
771
- type: MetricType | DimensionType;
771
+ type: DimensionType | MetricType;
772
772
  fieldId: string;
773
773
  };
774
774
  id: string;
@@ -776,7 +776,7 @@ export declare const FilterSchema: z.ZodObject<{
776
776
  } | {
777
777
  values: (string | null)[];
778
778
  target: {
779
- type: MetricType | DimensionType;
779
+ type: DimensionType | MetricType;
780
780
  fieldId: string;
781
781
  };
782
782
  id: string;
@@ -793,7 +793,7 @@ export declare const FilterSchema: z.ZodObject<{
793
793
  and: ({
794
794
  values: (string | number | boolean | null)[];
795
795
  target: {
796
- type: MetricType | DimensionType;
796
+ type: DimensionType | MetricType;
797
797
  fieldId: string;
798
798
  };
799
799
  id: string;
@@ -801,7 +801,7 @@ export declare const FilterSchema: z.ZodObject<{
801
801
  } | {
802
802
  values: (string | null)[];
803
803
  target: {
804
- type: MetricType | DimensionType;
804
+ type: DimensionType | MetricType;
805
805
  fieldId: string;
806
806
  };
807
807
  id: string;
@@ -816,7 +816,7 @@ export declare const FilterSchema: z.ZodObject<{
816
816
  or: ({
817
817
  values: (string | number | boolean | null)[];
818
818
  target: {
819
- type: MetricType | DimensionType;
819
+ type: DimensionType | MetricType;
820
820
  fieldId: string;
821
821
  };
822
822
  id: string;
@@ -824,7 +824,7 @@ export declare const FilterSchema: z.ZodObject<{
824
824
  } | {
825
825
  values: (string | null)[];
826
826
  target: {
827
- type: MetricType | DimensionType;
827
+ type: DimensionType | MetricType;
828
828
  fieldId: string;
829
829
  };
830
830
  id: string;
@@ -840,7 +840,7 @@ export declare const FilterSchema: z.ZodObject<{
840
840
  and: ({
841
841
  values: (string | number | boolean | null)[];
842
842
  target: {
843
- type: MetricType | DimensionType;
843
+ type: DimensionType | MetricType;
844
844
  fieldId: string;
845
845
  };
846
846
  id: string;
@@ -848,7 +848,7 @@ export declare const FilterSchema: z.ZodObject<{
848
848
  } | {
849
849
  values: (string | null)[];
850
850
  target: {
851
- type: MetricType | DimensionType;
851
+ type: DimensionType | MetricType;
852
852
  fieldId: string;
853
853
  };
854
854
  id: string;
@@ -863,7 +863,7 @@ export declare const FilterSchema: z.ZodObject<{
863
863
  or: ({
864
864
  values: (string | number | boolean | null)[];
865
865
  target: {
866
- type: MetricType | DimensionType;
866
+ type: DimensionType | MetricType;
867
867
  fieldId: string;
868
868
  };
869
869
  id: string;
@@ -871,7 +871,7 @@ export declare const FilterSchema: z.ZodObject<{
871
871
  } | {
872
872
  values: (string | null)[];
873
873
  target: {
874
- type: MetricType | DimensionType;
874
+ type: DimensionType | MetricType;
875
875
  fieldId: string;
876
876
  };
877
877
  id: string;
@@ -888,7 +888,7 @@ export declare const FilterSchema: z.ZodObject<{
888
888
  and: ({
889
889
  values: (string | number | boolean | null)[];
890
890
  target: {
891
- type: MetricType | DimensionType;
891
+ type: DimensionType | MetricType;
892
892
  fieldId: string;
893
893
  };
894
894
  id: string;
@@ -896,7 +896,7 @@ export declare const FilterSchema: z.ZodObject<{
896
896
  } | {
897
897
  values: (string | null)[];
898
898
  target: {
899
- type: MetricType | DimensionType;
899
+ type: DimensionType | MetricType;
900
900
  fieldId: string;
901
901
  };
902
902
  id: string;
@@ -911,7 +911,7 @@ export declare const FilterSchema: z.ZodObject<{
911
911
  or: ({
912
912
  values: (string | number | boolean | null)[];
913
913
  target: {
914
- type: MetricType | DimensionType;
914
+ type: DimensionType | MetricType;
915
915
  fieldId: string;
916
916
  };
917
917
  id: string;
@@ -919,7 +919,7 @@ export declare const FilterSchema: z.ZodObject<{
919
919
  } | {
920
920
  values: (string | null)[];
921
921
  target: {
922
- type: MetricType | DimensionType;
922
+ type: DimensionType | MetricType;
923
923
  fieldId: string;
924
924
  };
925
925
  id: string;
@@ -935,7 +935,7 @@ export declare const FilterSchema: z.ZodObject<{
935
935
  and: ({
936
936
  values: (string | number | boolean | null)[];
937
937
  target: {
938
- type: MetricType | DimensionType;
938
+ type: DimensionType | MetricType;
939
939
  fieldId: string;
940
940
  };
941
941
  id: string;
@@ -943,7 +943,7 @@ export declare const FilterSchema: z.ZodObject<{
943
943
  } | {
944
944
  values: (string | null)[];
945
945
  target: {
946
- type: MetricType | DimensionType;
946
+ type: DimensionType | MetricType;
947
947
  fieldId: string;
948
948
  };
949
949
  id: string;
@@ -958,7 +958,7 @@ export declare const FilterSchema: z.ZodObject<{
958
958
  or: ({
959
959
  values: (string | number | boolean | null)[];
960
960
  target: {
961
- type: MetricType | DimensionType;
961
+ type: DimensionType | MetricType;
962
962
  fieldId: string;
963
963
  };
964
964
  id: string;
@@ -966,7 +966,7 @@ export declare const FilterSchema: z.ZodObject<{
966
966
  } | {
967
967
  values: (string | null)[];
968
968
  target: {
969
- type: MetricType | DimensionType;
969
+ type: DimensionType | MetricType;
970
970
  fieldId: string;
971
971
  };
972
972
  id: string;
@@ -988,10 +988,10 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
988
988
  fieldId: z.ZodString;
989
989
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
990
990
  }, "strip", z.ZodTypeAny, {
991
- type: MetricType | DimensionType;
991
+ type: DimensionType | MetricType;
992
992
  fieldId: string;
993
993
  }, {
994
- type: MetricType | DimensionType;
994
+ type: DimensionType | MetricType;
995
995
  fieldId: string;
996
996
  }>;
997
997
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -999,7 +999,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
999
999
  }, "strip", z.ZodTypeAny, {
1000
1000
  values: (string | number | boolean | null)[];
1001
1001
  target: {
1002
- type: MetricType | DimensionType;
1002
+ type: DimensionType | MetricType;
1003
1003
  fieldId: string;
1004
1004
  };
1005
1005
  id: string;
@@ -1007,7 +1007,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1007
1007
  }, {
1008
1008
  values: (string | number | boolean | null)[];
1009
1009
  target: {
1010
- type: MetricType | DimensionType;
1010
+ type: DimensionType | MetricType;
1011
1011
  fieldId: string;
1012
1012
  };
1013
1013
  id: string;
@@ -1018,10 +1018,10 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1018
1018
  fieldId: z.ZodString;
1019
1019
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
1020
1020
  }, "strip", z.ZodTypeAny, {
1021
- type: MetricType | DimensionType;
1021
+ type: DimensionType | MetricType;
1022
1022
  fieldId: string;
1023
1023
  }, {
1024
- type: MetricType | DimensionType;
1024
+ type: DimensionType | MetricType;
1025
1025
  fieldId: string;
1026
1026
  }>;
1027
1027
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -1042,7 +1042,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1042
1042
  }>, "strip", z.ZodTypeAny, {
1043
1043
  values: (string | null)[];
1044
1044
  target: {
1045
- type: MetricType | DimensionType;
1045
+ type: DimensionType | MetricType;
1046
1046
  fieldId: string;
1047
1047
  };
1048
1048
  id: string;
@@ -1054,7 +1054,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1054
1054
  }, {
1055
1055
  values: (string | null)[];
1056
1056
  target: {
1057
- type: MetricType | DimensionType;
1057
+ type: DimensionType | MetricType;
1058
1058
  fieldId: string;
1059
1059
  };
1060
1060
  id: string;
@@ -1069,7 +1069,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1069
1069
  and: ({
1070
1070
  values: (string | number | boolean | null)[];
1071
1071
  target: {
1072
- type: MetricType | DimensionType;
1072
+ type: DimensionType | MetricType;
1073
1073
  fieldId: string;
1074
1074
  };
1075
1075
  id: string;
@@ -1077,7 +1077,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1077
1077
  } | {
1078
1078
  values: (string | null)[];
1079
1079
  target: {
1080
- type: MetricType | DimensionType;
1080
+ type: DimensionType | MetricType;
1081
1081
  fieldId: string;
1082
1082
  };
1083
1083
  id: string;
@@ -1092,7 +1092,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1092
1092
  and: ({
1093
1093
  values: (string | number | boolean | null)[];
1094
1094
  target: {
1095
- type: MetricType | DimensionType;
1095
+ type: DimensionType | MetricType;
1096
1096
  fieldId: string;
1097
1097
  };
1098
1098
  id: string;
@@ -1100,7 +1100,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1100
1100
  } | {
1101
1101
  values: (string | null)[];
1102
1102
  target: {
1103
- type: MetricType | DimensionType;
1103
+ type: DimensionType | MetricType;
1104
1104
  fieldId: string;
1105
1105
  };
1106
1106
  id: string;
@@ -1118,10 +1118,10 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1118
1118
  fieldId: z.ZodString;
1119
1119
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
1120
1120
  }, "strip", z.ZodTypeAny, {
1121
- type: MetricType | DimensionType;
1121
+ type: DimensionType | MetricType;
1122
1122
  fieldId: string;
1123
1123
  }, {
1124
- type: MetricType | DimensionType;
1124
+ type: DimensionType | MetricType;
1125
1125
  fieldId: string;
1126
1126
  }>;
1127
1127
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -1129,7 +1129,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1129
1129
  }, "strip", z.ZodTypeAny, {
1130
1130
  values: (string | number | boolean | null)[];
1131
1131
  target: {
1132
- type: MetricType | DimensionType;
1132
+ type: DimensionType | MetricType;
1133
1133
  fieldId: string;
1134
1134
  };
1135
1135
  id: string;
@@ -1137,7 +1137,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1137
1137
  }, {
1138
1138
  values: (string | number | boolean | null)[];
1139
1139
  target: {
1140
- type: MetricType | DimensionType;
1140
+ type: DimensionType | MetricType;
1141
1141
  fieldId: string;
1142
1142
  };
1143
1143
  id: string;
@@ -1148,10 +1148,10 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1148
1148
  fieldId: z.ZodString;
1149
1149
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
1150
1150
  }, "strip", z.ZodTypeAny, {
1151
- type: MetricType | DimensionType;
1151
+ type: DimensionType | MetricType;
1152
1152
  fieldId: string;
1153
1153
  }, {
1154
- type: MetricType | DimensionType;
1154
+ type: DimensionType | MetricType;
1155
1155
  fieldId: string;
1156
1156
  }>;
1157
1157
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -1172,7 +1172,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1172
1172
  }>, "strip", z.ZodTypeAny, {
1173
1173
  values: (string | null)[];
1174
1174
  target: {
1175
- type: MetricType | DimensionType;
1175
+ type: DimensionType | MetricType;
1176
1176
  fieldId: string;
1177
1177
  };
1178
1178
  id: string;
@@ -1184,7 +1184,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1184
1184
  }, {
1185
1185
  values: (string | null)[];
1186
1186
  target: {
1187
- type: MetricType | DimensionType;
1187
+ type: DimensionType | MetricType;
1188
1188
  fieldId: string;
1189
1189
  };
1190
1190
  id: string;
@@ -1199,7 +1199,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1199
1199
  or: ({
1200
1200
  values: (string | number | boolean | null)[];
1201
1201
  target: {
1202
- type: MetricType | DimensionType;
1202
+ type: DimensionType | MetricType;
1203
1203
  fieldId: string;
1204
1204
  };
1205
1205
  id: string;
@@ -1207,7 +1207,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1207
1207
  } | {
1208
1208
  values: (string | null)[];
1209
1209
  target: {
1210
- type: MetricType | DimensionType;
1210
+ type: DimensionType | MetricType;
1211
1211
  fieldId: string;
1212
1212
  };
1213
1213
  id: string;
@@ -1222,7 +1222,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1222
1222
  or: ({
1223
1223
  values: (string | number | boolean | null)[];
1224
1224
  target: {
1225
- type: MetricType | DimensionType;
1225
+ type: DimensionType | MetricType;
1226
1226
  fieldId: string;
1227
1227
  };
1228
1228
  id: string;
@@ -1230,7 +1230,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1230
1230
  } | {
1231
1231
  values: (string | null)[];
1232
1232
  target: {
1233
- type: MetricType | DimensionType;
1233
+ type: DimensionType | MetricType;
1234
1234
  fieldId: string;
1235
1235
  };
1236
1236
  id: string;
@@ -1248,7 +1248,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1248
1248
  and: ({
1249
1249
  values: (string | number | boolean | null)[];
1250
1250
  target: {
1251
- type: MetricType | DimensionType;
1251
+ type: DimensionType | MetricType;
1252
1252
  fieldId: string;
1253
1253
  };
1254
1254
  id: string;
@@ -1256,7 +1256,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1256
1256
  } | {
1257
1257
  values: (string | null)[];
1258
1258
  target: {
1259
- type: MetricType | DimensionType;
1259
+ type: DimensionType | MetricType;
1260
1260
  fieldId: string;
1261
1261
  };
1262
1262
  id: string;
@@ -1271,7 +1271,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1271
1271
  or: ({
1272
1272
  values: (string | number | boolean | null)[];
1273
1273
  target: {
1274
- type: MetricType | DimensionType;
1274
+ type: DimensionType | MetricType;
1275
1275
  fieldId: string;
1276
1276
  };
1277
1277
  id: string;
@@ -1279,7 +1279,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1279
1279
  } | {
1280
1280
  values: (string | null)[];
1281
1281
  target: {
1282
- type: MetricType | DimensionType;
1282
+ type: DimensionType | MetricType;
1283
1283
  fieldId: string;
1284
1284
  };
1285
1285
  id: string;
@@ -1297,7 +1297,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1297
1297
  and: ({
1298
1298
  values: (string | number | boolean | null)[];
1299
1299
  target: {
1300
- type: MetricType | DimensionType;
1300
+ type: DimensionType | MetricType;
1301
1301
  fieldId: string;
1302
1302
  };
1303
1303
  id: string;
@@ -1305,7 +1305,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1305
1305
  } | {
1306
1306
  values: (string | null)[];
1307
1307
  target: {
1308
- type: MetricType | DimensionType;
1308
+ type: DimensionType | MetricType;
1309
1309
  fieldId: string;
1310
1310
  };
1311
1311
  id: string;
@@ -1320,7 +1320,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1320
1320
  or: ({
1321
1321
  values: (string | number | boolean | null)[];
1322
1322
  target: {
1323
- type: MetricType | DimensionType;
1323
+ type: DimensionType | MetricType;
1324
1324
  fieldId: string;
1325
1325
  };
1326
1326
  id: string;
@@ -1328,7 +1328,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1328
1328
  } | {
1329
1329
  values: (string | null)[];
1330
1330
  target: {
1331
- type: MetricType | DimensionType;
1331
+ type: DimensionType | MetricType;
1332
1332
  fieldId: string;
1333
1333
  };
1334
1334
  id: string;
@@ -1363,10 +1363,10 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1363
1363
  fieldId: z.ZodString;
1364
1364
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
1365
1365
  }, "strip", z.ZodTypeAny, {
1366
- type: MetricType | DimensionType;
1366
+ type: DimensionType | MetricType;
1367
1367
  fieldId: string;
1368
1368
  }, {
1369
- type: MetricType | DimensionType;
1369
+ type: DimensionType | MetricType;
1370
1370
  fieldId: string;
1371
1371
  }>;
1372
1372
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -1374,7 +1374,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1374
1374
  }, "strip", z.ZodTypeAny, {
1375
1375
  values: (string | number | boolean | null)[];
1376
1376
  target: {
1377
- type: MetricType | DimensionType;
1377
+ type: DimensionType | MetricType;
1378
1378
  fieldId: string;
1379
1379
  };
1380
1380
  id: string;
@@ -1382,7 +1382,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1382
1382
  }, {
1383
1383
  values: (string | number | boolean | null)[];
1384
1384
  target: {
1385
- type: MetricType | DimensionType;
1385
+ type: DimensionType | MetricType;
1386
1386
  fieldId: string;
1387
1387
  };
1388
1388
  id: string;
@@ -1393,10 +1393,10 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1393
1393
  fieldId: z.ZodString;
1394
1394
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
1395
1395
  }, "strip", z.ZodTypeAny, {
1396
- type: MetricType | DimensionType;
1396
+ type: DimensionType | MetricType;
1397
1397
  fieldId: string;
1398
1398
  }, {
1399
- type: MetricType | DimensionType;
1399
+ type: DimensionType | MetricType;
1400
1400
  fieldId: string;
1401
1401
  }>;
1402
1402
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -1417,7 +1417,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1417
1417
  }>, "strip", z.ZodTypeAny, {
1418
1418
  values: (string | null)[];
1419
1419
  target: {
1420
- type: MetricType | DimensionType;
1420
+ type: DimensionType | MetricType;
1421
1421
  fieldId: string;
1422
1422
  };
1423
1423
  id: string;
@@ -1429,7 +1429,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1429
1429
  }, {
1430
1430
  values: (string | null)[];
1431
1431
  target: {
1432
- type: MetricType | DimensionType;
1432
+ type: DimensionType | MetricType;
1433
1433
  fieldId: string;
1434
1434
  };
1435
1435
  id: string;
@@ -1444,7 +1444,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1444
1444
  and: ({
1445
1445
  values: (string | number | boolean | null)[];
1446
1446
  target: {
1447
- type: MetricType | DimensionType;
1447
+ type: DimensionType | MetricType;
1448
1448
  fieldId: string;
1449
1449
  };
1450
1450
  id: string;
@@ -1452,7 +1452,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1452
1452
  } | {
1453
1453
  values: (string | null)[];
1454
1454
  target: {
1455
- type: MetricType | DimensionType;
1455
+ type: DimensionType | MetricType;
1456
1456
  fieldId: string;
1457
1457
  };
1458
1458
  id: string;
@@ -1467,7 +1467,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1467
1467
  and: ({
1468
1468
  values: (string | number | boolean | null)[];
1469
1469
  target: {
1470
- type: MetricType | DimensionType;
1470
+ type: DimensionType | MetricType;
1471
1471
  fieldId: string;
1472
1472
  };
1473
1473
  id: string;
@@ -1475,7 +1475,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1475
1475
  } | {
1476
1476
  values: (string | null)[];
1477
1477
  target: {
1478
- type: MetricType | DimensionType;
1478
+ type: DimensionType | MetricType;
1479
1479
  fieldId: string;
1480
1480
  };
1481
1481
  id: string;
@@ -1493,10 +1493,10 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1493
1493
  fieldId: z.ZodString;
1494
1494
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
1495
1495
  }, "strip", z.ZodTypeAny, {
1496
- type: MetricType | DimensionType;
1496
+ type: DimensionType | MetricType;
1497
1497
  fieldId: string;
1498
1498
  }, {
1499
- type: MetricType | DimensionType;
1499
+ type: DimensionType | MetricType;
1500
1500
  fieldId: string;
1501
1501
  }>;
1502
1502
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -1504,7 +1504,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1504
1504
  }, "strip", z.ZodTypeAny, {
1505
1505
  values: (string | number | boolean | null)[];
1506
1506
  target: {
1507
- type: MetricType | DimensionType;
1507
+ type: DimensionType | MetricType;
1508
1508
  fieldId: string;
1509
1509
  };
1510
1510
  id: string;
@@ -1512,7 +1512,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1512
1512
  }, {
1513
1513
  values: (string | number | boolean | null)[];
1514
1514
  target: {
1515
- type: MetricType | DimensionType;
1515
+ type: DimensionType | MetricType;
1516
1516
  fieldId: string;
1517
1517
  };
1518
1518
  id: string;
@@ -1523,10 +1523,10 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1523
1523
  fieldId: z.ZodString;
1524
1524
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
1525
1525
  }, "strip", z.ZodTypeAny, {
1526
- type: MetricType | DimensionType;
1526
+ type: DimensionType | MetricType;
1527
1527
  fieldId: string;
1528
1528
  }, {
1529
- type: MetricType | DimensionType;
1529
+ type: DimensionType | MetricType;
1530
1530
  fieldId: string;
1531
1531
  }>;
1532
1532
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -1547,7 +1547,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1547
1547
  }>, "strip", z.ZodTypeAny, {
1548
1548
  values: (string | null)[];
1549
1549
  target: {
1550
- type: MetricType | DimensionType;
1550
+ type: DimensionType | MetricType;
1551
1551
  fieldId: string;
1552
1552
  };
1553
1553
  id: string;
@@ -1559,7 +1559,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1559
1559
  }, {
1560
1560
  values: (string | null)[];
1561
1561
  target: {
1562
- type: MetricType | DimensionType;
1562
+ type: DimensionType | MetricType;
1563
1563
  fieldId: string;
1564
1564
  };
1565
1565
  id: string;
@@ -1574,7 +1574,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1574
1574
  or: ({
1575
1575
  values: (string | number | boolean | null)[];
1576
1576
  target: {
1577
- type: MetricType | DimensionType;
1577
+ type: DimensionType | MetricType;
1578
1578
  fieldId: string;
1579
1579
  };
1580
1580
  id: string;
@@ -1582,7 +1582,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1582
1582
  } | {
1583
1583
  values: (string | null)[];
1584
1584
  target: {
1585
- type: MetricType | DimensionType;
1585
+ type: DimensionType | MetricType;
1586
1586
  fieldId: string;
1587
1587
  };
1588
1588
  id: string;
@@ -1597,7 +1597,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1597
1597
  or: ({
1598
1598
  values: (string | number | boolean | null)[];
1599
1599
  target: {
1600
- type: MetricType | DimensionType;
1600
+ type: DimensionType | MetricType;
1601
1601
  fieldId: string;
1602
1602
  };
1603
1603
  id: string;
@@ -1605,7 +1605,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1605
1605
  } | {
1606
1606
  values: (string | null)[];
1607
1607
  target: {
1608
- type: MetricType | DimensionType;
1608
+ type: DimensionType | MetricType;
1609
1609
  fieldId: string;
1610
1610
  };
1611
1611
  id: string;
@@ -1624,10 +1624,10 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1624
1624
  fieldId: z.ZodString;
1625
1625
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
1626
1626
  }, "strip", z.ZodTypeAny, {
1627
- type: MetricType | DimensionType;
1627
+ type: DimensionType | MetricType;
1628
1628
  fieldId: string;
1629
1629
  }, {
1630
- type: MetricType | DimensionType;
1630
+ type: DimensionType | MetricType;
1631
1631
  fieldId: string;
1632
1632
  }>;
1633
1633
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -1635,7 +1635,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1635
1635
  }, "strip", z.ZodTypeAny, {
1636
1636
  values: (string | number | boolean | null)[];
1637
1637
  target: {
1638
- type: MetricType | DimensionType;
1638
+ type: DimensionType | MetricType;
1639
1639
  fieldId: string;
1640
1640
  };
1641
1641
  id: string;
@@ -1643,7 +1643,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1643
1643
  }, {
1644
1644
  values: (string | number | boolean | null)[];
1645
1645
  target: {
1646
- type: MetricType | DimensionType;
1646
+ type: DimensionType | MetricType;
1647
1647
  fieldId: string;
1648
1648
  };
1649
1649
  id: string;
@@ -1654,10 +1654,10 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1654
1654
  fieldId: z.ZodString;
1655
1655
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
1656
1656
  }, "strip", z.ZodTypeAny, {
1657
- type: MetricType | DimensionType;
1657
+ type: DimensionType | MetricType;
1658
1658
  fieldId: string;
1659
1659
  }, {
1660
- type: MetricType | DimensionType;
1660
+ type: DimensionType | MetricType;
1661
1661
  fieldId: string;
1662
1662
  }>;
1663
1663
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -1678,7 +1678,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1678
1678
  }>, "strip", z.ZodTypeAny, {
1679
1679
  values: (string | null)[];
1680
1680
  target: {
1681
- type: MetricType | DimensionType;
1681
+ type: DimensionType | MetricType;
1682
1682
  fieldId: string;
1683
1683
  };
1684
1684
  id: string;
@@ -1690,7 +1690,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1690
1690
  }, {
1691
1691
  values: (string | null)[];
1692
1692
  target: {
1693
- type: MetricType | DimensionType;
1693
+ type: DimensionType | MetricType;
1694
1694
  fieldId: string;
1695
1695
  };
1696
1696
  id: string;
@@ -1705,7 +1705,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1705
1705
  and: ({
1706
1706
  values: (string | number | boolean | null)[];
1707
1707
  target: {
1708
- type: MetricType | DimensionType;
1708
+ type: DimensionType | MetricType;
1709
1709
  fieldId: string;
1710
1710
  };
1711
1711
  id: string;
@@ -1713,7 +1713,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1713
1713
  } | {
1714
1714
  values: (string | null)[];
1715
1715
  target: {
1716
- type: MetricType | DimensionType;
1716
+ type: DimensionType | MetricType;
1717
1717
  fieldId: string;
1718
1718
  };
1719
1719
  id: string;
@@ -1728,7 +1728,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1728
1728
  and: ({
1729
1729
  values: (string | number | boolean | null)[];
1730
1730
  target: {
1731
- type: MetricType | DimensionType;
1731
+ type: DimensionType | MetricType;
1732
1732
  fieldId: string;
1733
1733
  };
1734
1734
  id: string;
@@ -1736,7 +1736,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1736
1736
  } | {
1737
1737
  values: (string | null)[];
1738
1738
  target: {
1739
- type: MetricType | DimensionType;
1739
+ type: DimensionType | MetricType;
1740
1740
  fieldId: string;
1741
1741
  };
1742
1742
  id: string;
@@ -1754,10 +1754,10 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1754
1754
  fieldId: z.ZodString;
1755
1755
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
1756
1756
  }, "strip", z.ZodTypeAny, {
1757
- type: MetricType | DimensionType;
1757
+ type: DimensionType | MetricType;
1758
1758
  fieldId: string;
1759
1759
  }, {
1760
- type: MetricType | DimensionType;
1760
+ type: DimensionType | MetricType;
1761
1761
  fieldId: string;
1762
1762
  }>;
1763
1763
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -1765,7 +1765,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1765
1765
  }, "strip", z.ZodTypeAny, {
1766
1766
  values: (string | number | boolean | null)[];
1767
1767
  target: {
1768
- type: MetricType | DimensionType;
1768
+ type: DimensionType | MetricType;
1769
1769
  fieldId: string;
1770
1770
  };
1771
1771
  id: string;
@@ -1773,7 +1773,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1773
1773
  }, {
1774
1774
  values: (string | number | boolean | null)[];
1775
1775
  target: {
1776
- type: MetricType | DimensionType;
1776
+ type: DimensionType | MetricType;
1777
1777
  fieldId: string;
1778
1778
  };
1779
1779
  id: string;
@@ -1784,10 +1784,10 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1784
1784
  fieldId: z.ZodString;
1785
1785
  type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<DimensionType.BOOLEAN>, z.ZodLiteral<DimensionType.DATE>, z.ZodLiteral<DimensionType.NUMBER>, z.ZodLiteral<DimensionType.STRING>, z.ZodLiteral<DimensionType.TIMESTAMP>]>, z.ZodUnion<[z.ZodLiteral<MetricType.PERCENTILE>, z.ZodLiteral<MetricType.AVERAGE>, z.ZodLiteral<MetricType.COUNT>, z.ZodLiteral<MetricType.COUNT_DISTINCT>, z.ZodLiteral<MetricType.SUM>, z.ZodLiteral<MetricType.MIN>, z.ZodLiteral<MetricType.MAX>, z.ZodLiteral<MetricType.NUMBER>, z.ZodLiteral<MetricType.MEDIAN>, z.ZodLiteral<MetricType.STRING>, z.ZodLiteral<MetricType.DATE>, z.ZodLiteral<MetricType.TIMESTAMP>, z.ZodLiteral<MetricType.BOOLEAN>]>]>;
1786
1786
  }, "strip", z.ZodTypeAny, {
1787
- type: MetricType | DimensionType;
1787
+ type: DimensionType | MetricType;
1788
1788
  fieldId: string;
1789
1789
  }, {
1790
- type: MetricType | DimensionType;
1790
+ type: DimensionType | MetricType;
1791
1791
  fieldId: string;
1792
1792
  }>;
1793
1793
  operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.NULL>, z.ZodLiteral<ConditionalOperator.NOT_NULL>, z.ZodLiteral<ConditionalOperator.EQUALS>, z.ZodLiteral<ConditionalOperator.NOT_EQUALS>, z.ZodLiteral<ConditionalOperator.STARTS_WITH>, z.ZodLiteral<ConditionalOperator.ENDS_WITH>, z.ZodLiteral<ConditionalOperator.INCLUDE>, z.ZodLiteral<ConditionalOperator.NOT_INCLUDE>, z.ZodLiteral<ConditionalOperator.LESS_THAN>, z.ZodLiteral<ConditionalOperator.LESS_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.GREATER_THAN>, z.ZodLiteral<ConditionalOperator.GREATER_THAN_OR_EQUAL>, z.ZodLiteral<ConditionalOperator.IN_BETWEEN>]>;
@@ -1808,7 +1808,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1808
1808
  }>, "strip", z.ZodTypeAny, {
1809
1809
  values: (string | null)[];
1810
1810
  target: {
1811
- type: MetricType | DimensionType;
1811
+ type: DimensionType | MetricType;
1812
1812
  fieldId: string;
1813
1813
  };
1814
1814
  id: string;
@@ -1820,7 +1820,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1820
1820
  }, {
1821
1821
  values: (string | null)[];
1822
1822
  target: {
1823
- type: MetricType | DimensionType;
1823
+ type: DimensionType | MetricType;
1824
1824
  fieldId: string;
1825
1825
  };
1826
1826
  id: string;
@@ -1835,7 +1835,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1835
1835
  or: ({
1836
1836
  values: (string | number | boolean | null)[];
1837
1837
  target: {
1838
- type: MetricType | DimensionType;
1838
+ type: DimensionType | MetricType;
1839
1839
  fieldId: string;
1840
1840
  };
1841
1841
  id: string;
@@ -1843,7 +1843,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1843
1843
  } | {
1844
1844
  values: (string | null)[];
1845
1845
  target: {
1846
- type: MetricType | DimensionType;
1846
+ type: DimensionType | MetricType;
1847
1847
  fieldId: string;
1848
1848
  };
1849
1849
  id: string;
@@ -1858,7 +1858,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1858
1858
  or: ({
1859
1859
  values: (string | number | boolean | null)[];
1860
1860
  target: {
1861
- type: MetricType | DimensionType;
1861
+ type: DimensionType | MetricType;
1862
1862
  fieldId: string;
1863
1863
  };
1864
1864
  id: string;
@@ -1866,7 +1866,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1866
1866
  } | {
1867
1867
  values: (string | null)[];
1868
1868
  target: {
1869
- type: MetricType | DimensionType;
1869
+ type: DimensionType | MetricType;
1870
1870
  fieldId: string;
1871
1871
  };
1872
1872
  id: string;
@@ -1883,7 +1883,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1883
1883
  and: ({
1884
1884
  values: (string | number | boolean | null)[];
1885
1885
  target: {
1886
- type: MetricType | DimensionType;
1886
+ type: DimensionType | MetricType;
1887
1887
  fieldId: string;
1888
1888
  };
1889
1889
  id: string;
@@ -1891,7 +1891,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1891
1891
  } | {
1892
1892
  values: (string | null)[];
1893
1893
  target: {
1894
- type: MetricType | DimensionType;
1894
+ type: DimensionType | MetricType;
1895
1895
  fieldId: string;
1896
1896
  };
1897
1897
  id: string;
@@ -1906,7 +1906,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1906
1906
  or: ({
1907
1907
  values: (string | number | boolean | null)[];
1908
1908
  target: {
1909
- type: MetricType | DimensionType;
1909
+ type: DimensionType | MetricType;
1910
1910
  fieldId: string;
1911
1911
  };
1912
1912
  id: string;
@@ -1914,7 +1914,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1914
1914
  } | {
1915
1915
  values: (string | null)[];
1916
1916
  target: {
1917
- type: MetricType | DimensionType;
1917
+ type: DimensionType | MetricType;
1918
1918
  fieldId: string;
1919
1919
  };
1920
1920
  id: string;
@@ -1930,7 +1930,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1930
1930
  and: ({
1931
1931
  values: (string | number | boolean | null)[];
1932
1932
  target: {
1933
- type: MetricType | DimensionType;
1933
+ type: DimensionType | MetricType;
1934
1934
  fieldId: string;
1935
1935
  };
1936
1936
  id: string;
@@ -1938,7 +1938,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1938
1938
  } | {
1939
1939
  values: (string | null)[];
1940
1940
  target: {
1941
- type: MetricType | DimensionType;
1941
+ type: DimensionType | MetricType;
1942
1942
  fieldId: string;
1943
1943
  };
1944
1944
  id: string;
@@ -1953,7 +1953,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1953
1953
  or: ({
1954
1954
  values: (string | number | boolean | null)[];
1955
1955
  target: {
1956
- type: MetricType | DimensionType;
1956
+ type: DimensionType | MetricType;
1957
1957
  fieldId: string;
1958
1958
  };
1959
1959
  id: string;
@@ -1961,7 +1961,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1961
1961
  } | {
1962
1962
  values: (string | null)[];
1963
1963
  target: {
1964
- type: MetricType | DimensionType;
1964
+ type: DimensionType | MetricType;
1965
1965
  fieldId: string;
1966
1966
  };
1967
1967
  id: string;
@@ -1978,7 +1978,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1978
1978
  and: ({
1979
1979
  values: (string | number | boolean | null)[];
1980
1980
  target: {
1981
- type: MetricType | DimensionType;
1981
+ type: DimensionType | MetricType;
1982
1982
  fieldId: string;
1983
1983
  };
1984
1984
  id: string;
@@ -1986,7 +1986,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1986
1986
  } | {
1987
1987
  values: (string | null)[];
1988
1988
  target: {
1989
- type: MetricType | DimensionType;
1989
+ type: DimensionType | MetricType;
1990
1990
  fieldId: string;
1991
1991
  };
1992
1992
  id: string;
@@ -2001,7 +2001,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2001
2001
  or: ({
2002
2002
  values: (string | number | boolean | null)[];
2003
2003
  target: {
2004
- type: MetricType | DimensionType;
2004
+ type: DimensionType | MetricType;
2005
2005
  fieldId: string;
2006
2006
  };
2007
2007
  id: string;
@@ -2009,7 +2009,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2009
2009
  } | {
2010
2010
  values: (string | null)[];
2011
2011
  target: {
2012
- type: MetricType | DimensionType;
2012
+ type: DimensionType | MetricType;
2013
2013
  fieldId: string;
2014
2014
  };
2015
2015
  id: string;
@@ -2025,7 +2025,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2025
2025
  and: ({
2026
2026
  values: (string | number | boolean | null)[];
2027
2027
  target: {
2028
- type: MetricType | DimensionType;
2028
+ type: DimensionType | MetricType;
2029
2029
  fieldId: string;
2030
2030
  };
2031
2031
  id: string;
@@ -2033,7 +2033,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2033
2033
  } | {
2034
2034
  values: (string | null)[];
2035
2035
  target: {
2036
- type: MetricType | DimensionType;
2036
+ type: DimensionType | MetricType;
2037
2037
  fieldId: string;
2038
2038
  };
2039
2039
  id: string;
@@ -2048,7 +2048,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2048
2048
  or: ({
2049
2049
  values: (string | number | boolean | null)[];
2050
2050
  target: {
2051
- type: MetricType | DimensionType;
2051
+ type: DimensionType | MetricType;
2052
2052
  fieldId: string;
2053
2053
  };
2054
2054
  id: string;
@@ -2056,7 +2056,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2056
2056
  } | {
2057
2057
  values: (string | null)[];
2058
2058
  target: {
2059
- type: MetricType | DimensionType;
2059
+ type: DimensionType | MetricType;
2060
2060
  fieldId: string;
2061
2061
  };
2062
2062
  id: string;
@@ -2086,7 +2086,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2086
2086
  and: ({
2087
2087
  values: (string | number | boolean | null)[];
2088
2088
  target: {
2089
- type: MetricType | DimensionType;
2089
+ type: DimensionType | MetricType;
2090
2090
  fieldId: string;
2091
2091
  };
2092
2092
  id: string;
@@ -2094,7 +2094,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2094
2094
  } | {
2095
2095
  values: (string | null)[];
2096
2096
  target: {
2097
- type: MetricType | DimensionType;
2097
+ type: DimensionType | MetricType;
2098
2098
  fieldId: string;
2099
2099
  };
2100
2100
  id: string;
@@ -2109,7 +2109,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2109
2109
  or: ({
2110
2110
  values: (string | number | boolean | null)[];
2111
2111
  target: {
2112
- type: MetricType | DimensionType;
2112
+ type: DimensionType | MetricType;
2113
2113
  fieldId: string;
2114
2114
  };
2115
2115
  id: string;
@@ -2117,7 +2117,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2117
2117
  } | {
2118
2118
  values: (string | null)[];
2119
2119
  target: {
2120
- type: MetricType | DimensionType;
2120
+ type: DimensionType | MetricType;
2121
2121
  fieldId: string;
2122
2122
  };
2123
2123
  id: string;
@@ -2133,7 +2133,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2133
2133
  and: ({
2134
2134
  values: (string | number | boolean | null)[];
2135
2135
  target: {
2136
- type: MetricType | DimensionType;
2136
+ type: DimensionType | MetricType;
2137
2137
  fieldId: string;
2138
2138
  };
2139
2139
  id: string;
@@ -2141,7 +2141,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2141
2141
  } | {
2142
2142
  values: (string | null)[];
2143
2143
  target: {
2144
- type: MetricType | DimensionType;
2144
+ type: DimensionType | MetricType;
2145
2145
  fieldId: string;
2146
2146
  };
2147
2147
  id: string;
@@ -2156,7 +2156,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2156
2156
  or: ({
2157
2157
  values: (string | number | boolean | null)[];
2158
2158
  target: {
2159
- type: MetricType | DimensionType;
2159
+ type: DimensionType | MetricType;
2160
2160
  fieldId: string;
2161
2161
  };
2162
2162
  id: string;
@@ -2164,7 +2164,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2164
2164
  } | {
2165
2165
  values: (string | null)[];
2166
2166
  target: {
2167
- type: MetricType | DimensionType;
2167
+ type: DimensionType | MetricType;
2168
2168
  fieldId: string;
2169
2169
  };
2170
2170
  id: string;
@@ -2191,7 +2191,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2191
2191
  and: ({
2192
2192
  values: (string | number | boolean | null)[];
2193
2193
  target: {
2194
- type: MetricType | DimensionType;
2194
+ type: DimensionType | MetricType;
2195
2195
  fieldId: string;
2196
2196
  };
2197
2197
  id: string;
@@ -2199,7 +2199,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2199
2199
  } | {
2200
2200
  values: (string | null)[];
2201
2201
  target: {
2202
- type: MetricType | DimensionType;
2202
+ type: DimensionType | MetricType;
2203
2203
  fieldId: string;
2204
2204
  };
2205
2205
  id: string;
@@ -2214,7 +2214,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2214
2214
  or: ({
2215
2215
  values: (string | number | boolean | null)[];
2216
2216
  target: {
2217
- type: MetricType | DimensionType;
2217
+ type: DimensionType | MetricType;
2218
2218
  fieldId: string;
2219
2219
  };
2220
2220
  id: string;
@@ -2222,7 +2222,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2222
2222
  } | {
2223
2223
  values: (string | null)[];
2224
2224
  target: {
2225
- type: MetricType | DimensionType;
2225
+ type: DimensionType | MetricType;
2226
2226
  fieldId: string;
2227
2227
  };
2228
2228
  id: string;
@@ -2238,7 +2238,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2238
2238
  and: ({
2239
2239
  values: (string | number | boolean | null)[];
2240
2240
  target: {
2241
- type: MetricType | DimensionType;
2241
+ type: DimensionType | MetricType;
2242
2242
  fieldId: string;
2243
2243
  };
2244
2244
  id: string;
@@ -2246,7 +2246,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2246
2246
  } | {
2247
2247
  values: (string | null)[];
2248
2248
  target: {
2249
- type: MetricType | DimensionType;
2249
+ type: DimensionType | MetricType;
2250
2250
  fieldId: string;
2251
2251
  };
2252
2252
  id: string;
@@ -2261,7 +2261,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2261
2261
  or: ({
2262
2262
  values: (string | number | boolean | null)[];
2263
2263
  target: {
2264
- type: MetricType | DimensionType;
2264
+ type: DimensionType | MetricType;
2265
2265
  fieldId: string;
2266
2266
  };
2267
2267
  id: string;
@@ -2269,7 +2269,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2269
2269
  } | {
2270
2270
  values: (string | null)[];
2271
2271
  target: {
2272
- type: MetricType | DimensionType;
2272
+ type: DimensionType | MetricType;
2273
2273
  fieldId: string;
2274
2274
  };
2275
2275
  id: string;