umami-compass 0.2.0 → 0.3.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.
@@ -13,38 +13,1080 @@ export declare const unitSchema: z.ZodOptional<z.ZodEnum<{
13
13
  }>>;
14
14
  export declare const pageSchema: z.ZodDefault<z.ZodNumber>;
15
15
  export declare const pageSizeSchema: z.ZodDefault<z.ZodNumber>;
16
+ export declare const filterOperatorSchema: z.ZodEnum<{
17
+ contains: "contains";
18
+ equals: "equals";
19
+ is_empty: "is_empty";
20
+ is_not_empty: "is_not_empty";
21
+ not_contains: "not_contains";
22
+ not_equals: "not_equals";
23
+ not_regex: "not_regex";
24
+ regex: "regex";
25
+ }>;
16
26
  export declare const filtersSchema: z.ZodObject<{
17
- browser: z.ZodOptional<z.ZodString>;
18
- city: z.ZodOptional<z.ZodString>;
27
+ browser: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
28
+ operator: z.ZodEnum<{
29
+ contains: "contains";
30
+ equals: "equals";
31
+ is_empty: "is_empty";
32
+ is_not_empty: "is_not_empty";
33
+ not_contains: "not_contains";
34
+ not_equals: "not_equals";
35
+ not_regex: "not_regex";
36
+ regex: "regex";
37
+ }>;
38
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
39
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
40
+ operator: z.ZodEnum<{
41
+ contains: "contains";
42
+ equals: "equals";
43
+ is_empty: "is_empty";
44
+ is_not_empty: "is_not_empty";
45
+ not_contains: "not_contains";
46
+ not_equals: "not_equals";
47
+ not_regex: "not_regex";
48
+ regex: "regex";
49
+ }>;
50
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
51
+ }, z.core.$strict>>]>>;
52
+ city: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
53
+ operator: z.ZodEnum<{
54
+ contains: "contains";
55
+ equals: "equals";
56
+ is_empty: "is_empty";
57
+ is_not_empty: "is_not_empty";
58
+ not_contains: "not_contains";
59
+ not_equals: "not_equals";
60
+ not_regex: "not_regex";
61
+ regex: "regex";
62
+ }>;
63
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
64
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
65
+ operator: z.ZodEnum<{
66
+ contains: "contains";
67
+ equals: "equals";
68
+ is_empty: "is_empty";
69
+ is_not_empty: "is_not_empty";
70
+ not_contains: "not_contains";
71
+ not_equals: "not_equals";
72
+ not_regex: "not_regex";
73
+ regex: "regex";
74
+ }>;
75
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
76
+ }, z.core.$strict>>]>>;
19
77
  cohort: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
20
- country: z.ZodOptional<z.ZodString>;
21
- device: z.ZodOptional<z.ZodString>;
22
- distinctId: z.ZodOptional<z.ZodString>;
78
+ country: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
79
+ operator: z.ZodEnum<{
80
+ contains: "contains";
81
+ equals: "equals";
82
+ is_empty: "is_empty";
83
+ is_not_empty: "is_not_empty";
84
+ not_contains: "not_contains";
85
+ not_equals: "not_equals";
86
+ not_regex: "not_regex";
87
+ regex: "regex";
88
+ }>;
89
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
90
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
91
+ operator: z.ZodEnum<{
92
+ contains: "contains";
93
+ equals: "equals";
94
+ is_empty: "is_empty";
95
+ is_not_empty: "is_not_empty";
96
+ not_contains: "not_contains";
97
+ not_equals: "not_equals";
98
+ not_regex: "not_regex";
99
+ regex: "regex";
100
+ }>;
101
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
102
+ }, z.core.$strict>>]>>;
103
+ device: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
104
+ operator: z.ZodEnum<{
105
+ contains: "contains";
106
+ equals: "equals";
107
+ is_empty: "is_empty";
108
+ is_not_empty: "is_not_empty";
109
+ not_contains: "not_contains";
110
+ not_equals: "not_equals";
111
+ not_regex: "not_regex";
112
+ regex: "regex";
113
+ }>;
114
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
115
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
116
+ operator: z.ZodEnum<{
117
+ contains: "contains";
118
+ equals: "equals";
119
+ is_empty: "is_empty";
120
+ is_not_empty: "is_not_empty";
121
+ not_contains: "not_contains";
122
+ not_equals: "not_equals";
123
+ not_regex: "not_regex";
124
+ regex: "regex";
125
+ }>;
126
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
127
+ }, z.core.$strict>>]>>;
128
+ distinctId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
129
+ operator: z.ZodEnum<{
130
+ contains: "contains";
131
+ equals: "equals";
132
+ is_empty: "is_empty";
133
+ is_not_empty: "is_not_empty";
134
+ not_contains: "not_contains";
135
+ not_equals: "not_equals";
136
+ not_regex: "not_regex";
137
+ regex: "regex";
138
+ }>;
139
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
140
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
141
+ operator: z.ZodEnum<{
142
+ contains: "contains";
143
+ equals: "equals";
144
+ is_empty: "is_empty";
145
+ is_not_empty: "is_not_empty";
146
+ not_contains: "not_contains";
147
+ not_equals: "not_equals";
148
+ not_regex: "not_regex";
149
+ regex: "regex";
150
+ }>;
151
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
152
+ }, z.core.$strict>>]>>;
23
153
  eventType: z.ZodOptional<z.ZodNumber>;
