@opencrvs/toolkit 1.8.0-rc.fc4c805 → 1.8.0-rc.fcb9386
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 +6983 -4338
- package/dist/commons/conditionals/conditionals.d.ts +2 -1
- package/dist/commons/events/ActionConfig.d.ts +40400 -36948
- package/dist/commons/events/ActionDocument.d.ts +292 -105
- package/dist/commons/events/ActionInput.d.ts +75 -3
- package/dist/commons/events/AdvancedSearchConfig.d.ts +603 -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 +14558 -14829
- package/dist/commons/events/EventDocument.d.ts +212 -93
- package/dist/commons/events/EventIndex.d.ts +298 -319
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +38 -44
- package/dist/commons/events/FieldConfig.d.ts +517 -0
- package/dist/commons/events/FormConfig.d.ts +3641 -467
- package/dist/commons/events/PageConfig.d.ts +782 -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 +4033 -644
- package/dist/commons/events/defineConfig.d.ts +3050 -3519
- package/dist/commons/events/event.d.ts +37 -10
- package/dist/commons/events/field.d.ts +21 -7
- package/dist/commons/events/index.d.ts +4 -0
- package/dist/commons/events/scopes.d.ts +21 -2
- 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 +117 -1
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +19 -2
- package/dist/events/index.js +2382 -988
- package/dist/scopes/index.d.ts +158 -1
- package/dist/scopes/index.js +152 -1
- package/package.json +1 -1
@@ -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.ZodString>>;
|
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 | 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.ZodString>>;
|
39
39
|
acceptedAt: z.ZodString;
|
40
40
|
createdByRole: z.ZodString;
|
41
41
|
}, {
|
@@ -44,55 +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 | 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 | 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 | 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
|
95
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
96
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
96
97
|
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
97
98
|
updatedAt: z.ZodString;
|
98
99
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -260,7 +261,6 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
260
261
|
filename: string;
|
261
262
|
originalFilename: string;
|
262
263
|
}[] | [string, string] | undefined>;
|
263
|
-
createdAtLocation: string;
|
264
264
|
updatedAt: string;
|
265
265
|
trackingId: string;
|
266
266
|
legalStatuses: {
|
@@ -268,20 +268,22 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
268
268
|
createdAt: string;
|
269
269
|
createdBy: string;
|
270
270
|
createdByRole: string;
|
271
|
-
createdAtLocation: string;
|
272
271
|
acceptedAt: string;
|
272
|
+
createdAtLocation?: string | null | undefined;
|
273
273
|
} | null | undefined;
|
274
274
|
REGISTERED?: {
|
275
275
|
createdAt: string;
|
276
276
|
createdBy: string;
|
277
277
|
createdByRole: string;
|
278
|
-
createdAtLocation: string;
|
279
278
|
registrationNumber: string;
|
280
279
|
acceptedAt: string;
|
280
|
+
createdAtLocation?: string | null | undefined;
|
281
281
|
} | null | undefined;
|
282
282
|
};
|
283
283
|
updatedByUserRole: string;
|
284
284
|
flags: string[];
|
285
|
+
createdBySignature?: string | null | undefined;
|
286
|
+
createdAtLocation?: string | null | undefined;
|
285
287
|
assignedTo?: string | null | undefined;
|
286
288
|
dateOfEvent?: string | null | undefined;
|
287
289
|
updatedAtLocation?: string | null | undefined;
|
@@ -330,7 +332,6 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
330
332
|
filename: string;
|
331
333
|
originalFilename: string;
|
332
334
|
}[] | [string, string] | undefined>;
|
333
|
-
createdAtLocation: string;
|
334
335
|
updatedAt: string;
|
335
336
|
trackingId: string;
|
336
337
|
legalStatuses: {
|
@@ -338,20 +339,22 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
338
339
|
createdAt: string;
|
339
340
|
createdBy: string;
|
340
341
|
createdByRole: string;
|
341
|
-
createdAtLocation: string;
|
342
342
|
acceptedAt: string;
|
343
|
+
createdAtLocation?: string | null | undefined;
|
343
344
|
} | null | undefined;
|
344
345
|
REGISTERED?: {
|
345
346
|
createdAt: string;
|
346
347
|
createdBy: string;
|
347
348
|
createdByRole: string;
|
348
|
-
createdAtLocation: string;
|
349
349
|
registrationNumber: string;
|
350
350
|
acceptedAt: string;
|
351
|
+
createdAtLocation?: string | null | undefined;
|
351
352
|
} | null | undefined;
|
352
353
|
};
|
353
354
|
updatedByUserRole: string;
|
354
355
|
flags: string[];
|
356
|
+
createdBySignature?: string | null | undefined;
|
357
|
+
createdAtLocation?: string | null | undefined;
|
355
358
|
assignedTo?: string | null | undefined;
|
356
359
|
dateOfEvent?: string | null | undefined;
|
357
360
|
updatedAtLocation?: string | null | undefined;
|
@@ -366,7 +369,7 @@ export declare const EventSearchIndex: z.ZodIntersection<z.ZodRecord<z.ZodString
|
|
366
369
|
}>>;
|
367
370
|
export type EventSearchIndex = z.infer<typeof EventSearchIndex>;
|
368
371
|
export type EventIndex = z.infer<typeof EventIndex>;
|
369
|
-
declare const Fuzzy: z.ZodObject<{
|
372
|
+
export declare const Fuzzy: z.ZodObject<{
|
370
373
|
type: z.ZodLiteral<"fuzzy">;
|
371
374
|
term: z.ZodString;
|
372
375
|
}, "strip", z.ZodTypeAny, {
|
@@ -376,7 +379,7 @@ declare const Fuzzy: z.ZodObject<{
|
|
376
379
|
type: "fuzzy";
|
377
380
|
term: string;
|
378
381
|
}>;
|
379
|
-
declare const Exact: z.ZodObject<{
|
382
|
+
export declare const Exact: z.ZodObject<{
|
380
383
|
type: z.ZodLiteral<"exact">;
|
381
384
|
term: z.ZodString;
|
382
385
|
}, "strip", z.ZodTypeAny, {
|
@@ -386,7 +389,7 @@ declare const Exact: z.ZodObject<{
|
|
386
389
|
type: "exact";
|
387
390
|
term: string;
|
388
391
|
}>;
|
389
|
-
declare const AnyOf: z.ZodObject<{
|
392
|
+
export declare const AnyOf: z.ZodObject<{
|
390
393
|
type: z.ZodLiteral<"anyOf">;
|
391
394
|
terms: z.ZodArray<z.ZodString, "many">;
|
392
395
|
}, "strip", z.ZodTypeAny, {
|
@@ -396,7 +399,27 @@ declare const AnyOf: z.ZodObject<{
|
|
396
399
|
type: "anyOf";
|
397
400
|
terms: string[];
|
398
401
|
}>;
|
399
|
-
declare const
|
402
|
+
export declare const ExactStatus: z.ZodObject<{
|
403
|
+
type: z.ZodLiteral<"exact">;
|
404
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
405
|
+
}, "strip", z.ZodTypeAny, {
|
406
|
+
type: "exact";
|
407
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
408
|
+
}, {
|
409
|
+
type: "exact";
|
410
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
411
|
+
}>;
|
412
|
+
export declare const AnyOfStatus: z.ZodObject<{
|
413
|
+
type: z.ZodLiteral<"anyOf">;
|
414
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
415
|
+
}, "strip", z.ZodTypeAny, {
|
416
|
+
type: "anyOf";
|
417
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
418
|
+
}, {
|
419
|
+
type: "anyOf";
|
420
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
421
|
+
}>;
|
422
|
+
export declare const Range: z.ZodObject<{
|
400
423
|
type: z.ZodLiteral<"range">;
|
401
424
|
gte: z.ZodString;
|
402
425
|
lte: z.ZodString;
|
@@ -409,7 +432,7 @@ declare const Range: z.ZodObject<{
|
|
409
432
|
gte: string;
|
410
433
|
lte: string;
|
411
434
|
}>;
|
412
|
-
declare const Not: z.ZodObject<{
|
435
|
+
export declare const Not: z.ZodObject<{
|
413
436
|
type: z.ZodLiteral<"not">;
|
414
437
|
term: z.ZodString;
|
415
438
|
}, "strip", z.ZodTypeAny, {
|
@@ -419,7 +442,7 @@ declare const Not: z.ZodObject<{
|
|
419
442
|
type: "not";
|
420
443
|
term: string;
|
421
444
|
}>;
|
422
|
-
declare const Within: z.ZodObject<{
|
445
|
+
export declare const Within: z.ZodObject<{
|
423
446
|
type: z.ZodLiteral<"within">;
|
424
447
|
location: z.ZodString;
|
425
448
|
}, "strip", z.ZodTypeAny, {
|
@@ -429,33 +452,54 @@ declare const Within: z.ZodObject<{
|
|
429
452
|
type: "within";
|
430
453
|
location: string;
|
431
454
|
}>;
|
455
|
+
export declare const DateCondition: z.ZodUnion<[z.ZodObject<{
|
456
|
+
type: z.ZodLiteral<"exact">;
|
457
|
+
term: z.ZodString;
|
458
|
+
}, "strip", z.ZodTypeAny, {
|
459
|
+
type: "exact";
|
460
|
+
term: string;
|
461
|
+
}, {
|
462
|
+
type: "exact";
|
463
|
+
term: string;
|
464
|
+
}>, z.ZodObject<{
|
465
|
+
type: z.ZodLiteral<"range">;
|
466
|
+
gte: z.ZodString;
|
467
|
+
lte: z.ZodString;
|
468
|
+
}, "strip", z.ZodTypeAny, {
|
469
|
+
type: "range";
|
470
|
+
gte: string;
|
471
|
+
lte: string;
|
472
|
+
}, {
|
473
|
+
type: "range";
|
474
|
+
gte: string;
|
475
|
+
lte: string;
|
476
|
+
}>]>;
|
432
477
|
export declare const QueryInput: ZodType;
|
433
478
|
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
479
|
type QueryMap = {
|
435
480
|
[key: string]: BaseInput | QueryMap;
|
436
481
|
};
|
437
482
|
export type QueryInputType = BaseInput | QueryMap;
|
438
|
-
declare const QueryExpression: z.ZodObject<{
|
439
|
-
type: z.ZodOptional<z.ZodLiteral<"and">>;
|
483
|
+
export declare const QueryExpression: z.ZodObject<{
|
440
484
|
eventType: z.ZodOptional<z.ZodString>;
|
441
485
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
442
486
|
type: z.ZodLiteral<"anyOf">;
|
443
|
-
terms: z.ZodArray<z.
|
487
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
444
488
|
}, "strip", z.ZodTypeAny, {
|
445
489
|
type: "anyOf";
|
446
|
-
terms:
|
490
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
447
491
|
}, {
|
448
492
|
type: "anyOf";
|
449
|
-
terms:
|
493
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
450
494
|
}>, z.ZodObject<{
|
451
495
|
type: z.ZodLiteral<"exact">;
|
452
|
-
term: z.
|
496
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
453
497
|
}, "strip", z.ZodTypeAny, {
|
454
498
|
type: "exact";
|
455
|
-
term:
|
499
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
456
500
|
}, {
|
457
501
|
type: "exact";
|
458
|
-
term:
|
502
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
459
503
|
}>]>>>;
|
460
504
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
461
505
|
type: z.ZodLiteral<"exact">;
|
@@ -501,16 +545,7 @@ declare const QueryExpression: z.ZodObject<{
|
|
501
545
|
gte: string;
|
502
546
|
lte: string;
|
503
547
|
}>]>>>;
|
504
|
-
|
505
|
-
type: z.ZodLiteral<"within">;
|
506
|
-
location: z.ZodString;
|
507
|
-
}, "strip", z.ZodTypeAny, {
|
508
|
-
type: "within";
|
509
|
-
location: string;
|
510
|
-
}, {
|
511
|
-
type: "within";
|
512
|
-
location: string;
|
513
|
-
}>, z.ZodObject<{
|
548
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
514
549
|
type: z.ZodLiteral<"exact">;
|
515
550
|
term: z.ZodString;
|
516
551
|
}, "strip", z.ZodTypeAny, {
|
@@ -519,210 +554,28 @@ declare const QueryExpression: z.ZodObject<{
|
|
519
554
|
}, {
|
520
555
|
type: "exact";
|
521
556
|
term: string;
|
522
|
-
}>]>>>;
|
523
|
-
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
524
|
-
type: z.ZodLiteral<"within">;
|
525
|
-
location: z.ZodString;
|
526
|
-
}, "strip", z.ZodTypeAny, {
|
527
|
-
type: "within";
|
528
|
-
location: string;
|
529
|
-
}, {
|
530
|
-
type: "within";
|
531
|
-
location: string;
|
532
557
|
}>, z.ZodObject<{
|
533
|
-
type: z.ZodLiteral<"
|
534
|
-
|
535
|
-
|
536
|
-
type: "exact";
|
537
|
-
term: string;
|
538
|
-
}, {
|
539
|
-
type: "exact";
|
540
|
-
term: string;
|
541
|
-
}>]>>>;
|
542
|
-
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
543
|
-
type: z.ZodLiteral<"exact">;
|
544
|
-
term: z.ZodString;
|
545
|
-
}, "strip", z.ZodTypeAny, {
|
546
|
-
type: "exact";
|
547
|
-
term: string;
|
548
|
-
}, {
|
549
|
-
type: "exact";
|
550
|
-
term: string;
|
551
|
-
}>>>;
|
552
|
-
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
553
|
-
type: z.ZodLiteral<"exact">;
|
554
|
-
term: z.ZodString;
|
555
|
-
}, "strip", z.ZodTypeAny, {
|
556
|
-
type: "exact";
|
557
|
-
term: string;
|
558
|
-
}, {
|
559
|
-
type: "exact";
|
560
|
-
term: string;
|
561
|
-
}>>>;
|
562
|
-
trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
563
|
-
type: z.ZodLiteral<"exact">;
|
564
|
-
term: z.ZodString;
|
565
|
-
}, "strip", z.ZodTypeAny, {
|
566
|
-
type: "exact";
|
567
|
-
term: string;
|
568
|
-
}, {
|
569
|
-
type: "exact";
|
570
|
-
term: string;
|
571
|
-
}>>>;
|
572
|
-
flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
573
|
-
type: z.ZodLiteral<"anyOf">;
|
574
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
575
|
-
}, "strip", z.ZodTypeAny, {
|
576
|
-
type: "anyOf";
|
577
|
-
terms: string[];
|
578
|
-
}, {
|
579
|
-
type: "anyOf";
|
580
|
-
terms: string[];
|
581
|
-
}>, z.ZodObject<{
|
582
|
-
type: z.ZodLiteral<"not">;
|
583
|
-
term: z.ZodString;
|
558
|
+
type: z.ZodLiteral<"range">;
|
559
|
+
gte: z.ZodString;
|
560
|
+
lte: z.ZodString;
|
584
561
|
}, "strip", z.ZodTypeAny, {
|
585
|
-
type: "not";
|
586
|
-
term: string;
|
587
|
-
}, {
|
588
|
-
type: "not";
|
589
|
-
term: string;
|
590
|
-
}>]>, "many">>>;
|
591
|
-
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
592
|
-
}, "strip", z.ZodTypeAny, {
|
593
|
-
type?: "and" | undefined;
|
594
|
-
status?: {
|
595
|
-
type: "exact";
|
596
|
-
term: string;
|
597
|
-
} | {
|
598
|
-
type: "anyOf";
|
599
|
-
terms: string[];
|
600
|
-
} | undefined;
|
601
|
-
data?: any;
|
602
|
-
createdAt?: {
|
603
|
-
type: "exact";
|
604
|
-
term: string;
|
605
|
-
} | {
|
606
|
-
type: "range";
|
607
|
-
gte: string;
|
608
|
-
lte: string;
|
609
|
-
} | undefined;
|
610
|
-
createdBy?: {
|
611
|
-
type: "exact";
|
612
|
-
term: string;
|
613
|
-
} | undefined;
|
614
|
-
updatedAt?: {
|
615
|
-
type: "exact";
|
616
|
-
term: string;
|
617
|
-
} | {
|
618
|
-
type: "range";
|
619
|
-
gte: string;
|
620
|
-
lte: string;
|
621
|
-
} | undefined;
|
622
|
-
trackingId?: {
|
623
|
-
type: "exact";
|
624
|
-
term: string;
|
625
|
-
} | undefined;
|
626
|
-
updatedAtLocation?: {
|
627
|
-
type: "exact";
|
628
|
-
term: string;
|
629
|
-
} | {
|
630
|
-
type: "within";
|
631
|
-
location: string;
|
632
|
-
} | undefined;
|
633
|
-
updatedBy?: {
|
634
|
-
type: "exact";
|
635
|
-
term: string;
|
636
|
-
} | undefined;
|
637
|
-
flags?: ({
|
638
|
-
type: "anyOf";
|
639
|
-
terms: string[];
|
640
|
-
} | {
|
641
|
-
type: "not";
|
642
|
-
term: string;
|
643
|
-
})[] | undefined;
|
644
|
-
eventType?: string | undefined;
|
645
|
-
createAtLocation?: {
|
646
|
-
type: "exact";
|
647
|
-
term: string;
|
648
|
-
} | {
|
649
|
-
type: "within";
|
650
|
-
location: string;
|
651
|
-
} | undefined;
|
652
|
-
}, {
|
653
|
-
type?: "and" | undefined;
|
654
|
-
status?: {
|
655
|
-
type: "exact";
|
656
|
-
term: string;
|
657
|
-
} | {
|
658
|
-
type: "anyOf";
|
659
|
-
terms: string[];
|
660
|
-
} | undefined;
|
661
|
-
data?: any;
|
662
|
-
createdAt?: {
|
663
|
-
type: "exact";
|
664
|
-
term: string;
|
665
|
-
} | {
|
666
562
|
type: "range";
|
667
563
|
gte: string;
|
668
564
|
lte: string;
|
669
|
-
}
|
670
|
-
createdBy?: {
|
671
|
-
type: "exact";
|
672
|
-
term: string;
|
673
|
-
} | undefined;
|
674
|
-
updatedAt?: {
|
675
|
-
type: "exact";
|
676
|
-
term: string;
|
677
|
-
} | {
|
565
|
+
}, {
|
678
566
|
type: "range";
|
679
567
|
gte: string;
|
680
568
|
lte: string;
|
681
|
-
}
|
682
|
-
|
683
|
-
type: "
|
684
|
-
|
685
|
-
}
|
686
|
-
updatedAtLocation?: {
|
687
|
-
type: "exact";
|
688
|
-
term: string;
|
689
|
-
} | {
|
569
|
+
}>]>>>;
|
570
|
+
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
571
|
+
type: z.ZodLiteral<"within">;
|
572
|
+
location: z.ZodString;
|
573
|
+
}, "strip", z.ZodTypeAny, {
|
690
574
|
type: "within";
|
691
575
|
location: string;
|
692
|
-
}
|
693
|
-
updatedBy?: {
|
694
|
-
type: "exact";
|
695
|
-
term: string;
|
696
|
-
} | undefined;
|
697
|
-
flags?: ({
|
698
|
-
type: "anyOf";
|
699
|
-
terms: string[];
|
700
|
-
} | {
|
701
|
-
type: "not";
|
702
|
-
term: string;
|
703
|
-
})[] | undefined;
|
704
|
-
eventType?: string | undefined;
|
705
|
-
createAtLocation?: {
|
706
|
-
type: "exact";
|
707
|
-
term: string;
|
708
|
-
} | {
|
576
|
+
}, {
|
709
577
|
type: "within";
|
710
578
|
location: string;
|
711
|
-
} | undefined;
|
712
|
-
}>;
|
713
|
-
export type QueryExpression = z.infer<typeof QueryExpression>;
|
714
|
-
export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
715
|
-
type: z.ZodOptional<z.ZodLiteral<"and">>;
|
716
|
-
eventType: z.ZodOptional<z.ZodString>;
|
717
|
-
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
718
|
-
type: z.ZodLiteral<"anyOf">;
|
719
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
720
|
-
}, "strip", z.ZodTypeAny, {
|
721
|
-
type: "anyOf";
|
722
|
-
terms: string[];
|
723
|
-
}, {
|
724
|
-
type: "anyOf";
|
725
|
-
terms: string[];
|
726
579
|
}>, z.ZodObject<{
|
727
580
|
type: z.ZodLiteral<"exact">;
|
728
581
|
term: z.ZodString;
|
@@ -733,29 +586,16 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
733
586
|
type: "exact";
|
734
587
|
term: string;
|
735
588
|
}>]>>>;
|
736
|
-
|
737
|
-
type: z.ZodLiteral<"
|
738
|
-
|
589
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
590
|
+
type: z.ZodLiteral<"within">;
|
591
|
+
location: z.ZodString;
|
739
592
|
}, "strip", z.ZodTypeAny, {
|
740
|
-
type: "
|
741
|
-
|
593
|
+
type: "within";
|
594
|
+
location: string;
|
742
595
|
}, {
|
743
|
-
type: "
|
744
|
-
|
596
|
+
type: "within";
|
597
|
+
location: string;
|
745
598
|
}>, z.ZodObject<{
|
746
|
-
type: z.ZodLiteral<"range">;
|
747
|
-
gte: z.ZodString;
|
748
|
-
lte: z.ZodString;
|
749
|
-
}, "strip", z.ZodTypeAny, {
|
750
|
-
type: "range";
|
751
|
-
gte: string;
|
752
|
-
lte: string;
|
753
|
-
}, {
|
754
|
-
type: "range";
|
755
|
-
gte: string;
|
756
|
-
lte: string;
|
757
|
-
}>]>>>;
|
758
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
759
599
|
type: z.ZodLiteral<"exact">;
|
760
600
|
term: z.ZodString;
|
761
601
|
}, "strip", z.ZodTypeAny, {
|
@@ -764,20 +604,8 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
764
604
|
}, {
|
765
605
|
type: "exact";
|
766
606
|
term: string;
|
767
|
-
}>, z.ZodObject<{
|
768
|
-
type: z.ZodLiteral<"range">;
|
769
|
-
gte: z.ZodString;
|
770
|
-
lte: z.ZodString;
|
771
|
-
}, "strip", z.ZodTypeAny, {
|
772
|
-
type: "range";
|
773
|
-
gte: string;
|
774
|
-
lte: string;
|
775
|
-
}, {
|
776
|
-
type: "range";
|
777
|
-
gte: string;
|
778
|
-
lte: string;
|
779
607
|
}>]>>>;
|
780
|
-
|
608
|
+
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
781
609
|
type: z.ZodLiteral<"within">;
|
782
610
|
location: z.ZodString;
|
783
611
|
}, "strip", z.ZodTypeAny, {
|
@@ -796,16 +624,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
796
624
|
type: "exact";
|
797
625
|
term: string;
|
798
626
|
}>]>>>;
|
799
|
-
|
800
|
-
type: z.ZodLiteral<"within">;
|
801
|
-
location: z.ZodString;
|
802
|
-
}, "strip", z.ZodTypeAny, {
|
803
|
-
type: "within";
|
804
|
-
location: string;
|
805
|
-
}, {
|
806
|
-
type: "within";
|
807
|
-
location: string;
|
808
|
-
}>, z.ZodObject<{
|
627
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
809
628
|
type: z.ZodLiteral<"exact">;
|
810
629
|
term: z.ZodString;
|
811
630
|
}, "strip", z.ZodTypeAny, {
|
@@ -814,7 +633,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
814
633
|
}, {
|
815
634
|
type: "exact";
|
816
635
|
term: string;
|
817
|
-
}
|
636
|
+
}>>>;
|
818
637
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
819
638
|
type: z.ZodLiteral<"exact">;
|
820
639
|
term: z.ZodString;
|
@@ -866,13 +685,12 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
866
685
|
}>]>, "many">>>;
|
867
686
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
868
687
|
}, "strip", z.ZodTypeAny, {
|
869
|
-
type?: "and" | undefined;
|
870
688
|
status?: {
|
871
689
|
type: "exact";
|
872
|
-
term:
|
690
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
873
691
|
} | {
|
874
692
|
type: "anyOf";
|
875
|
-
terms:
|
693
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
876
694
|
} | undefined;
|
877
695
|
data?: any;
|
878
696
|
createdAt?: {
|
@@ -887,6 +705,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
887
705
|
type: "exact";
|
888
706
|
term: string;
|
889
707
|
} | undefined;
|
708
|
+
createdAtLocation?: {
|
709
|
+
type: "exact";
|
710
|
+
term: string;
|
711
|
+
} | {
|
712
|
+
type: "within";
|
713
|
+
location: string;
|
714
|
+
} | undefined;
|
715
|
+
assignedTo?: {
|
716
|
+
type: "exact";
|
717
|
+
term: string;
|
718
|
+
} | undefined;
|
890
719
|
updatedAt?: {
|
891
720
|
type: "exact";
|
892
721
|
term: string;
|
@@ -918,7 +747,15 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
918
747
|
term: string;
|
919
748
|
})[] | undefined;
|
920
749
|
eventType?: string | undefined;
|
921
|
-
|
750
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
751
|
+
type: "exact";
|
752
|
+
term: string;
|
753
|
+
} | {
|
754
|
+
type: "range";
|
755
|
+
gte: string;
|
756
|
+
lte: string;
|
757
|
+
} | undefined;
|
758
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
922
759
|
type: "exact";
|
923
760
|
term: string;
|
924
761
|
} | {
|
@@ -926,13 +763,12 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
926
763
|
location: string;
|
927
764
|
} | undefined;
|
928
765
|
}, {
|
929
|
-
type?: "and" | undefined;
|
930
766
|
status?: {
|
931
767
|
type: "exact";
|
932
|
-
term:
|
768
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
933
769
|
} | {
|
934
770
|
type: "anyOf";
|
935
|
-
terms:
|
771
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
936
772
|
} | undefined;
|
937
773
|
data?: any;
|
938
774
|
createdAt?: {
|
@@ -947,6 +783,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
947
783
|
type: "exact";
|
948
784
|
term: string;
|
949
785
|
} | undefined;
|
786
|
+
createdAtLocation?: {
|
787
|
+
type: "exact";
|
788
|
+
term: string;
|
789
|
+
} | {
|
790
|
+
type: "within";
|
791
|
+
location: string;
|
792
|
+
} | undefined;
|
793
|
+
assignedTo?: {
|
794
|
+
type: "exact";
|
795
|
+
term: string;
|
796
|
+
} | undefined;
|
950
797
|
updatedAt?: {
|
951
798
|
type: "exact";
|
952
799
|
term: string;
|
@@ -978,28 +825,46 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
978
825
|
term: string;
|
979
826
|
})[] | undefined;
|
980
827
|
eventType?: string | undefined;
|
981
|
-
|
828
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
829
|
+
type: "exact";
|
830
|
+
term: string;
|
831
|
+
} | {
|
832
|
+
type: "range";
|
833
|
+
gte: string;
|
834
|
+
lte: string;
|
835
|
+
} | undefined;
|
836
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
982
837
|
type: "exact";
|
983
838
|
term: string;
|
984
839
|
} | {
|
985
840
|
type: "within";
|
986
841
|
location: string;
|
987
842
|
} | undefined;
|
988
|
-
}
|
989
|
-
|
990
|
-
|
991
|
-
|
843
|
+
}>;
|
844
|
+
export declare const QueryType: z.ZodObject<{
|
845
|
+
type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
|
846
|
+
clauses: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
992
847
|
eventType: z.ZodOptional<z.ZodString>;
|
993
848
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
994
849
|
type: z.ZodLiteral<"anyOf">;
|
995
|
-
terms: z.ZodArray<z.
|
850
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
996
851
|
}, "strip", z.ZodTypeAny, {
|
997
852
|
type: "anyOf";
|
998
|
-
terms:
|
853
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
999
854
|
}, {
|
1000
855
|
type: "anyOf";
|
1001
|
-
terms:
|
856
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1002
857
|
}>, z.ZodObject<{
|
858
|
+
type: z.ZodLiteral<"exact">;
|
859
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
860
|
+
}, "strip", z.ZodTypeAny, {
|
861
|
+
type: "exact";
|
862
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
863
|
+
}, {
|
864
|
+
type: "exact";
|
865
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
866
|
+
}>]>>>;
|
867
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1003
868
|
type: z.ZodLiteral<"exact">;
|
1004
869
|
term: z.ZodString;
|
1005
870
|
}, "strip", z.ZodTypeAny, {
|
@@ -1008,8 +873,20 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1008
873
|
}, {
|
1009
874
|
type: "exact";
|
1010
875
|
term: string;
|
876
|
+
}>, z.ZodObject<{
|
877
|
+
type: z.ZodLiteral<"range">;
|
878
|
+
gte: z.ZodString;
|
879
|
+
lte: z.ZodString;
|
880
|
+
}, "strip", z.ZodTypeAny, {
|
881
|
+
type: "range";
|
882
|
+
gte: string;
|
883
|
+
lte: string;
|
884
|
+
}, {
|
885
|
+
type: "range";
|
886
|
+
gte: string;
|
887
|
+
lte: string;
|
1011
888
|
}>]>>>;
|
1012
|
-
|
889
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1013
890
|
type: z.ZodLiteral<"exact">;
|
1014
891
|
term: z.ZodString;
|
1015
892
|
}, "strip", z.ZodTypeAny, {
|
@@ -1031,7 +908,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1031
908
|
gte: string;
|
1032
909
|
lte: string;
|
1033
910
|
}>]>>>;
|
1034
|
-
|
911
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1035
912
|
type: z.ZodLiteral<"exact">;
|
1036
913
|
term: z.ZodString;
|
1037
914
|
}, "strip", z.ZodTypeAny, {
|
@@ -1053,7 +930,26 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1053
930
|
gte: string;
|
1054
931
|
lte: string;
|
1055
932
|
}>]>>>;
|
1056
|
-
|
933
|
+
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
934
|
+
type: z.ZodLiteral<"within">;
|
935
|
+
location: z.ZodString;
|
936
|
+
}, "strip", z.ZodTypeAny, {
|
937
|
+
type: "within";
|
938
|
+
location: string;
|
939
|
+
}, {
|
940
|
+
type: "within";
|
941
|
+
location: string;
|
942
|
+
}>, z.ZodObject<{
|
943
|
+
type: z.ZodLiteral<"exact">;
|
944
|
+
term: z.ZodString;
|
945
|
+
}, "strip", z.ZodTypeAny, {
|
946
|
+
type: "exact";
|
947
|
+
term: string;
|
948
|
+
}, {
|
949
|
+
type: "exact";
|
950
|
+
term: string;
|
951
|
+
}>]>>>;
|
952
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1057
953
|
type: z.ZodLiteral<"within">;
|
1058
954
|
location: z.ZodString;
|
1059
955
|
}, "strip", z.ZodTypeAny, {
|
@@ -1091,6 +987,16 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1091
987
|
type: "exact";
|
1092
988
|
term: string;
|
1093
989
|
}>]>>>;
|
990
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
991
|
+
type: z.ZodLiteral<"exact">;
|
992
|
+
term: z.ZodString;
|
993
|
+
}, "strip", z.ZodTypeAny, {
|
994
|
+
type: "exact";
|
995
|
+
term: string;
|
996
|
+
}, {
|
997
|
+
type: "exact";
|
998
|
+
term: string;
|
999
|
+
}>>>;
|
1094
1000
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1095
1001
|
type: z.ZodLiteral<"exact">;
|
1096
1002
|
term: z.ZodString;
|
@@ -1142,13 +1048,12 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1142
1048
|
}>]>, "many">>>;
|
1143
1049
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
1144
1050
|
}, "strip", z.ZodTypeAny, {
|
1145
|
-
type?: "and" | undefined;
|
1146
1051
|
status?: {
|
1147
1052
|
type: "exact";
|
1148
|
-
term:
|
1053
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1149
1054
|
} | {
|
1150
1055
|
type: "anyOf";
|
1151
|
-
terms:
|
1056
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1152
1057
|
} | undefined;
|
1153
1058
|
data?: any;
|
1154
1059
|
createdAt?: {
|
@@ -1163,6 +1068,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1163
1068
|
type: "exact";
|
1164
1069
|
term: string;
|
1165
1070
|
} | undefined;
|
1071
|
+
createdAtLocation?: {
|
1072
|
+
type: "exact";
|
1073
|
+
term: string;
|
1074
|
+
} | {
|
1075
|
+
type: "within";
|
1076
|
+
location: string;
|
1077
|
+
} | undefined;
|
1078
|
+
assignedTo?: {
|
1079
|
+
type: "exact";
|
1080
|
+
term: string;
|
1081
|
+
} | undefined;
|
1166
1082
|
updatedAt?: {
|
1167
1083
|
type: "exact";
|
1168
1084
|
term: string;
|
@@ -1194,7 +1110,15 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1194
1110
|
term: string;
|
1195
1111
|
})[] | undefined;
|
1196
1112
|
eventType?: string | undefined;
|
1197
|
-
|
1113
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1114
|
+
type: "exact";
|
1115
|
+
term: string;
|
1116
|
+
} | {
|
1117
|
+
type: "range";
|
1118
|
+
gte: string;
|
1119
|
+
lte: string;
|
1120
|
+
} | undefined;
|
1121
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1198
1122
|
type: "exact";
|
1199
1123
|
term: string;
|
1200
1124
|
} | {
|
@@ -1202,13 +1126,12 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1202
1126
|
location: string;
|
1203
1127
|
} | undefined;
|
1204
1128
|
}, {
|
1205
|
-
type?: "and" | undefined;
|
1206
1129
|
status?: {
|
1207
1130
|
type: "exact";
|
1208
|
-
term:
|
1131
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1209
1132
|
} | {
|
1210
1133
|
type: "anyOf";
|
1211
|
-
terms:
|
1134
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1212
1135
|
} | undefined;
|
1213
1136
|
data?: any;
|
1214
1137
|
createdAt?: {
|
@@ -1223,6 +1146,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1223
1146
|
type: "exact";
|
1224
1147
|
term: string;
|
1225
1148
|
} | undefined;
|
1149
|
+
createdAtLocation?: {
|
1150
|
+
type: "exact";
|
1151
|
+
term: string;
|
1152
|
+
} | {
|
1153
|
+
type: "within";
|
1154
|
+
location: string;
|
1155
|
+
} | undefined;
|
1156
|
+
assignedTo?: {
|
1157
|
+
type: "exact";
|
1158
|
+
term: string;
|
1159
|
+
} | undefined;
|
1226
1160
|
updatedAt?: {
|
1227
1161
|
type: "exact";
|
1228
1162
|
term: string;
|
@@ -1254,24 +1188,28 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1254
1188
|
term: string;
|
1255
1189
|
})[] | undefined;
|
1256
1190
|
eventType?: string | undefined;
|
1257
|
-
|
1191
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1192
|
+
type: "exact";
|
1193
|
+
term: string;
|
1194
|
+
} | {
|
1195
|
+
type: "range";
|
1196
|
+
gte: string;
|
1197
|
+
lte: string;
|
1198
|
+
} | undefined;
|
1199
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1258
1200
|
type: "exact";
|
1259
1201
|
term: string;
|
1260
1202
|
} | {
|
1261
1203
|
type: "within";
|
1262
1204
|
location: string;
|
1263
1205
|
} | undefined;
|
1264
|
-
}>, "many"
|
1265
|
-
}, "strip", z.ZodTypeAny, {
|
1266
|
-
type: "or";
|
1267
|
-
clauses: {
|
1268
|
-
type?: "and" | undefined;
|
1206
|
+
}>, "many">, {
|
1269
1207
|
status?: {
|
1270
1208
|
type: "exact";
|
1271
|
-
term:
|
1209
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1272
1210
|
} | {
|
1273
1211
|
type: "anyOf";
|
1274
|
-
terms:
|
1212
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1275
1213
|
} | undefined;
|
1276
1214
|
data?: any;
|
1277
1215
|
createdAt?: {
|
@@ -1286,6 +1224,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1286
1224
|
type: "exact";
|
1287
1225
|
term: string;
|
1288
1226
|
} | undefined;
|
1227
|
+
createdAtLocation?: {
|
1228
|
+
type: "exact";
|
1229
|
+
term: string;
|
1230
|
+
} | {
|
1231
|
+
type: "within";
|
1232
|
+
location: string;
|
1233
|
+
} | undefined;
|
1234
|
+
assignedTo?: {
|
1235
|
+
type: "exact";
|
1236
|
+
term: string;
|
1237
|
+
} | undefined;
|
1289
1238
|
updatedAt?: {
|
1290
1239
|
type: "exact";
|
1291
1240
|
term: string;
|
@@ -1317,24 +1266,31 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1317
1266
|
term: string;
|
1318
1267
|
})[] | undefined;
|
1319
1268
|
eventType?: string | undefined;
|
1320
|
-
|
1269
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1270
|
+
type: "exact";
|
1271
|
+
term: string;
|
1272
|
+
} | {
|
1273
|
+
type: "range";
|
1274
|
+
gte: string;
|
1275
|
+
lte: string;
|
1276
|
+
} | undefined;
|
1277
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1321
1278
|
type: "exact";
|
1322
1279
|
term: string;
|
1323
1280
|
} | {
|
1324
1281
|
type: "within";
|
1325
1282
|
location: string;
|
1326
1283
|
} | undefined;
|
1327
|
-
}[]
|
1328
|
-
}, {
|
1329
|
-
type: "or";
|
1284
|
+
}[], unknown>;
|
1285
|
+
}, "strip", z.ZodTypeAny, {
|
1286
|
+
type: "and" | "or";
|
1330
1287
|
clauses: {
|
1331
|
-
type?: "and" | undefined;
|
1332
1288
|
status?: {
|
1333
1289
|
type: "exact";
|
1334
|
-
term:
|
1290
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1335
1291
|
} | {
|
1336
1292
|
type: "anyOf";
|
1337
|
-
terms:
|
1293
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1338
1294
|
} | undefined;
|
1339
1295
|
data?: any;
|
1340
1296
|
createdAt?: {
|
@@ -1349,6 +1305,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1349
1305
|
type: "exact";
|
1350
1306
|
term: string;
|
1351
1307
|
} | undefined;
|
1308
|
+
createdAtLocation?: {
|
1309
|
+
type: "exact";
|
1310
|
+
term: string;
|
1311
|
+
} | {
|
1312
|
+
type: "within";
|
1313
|
+
location: string;
|
1314
|
+
} | undefined;
|
1315
|
+
assignedTo?: {
|
1316
|
+
type: "exact";
|
1317
|
+
term: string;
|
1318
|
+
} | undefined;
|
1352
1319
|
updatedAt?: {
|
1353
1320
|
type: "exact";
|
1354
1321
|
term: string;
|
@@ -1380,7 +1347,15 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1380
1347
|
term: string;
|
1381
1348
|
})[] | undefined;
|
1382
1349
|
eventType?: string | undefined;
|
1383
|
-
|
1350
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1351
|
+
type: "exact";
|
1352
|
+
term: string;
|
1353
|
+
} | {
|
1354
|
+
type: "range";
|
1355
|
+
gte: string;
|
1356
|
+
lte: string;
|
1357
|
+
} | undefined;
|
1358
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1384
1359
|
type: "exact";
|
1385
1360
|
term: string;
|
1386
1361
|
} | {
|
@@ -1388,7 +1363,11 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1388
1363
|
location: string;
|
1389
1364
|
} | undefined;
|
1390
1365
|
}[];
|
1391
|
-
}
|
1366
|
+
}, {
|
1367
|
+
type: "and" | "or";
|
1368
|
+
clauses?: unknown;
|
1369
|
+
}>;
|
1392
1370
|
export type QueryType = z.infer<typeof QueryType>;
|
1371
|
+
export type QueryExpression = z.infer<typeof QueryExpression>;
|
1393
1372
|
export {};
|
1394
1373
|
//# sourceMappingURL=EventIndex.d.ts.map
|