@opencrvs/toolkit 1.8.0-rc.ff0a1b5 → 1.8.0-rc.ff0b26c
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 +2923 -7
- package/dist/commons/events/ActionConfig.d.ts +8022 -1007
- package/dist/commons/events/AdvancedSearchConfig.d.ts +603 -12
- package/dist/commons/events/EventConfig.d.ts +3622 -113
- package/dist/commons/events/EventIndex.d.ts +318 -45
- package/dist/commons/events/EventMetadata.d.ts +1 -0
- 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/WorkqueueConfig.d.ts +344 -52
- package/dist/commons/events/defineConfig.d.ts +253 -1
- package/dist/commons/events/event.d.ts +35 -8
- package/dist/commons/events/field.d.ts +21 -7
- package/dist/commons/events/scopes.d.ts +20 -1
- package/dist/commons/events/test.utils.d.ts +3 -3
- package/dist/commons/events/utils.d.ts +115 -0
- package/dist/events/index.js +429 -121
- package/dist/scopes/index.d.ts +94 -6
- package/dist/scopes/index.js +42 -21
- package/package.json +1 -1
@@ -439,14 +439,24 @@ declare const QueryExpression: z.ZodObject<{
|
|
439
439
|
eventType: z.ZodOptional<z.ZodString>;
|
440
440
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
441
441
|
type: z.ZodLiteral<"anyOf">;
|
442
|
-
terms: z.ZodArray<z.
|
442
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
443
443
|
}, "strip", z.ZodTypeAny, {
|
444
444
|
type: "anyOf";
|
445
|
-
terms:
|
445
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
446
446
|
}, {
|
447
447
|
type: "anyOf";
|
448
|
-
terms:
|
448
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
449
449
|
}>, z.ZodObject<{
|
450
|
+
type: z.ZodLiteral<"exact">;
|
451
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
453
|
+
type: "exact";
|
454
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
455
|
+
}, {
|
456
|
+
type: "exact";
|
457
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
458
|
+
}>]>>>;
|
459
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
450
460
|
type: z.ZodLiteral<"exact">;
|
451
461
|
term: z.ZodString;
|
452
462
|
}, "strip", z.ZodTypeAny, {
|
@@ -455,8 +465,20 @@ declare const QueryExpression: z.ZodObject<{
|
|
455
465
|
}, {
|
456
466
|
type: "exact";
|
457
467
|
term: string;
|
468
|
+
}>, z.ZodObject<{
|
469
|
+
type: z.ZodLiteral<"range">;
|
470
|
+
gte: z.ZodString;
|
471
|
+
lte: z.ZodString;
|
472
|
+
}, "strip", z.ZodTypeAny, {
|
473
|
+
type: "range";
|
474
|
+
gte: string;
|
475
|
+
lte: string;
|
476
|
+
}, {
|
477
|
+
type: "range";
|
478
|
+
gte: string;
|
479
|
+
lte: string;
|
458
480
|
}>]>>>;
|
459
|
-
|
481
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
460
482
|
type: z.ZodLiteral<"exact">;
|
461
483
|
term: z.ZodString;
|
462
484
|
}, "strip", z.ZodTypeAny, {
|
@@ -478,7 +500,7 @@ declare const QueryExpression: z.ZodObject<{
|
|
478
500
|
gte: string;
|
479
501
|
lte: string;
|
480
502
|
}>]>>>;
|
481
|
-
|
503
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
482
504
|
type: z.ZodLiteral<"exact">;
|
483
505
|
term: z.ZodString;
|
484
506
|
}, "strip", z.ZodTypeAny, {
|
@@ -500,6 +522,25 @@ declare const QueryExpression: z.ZodObject<{
|
|
500
522
|
gte: string;
|
501
523
|
lte: string;
|
502
524
|
}>]>>>;
|
525
|
+
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
526
|
+
type: z.ZodLiteral<"within">;
|
527
|
+
location: z.ZodString;
|
528
|
+
}, "strip", z.ZodTypeAny, {
|
529
|
+
type: "within";
|
530
|
+
location: string;
|
531
|
+
}, {
|
532
|
+
type: "within";
|
533
|
+
location: string;
|
534
|
+
}>, z.ZodObject<{
|
535
|
+
type: z.ZodLiteral<"exact">;
|
536
|
+
term: z.ZodString;
|
537
|
+
}, "strip", z.ZodTypeAny, {
|
538
|
+
type: "exact";
|
539
|
+
term: string;
|
540
|
+
}, {
|
541
|
+
type: "exact";
|
542
|
+
term: string;
|
543
|
+
}>]>>>;
|
503
544
|
createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
504
545
|
type: z.ZodLiteral<"within">;
|
505
546
|
location: z.ZodString;
|
@@ -591,10 +632,10 @@ declare const QueryExpression: z.ZodObject<{
|
|
591
632
|
}, "strip", z.ZodTypeAny, {
|
592
633
|
status?: {
|
593
634
|
type: "exact";
|
594
|
-
term:
|
635
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
595
636
|
} | {
|
596
637
|
type: "anyOf";
|
597
|
-
terms:
|
638
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
598
639
|
} | undefined;
|
599
640
|
data?: any;
|
600
641
|
createdAt?: {
|
@@ -621,6 +662,22 @@ declare const QueryExpression: z.ZodObject<{
|
|
621
662
|
type: "exact";
|
622
663
|
term: string;
|
623
664
|
} | undefined;
|
665
|
+
eventType?: string | undefined;
|
666
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
667
|
+
type: "exact";
|
668
|
+
term: string;
|
669
|
+
} | {
|
670
|
+
type: "range";
|
671
|
+
gte: string;
|
672
|
+
lte: string;
|
673
|
+
} | undefined;
|
674
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
675
|
+
type: "exact";
|
676
|
+
term: string;
|
677
|
+
} | {
|
678
|
+
type: "within";
|
679
|
+
location: string;
|
680
|
+
} | undefined;
|
624
681
|
updatedAtLocation?: {
|
625
682
|
type: "exact";
|
626
683
|
term: string;
|
@@ -639,7 +696,6 @@ declare const QueryExpression: z.ZodObject<{
|
|
639
696
|
type: "not";
|
640
697
|
term: string;
|
641
698
|
})[] | undefined;
|
642
|
-
eventType?: string | undefined;
|
643
699
|
createAtLocation?: {
|
644
700
|
type: "exact";
|
645
701
|
term: string;
|
@@ -650,10 +706,10 @@ declare const QueryExpression: z.ZodObject<{
|
|
650
706
|
}, {
|
651
707
|
status?: {
|
652
708
|
type: "exact";
|
653
|
-
term:
|
709
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
654
710
|
} | {
|
655
711
|
type: "anyOf";
|
656
|
-
terms:
|
712
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
657
713
|
} | undefined;
|
658
714
|
data?: any;
|
659
715
|
createdAt?: {
|
@@ -680,6 +736,22 @@ declare const QueryExpression: z.ZodObject<{
|
|
680
736
|
type: "exact";
|
681
737
|
term: string;
|
682
738
|
} | undefined;
|
739
|
+
eventType?: string | undefined;
|
740
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
741
|
+
type: "exact";
|
742
|
+
term: string;
|
743
|
+
} | {
|
744
|
+
type: "range";
|
745
|
+
gte: string;
|
746
|
+
lte: string;
|
747
|
+
} | undefined;
|
748
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
749
|
+
type: "exact";
|
750
|
+
term: string;
|
751
|
+
} | {
|
752
|
+
type: "within";
|
753
|
+
location: string;
|
754
|
+
} | undefined;
|
683
755
|
updatedAtLocation?: {
|
684
756
|
type: "exact";
|
685
757
|
term: string;
|
@@ -698,7 +770,6 @@ declare const QueryExpression: z.ZodObject<{
|
|
698
770
|
type: "not";
|
699
771
|
term: string;
|
700
772
|
})[] | undefined;
|
701
|
-
eventType?: string | undefined;
|
702
773
|
createAtLocation?: {
|
703
774
|
type: "exact";
|
704
775
|
term: string;
|
@@ -713,14 +784,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
713
784
|
eventType: z.ZodOptional<z.ZodString>;
|
714
785
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
715
786
|
type: z.ZodLiteral<"anyOf">;
|
716
|
-
terms: z.ZodArray<z.
|
787
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
717
788
|
}, "strip", z.ZodTypeAny, {
|
718
789
|
type: "anyOf";
|
719
|
-
terms:
|
790
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
720
791
|
}, {
|
721
792
|
type: "anyOf";
|
722
|
-
terms:
|
793
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
723
794
|
}>, z.ZodObject<{
|
795
|
+
type: z.ZodLiteral<"exact">;
|
796
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
797
|
+
}, "strip", z.ZodTypeAny, {
|
798
|
+
type: "exact";
|
799
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
800
|
+
}, {
|
801
|
+
type: "exact";
|
802
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
803
|
+
}>]>>>;
|
804
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
724
805
|
type: z.ZodLiteral<"exact">;
|
725
806
|
term: z.ZodString;
|
726
807
|
}, "strip", z.ZodTypeAny, {
|
@@ -729,8 +810,20 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
729
810
|
}, {
|
730
811
|
type: "exact";
|
731
812
|
term: string;
|
813
|
+
}>, z.ZodObject<{
|
814
|
+
type: z.ZodLiteral<"range">;
|
815
|
+
gte: z.ZodString;
|
816
|
+
lte: z.ZodString;
|
817
|
+
}, "strip", z.ZodTypeAny, {
|
818
|
+
type: "range";
|
819
|
+
gte: string;
|
820
|
+
lte: string;
|
821
|
+
}, {
|
822
|
+
type: "range";
|
823
|
+
gte: string;
|
824
|
+
lte: string;
|
732
825
|
}>]>>>;
|
733
|
-
|
826
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
734
827
|
type: z.ZodLiteral<"exact">;
|
735
828
|
term: z.ZodString;
|
736
829
|
}, "strip", z.ZodTypeAny, {
|
@@ -752,7 +845,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
752
845
|
gte: string;
|
753
846
|
lte: string;
|
754
847
|
}>]>>>;
|
755
|
-
|
848
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
756
849
|
type: z.ZodLiteral<"exact">;
|
757
850
|
term: z.ZodString;
|
758
851
|
}, "strip", z.ZodTypeAny, {
|
@@ -774,6 +867,25 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
774
867
|
gte: string;
|
775
868
|
lte: string;
|
776
869
|
}>]>>>;
|
870
|
+
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
871
|
+
type: z.ZodLiteral<"within">;
|
872
|
+
location: z.ZodString;
|
873
|
+
}, "strip", z.ZodTypeAny, {
|
874
|
+
type: "within";
|
875
|
+
location: string;
|
876
|
+
}, {
|
877
|
+
type: "within";
|
878
|
+
location: string;
|
879
|
+
}>, z.ZodObject<{
|
880
|
+
type: z.ZodLiteral<"exact">;
|
881
|
+
term: z.ZodString;
|
882
|
+
}, "strip", z.ZodTypeAny, {
|
883
|
+
type: "exact";
|
884
|
+
term: string;
|
885
|
+
}, {
|
886
|
+
type: "exact";
|
887
|
+
term: string;
|
888
|
+
}>]>>>;
|
777
889
|
createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
778
890
|
type: z.ZodLiteral<"within">;
|
779
891
|
location: z.ZodString;
|
@@ -865,10 +977,10 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
865
977
|
}, "strip", z.ZodTypeAny, {
|
866
978
|
status?: {
|
867
979
|
type: "exact";
|
868
|
-
term:
|
980
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
869
981
|
} | {
|
870
982
|
type: "anyOf";
|
871
|
-
terms:
|
983
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
872
984
|
} | undefined;
|
873
985
|
data?: any;
|
874
986
|
createdAt?: {
|
@@ -895,6 +1007,22 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
895
1007
|
type: "exact";
|
896
1008
|
term: string;
|
897
1009
|
} | undefined;
|
1010
|
+
eventType?: string | undefined;
|
1011
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1012
|
+
type: "exact";
|
1013
|
+
term: string;
|
1014
|
+
} | {
|
1015
|
+
type: "range";
|
1016
|
+
gte: string;
|
1017
|
+
lte: string;
|
1018
|
+
} | undefined;
|
1019
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1020
|
+
type: "exact";
|
1021
|
+
term: string;
|
1022
|
+
} | {
|
1023
|
+
type: "within";
|
1024
|
+
location: string;
|
1025
|
+
} | undefined;
|
898
1026
|
updatedAtLocation?: {
|
899
1027
|
type: "exact";
|
900
1028
|
term: string;
|
@@ -913,7 +1041,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
913
1041
|
type: "not";
|
914
1042
|
term: string;
|
915
1043
|
})[] | undefined;
|
916
|
-
eventType?: string | undefined;
|
917
1044
|
createAtLocation?: {
|
918
1045
|
type: "exact";
|
919
1046
|
term: string;
|
@@ -924,10 +1051,10 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
924
1051
|
}, {
|
925
1052
|
status?: {
|
926
1053
|
type: "exact";
|
927
|
-
term:
|
1054
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
928
1055
|
} | {
|
929
1056
|
type: "anyOf";
|
930
|
-
terms:
|
1057
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
931
1058
|
} | undefined;
|
932
1059
|
data?: any;
|
933
1060
|
createdAt?: {
|
@@ -954,6 +1081,22 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
954
1081
|
type: "exact";
|
955
1082
|
term: string;
|
956
1083
|
} | undefined;
|
1084
|
+
eventType?: string | undefined;
|
1085
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1086
|
+
type: "exact";
|
1087
|
+
term: string;
|
1088
|
+
} | {
|
1089
|
+
type: "range";
|
1090
|
+
gte: string;
|
1091
|
+
lte: string;
|
1092
|
+
} | undefined;
|
1093
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1094
|
+
type: "exact";
|
1095
|
+
term: string;
|
1096
|
+
} | {
|
1097
|
+
type: "within";
|
1098
|
+
location: string;
|
1099
|
+
} | undefined;
|
957
1100
|
updatedAtLocation?: {
|
958
1101
|
type: "exact";
|
959
1102
|
term: string;
|
@@ -972,7 +1115,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
972
1115
|
type: "not";
|
973
1116
|
term: string;
|
974
1117
|
})[] | undefined;
|
975
|
-
eventType?: string | undefined;
|
976
1118
|
createAtLocation?: {
|
977
1119
|
type: "exact";
|
978
1120
|
term: string;
|
@@ -986,10 +1128,10 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
986
1128
|
clauses: {
|
987
1129
|
status?: {
|
988
1130
|
type: "exact";
|
989
|
-
term:
|
1131
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
990
1132
|
} | {
|
991
1133
|
type: "anyOf";
|
992
|
-
terms:
|
1134
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
993
1135
|
} | undefined;
|
994
1136
|
data?: any;
|
995
1137
|
createdAt?: {
|
@@ -1016,6 +1158,22 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1016
1158
|
type: "exact";
|
1017
1159
|
term: string;
|
1018
1160
|
} | undefined;
|
1161
|
+
eventType?: string | undefined;
|
1162
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1163
|
+
type: "exact";
|
1164
|
+
term: string;
|
1165
|
+
} | {
|
1166
|
+
type: "range";
|
1167
|
+
gte: string;
|
1168
|
+
lte: string;
|
1169
|
+
} | undefined;
|
1170
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1171
|
+
type: "exact";
|
1172
|
+
term: string;
|
1173
|
+
} | {
|
1174
|
+
type: "within";
|
1175
|
+
location: string;
|
1176
|
+
} | undefined;
|
1019
1177
|
updatedAtLocation?: {
|
1020
1178
|
type: "exact";
|
1021
1179
|
term: string;
|
@@ -1034,7 +1192,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1034
1192
|
type: "not";
|
1035
1193
|
term: string;
|
1036
1194
|
})[] | undefined;
|
1037
|
-
eventType?: string | undefined;
|
1038
1195
|
createAtLocation?: {
|
1039
1196
|
type: "exact";
|
1040
1197
|
term: string;
|
@@ -1048,10 +1205,10 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1048
1205
|
clauses: {
|
1049
1206
|
status?: {
|
1050
1207
|
type: "exact";
|
1051
|
-
term:
|
1208
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1052
1209
|
} | {
|
1053
1210
|
type: "anyOf";
|
1054
|
-
terms:
|
1211
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1055
1212
|
} | undefined;
|
1056
1213
|
data?: any;
|
1057
1214
|
createdAt?: {
|
@@ -1078,6 +1235,22 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1078
1235
|
type: "exact";
|
1079
1236
|
term: string;
|
1080
1237
|
} | undefined;
|
1238
|
+
eventType?: string | undefined;
|
1239
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1240
|
+
type: "exact";
|
1241
|
+
term: string;
|
1242
|
+
} | {
|
1243
|
+
type: "range";
|
1244
|
+
gte: string;
|
1245
|
+
lte: string;
|
1246
|
+
} | undefined;
|
1247
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1248
|
+
type: "exact";
|
1249
|
+
term: string;
|
1250
|
+
} | {
|
1251
|
+
type: "within";
|
1252
|
+
location: string;
|
1253
|
+
} | undefined;
|
1081
1254
|
updatedAtLocation?: {
|
1082
1255
|
type: "exact";
|
1083
1256
|
term: string;
|
@@ -1096,7 +1269,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1096
1269
|
type: "not";
|
1097
1270
|
term: string;
|
1098
1271
|
})[] | undefined;
|
1099
|
-
eventType?: string | undefined;
|
1100
1272
|
createAtLocation?: {
|
1101
1273
|
type: "exact";
|
1102
1274
|
term: string;
|
@@ -1111,14 +1283,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1111
1283
|
eventType: z.ZodOptional<z.ZodString>;
|
1112
1284
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1113
1285
|
type: z.ZodLiteral<"anyOf">;
|
1114
|
-
terms: z.ZodArray<z.
|
1286
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
1115
1287
|
}, "strip", z.ZodTypeAny, {
|
1116
1288
|
type: "anyOf";
|
1117
|
-
terms:
|
1289
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1118
1290
|
}, {
|
1119
1291
|
type: "anyOf";
|
1120
|
-
terms:
|
1292
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1121
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<{
|
1122
1304
|
type: z.ZodLiteral<"exact">;
|
1123
1305
|
term: z.ZodString;
|
1124
1306
|
}, "strip", z.ZodTypeAny, {
|
@@ -1127,8 +1309,20 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1127
1309
|
}, {
|
1128
1310
|
type: "exact";
|
1129
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
|
+
type: "range";
|
1322
|
+
gte: string;
|
1323
|
+
lte: string;
|
1130
1324
|
}>]>>>;
|
1131
|
-
|
1325
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1132
1326
|
type: z.ZodLiteral<"exact">;
|
1133
1327
|
term: z.ZodString;
|
1134
1328
|
}, "strip", z.ZodTypeAny, {
|
@@ -1150,7 +1344,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1150
1344
|
gte: string;
|
1151
1345
|
lte: string;
|
1152
1346
|
}>]>>>;
|
1153
|
-
|
1347
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1154
1348
|
type: z.ZodLiteral<"exact">;
|
1155
1349
|
term: z.ZodString;
|
1156
1350
|
}, "strip", z.ZodTypeAny, {
|
@@ -1172,6 +1366,25 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1172
1366
|
gte: string;
|
1173
1367
|
lte: string;
|
1174
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
|
+
}>]>>>;
|
1175
1388
|
createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1176
1389
|
type: z.ZodLiteral<"within">;
|
1177
1390
|
location: z.ZodString;
|
@@ -1263,10 +1476,10 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1263
1476
|
}, "strip", z.ZodTypeAny, {
|
1264
1477
|
status?: {
|
1265
1478
|
type: "exact";
|
1266
|
-
term:
|
1479
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1267
1480
|
} | {
|
1268
1481
|
type: "anyOf";
|
1269
|
-
terms:
|
1482
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1270
1483
|
} | undefined;
|
1271
1484
|
data?: any;
|
1272
1485
|
createdAt?: {
|
@@ -1293,6 +1506,22 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1293
1506
|
type: "exact";
|
1294
1507
|
term: string;
|
1295
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;
|
1296
1525
|
updatedAtLocation?: {
|
1297
1526
|
type: "exact";
|
1298
1527
|
term: string;
|
@@ -1311,7 +1540,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1311
1540
|
type: "not";
|
1312
1541
|
term: string;
|
1313
1542
|
})[] | undefined;
|
1314
|
-
eventType?: string | undefined;
|
1315
1543
|
createAtLocation?: {
|
1316
1544
|
type: "exact";
|
1317
1545
|
term: string;
|
@@ -1322,10 +1550,10 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1322
1550
|
}, {
|
1323
1551
|
status?: {
|
1324
1552
|
type: "exact";
|
1325
|
-
term:
|
1553
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1326
1554
|
} | {
|
1327
1555
|
type: "anyOf";
|
1328
|
-
terms:
|
1556
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1329
1557
|
} | undefined;
|
1330
1558
|
data?: any;
|
1331
1559
|
createdAt?: {
|
@@ -1352,6 +1580,22 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1352
1580
|
type: "exact";
|
1353
1581
|
term: string;
|
1354
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;
|
1355
1599
|
updatedAtLocation?: {
|
1356
1600
|
type: "exact";
|
1357
1601
|
term: string;
|
@@ -1370,7 +1614,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1370
1614
|
type: "not";
|
1371
1615
|
term: string;
|
1372
1616
|
})[] | undefined;
|
1373
|
-
eventType?: string | undefined;
|
1374
1617
|
createAtLocation?: {
|
1375
1618
|
type: "exact";
|
1376
1619
|
term: string;
|
@@ -1384,10 +1627,10 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1384
1627
|
clauses: {
|
1385
1628
|
status?: {
|
1386
1629
|
type: "exact";
|
1387
|
-
term:
|
1630
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1388
1631
|
} | {
|
1389
1632
|
type: "anyOf";
|
1390
|
-
terms:
|
1633
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1391
1634
|
} | undefined;
|
1392
1635
|
data?: any;
|
1393
1636
|
createdAt?: {
|
@@ -1414,6 +1657,22 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1414
1657
|
type: "exact";
|
1415
1658
|
term: string;
|
1416
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;
|
1417
1676
|
updatedAtLocation?: {
|
1418
1677
|
type: "exact";
|
1419
1678
|
term: string;
|
@@ -1432,7 +1691,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1432
1691
|
type: "not";
|
1433
1692
|
term: string;
|
1434
1693
|
})[] | undefined;
|
1435
|
-
eventType?: string | undefined;
|
1436
1694
|
createAtLocation?: {
|
1437
1695
|
type: "exact";
|
1438
1696
|
term: string;
|
@@ -1446,10 +1704,10 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1446
1704
|
clauses: {
|
1447
1705
|
status?: {
|
1448
1706
|
type: "exact";
|
1449
|
-
term:
|
1707
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1450
1708
|
} | {
|
1451
1709
|
type: "anyOf";
|
1452
|
-
terms:
|
1710
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1453
1711
|
} | undefined;
|
1454
1712
|
data?: any;
|
1455
1713
|
createdAt?: {
|
@@ -1476,6 +1734,22 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1476
1734
|
type: "exact";
|
1477
1735
|
term: string;
|
1478
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;
|
1479
1753
|
updatedAtLocation?: {
|
1480
1754
|
type: "exact";
|
1481
1755
|
term: string;
|
@@ -1494,7 +1768,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1494
1768
|
type: "not";
|
1495
1769
|
term: string;
|
1496
1770
|
})[] | undefined;
|
1497
|
-
eventType?: string | undefined;
|
1498
1771
|
createAtLocation?: {
|
1499
1772
|
type: "exact";
|
1500
1773
|
term: string;
|