24
- event: z.ZodOptional<z.ZodString>;
154
+ event: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
155
+ operator: z.ZodEnum<{
156
+ contains: "contains";
157
+ equals: "equals";
158
+ is_empty: "is_empty";
159
+ is_not_empty: "is_not_empty";
160
+ not_contains: "not_contains";
161
+ not_equals: "not_equals";
162
+ not_regex: "not_regex";
163
+ regex: "regex";
164
+ }>;
165
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
166
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
167
+ operator: z.ZodEnum<{
168
+ contains: "contains";
169
+ equals: "equals";
170
+ is_empty: "is_empty";
171
+ is_not_empty: "is_not_empty";
172
+ not_contains: "not_contains";
173
+ not_equals: "not_equals";
174
+ not_regex: "not_regex";
175
+ regex: "regex";
176
+ }>;
177
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
178
+ }, z.core.$strict>>]>>;
25
179
  excludeBounce: z.ZodOptional<z.ZodBoolean>;
26
- hostname: z.ZodOptional<z.ZodString>;
27
- language: z.ZodOptional<z.ZodString>;
28
- os: z.ZodOptional<z.ZodString>;
180
+ hostname: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
181
+ operator: z.ZodEnum<{
182
+ contains: "contains";
183
+ equals: "equals";
184
+ is_empty: "is_empty";
185
+ is_not_empty: "is_not_empty";
186
+ not_contains: "not_contains";
187
+ not_equals: "not_equals";
188
+ not_regex: "not_regex";
189
+ regex: "regex";
190
+ }>;
191
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
192
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
193
+ operator: z.ZodEnum<{
194
+ contains: "contains";
195
+ equals: "equals";
196
+ is_empty: "is_empty";
197
+ is_not_empty: "is_not_empty";
198
+ not_contains: "not_contains";
199
+ not_equals: "not_equals";
200
+ not_regex: "not_regex";
201
+ regex: "regex";
202
+ }>;
203
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
204
+ }, z.core.$strict>>]>>;
205
+ language: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
206
+ operator: z.ZodEnum<{
207
+ contains: "contains";
208
+ equals: "equals";
209
+ is_empty: "is_empty";
210
+ is_not_empty: "is_not_empty";
211
+ not_contains: "not_contains";
212
+ not_equals: "not_equals";
213
+ not_regex: "not_regex";
214
+ regex: "regex";
215
+ }>;
216
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
217
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
218
+ operator: z.ZodEnum<{
219
+ contains: "contains";
220
+ equals: "equals";
221
+ is_empty: "is_empty";
222
+ is_not_empty: "is_not_empty";
223
+ not_contains: "not_contains";
224
+ not_equals: "not_equals";
225
+ not_regex: "not_regex";
226
+ regex: "regex";
227
+ }>;
228
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
229
+ }, z.core.$strict>>]>>;
230
+ os: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
231
+ operator: z.ZodEnum<{
232
+ contains: "contains";
233
+ equals: "equals";
234
+ is_empty: "is_empty";
235
+ is_not_empty: "is_not_empty";
236
+ not_contains: "not_contains";
237
+ not_equals: "not_equals";
238
+ not_regex: "not_regex";
239
+ regex: "regex";
240
+ }>;
241
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
242
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
243
+ operator: z.ZodEnum<{
244
+ contains: "contains";
245
+ equals: "equals";
246
+ is_empty: "is_empty";
247
+ is_not_empty: "is_not_empty";
248
+ not_contains: "not_contains";
249
+ not_equals: "not_equals";
250
+ not_regex: "not_regex";
251
+ regex: "regex";
252
+ }>;
253
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
254
+ }, z.core.$strict>>]>>;
29
255
  match: z.ZodOptional<z.ZodEnum<{
30
256
  all: "all";
31
257
  any: "any";
32
258
  }>>;
