@opencrvs/toolkit 1.8.0-rc.ff0b26c → 1.8.0-rc.ff1f8e0
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 +2356 -1097
- package/dist/commons/conditionals/conditionals.d.ts +7 -6
- package/dist/commons/events/ActionConfig.d.ts +15774 -7797
- package/dist/commons/events/ActionDocument.d.ts +533 -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 +29 -24
- package/dist/commons/events/EventConfig.d.ts +13649 -9488
- package/dist/commons/events/EventDocument.d.ts +386 -267
- package/dist/commons/events/EventIndex.d.ts +209 -605
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +71 -48
- package/dist/commons/events/FieldConfig.d.ts +486 -440
- package/dist/commons/events/FieldTypeMapping.d.ts +5 -2
- package/dist/commons/events/FieldValue.d.ts +2 -0
- package/dist/commons/events/FormConfig.d.ts +3346 -3052
- package/dist/commons/events/PageConfig.d.ts +750 -680
- 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 +1381 -575
- package/dist/commons/events/event.d.ts +2 -2
- package/dist/commons/events/field.d.ts +4 -13
- 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 +26 -5
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +333 -296
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +28 -8
- package/dist/events/index.js +1564 -584
- 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,84 +16,95 @@ 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
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
22
23
|
}, "strip", z.ZodTypeAny, {
|
23
24
|
createdAt: string;
|
24
25
|
createdBy: string;
|
25
26
|
createdByRole: string;
|
26
|
-
createdAtLocation: string;
|
27
27
|
acceptedAt: string;
|
28
|
+
createdBySignature?: string | null | undefined;
|
29
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
28
30
|
}, {
|
29
31
|
createdAt: string;
|
30
32
|
createdBy: string;
|
31
33
|
createdByRole: string;
|
32
|
-
createdAtLocation: string;
|
33
34
|
acceptedAt: string;
|
35
|
+
createdBySignature?: string | null | undefined;
|
36
|
+
createdAtLocation?: string | null | undefined;
|
34
37
|
}>>>;
|
35
38
|
REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
36
39
|
createdAt: z.ZodString;
|
37
40
|
createdBy: z.ZodString;
|
38
|
-
createdAtLocation: z.ZodString
|
41
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
39
42
|
acceptedAt: z.ZodString;
|
40
43
|
createdByRole: z.ZodString;
|
44
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
41
45
|
}, {
|
42
46
|
registrationNumber: z.ZodString;
|
43
47
|
}>, "strip", z.ZodTypeAny, {
|
44
48
|
createdAt: string;
|
45
49
|
createdBy: string;
|
46
50
|
createdByRole: string;
|
47
|
-
createdAtLocation: string;
|
48
51
|
registrationNumber: string;
|
49
52
|
acceptedAt: string;
|
53
|
+
createdBySignature?: string | null | undefined;
|
54
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
50
55
|
}, {
|
51
56
|
createdAt: string;
|
52
57
|
createdBy: string;
|
53
58
|
createdByRole: string;
|
54
|
-
createdAtLocation: string;
|
55
59
|
registrationNumber: string;
|
56
60
|
acceptedAt: string;
|
61
|
+
createdBySignature?: string | null | undefined;
|
62
|
+
createdAtLocation?: string | null | undefined;
|
57
63
|
}>>>;
|
58
64
|
}, "strip", z.ZodTypeAny, {
|
59
65
|
DECLARED?: {
|
60
66
|
createdAt: string;
|
61
67
|
createdBy: string;
|
62
68
|
createdByRole: string;
|
63
|
-
createdAtLocation: string;
|
64
69
|
acceptedAt: string;
|
70
|
+
createdBySignature?: string | null | undefined;
|
71
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
65
72
|
} | null | undefined;
|
66
73
|
REGISTERED?: {
|
67
74
|
createdAt: string;
|
68
75
|
createdBy: string;
|
69
76
|
createdByRole: string;
|
70
|
-
createdAtLocation: string;
|
71
77
|
registrationNumber: string;
|
72
78
|
acceptedAt: string;
|
79
|
+
createdBySignature?: string | null | undefined;
|
80
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
73
81
|
} | null | undefined;
|
74
82
|
}, {
|
75
83
|
DECLARED?: {
|
76
84
|
createdAt: string;
|
77
85
|
createdBy: string;
|
78
86
|
createdByRole: string;
|
79
|
-
createdAtLocation: string;
|
80
87
|
acceptedAt: string;
|
88
|
+
createdBySignature?: string | null | undefined;
|
89
|
+
createdAtLocation?: string | null | undefined;
|
81
90
|
} | null | undefined;
|
82
91
|
REGISTERED?: {
|
83
92
|
createdAt: string;
|
84
93
|
createdBy: string;
|
85
94
|
createdByRole: string;
|
86
|
-
createdAtLocation: string;
|
87
95
|
registrationNumber: string;
|
88
96
|
acceptedAt: string;
|
97
|
+
createdBySignature?: string | null | undefined;
|
98
|
+
createdAtLocation?: string | null | undefined;
|
89
99
|
} | null | undefined;
|
90
100
|
}>;
|
91
101
|
createdAt: z.ZodString;
|
92
102
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
93
103
|
createdBy: z.ZodString;
|
94
104
|
updatedByUserRole: z.ZodString;
|
95
|
-
createdAtLocation: z.ZodString
|
96
|
-
|
105
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
106
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
107
|
+
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
97
108
|
updatedAt: z.ZodString;
|
98
109
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
99
110
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -218,7 +229,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
218
229
|
}>]>>;
|
219
230
|
}>, "strip", z.ZodTypeAny, {
|
220
231
|
type: string;
|
221
|
-
id: string
|
232
|
+
id: string & z.BRAND<"UUID">;
|
222
233
|
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
223
234
|
createdAt: string;
|
224
235
|
createdBy: string;
|
@@ -260,7 +271,6 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
260
271
|
filename: string;
|
261
272
|
originalFilename: string;
|
262
273
|
}[] | [string, string] | undefined>;
|
263
|
-
createdAtLocation: string;
|
264
274
|
updatedAt: string;
|
265
275
|
trackingId: string;
|
266
276
|
legalStatuses: {
|
@@ -268,23 +278,27 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
268
278
|
createdAt: string;
|
269
279
|
createdBy: string;
|
270
280
|
createdByRole: string;
|
271
|
-
createdAtLocation: string;
|
272
281
|
acceptedAt: string;
|
282
|
+
createdBySignature?: string | null | undefined;
|
283
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
273
284
|
} | null | undefined;
|
274
285
|
REGISTERED?: {
|
275
286
|
createdAt: string;
|
276
287
|
createdBy: string;
|
277
288
|
createdByRole: string;
|
278
|
-
createdAtLocation: string;
|
279
289
|
registrationNumber: string;
|
280
290
|
acceptedAt: string;
|
291
|
+
createdBySignature?: string | null | undefined;
|
292
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
281
293
|
} | null | undefined;
|
282
294
|
};
|
283
295
|
updatedByUserRole: string;
|
284
296
|
flags: string[];
|
297
|
+
createdBySignature?: string | null | undefined;
|
298
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
285
299
|
assignedTo?: string | null | undefined;
|
286
300
|
dateOfEvent?: string | null | undefined;
|
287
|
-
updatedAtLocation?: string | null | undefined;
|
301
|
+
updatedAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
288
302
|
updatedBy?: string | null | undefined;
|
289
303
|
}, {
|
290
304
|
type: string;
|
@@ -330,7 +344,6 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
330
344
|
filename: string;
|
331
345
|
originalFilename: string;
|
332
346
|
}[] | [string, string] | undefined>;
|
333
|
-
createdAtLocation: string;
|
334
347
|
updatedAt: string;
|
335
348
|
trackingId: string;
|
336
349
|
legalStatuses: {
|
@@ -338,20 +351,24 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
338
351
|
createdAt: string;
|
339
352
|
createdBy: string;
|
340
353
|
createdByRole: string;
|
341
|
-
createdAtLocation: string;
|
342
354
|
acceptedAt: string;
|
355
|
+
createdBySignature?: string | null | undefined;
|
356
|
+
createdAtLocation?: string | null | undefined;
|
343
357
|
} | null | undefined;
|
344
358
|
REGISTERED?: {
|
345
359
|
createdAt: string;
|
346
360
|
createdBy: string;
|
347
361
|
createdByRole: string;
|
348
|
-
createdAtLocation: string;
|
349
362
|
registrationNumber: string;
|
350
363
|
acceptedAt: string;
|
364
|
+
createdBySignature?: string | null | undefined;
|
365
|
+
createdAtLocation?: string | null | undefined;
|
351
366
|
} | null | undefined;
|
352
367
|
};
|
353
368
|
updatedByUserRole: string;
|
354
369
|
flags: string[];
|
370
|
+
createdBySignature?: string | null | undefined;
|
371
|
+
createdAtLocation?: string | null | undefined;
|
355
372
|
assignedTo?: string | null | undefined;
|
356
373
|
dateOfEvent?: string | null | undefined;
|
357
374
|
updatedAtLocation?: string | null | undefined;
|
@@ -366,7 +383,7 @@ export declare const EventSearchIndex: z.ZodIntersection<z.ZodRecord<z.ZodString
|
|
366
383
|
}>>;
|
367
384
|
export type EventSearchIndex = z.infer<typeof EventSearchIndex>;
|
368
385
|
export type EventIndex = z.infer<typeof EventIndex>;
|
369
|
-
declare const Fuzzy: z.ZodObject<{
|
386
|
+
export declare const Fuzzy: z.ZodObject<{
|
370
387
|
type: z.ZodLiteral<"fuzzy">;
|
371
388
|
term: z.ZodString;
|
372
389
|
}, "strip", z.ZodTypeAny, {
|
@@ -376,7 +393,7 @@ declare const Fuzzy: z.ZodObject<{
|
|
376
393
|
type: "fuzzy";
|
377
394
|
term: string;
|
378
395
|
}>;
|
379
|
-
declare const Exact: z.ZodObject<{
|
396
|
+
export declare const Exact: z.ZodObject<{
|
380
397
|
type: z.ZodLiteral<"exact">;
|
381
398
|
term: z.ZodString;
|
382
399
|
}, "strip", z.ZodTypeAny, {
|
@@ -386,7 +403,7 @@ declare const Exact: z.ZodObject<{
|
|
386
403
|
type: "exact";
|
387
404
|
term: string;
|
388
405
|
}>;
|
389
|
-
declare const AnyOf: z.ZodObject<{
|
406
|
+
export declare const AnyOf: z.ZodObject<{
|
390
407
|
type: z.ZodLiteral<"anyOf">;
|
391
408
|
terms: z.ZodArray<z.ZodString, "many">;
|
392
409
|
}, "strip", z.ZodTypeAny, {
|
@@ -396,7 +413,27 @@ declare const AnyOf: z.ZodObject<{
|
|
396
413
|
type: "anyOf";
|
397
414
|
terms: string[];
|
398
415
|
}>;
|
399
|
-
declare const
|
416
|
+
export declare const ExactStatus: z.ZodObject<{
|
417
|
+
type: z.ZodLiteral<"exact">;
|
418
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
419
|
+
}, "strip", z.ZodTypeAny, {
|
420
|
+
type: "exact";
|
421
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
422
|
+
}, {
|
423
|
+
type: "exact";
|
424
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
425
|
+
}>;
|
426
|
+
export declare const AnyOfStatus: z.ZodObject<{
|
427
|
+
type: z.ZodLiteral<"anyOf">;
|
428
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
429
|
+
}, "strip", z.ZodTypeAny, {
|
430
|
+
type: "anyOf";
|
431
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
432
|
+
}, {
|
433
|
+
type: "anyOf";
|
434
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
435
|
+
}>;
|
436
|
+
export declare const Range: z.ZodObject<{
|
400
437
|
type: z.ZodLiteral<"range">;
|
401
438
|
gte: z.ZodString;
|
402
439
|
lte: z.ZodString;
|
@@ -409,7 +446,7 @@ declare const Range: z.ZodObject<{
|
|
409
446
|
gte: string;
|
410
447
|
lte: string;
|
411
448
|
}>;
|
412
|
-
declare const Not: z.ZodObject<{
|
449
|
+
export declare const Not: z.ZodObject<{
|
413
450
|
type: z.ZodLiteral<"not">;
|
414
451
|
term: z.ZodString;
|
415
452
|
}, "strip", z.ZodTypeAny, {
|
@@ -419,7 +456,7 @@ declare const Not: z.ZodObject<{
|
|
419
456
|
type: "not";
|
420
457
|
term: string;
|
421
458
|
}>;
|
422
|
-
declare const Within: z.ZodObject<{
|
459
|
+
export declare const Within: z.ZodObject<{
|
423
460
|
type: z.ZodLiteral<"within">;
|
424
461
|
location: z.ZodString;
|
425
462
|
}, "strip", z.ZodTypeAny, {
|
@@ -429,13 +466,35 @@ declare const Within: z.ZodObject<{
|
|
429
466
|
type: "within";
|
430
467
|
location: string;
|
431
468
|
}>;
|
469
|
+
export declare const DateCondition: z.ZodUnion<[z.ZodObject<{
|
470
|
+
type: z.ZodLiteral<"exact">;
|
471
|
+
term: z.ZodString;
|
472
|
+
}, "strip", z.ZodTypeAny, {
|
473
|
+
type: "exact";
|
474
|
+
term: string;
|
475
|
+
}, {
|
476
|
+
type: "exact";
|
477
|
+
term: string;
|
478
|
+
}>, z.ZodObject<{
|
479
|
+
type: z.ZodLiteral<"range">;
|
480
|
+
gte: z.ZodString;
|
481
|
+
lte: z.ZodString;
|
482
|
+
}, "strip", z.ZodTypeAny, {
|
483
|
+
type: "range";
|
484
|
+
gte: string;
|
485
|
+
lte: string;
|
486
|
+
}, {
|
487
|
+
type: "range";
|
488
|
+
gte: string;
|
489
|
+
lte: string;
|
490
|
+
}>]>;
|
432
491
|
export declare const QueryInput: ZodType;
|
433
492
|
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
493
|
type QueryMap = {
|
435
494
|
[key: string]: BaseInput | QueryMap;
|
436
495
|
};
|
437
496
|
export type QueryInputType = BaseInput | QueryMap;
|
438
|
-
declare const QueryExpression: z.ZodObject<{
|
497
|
+
export declare const QueryExpression: z.ZodObject<{
|
439
498
|
eventType: z.ZodOptional<z.ZodString>;
|
440
499
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
441
500
|
type: z.ZodLiteral<"anyOf">;
|
@@ -541,7 +600,7 @@ declare const QueryExpression: z.ZodObject<{
|
|
541
600
|
type: "exact";
|
542
601
|
term: string;
|
543
602
|
}>]>>>;
|
544
|
-
|
603
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
545
604
|
type: z.ZodLiteral<"within">;
|
546
605
|
location: z.ZodString;
|
547
606
|
}, "strip", z.ZodTypeAny, {
|
@@ -579,6 +638,16 @@ declare const QueryExpression: z.ZodObject<{
|
|
579
638
|
type: "exact";
|
580
639
|
term: string;
|
581
640
|
}>]>>>;
|
641
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
642
|
+
type: z.ZodLiteral<"exact">;
|
643
|
+
term: z.ZodString;
|
644
|
+
}, "strip", z.ZodTypeAny, {
|
645
|
+
type: "exact";
|
646
|
+
term: string;
|
647
|
+
}, {
|
648
|
+
type: "exact";
|
649
|
+
term: string;
|
650
|
+
}>>>;
|
582
651
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
583
652
|
type: z.ZodLiteral<"exact">;
|
584
653
|
term: z.ZodString;
|
@@ -650,20 +719,18 @@ declare const QueryExpression: z.ZodObject<{
|
|
650
719
|
type: "exact";
|
651
720
|
term: string;
|
652
721
|
} | undefined;
|
653
|
-
|
722
|
+
createdAtLocation?: {
|
654
723
|
type: "exact";
|
655
724
|
term: string;
|
656
725
|
} | {
|
657
|
-
type: "
|
658
|
-
|
659
|
-
lte: string;
|
726
|
+
type: "within";
|
727
|
+
location: string;
|
660
728
|
} | undefined;
|
661
|
-
|
729
|
+
assignedTo?: {
|
662
730
|
type: "exact";
|
663
731
|
term: string;
|
664
732
|
} | undefined;
|
665
|
-
|
666
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
733
|
+
updatedAt?: {
|
667
734
|
type: "exact";
|
668
735
|
term: string;
|
669
736
|
} | {
|
@@ -671,12 +738,9 @@ declare const QueryExpression: z.ZodObject<{
|
|
671
738
|
gte: string;
|
672
739
|
lte: string;
|
673
740
|
} | undefined;
|
674
|
-
|
741
|
+
trackingId?: {
|
675
742
|
type: "exact";
|
676
743
|
term: string;
|
677
|
-
} | {
|
678
|
-
type: "within";
|
679
|
-
location: string;
|
680
744
|
} | undefined;
|
681
745
|
updatedAtLocation?: {
|
682
746
|
type: "exact";
|
@@ -696,7 +760,16 @@ declare const QueryExpression: z.ZodObject<{
|
|
696
760
|
type: "not";
|
697
761
|
term: string;
|
698
762
|
})[] | undefined;
|
699
|
-
|
763
|
+
eventType?: string | undefined;
|
764
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
765
|
+
type: "exact";
|
766
|
+
term: string;
|
767
|
+
} | {
|
768
|
+
type: "range";
|
769
|
+
gte: string;
|
770
|
+
lte: string;
|
771
|
+
} | undefined;
|
772
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
700
773
|
type: "exact";
|
701
774
|
term: string;
|
702
775
|
} | {
|
@@ -724,20 +797,18 @@ declare const QueryExpression: z.ZodObject<{
|
|
724
797
|
type: "exact";
|
725
798
|
term: string;
|
726
799
|
} | undefined;
|
727
|
-
|
800
|
+
createdAtLocation?: {
|
728
801
|
type: "exact";
|
729
802
|
term: string;
|
730
803
|
} | {
|
731
|
-
type: "
|
732
|
-
|
733
|
-
lte: string;
|
804
|
+
type: "within";
|
805
|
+
location: string;
|
734
806
|
} | undefined;
|
735
|
-
|
807
|
+
assignedTo?: {
|
736
808
|
type: "exact";
|
737
809
|
term: string;
|
738
810
|
} | undefined;
|
739
|
-
|
740
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
811
|
+
updatedAt?: {
|
741
812
|
type: "exact";
|
742
813
|
term: string;
|
743
814
|
} | {
|
@@ -745,12 +816,9 @@ declare const QueryExpression: z.ZodObject<{
|
|
745
816
|
gte: string;
|
746
817
|
lte: string;
|
747
818
|
} | undefined;
|
748
|
-
|
819
|
+
trackingId?: {
|
749
820
|
type: "exact";
|
750
821
|
term: string;
|
751
|
-
} | {
|
752
|
-
type: "within";
|
753
|
-
location: string;
|
754
822
|
} | undefined;
|
755
823
|
updatedAtLocation?: {
|
756
824
|
type: "exact";
|
@@ -770,7 +838,16 @@ declare const QueryExpression: z.ZodObject<{
|
|
770
838
|
type: "not";
|
771
839
|
term: string;
|
772
840
|
})[] | undefined;
|
773
|
-
|
841
|
+
eventType?: string | undefined;
|
842
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
843
|
+
type: "exact";
|
844
|
+
term: string;
|
845
|
+
} | {
|
846
|
+
type: "range";
|
847
|
+
gte: string;
|
848
|
+
lte: string;
|
849
|
+
} | undefined;
|
850
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
774
851
|
type: "exact";
|
775
852
|
term: string;
|
776
853
|
} | {
|
@@ -778,9 +855,9 @@ declare const QueryExpression: z.ZodObject<{
|
|
778
855
|
location: string;
|
779
856
|
} | undefined;
|
780
857
|
}>;
|
781
|
-
export declare const QueryType: z.
|
782
|
-
type: z.ZodLiteral<"or">;
|
783
|
-
clauses: z.ZodArray<z.ZodObject<{
|
858
|
+
export declare const QueryType: z.ZodObject<{
|
859
|
+
type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
|
860
|
+
clauses: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
784
861
|
eventType: z.ZodOptional<z.ZodString>;
|
785
862
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
786
863
|
type: z.ZodLiteral<"anyOf">;
|
@@ -886,7 +963,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
886
963
|
type: "exact";
|
887
964
|
term: string;
|
888
965
|
}>]>>>;
|
889
|
-
|
966
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
890
967
|
type: z.ZodLiteral<"within">;
|
891
968
|
location: z.ZodString;
|
892
969
|
}, "strip", z.ZodTypeAny, {
|
@@ -924,6 +1001,16 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
924
1001
|
type: "exact";
|
925
1002
|
term: string;
|
926
1003
|
}>]>>>;
|
1004
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1005
|
+
type: z.ZodLiteral<"exact">;
|
1006
|
+
term: z.ZodString;
|
1007
|
+
}, "strip", z.ZodTypeAny, {
|
1008
|
+
type: "exact";
|
1009
|
+
term: string;
|
1010
|
+
}, {
|
1011
|
+
type: "exact";
|
1012
|
+
term: string;
|
1013
|
+
}>>>;
|
927
1014
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
928
1015
|
type: z.ZodLiteral<"exact">;
|
929
1016
|
term: z.ZodString;
|
@@ -995,20 +1082,18 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
995
1082
|
type: "exact";
|
996
1083
|
term: string;
|
997
1084
|
} | undefined;
|
998
|
-
|
1085
|
+
createdAtLocation?: {
|
999
1086
|
type: "exact";
|
1000
1087
|
term: string;
|
1001
1088
|
} | {
|
1002
|
-
type: "
|
1003
|
-
|
1004
|
-
lte: string;
|
1089
|
+
type: "within";
|
1090
|
+
location: string;
|
1005
1091
|
} | undefined;
|
1006
|
-
|
1092
|
+
assignedTo?: {
|
1007
1093
|
type: "exact";
|
1008
1094
|
term: string;
|
1009
1095
|
} | undefined;
|
1010
|
-
|
1011
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1096
|
+
updatedAt?: {
|
1012
1097
|
type: "exact";
|
1013
1098
|
term: string;
|
1014
1099
|
} | {
|
@@ -1016,12 +1101,9 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1016
1101
|
gte: string;
|
1017
1102
|
lte: string;
|
1018
1103
|
} | undefined;
|
1019
|
-
|
1104
|
+
trackingId?: {
|
1020
1105
|
type: "exact";
|
1021
1106
|
term: string;
|
1022
|
-
} | {
|
1023
|
-
type: "within";
|
1024
|
-
location: string;
|
1025
1107
|
} | undefined;
|
1026
1108
|
updatedAtLocation?: {
|
1027
1109
|
type: "exact";
|
@@ -1041,7 +1123,16 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1041
1123
|
type: "not";
|
1042
1124
|
term: string;
|
1043
1125
|
})[] | undefined;
|
1044
|
-
|
1126
|
+
eventType?: string | undefined;
|
1127
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1128
|
+
type: "exact";
|
1129
|
+
term: string;
|
1130
|
+
} | {
|
1131
|
+
type: "range";
|
1132
|
+
gte: string;
|
1133
|
+
lte: string;
|
1134
|
+
} | undefined;
|
1135
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1045
1136
|
type: "exact";
|
1046
1137
|
term: string;
|
1047
1138
|
} | {
|
@@ -1069,20 +1160,18 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1069
1160
|
type: "exact";
|
1070
1161
|
term: string;
|
1071
1162
|
} | undefined;
|
1072
|
-
|
1163
|
+
createdAtLocation?: {
|
1073
1164
|
type: "exact";
|
1074
1165
|
term: string;
|
1075
1166
|
} | {
|
1076
|
-
type: "
|
1077
|
-
|
1078
|
-
lte: string;
|
1167
|
+
type: "within";
|
1168
|
+
location: string;
|
1079
1169
|
} | undefined;
|
1080
|
-
|
1170
|
+
assignedTo?: {
|
1081
1171
|
type: "exact";
|
1082
1172
|
term: string;
|
1083
1173
|
} | undefined;
|
1084
|
-
|
1085
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1174
|
+
updatedAt?: {
|
1086
1175
|
type: "exact";
|
1087
1176
|
term: string;
|
1088
1177
|
} | {
|
@@ -1090,12 +1179,9 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1090
1179
|
gte: string;
|
1091
1180
|
lte: string;
|
1092
1181
|
} | undefined;
|
1093
|
-
|
1182
|
+
trackingId?: {
|
1094
1183
|
type: "exact";
|
1095
1184
|
term: string;
|
1096
|
-
} | {
|
1097
|
-
type: "within";
|
1098
|
-
location: string;
|
1099
1185
|
} | undefined;
|
1100
1186
|
updatedAtLocation?: {
|
1101
1187
|
type: "exact";
|
@@ -1115,17 +1201,23 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1115
1201
|
type: "not";
|
1116
1202
|
term: string;
|
1117
1203
|
})[] | undefined;
|
1118
|
-
|
1204
|
+
eventType?: string | undefined;
|
1205
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1206
|
+
type: "exact";
|
1207
|
+
term: string;
|
1208
|
+
} | {
|
1209
|
+
type: "range";
|
1210
|
+
gte: string;
|
1211
|
+
lte: string;
|
1212
|
+
} | undefined;
|
1213
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1119
1214
|
type: "exact";
|
1120
1215
|
term: string;
|
1121
1216
|
} | {
|
1122
1217
|
type: "within";
|
1123
1218
|
location: string;
|
1124
1219
|
} | undefined;
|
1125
|
-
}>, "many"
|
1126
|
-
}, "strip", z.ZodTypeAny, {
|
1127
|
-
type: "or";
|
1128
|
-
clauses: {
|
1220
|
+
}>, "many">, {
|
1129
1221
|
status?: {
|
1130
1222
|
type: "exact";
|
1131
1223
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1146,20 +1238,18 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1146
1238
|
type: "exact";
|
1147
1239
|
term: string;
|
1148
1240
|
} | undefined;
|
1149
|
-
|
1241
|
+
createdAtLocation?: {
|
1150
1242
|
type: "exact";
|
1151
1243
|
term: string;
|
1152
1244
|
} | {
|
1153
|
-
type: "
|
1154
|
-
|
1155
|
-
lte: string;
|
1245
|
+
type: "within";
|
1246
|
+
location: string;
|
1156
1247
|
} | undefined;
|
1157
|
-
|
1248
|
+
assignedTo?: {
|
1158
1249
|
type: "exact";
|
1159
1250
|
term: string;
|
1160
1251
|
} | undefined;
|
1161
|
-
|
1162
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1252
|
+
updatedAt?: {
|
1163
1253
|
type: "exact";
|
1164
1254
|
term: string;
|
1165
1255
|
} | {
|
@@ -1167,12 +1257,9 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1167
1257
|
gte: string;
|
1168
1258
|
lte: string;
|
1169
1259
|
} | undefined;
|
1170
|
-
|
1260
|
+
trackingId?: {
|
1171
1261
|
type: "exact";
|
1172
1262
|
term: string;
|
1173
|
-
} | {
|
1174
|
-
type: "within";
|
1175
|
-
location: string;
|
1176
1263
|
} | undefined;
|
1177
1264
|
updatedAtLocation?: {
|
1178
1265
|
type: "exact";
|
@@ -1192,16 +1279,25 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1192
1279
|
type: "not";
|
1193
1280
|
term: string;
|
1194
1281
|
})[] | undefined;
|
1195
|
-
|
1282
|
+
eventType?: string | undefined;
|
1283
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1284
|
+
type: "exact";
|
1285
|
+
term: string;
|
1286
|
+
} | {
|
1287
|
+
type: "range";
|
1288
|
+
gte: string;
|
1289
|
+
lte: string;
|
1290
|
+
} | undefined;
|
1291
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1196
1292
|
type: "exact";
|
1197
1293
|
term: string;
|
1198
1294
|
} | {
|
1199
1295
|
type: "within";
|
1200
1296
|
location: string;
|
1201
1297
|
} | undefined;
|
1202
|
-
}[]
|
1203
|
-
}, {
|
1204
|
-
type: "or";
|
1298
|
+
}[], unknown>;
|
1299
|
+
}, "strip", z.ZodTypeAny, {
|
1300
|
+
type: "and" | "or";
|
1205
1301
|
clauses: {
|
1206
1302
|
status?: {
|
1207
1303
|
type: "exact";
|
@@ -1223,20 +1319,18 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1223
1319
|
type: "exact";
|
1224
1320
|
term: string;
|
1225
1321
|
} | undefined;
|
1226
|
-
|
1322
|
+
createdAtLocation?: {
|
1227
1323
|
type: "exact";
|
1228
1324
|
term: string;
|
1229
1325
|
} | {
|
1230
|
-
type: "
|
1231
|
-
|
1232
|
-
lte: string;
|
1326
|
+
type: "within";
|
1327
|
+
location: string;
|
1233
1328
|
} | undefined;
|
1234
|
-
|
1329
|
+
assignedTo?: {
|
1235
1330
|
type: "exact";
|
1236
1331
|
term: string;
|
1237
1332
|
} | undefined;
|
1238
|
-
|
1239
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1333
|
+
updatedAt?: {
|
1240
1334
|
type: "exact";
|
1241
1335
|
term: string;
|
1242
1336
|
} | {
|
@@ -1244,12 +1338,9 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1244
1338
|
gte: string;
|
1245
1339
|
lte: string;
|
1246
1340
|
} | undefined;
|
1247
|
-
|
1341
|
+
trackingId?: {
|
1248
1342
|
type: "exact";
|
1249
1343
|
term: string;
|
1250
|
-
} | {
|
1251
|
-
type: "within";
|
1252
|
-
location: string;
|
1253
1344
|
} | undefined;
|
1254
1345
|
updatedAtLocation?: {
|
1255
1346
|
type: "exact";
|
@@ -1269,429 +1360,16 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1269
1360
|
type: "not";
|
1270
1361
|
term: string;
|
1271
1362
|
})[] | undefined;
|
1272
|
-
|
1363
|
+
eventType?: string | undefined;
|
1364
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1273
1365
|
type: "exact";
|
1274
1366
|
term: string;
|
1275
1367
|
} | {
|
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
1368
|
type: "range";
|
1322
1369
|
gte: string;
|
1323
1370
|
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?: {
|
1371
|
+
} | undefined;
|
1372
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1695
1373
|
type: "exact";
|
1696
1374
|
term: string;
|
1697
1375
|
} | {
|
@@ -1700,83 +1378,9 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1700
1378
|
} | undefined;
|
1701
1379
|
}[];
|
1702
1380
|
}, {
|
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
|
-
}>]>;
|
1381
|
+
type: "and" | "or";
|
1382
|
+
clauses?: unknown;
|
1383
|
+
}>;
|
1780
1384
|
export type QueryType = z.infer<typeof QueryType>;
|
1781
1385
|
export type QueryExpression = z.infer<typeof QueryExpression>;
|
1782
1386
|
export {};
|