@opencrvs/toolkit 1.8.0-rc.fb4793a → 1.8.0-rc.fbb40d1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commons/api/router.d.ts +1292 -484
- package/dist/commons/conditionals/conditionals.d.ts +2 -1
- package/dist/commons/events/ActionConfig.d.ts +7279 -2
- package/dist/commons/events/ActionDocument.d.ts +428 -346
- package/dist/commons/events/ActionInput.d.ts +197 -125
- package/dist/commons/events/Constants.d.ts +2 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
- package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
- package/dist/commons/events/Draft.d.ts +24 -24
- package/dist/commons/events/EventConfig.d.ts +10354 -6550
- package/dist/commons/events/EventDocument.d.ts +306 -267
- package/dist/commons/events/EventIndex.d.ts +192 -605
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +38 -48
- package/dist/commons/events/User.d.ts +31 -7
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +3460 -485
- package/dist/commons/events/defineConfig.d.ts +729 -0
- package/dist/commons/events/event.d.ts +2 -2
- package/dist/commons/events/index.d.ts +4 -0
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +15 -6
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +7 -6
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +19 -2
- package/dist/events/index.js +1590 -603
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import { z, ZodType } from 'zod';
|
2
2
|
export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
3
|
-
id: z.ZodString
|
3
|
+
id: z.ZodBranded<z.ZodString, "UUID">;
|
4
4
|
type: z.ZodString;
|
5
5
|
status: z.ZodNativeEnum<{
|
6
6
|
readonly CREATED: "CREATED";
|
@@ -16,26 +16,26 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
16
16
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
17
17
|
createdAt: z.ZodString;
|
18
18
|
createdBy: z.ZodString;
|
19
|
-
createdAtLocation: z.ZodString
|
19
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
20
20
|
acceptedAt: z.ZodString;
|
21
21
|
createdByRole: z.ZodString;
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
23
23
|
createdAt: string;
|
24
24
|
createdBy: string;
|
25
25
|
createdByRole: string;
|
26
|
-
createdAtLocation: string;
|
27
26
|
acceptedAt: string;
|
27
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
28
28
|
}, {
|
29
29
|
createdAt: string;
|
30
30
|
createdBy: string;
|
31
31
|
createdByRole: string;
|
32
|
-
createdAtLocation: string;
|
33
32
|
acceptedAt: string;
|
33
|
+
createdAtLocation?: string | null | undefined;
|
34
34
|
}>>>;
|
35
35
|
REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
36
36
|
createdAt: z.ZodString;
|
37
37
|
createdBy: z.ZodString;
|
38
|
-
createdAtLocation: z.ZodString
|
38
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
39
39
|
acceptedAt: z.ZodString;
|
40
40
|
createdByRole: z.ZodString;
|
41
41
|
}, {
|
@@ -44,56 +44,56 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
44
44
|
createdAt: string;
|
45
45
|
createdBy: string;
|
46
46
|
createdByRole: string;
|
47
|
-
createdAtLocation: string;
|
48
47
|
registrationNumber: string;
|
49
48
|
acceptedAt: string;
|
49
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
50
50
|
}, {
|
51
51
|
createdAt: string;
|
52
52
|
createdBy: string;
|
53
53
|
createdByRole: string;
|
54
|
-
createdAtLocation: string;
|
55
54
|
registrationNumber: string;
|
56
55
|
acceptedAt: string;
|
56
|
+
createdAtLocation?: string | null | undefined;
|
57
57
|
}>>>;
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
59
59
|
DECLARED?: {
|
60
60
|
createdAt: string;
|
61
61
|
createdBy: string;
|
62
62
|
createdByRole: string;
|
63
|
-
createdAtLocation: string;
|
64
63
|
acceptedAt: string;
|
64
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
65
65
|
} | null | undefined;
|
66
66
|
REGISTERED?: {
|
67
67
|
createdAt: string;
|
68
68
|
createdBy: string;
|
69
69
|
createdByRole: string;
|
70
|
-
createdAtLocation: string;
|
71
70
|
registrationNumber: string;
|
72
71
|
acceptedAt: string;
|
72
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
73
73
|
} | null | undefined;
|
74
74
|
}, {
|
75
75
|
DECLARED?: {
|
76
76
|
createdAt: string;
|
77
77
|
createdBy: string;
|
78
78
|
createdByRole: string;
|
79
|
-
createdAtLocation: string;
|
80
79
|
acceptedAt: string;
|
80
|
+
createdAtLocation?: string | null | undefined;
|
81
81
|
} | null | undefined;
|
82
82
|
REGISTERED?: {
|
83
83
|
createdAt: string;
|
84
84
|
createdBy: string;
|
85
85
|
createdByRole: string;
|
86
|
-
createdAtLocation: string;
|
87
86
|
registrationNumber: string;
|
88
87
|
acceptedAt: string;
|
88
|
+
createdAtLocation?: string | null | undefined;
|
89
89
|
} | null | undefined;
|
90
90
|
}>;
|
91
91
|
createdAt: z.ZodString;
|
92
92
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
93
93
|
createdBy: z.ZodString;
|
94
94
|
updatedByUserRole: z.ZodString;
|
95
|
-
createdAtLocation: z.ZodString
|
96
|
-
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString
|
95
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
96
|
+
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
97
97
|
updatedAt: z.ZodString;
|
98
98
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
99
99
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -218,7 +218,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
218
218
|
}>]>>;
|
219
219
|
}>, "strip", z.ZodTypeAny, {
|
220
220
|
type: string;
|
221
|
-
id: string
|
221
|
+
id: string & z.BRAND<"UUID">;
|
222
222
|
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
223
223
|
createdAt: string;
|
224
224
|
createdBy: string;
|
@@ -260,7 +260,6 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
260
260
|
filename: string;
|
261
261
|
originalFilename: string;
|
262
262
|
}[] | [string, string] | undefined>;
|
263
|
-
createdAtLocation: string;
|
264
263
|
updatedAt: string;
|
265
264
|
trackingId: string;
|
266
265
|
legalStatuses: {
|
@@ -268,23 +267,24 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
268
267
|
createdAt: string;
|
269
268
|
createdBy: string;
|
270
269
|
createdByRole: string;
|
271
|
-
createdAtLocation: string;
|
272
270
|
acceptedAt: string;
|
271
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
273
272
|
} | null | undefined;
|
274
273
|
REGISTERED?: {
|
275
274
|
createdAt: string;
|
276
275
|
createdBy: string;
|
277
276
|
createdByRole: string;
|
278
|
-
createdAtLocation: string;
|
279
277
|
registrationNumber: string;
|
280
278
|
acceptedAt: string;
|
279
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
281
280
|
} | null | undefined;
|
282
281
|
};
|
283
282
|
updatedByUserRole: string;
|
284
283
|
flags: string[];
|
284
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
285
285
|
assignedTo?: string | null | undefined;
|
286
286
|
dateOfEvent?: string | null | undefined;
|
287
|
-
updatedAtLocation?: string | null | undefined;
|
287
|
+
updatedAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
288
288
|
updatedBy?: string | null | undefined;
|
289
289
|
}, {
|
290
290
|
type: string;
|
@@ -330,7 +330,6 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
330
330
|
filename: string;
|
331
331
|
originalFilename: string;
|
332
332
|
}[] | [string, string] | undefined>;
|
333
|
-
createdAtLocation: string;
|
334
333
|
updatedAt: string;
|
335
334
|
trackingId: string;
|
336
335
|
legalStatuses: {
|
@@ -338,20 +337,21 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
338
337
|
createdAt: string;
|
339
338
|
createdBy: string;
|
340
339
|
createdByRole: string;
|
341
|
-
createdAtLocation: string;
|
342
340
|
acceptedAt: string;
|
341
|
+
createdAtLocation?: string | null | undefined;
|
343
342
|
} | null | undefined;
|
344
343
|
REGISTERED?: {
|
345
344
|
createdAt: string;
|
346
345
|
createdBy: string;
|
347
346
|
createdByRole: string;
|
348
|
-
createdAtLocation: string;
|
349
347
|
registrationNumber: string;
|
350
348
|
acceptedAt: string;
|
349
|
+
createdAtLocation?: string | null | undefined;
|
351
350
|
} | null | undefined;
|
352
351
|
};
|
353
352
|
updatedByUserRole: string;
|
354
353
|
flags: string[];
|
354
|
+
createdAtLocation?: string | null | undefined;
|
355
355
|
assignedTo?: string | null | undefined;
|
356
356
|
dateOfEvent?: string | null | undefined;
|
357
357
|
updatedAtLocation?: string | null | undefined;
|
@@ -366,7 +366,7 @@ export declare const EventSearchIndex: z.ZodIntersection<z.ZodRecord<z.ZodString
|
|
366
366
|
}>>;
|
367
367
|
export type EventSearchIndex = z.infer<typeof EventSearchIndex>;
|
368
368
|
export type EventIndex = z.infer<typeof EventIndex>;
|
369
|
-
declare const Fuzzy: z.ZodObject<{
|
369
|
+
export declare const Fuzzy: z.ZodObject<{
|
370
370
|
type: z.ZodLiteral<"fuzzy">;
|
371
371
|
term: z.ZodString;
|
372
372
|
}, "strip", z.ZodTypeAny, {
|
@@ -376,7 +376,7 @@ declare const Fuzzy: z.ZodObject<{
|
|
376
376
|
type: "fuzzy";
|
377
377
|
term: string;
|
378
378
|
}>;
|
379
|
-
declare const Exact: z.ZodObject<{
|
379
|
+
export declare const Exact: z.ZodObject<{
|
380
380
|
type: z.ZodLiteral<"exact">;
|
381
381
|
term: z.ZodString;
|
382
382
|
}, "strip", z.ZodTypeAny, {
|
@@ -386,7 +386,7 @@ declare const Exact: z.ZodObject<{
|
|
386
386
|
type: "exact";
|
387
387
|
term: string;
|
388
388
|
}>;
|
389
|
-
declare const AnyOf: z.ZodObject<{
|
389
|
+
export declare const AnyOf: z.ZodObject<{
|
390
390
|
type: z.ZodLiteral<"anyOf">;
|
391
391
|
terms: z.ZodArray<z.ZodString, "many">;
|
392
392
|
}, "strip", z.ZodTypeAny, {
|
@@ -396,7 +396,27 @@ declare const AnyOf: z.ZodObject<{
|
|
396
396
|
type: "anyOf";
|
397
397
|
terms: string[];
|
398
398
|
}>;
|
399
|
-
declare const
|
399
|
+
export declare const ExactStatus: z.ZodObject<{
|
400
|
+
type: z.ZodLiteral<"exact">;
|
401
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
402
|
+
}, "strip", z.ZodTypeAny, {
|
403
|
+
type: "exact";
|
404
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
405
|
+
}, {
|
406
|
+
type: "exact";
|
407
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
408
|
+
}>;
|
409
|
+
export declare const AnyOfStatus: z.ZodObject<{
|
410
|
+
type: z.ZodLiteral<"anyOf">;
|
411
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
412
|
+
}, "strip", z.ZodTypeAny, {
|
413
|
+
type: "anyOf";
|
414
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
415
|
+
}, {
|
416
|
+
type: "anyOf";
|
417
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
418
|
+
}>;
|
419
|
+
export declare const Range: z.ZodObject<{
|
400
420
|
type: z.ZodLiteral<"range">;
|
401
421
|
gte: z.ZodString;
|
402
422
|
lte: z.ZodString;
|
@@ -409,7 +429,7 @@ declare const Range: z.ZodObject<{
|
|
409
429
|
gte: string;
|
410
430
|
lte: string;
|
411
431
|
}>;
|
412
|
-
declare const Not: z.ZodObject<{
|
432
|
+
export declare const Not: z.ZodObject<{
|
413
433
|
type: z.ZodLiteral<"not">;
|
414
434
|
term: z.ZodString;
|
415
435
|
}, "strip", z.ZodTypeAny, {
|
@@ -419,7 +439,7 @@ declare const Not: z.ZodObject<{
|
|
419
439
|
type: "not";
|
420
440
|
term: string;
|
421
441
|
}>;
|
422
|
-
declare const Within: z.ZodObject<{
|
442
|
+
export declare const Within: z.ZodObject<{
|
423
443
|
type: z.ZodLiteral<"within">;
|
424
444
|
location: z.ZodString;
|
425
445
|
}, "strip", z.ZodTypeAny, {
|
@@ -429,13 +449,35 @@ declare const Within: z.ZodObject<{
|
|
429
449
|
type: "within";
|
430
450
|
location: string;
|
431
451
|
}>;
|
452
|
+
export declare const DateCondition: z.ZodUnion<[z.ZodObject<{
|
453
|
+
type: z.ZodLiteral<"exact">;
|
454
|
+
term: z.ZodString;
|
455
|
+
}, "strip", z.ZodTypeAny, {
|
456
|
+
type: "exact";
|
457
|
+
term: string;
|
458
|
+
}, {
|
459
|
+
type: "exact";
|
460
|
+
term: string;
|
461
|
+
}>, z.ZodObject<{
|
462
|
+
type: z.ZodLiteral<"range">;
|
463
|
+
gte: z.ZodString;
|
464
|
+
lte: z.ZodString;
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
466
|
+
type: "range";
|
467
|
+
gte: string;
|
468
|
+
lte: string;
|
469
|
+
}, {
|
470
|
+
type: "range";
|
471
|
+
gte: string;
|
472
|
+
lte: string;
|
473
|
+
}>]>;
|
432
474
|
export declare const QueryInput: ZodType;
|
433
475
|
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf> | z.infer<typeof Not>;
|
434
476
|
type QueryMap = {
|
435
477
|
[key: string]: BaseInput | QueryMap;
|
436
478
|
};
|
437
479
|
export type QueryInputType = BaseInput | QueryMap;
|
438
|
-
declare const QueryExpression: z.ZodObject<{
|
480
|
+
export declare const QueryExpression: z.ZodObject<{
|
439
481
|
eventType: z.ZodOptional<z.ZodString>;
|
440
482
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
441
483
|
type: z.ZodLiteral<"anyOf">;
|
@@ -541,7 +583,7 @@ declare const QueryExpression: z.ZodObject<{
|
|
541
583
|
type: "exact";
|
542
584
|
term: string;
|
543
585
|
}>]>>>;
|
544
|
-
|
586
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
545
587
|
type: z.ZodLiteral<"within">;
|
546
588
|
location: z.ZodString;
|
547
589
|
}, "strip", z.ZodTypeAny, {
|
@@ -579,6 +621,16 @@ declare const QueryExpression: z.ZodObject<{
|
|
579
621
|
type: "exact";
|
580
622
|
term: string;
|
581
623
|
}>]>>>;
|
624
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
625
|
+
type: z.ZodLiteral<"exact">;
|
626
|
+
term: z.ZodString;
|
627
|
+
}, "strip", z.ZodTypeAny, {
|
628
|
+
type: "exact";
|
629
|
+
term: string;
|
630
|
+
}, {
|
631
|
+
type: "exact";
|
632
|
+
term: string;
|
633
|
+
}>>>;
|
582
634
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
583
635
|
type: z.ZodLiteral<"exact">;
|
584
636
|
term: z.ZodString;
|
@@ -650,20 +702,18 @@ declare const QueryExpression: z.ZodObject<{
|
|
650
702
|
type: "exact";
|
651
703
|
term: string;
|
652
704
|
} | undefined;
|
653
|
-
|
705
|
+
createdAtLocation?: {
|
654
706
|
type: "exact";
|
655
707
|
term: string;
|
656
708
|
} | {
|
657
|
-
type: "
|
658
|
-
|
659
|
-
lte: string;
|
709
|
+
type: "within";
|
710
|
+
location: string;
|
660
711
|
} | undefined;
|
661
|
-
|
712
|
+
assignedTo?: {
|
662
713
|
type: "exact";
|
663
714
|
term: string;
|
664
715
|
} | undefined;
|
665
|
-
|
666
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
716
|
+
updatedAt?: {
|
667
717
|
type: "exact";
|
668
718
|
term: string;
|
669
719
|
} | {
|
@@ -671,12 +721,9 @@ declare const QueryExpression: z.ZodObject<{
|
|
671
721
|
gte: string;
|
672
722
|
lte: string;
|
673
723
|
} | undefined;
|
674
|
-
|
724
|
+
trackingId?: {
|
675
725
|
type: "exact";
|
676
726
|
term: string;
|
677
|
-
} | {
|
678
|
-
type: "within";
|
679
|
-
location: string;
|
680
727
|
} | undefined;
|
681
728
|
updatedAtLocation?: {
|
682
729
|
type: "exact";
|
@@ -696,7 +743,16 @@ declare const QueryExpression: z.ZodObject<{
|
|
696
743
|
type: "not";
|
697
744
|
term: string;
|
698
745
|
})[] | undefined;
|
699
|
-
|
746
|
+
eventType?: string | undefined;
|
747
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
748
|
+
type: "exact";
|
749
|
+
term: string;
|
750
|
+
} | {
|
751
|
+
type: "range";
|
752
|
+
gte: string;
|
753
|
+
lte: string;
|
754
|
+
} | undefined;
|
755
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
700
756
|
type: "exact";
|
701
757
|
term: string;
|
702
758
|
} | {
|
@@ -724,20 +780,18 @@ declare const QueryExpression: z.ZodObject<{
|
|
724
780
|
type: "exact";
|
725
781
|
term: string;
|
726
782
|
} | undefined;
|
727
|
-
|
783
|
+
createdAtLocation?: {
|
728
784
|
type: "exact";
|
729
785
|
term: string;
|
730
786
|
} | {
|
731
|
-
type: "
|
732
|
-
|
733
|
-
lte: string;
|
787
|
+
type: "within";
|
788
|
+
location: string;
|
734
789
|
} | undefined;
|
735
|
-
|
790
|
+
assignedTo?: {
|
736
791
|
type: "exact";
|
737
792
|
term: string;
|
738
793
|
} | undefined;
|
739
|
-
|
740
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
794
|
+
updatedAt?: {
|
741
795
|
type: "exact";
|
742
796
|
term: string;
|
743
797
|
} | {
|
@@ -745,12 +799,9 @@ declare const QueryExpression: z.ZodObject<{
|
|
745
799
|
gte: string;
|
746
800
|
lte: string;
|
747
801
|
} | undefined;
|
748
|
-
|
802
|
+
trackingId?: {
|
749
803
|
type: "exact";
|
750
804
|
term: string;
|
751
|
-
} | {
|
752
|
-
type: "within";
|
753
|
-
location: string;
|
754
805
|
} | undefined;
|
755
806
|
updatedAtLocation?: {
|
756
807
|
type: "exact";
|
@@ -770,7 +821,16 @@ declare const QueryExpression: z.ZodObject<{
|
|
770
821
|
type: "not";
|
771
822
|
term: string;
|
772
823
|
})[] | undefined;
|
773
|
-
|
824
|
+
eventType?: string | undefined;
|
825
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
826
|
+
type: "exact";
|
827
|
+
term: string;
|
828
|
+
} | {
|
829
|
+
type: "range";
|
830
|
+
gte: string;
|
831
|
+
lte: string;
|
832
|
+
} | undefined;
|
833
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
774
834
|
type: "exact";
|
775
835
|
term: string;
|
776
836
|
} | {
|
@@ -778,9 +838,9 @@ declare const QueryExpression: z.ZodObject<{
|
|
778
838
|
location: string;
|
779
839
|
} | undefined;
|
780
840
|
}>;
|
781
|
-
export declare const QueryType: z.
|
782
|
-
type: z.ZodLiteral<"or">;
|
783
|
-
clauses: z.ZodArray<z.ZodObject<{
|
841
|
+
export declare const QueryType: z.ZodObject<{
|
842
|
+
type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
|
843
|
+
clauses: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
784
844
|
eventType: z.ZodOptional<z.ZodString>;
|
785
845
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
786
846
|
type: z.ZodLiteral<"anyOf">;
|
@@ -886,7 +946,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
886
946
|
type: "exact";
|
887
947
|
term: string;
|
888
948
|
}>]>>>;
|
889
|
-
|
949
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
890
950
|
type: z.ZodLiteral<"within">;
|
891
951
|
location: z.ZodString;
|
892
952
|
}, "strip", z.ZodTypeAny, {
|
@@ -924,6 +984,16 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
924
984
|
type: "exact";
|
925
985
|
term: string;
|
926
986
|
}>]>>>;
|
987
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
988
|
+
type: z.ZodLiteral<"exact">;
|
989
|
+
term: z.ZodString;
|
990
|
+
}, "strip", z.ZodTypeAny, {
|
991
|
+
type: "exact";
|
992
|
+
term: string;
|
993
|
+
}, {
|
994
|
+
type: "exact";
|
995
|
+
term: string;
|
996
|
+
}>>>;
|
927
997
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
928
998
|
type: z.ZodLiteral<"exact">;
|
929
999
|
term: z.ZodString;
|
@@ -995,20 +1065,18 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
995
1065
|
type: "exact";
|
996
1066
|
term: string;
|
997
1067
|
} | undefined;
|
998
|
-
|
1068
|
+
createdAtLocation?: {
|
999
1069
|
type: "exact";
|
1000
1070
|
term: string;
|
1001
1071
|
} | {
|
1002
|
-
type: "
|
1003
|
-
|
1004
|
-
lte: string;
|
1072
|
+
type: "within";
|
1073
|
+
location: string;
|
1005
1074
|
} | undefined;
|
1006
|
-
|
1075
|
+
assignedTo?: {
|
1007
1076
|
type: "exact";
|
1008
1077
|
term: string;
|
1009
1078
|
} | undefined;
|
1010
|
-
|
1011
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1079
|
+
updatedAt?: {
|
1012
1080
|
type: "exact";
|
1013
1081
|
term: string;
|
1014
1082
|
} | {
|
@@ -1016,12 +1084,9 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1016
1084
|
gte: string;
|
1017
1085
|
lte: string;
|
1018
1086
|
} | undefined;
|
1019
|
-
|
1087
|
+
trackingId?: {
|
1020
1088
|
type: "exact";
|
1021
1089
|
term: string;
|
1022
|
-
} | {
|
1023
|
-
type: "within";
|
1024
|
-
location: string;
|
1025
1090
|
} | undefined;
|
1026
1091
|
updatedAtLocation?: {
|
1027
1092
|
type: "exact";
|
@@ -1041,7 +1106,16 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1041
1106
|
type: "not";
|
1042
1107
|
term: string;
|
1043
1108
|
})[] | undefined;
|
1044
|
-
|
1109
|
+
eventType?: string | undefined;
|
1110
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1111
|
+
type: "exact";
|
1112
|
+
term: string;
|
1113
|
+
} | {
|
1114
|
+
type: "range";
|
1115
|
+
gte: string;
|
1116
|
+
lte: string;
|
1117
|
+
} | undefined;
|
1118
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1045
1119
|
type: "exact";
|
1046
1120
|
term: string;
|
1047
1121
|
} | {
|
@@ -1069,20 +1143,18 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1069
1143
|
type: "exact";
|
1070
1144
|
term: string;
|
1071
1145
|
} | undefined;
|
1072
|
-
|
1146
|
+
createdAtLocation?: {
|
1073
1147
|
type: "exact";
|
1074
1148
|
term: string;
|
1075
1149
|
} | {
|
1076
|
-
type: "
|
1077
|
-
|
1078
|
-
lte: string;
|
1150
|
+
type: "within";
|
1151
|
+
location: string;
|
1079
1152
|
} | undefined;
|
1080
|
-
|
1153
|
+
assignedTo?: {
|
1081
1154
|
type: "exact";
|
1082
1155
|
term: string;
|
1083
1156
|
} | undefined;
|
1084
|
-
|
1085
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1157
|
+
updatedAt?: {
|
1086
1158
|
type: "exact";
|
1087
1159
|
term: string;
|
1088
1160
|
} | {
|
@@ -1090,12 +1162,9 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1090
1162
|
gte: string;
|
1091
1163
|
lte: string;
|
1092
1164
|
} | undefined;
|
1093
|
-
|
1165
|
+
trackingId?: {
|
1094
1166
|
type: "exact";
|
1095
1167
|
term: string;
|
1096
|
-
} | {
|
1097
|
-
type: "within";
|
1098
|
-
location: string;
|
1099
1168
|
} | undefined;
|
1100
1169
|
updatedAtLocation?: {
|
1101
1170
|
type: "exact";
|
@@ -1115,17 +1184,23 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1115
1184
|
type: "not";
|
1116
1185
|
term: string;
|
1117
1186
|
})[] | undefined;
|
1118
|
-
|
1187
|
+
eventType?: string | undefined;
|
1188
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1189
|
+
type: "exact";
|
1190
|
+
term: string;
|
1191
|
+
} | {
|
1192
|
+
type: "range";
|
1193
|
+
gte: string;
|
1194
|
+
lte: string;
|
1195
|
+
} | undefined;
|
1196
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1119
1197
|
type: "exact";
|
1120
1198
|
term: string;
|
1121
1199
|
} | {
|
1122
1200
|
type: "within";
|
1123
1201
|
location: string;
|
1124
1202
|
} | undefined;
|
1125
|
-
}>, "many"
|
1126
|
-
}, "strip", z.ZodTypeAny, {
|
1127
|
-
type: "or";
|
1128
|
-
clauses: {
|
1203
|
+
}>, "many">, {
|
1129
1204
|
status?: {
|
1130
1205
|
type: "exact";
|
1131
1206
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1146,20 +1221,18 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1146
1221
|
type: "exact";
|
1147
1222
|
term: string;
|
1148
1223
|
} | undefined;
|
1149
|
-
|
1224
|
+
createdAtLocation?: {
|
1150
1225
|
type: "exact";
|
1151
1226
|
term: string;
|
1152
1227
|
} | {
|
1153
|
-
type: "
|
1154
|
-
|
1155
|
-
lte: string;
|
1228
|
+
type: "within";
|
1229
|
+
location: string;
|
1156
1230
|
} | undefined;
|
1157
|
-
|
1231
|
+
assignedTo?: {
|
1158
1232
|
type: "exact";
|
1159
1233
|
term: string;
|
1160
1234
|
} | undefined;
|
1161
|
-
|
1162
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1235
|
+
updatedAt?: {
|
1163
1236
|
type: "exact";
|
1164
1237
|
term: string;
|
1165
1238
|
} | {
|
@@ -1167,12 +1240,9 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1167
1240
|
gte: string;
|
1168
1241
|
lte: string;
|
1169
1242
|
} | undefined;
|
1170
|
-
|
1243
|
+
trackingId?: {
|
1171
1244
|
type: "exact";
|
1172
1245
|
term: string;
|
1173
|
-
} | {
|
1174
|
-
type: "within";
|
1175
|
-
location: string;
|
1176
1246
|
} | undefined;
|
1177
1247
|
updatedAtLocation?: {
|
1178
1248
|
type: "exact";
|
@@ -1192,16 +1262,25 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1192
1262
|
type: "not";
|
1193
1263
|
term: string;
|
1194
1264
|
})[] | undefined;
|
1195
|
-
|
1265
|
+
eventType?: string | undefined;
|
1266
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1267
|
+
type: "exact";
|
1268
|
+
term: string;
|
1269
|
+
} | {
|
1270
|
+
type: "range";
|
1271
|
+
gte: string;
|
1272
|
+
lte: string;
|
1273
|
+
} | undefined;
|
1274
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1196
1275
|
type: "exact";
|
1197
1276
|
term: string;
|
1198
1277
|
} | {
|
1199
1278
|
type: "within";
|
1200
1279
|
location: string;
|
1201
1280
|
} | undefined;
|
1202
|
-
}[]
|
1203
|
-
}, {
|
1204
|
-
type: "or";
|
1281
|
+
}[], unknown>;
|
1282
|
+
}, "strip", z.ZodTypeAny, {
|
1283
|
+
type: "and" | "or";
|
1205
1284
|
clauses: {
|
1206
1285
|
status?: {
|
1207
1286
|
type: "exact";
|
@@ -1223,20 +1302,18 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1223
1302
|
type: "exact";
|
1224
1303
|
term: string;
|
1225
1304
|
} | undefined;
|
1226
|
-
|
1305
|
+
createdAtLocation?: {
|
1227
1306
|
type: "exact";
|
1228
1307
|
term: string;
|
1229
1308
|
} | {
|
1230
|
-
type: "
|
1231
|
-
|
1232
|
-
lte: string;
|
1309
|
+
type: "within";
|
1310
|
+
location: string;
|
1233
1311
|
} | undefined;
|
1234
|
-
|
1312
|
+
assignedTo?: {
|
1235
1313
|
type: "exact";
|
1236
1314
|
term: string;
|
1237
1315
|
} | undefined;
|
1238
|
-
|
1239
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1316
|
+
updatedAt?: {
|
1240
1317
|
type: "exact";
|
1241
1318
|
term: string;
|
1242
1319
|
} | {
|
@@ -1244,12 +1321,9 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1244
1321
|
gte: string;
|
1245
1322
|
lte: string;
|
1246
1323
|
} | undefined;
|
1247
|
-
|
1324
|
+
trackingId?: {
|
1248
1325
|
type: "exact";
|
1249
1326
|
term: string;
|
1250
|
-
} | {
|
1251
|
-
type: "within";
|
1252
|
-
location: string;
|
1253
1327
|
} | undefined;
|
1254
1328
|
updatedAtLocation?: {
|
1255
1329
|
type: "exact";
|
@@ -1269,429 +1343,16 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1269
1343
|
type: "not";
|
1270
1344
|
term: string;
|
1271
1345
|
})[] | undefined;
|
1272
|
-
|
1346
|
+
eventType?: string | undefined;
|
1347
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1273
1348
|
type: "exact";
|
1274
1349
|
term: string;
|
1275
1350
|
} | {
|
1276
|
-
type: "within";
|
1277
|
-
location: string;
|
1278
|
-
} | undefined;
|
1279
|
-
}[];
|
1280
|
-
}>, z.ZodObject<{
|
1281
|
-
type: z.ZodLiteral<"and">;
|
1282
|
-
clauses: z.ZodArray<z.ZodObject<{
|
1283
|
-
eventType: z.ZodOptional<z.ZodString>;
|
1284
|
-
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1285
|
-
type: z.ZodLiteral<"anyOf">;
|
1286
|
-
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
1287
|
-
}, "strip", z.ZodTypeAny, {
|
1288
|
-
type: "anyOf";
|
1289
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1290
|
-
}, {
|
1291
|
-
type: "anyOf";
|
1292
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1293
|
-
}>, z.ZodObject<{
|
1294
|
-
type: z.ZodLiteral<"exact">;
|
1295
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
1296
|
-
}, "strip", z.ZodTypeAny, {
|
1297
|
-
type: "exact";
|
1298
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1299
|
-
}, {
|
1300
|
-
type: "exact";
|
1301
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1302
|
-
}>]>>>;
|
1303
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1304
|
-
type: z.ZodLiteral<"exact">;
|
1305
|
-
term: z.ZodString;
|
1306
|
-
}, "strip", z.ZodTypeAny, {
|
1307
|
-
type: "exact";
|
1308
|
-
term: string;
|
1309
|
-
}, {
|
1310
|
-
type: "exact";
|
1311
|
-
term: string;
|
1312
|
-
}>, z.ZodObject<{
|
1313
|
-
type: z.ZodLiteral<"range">;
|
1314
|
-
gte: z.ZodString;
|
1315
|
-
lte: z.ZodString;
|
1316
|
-
}, "strip", z.ZodTypeAny, {
|
1317
|
-
type: "range";
|
1318
|
-
gte: string;
|
1319
|
-
lte: string;
|
1320
|
-
}, {
|
1321
1351
|
type: "range";
|
1322
1352
|
gte: string;
|
1323
1353
|
lte: string;
|
1324
|
-
}
|
1325
|
-
|
1326
|
-
type: z.ZodLiteral<"exact">;
|
1327
|
-
term: z.ZodString;
|
1328
|
-
}, "strip", z.ZodTypeAny, {
|
1329
|
-
type: "exact";
|
1330
|
-
term: string;
|
1331
|
-
}, {
|
1332
|
-
type: "exact";
|
1333
|
-
term: string;
|
1334
|
-
}>, z.ZodObject<{
|
1335
|
-
type: z.ZodLiteral<"range">;
|
1336
|
-
gte: z.ZodString;
|
1337
|
-
lte: z.ZodString;
|
1338
|
-
}, "strip", z.ZodTypeAny, {
|
1339
|
-
type: "range";
|
1340
|
-
gte: string;
|
1341
|
-
lte: string;
|
1342
|
-
}, {
|
1343
|
-
type: "range";
|
1344
|
-
gte: string;
|
1345
|
-
lte: string;
|
1346
|
-
}>]>>>;
|
1347
|
-
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1348
|
-
type: z.ZodLiteral<"exact">;
|
1349
|
-
term: z.ZodString;
|
1350
|
-
}, "strip", z.ZodTypeAny, {
|
1351
|
-
type: "exact";
|
1352
|
-
term: string;
|
1353
|
-
}, {
|
1354
|
-
type: "exact";
|
1355
|
-
term: string;
|
1356
|
-
}>, z.ZodObject<{
|
1357
|
-
type: z.ZodLiteral<"range">;
|
1358
|
-
gte: z.ZodString;
|
1359
|
-
lte: z.ZodString;
|
1360
|
-
}, "strip", z.ZodTypeAny, {
|
1361
|
-
type: "range";
|
1362
|
-
gte: string;
|
1363
|
-
lte: string;
|
1364
|
-
}, {
|
1365
|
-
type: "range";
|
1366
|
-
gte: string;
|
1367
|
-
lte: string;
|
1368
|
-
}>]>>>;
|
1369
|
-
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1370
|
-
type: z.ZodLiteral<"within">;
|
1371
|
-
location: z.ZodString;
|
1372
|
-
}, "strip", z.ZodTypeAny, {
|
1373
|
-
type: "within";
|
1374
|
-
location: string;
|
1375
|
-
}, {
|
1376
|
-
type: "within";
|
1377
|
-
location: string;
|
1378
|
-
}>, z.ZodObject<{
|
1379
|
-
type: z.ZodLiteral<"exact">;
|
1380
|
-
term: z.ZodString;
|
1381
|
-
}, "strip", z.ZodTypeAny, {
|
1382
|
-
type: "exact";
|
1383
|
-
term: string;
|
1384
|
-
}, {
|
1385
|
-
type: "exact";
|
1386
|
-
term: string;
|
1387
|
-
}>]>>>;
|
1388
|
-
createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1389
|
-
type: z.ZodLiteral<"within">;
|
1390
|
-
location: z.ZodString;
|
1391
|
-
}, "strip", z.ZodTypeAny, {
|
1392
|
-
type: "within";
|
1393
|
-
location: string;
|
1394
|
-
}, {
|
1395
|
-
type: "within";
|
1396
|
-
location: string;
|
1397
|
-
}>, z.ZodObject<{
|
1398
|
-
type: z.ZodLiteral<"exact">;
|
1399
|
-
term: z.ZodString;
|
1400
|
-
}, "strip", z.ZodTypeAny, {
|
1401
|
-
type: "exact";
|
1402
|
-
term: string;
|
1403
|
-
}, {
|
1404
|
-
type: "exact";
|
1405
|
-
term: string;
|
1406
|
-
}>]>>>;
|
1407
|
-
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1408
|
-
type: z.ZodLiteral<"within">;
|
1409
|
-
location: z.ZodString;
|
1410
|
-
}, "strip", z.ZodTypeAny, {
|
1411
|
-
type: "within";
|
1412
|
-
location: string;
|
1413
|
-
}, {
|
1414
|
-
type: "within";
|
1415
|
-
location: string;
|
1416
|
-
}>, z.ZodObject<{
|
1417
|
-
type: z.ZodLiteral<"exact">;
|
1418
|
-
term: z.ZodString;
|
1419
|
-
}, "strip", z.ZodTypeAny, {
|
1420
|
-
type: "exact";
|
1421
|
-
term: string;
|
1422
|
-
}, {
|
1423
|
-
type: "exact";
|
1424
|
-
term: string;
|
1425
|
-
}>]>>>;
|
1426
|
-
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1427
|
-
type: z.ZodLiteral<"exact">;
|
1428
|
-
term: z.ZodString;
|
1429
|
-
}, "strip", z.ZodTypeAny, {
|
1430
|
-
type: "exact";
|
1431
|
-
term: string;
|
1432
|
-
}, {
|
1433
|
-
type: "exact";
|
1434
|
-
term: string;
|
1435
|
-
}>>>;
|
1436
|
-
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1437
|
-
type: z.ZodLiteral<"exact">;
|
1438
|
-
term: z.ZodString;
|
1439
|
-
}, "strip", z.ZodTypeAny, {
|
1440
|
-
type: "exact";
|
1441
|
-
term: string;
|
1442
|
-
}, {
|
1443
|
-
type: "exact";
|
1444
|
-
term: string;
|
1445
|
-
}>>>;
|
1446
|
-
trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1447
|
-
type: z.ZodLiteral<"exact">;
|
1448
|
-
term: z.ZodString;
|
1449
|
-
}, "strip", z.ZodTypeAny, {
|
1450
|
-
type: "exact";
|
1451
|
-
term: string;
|
1452
|
-
}, {
|
1453
|
-
type: "exact";
|
1454
|
-
term: string;
|
1455
|
-
}>>>;
|
1456
|
-
flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
1457
|
-
type: z.ZodLiteral<"anyOf">;
|
1458
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
1459
|
-
}, "strip", z.ZodTypeAny, {
|
1460
|
-
type: "anyOf";
|
1461
|
-
terms: string[];
|
1462
|
-
}, {
|
1463
|
-
type: "anyOf";
|
1464
|
-
terms: string[];
|
1465
|
-
}>, z.ZodObject<{
|
1466
|
-
type: z.ZodLiteral<"not">;
|
1467
|
-
term: z.ZodString;
|
1468
|
-
}, "strip", z.ZodTypeAny, {
|
1469
|
-
type: "not";
|
1470
|
-
term: string;
|
1471
|
-
}, {
|
1472
|
-
type: "not";
|
1473
|
-
term: string;
|
1474
|
-
}>]>, "many">>>;
|
1475
|
-
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
1476
|
-
}, "strip", z.ZodTypeAny, {
|
1477
|
-
status?: {
|
1478
|
-
type: "exact";
|
1479
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1480
|
-
} | {
|
1481
|
-
type: "anyOf";
|
1482
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1483
|
-
} | undefined;
|
1484
|
-
data?: any;
|
1485
|
-
createdAt?: {
|
1486
|
-
type: "exact";
|
1487
|
-
term: string;
|
1488
|
-
} | {
|
1489
|
-
type: "range";
|
1490
|
-
gte: string;
|
1491
|
-
lte: string;
|
1492
|
-
} | undefined;
|
1493
|
-
createdBy?: {
|
1494
|
-
type: "exact";
|
1495
|
-
term: string;
|
1496
|
-
} | undefined;
|
1497
|
-
updatedAt?: {
|
1498
|
-
type: "exact";
|
1499
|
-
term: string;
|
1500
|
-
} | {
|
1501
|
-
type: "range";
|
1502
|
-
gte: string;
|
1503
|
-
lte: string;
|
1504
|
-
} | undefined;
|
1505
|
-
trackingId?: {
|
1506
|
-
type: "exact";
|
1507
|
-
term: string;
|
1508
|
-
} | undefined;
|
1509
|
-
eventType?: string | undefined;
|
1510
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1511
|
-
type: "exact";
|
1512
|
-
term: string;
|
1513
|
-
} | {
|
1514
|
-
type: "range";
|
1515
|
-
gte: string;
|
1516
|
-
lte: string;
|
1517
|
-
} | undefined;
|
1518
|
-
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1519
|
-
type: "exact";
|
1520
|
-
term: string;
|
1521
|
-
} | {
|
1522
|
-
type: "within";
|
1523
|
-
location: string;
|
1524
|
-
} | undefined;
|
1525
|
-
updatedAtLocation?: {
|
1526
|
-
type: "exact";
|
1527
|
-
term: string;
|
1528
|
-
} | {
|
1529
|
-
type: "within";
|
1530
|
-
location: string;
|
1531
|
-
} | undefined;
|
1532
|
-
updatedBy?: {
|
1533
|
-
type: "exact";
|
1534
|
-
term: string;
|
1535
|
-
} | undefined;
|
1536
|
-
flags?: ({
|
1537
|
-
type: "anyOf";
|
1538
|
-
terms: string[];
|
1539
|
-
} | {
|
1540
|
-
type: "not";
|
1541
|
-
term: string;
|
1542
|
-
})[] | undefined;
|
1543
|
-
createAtLocation?: {
|
1544
|
-
type: "exact";
|
1545
|
-
term: string;
|
1546
|
-
} | {
|
1547
|
-
type: "within";
|
1548
|
-
location: string;
|
1549
|
-
} | undefined;
|
1550
|
-
}, {
|
1551
|
-
status?: {
|
1552
|
-
type: "exact";
|
1553
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1554
|
-
} | {
|
1555
|
-
type: "anyOf";
|
1556
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1557
|
-
} | undefined;
|
1558
|
-
data?: any;
|
1559
|
-
createdAt?: {
|
1560
|
-
type: "exact";
|
1561
|
-
term: string;
|
1562
|
-
} | {
|
1563
|
-
type: "range";
|
1564
|
-
gte: string;
|
1565
|
-
lte: string;
|
1566
|
-
} | undefined;
|
1567
|
-
createdBy?: {
|
1568
|
-
type: "exact";
|
1569
|
-
term: string;
|
1570
|
-
} | undefined;
|
1571
|
-
updatedAt?: {
|
1572
|
-
type: "exact";
|
1573
|
-
term: string;
|
1574
|
-
} | {
|
1575
|
-
type: "range";
|
1576
|
-
gte: string;
|
1577
|
-
lte: string;
|
1578
|
-
} | undefined;
|
1579
|
-
trackingId?: {
|
1580
|
-
type: "exact";
|
1581
|
-
term: string;
|
1582
|
-
} | undefined;
|
1583
|
-
eventType?: string | undefined;
|
1584
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1585
|
-
type: "exact";
|
1586
|
-
term: string;
|
1587
|
-
} | {
|
1588
|
-
type: "range";
|
1589
|
-
gte: string;
|
1590
|
-
lte: string;
|
1591
|
-
} | undefined;
|
1592
|
-
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1593
|
-
type: "exact";
|
1594
|
-
term: string;
|
1595
|
-
} | {
|
1596
|
-
type: "within";
|
1597
|
-
location: string;
|
1598
|
-
} | undefined;
|
1599
|
-
updatedAtLocation?: {
|
1600
|
-
type: "exact";
|
1601
|
-
term: string;
|
1602
|
-
} | {
|
1603
|
-
type: "within";
|
1604
|
-
location: string;
|
1605
|
-
} | undefined;
|
1606
|
-
updatedBy?: {
|
1607
|
-
type: "exact";
|
1608
|
-
term: string;
|
1609
|
-
} | undefined;
|
1610
|
-
flags?: ({
|
1611
|
-
type: "anyOf";
|
1612
|
-
terms: string[];
|
1613
|
-
} | {
|
1614
|
-
type: "not";
|
1615
|
-
term: string;
|
1616
|
-
})[] | undefined;
|
1617
|
-
createAtLocation?: {
|
1618
|
-
type: "exact";
|
1619
|
-
term: string;
|
1620
|
-
} | {
|
1621
|
-
type: "within";
|
1622
|
-
location: string;
|
1623
|
-
} | undefined;
|
1624
|
-
}>, "many">;
|
1625
|
-
}, "strip", z.ZodTypeAny, {
|
1626
|
-
type: "and";
|
1627
|
-
clauses: {
|
1628
|
-
status?: {
|
1629
|
-
type: "exact";
|
1630
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1631
|
-
} | {
|
1632
|
-
type: "anyOf";
|
1633
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1634
|
-
} | undefined;
|
1635
|
-
data?: any;
|
1636
|
-
createdAt?: {
|
1637
|
-
type: "exact";
|
1638
|
-
term: string;
|
1639
|
-
} | {
|
1640
|
-
type: "range";
|
1641
|
-
gte: string;
|
1642
|
-
lte: string;
|
1643
|
-
} | undefined;
|
1644
|
-
createdBy?: {
|
1645
|
-
type: "exact";
|
1646
|
-
term: string;
|
1647
|
-
} | undefined;
|
1648
|
-
updatedAt?: {
|
1649
|
-
type: "exact";
|
1650
|
-
term: string;
|
1651
|
-
} | {
|
1652
|
-
type: "range";
|
1653
|
-
gte: string;
|
1654
|
-
lte: string;
|
1655
|
-
} | undefined;
|
1656
|
-
trackingId?: {
|
1657
|
-
type: "exact";
|
1658
|
-
term: string;
|
1659
|
-
} | undefined;
|
1660
|
-
eventType?: string | undefined;
|
1661
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1662
|
-
type: "exact";
|
1663
|
-
term: string;
|
1664
|
-
} | {
|
1665
|
-
type: "range";
|
1666
|
-
gte: string;
|
1667
|
-
lte: string;
|
1668
|
-
} | undefined;
|
1669
|
-
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1670
|
-
type: "exact";
|
1671
|
-
term: string;
|
1672
|
-
} | {
|
1673
|
-
type: "within";
|
1674
|
-
location: string;
|
1675
|
-
} | undefined;
|
1676
|
-
updatedAtLocation?: {
|
1677
|
-
type: "exact";
|
1678
|
-
term: string;
|
1679
|
-
} | {
|
1680
|
-
type: "within";
|
1681
|
-
location: string;
|
1682
|
-
} | undefined;
|
1683
|
-
updatedBy?: {
|
1684
|
-
type: "exact";
|
1685
|
-
term: string;
|
1686
|
-
} | undefined;
|
1687
|
-
flags?: ({
|
1688
|
-
type: "anyOf";
|
1689
|
-
terms: string[];
|
1690
|
-
} | {
|
1691
|
-
type: "not";
|
1692
|
-
term: string;
|
1693
|
-
})[] | undefined;
|
1694
|
-
createAtLocation?: {
|
1354
|
+
} | undefined;
|
1355
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1695
1356
|
type: "exact";
|
1696
1357
|
term: string;
|
1697
1358
|
} | {
|
@@ -1700,83 +1361,9 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1700
1361
|
} | undefined;
|
1701
1362
|
}[];
|
1702
1363
|
}, {
|
1703
|
-
type: "and";
|
1704
|
-
clauses
|
1705
|
-
|
1706
|
-
type: "exact";
|
1707
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1708
|
-
} | {
|
1709
|
-
type: "anyOf";
|
1710
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1711
|
-
} | undefined;
|
1712
|
-
data?: any;
|
1713
|
-
createdAt?: {
|
1714
|
-
type: "exact";
|
1715
|
-
term: string;
|
1716
|
-
} | {
|
1717
|
-
type: "range";
|
1718
|
-
gte: string;
|
1719
|
-
lte: string;
|
1720
|
-
} | undefined;
|
1721
|
-
createdBy?: {
|
1722
|
-
type: "exact";
|
1723
|
-
term: string;
|
1724
|
-
} | undefined;
|
1725
|
-
updatedAt?: {
|
1726
|
-
type: "exact";
|
1727
|
-
term: string;
|
1728
|
-
} | {
|
1729
|
-
type: "range";
|
1730
|
-
gte: string;
|
1731
|
-
lte: string;
|
1732
|
-
} | undefined;
|
1733
|
-
trackingId?: {
|
1734
|
-
type: "exact";
|
1735
|
-
term: string;
|
1736
|
-
} | undefined;
|
1737
|
-
eventType?: string | undefined;
|
1738
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1739
|
-
type: "exact";
|
1740
|
-
term: string;
|
1741
|
-
} | {
|
1742
|
-
type: "range";
|
1743
|
-
gte: string;
|
1744
|
-
lte: string;
|
1745
|
-
} | undefined;
|
1746
|
-
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1747
|
-
type: "exact";
|
1748
|
-
term: string;
|
1749
|
-
} | {
|
1750
|
-
type: "within";
|
1751
|
-
location: string;
|
1752
|
-
} | undefined;
|
1753
|
-
updatedAtLocation?: {
|
1754
|
-
type: "exact";
|
1755
|
-
term: string;
|
1756
|
-
} | {
|
1757
|
-
type: "within";
|
1758
|
-
location: string;
|
1759
|
-
} | undefined;
|
1760
|
-
updatedBy?: {
|
1761
|
-
type: "exact";
|
1762
|
-
term: string;
|
1763
|
-
} | undefined;
|
1764
|
-
flags?: ({
|
1765
|
-
type: "anyOf";
|
1766
|
-
terms: string[];
|
1767
|
-
} | {
|
1768
|
-
type: "not";
|
1769
|
-
term: string;
|
1770
|
-
})[] | undefined;
|
1771
|
-
createAtLocation?: {
|
1772
|
-
type: "exact";
|
1773
|
-
term: string;
|
1774
|
-
} | {
|
1775
|
-
type: "within";
|
1776
|
-
location: string;
|
1777
|
-
} | undefined;
|
1778
|
-
}[];
|
1779
|
-
}>]>;
|
1364
|
+
type: "and" | "or";
|
1365
|
+
clauses?: unknown;
|
1366
|
+
}>;
|
1780
1367
|
export type QueryType = z.infer<typeof QueryType>;
|
1781
1368
|
export type QueryExpression = z.infer<typeof QueryExpression>;
|
1782
1369
|
export {};
|