33
- path: z.ZodOptional<z.ZodString>;
34
- query: z.ZodOptional<z.ZodString>;
35
- referrer: z.ZodOptional<z.ZodString>;
36
- region: z.ZodOptional<z.ZodString>;
259
+ path: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
260
+ operator: z.ZodEnum<{
261
+ contains: "contains";
262
+ equals: "equals";
263
+ is_empty: "is_empty";
264
+ is_not_empty: "is_not_empty";
265
+ not_contains: "not_contains";
266
+ not_equals: "not_equals";
267
+ not_regex: "not_regex";
268
+ regex: "regex";
269
+ }>;
270
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
271
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
272
+ operator: z.ZodEnum<{
273
+ contains: "contains";
274
+ equals: "equals";
275
+ is_empty: "is_empty";
276
+ is_not_empty: "is_not_empty";
277
+ not_contains: "not_contains";
278
+ not_equals: "not_equals";
279
+ not_regex: "not_regex";
280
+ regex: "regex";
281
+ }>;
282
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
283
+ }, z.core.$strict>>]>>;
284
+ query: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
285
+ operator: z.ZodEnum<{
286
+ contains: "contains";
287
+ equals: "equals";
288
+ is_empty: "is_empty";
289
+ is_not_empty: "is_not_empty";
290
+ not_contains: "not_contains";
291
+ not_equals: "not_equals";
292
+ not_regex: "not_regex";
293
+ regex: "regex";
294
+ }>;
295
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
296
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
297
+ operator: z.ZodEnum<{
298
+ contains: "contains";
299
+ equals: "equals";
300
+ is_empty: "is_empty";
301
+ is_not_empty: "is_not_empty";
302
+ not_contains: "not_contains";
303
+ not_equals: "not_equals";
304
+ not_regex: "not_regex";
305
+ regex: "regex";
306
+ }>;
307
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
308
+ }, z.core.$strict>>]>>;
309
+ referrer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
310
+ operator: z.ZodEnum<{
311
+ contains: "contains";
312
+ equals: "equals";
313
+ is_empty: "is_empty";
314
+ is_not_empty: "is_not_empty";
315
+ not_contains: "not_contains";
316
+ not_equals: "not_equals";
317
+ not_regex: "not_regex";
318
+ regex: "regex";
319
+ }>;
320
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
321
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
322
+ operator: z.ZodEnum<{
323
+ contains: "contains";
324
+ equals: "equals";
325
+ is_empty: "is_empty";
326
+ is_not_empty: "is_not_empty";
327
+ not_contains: "not_contains";
328
+ not_equals: "not_equals";
329
+ not_regex: "not_regex";
330
+ regex: "regex";
331
+ }>;
332
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
333
+ }, z.core.$strict>>]>>;
334
+ region: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
335
+ operator: z.ZodEnum<{
336
+ contains: "contains";
337
+ equals: "equals";
338
+ is_empty: "is_empty";
339
+ is_not_empty: "is_not_empty";
340
+ not_contains: "not_contains";
341
+ not_equals: "not_equals";
342
+ not_regex: "not_regex";
343
+ regex: "regex";
344
+ }>;
345
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
346
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
347
+ operator: z.ZodEnum<{
348
+ contains: "contains";
349
+ equals: "equals";
350
+ is_empty: "is_empty";
351
+ is_not_empty: "is_not_empty";
352
+ not_contains: "not_contains";
353
+ not_equals: "not_equals";
354
+ not_regex: "not_regex";
355
+ regex: "regex";
356
+ }>;
357
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
358
+ }, z.core.$strict>>]>>;
37
359
  segment: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
