@opencrvs/toolkit 1.8.0-rc.f876361 → 1.8.0-rc.f8e4107

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.
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z, ZodType } from 'zod';
2
2
  export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
3
3
  id: z.ZodString;
4
4
  type: z.ZodString;
@@ -15,7 +15,8 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
15
15
  createdAt: z.ZodString;
16
16
  createdBy: z.ZodString;
17
17
  createdAtLocation: z.ZodString;
18
- modifiedAt: z.ZodString;
18
+ updatedAtLocation: z.ZodString;
19
+ updatedAt: z.ZodString;
19
20
  assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
21
  updatedBy: z.ZodString;
21
22
  trackingId: z.ZodString;
@@ -30,8 +31,9 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
30
31
  createdBy: string;
31
32
  declaration: Record<string, any>;
32
33
  createdAtLocation: string;
34
+ updatedAtLocation: string;
35
+ updatedAt: string;
33
36
  trackingId: string;
34
- modifiedAt: string;
35
37
  updatedBy: string;
36
38
  assignedTo?: string | null | undefined;
37
39
  registrationNumber?: string | null | undefined;
@@ -43,8 +45,9 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
43
45
  createdBy: string;
44
46
  declaration: Record<string, any>;
45
47
  createdAtLocation: string;
48
+ updatedAtLocation: string;
49
+ updatedAt: string;
46
50
  trackingId: string;
47
- modifiedAt: string;
48
51
  updatedBy: string;
49
52
  assignedTo?: string | null | undefined;
50
53
  registrationNumber?: string | null | undefined;
@@ -58,4 +61,743 @@ export declare const EventSearchIndex: z.ZodIntersection<z.ZodRecord<z.ZodString
58
61
  }>>;
59
62
  export type EventSearchIndex = z.infer<typeof EventSearchIndex>;
60
63
  export type EventIndex = z.infer<typeof EventIndex>;
