@opencrvs/toolkit 1.8.0-rc.f9fb039 → 1.8.0-rc.fa564ca
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 +7047 -3158
- 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 +292 -105
- package/dist/commons/events/ActionInput.d.ts +75 -3
- package/dist/commons/events/ActionType.d.ts +4 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +437 -12
- 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 +3 -0
- package/dist/commons/events/Draft.d.ts +10 -5
- package/dist/commons/events/EventConfig.d.ts +11281 -7033
- package/dist/commons/events/EventDocument.d.ts +212 -99
- package/dist/commons/events/EventIndex.d.ts +281 -531
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +68 -44
- 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/SummaryConfig.d.ts +17 -0
- 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 +3936 -807
- package/dist/commons/events/defineConfig.d.ts +1385 -576
- package/dist/commons/events/event.d.ts +5 -5
- package/dist/commons/events/field.d.ts +9 -13
- package/dist/commons/events/index.d.ts +4 -0
- package/dist/commons/events/scopes.d.ts +20 -1
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +26 -6
- package/dist/commons/events/utils.d.ts +327 -291
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +28 -8
- package/dist/events/index.js +1947 -561
- package/dist/scopes/index.d.ts +158 -1
- package/dist/scopes/index.js +152 -1
- package/package.json +1 -1
@@ -16,83 +16,94 @@ 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.ZodString>>;
|
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 | 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.ZodString>>;
|
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 | 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 | 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 | 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
|
105
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
106
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
96
107
|
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
97
108
|
updatedAt: z.ZodString;
|
98
109
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -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,20 +278,24 @@ 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 | 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 | null | undefined;
|
281
293
|
} | null | undefined;
|
282
294
|
};
|
283
295
|
updatedByUserRole: string;
|
284
296
|
flags: string[];
|
297
|
+
createdBySignature?: string | null | undefined;
|
298
|
+
createdAtLocation?: string | null | undefined;
|
285
299
|
assignedTo?: string | null | undefined;
|
286
300
|
dateOfEvent?: string | null | undefined;
|
287
301
|
updatedAtLocation?: string | null | undefined;
|
@@ -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,413 +413,107 @@ declare const AnyOf: z.ZodObject<{
|
|
396
413
|
type: "anyOf";
|
397
414
|
terms: string[];
|
398
415
|
}>;
|
399
|
-
declare const
|
400
|
-
type: z.ZodLiteral<"
|
401
|
-
|
402
|
-
lte: z.ZodString;
|
403
|
-
}, "strip", z.ZodTypeAny, {
|
404
|
-
type: "range";
|
405
|
-
gte: string;
|
406
|
-
lte: string;
|
407
|
-
}, {
|
408
|
-
type: "range";
|
409
|
-
gte: string;
|
410
|
-
lte: string;
|
411
|
-
}>;
|
412
|
-
declare const Not: z.ZodObject<{
|
413
|
-
type: z.ZodLiteral<"not">;
|
414
|
-
term: z.ZodString;
|
415
|
-
}, "strip", z.ZodTypeAny, {
|
416
|
-
type: "not";
|
417
|
-
term: string;
|
418
|
-
}, {
|
419
|
-
type: "not";
|
420
|
-
term: string;
|
421
|
-
}>;
|
422
|
-
declare const Within: z.ZodObject<{
|
423
|
-
type: z.ZodLiteral<"within">;
|
424
|
-
location: z.ZodString;
|
425
|
-
}, "strip", z.ZodTypeAny, {
|
426
|
-
type: "within";
|
427
|
-
location: string;
|
428
|
-
}, {
|
429
|
-
type: "within";
|
430
|
-
location: string;
|
431
|
-
}>;
|
432
|
-
export declare const QueryInput: ZodType;
|
433
|
-
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
|
-
type QueryMap = {
|
435
|
-
[key: string]: BaseInput | QueryMap;
|
436
|
-
};
|
437
|
-
export type QueryInputType = BaseInput | QueryMap;
|
438
|
-
declare const QueryExpression: z.ZodObject<{
|
439
|
-
type: z.ZodOptional<z.ZodLiteral<"and">>;
|
440
|
-
eventType: z.ZodOptional<z.ZodString>;
|
441
|
-
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
442
|
-
type: z.ZodLiteral<"anyOf">;
|
443
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
444
|
-
}, "strip", z.ZodTypeAny, {
|
445
|
-
type: "anyOf";
|
446
|
-
terms: string[];
|
447
|
-
}, {
|
448
|
-
type: "anyOf";
|
449
|
-
terms: string[];
|
450
|
-
}>, z.ZodObject<{
|
451
|
-
type: z.ZodLiteral<"exact">;
|
452
|
-
term: z.ZodString;
|
453
|
-
}, "strip", z.ZodTypeAny, {
|
454
|
-
type: "exact";
|
455
|
-
term: string;
|
456
|
-
}, {
|
457
|
-
type: "exact";
|
458
|
-
term: string;
|
459
|
-
}>]>>>;
|
460
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
461
|
-
type: z.ZodLiteral<"exact">;
|
462
|
-
term: z.ZodString;
|
463
|
-
}, "strip", z.ZodTypeAny, {
|
464
|
-
type: "exact";
|
465
|
-
term: string;
|
466
|
-
}, {
|
467
|
-
type: "exact";
|
468
|
-
term: string;
|
469
|
-
}>, z.ZodObject<{
|
470
|
-
type: z.ZodLiteral<"range">;
|
471
|
-
gte: z.ZodString;
|
472
|
-
lte: z.ZodString;
|
473
|
-
}, "strip", z.ZodTypeAny, {
|
474
|
-
type: "range";
|
475
|
-
gte: string;
|
476
|
-
lte: string;
|
477
|
-
}, {
|
478
|
-
type: "range";
|
479
|
-
gte: string;
|
480
|
-
lte: string;
|
481
|
-
}>]>>>;
|
482
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
483
|
-
type: z.ZodLiteral<"exact">;
|
484
|
-
term: z.ZodString;
|
485
|
-
}, "strip", z.ZodTypeAny, {
|
486
|
-
type: "exact";
|
487
|
-
term: string;
|
488
|
-
}, {
|
489
|
-
type: "exact";
|
490
|
-
term: string;
|
491
|
-
}>, z.ZodObject<{
|
492
|
-
type: z.ZodLiteral<"range">;
|
493
|
-
gte: z.ZodString;
|
494
|
-
lte: z.ZodString;
|
495
|
-
}, "strip", z.ZodTypeAny, {
|
496
|
-
type: "range";
|
497
|
-
gte: string;
|
498
|
-
lte: string;
|
499
|
-
}, {
|
500
|
-
type: "range";
|
501
|
-
gte: string;
|
502
|
-
lte: string;
|
503
|
-
}>]>>>;
|
504
|
-
registeredAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
505
|
-
type: z.ZodLiteral<"exact">;
|
506
|
-
term: z.ZodString;
|
507
|
-
}, "strip", z.ZodTypeAny, {
|
508
|
-
type: "exact";
|
509
|
-
term: string;
|
510
|
-
}, {
|
511
|
-
type: "exact";
|
512
|
-
term: string;
|
513
|
-
}>, z.ZodObject<{
|
514
|
-
type: z.ZodLiteral<"range">;
|
515
|
-
gte: z.ZodString;
|
516
|
-
lte: z.ZodString;
|
517
|
-
}, "strip", z.ZodTypeAny, {
|
518
|
-
type: "range";
|
519
|
-
gte: string;
|
520
|
-
lte: string;
|
521
|
-
}, {
|
522
|
-
type: "range";
|
523
|
-
gte: string;
|
524
|
-
lte: string;
|
525
|
-
}>]>>>;
|
526
|
-
registeredAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
527
|
-
type: z.ZodLiteral<"within">;
|
528
|
-
location: z.ZodString;
|
529
|
-
}, "strip", z.ZodTypeAny, {
|
530
|
-
type: "within";
|
531
|
-
location: string;
|
532
|
-
}, {
|
533
|
-
type: "within";
|
534
|
-
location: string;
|
535
|
-
}>, z.ZodObject<{
|
536
|
-
type: z.ZodLiteral<"exact">;
|
537
|
-
term: z.ZodString;
|
538
|
-
}, "strip", z.ZodTypeAny, {
|
539
|
-
type: "exact";
|
540
|
-
term: string;
|
541
|
-
}, {
|
542
|
-
type: "exact";
|
543
|
-
term: string;
|
544
|
-
}>]>>>;
|
545
|
-
createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
546
|
-
type: z.ZodLiteral<"within">;
|
547
|
-
location: z.ZodString;
|
548
|
-
}, "strip", z.ZodTypeAny, {
|
549
|
-
type: "within";
|
550
|
-
location: string;
|
551
|
-
}, {
|
552
|
-
type: "within";
|
553
|
-
location: string;
|
554
|
-
}>, z.ZodObject<{
|
555
|
-
type: z.ZodLiteral<"exact">;
|
556
|
-
term: z.ZodString;
|
557
|
-
}, "strip", z.ZodTypeAny, {
|
558
|
-
type: "exact";
|
559
|
-
term: string;
|
560
|
-
}, {
|
561
|
-
type: "exact";
|
562
|
-
term: string;
|
563
|
-
}>]>>>;
|
564
|
-
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
565
|
-
type: z.ZodLiteral<"within">;
|
566
|
-
location: z.ZodString;
|
567
|
-
}, "strip", z.ZodTypeAny, {
|
568
|
-
type: "within";
|
569
|
-
location: string;
|
570
|
-
}, {
|
571
|
-
type: "within";
|
572
|
-
location: string;
|
573
|
-
}>, z.ZodObject<{
|
574
|
-
type: z.ZodLiteral<"exact">;
|
575
|
-
term: z.ZodString;
|
576
|
-
}, "strip", z.ZodTypeAny, {
|
577
|
-
type: "exact";
|
578
|
-
term: string;
|
579
|
-
}, {
|
580
|
-
type: "exact";
|
581
|
-
term: string;
|
582
|
-
}>]>>>;
|
583
|
-
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
584
|
-
type: z.ZodLiteral<"exact">;
|
585
|
-
term: z.ZodString;
|
586
|
-
}, "strip", z.ZodTypeAny, {
|
587
|
-
type: "exact";
|
588
|
-
term: string;
|
589
|
-
}, {
|
590
|
-
type: "exact";
|
591
|
-
term: string;
|
592
|
-
}>>>;
|
593
|
-
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
594
|
-
type: z.ZodLiteral<"exact">;
|
595
|
-
term: z.ZodString;
|
596
|
-
}, "strip", z.ZodTypeAny, {
|
597
|
-
type: "exact";
|
598
|
-
term: string;
|
599
|
-
}, {
|
600
|
-
type: "exact";
|
601
|
-
term: string;
|
602
|
-
}>>>;
|
603
|
-
trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
604
|
-
type: z.ZodLiteral<"exact">;
|
605
|
-
term: z.ZodString;
|
606
|
-
}, "strip", z.ZodTypeAny, {
|
607
|
-
type: "exact";
|
608
|
-
term: string;
|
609
|
-
}, {
|
610
|
-
type: "exact";
|
611
|
-
term: string;
|
612
|
-
}>>>;
|
613
|
-
flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
614
|
-
type: z.ZodLiteral<"anyOf">;
|
615
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
616
|
-
}, "strip", z.ZodTypeAny, {
|
617
|
-
type: "anyOf";
|
618
|
-
terms: string[];
|
619
|
-
}, {
|
620
|
-
type: "anyOf";
|
621
|
-
terms: string[];
|
622
|
-
}>, z.ZodObject<{
|
623
|
-
type: z.ZodLiteral<"not">;
|
624
|
-
term: z.ZodString;
|
625
|
-
}, "strip", z.ZodTypeAny, {
|
626
|
-
type: "not";
|
627
|
-
term: string;
|
628
|
-
}, {
|
629
|
-
type: "not";
|
630
|
-
term: string;
|
631
|
-
}>]>, "many">>>;
|
632
|
-
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
416
|
+
export declare const ExactStatus: z.ZodObject<{
|
417
|
+
type: z.ZodLiteral<"exact">;
|
418
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
633
419
|
}, "strip", z.ZodTypeAny, {
|
634
|
-
type
|
635
|
-
|
636
|
-
type: "exact";
|
637
|
-
term: string;
|
638
|
-
} | {
|
639
|
-
type: "anyOf";
|
640
|
-
terms: string[];
|
641
|
-
} | undefined;
|
642
|
-
data?: any;
|
643
|
-
createdAt?: {
|
644
|
-
type: "exact";
|
645
|
-
term: string;
|
646
|
-
} | {
|
647
|
-
type: "range";
|
648
|
-
gte: string;
|
649
|
-
lte: string;
|
650
|
-
} | undefined;
|
651
|
-
createdBy?: {
|
652
|
-
type: "exact";
|
653
|
-
term: string;
|
654
|
-
} | undefined;
|
655
|
-
updatedAt?: {
|
656
|
-
type: "exact";
|
657
|
-
term: string;
|
658
|
-
} | {
|
659
|
-
type: "range";
|
660
|
-
gte: string;
|
661
|
-
lte: string;
|
662
|
-
} | undefined;
|
663
|
-
registeredAt?: {
|
664
|
-
type: "exact";
|
665
|
-
term: string;
|
666
|
-
} | {
|
667
|
-
type: "range";
|
668
|
-
gte: string;
|
669
|
-
lte: string;
|
670
|
-
} | undefined;
|
671
|
-
registeredAtLocation?: {
|
672
|
-
type: "exact";
|
673
|
-
term: string;
|
674
|
-
} | {
|
675
|
-
type: "within";
|
676
|
-
location: string;
|
677
|
-
} | undefined;
|
678
|
-
trackingId?: {
|
679
|
-
type: "exact";
|
680
|
-
term: string;
|
681
|
-
} | undefined;
|
682
|
-
updatedAtLocation?: {
|
683
|
-
type: "exact";
|
684
|
-
term: string;
|
685
|
-
} | {
|
686
|
-
type: "within";
|
687
|
-
location: string;
|
688
|
-
} | undefined;
|
689
|
-
updatedBy?: {
|
690
|
-
type: "exact";
|
691
|
-
term: string;
|
692
|
-
} | undefined;
|
693
|
-
flags?: ({
|
694
|
-
type: "anyOf";
|
695
|
-
terms: string[];
|
696
|
-
} | {
|
697
|
-
type: "not";
|
698
|
-
term: string;
|
699
|
-
})[] | undefined;
|
700
|
-
eventType?: string | undefined;
|
701
|
-
createAtLocation?: {
|
702
|
-
type: "exact";
|
703
|
-
term: string;
|
704
|
-
} | {
|
705
|
-
type: "within";
|
706
|
-
location: string;
|
707
|
-
} | undefined;
|
420
|
+
type: "exact";
|
421
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
708
422
|
}, {
|
709
|
-
type
|
710
|
-
|
711
|
-
type: "exact";
|
712
|
-
term: string;
|
713
|
-
} | {
|
714
|
-
type: "anyOf";
|
715
|
-
terms: string[];
|
716
|
-
} | undefined;
|
717
|
-
data?: any;
|
718
|
-
createdAt?: {
|
719
|
-
type: "exact";
|
720
|
-
term: string;
|
721
|
-
} | {
|
722
|
-
type: "range";
|
723
|
-
gte: string;
|
724
|
-
lte: string;
|
725
|
-
} | undefined;
|
726
|
-
createdBy?: {
|
727
|
-
type: "exact";
|
728
|
-
term: string;
|
729
|
-
} | undefined;
|
730
|
-
updatedAt?: {
|
731
|
-
type: "exact";
|
732
|
-
term: string;
|
733
|
-
} | {
|
734
|
-
type: "range";
|
735
|
-
gte: string;
|
736
|
-
lte: string;
|
737
|
-
} | undefined;
|
738
|
-
registeredAt?: {
|
739
|
-
type: "exact";
|
740
|
-
term: string;
|
741
|
-
} | {
|
742
|
-
type: "range";
|
743
|
-
gte: string;
|
744
|
-
lte: string;
|
745
|
-
} | undefined;
|
746
|
-
registeredAtLocation?: {
|
747
|
-
type: "exact";
|
748
|
-
term: string;
|
749
|
-
} | {
|
750
|
-
type: "within";
|
751
|
-
location: string;
|
752
|
-
} | undefined;
|
753
|
-
trackingId?: {
|
754
|
-
type: "exact";
|
755
|
-
term: string;
|
756
|
-
} | undefined;
|
757
|
-
updatedAtLocation?: {
|
758
|
-
type: "exact";
|
759
|
-
term: string;
|
760
|
-
} | {
|
761
|
-
type: "within";
|
762
|
-
location: string;
|
763
|
-
} | undefined;
|
764
|
-
updatedBy?: {
|
765
|
-
type: "exact";
|
766
|
-
term: string;
|
767
|
-
} | undefined;
|
768
|
-
flags?: ({
|
769
|
-
type: "anyOf";
|
770
|
-
terms: string[];
|
771
|
-
} | {
|
772
|
-
type: "not";
|
773
|
-
term: string;
|
774
|
-
})[] | undefined;
|
775
|
-
eventType?: string | undefined;
|
776
|
-
createAtLocation?: {
|
777
|
-
type: "exact";
|
778
|
-
term: string;
|
779
|
-
} | {
|
780
|
-
type: "within";
|
781
|
-
location: string;
|
782
|
-
} | undefined;
|
423
|
+
type: "exact";
|
424
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
783
425
|
}>;
|
784
|
-
export
|
785
|
-
|
786
|
-
|
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<{
|
437
|
+
type: z.ZodLiteral<"range">;
|
438
|
+
gte: z.ZodString;
|
439
|
+
lte: z.ZodString;
|
440
|
+
}, "strip", z.ZodTypeAny, {
|
441
|
+
type: "range";
|
442
|
+
gte: string;
|
443
|
+
lte: string;
|
444
|
+
}, {
|
445
|
+
type: "range";
|
446
|
+
gte: string;
|
447
|
+
lte: string;
|
448
|
+
}>;
|
449
|
+
export declare const Not: z.ZodObject<{
|
450
|
+
type: z.ZodLiteral<"not">;
|
451
|
+
term: z.ZodString;
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
453
|
+
type: "not";
|
454
|
+
term: string;
|
455
|
+
}, {
|
456
|
+
type: "not";
|
457
|
+
term: string;
|
458
|
+
}>;
|
459
|
+
export declare const Within: z.ZodObject<{
|
460
|
+
type: z.ZodLiteral<"within">;
|
461
|
+
location: z.ZodString;
|
462
|
+
}, "strip", z.ZodTypeAny, {
|
463
|
+
type: "within";
|
464
|
+
location: string;
|
465
|
+
}, {
|
466
|
+
type: "within";
|
467
|
+
location: string;
|
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
|
+
}>]>;
|
491
|
+
export declare const QueryInput: ZodType;
|
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>;
|
493
|
+
type QueryMap = {
|
494
|
+
[key: string]: BaseInput | QueryMap;
|
495
|
+
};
|
496
|
+
export type QueryInputType = BaseInput | QueryMap;
|
497
|
+
export declare const QueryExpression: z.ZodObject<{
|
787
498
|
eventType: z.ZodOptional<z.ZodString>;
|
788
499
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
789
500
|
type: z.ZodLiteral<"anyOf">;
|
790
|
-
terms: z.ZodArray<z.
|
501
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
791
502
|
}, "strip", z.ZodTypeAny, {
|
792
503
|
type: "anyOf";
|
793
|
-
terms:
|
504
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
794
505
|
}, {
|
795
506
|
type: "anyOf";
|
796
|
-
terms:
|
507
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
797
508
|
}>, z.ZodObject<{
|
798
509
|
type: z.ZodLiteral<"exact">;
|
799
|
-
term: z.
|
510
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
800
511
|
}, "strip", z.ZodTypeAny, {
|
801
512
|
type: "exact";
|
802
|
-
term:
|
513
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
803
514
|
}, {
|
804
515
|
type: "exact";
|
805
|
-
term:
|
516
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
806
517
|
}>]>>>;
|
807
518
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
808
519
|
type: z.ZodLiteral<"exact">;
|
@@ -848,7 +559,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
848
559
|
gte: string;
|
849
560
|
lte: string;
|
850
561
|
}>]>>>;
|
851
|
-
|
562
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
852
563
|
type: z.ZodLiteral<"exact">;
|
853
564
|
term: z.ZodString;
|
854
565
|
}, "strip", z.ZodTypeAny, {
|
@@ -870,7 +581,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
870
581
|
gte: string;
|
871
582
|
lte: string;
|
872
583
|
}>]>>>;
|
873
|
-
|
584
|
+
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
874
585
|
type: z.ZodLiteral<"within">;
|
875
586
|
location: z.ZodString;
|
876
587
|
}, "strip", z.ZodTypeAny, {
|
@@ -889,7 +600,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
889
600
|
type: "exact";
|
890
601
|
term: string;
|
891
602
|
}>]>>>;
|
892
|
-
|
603
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
893
604
|
type: z.ZodLiteral<"within">;
|
894
605
|
location: z.ZodString;
|
895
606
|
}, "strip", z.ZodTypeAny, {
|
@@ -927,6 +638,16 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
927
638
|
type: "exact";
|
928
639
|
term: string;
|
929
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
|
+
}>>>;
|
930
651
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
931
652
|
type: z.ZodLiteral<"exact">;
|
932
653
|
term: z.ZodString;
|
@@ -978,13 +699,12 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
978
699
|
}>]>, "many">>>;
|
979
700
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
980
701
|
}, "strip", z.ZodTypeAny, {
|
981
|
-
type?: "and" | undefined;
|
982
702
|
status?: {
|
983
703
|
type: "exact";
|
984
|
-
term:
|
704
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
985
705
|
} | {
|
986
706
|
type: "anyOf";
|
987
|
-
terms:
|
707
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
988
708
|
} | undefined;
|
989
709
|
data?: any;
|
990
710
|
createdAt?: {
|
@@ -999,28 +719,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
999
719
|
type: "exact";
|
1000
720
|
term: string;
|
1001
721
|
} | undefined;
|
1002
|
-
|
722
|
+
createdAtLocation?: {
|
1003
723
|
type: "exact";
|
1004
724
|
term: string;
|
1005
725
|
} | {
|
1006
|
-
type: "
|
1007
|
-
|
1008
|
-
lte: string;
|
726
|
+
type: "within";
|
727
|
+
location: string;
|
1009
728
|
} | undefined;
|
1010
|
-
|
729
|
+
assignedTo?: {
|
1011
730
|
type: "exact";
|
1012
731
|
term: string;
|
1013
|
-
} | {
|
1014
|
-
type: "range";
|
1015
|
-
gte: string;
|
1016
|
-
lte: string;
|
1017
732
|
} | undefined;
|
1018
|
-
|
733
|
+
updatedAt?: {
|
1019
734
|
type: "exact";
|
1020
735
|
term: string;
|
1021
736
|
} | {
|
1022
|
-
type: "
|
1023
|
-
|
737
|
+
type: "range";
|
738
|
+
gte: string;
|
739
|
+
lte: string;
|
1024
740
|
} | undefined;
|
1025
741
|
trackingId?: {
|
1026
742
|
type: "exact";
|
@@ -1045,7 +761,15 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1045
761
|
term: string;
|
1046
762
|
})[] | undefined;
|
1047
763
|
eventType?: string | undefined;
|
1048
|
-
|
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'?: {
|
1049
773
|
type: "exact";
|
1050
774
|
term: string;
|
1051
775
|
} | {
|
@@ -1053,13 +777,12 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1053
777
|
location: string;
|
1054
778
|
} | undefined;
|
1055
779
|
}, {
|
1056
|
-
type?: "and" | undefined;
|
1057
780
|
status?: {
|
1058
781
|
type: "exact";
|
1059
|
-
term:
|
782
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1060
783
|
} | {
|
1061
784
|
type: "anyOf";
|
1062
|
-
terms:
|
785
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1063
786
|
} | undefined;
|
1064
787
|
data?: any;
|
1065
788
|
createdAt?: {
|
@@ -1074,28 +797,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1074
797
|
type: "exact";
|
1075
798
|
term: string;
|
1076
799
|
} | undefined;
|
1077
|
-
|
800
|
+
createdAtLocation?: {
|
1078
801
|
type: "exact";
|
1079
802
|
term: string;
|
1080
803
|
} | {
|
1081
|
-
type: "
|
1082
|
-
|
1083
|
-
lte: string;
|
804
|
+
type: "within";
|
805
|
+
location: string;
|
1084
806
|
} | undefined;
|
1085
|
-
|
807
|
+
assignedTo?: {
|
1086
808
|
type: "exact";
|
1087
809
|
term: string;
|
1088
|
-
} | {
|
1089
|
-
type: "range";
|
1090
|
-
gte: string;
|
1091
|
-
lte: string;
|
1092
810
|
} | undefined;
|
1093
|
-
|
811
|
+
updatedAt?: {
|
1094
812
|
type: "exact";
|
1095
813
|
term: string;
|
1096
814
|
} | {
|
1097
|
-
type: "
|
1098
|
-
|
815
|
+
type: "range";
|
816
|
+
gte: string;
|
817
|
+
lte: string;
|
1099
818
|
} | undefined;
|
1100
819
|
trackingId?: {
|
1101
820
|
type: "exact";
|
@@ -1120,36 +839,44 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1120
839
|
term: string;
|
1121
840
|
})[] | undefined;
|
1122
841
|
eventType?: string | undefined;
|
1123
|
-
|
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'?: {
|
1124
851
|
type: "exact";
|
1125
852
|
term: string;
|
1126
853
|
} | {
|
1127
854
|
type: "within";
|
1128
855
|
location: string;
|
1129
856
|
} | undefined;
|
1130
|
-
}
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
857
|
+
}>;
|
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<{
|
1134
861
|
eventType: z.ZodOptional<z.ZodString>;
|
1135
862
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1136
863
|
type: z.ZodLiteral<"anyOf">;
|
1137
|
-
terms: z.ZodArray<z.
|
864
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
1138
865
|
}, "strip", z.ZodTypeAny, {
|
1139
866
|
type: "anyOf";
|
1140
|
-
terms:
|
867
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1141
868
|
}, {
|
1142
869
|
type: "anyOf";
|
1143
|
-
terms:
|
870
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1144
871
|
}>, z.ZodObject<{
|
1145
872
|
type: z.ZodLiteral<"exact">;
|
1146
|
-
term: z.
|
873
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
1147
874
|
}, "strip", z.ZodTypeAny, {
|
1148
875
|
type: "exact";
|
1149
|
-
term:
|
876
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1150
877
|
}, {
|
1151
878
|
type: "exact";
|
1152
|
-
term:
|
879
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1153
880
|
}>]>>>;
|
1154
881
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1155
882
|
type: z.ZodLiteral<"exact">;
|
@@ -1195,7 +922,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1195
922
|
gte: string;
|
1196
923
|
lte: string;
|
1197
924
|
}>]>>>;
|
1198
|
-
|
925
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1199
926
|
type: z.ZodLiteral<"exact">;
|
1200
927
|
term: z.ZodString;
|
1201
928
|
}, "strip", z.ZodTypeAny, {
|
@@ -1217,7 +944,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1217
944
|
gte: string;
|
1218
945
|
lte: string;
|
1219
946
|
}>]>>>;
|
1220
|
-
|
947
|
+
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1221
948
|
type: z.ZodLiteral<"within">;
|
1222
949
|
location: z.ZodString;
|
1223
950
|
}, "strip", z.ZodTypeAny, {
|
@@ -1236,7 +963,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1236
963
|
type: "exact";
|
1237
964
|
term: string;
|
1238
965
|
}>]>>>;
|
1239
|
-
|
966
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1240
967
|
type: z.ZodLiteral<"within">;
|
1241
968
|
location: z.ZodString;
|
1242
969
|
}, "strip", z.ZodTypeAny, {
|
@@ -1274,6 +1001,16 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1274
1001
|
type: "exact";
|
1275
1002
|
term: string;
|
1276
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
|
+
}>>>;
|
1277
1014
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1278
1015
|
type: z.ZodLiteral<"exact">;
|
1279
1016
|
term: z.ZodString;
|
@@ -1325,13 +1062,12 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1325
1062
|
}>]>, "many">>>;
|
1326
1063
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
1327
1064
|
}, "strip", z.ZodTypeAny, {
|
1328
|
-
type?: "and" | undefined;
|
1329
1065
|
status?: {
|
1330
1066
|
type: "exact";
|
1331
|
-
term:
|
1067
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1332
1068
|
} | {
|
1333
1069
|
type: "anyOf";
|
1334
|
-
terms:
|
1070
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1335
1071
|
} | undefined;
|
1336
1072
|
data?: any;
|
1337
1073
|
createdAt?: {
|
@@ -1346,28 +1082,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1346
1082
|
type: "exact";
|
1347
1083
|
term: string;
|
1348
1084
|
} | undefined;
|
1349
|
-
|
1085
|
+
createdAtLocation?: {
|
1350
1086
|
type: "exact";
|
1351
1087
|
term: string;
|
1352
1088
|
} | {
|
1353
|
-
type: "
|
1354
|
-
|
1355
|
-
lte: string;
|
1089
|
+
type: "within";
|
1090
|
+
location: string;
|
1356
1091
|
} | undefined;
|
1357
|
-
|
1092
|
+
assignedTo?: {
|
1358
1093
|
type: "exact";
|
1359
1094
|
term: string;
|
1360
|
-
} | {
|
1361
|
-
type: "range";
|
1362
|
-
gte: string;
|
1363
|
-
lte: string;
|
1364
1095
|
} | undefined;
|
1365
|
-
|
1096
|
+
updatedAt?: {
|
1366
1097
|
type: "exact";
|
1367
1098
|
term: string;
|
1368
1099
|
} | {
|
1369
|
-
type: "
|
1370
|
-
|
1100
|
+
type: "range";
|
1101
|
+
gte: string;
|
1102
|
+
lte: string;
|
1371
1103
|
} | undefined;
|
1372
1104
|
trackingId?: {
|
1373
1105
|
type: "exact";
|
@@ -1392,7 +1124,15 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1392
1124
|
term: string;
|
1393
1125
|
})[] | undefined;
|
1394
1126
|
eventType?: string | undefined;
|
1395
|
-
|
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'?: {
|
1396
1136
|
type: "exact";
|
1397
1137
|
term: string;
|
1398
1138
|
} | {
|
@@ -1400,13 +1140,12 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1400
1140
|
location: string;
|
1401
1141
|
} | undefined;
|
1402
1142
|
}, {
|
1403
|
-
type?: "and" | undefined;
|
1404
1143
|
status?: {
|
1405
1144
|
type: "exact";
|
1406
|
-
term:
|
1145
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1407
1146
|
} | {
|
1408
1147
|
type: "anyOf";
|
1409
|
-
terms:
|
1148
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1410
1149
|
} | undefined;
|
1411
1150
|
data?: any;
|
1412
1151
|
createdAt?: {
|
@@ -1421,28 +1160,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1421
1160
|
type: "exact";
|
1422
1161
|
term: string;
|
1423
1162
|
} | undefined;
|
1424
|
-
|
1163
|
+
createdAtLocation?: {
|
1425
1164
|
type: "exact";
|
1426
1165
|
term: string;
|
1427
1166
|
} | {
|
1428
|
-
type: "
|
1429
|
-
|
1430
|
-
lte: string;
|
1167
|
+
type: "within";
|
1168
|
+
location: string;
|
1431
1169
|
} | undefined;
|
1432
|
-
|
1170
|
+
assignedTo?: {
|
1433
1171
|
type: "exact";
|
1434
1172
|
term: string;
|
1435
|
-
} | {
|
1436
|
-
type: "range";
|
1437
|
-
gte: string;
|
1438
|
-
lte: string;
|
1439
1173
|
} | undefined;
|
1440
|
-
|
1174
|
+
updatedAt?: {
|
1441
1175
|
type: "exact";
|
1442
1176
|
term: string;
|
1443
1177
|
} | {
|
1444
|
-
type: "
|
1445
|
-
|
1178
|
+
type: "range";
|
1179
|
+
gte: string;
|
1180
|
+
lte: string;
|
1446
1181
|
} | undefined;
|
1447
1182
|
trackingId?: {
|
1448
1183
|
type: "exact";
|
@@ -1467,24 +1202,28 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1467
1202
|
term: string;
|
1468
1203
|
})[] | undefined;
|
1469
1204
|
eventType?: string | undefined;
|
1470
|
-
|
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'?: {
|
1471
1214
|
type: "exact";
|
1472
1215
|
term: string;
|
1473
1216
|
} | {
|
1474
1217
|
type: "within";
|
1475
1218
|
location: string;
|
1476
1219
|
} | undefined;
|
1477
|
-
}>, "many"
|
1478
|
-
}, "strip", z.ZodTypeAny, {
|
1479
|
-
type: "or";
|
1480
|
-
clauses: {
|
1481
|
-
type?: "and" | undefined;
|
1220
|
+
}>, "many">, {
|
1482
1221
|
status?: {
|
1483
1222
|
type: "exact";
|
1484
|
-
term:
|
1223
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1485
1224
|
} | {
|
1486
1225
|
type: "anyOf";
|
1487
|
-
terms:
|
1226
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1488
1227
|
} | undefined;
|
1489
1228
|
data?: any;
|
1490
1229
|
createdAt?: {
|
@@ -1499,28 +1238,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1499
1238
|
type: "exact";
|
1500
1239
|
term: string;
|
1501
1240
|
} | undefined;
|
1502
|
-
|
1241
|
+
createdAtLocation?: {
|
1503
1242
|
type: "exact";
|
1504
1243
|
term: string;
|
1505
1244
|
} | {
|
1506
|
-
type: "
|
1507
|
-
|
1508
|
-
lte: string;
|
1245
|
+
type: "within";
|
1246
|
+
location: string;
|
1509
1247
|
} | undefined;
|
1510
|
-
|
1248
|
+
assignedTo?: {
|
1511
1249
|
type: "exact";
|
1512
1250
|
term: string;
|
1513
|
-
} | {
|
1514
|
-
type: "range";
|
1515
|
-
gte: string;
|
1516
|
-
lte: string;
|
1517
1251
|
} | undefined;
|
1518
|
-
|
1252
|
+
updatedAt?: {
|
1519
1253
|
type: "exact";
|
1520
1254
|
term: string;
|
1521
1255
|
} | {
|
1522
|
-
type: "
|
1523
|
-
|
1256
|
+
type: "range";
|
1257
|
+
gte: string;
|
1258
|
+
lte: string;
|
1524
1259
|
} | undefined;
|
1525
1260
|
trackingId?: {
|
1526
1261
|
type: "exact";
|
@@ -1545,24 +1280,31 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1545
1280
|
term: string;
|
1546
1281
|
})[] | undefined;
|
1547
1282
|
eventType?: string | undefined;
|
1548
|
-
|
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'?: {
|
1549
1292
|
type: "exact";
|
1550
1293
|
term: string;
|
1551
1294
|
} | {
|
1552
1295
|
type: "within";
|
1553
1296
|
location: string;
|
1554
1297
|
} | undefined;
|
1555
|
-
}[]
|
1556
|
-
}, {
|
1557
|
-
type: "or";
|
1298
|
+
}[], unknown>;
|
1299
|
+
}, "strip", z.ZodTypeAny, {
|
1300
|
+
type: "and" | "or";
|
1558
1301
|
clauses: {
|
1559
|
-
type?: "and" | undefined;
|
1560
1302
|
status?: {
|
1561
1303
|
type: "exact";
|
1562
|
-
term:
|
1304
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1563
1305
|
} | {
|
1564
1306
|
type: "anyOf";
|
1565
|
-
terms:
|
1307
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1566
1308
|
} | undefined;
|
1567
1309
|
data?: any;
|
1568
1310
|
createdAt?: {
|
@@ -1577,28 +1319,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1577
1319
|
type: "exact";
|
1578
1320
|
term: string;
|
1579
1321
|
} | undefined;
|
1580
|
-
|
1322
|
+
createdAtLocation?: {
|
1581
1323
|
type: "exact";
|
1582
1324
|
term: string;
|
1583
1325
|
} | {
|
1584
|
-
type: "
|
1585
|
-
|
1586
|
-
lte: string;
|
1326
|
+
type: "within";
|
1327
|
+
location: string;
|
1587
1328
|
} | undefined;
|
1588
|
-
|
1329
|
+
assignedTo?: {
|
1589
1330
|
type: "exact";
|
1590
1331
|
term: string;
|
1591
|
-
} | {
|
1592
|
-
type: "range";
|
1593
|
-
gte: string;
|
1594
|
-
lte: string;
|
1595
1332
|
} | undefined;
|
1596
|
-
|
1333
|
+
updatedAt?: {
|
1597
1334
|
type: "exact";
|
1598
1335
|
term: string;
|
1599
1336
|
} | {
|
1600
|
-
type: "
|
1601
|
-
|
1337
|
+
type: "range";
|
1338
|
+
gte: string;
|
1339
|
+
lte: string;
|
1602
1340
|
} | undefined;
|
1603
1341
|
trackingId?: {
|
1604
1342
|
type: "exact";
|
@@ -1623,7 +1361,15 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1623
1361
|
term: string;
|
1624
1362
|
})[] | undefined;
|
1625
1363
|
eventType?: string | undefined;
|
1626
|
-
|
1364
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1365
|
+
type: "exact";
|
1366
|
+
term: string;
|
1367
|
+
} | {
|
1368
|
+
type: "range";
|
1369
|
+
gte: string;
|
1370
|
+
lte: string;
|
1371
|
+
} | undefined;
|
1372
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1627
1373
|
type: "exact";
|
1628
1374
|
term: string;
|
1629
1375
|
} | {
|
@@ -1631,7 +1377,11 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1631
1377
|
location: string;
|
1632
1378
|
} | undefined;
|
1633
1379
|
}[];
|
1634
|
-
}
|
1380
|
+
}, {
|
1381
|
+
type: "and" | "or";
|
1382
|
+
clauses?: unknown;
|
1383
|
+
}>;
|
1635
1384
|
export type QueryType = z.infer<typeof QueryType>;
|
1385
|
+
export type QueryExpression = z.infer<typeof QueryExpression>;
|
1636
1386
|
export {};
|
1637
1387
|
//# sourceMappingURL=EventIndex.d.ts.map
|