38
- tag: z.ZodOptional<z.ZodString>;
39
- title: z.ZodOptional<z.ZodString>;
40
- utmCampaign: z.ZodOptional<z.ZodString>;
41
- utmContent: z.ZodOptional<z.ZodString>;
42
- utmMedium: z.ZodOptional<z.ZodString>;
43
- utmSource: z.ZodOptional<z.ZodString>;
44
- utmTerm: z.ZodOptional<z.ZodString>;
360
+ tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
361
+ operator: z.ZodEnum<{
362
+ contains: "contains";
363
+ equals: "equals";
364
+ is_empty: "is_empty";
365
+ is_not_empty: "is_not_empty";
366
+ not_contains: "not_contains";
367
+ not_equals: "not_equals";
368
+ not_regex: "not_regex";
369
+ regex: "regex";
370
+ }>;
371
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
372
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
373
+ operator: z.ZodEnum<{
374
+ contains: "contains";
375
+ equals: "equals";
376
+ is_empty: "is_empty";
377
+ is_not_empty: "is_not_empty";
378
+ not_contains: "not_contains";
379
+ not_equals: "not_equals";
380
+ not_regex: "not_regex";
381
+ regex: "regex";
382
+ }>;
383
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
384
+ }, z.core.$strict>>]>>;
385
+ title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
386
+ operator: z.ZodEnum<{
387
+ contains: "contains";
388
+ equals: "equals";
389
+ is_empty: "is_empty";
390
+ is_not_empty: "is_not_empty";
391
+ not_contains: "not_contains";
392
+ not_equals: "not_equals";
393
+ not_regex: "not_regex";
394
+ regex: "regex";
395
+ }>;
396
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
397
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
398
+ operator: z.ZodEnum<{
399
+ contains: "contains";
400
+ equals: "equals";
401
+ is_empty: "is_empty";
402
+ is_not_empty: "is_not_empty";
403
+ not_contains: "not_contains";
404
+ not_equals: "not_equals";
405
+ not_regex: "not_regex";
406
+ regex: "regex";
407
+ }>;
408
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
409
+ }, z.core.$strict>>]>>;
410
+ utmCampaign: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
411
+ operator: z.ZodEnum<{
412
+ contains: "contains";
413
+ equals: "equals";
414
+ is_empty: "is_empty";
415
+ is_not_empty: "is_not_empty";
416
+ not_contains: "not_contains";
417
+ not_equals: "not_equals";
418
+ not_regex: "not_regex";
419
+ regex: "regex";
420
+ }>;
421
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
422
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
423
+ operator: z.ZodEnum<{
424
+ contains: "contains";
425
+ equals: "equals";
426
+ is_empty: "is_empty";
427
+ is_not_empty: "is_not_empty";
428
+ not_contains: "not_contains";
429
+ not_equals: "not_equals";
430
+ not_regex: "not_regex";
431
+ regex: "regex";
432
+ }>;
433
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
434
+ }, z.core.$strict>>]>>;
435
+ utmContent: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
436
+ operator: z.ZodEnum<{
437
+ contains: "contains";
438
+ equals: "equals";
439
+ is_empty: "is_empty";
440
+ is_not_empty: "is_not_empty";
441
+ not_contains: "not_contains";
442
+ not_equals: "not_equals";
443
+ not_regex: "not_regex";
444
+ regex: "regex";
445
+ }>;
446
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
447
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
448
+ operator: z.ZodEnum<{
449
+ contains: "contains";
450
+ equals: "equals";
451
+ is_empty: "is_empty";
452
+ is_not_empty: "is_not_empty";
453
+ not_contains: "not_contains";
454
+ not_equals: "not_equals";
455
+ not_regex: "not_regex";
456
+ regex: "regex";
457
+ }>;
458
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
459
+ }, z.core.$strict>>]>>;
460
+ utmMedium: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
461
+ operator: z.ZodEnum<{
462
+ contains: "contains";
463
+ equals: "equals";
464
+ is_empty: "is_empty";
465
+ is_not_empty: "is_not_empty";
466
+ not_contains: "not_contains";
467
+ not_equals: "not_equals";
468
+ not_regex: "not_regex";
469
+ regex: "regex";
470
+ }>;
471
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
472
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
473
+ operator: z.ZodEnum<{
474
+ contains: "contains";
475
+ equals: "equals";
476
+ is_empty: "is_empty";
477
+ is_not_empty: "is_not_empty";
478
+ not_contains: "not_contains";
479
+ not_equals: "not_equals";
480
+ not_regex: "not_regex";
481
+ regex: "regex";
482
+ }>;
483
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
484
+ }, z.core.$strict>>]>>;
485
+ utmSource: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
486
+ operator: z.ZodEnum<{
487
+ contains: "contains";
488
+ equals: "equals";
489
+ is_empty: "is_empty";
490
+ is_not_empty: "is_not_empty";
491
+ not_contains: "not_contains";
492
+ not_equals: "not_equals";
493
+ not_regex: "not_regex";
494
+ regex: "regex";
495
+ }>;
496
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
497
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
498
+ operator: z.ZodEnum<{
499
+ contains: "contains";
500
+ equals: "equals";
501
+ is_empty: "is_empty";
502
+ is_not_empty: "is_not_empty";
503
+ not_contains: "not_contains";
504
+ not_equals: "not_equals";
505
+ not_regex: "not_regex";
506
+ regex: "regex";
507
+ }>;
508
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
509
+ }, z.core.$strict>>]>>;
510
+ utmTerm: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
511
+ operator: z.ZodEnum<{
512
+ contains: "contains";
513
+ equals: "equals";
514
+ is_empty: "is_empty";
515
+ is_not_empty: "is_not_empty";
516
+ not_contains: "not_contains";
517
+ not_equals: "not_equals";
518
+ not_regex: "not_regex";
519
+ regex: "regex";
520
+ }>;
521
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
522
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
523
+ operator: z.ZodEnum<{
524
+ contains: "contains";
525
+ equals: "equals";
526
+ is_empty: "is_empty";
527
+ is_not_empty: "is_not_empty";
528
+ not_contains: "not_contains";
529
+ not_equals: "not_equals";
530
+ not_regex: "not_regex";
531
+ regex: "regex";
532
+ }>;
533
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
534
+ }, z.core.$strict>>]>>;
45
535
  }, z.core.$strict>;
