@opencrvs/toolkit 1.9.16-rc.c7acc1a → 1.9.16-rc.d948d51
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 +193 -198
- package/dist/commons/events/ActionConfig.d.ts +0 -28
- package/dist/commons/events/ActionDocument.d.ts +129 -129
- package/dist/commons/events/Draft.d.ts +5 -5
- package/dist/commons/events/EventConfig.d.ts +0 -25
- package/dist/commons/events/EventDocument.d.ts +90 -90
- package/dist/commons/events/EventIndex.d.ts +17 -17
- package/dist/commons/events/EventMetadata.d.ts +33 -33
- package/dist/commons/events/FormConfig.d.ts +0 -30
- package/dist/commons/events/PageConfig.d.ts +0 -6
- package/dist/commons/events/defineConfig.d.ts +0 -5
- package/dist/commons/events/state/index.d.ts +3 -3
- package/dist/commons/events/state/utils.d.ts +20 -20
- package/dist/commons/events/utils.d.ts +0 -9
- package/dist/events/index.js +9 -9
- package/dist/notification/index.js +9 -9
- package/dist/scopes/index.d.ts +3 -2
- package/dist/scopes/index.js +6 -2
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ export declare const Draft: z.ZodObject<{
|
|
|
10
10
|
createdByUserType: z.ZodEnum<["user", "system"]>;
|
|
11
11
|
createdAt: z.ZodString;
|
|
12
12
|
createdBy: z.ZodString;
|
|
13
|
-
createdByRole: z.ZodString
|
|
13
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
14
14
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
16
16
|
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>;
|
|
@@ -26,8 +26,8 @@ export declare const Draft: z.ZodObject<{
|
|
|
26
26
|
createdByUserType: "system" | "user";
|
|
27
27
|
createdAt: string;
|
|
28
28
|
createdBy: string;
|
|
29
|
-
createdByRole: string;
|
|
30
29
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
30
|
+
createdByRole?: string | undefined;
|
|
31
31
|
createdBySignature?: string | null | undefined;
|
|
32
32
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
33
33
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
@@ -38,8 +38,8 @@ export declare const Draft: z.ZodObject<{
|
|
|
38
38
|
createdByUserType: "system" | "user";
|
|
39
39
|
createdAt: string;
|
|
40
40
|
createdBy: string;
|
|
41
|
-
createdByRole: string;
|
|
42
41
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
42
|
+
createdByRole?: string | undefined;
|
|
43
43
|
createdBySignature?: string | null | undefined;
|
|
44
44
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
45
45
|
originalActionId?: string | null | undefined;
|
|
@@ -56,8 +56,8 @@ export declare const Draft: z.ZodObject<{
|
|
|
56
56
|
createdByUserType: "system" | "user";
|
|
57
57
|
createdAt: string;
|
|
58
58
|
createdBy: string;
|
|
59
|
-
createdByRole: string;
|
|
60
59
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
60
|
+
createdByRole?: string | undefined;
|
|
61
61
|
createdBySignature?: string | null | undefined;
|
|
62
62
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
63
63
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
@@ -74,8 +74,8 @@ export declare const Draft: z.ZodObject<{
|
|
|
74
74
|
createdByUserType: "system" | "user";
|
|
75
75
|
createdAt: string;
|
|
76
76
|
createdBy: string;
|
|
77
|
-
createdByRole: string;
|
|
78
77
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
78
|
+
createdByRole?: string | undefined;
|
|
79
79
|
createdBySignature?: string | null | undefined;
|
|
80
80
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
81
81
|
originalActionId?: string | null | undefined;
|
|
@@ -229,7 +229,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
229
229
|
defaultMessage: string;
|
|
230
230
|
}>;
|
|
231
231
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
232
|
-
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
233
232
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
234
233
|
conditional: z.ZodOptional<z.ZodType<import("../conditionals/conditionals").JSONSchema, z.ZodTypeDef, import("../conditionals/conditionals").JSONSchema>>;
|
|
235
234
|
}, {
|
|
@@ -241,7 +240,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
241
240
|
fields: import("./FieldConfig").FieldConfig[];
|
|
242
241
|
requireCompletionToContinue: boolean;
|
|
243
242
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
244
|
-
showClearButton?: boolean | undefined;
|
|
245
243
|
}, {
|
|
246
244
|
id: string;
|
|
247
245
|
title: {
|
|
@@ -253,7 +251,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
253
251
|
type?: "FORM" | undefined;
|
|
254
252
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
255
253
|
requireCompletionToContinue?: boolean | undefined;
|
|
256
|
-
showClearButton?: boolean | undefined;
|
|
257
254
|
}>, "many">;
|
|
258
255
|
}, "strip", z.ZodTypeAny, {
|
|
259
256
|
label: TranslationConfig;
|
|
@@ -264,7 +261,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
264
261
|
fields: import("./FieldConfig").FieldConfig[];
|
|
265
262
|
requireCompletionToContinue: boolean;
|
|
266
263
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
267
|
-
showClearButton?: boolean | undefined;
|
|
268
264
|
}[];
|
|
269
265
|
}, {
|
|
270
266
|
label: {
|
|
@@ -283,7 +279,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
283
279
|
type?: "FORM" | undefined;
|
|
284
280
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
285
281
|
requireCompletionToContinue?: boolean | undefined;
|
|
286
|
-
showClearButton?: boolean | undefined;
|
|
287
282
|
}[];
|
|
288
283
|
}>;
|
|
289
284
|
advancedSearch: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1070,7 +1065,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1070
1065
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1071
1066
|
requireCompletionToContinue: boolean;
|
|
1072
1067
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1073
|
-
showClearButton?: boolean | undefined;
|
|
1074
1068
|
}[];
|
|
1075
1069
|
};
|
|
1076
1070
|
actions: ({
|
|
@@ -1137,7 +1131,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1137
1131
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1138
1132
|
requireCompletionToContinue: boolean;
|
|
1139
1133
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1140
|
-
showClearButton?: boolean | undefined;
|
|
1141
1134
|
} | {
|
|
1142
1135
|
type: "VERIFICATION";
|
|
1143
1136
|
id: string;
|
|
@@ -1157,7 +1150,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1157
1150
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1158
1151
|
requireCompletionToContinue: boolean;
|
|
1159
1152
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1160
|
-
showClearButton?: boolean | undefined;
|
|
1161
1153
|
})[];
|
|
1162
1154
|
};
|
|
1163
1155
|
} | {
|
|
@@ -1172,7 +1164,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1172
1164
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1173
1165
|
requireCompletionToContinue: boolean;
|
|
1174
1166
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1175
|
-
showClearButton?: boolean | undefined;
|
|
1176
1167
|
} | {
|
|
1177
1168
|
type: "VERIFICATION";
|
|
1178
1169
|
id: string;
|
|
@@ -1192,7 +1183,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1192
1183
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1193
1184
|
requireCompletionToContinue: boolean;
|
|
1194
1185
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1195
|
-
showClearButton?: boolean | undefined;
|
|
1196
1186
|
})[];
|
|
1197
1187
|
};
|
|
1198
1188
|
} | {
|
|
@@ -1329,7 +1319,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1329
1319
|
type?: "FORM" | undefined;
|
|
1330
1320
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1331
1321
|
requireCompletionToContinue?: boolean | undefined;
|
|
1332
|
-
showClearButton?: boolean | undefined;
|
|
1333
1322
|
}[];
|
|
1334
1323
|
};
|
|
1335
1324
|
actions: ({
|
|
@@ -1464,7 +1453,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1464
1453
|
type?: "FORM" | undefined;
|
|
1465
1454
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1466
1455
|
requireCompletionToContinue?: boolean | undefined;
|
|
1467
|
-
showClearButton?: boolean | undefined;
|
|
1468
1456
|
} | {
|
|
1469
1457
|
type: "VERIFICATION";
|
|
1470
1458
|
id: string;
|
|
@@ -1504,7 +1492,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1504
1492
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1505
1493
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1506
1494
|
requireCompletionToContinue?: boolean | undefined;
|
|
1507
|
-
showClearButton?: boolean | undefined;
|
|
1508
1495
|
})[];
|
|
1509
1496
|
};
|
|
1510
1497
|
} | {
|
|
@@ -1531,7 +1518,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1531
1518
|
type?: "FORM" | undefined;
|
|
1532
1519
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1533
1520
|
requireCompletionToContinue?: boolean | undefined;
|
|
1534
|
-
showClearButton?: boolean | undefined;
|
|
1535
1521
|
} | {
|
|
1536
1522
|
type: "VERIFICATION";
|
|
1537
1523
|
id: string;
|
|
@@ -1571,7 +1557,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1571
1557
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1572
1558
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1573
1559
|
requireCompletionToContinue?: boolean | undefined;
|
|
1574
|
-
showClearButton?: boolean | undefined;
|
|
1575
1560
|
})[];
|
|
1576
1561
|
};
|
|
1577
1562
|
} | {
|
|
@@ -1768,7 +1753,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1768
1753
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1769
1754
|
requireCompletionToContinue: boolean;
|
|
1770
1755
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1771
|
-
showClearButton?: boolean | undefined;
|
|
1772
1756
|
}[];
|
|
1773
1757
|
};
|
|
1774
1758
|
actions: ({
|
|
@@ -1835,7 +1819,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1835
1819
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1836
1820
|
requireCompletionToContinue: boolean;
|
|
1837
1821
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1838
|
-
showClearButton?: boolean | undefined;
|
|
1839
1822
|
} | {
|
|
1840
1823
|
type: "VERIFICATION";
|
|
1841
1824
|
id: string;
|
|
@@ -1855,7 +1838,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1855
1838
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1856
1839
|
requireCompletionToContinue: boolean;
|
|
1857
1840
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1858
|
-
showClearButton?: boolean | undefined;
|
|
1859
1841
|
})[];
|
|
1860
1842
|
};
|
|
1861
1843
|
} | {
|
|
@@ -1870,7 +1852,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1870
1852
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1871
1853
|
requireCompletionToContinue: boolean;
|
|
1872
1854
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1873
|
-
showClearButton?: boolean | undefined;
|
|
1874
1855
|
} | {
|
|
1875
1856
|
type: "VERIFICATION";
|
|
1876
1857
|
id: string;
|
|
@@ -1890,7 +1871,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1890
1871
|
fields: import("./FieldConfig").FieldConfig[];
|
|
1891
1872
|
requireCompletionToContinue: boolean;
|
|
1892
1873
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
1893
|
-
showClearButton?: boolean | undefined;
|
|
1894
1874
|
})[];
|
|
1895
1875
|
};
|
|
1896
1876
|
} | {
|
|
@@ -2027,7 +2007,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2027
2007
|
type?: "FORM" | undefined;
|
|
2028
2008
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
2029
2009
|
requireCompletionToContinue?: boolean | undefined;
|
|
2030
|
-
showClearButton?: boolean | undefined;
|
|
2031
2010
|
}[];
|
|
2032
2011
|
};
|
|
2033
2012
|
actions: ({
|
|
@@ -2162,7 +2141,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2162
2141
|
type?: "FORM" | undefined;
|
|
2163
2142
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
2164
2143
|
requireCompletionToContinue?: boolean | undefined;
|
|
2165
|
-
showClearButton?: boolean | undefined;
|
|
2166
2144
|
} | {
|
|
2167
2145
|
type: "VERIFICATION";
|
|
2168
2146
|
id: string;
|
|
@@ -2202,7 +2180,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2202
2180
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
2203
2181
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
2204
2182
|
requireCompletionToContinue?: boolean | undefined;
|
|
2205
|
-
showClearButton?: boolean | undefined;
|
|
2206
2183
|
})[];
|
|
2207
2184
|
};
|
|
2208
2185
|
} | {
|
|
@@ -2229,7 +2206,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2229
2206
|
type?: "FORM" | undefined;
|
|
2230
2207
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
2231
2208
|
requireCompletionToContinue?: boolean | undefined;
|
|
2232
|
-
showClearButton?: boolean | undefined;
|
|
2233
2209
|
} | {
|
|
2234
2210
|
type: "VERIFICATION";
|
|
2235
2211
|
id: string;
|
|
@@ -2269,7 +2245,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2269
2245
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
2270
2246
|
conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
|
|
2271
2247
|
requireCompletionToContinue?: boolean | undefined;
|
|
2272
|
-
showClearButton?: boolean | undefined;
|
|
2273
2248
|
})[];
|
|
2274
2249
|
};
|
|
2275
2250
|
} | {
|