64
+ declare const Fuzzy: z.ZodObject<{
65
+ type: z.ZodLiteral<"fuzzy">;
66
+ term: z.ZodString;
67
+ }, "strip", z.ZodTypeAny, {
68
+ type: "fuzzy";
69
+ term: string;
70
+ }, {
71
+ type: "fuzzy";
72
+ term: string;
73
+ }>;
74
+ declare const Exact: z.ZodObject<{
75
+ type: z.ZodLiteral<"exact">;
76
+ term: z.ZodString;
77
+ }, "strip", z.ZodTypeAny, {
78
+ type: "exact";
79
+ term: string;
80
+ }, {
81
+ type: "exact";
82
+ term: string;
83
+ }>;
84
+ declare const AnyOf: z.ZodObject<{
85
+ type: z.ZodLiteral<"anyOf">;
86
+ terms: z.ZodArray<z.ZodString, "many">;
87
+ }, "strip", z.ZodTypeAny, {
88
+ type: "anyOf";
89
+ terms: string[];
90
+ }, {
91
+ type: "anyOf";
92
+ terms: string[];
93
+ }>;
94
+ declare const Range: z.ZodObject<{
95
+ type: z.ZodLiteral<"range">;
96
+ gte: z.ZodString;
97
+ lte: z.ZodString;
98
+ }, "strip", z.ZodTypeAny, {
99
+ type: "range";
100
+ gte: string;
101
+ lte: string;
102
+ }, {
103
+ type: "range";
104
+ gte: string;
105
+ lte: string;
106
+ }>;
107
+ declare const Within: z.ZodObject<{
108
+ type: z.ZodLiteral<"within">;
109
+ location: z.ZodString;
110
+ }, "strip", z.ZodTypeAny, {
111
+ type: "within";
112
+ location: string;
113
+ }, {
114
+ type: "within";
115
+ location: string;
116
+ }>;
117
+ export declare const QueryInput: ZodType;
118
+ export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf>;
119
+ type QueryMap = {
120
+ [key: string]: BaseInput | QueryMap;
121
+ };
122
+ export type QueryInputType = BaseInput | QueryMap;
123
+ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
124
+ type: z.ZodOptional<z.ZodLiteral<"and">>;
125
+ eventType: z.ZodOptional<z.ZodString>;
126
+ searchType: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
127
+ type: z.ZodLiteral<"anyOf">;
128
+ terms: z.ZodArray<z.ZodString, "many">;
129
+ }, "strip", z.ZodTypeAny, {
130
+ type: "anyOf";
131
+ terms: string[];
132
+ }, {
133
+ type: "anyOf";
134
+ terms: string[];
135
+ }>, z.ZodObject<{
136
+ type: z.ZodLiteral<"exact">;
137
+ term: z.ZodString;
138
+ }, "strip", z.ZodTypeAny, {
139
+ type: "exact";
140
+ term: string;
141
+ }, {
142
+ type: "exact";
143
+ term: string;
144
+ }>]>>>;
145
+ status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
146
+ type: z.ZodLiteral<"anyOf">;
147
+ terms: z.ZodArray<z.ZodString, "many">;
148
+ }, "strip", z.ZodTypeAny, {
149
+ type: "anyOf";
150
+ terms: string[];
151
+ }, {
152
+ type: "anyOf";
153
+ terms: string[];
154
+ }>, z.ZodObject<{
155
+ type: z.ZodLiteral<"exact">;
156
+ term: z.ZodString;
157
+ }, "strip", z.ZodTypeAny, {
158
+ type: "exact";
159
+ term: string;
160
+ }, {
161
+ type: "exact";
162
+ term: string;
163
+ }>]>>>;
164
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
165
+ type: z.ZodLiteral<"exact">;
166
+ term: z.ZodString;
167
+ }, "strip", z.ZodTypeAny, {
168
+ type: "exact";
169
+ term: string;
170
+ }, {
171
+ type: "exact";
172
+ term: string;
173
+ }>, z.ZodObject<{
174
+ type: z.ZodLiteral<"range">;
175
+ gte: z.ZodString;
176
+ lte: z.ZodString;
177
+ }, "strip", z.ZodTypeAny, {
178
+ type: "range";
179
+ gte: string;
180
+ lte: string;
181
+ }, {
182
+ type: "range";
183
+ gte: string;
184
+ lte: string;
185
+ }>]>>>;
186
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
187
+ type: z.ZodLiteral<"exact">;
188
+ term: z.ZodString;
189
+ }, "strip", z.ZodTypeAny, {
190
+ type: "exact";
191
+ term: string;
192
+ }, {
193
+ type: "exact";
194
+ term: string;
195
+ }>, z.ZodObject<{
196
+ type: z.ZodLiteral<"range">;
197
+ gte: z.ZodString;
198
+ lte: z.ZodString;
199
+ }, "strip", z.ZodTypeAny, {
200
+ type: "range";
201
+ gte: string;
202
+ lte: string;
203
+ }, {
204
+ type: "range";
205
+ gte: string;
206
+ lte: string;
207
+ }>]>>>;
208
+ createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
209
+ type: z.ZodLiteral<"within">;
210
+ location: z.ZodString;
211
+ }, "strip", z.ZodTypeAny, {
212
+ type: "within";
213
+ location: string;
214
+ }, {
215
+ type: "within";
216
+ location: string;
217
+ }>, z.ZodObject<{
218
+ type: z.ZodLiteral<"exact">;
219
+ term: z.ZodString;
220
+ }, "strip", z.ZodTypeAny, {
221
+ type: "exact";
222
+ term: string;
223
+ }, {
224
+ type: "exact";
225
+ term: string;
226
+ }>]>>>;
227
+ updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
228
+ type: z.ZodLiteral<"within">;
229
+ location: z.ZodString;
230
+ }, "strip", z.ZodTypeAny, {
231
+ type: "within";
232
+ location: string;
233
+ }, {
234
+ type: "within";
235
+ location: string;
236
+ }>, z.ZodObject<{
237
+ type: z.ZodLiteral<"exact">;
238
+ term: z.ZodString;
239
+ }, "strip", z.ZodTypeAny, {
240
+ type: "exact";
241
+ term: string;
242
+ }, {
243
+ type: "exact";
244
+ term: string;
245
+ }>]>>>;
246
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
247
+ type: z.ZodLiteral<"exact">;
248
+ term: z.ZodString;
249
+ }, "strip", z.ZodTypeAny, {
250
+ type: "exact";
251
+ term: string;
252
+ }, {
253
+ type: "exact";
254
+ term: string;
255
+ }>>>;
256
+ updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
257
+ type: z.ZodLiteral<"exact">;
258
+ term: z.ZodString;
259
+ }, "strip", z.ZodTypeAny, {
260
+ type: "exact";
261
+ term: string;
262
+ }, {
263
+ type: "exact";
264
+ term: string;
265
+ }>>>;
266
+ trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
267
+ type: z.ZodLiteral<"exact">;
268
+ term: z.ZodString;
269
+ }, "strip", z.ZodTypeAny, {
270
+ type: "exact";
271
+ term: string;
272
+ }, {
273
+ type: "exact";
274
+ term: string;
275
+ }>>>;
276
+ data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
277
+ }, "strip", z.ZodTypeAny, {
278
+ type?: "and" | undefined;
279
+ status?: {
280
+ type: "exact";
281
+ term: string;
282
+ } | {
283
+ type: "anyOf";
284
+ terms: string[];
285
+ } | undefined;
286
+ data?: any;
287
+ createdAt?: {
288
+ type: "exact";
289
+ term: string;
290
+ } | {
291
+ type: "range";
292
+ gte: string;
293
+ lte: string;
294
+ } | undefined;
295
+ createdBy?: {
296
+ type: "exact";
297
+ term: string;
298
+ } | undefined;
299
+ updatedAtLocation?: {
300
+ type: "exact";
301
+ term: string;
302
+ } | {
303
+ type: "within";
304
+ location: string;
305
+ } | undefined;
306
+ updatedAt?: {
307
+ type: "exact";
308
+ term: string;
309
+ } | {
310
+ type: "range";
311
+ gte: string;
312
+ lte: string;
313
+ } | undefined;
314
+ trackingId?: {
315
+ type: "exact";
316
+ term: string;
317
+ } | undefined;
318
+ updatedBy?: {
319
+ type: "exact";
320
+ term: string;
321
+ } | undefined;
322
+ eventType?: string | undefined;
323
+ searchType?: {
324
+ type: "exact";
325
+ term: string;
326
+ } | {
327
+ type: "anyOf";
328
+ terms: string[];
329
+ } | undefined;
330
+ createAtLocation?: {
331
+ type: "exact";
332
+ term: string;
333
+ } | {
334
+ type: "within";
335
+ location: string;
336
+ } | undefined;
337
+ }, {
338
+ type?: "and" | undefined;
339
+ status?: {
340
+ type: "exact";
341
+ term: string;
342
+ } | {
343
+ type: "anyOf";
344
+ terms: string[];
345
+ } | undefined;
346
+ data?: any;
347
+ createdAt?: {
348
+ type: "exact";
349
+ term: string;
350
+ } | {
351
+ type: "range";
352
+ gte: string;
353
+ lte: string;
354
+ } | undefined;
355
+ createdBy?: {
356
+ type: "exact";
357
+ term: string;
358
+ } | undefined;
359
+ updatedAtLocation?: {
360
+ type: "exact";
361
+ term: string;
362
+ } | {
363
+ type: "within";
364
+ location: string;
365
+ } | undefined;
366
+ updatedAt?: {
367
+ type: "exact";
368
+ term: string;
369
+ } | {
370
+ type: "range";
371
+ gte: string;
372
+ lte: string;
373
+ } | undefined;
374
+ trackingId?: {
375
+ type: "exact";
376
+ term: string;
377
+ } | undefined;
378
+ updatedBy?: {
379
+ type: "exact";
380
+ term: string;
381
+ } | undefined;
382
+ eventType?: string | undefined;
383
+ searchType?: {
384
+ type: "exact";
385
+ term: string;
386
+ } | {
387
+ type: "anyOf";
388
+ terms: string[];
389
+ } | undefined;
390
+ createAtLocation?: {
391
+ type: "exact";
392
+ term: string;
393
+ } | {
394
+ type: "within";
395
+ location: string;
396
+ } | undefined;
397
+ }>, z.ZodObject<{
398
+ type: z.ZodLiteral<"or">;
399
+ clauses: z.ZodArray<z.ZodObject<{
400
+ type: z.ZodOptional<z.ZodLiteral<"and">>;
401
+ eventType: z.ZodOptional<z.ZodString>;
402
+ searchType: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
403
+ type: z.ZodLiteral<"anyOf">;
404
+ terms: z.ZodArray<z.ZodString, "many">;
405
+ }, "strip", z.ZodTypeAny, {
406
+ type: "anyOf";
407
+ terms: string[];
408
+ }, {
409
+ type: "anyOf";
410
+ terms: string[];
411
+ }>, z.ZodObject<{
412
+ type: z.ZodLiteral<"exact">;
413
+ term: z.ZodString;
414
+ }, "strip", z.ZodTypeAny, {
415
+ type: "exact";
416
+ term: string;
417
+ }, {
418
+ type: "exact";
419
+ term: string;
420
+ }>]>>>;
421
+ status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
422
+ type: z.ZodLiteral<"anyOf">;
423
+ terms: z.ZodArray<z.ZodString, "many">;
424
+ }, "strip", z.ZodTypeAny, {
425
+ type: "anyOf";
426
+ terms: string[];
427
+ }, {
428
+ type: "anyOf";
429
+ terms: string[];
430
+ }>, z.ZodObject<{
431
+ type: z.ZodLiteral<"exact">;
432
+ term: z.ZodString;
433
+ }, "strip", z.ZodTypeAny, {
434
+ type: "exact";
435
+ term: string;
436
+ }, {
437
+ type: "exact";
438
+ term: string;
439
+ }>]>>>;
440
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
441
+ type: z.ZodLiteral<"exact">;
442
+ term: z.ZodString;
443
+ }, "strip", z.ZodTypeAny, {
444
+ type: "exact";
445
+ term: string;
446
+ }, {
447
+ type: "exact";
448
+ term: string;
449
+ }>, z.ZodObject<{
450
+ type: z.ZodLiteral<"range">;
451
+ gte: z.ZodString;
452
+ lte: z.ZodString;
453
+ }, "strip", z.ZodTypeAny, {
454
+ type: "range";
455
+ gte: string;
456
+ lte: string;
457
+ }, {
458
+ type: "range";
459
+ gte: string;
460
+ lte: string;
461
+ }>]>>>;
462
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
463
+ type: z.ZodLiteral<"exact">;
464
+ term: z.ZodString;
465
+ }, "strip", z.ZodTypeAny, {
466
+ type: "exact";
467
+ term: string;
468
+ }, {
469
+ type: "exact";
470
+ term: string;
471
+ }>, z.ZodObject<{
472
+ type: z.ZodLiteral<"range">;
473
+ gte: z.ZodString;
474
+ lte: z.ZodString;
475
+ }, "strip", z.ZodTypeAny, {
476
+ type: "range";
477
+ gte: string;
478
+ lte: string;
479
+ }, {
480
+ type: "range";
481
+ gte: string;
482
+ lte: string;
483
+ }>]>>>;
484
+ createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
485
+ type: z.ZodLiteral<"within">;
486
+ location: z.ZodString;
487
+ }, "strip", z.ZodTypeAny, {
488
+ type: "within";
489
+ location: string;
490
+ }, {
491
+ type: "within";
492
+ location: string;
493
+ }>, z.ZodObject<{
494
+ type: z.ZodLiteral<"exact">;
495
+ term: z.ZodString;
496
+ }, "strip", z.ZodTypeAny, {
497
+ type: "exact";
498
+ term: string;
499
+ }, {
500
+ type: "exact";
501
+ term: string;
502
+ }>]>>>;
503
+ updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
504
+ type: z.ZodLiteral<"within">;
505
+ location: z.ZodString;
506
+ }, "strip", z.ZodTypeAny, {
507
+ type: "within";
508
+ location: string;
509
+ }, {
510
+ type: "within";
511
+ location: string;
512
+ }>, z.ZodObject<{
513
+ type: z.ZodLiteral<"exact">;
514
+ term: z.ZodString;
515
+ }, "strip", z.ZodTypeAny, {
516
+ type: "exact";
517
+ term: string;
518
+ }, {
519
+ type: "exact";
520
+ term: string;
521
+ }>]>>>;
522
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
523
+ type: z.ZodLiteral<"exact">;
524
+ term: z.ZodString;
525
+ }, "strip", z.ZodTypeAny, {
526
+ type: "exact";
527
+ term: string;
528
+ }, {
529
+ type: "exact";
530
+ term: string;
531
+ }>>>;
532
+ updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
533
+ type: z.ZodLiteral<"exact">;
534
+ term: z.ZodString;
535
+ }, "strip", z.ZodTypeAny, {
536
+ type: "exact";
537
+ term: string;
538
+ }, {
539
+ type: "exact";
540
+ term: string;
541
+ }>>>;
542
+ trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
543
+ type: z.ZodLiteral<"exact">;
544
+ term: z.ZodString;
545
+ }, "strip", z.ZodTypeAny, {
546
+ type: "exact";
547
+ term: string;
548
+ }, {
549
+ type: "exact";
550
+ term: string;
551
+ }>>>;
552
+ data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
553
+ }, "strip", z.ZodTypeAny, {
554
+ type?: "and" | undefined;
555
+ status?: {
556
+ type: "exact";
557
+ term: string;
558
+ } | {
559
+ type: "anyOf";
560
+ terms: string[];
561
+ } | undefined;
562
+ data?: any;
563
+ createdAt?: {
564
+ type: "exact";
565
+ term: string;
566
+ } | {
567
+ type: "range";
568
+ gte: string;
569
+ lte: string;
570
+ } | undefined;
571
+ createdBy?: {
572
+ type: "exact";
573
+ term: string;
574
+ } | undefined;
575
+ updatedAtLocation?: {
576
+ type: "exact";
577
+ term: string;
578
+ } | {
579
+ type: "within";
580
+ location: string;
581
+ } | undefined;
582
+ updatedAt?: {
583
+ type: "exact";
584
+ term: string;
585
+ } | {
586
+ type: "range";
587
+ gte: string;
588
+ lte: string;
589
+ } | undefined;
590
+ trackingId?: {
591
+ type: "exact";
592
+ term: string;
593
+ } | undefined;
594
+ updatedBy?: {
595
+ type: "exact";
596
+ term: string;
597
+ } | undefined;
598
+ eventType?: string | undefined;
599
+ searchType?: {
600
+ type: "exact";
601
+ term: string;
602
+ } | {
603
+ type: "anyOf";
604
+ terms: string[];
605
+ } | undefined;
606
+ createAtLocation?: {
607
+ type: "exact";
608
+ term: string;
609
+ } | {
610
+ type: "within";
611
+ location: string;
612
+ } | undefined;
613
+ }, {
614
+ type?: "and" | undefined;
615
+ status?: {
616
+ type: "exact";
617
+ term: string;
618
+ } | {
619
+ type: "anyOf";
620
+ terms: string[];
621
+ } | undefined;
622
+ data?: any;
623
+ createdAt?: {
624
+ type: "exact";
625
+ term: string;
626
+ } | {
627
+ type: "range";
628
+ gte: string;
629
+ lte: string;
630
+ } | undefined;
631
+ createdBy?: {
632
+ type: "exact";
633
+ term: string;
634
+ } | undefined;
635
+ updatedAtLocation?: {
636
+ type: "exact";
637
+ term: string;
638
+ } | {
639
+ type: "within";
640
+ location: string;
641
+ } | undefined;
642
+ updatedAt?: {
643
+ type: "exact";
644
+ term: string;
645
+ } | {
646
+ type: "range";
647
+ gte: string;
648
+ lte: string;
649
+ } | undefined;
650
+ trackingId?: {
651
+ type: "exact";
652
+ term: string;
653
+ } | undefined;
654
+ updatedBy?: {
655
+ type: "exact";
656
+ term: string;
657
+ } | undefined;
658
+ eventType?: string | undefined;
659
+ searchType?: {
660
+ type: "exact";
661
+ term: string;
662
+ } | {
663
+ type: "anyOf";
664
+ terms: string[];
665
+ } | undefined;
666
+ createAtLocation?: {
667
+ type: "exact";
668
+ term: string;
669
+ } | {
670
+ type: "within";
671
+ location: string;
672
+ } | undefined;
673
+ }>, "many">;
674
+ }, "strip", z.ZodTypeAny, {
675
+ type: "or";
676
+ clauses: {
677
+ type?: "and" | undefined;
678
+ status?: {
679
+ type: "exact";
680
+ term: string;
681
+ } | {
682
+ type: "anyOf";
683
+ terms: string[];
684
+ } | undefined;
685
+ data?: any;
686
+ createdAt?: {
687
+ type: "exact";
688
+ term: string;
689
+ } | {
690
+ type: "range";
691
+ gte: string;
692
+ lte: string;
693
+ } | undefined;
694
+ createdBy?: {
695
+ type: "exact";
696
+ term: string;
697
+ } | undefined;
698
+ updatedAtLocation?: {
699
+ type: "exact";
700
+ term: string;
701
+ } | {
702
+ type: "within";
703
+ location: string;
704
+ } | undefined;
705
+ updatedAt?: {
706
+ type: "exact";
707
+ term: string;
708
+ } | {
709
+ type: "range";
710
+ gte: string;
711
+ lte: string;
712
+ } | undefined;
713
+ trackingId?: {
714
+ type: "exact";
715
+ term: string;
716
+ } | undefined;
717
+ updatedBy?: {
718
+ type: "exact";
719
+ term: string;
720
+ } | undefined;
721
+ eventType?: string | undefined;
722
+ searchType?: {
723
+ type: "exact";
724
+ term: string;
725
+ } | {
726
+ type: "anyOf";
727
+ terms: string[];
728
+ } | undefined;
729
+ createAtLocation?: {
730
+ type: "exact";
731
+ term: string;
732
+ } | {
733
+ type: "within";
734
+ location: string;
735
+ } | undefined;
736
+ }[];
737
+ }, {
738
+ type: "or";
739
+ clauses: {
740
+ type?: "and" | undefined;
741
+ status?: {
742
+ type: "exact";
743
+ term: string;
744
+ } | {
745
+ type: "anyOf";
746
+ terms: string[];
747
+ } | undefined;
748
+ data?: any;
749
+ createdAt?: {
750
+ type: "exact";
751
+ term: string;
752
+ } | {
753
+ type: "range";
754
+ gte: string;
755
+ lte: string;
756
+ } | undefined;
757
+ createdBy?: {
758
+ type: "exact";
759
+ term: string;
760
+ } | undefined;
761
+ updatedAtLocation?: {
762
+ type: "exact";
763
+ term: string;
764
+ } | {
765
+ type: "within";
766
+ location: string;
767
+ } | undefined;
768
+ updatedAt?: {
769
+ type: "exact";
770
+ term: string;
771
+ } | {
772
+ type: "range";
773
+ gte: string;
774
+ lte: string;
775
+ } | undefined;
776
+ trackingId?: {
777
+ type: "exact";
778
+ term: string;
779
+ } | undefined;
780
+ updatedBy?: {
781
+ type: "exact";
782
+ term: string;
783
+ } | undefined;
784
+ eventType?: string | undefined;
785
+ searchType?: {
786
+ type: "exact";
787
+ term: string;
788
+ } | {
789
+ type: "anyOf";
790
+ terms: string[];
791
+ } | undefined;
792
+ createAtLocation?: {
793
+ type: "exact";
794
+ term: string;
795
+ } | {
796
+ type: "within";
797
+ location: string;
798
+ } | undefined;
799
+ }[];
800
+ }>]>;
801
+ export type QueryType = z.infer<typeof QueryType>;
802
+ export {};
61
803
  //# sourceMappingURL=EventIndex.d.ts.map