536
+ export declare const TRAFFIC_CHANNELS: readonly ["direct", "paidAds", "referral", "affiliate", "sms", "llm", "organicSearch", "paidSearch", "organicSocial", "paidSocial", "email", "organicShopping", "paidShopping", "organicVideo", "paidVideo"];
537
+ export declare const trafficChannelSchema: z.ZodEnum<{
538
+ affiliate: "affiliate";
539
+ direct: "direct";
540
+ email: "email";
541
+ llm: "llm";
542
+ organicSearch: "organicSearch";
543
+ organicShopping: "organicShopping";
544
+ organicSocial: "organicSocial";
545
+ organicVideo: "organicVideo";
546
+ paidAds: "paidAds";
547
+ paidSearch: "paidSearch";
548
+ paidShopping: "paidShopping";
549
+ paidSocial: "paidSocial";
550
+ paidVideo: "paidVideo";
551
+ referral: "referral";
552
+ sms: "sms";
553
+ }>;
554
+ export declare const segmentedFiltersSchema: z.ZodObject<{
555
+ browser: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
556
+ operator: z.ZodEnum<{
557
+ contains: "contains";
558
+ equals: "equals";
559
+ is_empty: "is_empty";
560
+ is_not_empty: "is_not_empty";
561
+ not_contains: "not_contains";
562
+ not_equals: "not_equals";
563
+ not_regex: "not_regex";
564
+ regex: "regex";
565
+ }>;
566
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
567
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
568
+ operator: z.ZodEnum<{
569
+ contains: "contains";
570
+ equals: "equals";
571
+ is_empty: "is_empty";
572
+ is_not_empty: "is_not_empty";
573
+ not_contains: "not_contains";
574
+ not_equals: "not_equals";
575
+ not_regex: "not_regex";
576
+ regex: "regex";
577
+ }>;
578
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
579
+ }, z.core.$strict>>]>>;
580
+ city: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
581
+ operator: z.ZodEnum<{
582
+ contains: "contains";
583
+ equals: "equals";
584
+ is_empty: "is_empty";
585
+ is_not_empty: "is_not_empty";
586
+ not_contains: "not_contains";
587
+ not_equals: "not_equals";
588
+ not_regex: "not_regex";
589
+ regex: "regex";
590
+ }>;
591
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
592
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
593
+ operator: z.ZodEnum<{
594
+ contains: "contains";
595
+ equals: "equals";
596
+ is_empty: "is_empty";
597
+ is_not_empty: "is_not_empty";
598
+ not_contains: "not_contains";
599
+ not_equals: "not_equals";
600
+ not_regex: "not_regex";
601
+ regex: "regex";
602
+ }>;
603
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
604
+ }, z.core.$strict>>]>>;
605
+ cohort: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
606
+ country: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
607
+ operator: z.ZodEnum<{
608
+ contains: "contains";
609
+ equals: "equals";
610
+ is_empty: "is_empty";
611
+ is_not_empty: "is_not_empty";
612
+ not_contains: "not_contains";
613
+ not_equals: "not_equals";
614
+ not_regex: "not_regex";
615
+ regex: "regex";
616
+ }>;
617
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
618
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
619
+ operator: z.ZodEnum<{
620
+ contains: "contains";
621
+ equals: "equals";
622
+ is_empty: "is_empty";
623
+ is_not_empty: "is_not_empty";
624
+ not_contains: "not_contains";
625
+ not_equals: "not_equals";
626
+ not_regex: "not_regex";
627
+ regex: "regex";
628
+ }>;
629
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
630
+ }, z.core.$strict>>]>>;
631
+ device: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
632
+ operator: z.ZodEnum<{
633
+ contains: "contains";
634
+ equals: "equals";
635
+ is_empty: "is_empty";
636
+ is_not_empty: "is_not_empty";
637
+ not_contains: "not_contains";
638
+ not_equals: "not_equals";
639
+ not_regex: "not_regex";
640
+ regex: "regex";
641
+ }>;
642
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
643
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
644
+ operator: z.ZodEnum<{
645
+ contains: "contains";
646
+ equals: "equals";
647
+ is_empty: "is_empty";
648
+ is_not_empty: "is_not_empty";
649
+ not_contains: "not_contains";
650
+ not_equals: "not_equals";
651
+ not_regex: "not_regex";
652
+ regex: "regex";
653
+ }>;
654
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
655
+ }, z.core.$strict>>]>>;
656
+ distinctId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
657
+ operator: z.ZodEnum<{
658
+ contains: "contains";
659
+ equals: "equals";
660
+ is_empty: "is_empty";
661
+ is_not_empty: "is_not_empty";
662
+ not_contains: "not_contains";
663
+ not_equals: "not_equals";
664
+ not_regex: "not_regex";
665
+ regex: "regex";
666
+ }>;
667
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
668
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
669
+ operator: z.ZodEnum<{
670
+ contains: "contains";
671
+ equals: "equals";
672
+ is_empty: "is_empty";
673
+ is_not_empty: "is_not_empty";
674
+ not_contains: "not_contains";
675
+ not_equals: "not_equals";
676
+ not_regex: "not_regex";
677
+ regex: "regex";
678
+ }>;
679
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
680
+ }, z.core.$strict>>]>>;
681
+ eventType: z.ZodOptional<z.ZodNumber>;
682
+ event: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
683
+ operator: z.ZodEnum<{
684
+ contains: "contains";
685
+ equals: "equals";
686
+ is_empty: "is_empty";
687
+ is_not_empty: "is_not_empty";
688
+ not_contains: "not_contains";
689
+ not_equals: "not_equals";
690
+ not_regex: "not_regex";
691
+ regex: "regex";
692
+ }>;
693
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
694
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
695
+ operator: z.ZodEnum<{
696
+ contains: "contains";
697
+ equals: "equals";
698
+ is_empty: "is_empty";
699
+ is_not_empty: "is_not_empty";
700
+ not_contains: "not_contains";
701
+ not_equals: "not_equals";
702
+ not_regex: "not_regex";
703
+ regex: "regex";
704
+ }>;
705
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
706
+ }, z.core.$strict>>]>>;
707
+ excludeBounce: z.ZodOptional<z.ZodBoolean>;
708
+ hostname: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
709
+ operator: z.ZodEnum<{
710
+ contains: "contains";
711
+ equals: "equals";
712
+ is_empty: "is_empty";
713
+ is_not_empty: "is_not_empty";
714
+ not_contains: "not_contains";
715
+ not_equals: "not_equals";
716
+ not_regex: "not_regex";
717
+ regex: "regex";
718
+ }>;
719
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
720
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
721
+ operator: z.ZodEnum<{
722
+ contains: "contains";
723
+ equals: "equals";
724
+ is_empty: "is_empty";
725
+ is_not_empty: "is_not_empty";
726
+ not_contains: "not_contains";
727
+ not_equals: "not_equals";
728
+ not_regex: "not_regex";
729
+ regex: "regex";
730
+ }>;
731
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
732
+ }, z.core.$strict>>]>>;
733
+ language: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
734
+ operator: z.ZodEnum<{
735
+ contains: "contains";
736
+ equals: "equals";
737
+ is_empty: "is_empty";
738
+ is_not_empty: "is_not_empty";
739
+ not_contains: "not_contains";
740
+ not_equals: "not_equals";
741
+ not_regex: "not_regex";
742
+ regex: "regex";
743
+ }>;
744
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
745
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
746
+ operator: z.ZodEnum<{
747
+ contains: "contains";
748
+ equals: "equals";
749
+ is_empty: "is_empty";
750
+ is_not_empty: "is_not_empty";
751
+ not_contains: "not_contains";
752
+ not_equals: "not_equals";
753
+ not_regex: "not_regex";
754
+ regex: "regex";
755
+ }>;
756
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
757
+ }, z.core.$strict>>]>>;
758
+ os: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
759
+ operator: z.ZodEnum<{
760
+ contains: "contains";
761
+ equals: "equals";
762
+ is_empty: "is_empty";
763
+ is_not_empty: "is_not_empty";
764
+ not_contains: "not_contains";
765
+ not_equals: "not_equals";
766
+ not_regex: "not_regex";
767
+ regex: "regex";
768
+ }>;
769
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
770
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
771
+ operator: z.ZodEnum<{
772
+ contains: "contains";
773
+ equals: "equals";
774
+ is_empty: "is_empty";
775
+ is_not_empty: "is_not_empty";
776
+ not_contains: "not_contains";
777
+ not_equals: "not_equals";
778
+ not_regex: "not_regex";
779
+ regex: "regex";
780
+ }>;
781
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
782
+ }, z.core.$strict>>]>>;
783
+ match: z.ZodOptional<z.ZodEnum<{
784
+ all: "all";
785
+ any: "any";
786
+ }>>;
787
+ path: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
788
+ operator: z.ZodEnum<{
789
+ contains: "contains";
790
+ equals: "equals";
791
+ is_empty: "is_empty";
792
+ is_not_empty: "is_not_empty";
793
+ not_contains: "not_contains";
794
+ not_equals: "not_equals";
795
+ not_regex: "not_regex";
796
+ regex: "regex";
797
+ }>;
798
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
799
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
800
+ operator: z.ZodEnum<{
801
+ contains: "contains";
802
+ equals: "equals";
803
+ is_empty: "is_empty";
804
+ is_not_empty: "is_not_empty";
805
+ not_contains: "not_contains";
806
+ not_equals: "not_equals";
807
+ not_regex: "not_regex";
808
+ regex: "regex";
809
+ }>;
810
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
811
+ }, z.core.$strict>>]>>;
812
+ query: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
813
+ operator: z.ZodEnum<{
814
+ contains: "contains";
815
+ equals: "equals";
816
+ is_empty: "is_empty";
817
+ is_not_empty: "is_not_empty";
818
+ not_contains: "not_contains";
819
+ not_equals: "not_equals";
820
+ not_regex: "not_regex";
821
+ regex: "regex";
822
+ }>;
823
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
824
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
825
+ operator: z.ZodEnum<{
826
+ contains: "contains";
827
+ equals: "equals";
828
+ is_empty: "is_empty";
829
+ is_not_empty: "is_not_empty";
830
+ not_contains: "not_contains";
831
+ not_equals: "not_equals";
832
+ not_regex: "not_regex";
833
+ regex: "regex";
834
+ }>;
835
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
836
+ }, z.core.$strict>>]>>;
837
+ referrer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
838
+ operator: z.ZodEnum<{
839
+ contains: "contains";
840
+ equals: "equals";
841
+ is_empty: "is_empty";
842
+ is_not_empty: "is_not_empty";
843
+ not_contains: "not_contains";
844
+ not_equals: "not_equals";
845
+ not_regex: "not_regex";
846
+ regex: "regex";
847
+ }>;
848
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
849
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
850
+ operator: z.ZodEnum<{
851
+ contains: "contains";
852
+ equals: "equals";
853
+ is_empty: "is_empty";
854
+ is_not_empty: "is_not_empty";
855
+ not_contains: "not_contains";
856
+ not_equals: "not_equals";
857
+ not_regex: "not_regex";
858
+ regex: "regex";
859
+ }>;
860
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
861
+ }, z.core.$strict>>]>>;
862
+ region: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
863
+ operator: z.ZodEnum<{
864
+ contains: "contains";
865
+ equals: "equals";
866
+ is_empty: "is_empty";
867
+ is_not_empty: "is_not_empty";
868
+ not_contains: "not_contains";
869
+ not_equals: "not_equals";
870
+ not_regex: "not_regex";
871
+ regex: "regex";
872
+ }>;
873
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
874
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
875
+ operator: z.ZodEnum<{
876
+ contains: "contains";
877
+ equals: "equals";
878
+ is_empty: "is_empty";
879
+ is_not_empty: "is_not_empty";
880
+ not_contains: "not_contains";
881
+ not_equals: "not_equals";
882
+ not_regex: "not_regex";
883
+ regex: "regex";
884
+ }>;
885
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
886
+ }, z.core.$strict>>]>>;
887
+ segment: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
888
+ tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
889
+ operator: z.ZodEnum<{
890
+ contains: "contains";
891
+ equals: "equals";
892
+ is_empty: "is_empty";
893
+ is_not_empty: "is_not_empty";
894
+ not_contains: "not_contains";
895
+ not_equals: "not_equals";
896
+ not_regex: "not_regex";
897
+ regex: "regex";
898
+ }>;
899
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
900
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
901
+ operator: z.ZodEnum<{
902
+ contains: "contains";
903
+ equals: "equals";
904
+ is_empty: "is_empty";
905
+ is_not_empty: "is_not_empty";
906
+ not_contains: "not_contains";
907
+ not_equals: "not_equals";
908
+ not_regex: "not_regex";
909
+ regex: "regex";
910
+ }>;
911
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
912
+ }, z.core.$strict>>]>>;
913
+ title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
914
+ operator: z.ZodEnum<{
915
+ contains: "contains";
916
+ equals: "equals";
917
+ is_empty: "is_empty";
918
+ is_not_empty: "is_not_empty";
919
+ not_contains: "not_contains";
920
+ not_equals: "not_equals";
921
+ not_regex: "not_regex";
922
+ regex: "regex";
923
+ }>;
924
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
925
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
926
+ operator: z.ZodEnum<{
927
+ contains: "contains";
928
+ equals: "equals";
929
+ is_empty: "is_empty";
930
+ is_not_empty: "is_not_empty";
931
+ not_contains: "not_contains";
932
+ not_equals: "not_equals";
933
+ not_regex: "not_regex";
934
+ regex: "regex";
935
+ }>;
936
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
937
+ }, z.core.$strict>>]>>;
938
+ utmCampaign: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
939
+ operator: z.ZodEnum<{
940
+ contains: "contains";
941
+ equals: "equals";
942
+ is_empty: "is_empty";
943
+ is_not_empty: "is_not_empty";
944
+ not_contains: "not_contains";
945
+ not_equals: "not_equals";
946
+ not_regex: "not_regex";
947
+ regex: "regex";
948
+ }>;
949
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
950
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
951
+ operator: z.ZodEnum<{
952
+ contains: "contains";
953
+ equals: "equals";
954
+ is_empty: "is_empty";
955
+ is_not_empty: "is_not_empty";
956
+ not_contains: "not_contains";
957
+ not_equals: "not_equals";
958
+ not_regex: "not_regex";
959
+ regex: "regex";
960
+ }>;
961
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
962
+ }, z.core.$strict>>]>>;
963
+ utmContent: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
964
+ operator: z.ZodEnum<{
965
+ contains: "contains";
966
+ equals: "equals";
967
+ is_empty: "is_empty";
968
+ is_not_empty: "is_not_empty";
969
+ not_contains: "not_contains";
970
+ not_equals: "not_equals";
971
+ not_regex: "not_regex";
972
+ regex: "regex";
973
+ }>;
974
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
975
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
976
+ operator: z.ZodEnum<{
977
+ contains: "contains";
978
+ equals: "equals";
979
+ is_empty: "is_empty";
980
+ is_not_empty: "is_not_empty";
981
+ not_contains: "not_contains";
982
+ not_equals: "not_equals";
983
+ not_regex: "not_regex";
984
+ regex: "regex";
985
+ }>;
986
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
987
+ }, z.core.$strict>>]>>;
988
+ utmMedium: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
989
+ operator: z.ZodEnum<{
990
+ contains: "contains";
991
+ equals: "equals";
992
+ is_empty: "is_empty";
993
+ is_not_empty: "is_not_empty";
994
+ not_contains: "not_contains";
995
+ not_equals: "not_equals";
996
+ not_regex: "not_regex";
997
+ regex: "regex";
998
+ }>;
999
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1000
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
1001
+ operator: z.ZodEnum<{
1002
+ contains: "contains";
1003
+ equals: "equals";
1004
+ is_empty: "is_empty";
1005
+ is_not_empty: "is_not_empty";
1006
+ not_contains: "not_contains";
1007
+ not_equals: "not_equals";
1008
+ not_regex: "not_regex";
1009
+ regex: "regex";
1010
+ }>;
1011
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1012
+ }, z.core.$strict>>]>>;
1013
+ utmSource: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1014
+ operator: z.ZodEnum<{
1015
+ contains: "contains";
1016
+ equals: "equals";
1017
+ is_empty: "is_empty";
1018
+ is_not_empty: "is_not_empty";
1019
+ not_contains: "not_contains";
1020
+ not_equals: "not_equals";
1021
+ not_regex: "not_regex";
1022
+ regex: "regex";
1023
+ }>;
1024
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1025
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
1026
+ operator: z.ZodEnum<{
1027
+ contains: "contains";
1028
+ equals: "equals";
1029
+ is_empty: "is_empty";
1030
+ is_not_empty: "is_not_empty";
1031
+ not_contains: "not_contains";
1032
+ not_equals: "not_equals";
1033
+ not_regex: "not_regex";
1034
+ regex: "regex";
1035
+ }>;
1036
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1037
+ }, z.core.$strict>>]>>;
1038
+ utmTerm: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1039
+ operator: z.ZodEnum<{
1040
+ contains: "contains";
1041
+ equals: "equals";
1042
+ is_empty: "is_empty";
1043
+ is_not_empty: "is_not_empty";
1044
+ not_contains: "not_contains";
1045
+ not_equals: "not_equals";
1046
+ not_regex: "not_regex";
1047
+ regex: "regex";
1048
+ }>;
1049
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1050
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
1051
+ operator: z.ZodEnum<{
1052
+ contains: "contains";
1053
+ equals: "equals";
1054
+ is_empty: "is_empty";
1055
+ is_not_empty: "is_not_empty";
1056
+ not_contains: "not_contains";
1057
+ not_equals: "not_equals";
1058
+ not_regex: "not_regex";
1059
+ regex: "regex";
1060
+ }>;
1061
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1062
+ }, z.core.$strict>>]>>;
1063
+ channel: z.ZodOptional<z.ZodEnum<{
1064
+ affiliate: "affiliate";
1065
+ direct: "direct";
1066
+ email: "email";
1067
+ llm: "llm";
1068
+ organicSearch: "organicSearch";
1069
+ organicShopping: "organicShopping";
1070
+ organicSocial: "organicSocial";
1071
+ organicVideo: "organicVideo";
1072
+ paidAds: "paidAds";
1073
+ paidSearch: "paidSearch";
1074
+ paidShopping: "paidShopping";
1075
+ paidSocial: "paidSocial";
1076
+ paidVideo: "paidVideo";
1077
+ referral: "referral";
1078
+ sms: "sms";
1079
+ }>>;
1080
+ }, z.core.$strict>;
1081
+ export declare const trafficSegmentSchema: z.ZodDefault<z.ZodEnum<{
1082
+ all: "all";
1083
+ human: "human";
1084
+ }>>;
1085
+ export declare function serializeFilters(filters: Record<string, unknown> | undefined): Query;
1086
+ export declare function appendReferrerExclusions(filters: Query, domains: readonly string[]): Query;
46
1087
  export declare function rangeQuery(start: TimeInput, end: TimeInput, maxRangeDays: number, options?: {
47
1088
  filters?: z.infer<typeof filtersSchema>;
1089
+ serializedFilters?: Query;
48
1090
  timezone?: string;
49
1091
  unit?: string;
50
1092
  }): Query;
@@ -57,6 +1099,7 @@ declare const UNIT_MILLISECONDS: {
57
1099
  };
58
1100
  export declare function seriesRangeQuery(start: TimeInput, end: TimeInput, maxRangeDays: number, options?: {
59
1101
  filters?: z.infer<typeof filtersSchema>;
1102
+ serializedFilters?: Query;
60
1103
  timezone?: string;
61
1104
  unit?: keyof typeof UNIT_MILLISECONDS;
62
1105
  seriesCount?: number;