@opencrvs/toolkit 1.8.1-rc.b849abb → 1.8.1-rc.b8eea90
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 +19 -1
- package/dist/commons/events/ActionConfig.d.ts +13593 -4629
- package/dist/commons/events/ActionDocument.d.ts +536 -0
- package/dist/commons/events/ActionInput.d.ts +26 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +34 -34
- package/dist/commons/events/EventConfig.d.ts +7463 -3521
- package/dist/commons/events/EventDocument.d.ts +19 -0
- package/dist/commons/events/EventIndex.d.ts +122 -0
- package/dist/commons/events/FieldConfig.d.ts +1050 -362
- package/dist/commons/events/FieldType.d.ts +3 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +15 -1
- package/dist/commons/events/FieldValue.d.ts +4 -0
- package/dist/commons/events/FormConfig.d.ts +6350 -2138
- package/dist/commons/events/PageConfig.d.ts +2058 -1014
- package/dist/commons/events/WorkqueueConfig.d.ts +97 -8
- package/dist/commons/events/defineConfig.d.ts +640 -10
- package/dist/commons/events/event.d.ts +8 -0
- package/dist/commons/events/field.d.ts +14 -0
- package/dist/commons/events/utils.d.ts +1138 -18
- package/dist/events/index.js +86 -7
- package/package.json +1 -1
@@ -6684,6 +6684,13 @@ export declare const EventDocument: z.ZodObject<{
|
|
6684
6684
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
6685
6685
|
}, {
|
6686
6686
|
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
6687
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
6688
|
+
templateId: z.ZodOptional<z.ZodString>;
|
6689
|
+
}, "strip", z.ZodTypeAny, {
|
6690
|
+
templateId?: string | undefined;
|
6691
|
+
}, {
|
6692
|
+
templateId?: string | undefined;
|
6693
|
+
}>>>;
|
6687
6694
|
}>, "strip", z.ZodTypeAny, {
|
6688
6695
|
type: "PRINT_CERTIFICATE";
|
6689
6696
|
id: string & z.BRAND<"UUID">;
|
@@ -6738,6 +6745,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
6738
6745
|
start: string;
|
6739
6746
|
end: string;
|
6740
6747
|
} | null | undefined>;
|
6748
|
+
content?: {
|
6749
|
+
templateId?: string | undefined;
|
6750
|
+
} | null | undefined;
|
6741
6751
|
createdBySignature?: string | null | undefined;
|
6742
6752
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
6743
6753
|
annotation?: Record<string, string | number | boolean | {
|
@@ -6840,6 +6850,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
6840
6850
|
start: string;
|
6841
6851
|
end: string;
|
6842
6852
|
} | null | undefined>;
|
6853
|
+
content?: {
|
6854
|
+
templateId?: string | undefined;
|
6855
|
+
} | null | undefined;
|
6843
6856
|
createdBySignature?: string | null | undefined;
|
6844
6857
|
createdAtLocation?: string | null | undefined;
|
6845
6858
|
annotation?: Record<string, string | number | boolean | {
|
@@ -8774,6 +8787,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
8774
8787
|
start: string;
|
8775
8788
|
end: string;
|
8776
8789
|
} | null | undefined>;
|
8790
|
+
content?: {
|
8791
|
+
templateId?: string | undefined;
|
8792
|
+
} | null | undefined;
|
8777
8793
|
createdBySignature?: string | null | undefined;
|
8778
8794
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
8779
8795
|
annotation?: Record<string, string | number | boolean | {
|
@@ -10339,6 +10355,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
10339
10355
|
start: string;
|
10340
10356
|
end: string;
|
10341
10357
|
} | null | undefined>;
|
10358
|
+
content?: {
|
10359
|
+
templateId?: string | undefined;
|
10360
|
+
} | null | undefined;
|
10342
10361
|
createdBySignature?: string | null | undefined;
|
10343
10362
|
createdAtLocation?: string | null | undefined;
|
10344
10363
|
annotation?: Record<string, string | number | boolean | {
|
@@ -725,6 +725,25 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
725
725
|
type: "timePeriod";
|
726
726
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
727
727
|
}>]>>>;
|
728
|
+
'legalStatuses.DECLARED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
729
|
+
type: z.ZodLiteral<"within">;
|
730
|
+
location: z.ZodString;
|
731
|
+
}, "strip", z.ZodTypeAny, {
|
732
|
+
type: "within";
|
733
|
+
location: string;
|
734
|
+
}, {
|
735
|
+
type: "within";
|
736
|
+
location: string;
|
737
|
+
}>, z.ZodObject<{
|
738
|
+
type: z.ZodLiteral<"exact">;
|
739
|
+
term: z.ZodString;
|
740
|
+
}, "strip", z.ZodTypeAny, {
|
741
|
+
type: "exact";
|
742
|
+
term: string;
|
743
|
+
}, {
|
744
|
+
type: "exact";
|
745
|
+
term: string;
|
746
|
+
}>]>>>;
|
728
747
|
'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
729
748
|
type: z.ZodLiteral<"within">;
|
730
749
|
location: z.ZodString;
|
@@ -945,6 +964,13 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
945
964
|
type: "timePeriod";
|
946
965
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
947
966
|
} | undefined;
|
967
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
968
|
+
type: "exact";
|
969
|
+
term: string;
|
970
|
+
} | {
|
971
|
+
type: "within";
|
972
|
+
location: string;
|
973
|
+
} | undefined;
|
948
974
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
949
975
|
type: "exact";
|
950
976
|
term: string;
|
@@ -1038,6 +1064,13 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1038
1064
|
type: "timePeriod";
|
1039
1065
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1040
1066
|
} | undefined;
|
1067
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1068
|
+
type: "exact";
|
1069
|
+
term: string;
|
1070
|
+
} | {
|
1071
|
+
type: "within";
|
1072
|
+
location: string;
|
1073
|
+
} | undefined;
|
1041
1074
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1042
1075
|
type: "exact";
|
1043
1076
|
term: string;
|
@@ -1131,6 +1164,13 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1131
1164
|
type: "timePeriod";
|
1132
1165
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1133
1166
|
} | undefined;
|
1167
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1168
|
+
type: "exact";
|
1169
|
+
term: string;
|
1170
|
+
} | {
|
1171
|
+
type: "within";
|
1172
|
+
location: string;
|
1173
|
+
} | undefined;
|
1134
1174
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1135
1175
|
type: "exact";
|
1136
1176
|
term: string;
|
@@ -1224,6 +1264,13 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1224
1264
|
type: "timePeriod";
|
1225
1265
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1226
1266
|
} | undefined;
|
1267
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1268
|
+
type: "exact";
|
1269
|
+
term: string;
|
1270
|
+
} | {
|
1271
|
+
type: "within";
|
1272
|
+
location: string;
|
1273
|
+
} | undefined;
|
1227
1274
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1228
1275
|
type: "exact";
|
1229
1276
|
term: string;
|
@@ -1359,6 +1406,25 @@ export declare const QueryType: z.ZodObject<{
|
|
1359
1406
|
type: "timePeriod";
|
1360
1407
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1361
1408
|
}>]>>>;
|
1409
|
+
'legalStatuses.DECLARED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1410
|
+
type: z.ZodLiteral<"within">;
|
1411
|
+
location: z.ZodString;
|
1412
|
+
}, "strip", z.ZodTypeAny, {
|
1413
|
+
type: "within";
|
1414
|
+
location: string;
|
1415
|
+
}, {
|
1416
|
+
type: "within";
|
1417
|
+
location: string;
|
1418
|
+
}>, z.ZodObject<{
|
1419
|
+
type: z.ZodLiteral<"exact">;
|
1420
|
+
term: z.ZodString;
|
1421
|
+
}, "strip", z.ZodTypeAny, {
|
1422
|
+
type: "exact";
|
1423
|
+
term: string;
|
1424
|
+
}, {
|
1425
|
+
type: "exact";
|
1426
|
+
term: string;
|
1427
|
+
}>]>>>;
|
1362
1428
|
'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1363
1429
|
type: z.ZodLiteral<"within">;
|
1364
1430
|
location: z.ZodString;
|
@@ -1579,6 +1645,13 @@ export declare const QueryType: z.ZodObject<{
|
|
1579
1645
|
type: "timePeriod";
|
1580
1646
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1581
1647
|
} | undefined;
|
1648
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1649
|
+
type: "exact";
|
1650
|
+
term: string;
|
1651
|
+
} | {
|
1652
|
+
type: "within";
|
1653
|
+
location: string;
|
1654
|
+
} | undefined;
|
1582
1655
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1583
1656
|
type: "exact";
|
1584
1657
|
term: string;
|
@@ -1672,6 +1745,13 @@ export declare const QueryType: z.ZodObject<{
|
|
1672
1745
|
type: "timePeriod";
|
1673
1746
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1674
1747
|
} | undefined;
|
1748
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1749
|
+
type: "exact";
|
1750
|
+
term: string;
|
1751
|
+
} | {
|
1752
|
+
type: "within";
|
1753
|
+
location: string;
|
1754
|
+
} | undefined;
|
1675
1755
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1676
1756
|
type: "exact";
|
1677
1757
|
term: string;
|
@@ -1765,6 +1845,13 @@ export declare const QueryType: z.ZodObject<{
|
|
1765
1845
|
type: "timePeriod";
|
1766
1846
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1767
1847
|
} | undefined;
|
1848
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1849
|
+
type: "exact";
|
1850
|
+
term: string;
|
1851
|
+
} | {
|
1852
|
+
type: "within";
|
1853
|
+
location: string;
|
1854
|
+
} | undefined;
|
1768
1855
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1769
1856
|
type: "exact";
|
1770
1857
|
term: string;
|
@@ -1858,6 +1945,13 @@ export declare const QueryType: z.ZodObject<{
|
|
1858
1945
|
type: "timePeriod";
|
1859
1946
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1860
1947
|
} | undefined;
|
1948
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1949
|
+
type: "exact";
|
1950
|
+
term: string;
|
1951
|
+
} | {
|
1952
|
+
type: "within";
|
1953
|
+
location: string;
|
1954
|
+
} | undefined;
|
1861
1955
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1862
1956
|
type: "exact";
|
1863
1957
|
term: string;
|
@@ -1951,6 +2045,13 @@ export declare const QueryType: z.ZodObject<{
|
|
1951
2045
|
type: "timePeriod";
|
1952
2046
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1953
2047
|
} | undefined;
|
2048
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
2049
|
+
type: "exact";
|
2050
|
+
term: string;
|
2051
|
+
} | {
|
2052
|
+
type: "within";
|
2053
|
+
location: string;
|
2054
|
+
} | undefined;
|
1954
2055
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1955
2056
|
type: "exact";
|
1956
2057
|
term: string;
|
@@ -2044,6 +2145,13 @@ export declare const QueryType: z.ZodObject<{
|
|
2044
2145
|
type: "timePeriod";
|
2045
2146
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2046
2147
|
} | undefined;
|
2148
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
2149
|
+
type: "exact";
|
2150
|
+
term: string;
|
2151
|
+
} | {
|
2152
|
+
type: "within";
|
2153
|
+
location: string;
|
2154
|
+
} | undefined;
|
2047
2155
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
2048
2156
|
type: "exact";
|
2049
2157
|
term: string;
|
@@ -2140,6 +2248,13 @@ export declare const QueryType: z.ZodObject<{
|
|
2140
2248
|
type: "timePeriod";
|
2141
2249
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2142
2250
|
} | undefined;
|
2251
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
2252
|
+
type: "exact";
|
2253
|
+
term: string;
|
2254
|
+
} | {
|
2255
|
+
type: "within";
|
2256
|
+
location: string;
|
2257
|
+
} | undefined;
|
2143
2258
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
2144
2259
|
type: "exact";
|
2145
2260
|
term: string;
|
@@ -2233,6 +2348,13 @@ export declare const QueryType: z.ZodObject<{
|
|
2233
2348
|
type: "timePeriod";
|
2234
2349
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2235
2350
|
} | undefined;
|
2351
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
2352
|
+
type: "exact";
|
2353
|
+
term: string;
|
2354
|
+
} | {
|
2355
|
+
type: "within";
|
2356
|
+
location: string;
|
2357
|
+
} | undefined;
|
2236
2358
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
2237
2359
|
type: "exact";
|
2238
2360
|
term: string;
|