@lightdash/common 0.1635.0 → 0.1636.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 (65) hide show
  1. package/dist/cjs/compiler/translator.d.ts.map +1 -1
  2. package/dist/cjs/compiler/translator.js +1 -1
  3. package/dist/cjs/compiler/translator.js.map +1 -1
  4. package/dist/cjs/ee/Ai/schemas.d.ts +152 -152
  5. package/dist/cjs/types/filter.d.ts +8 -0
  6. package/dist/cjs/types/filter.d.ts.map +1 -1
  7. package/dist/cjs/types/filter.js +3 -1
  8. package/dist/cjs/types/filter.js.map +1 -1
  9. package/dist/cjs/types/filterGrammar.d.ts +2 -1
  10. package/dist/cjs/types/filterGrammar.d.ts.map +1 -1
  11. package/dist/cjs/types/filterGrammar.js +67 -1
  12. package/dist/cjs/types/filterGrammar.js.map +1 -1
  13. package/dist/cjs/types/table.d.ts +2 -2
  14. package/dist/cjs/types/table.d.ts.map +1 -1
  15. package/dist/cjs/utils/filters.d.ts +4 -4
  16. package/dist/cjs/utils/filters.d.ts.map +1 -1
  17. package/dist/cjs/utils/filters.js +24 -11
  18. package/dist/cjs/utils/filters.js.map +1 -1
  19. package/dist/cjs/utils/filters.mock.d.ts +6 -3
  20. package/dist/cjs/utils/filters.mock.d.ts.map +1 -1
  21. package/dist/cjs/utils/filters.mock.js +154 -3
  22. package/dist/cjs/utils/filters.mock.js.map +1 -1
  23. package/dist/cjs/utils/filters.test.js +11 -93
  24. package/dist/cjs/utils/filters.test.js.map +1 -1
  25. package/dist/cjs/utils/item.d.ts +1 -1
  26. package/dist/esm/compiler/translator.d.ts.map +1 -1
  27. package/dist/esm/compiler/translator.js +2 -2
  28. package/dist/esm/compiler/translator.js.map +1 -1
  29. package/dist/esm/ee/Ai/schemas.d.ts +152 -152
  30. package/dist/esm/types/filter.d.ts +8 -0
  31. package/dist/esm/types/filter.d.ts.map +1 -1
  32. package/dist/esm/types/filter.js +1 -0
  33. package/dist/esm/types/filter.js.map +1 -1
  34. package/dist/esm/types/filterGrammar.d.ts +2 -1
  35. package/dist/esm/types/filterGrammar.d.ts.map +1 -1
  36. package/dist/esm/types/filterGrammar.js +66 -1
  37. package/dist/esm/types/filterGrammar.js.map +1 -1
  38. package/dist/esm/types/table.d.ts +2 -2
  39. package/dist/esm/types/table.d.ts.map +1 -1
  40. package/dist/esm/utils/filters.d.ts +4 -4
  41. package/dist/esm/utils/filters.d.ts.map +1 -1
  42. package/dist/esm/utils/filters.js +23 -10
  43. package/dist/esm/utils/filters.js.map +1 -1
  44. package/dist/esm/utils/filters.mock.d.ts +6 -3
  45. package/dist/esm/utils/filters.mock.d.ts.map +1 -1
  46. package/dist/esm/utils/filters.mock.js +151 -1
  47. package/dist/esm/utils/filters.mock.js.map +1 -1
  48. package/dist/esm/utils/filters.test.js +9 -91
  49. package/dist/esm/utils/filters.test.js.map +1 -1
  50. package/dist/esm/utils/item.d.ts +1 -1
  51. package/dist/tsconfig.types.tsbuildinfo +1 -1
  52. package/dist/types/compiler/translator.d.ts.map +1 -1
  53. package/dist/types/ee/Ai/schemas.d.ts +152 -152
  54. package/dist/types/types/filter.d.ts +8 -0
  55. package/dist/types/types/filter.d.ts.map +1 -1
  56. package/dist/types/types/filterGrammar.d.ts +2 -1
  57. package/dist/types/types/filterGrammar.d.ts.map +1 -1
  58. package/dist/types/types/table.d.ts +2 -2
  59. package/dist/types/types/table.d.ts.map +1 -1
  60. package/dist/types/utils/filters.d.ts +4 -4
  61. package/dist/types/utils/filters.d.ts.map +1 -1
  62. package/dist/types/utils/filters.mock.d.ts +6 -3
  63. package/dist/types/utils/filters.mock.d.ts.map +1 -1
  64. package/dist/types/utils/item.d.ts +1 -1
  65. package/package.json +1 -1
@@ -21,19 +21,19 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
21
21
  values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  values: (string | number | boolean | null)[];
24
- id: string;
25
24
  target: {
26
25
  type: MetricType | DimensionType;
27
26
  fieldId: string;
28
27
  };
28
+ id: string;
29
29
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
30
30
  }, {
31
31
  values: (string | number | boolean | null)[];
32
- id: string;
33
32
  target: {
34
33
  type: MetricType | DimensionType;
35
34
  fieldId: string;
36
35
  };
36
+ id: string;
37
37
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
38
38
  }>, z.ZodObject<z.objectUtil.extendShape<{
39
39
  id: z.ZodString;
@@ -64,11 +64,11 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
64
64
  }>;
65
65
  }>, "strip", z.ZodTypeAny, {
66
66
  values: (string | null)[];
67
- id: string;
68
67
  target: {
69
68
  type: MetricType | DimensionType;
70
69
  fieldId: string;
71
70
  };
71
+ id: string;
72
72
  settings: {
73
73
  completed: boolean;
74
74
  unitOfTime: UnitOfTime;
@@ -76,11 +76,11 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
76
76
  operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
77
77
  }, {
78
78
  values: (string | null)[];
79
- id: string;
80
79
  target: {
81
80
  type: MetricType | DimensionType;
82
81
  fieldId: string;
83
82
  };
83
+ id: string;
84
84
  settings: {
85
85
  completed: boolean;
86
86
  unitOfTime: UnitOfTime;
@@ -91,19 +91,19 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
91
91
  id: string;
92
92
  and: ({
93
93
  values: (string | number | boolean | null)[];
94
- id: string;
95
94
  target: {
96
95
  type: MetricType | DimensionType;
97
96
  fieldId: string;
98
97
  };
98
+ id: string;
99
99
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
100
100
  } | {
101
101
  values: (string | null)[];
102
- id: string;
103
102
  target: {
104
103
  type: MetricType | DimensionType;
105
104
  fieldId: string;
106
105
  };
106
+ id: string;
107
107
  settings: {
108
108
  completed: boolean;
109
109
  unitOfTime: UnitOfTime;
@@ -114,19 +114,19 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
114
114
  id: string;
115
115
  and: ({
116
116
  values: (string | number | boolean | null)[];
117
- id: string;
118
117
  target: {
119
118
  type: MetricType | DimensionType;
120
119
  fieldId: string;
121
120
  };
121
+ id: string;
122
122
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
123
123
  } | {
124
124
  values: (string | null)[];
125
- id: string;
126
125
  target: {
127
126
  type: MetricType | DimensionType;
128
127
  fieldId: string;
129
128
  };
129
+ id: string;
130
130
  settings: {
131
131
  completed: boolean;
132
132
  unitOfTime: UnitOfTime;
@@ -151,19 +151,19 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
151
151
  values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
152
152
  }, "strip", z.ZodTypeAny, {
153
153
  values: (string | number | boolean | null)[];
154
- id: string;
155
154
  target: {
156
155
  type: MetricType | DimensionType;
157
156
  fieldId: string;
158
157
  };
158
+ id: string;
159
159
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
160
160
  }, {
161
161
  values: (string | number | boolean | null)[];
162
- id: string;
163
162
  target: {
164
163
  type: MetricType | DimensionType;
165
164
  fieldId: string;
166
165
  };
166
+ id: string;
167
167
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
168
168
  }>, z.ZodObject<z.objectUtil.extendShape<{
169
169
  id: z.ZodString;
@@ -194,11 +194,11 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
194
194
  }>;
195
195
  }>, "strip", z.ZodTypeAny, {
196
196
  values: (string | null)[];
197
- id: string;
198
197
  target: {
199
198
  type: MetricType | DimensionType;
200
199
  fieldId: string;
201
200
  };
201
+ id: string;
202
202
  settings: {
203
203
  completed: boolean;
204
204
  unitOfTime: UnitOfTime;
@@ -206,11 +206,11 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
206
206
  operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
207
207
  }, {
208
208
  values: (string | null)[];
209
- id: string;
210
209
  target: {
211
210
  type: MetricType | DimensionType;
212
211
  fieldId: string;
213
212
  };
213
+ id: string;
214
214
  settings: {
215
215
  completed: boolean;
216
216
  unitOfTime: UnitOfTime;
@@ -221,19 +221,19 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
221
221
  id: string;
222
222
  or: ({
223
223
  values: (string | number | boolean | null)[];
224
- id: string;
225
224
  target: {
226
225
  type: MetricType | DimensionType;
227
226
  fieldId: string;
228
227
  };
228
+ id: string;
229
229
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
230
230
  } | {
231
231
  values: (string | null)[];
232
- id: string;
233
232
  target: {
234
233
  type: MetricType | DimensionType;
235
234
  fieldId: string;
236
235
  };
236
+ id: string;
237
237
  settings: {
238
238
  completed: boolean;
239
239
  unitOfTime: UnitOfTime;
@@ -244,19 +244,19 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
244
244
  id: string;
245
245
  or: ({
246
246
  values: (string | number | boolean | null)[];
247
- id: string;
248
247
  target: {
249
248
  type: MetricType | DimensionType;
250
249
  fieldId: string;
251
250
  };
251
+ id: string;
252
252
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
253
253
  } | {
254
254
  values: (string | null)[];
255
- id: string;
256
255
  target: {
257
256
  type: MetricType | DimensionType;
258
257
  fieldId: string;
259
258
  };
259
+ id: string;
260
260
  settings: {
261
261
  completed: boolean;
262
262
  unitOfTime: UnitOfTime;
@@ -283,19 +283,19 @@ export declare const FilterSchema: z.ZodObject<{
283
283
  values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
284
284
  }, "strip", z.ZodTypeAny, {
285
285
  values: (string | number | boolean | null)[];
286
- id: string;
287
286
  target: {
288
287
  type: MetricType | DimensionType;
289
288
  fieldId: string;
290
289
  };
290
+ id: string;
291
291
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
292
292
  }, {
293
293
  values: (string | number | boolean | null)[];
294
- id: string;
295
294
  target: {
296
295
  type: MetricType | DimensionType;
297
296
  fieldId: string;
298
297
  };
298
+ id: string;
299
299
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
300
300
  }>, z.ZodObject<z.objectUtil.extendShape<{
301
301
  id: z.ZodString;
@@ -326,11 +326,11 @@ export declare const FilterSchema: z.ZodObject<{
326
326
  }>;
327
327
  }>, "strip", z.ZodTypeAny, {
328
328
  values: (string | null)[];
329
- id: string;
330
329
  target: {
331
330
  type: MetricType | DimensionType;
332
331
  fieldId: string;
333
332
  };
333
+ id: string;
334
334
  settings: {
335
335
  completed: boolean;
336
336
  unitOfTime: UnitOfTime;
@@ -338,11 +338,11 @@ export declare const FilterSchema: z.ZodObject<{
338
338
  operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
339
339
  }, {
340
340
  values: (string | null)[];
341
- id: string;
342
341
  target: {
343
342
  type: MetricType | DimensionType;
344
343
  fieldId: string;
345
344
  };
345
+ id: string;
346
346
  settings: {
347
347
  completed: boolean;
348
348
  unitOfTime: UnitOfTime;
@@ -353,19 +353,19 @@ export declare const FilterSchema: z.ZodObject<{
353
353
  id: string;
354
354
  and: ({
355
355
  values: (string | number | boolean | null)[];
356
- id: string;
357
356
  target: {
358
357
  type: MetricType | DimensionType;
359
358
  fieldId: string;
360
359
  };
360
+ id: string;
361
361
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
362
362
  } | {
363
363
  values: (string | null)[];
364
- id: string;
365
364
  target: {
366
365
  type: MetricType | DimensionType;
367
366
  fieldId: string;
368
367
  };
368
+ id: string;
369
369
  settings: {
370
370
  completed: boolean;
371
371
  unitOfTime: UnitOfTime;
@@ -376,19 +376,19 @@ export declare const FilterSchema: z.ZodObject<{
376
376
  id: string;
377
377
  and: ({
378
378
  values: (string | number | boolean | null)[];
379
- id: string;
380
379
  target: {
381
380
  type: MetricType | DimensionType;
382
381
  fieldId: string;
383
382
  };
383
+ id: string;
384
384
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
385
385
  } | {
386
386
  values: (string | null)[];
387
- id: string;
388
387
  target: {
389
388
  type: MetricType | DimensionType;
390
389
  fieldId: string;
391
390
  };
391
+ id: string;
392
392
  settings: {
393
393
  completed: boolean;
394
394
  unitOfTime: UnitOfTime;
@@ -413,19 +413,19 @@ export declare const FilterSchema: z.ZodObject<{
413
413
  values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
414
414
  }, "strip", z.ZodTypeAny, {
415
415
  values: (string | number | boolean | null)[];
416
- id: string;
417
416
  target: {
418
417
  type: MetricType | DimensionType;
419
418
  fieldId: string;
420
419
  };
420
+ id: string;
421
421
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
422
422
  }, {
423
423
  values: (string | number | boolean | null)[];
424
- id: string;
425
424
  target: {
426
425
  type: MetricType | DimensionType;
427
426
  fieldId: string;
428
427
  };
428
+ id: string;
429
429
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
430
430
  }>, z.ZodObject<z.objectUtil.extendShape<{
431
431
  id: z.ZodString;
@@ -456,11 +456,11 @@ export declare const FilterSchema: z.ZodObject<{
456
456
  }>;
457
457
  }>, "strip", z.ZodTypeAny, {
458
458
  values: (string | null)[];
459
- id: string;
460
459
  target: {
461
460
  type: MetricType | DimensionType;
462
461
  fieldId: string;
463
462
  };
463
+ id: string;
464
464
  settings: {
465
465
  completed: boolean;
466
466
  unitOfTime: UnitOfTime;
@@ -468,11 +468,11 @@ export declare const FilterSchema: z.ZodObject<{
468
468
  operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
469
469
  }, {
470
470
  values: (string | null)[];
471
- id: string;
472
471
  target: {
473
472
  type: MetricType | DimensionType;
474
473
  fieldId: string;
475
474
  };
475
+ id: string;
476
476
  settings: {
477
477
  completed: boolean;
478
478
  unitOfTime: UnitOfTime;
@@ -483,19 +483,19 @@ export declare const FilterSchema: z.ZodObject<{
483
483
  id: string;
484
484
  or: ({
485
485
  values: (string | number | boolean | null)[];
486
- id: string;
487
486
  target: {
488
487
  type: MetricType | DimensionType;
489
488
  fieldId: string;
490
489
  };
490
+ id: string;
491
491
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
492
492
  } | {
493
493
  values: (string | null)[];
494
- id: string;
495
494
  target: {
496
495
  type: MetricType | DimensionType;
497
496
  fieldId: string;
498
497
  };
498
+ id: string;
499
499
  settings: {
500
500
  completed: boolean;
501
501
  unitOfTime: UnitOfTime;
@@ -506,19 +506,19 @@ export declare const FilterSchema: z.ZodObject<{
506
506
  id: string;
507
507
  or: ({
508
508
  values: (string | number | boolean | null)[];
509
- id: string;
510
509
  target: {
511
510
  type: MetricType | DimensionType;
512
511
  fieldId: string;
513
512
  };
513
+ id: string;
514
514
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
515
515
  } | {
516
516
  values: (string | null)[];
517
- id: string;
518
517
  target: {
519
518
  type: MetricType | DimensionType;
520
519
  fieldId: string;
521
520
  };
521
+ id: string;
522
522
  settings: {
523
523
  completed: boolean;
524
524
  unitOfTime: UnitOfTime;
@@ -544,19 +544,19 @@ export declare const FilterSchema: z.ZodObject<{
544
544
  values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
545
545
  }, "strip", z.ZodTypeAny, {
546
546
  values: (string | number | boolean | null)[];
547
- id: string;
548
547
  target: {
549
548
  type: MetricType | DimensionType;
550
549
  fieldId: string;
551
550
  };
551
+ id: string;
552
552
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
553
553
  }, {
554
554
  values: (string | number | boolean | null)[];
555
- id: string;
556
555
  target: {
557
556
  type: MetricType | DimensionType;
558
557
  fieldId: string;
559
558
  };
559
+ id: string;
560
560
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
561
561
  }>, z.ZodObject<z.objectUtil.extendShape<{
562
562
  id: z.ZodString;
@@ -587,11 +587,11 @@ export declare const FilterSchema: z.ZodObject<{
587
587
  }>;
588
588
  }>, "strip", z.ZodTypeAny, {
589
589
  values: (string | null)[];
590
- id: string;
591
590
  target: {
592
591
  type: MetricType | DimensionType;
593
592
  fieldId: string;
594
593
  };
594
+ id: string;
595
595
  settings: {
596
596
  completed: boolean;
597
597
  unitOfTime: UnitOfTime;
@@ -599,11 +599,11 @@ export declare const FilterSchema: z.ZodObject<{
599
599
  operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
600
600
  }, {
601
601
  values: (string | null)[];
602
- id: string;
603
602
  target: {
604
603
  type: MetricType | DimensionType;
605
604
  fieldId: string;
606
605
  };
606
+ id: string;
607
607
  settings: {
608
608
  completed: boolean;
609
609
  unitOfTime: UnitOfTime;
@@ -614,19 +614,19 @@ export declare const FilterSchema: z.ZodObject<{
614
614
  id: string;
615
615
  and: ({
616
616
  values: (string | number | boolean | null)[];
617
- id: string;
618
617
  target: {
619
618
  type: MetricType | DimensionType;
620
619
  fieldId: string;
621
620
  };
621
+ id: string;
622
622
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
623
623
  } | {
624
624
  values: (string | null)[];
625
- id: string;
626
625
  target: {
627
626
  type: MetricType | DimensionType;
628
627
  fieldId: string;
629
628
  };
629
+ id: string;
630
630
  settings: {
631
631
  completed: boolean;
632
632
  unitOfTime: UnitOfTime;
@@ -637,19 +637,19 @@ export declare const FilterSchema: z.ZodObject<{
637
637
  id: string;
638
638
  and: ({
639
639
  values: (string | number | boolean | null)[];
640
- id: string;
641
640
  target: {
642
641
  type: MetricType | DimensionType;
643
642
  fieldId: string;
644
643
  };
644
+ id: string;
645
645
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
646
646
  } | {
647
647
  values: (string | null)[];
648
- id: string;
649
648
  target: {
650
649
  type: MetricType | DimensionType;
651
650
  fieldId: string;
652
651
  };
652
+ id: string;
653
653
  settings: {
654
654
  completed: boolean;
655
655
  unitOfTime: UnitOfTime;
@@ -674,19 +674,19 @@ export declare const FilterSchema: z.ZodObject<{
674
674
  values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
675
675
  }, "strip", z.ZodTypeAny, {
676
676
  values: (string | number | boolean | null)[];
677
- id: string;
678
677
  target: {
679
678
  type: MetricType | DimensionType;
680
679
  fieldId: string;
681
680
  };
681
+ id: string;
682
682
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
683
683
  }, {
684
684
  values: (string | number | boolean | null)[];
685
- id: string;
686
685
  target: {
687
686
  type: MetricType | DimensionType;
688
687
  fieldId: string;
689
688
  };
689
+ id: string;
690
690
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
691
691
  }>, z.ZodObject<z.objectUtil.extendShape<{
692
692
  id: z.ZodString;
@@ -717,11 +717,11 @@ export declare const FilterSchema: z.ZodObject<{
717
717
  }>;
718
718
  }>, "strip", z.ZodTypeAny, {
719
719
  values: (string | null)[];
720
- id: string;
721
720
  target: {
722
721
  type: MetricType | DimensionType;
723
722
  fieldId: string;
724
723
  };
724
+ id: string;
725
725
  settings: {
726
726
  completed: boolean;
727
727
  unitOfTime: UnitOfTime;
@@ -729,11 +729,11 @@ export declare const FilterSchema: z.ZodObject<{
729
729
  operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
730
730
  }, {
731
731
  values: (string | null)[];
732
- id: string;
733
732
  target: {
734
733
  type: MetricType | DimensionType;
735
734
  fieldId: string;
736
735
  };
736
+ id: string;
737
737
  settings: {
738
738
  completed: boolean;
739
739
  unitOfTime: UnitOfTime;
@@ -744,19 +744,19 @@ export declare const FilterSchema: z.ZodObject<{
744
744
  id: string;
745
745
  or: ({
746
746
  values: (string | number | boolean | null)[];
747
- id: string;
748
747
  target: {
749
748
  type: MetricType | DimensionType;
750
749
  fieldId: string;
751
750
  };
751
+ id: string;
752
752
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
753
753
  } | {
754
754
  values: (string | null)[];
755
- id: string;
756
755
  target: {
757
756
  type: MetricType | DimensionType;
758
757
  fieldId: string;
759
758
  };
759
+ id: string;
760
760
  settings: {
761
761
  completed: boolean;
762
762
  unitOfTime: UnitOfTime;
@@ -767,19 +767,19 @@ export declare const FilterSchema: z.ZodObject<{
767
767
  id: string;
768
768
  or: ({
769
769
  values: (string | number | boolean | null)[];
770
- id: string;
771
770
  target: {
772
771
  type: MetricType | DimensionType;
773
772
  fieldId: string;
774
773
  };
774
+ id: string;
775
775
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
776
776
  } | {
777
777
  values: (string | null)[];
778
- id: string;
779
778
  target: {
780
779
  type: MetricType | DimensionType;
781
780
  fieldId: string;
782
781
  };
782
+ id: string;
783
783
  settings: {
784
784
  completed: boolean;
785
785
  unitOfTime: UnitOfTime;
@@ -792,19 +792,19 @@ export declare const FilterSchema: z.ZodObject<{
792
792
  id: string;
793
793
  and: ({
794
794
  values: (string | number | boolean | null)[];
795
- id: string;
796
795
  target: {
797
796
  type: MetricType | DimensionType;
798
797
  fieldId: string;
799
798
  };
799
+ id: string;
800
800
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
801
801
  } | {
802
802
  values: (string | null)[];
803
- id: string;
804
803
  target: {
805
804
  type: MetricType | DimensionType;
806
805
  fieldId: string;
807
806
  };
807
+ id: string;
808
808
  settings: {
809
809
  completed: boolean;
810
810
  unitOfTime: UnitOfTime;
@@ -815,19 +815,19 @@ export declare const FilterSchema: z.ZodObject<{
815
815
  id: string;
816
816
  or: ({
817
817
  values: (string | number | boolean | null)[];
818
- id: string;
819
818
  target: {
820
819
  type: MetricType | DimensionType;
821
820
  fieldId: string;
822
821
  };
822
+ id: string;
823
823
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
824
824
  } | {
825
825
  values: (string | null)[];
826
- id: string;
827
826
  target: {
828
827
  type: MetricType | DimensionType;
829
828
  fieldId: string;
830
829
  };
830
+ id: string;
831
831
  settings: {
832
832
  completed: boolean;
833
833
  unitOfTime: UnitOfTime;
@@ -839,19 +839,19 @@ export declare const FilterSchema: z.ZodObject<{
839
839
  id: string;
840
840
  and: ({
841
841
  values: (string | number | boolean | null)[];
842
- id: string;
843
842
  target: {
844
843
  type: MetricType | DimensionType;
845
844
  fieldId: string;
846
845
  };
846
+ id: string;
847
847
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
848
848
  } | {
849
849
  values: (string | null)[];
850
- id: string;
851
850
  target: {
852
851
  type: MetricType | DimensionType;
853
852
  fieldId: string;
854
853
  };
854
+ id: string;
855
855
  settings: {
856
856
  completed: boolean;
857
857
  unitOfTime: UnitOfTime;
@@ -862,19 +862,19 @@ export declare const FilterSchema: z.ZodObject<{
862
862
  id: string;
863
863
  or: ({
864
864
  values: (string | number | boolean | null)[];
865
- id: string;
866
865
  target: {
867
866
  type: MetricType | DimensionType;
868
867
  fieldId: string;
869
868
  };
869
+ id: string;
870
870
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
871
871
  } | {
872
872
  values: (string | null)[];
873
- id: string;
874
873
  target: {
875
874
  type: MetricType | DimensionType;
876
875
  fieldId: string;
877
876
  };
877
+ id: string;
878
878
  settings: {
879
879
  completed: boolean;
880
880
  unitOfTime: UnitOfTime;
@@ -887,19 +887,19 @@ export declare const FilterSchema: z.ZodObject<{
887
887
  id: string;
888
888
  and: ({
889
889
  values: (string | number | boolean | null)[];
890
- id: string;
891
890
  target: {
892
891
  type: MetricType | DimensionType;
893
892
  fieldId: string;
894
893
  };
894
+ id: string;
895
895
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
896
896
  } | {
897
897
  values: (string | null)[];
898
- id: string;
899
898
  target: {
900
899
  type: MetricType | DimensionType;
901
900
  fieldId: string;
902
901
  };
902
+ id: string;
903
903
  settings: {
904
904
  completed: boolean;
905
905
  unitOfTime: UnitOfTime;
@@ -910,19 +910,19 @@ export declare const FilterSchema: z.ZodObject<{
910
910
  id: string;
911
911
  or: ({
912
912
  values: (string | number | boolean | null)[];
913
- id: string;
914
913
  target: {
915
914
  type: MetricType | DimensionType;
916
915
  fieldId: string;
917
916
  };
917
+ id: string;
918
918
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
919
919
  } | {
920
920
  values: (string | null)[];
921
- id: string;
922
921
  target: {
923
922
  type: MetricType | DimensionType;
924
923
  fieldId: string;
925
924
  };
925
+ id: string;
926
926
  settings: {
927
927
  completed: boolean;
928
928
  unitOfTime: UnitOfTime;
@@ -934,19 +934,19 @@ export declare const FilterSchema: z.ZodObject<{
934
934
  id: string;
935
935
  and: ({
936
936
  values: (string | number | boolean | null)[];
937
- id: string;
938
937
  target: {
939
938
  type: MetricType | DimensionType;
940
939
  fieldId: string;
941
940
  };
941
+ id: string;
942
942
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
943
943
  } | {
944
944
  values: (string | null)[];
945
- id: string;
946
945
  target: {
947
946
  type: MetricType | DimensionType;
948
947
  fieldId: string;
949
948
  };
949
+ id: string;
950
950
  settings: {
951
951
  completed: boolean;
952
952
  unitOfTime: UnitOfTime;
@@ -957,19 +957,19 @@ export declare const FilterSchema: z.ZodObject<{
957
957
  id: string;
958
958
  or: ({
959
959
  values: (string | number | boolean | null)[];
960
- id: string;
961
960
  target: {
962
961
  type: MetricType | DimensionType;
963
962
  fieldId: string;
964
963
  };
964
+ id: string;
965
965
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
966
966
  } | {
967
967
  values: (string | null)[];
968
- id: string;
969
968
  target: {
970
969
  type: MetricType | DimensionType;
971
970
  fieldId: string;
972
971
  };
972
+ id: string;
973
973
  settings: {
974
974
  completed: boolean;
975
975
  unitOfTime: UnitOfTime;
@@ -998,19 +998,19 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
998
998
  values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
999
999
  }, "strip", z.ZodTypeAny, {
1000
1000
  values: (string | number | boolean | null)[];
1001
- id: string;
1002
1001
  target: {
1003
1002
  type: MetricType | DimensionType;
1004
1003
  fieldId: string;
1005
1004
  };
1005
+ id: string;
1006
1006
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1007
1007
  }, {
1008
1008
  values: (string | number | boolean | null)[];
1009
- id: string;
1010
1009
  target: {
1011
1010
  type: MetricType | DimensionType;
1012
1011
  fieldId: string;
1013
1012
  };
1013
+ id: string;
1014
1014
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1015
1015
  }>, z.ZodObject<z.objectUtil.extendShape<{
1016
1016
  id: z.ZodString;
@@ -1041,11 +1041,11 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1041
1041
  }>;
1042
1042
  }>, "strip", z.ZodTypeAny, {
1043
1043
  values: (string | null)[];
1044
- id: string;
1045
1044
  target: {
1046
1045
  type: MetricType | DimensionType;
1047
1046
  fieldId: string;
1048
1047
  };
1048
+ id: string;
1049
1049
  settings: {
1050
1050
  completed: boolean;
1051
1051
  unitOfTime: UnitOfTime;
@@ -1053,11 +1053,11 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1053
1053
  operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
1054
1054
  }, {
1055
1055
  values: (string | null)[];
1056
- id: string;
1057
1056
  target: {
1058
1057
  type: MetricType | DimensionType;
1059
1058
  fieldId: string;
1060
1059
  };
1060
+ id: string;
1061
1061
  settings: {
1062
1062
  completed: boolean;
1063
1063
  unitOfTime: UnitOfTime;
@@ -1068,19 +1068,19 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1068
1068
  id: string;
1069
1069
  and: ({
1070
1070
  values: (string | number | boolean | null)[];
1071
- id: string;
1072
1071
  target: {
1073
1072
  type: MetricType | DimensionType;
1074
1073
  fieldId: string;
1075
1074
  };
1075
+ id: string;
1076
1076
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1077
1077
  } | {
1078
1078
  values: (string | null)[];
1079
- id: string;
1080
1079
  target: {
1081
1080
  type: MetricType | DimensionType;
1082
1081
  fieldId: string;
1083
1082
  };
1083
+ id: string;
1084
1084
  settings: {
1085
1085
  completed: boolean;
1086
1086
  unitOfTime: UnitOfTime;
@@ -1091,19 +1091,19 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1091
1091
  id: string;
1092
1092
  and: ({
1093
1093
  values: (string | number | boolean | null)[];
1094
- id: string;
1095
1094
  target: {
1096
1095
  type: MetricType | DimensionType;
1097
1096
  fieldId: string;
1098
1097
  };
1098
+ id: string;
1099
1099
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1100
1100
  } | {
1101
1101
  values: (string | null)[];
1102
- id: string;
1103
1102
  target: {
1104
1103
  type: MetricType | DimensionType;
1105
1104
  fieldId: string;
1106
1105
  };
1106
+ id: string;
1107
1107
  settings: {
1108
1108
  completed: boolean;
1109
1109
  unitOfTime: UnitOfTime;
@@ -1128,19 +1128,19 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1128
1128
  values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
1129
1129
  }, "strip", z.ZodTypeAny, {
1130
1130
  values: (string | number | boolean | null)[];
1131
- id: string;
1132
1131
  target: {
1133
1132
  type: MetricType | DimensionType;
1134
1133
  fieldId: string;
1135
1134
  };
1135
+ id: string;
1136
1136
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1137
1137
  }, {
1138
1138
  values: (string | number | boolean | null)[];
1139
- id: string;
1140
1139
  target: {
1141
1140
  type: MetricType | DimensionType;
1142
1141
  fieldId: string;
1143
1142
  };
1143
+ id: string;
1144
1144
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1145
1145
  }>, z.ZodObject<z.objectUtil.extendShape<{
1146
1146
  id: z.ZodString;
@@ -1171,11 +1171,11 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1171
1171
  }>;
1172
1172
  }>, "strip", z.ZodTypeAny, {
1173
1173
  values: (string | null)[];
1174
- id: string;
1175
1174
  target: {
1176
1175
  type: MetricType | DimensionType;
1177
1176
  fieldId: string;
1178
1177
  };
1178
+ id: string;
1179
1179
  settings: {
1180
1180
  completed: boolean;
1181
1181
  unitOfTime: UnitOfTime;
@@ -1183,11 +1183,11 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1183
1183
  operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
1184
1184
  }, {
1185
1185
  values: (string | null)[];
1186
- id: string;
1187
1186
  target: {
1188
1187
  type: MetricType | DimensionType;
1189
1188
  fieldId: string;
1190
1189
  };
1190
+ id: string;
1191
1191
  settings: {
1192
1192
  completed: boolean;
1193
1193
  unitOfTime: UnitOfTime;
@@ -1198,19 +1198,19 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1198
1198
  id: string;
1199
1199
  or: ({
1200
1200
  values: (string | number | boolean | null)[];
1201
- id: string;
1202
1201
  target: {
1203
1202
  type: MetricType | DimensionType;
1204
1203
  fieldId: string;
1205
1204
  };
1205
+ id: string;
1206
1206
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1207
1207
  } | {
1208
1208
  values: (string | null)[];
1209
- id: string;
1210
1209
  target: {
1211
1210
  type: MetricType | DimensionType;
1212
1211
  fieldId: string;
1213
1212
  };
1213
+ id: string;
1214
1214
  settings: {
1215
1215
  completed: boolean;
1216
1216
  unitOfTime: UnitOfTime;
@@ -1221,19 +1221,19 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1221
1221
  id: string;
1222
1222
  or: ({
1223
1223
  values: (string | number | boolean | null)[];
1224
- id: string;
1225
1224
  target: {
1226
1225
  type: MetricType | DimensionType;
1227
1226
  fieldId: string;
1228
1227
  };
1228
+ id: string;
1229
1229
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1230
1230
  } | {
1231
1231
  values: (string | null)[];
1232
- id: string;
1233
1232
  target: {
1234
1233
  type: MetricType | DimensionType;
1235
1234
  fieldId: string;
1236
1235
  };
1236
+ id: string;
1237
1237
  settings: {
1238
1238
  completed: boolean;
1239
1239
  unitOfTime: UnitOfTime;
@@ -1247,19 +1247,19 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1247
1247
  id: string;
1248
1248
  and: ({
1249
1249
  values: (string | number | boolean | null)[];
1250
- id: string;
1251
1250
  target: {
1252
1251
  type: MetricType | DimensionType;
1253
1252
  fieldId: string;
1254
1253
  };
1254
+ id: string;
1255
1255
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1256
1256
  } | {
1257
1257
  values: (string | null)[];
1258
- id: string;
1259
1258
  target: {
1260
1259
  type: MetricType | DimensionType;
1261
1260
  fieldId: string;
1262
1261
  };
1262
+ id: string;
1263
1263
  settings: {
1264
1264
  completed: boolean;
1265
1265
  unitOfTime: UnitOfTime;
@@ -1270,19 +1270,19 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1270
1270
  id: string;
1271
1271
  or: ({
1272
1272
  values: (string | number | boolean | null)[];
1273
- id: string;
1274
1273
  target: {
1275
1274
  type: MetricType | DimensionType;
1276
1275
  fieldId: string;
1277
1276
  };
1277
+ id: string;
1278
1278
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1279
1279
  } | {
1280
1280
  values: (string | null)[];
1281
- id: string;
1282
1281
  target: {
1283
1282
  type: MetricType | DimensionType;
1284
1283
  fieldId: string;
1285
1284
  };
1285
+ id: string;
1286
1286
  settings: {
1287
1287
  completed: boolean;
1288
1288
  unitOfTime: UnitOfTime;
@@ -1296,19 +1296,19 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1296
1296
  id: string;
1297
1297
  and: ({
1298
1298
  values: (string | number | boolean | null)[];
1299
- id: string;
1300
1299
  target: {
1301
1300
  type: MetricType | DimensionType;
1302
1301
  fieldId: string;
1303
1302
  };
1303
+ id: string;
1304
1304
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1305
1305
  } | {
1306
1306
  values: (string | null)[];
1307
- id: string;
1308
1307
  target: {
1309
1308
  type: MetricType | DimensionType;
1310
1309
  fieldId: string;
1311
1310
  };
1311
+ id: string;
1312
1312
  settings: {
1313
1313
  completed: boolean;
1314
1314
  unitOfTime: UnitOfTime;
@@ -1319,19 +1319,19 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
1319
1319
  id: string;
1320
1320
  or: ({
1321
1321
  values: (string | number | boolean | null)[];
1322
- id: string;
1323
1322
  target: {
1324
1323
  type: MetricType | DimensionType;
1325
1324
  fieldId: string;
1326
1325
  };
1326
+ id: string;
1327
1327
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1328
1328
  } | {
1329
1329
  values: (string | null)[];
1330
- id: string;
1331
1330
  target: {
1332
1331
  type: MetricType | DimensionType;
1333
1332
  fieldId: string;
1334
1333
  };
1334
+ id: string;
1335
1335
  settings: {
1336
1336
  completed: boolean;
1337
1337
  unitOfTime: UnitOfTime;
@@ -1373,19 +1373,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1373
1373
  values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
1374
1374
  }, "strip", z.ZodTypeAny, {
1375
1375
  values: (string | number | boolean | null)[];
1376
- id: string;
1377
1376
  target: {
1378
1377
  type: MetricType | DimensionType;
1379
1378
  fieldId: string;
1380
1379
  };
1380
+ id: string;
1381
1381
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1382
1382
  }, {
1383
1383
  values: (string | number | boolean | null)[];
1384
- id: string;
1385
1384
  target: {
1386
1385
  type: MetricType | DimensionType;
1387
1386
  fieldId: string;
1388
1387
  };
1388
+ id: string;
1389
1389
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1390
1390
  }>, z.ZodObject<z.objectUtil.extendShape<{
1391
1391
  id: z.ZodString;
@@ -1416,11 +1416,11 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1416
1416
  }>;
1417
1417
  }>, "strip", z.ZodTypeAny, {
1418
1418
  values: (string | null)[];
1419
- id: string;
1420
1419
  target: {
1421
1420
  type: MetricType | DimensionType;
1422
1421
  fieldId: string;
1423
1422
  };
1423
+ id: string;
1424
1424
  settings: {
1425
1425
  completed: boolean;
1426
1426
  unitOfTime: UnitOfTime;
@@ -1428,11 +1428,11 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1428
1428
  operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
1429
1429
  }, {
1430
1430
  values: (string | null)[];
1431
- id: string;
1432
1431
  target: {
1433
1432
  type: MetricType | DimensionType;
1434
1433
  fieldId: string;
1435
1434
  };
1435
+ id: string;
1436
1436
  settings: {
1437
1437
  completed: boolean;
1438
1438
  unitOfTime: UnitOfTime;
@@ -1443,19 +1443,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1443
1443
  id: string;
1444
1444
  and: ({
1445
1445
  values: (string | number | boolean | null)[];
1446
- id: string;
1447
1446
  target: {
1448
1447
  type: MetricType | DimensionType;
1449
1448
  fieldId: string;
1450
1449
  };
1450
+ id: string;
1451
1451
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1452
1452
  } | {
1453
1453
  values: (string | null)[];
1454
- id: string;
1455
1454
  target: {
1456
1455
  type: MetricType | DimensionType;
1457
1456
  fieldId: string;
1458
1457
  };
1458
+ id: string;
1459
1459
  settings: {
1460
1460
  completed: boolean;
1461
1461
  unitOfTime: UnitOfTime;
@@ -1466,19 +1466,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1466
1466
  id: string;
1467
1467
  and: ({
1468
1468
  values: (string | number | boolean | null)[];
1469
- id: string;
1470
1469
  target: {
1471
1470
  type: MetricType | DimensionType;
1472
1471
  fieldId: string;
1473
1472
  };
1473
+ id: string;
1474
1474
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1475
1475
  } | {
1476
1476
  values: (string | null)[];
1477
- id: string;
1478
1477
  target: {
1479
1478
  type: MetricType | DimensionType;
1480
1479
  fieldId: string;
1481
1480
  };
1481
+ id: string;
1482
1482
  settings: {
1483
1483
  completed: boolean;
1484
1484
  unitOfTime: UnitOfTime;
@@ -1503,19 +1503,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1503
1503
  values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
1504
1504
  }, "strip", z.ZodTypeAny, {
1505
1505
  values: (string | number | boolean | null)[];
1506
- id: string;
1507
1506
  target: {
1508
1507
  type: MetricType | DimensionType;
1509
1508
  fieldId: string;
1510
1509
  };
1510
+ id: string;
1511
1511
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1512
1512
  }, {
1513
1513
  values: (string | number | boolean | null)[];
1514
- id: string;
1515
1514
  target: {
1516
1515
  type: MetricType | DimensionType;
1517
1516
  fieldId: string;
1518
1517
  };
1518
+ id: string;
1519
1519
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1520
1520
  }>, z.ZodObject<z.objectUtil.extendShape<{
1521
1521
  id: z.ZodString;
@@ -1546,11 +1546,11 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1546
1546
  }>;
1547
1547
  }>, "strip", z.ZodTypeAny, {
1548
1548
  values: (string | null)[];
1549
- id: string;
1550
1549
  target: {
1551
1550
  type: MetricType | DimensionType;
1552
1551
  fieldId: string;
1553
1552
  };
1553
+ id: string;
1554
1554
  settings: {
1555
1555
  completed: boolean;
1556
1556
  unitOfTime: UnitOfTime;
@@ -1558,11 +1558,11 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1558
1558
  operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
1559
1559
  }, {
1560
1560
  values: (string | null)[];
1561
- id: string;
1562
1561
  target: {
1563
1562
  type: MetricType | DimensionType;
1564
1563
  fieldId: string;
1565
1564
  };
1565
+ id: string;
1566
1566
  settings: {
1567
1567
  completed: boolean;
1568
1568
  unitOfTime: UnitOfTime;
@@ -1573,19 +1573,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1573
1573
  id: string;
1574
1574
  or: ({
1575
1575
  values: (string | number | boolean | null)[];
1576
- id: string;
1577
1576
  target: {
1578
1577
  type: MetricType | DimensionType;
1579
1578
  fieldId: string;
1580
1579
  };
1580
+ id: string;
1581
1581
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1582
1582
  } | {
1583
1583
  values: (string | null)[];
1584
- id: string;
1585
1584
  target: {
1586
1585
  type: MetricType | DimensionType;
1587
1586
  fieldId: string;
1588
1587
  };
1588
+ id: string;
1589
1589
  settings: {
1590
1590
  completed: boolean;
1591
1591
  unitOfTime: UnitOfTime;
@@ -1596,19 +1596,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1596
1596
  id: string;
1597
1597
  or: ({
1598
1598
  values: (string | number | boolean | null)[];
1599
- id: string;
1600
1599
  target: {
1601
1600
  type: MetricType | DimensionType;
1602
1601
  fieldId: string;
1603
1602
  };
1603
+ id: string;
1604
1604
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1605
1605
  } | {
1606
1606
  values: (string | null)[];
1607
- id: string;
1608
1607
  target: {
1609
1608
  type: MetricType | DimensionType;
1610
1609
  fieldId: string;
1611
1610
  };
1611
+ id: string;
1612
1612
  settings: {
1613
1613
  completed: boolean;
1614
1614
  unitOfTime: UnitOfTime;
@@ -1634,19 +1634,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1634
1634
  values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
1635
1635
  }, "strip", z.ZodTypeAny, {
1636
1636
  values: (string | number | boolean | null)[];
1637
- id: string;
1638
1637
  target: {
1639
1638
  type: MetricType | DimensionType;
1640
1639
  fieldId: string;
1641
1640
  };
1641
+ id: string;
1642
1642
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1643
1643
  }, {
1644
1644
  values: (string | number | boolean | null)[];
1645
- id: string;
1646
1645
  target: {
1647
1646
  type: MetricType | DimensionType;
1648
1647
  fieldId: string;
1649
1648
  };
1649
+ id: string;
1650
1650
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1651
1651
  }>, z.ZodObject<z.objectUtil.extendShape<{
1652
1652
  id: z.ZodString;
@@ -1677,11 +1677,11 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1677
1677
  }>;
1678
1678
  }>, "strip", z.ZodTypeAny, {
1679
1679
  values: (string | null)[];
1680
- id: string;
1681
1680
  target: {
1682
1681
  type: MetricType | DimensionType;
1683
1682
  fieldId: string;
1684
1683
  };
1684
+ id: string;
1685
1685
  settings: {
1686
1686
  completed: boolean;
1687
1687
  unitOfTime: UnitOfTime;
@@ -1689,11 +1689,11 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1689
1689
  operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
1690
1690
  }, {
1691
1691
  values: (string | null)[];
1692
- id: string;
1693
1692
  target: {
1694
1693
  type: MetricType | DimensionType;
1695
1694
  fieldId: string;
1696
1695
  };
1696
+ id: string;
1697
1697
  settings: {
1698
1698
  completed: boolean;
1699
1699
  unitOfTime: UnitOfTime;
@@ -1704,19 +1704,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1704
1704
  id: string;
1705
1705
  and: ({
1706
1706
  values: (string | number | boolean | null)[];
1707
- id: string;
1708
1707
  target: {
1709
1708
  type: MetricType | DimensionType;
1710
1709
  fieldId: string;
1711
1710
  };
1711
+ id: string;
1712
1712
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1713
1713
  } | {
1714
1714
  values: (string | null)[];
1715
- id: string;
1716
1715
  target: {
1717
1716
  type: MetricType | DimensionType;
1718
1717
  fieldId: string;
1719
1718
  };
1719
+ id: string;
1720
1720
  settings: {
1721
1721
  completed: boolean;
1722
1722
  unitOfTime: UnitOfTime;
@@ -1727,19 +1727,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1727
1727
  id: string;
1728
1728
  and: ({
1729
1729
  values: (string | number | boolean | null)[];
1730
- id: string;
1731
1730
  target: {
1732
1731
  type: MetricType | DimensionType;
1733
1732
  fieldId: string;
1734
1733
  };
1734
+ id: string;
1735
1735
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1736
1736
  } | {
1737
1737
  values: (string | null)[];
1738
- id: string;
1739
1738
  target: {
1740
1739
  type: MetricType | DimensionType;
1741
1740
  fieldId: string;
1742
1741
  };
1742
+ id: string;
1743
1743
  settings: {
1744
1744
  completed: boolean;
1745
1745
  unitOfTime: UnitOfTime;
@@ -1764,19 +1764,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1764
1764
  values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
1765
1765
  }, "strip", z.ZodTypeAny, {
1766
1766
  values: (string | number | boolean | null)[];
1767
- id: string;
1768
1767
  target: {
1769
1768
  type: MetricType | DimensionType;
1770
1769
  fieldId: string;
1771
1770
  };
1771
+ id: string;
1772
1772
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1773
1773
  }, {
1774
1774
  values: (string | number | boolean | null)[];
1775
- id: string;
1776
1775
  target: {
1777
1776
  type: MetricType | DimensionType;
1778
1777
  fieldId: string;
1779
1778
  };
1779
+ id: string;
1780
1780
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1781
1781
  }>, z.ZodObject<z.objectUtil.extendShape<{
1782
1782
  id: z.ZodString;
@@ -1807,11 +1807,11 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1807
1807
  }>;
1808
1808
  }>, "strip", z.ZodTypeAny, {
1809
1809
  values: (string | null)[];
1810
- id: string;
1811
1810
  target: {
1812
1811
  type: MetricType | DimensionType;
1813
1812
  fieldId: string;
1814
1813
  };
1814
+ id: string;
1815
1815
  settings: {
1816
1816
  completed: boolean;
1817
1817
  unitOfTime: UnitOfTime;
@@ -1819,11 +1819,11 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1819
1819
  operator: ConditionalOperator.IN_THE_PAST | ConditionalOperator.NOT_IN_THE_PAST | ConditionalOperator.IN_THE_NEXT | ConditionalOperator.IN_THE_CURRENT | ConditionalOperator.NOT_IN_THE_CURRENT;
1820
1820
  }, {
1821
1821
  values: (string | null)[];
1822
- id: string;
1823
1822
  target: {
1824
1823
  type: MetricType | DimensionType;
1825
1824
  fieldId: string;
1826
1825
  };
1826
+ id: string;
1827
1827
  settings: {
1828
1828
  completed: boolean;
1829
1829
  unitOfTime: UnitOfTime;
@@ -1834,19 +1834,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1834
1834
  id: string;
1835
1835
  or: ({
1836
1836
  values: (string | number | boolean | null)[];
1837
- id: string;
1838
1837
  target: {
1839
1838
  type: MetricType | DimensionType;
1840
1839
  fieldId: string;
1841
1840
  };
1841
+ id: string;
1842
1842
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1843
1843
  } | {
1844
1844
  values: (string | null)[];
1845
- id: string;
1846
1845
  target: {
1847
1846
  type: MetricType | DimensionType;
1848
1847
  fieldId: string;
1849
1848
  };
1849
+ id: string;
1850
1850
  settings: {
1851
1851
  completed: boolean;
1852
1852
  unitOfTime: UnitOfTime;
@@ -1857,19 +1857,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1857
1857
  id: string;
1858
1858
  or: ({
1859
1859
  values: (string | number | boolean | null)[];
1860
- id: string;
1861
1860
  target: {
1862
1861
  type: MetricType | DimensionType;
1863
1862
  fieldId: string;
1864
1863
  };
1864
+ id: string;
1865
1865
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1866
1866
  } | {
1867
1867
  values: (string | null)[];
1868
- id: string;
1869
1868
  target: {
1870
1869
  type: MetricType | DimensionType;
1871
1870
  fieldId: string;
1872
1871
  };
1872
+ id: string;
1873
1873
  settings: {
1874
1874
  completed: boolean;
1875
1875
  unitOfTime: UnitOfTime;
@@ -1882,19 +1882,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1882
1882
  id: string;
1883
1883
  and: ({
1884
1884
  values: (string | number | boolean | null)[];
1885
- id: string;
1886
1885
  target: {
1887
1886
  type: MetricType | DimensionType;
1888
1887
  fieldId: string;
1889
1888
  };
1889
+ id: string;
1890
1890
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1891
1891
  } | {
1892
1892
  values: (string | null)[];
1893
- id: string;
1894
1893
  target: {
1895
1894
  type: MetricType | DimensionType;
1896
1895
  fieldId: string;
1897
1896
  };
1897
+ id: string;
1898
1898
  settings: {
1899
1899
  completed: boolean;
1900
1900
  unitOfTime: UnitOfTime;
@@ -1905,19 +1905,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1905
1905
  id: string;
1906
1906
  or: ({
1907
1907
  values: (string | number | boolean | null)[];
1908
- id: string;
1909
1908
  target: {
1910
1909
  type: MetricType | DimensionType;
1911
1910
  fieldId: string;
1912
1911
  };
1912
+ id: string;
1913
1913
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1914
1914
  } | {
1915
1915
  values: (string | null)[];
1916
- id: string;
1917
1916
  target: {
1918
1917
  type: MetricType | DimensionType;
1919
1918
  fieldId: string;
1920
1919
  };
1920
+ id: string;
1921
1921
  settings: {
1922
1922
  completed: boolean;
1923
1923
  unitOfTime: UnitOfTime;
@@ -1929,19 +1929,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1929
1929
  id: string;
1930
1930
  and: ({
1931
1931
  values: (string | number | boolean | null)[];
1932
- id: string;
1933
1932
  target: {
1934
1933
  type: MetricType | DimensionType;
1935
1934
  fieldId: string;
1936
1935
  };
1936
+ id: string;
1937
1937
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1938
1938
  } | {
1939
1939
  values: (string | null)[];
1940
- id: string;
1941
1940
  target: {
1942
1941
  type: MetricType | DimensionType;
1943
1942
  fieldId: string;
1944
1943
  };
1944
+ id: string;
1945
1945
  settings: {
1946
1946
  completed: boolean;
1947
1947
  unitOfTime: UnitOfTime;
@@ -1952,19 +1952,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1952
1952
  id: string;
1953
1953
  or: ({
1954
1954
  values: (string | number | boolean | null)[];
1955
- id: string;
1956
1955
  target: {
1957
1956
  type: MetricType | DimensionType;
1958
1957
  fieldId: string;
1959
1958
  };
1959
+ id: string;
1960
1960
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1961
1961
  } | {
1962
1962
  values: (string | null)[];
1963
- id: string;
1964
1963
  target: {
1965
1964
  type: MetricType | DimensionType;
1966
1965
  fieldId: string;
1967
1966
  };
1967
+ id: string;
1968
1968
  settings: {
1969
1969
  completed: boolean;
1970
1970
  unitOfTime: UnitOfTime;
@@ -1977,19 +1977,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
1977
1977
  id: string;
1978
1978
  and: ({
1979
1979
  values: (string | number | boolean | null)[];
1980
- id: string;
1981
1980
  target: {
1982
1981
  type: MetricType | DimensionType;
1983
1982
  fieldId: string;
1984
1983
  };
1984
+ id: string;
1985
1985
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
1986
1986
  } | {
1987
1987
  values: (string | null)[];
1988
- id: string;
1989
1988
  target: {
1990
1989
  type: MetricType | DimensionType;
1991
1990
  fieldId: string;
1992
1991
  };
1992
+ id: string;
1993
1993
  settings: {
1994
1994
  completed: boolean;
1995
1995
  unitOfTime: UnitOfTime;
@@ -2000,19 +2000,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2000
2000
  id: string;
2001
2001
  or: ({
2002
2002
  values: (string | number | boolean | null)[];
2003
- id: string;
2004
2003
  target: {
2005
2004
  type: MetricType | DimensionType;
2006
2005
  fieldId: string;
2007
2006
  };
2007
+ id: string;
2008
2008
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
2009
2009
  } | {
2010
2010
  values: (string | null)[];
2011
- id: string;
2012
2011
  target: {
2013
2012
  type: MetricType | DimensionType;
2014
2013
  fieldId: string;
2015
2014
  };
2015
+ id: string;
2016
2016
  settings: {
2017
2017
  completed: boolean;
2018
2018
  unitOfTime: UnitOfTime;
@@ -2024,19 +2024,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2024
2024
  id: string;
2025
2025
  and: ({
2026
2026
  values: (string | number | boolean | null)[];
2027
- id: string;
2028
2027
  target: {
2029
2028
  type: MetricType | DimensionType;
2030
2029
  fieldId: string;
2031
2030
  };
2031
+ id: string;
2032
2032
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
2033
2033
  } | {
2034
2034
  values: (string | null)[];
2035
- id: string;
2036
2035
  target: {
2037
2036
  type: MetricType | DimensionType;
2038
2037
  fieldId: string;
2039
2038
  };
2039
+ id: string;
2040
2040
  settings: {
2041
2041
  completed: boolean;
2042
2042
  unitOfTime: UnitOfTime;
@@ -2047,19 +2047,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2047
2047
  id: string;
2048
2048
  or: ({
2049
2049
  values: (string | number | boolean | null)[];
2050
- id: string;
2051
2050
  target: {
2052
2051
  type: MetricType | DimensionType;
2053
2052
  fieldId: string;
2054
2053
  };
2054
+ id: string;
2055
2055
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
2056
2056
  } | {
2057
2057
  values: (string | null)[];
2058
- id: string;
2059
2058
  target: {
2060
2059
  type: MetricType | DimensionType;
2061
2060
  fieldId: string;
2062
2061
  };
2062
+ id: string;
2063
2063
  settings: {
2064
2064
  completed: boolean;
2065
2065
  unitOfTime: UnitOfTime;
@@ -2085,19 +2085,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2085
2085
  id: string;
2086
2086
  and: ({
2087
2087
  values: (string | number | boolean | null)[];
2088
- id: string;
2089
2088
  target: {
2090
2089
  type: MetricType | DimensionType;
2091
2090
  fieldId: string;
2092
2091
  };
2092
+ id: string;
2093
2093
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
2094
2094
  } | {
2095
2095
  values: (string | null)[];
2096
- id: string;
2097
2096
  target: {
2098
2097
  type: MetricType | DimensionType;
2099
2098
  fieldId: string;
2100
2099
  };
2100
+ id: string;
2101
2101
  settings: {
2102
2102
  completed: boolean;
2103
2103
  unitOfTime: UnitOfTime;
@@ -2108,19 +2108,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2108
2108
  id: string;
2109
2109
  or: ({
2110
2110
  values: (string | number | boolean | null)[];
2111
- id: string;
2112
2111
  target: {
2113
2112
  type: MetricType | DimensionType;
2114
2113
  fieldId: string;
2115
2114
  };
2115
+ id: string;
2116
2116
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
2117
2117
  } | {
2118
2118
  values: (string | null)[];
2119
- id: string;
2120
2119
  target: {
2121
2120
  type: MetricType | DimensionType;
2122
2121
  fieldId: string;
2123
2122
  };
2123
+ id: string;
2124
2124
  settings: {
2125
2125
  completed: boolean;
2126
2126
  unitOfTime: UnitOfTime;
@@ -2132,19 +2132,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2132
2132
  id: string;
2133
2133
  and: ({
2134
2134
  values: (string | number | boolean | null)[];
2135
- id: string;
2136
2135
  target: {
2137
2136
  type: MetricType | DimensionType;
2138
2137
  fieldId: string;
2139
2138
  };
2139
+ id: string;
2140
2140
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
2141
2141
  } | {
2142
2142
  values: (string | null)[];
2143
- id: string;
2144
2143
  target: {
2145
2144
  type: MetricType | DimensionType;
2146
2145
  fieldId: string;
2147
2146
  };
2147
+ id: string;
2148
2148
  settings: {
2149
2149
  completed: boolean;
2150
2150
  unitOfTime: UnitOfTime;
@@ -2155,19 +2155,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2155
2155
  id: string;
2156
2156
  or: ({
2157
2157
  values: (string | number | boolean | null)[];
2158
- id: string;
2159
2158
  target: {
2160
2159
  type: MetricType | DimensionType;
2161
2160
  fieldId: string;
2162
2161
  };
2162
+ id: string;
2163
2163
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
2164
2164
  } | {
2165
2165
  values: (string | null)[];
2166
- id: string;
2167
2166
  target: {
2168
2167
  type: MetricType | DimensionType;
2169
2168
  fieldId: string;
2170
2169
  };
2170
+ id: string;
2171
2171
  settings: {
2172
2172
  completed: boolean;
2173
2173
  unitOfTime: UnitOfTime;
@@ -2190,19 +2190,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2190
2190
  id: string;
2191
2191
  and: ({
2192
2192
  values: (string | number | boolean | null)[];
2193
- id: string;
2194
2193
  target: {
2195
2194
  type: MetricType | DimensionType;
2196
2195
  fieldId: string;
2197
2196
  };
2197
+ id: string;
2198
2198
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
2199
2199
  } | {
2200
2200
  values: (string | null)[];
2201
- id: string;
2202
2201
  target: {
2203
2202
  type: MetricType | DimensionType;
2204
2203
  fieldId: string;
2205
2204
  };
2205
+ id: string;
2206
2206
  settings: {
2207
2207
  completed: boolean;
2208
2208
  unitOfTime: UnitOfTime;
@@ -2213,19 +2213,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2213
2213
  id: string;
2214
2214
  or: ({
2215
2215
  values: (string | number | boolean | null)[];
2216
- id: string;
2217
2216
  target: {
2218
2217
  type: MetricType | DimensionType;
2219
2218
  fieldId: string;
2220
2219
  };
2220
+ id: string;
2221
2221
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
2222
2222
  } | {
2223
2223
  values: (string | null)[];
2224
- id: string;
2225
2224
  target: {
2226
2225
  type: MetricType | DimensionType;
2227
2226
  fieldId: string;
2228
2227
  };
2228
+ id: string;
2229
2229
  settings: {
2230
2230
  completed: boolean;
2231
2231
  unitOfTime: UnitOfTime;
@@ -2237,19 +2237,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2237
2237
  id: string;
2238
2238
  and: ({
2239
2239
  values: (string | number | boolean | null)[];
2240
- id: string;
2241
2240
  target: {
2242
2241
  type: MetricType | DimensionType;
2243
2242
  fieldId: string;
2244
2243
  };
2244
+ id: string;
2245
2245
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
2246
2246
  } | {
2247
2247
  values: (string | null)[];
2248
- id: string;
2249
2248
  target: {
2250
2249
  type: MetricType | DimensionType;
2251
2250
  fieldId: string;
2252
2251
  };
2252
+ id: string;
2253
2253
  settings: {
2254
2254
  completed: boolean;
2255
2255
  unitOfTime: UnitOfTime;
@@ -2260,19 +2260,19 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
2260
2260
  id: string;
2261
2261
  or: ({
2262
2262
  values: (string | number | boolean | null)[];
2263
- id: string;
2264
2263
  target: {
2265
2264
  type: MetricType | DimensionType;
2266
2265
  fieldId: string;
2267
2266
  };
2267
+ id: string;
2268
2268
  operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
2269
2269
  } | {
2270
2270
  values: (string | null)[];
2271
- id: string;
2272
2271
  target: {
2273
2272
  type: MetricType | DimensionType;
2274
2273
  fieldId: string;
2275
2274
  };
2275
+ id: string;
2276
2276
  settings: {
2277
2277
  completed: boolean;
2278
2278
  unitOfTime: UnitOfTime;