@opencrvs/toolkit 1.8.0-rc.f466807 → 1.8.0-rc.f7e8fb5

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.
@@ -80,7 +80,7 @@ export declare const ActionUpdate: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodStr
80
80
  province: string;
81
81
  urbanOrRural: "RURAL";
82
82
  village?: string | null | undefined;
83
- }>, z.ZodUndefined]>>;
83
+ }>]>>;
84
84
  export type ActionUpdate = z.infer<typeof ActionUpdate>;
85
85
  /**
86
86
  * EventState is an aggregate of all the actions that have been applied to event data.
@@ -167,7 +167,7 @@ export declare const ActionBase: z.ZodObject<{
167
167
  province: string;
168
168
  urbanOrRural: "RURAL";
169
169
  village?: string | null | undefined;
170
- }>, z.ZodUndefined]>>;
170
+ }>]>>;
171
171
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
172
172
  filename: z.ZodString;
173
173
  originalFilename: z.ZodString;
@@ -245,7 +245,7 @@ export declare const ActionBase: z.ZodObject<{
245
245
  province: string;
246
246
  urbanOrRural: "RURAL";
247
247
  village?: string | null | undefined;
248
- }>, z.ZodUndefined]>>>;
248
+ }>]>>>;
249
249
  createdAtLocation: z.ZodString;
250
250
  }, "strip", z.ZodTypeAny, {
251
251
  id: string;
@@ -274,7 +274,7 @@ export declare const ActionBase: z.ZodObject<{
274
274
  option: string;
275
275
  filename: string;
276
276
  originalFilename: string;
277
- }[] | undefined>;
277
+ }[]>;
278
278
  createdAt: string;
279
279
  createdBy: string;
280
280
  createdAtLocation: string;
@@ -303,7 +303,7 @@ export declare const ActionBase: z.ZodObject<{
303
303
  option: string;
304
304
  filename: string;
305
305
  originalFilename: string;
306
- }[] | undefined> | undefined;
306
+ }[]> | undefined;
307
307
  }, {
308
308
  id: string;
309
309
  data: Record<string, string | number | boolean | {
@@ -331,7 +331,7 @@ export declare const ActionBase: z.ZodObject<{
331
331
  option: string;
332
332
  filename: string;
333
333
  originalFilename: string;
334
- }[] | undefined>;
334
+ }[]>;
335
335
  createdAt: string;
336
336
  createdBy: string;
337
337
  createdAtLocation: string;
@@ -360,7 +360,7 @@ export declare const ActionBase: z.ZodObject<{
360
360
  option: string;
361
361
  filename: string;
362
362
  originalFilename: string;
363
- }[] | undefined> | undefined;
363
+ }[]> | undefined;
364
364
  }>;
365
365
  export type ActionBase = z.infer<typeof ActionBase>;
366
366
  declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
@@ -444,7 +444,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
444
444
  province: string;
445
445
  urbanOrRural: "RURAL";
446
446
  village?: string | null | undefined;
447
- }>, z.ZodUndefined]>>;
447
+ }>]>>;
448
448
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
449
449
  filename: z.ZodString;
450
450
  originalFilename: z.ZodString;
@@ -522,7 +522,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
522
522
  province: string;
523
523
  urbanOrRural: "RURAL";
524
524
  village?: string | null | undefined;
525
- }>, z.ZodUndefined]>>>;
525
+ }>]>>>;
526
526
  createdAtLocation: z.ZodString;
527
527
  }, {
528
528
  type: z.ZodLiteral<"CREATE">;
@@ -554,7 +554,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
554
554
  option: string;
555
555
  filename: string;
556
556
  originalFilename: string;
557
- }[] | undefined>;
557
+ }[]>;
558
558
  createdAt: string;
559
559
  createdBy: string;
560
560
  createdAtLocation: string;
@@ -583,7 +583,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
583
583
  option: string;
584
584
  filename: string;
585
585
  originalFilename: string;
586
- }[] | undefined> | undefined;
586
+ }[]> | undefined;
587
587
  }, {
588
588
  type: "CREATE";
589
589
  id: string;
@@ -612,7 +612,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
612
612
  option: string;
613
613
  filename: string;
614
614
  originalFilename: string;
615
- }[] | undefined>;
615
+ }[]>;
616
616
  createdAt: string;
617
617
  createdBy: string;
618
618
  createdAtLocation: string;
@@ -641,7 +641,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
641
641
  option: string;
642
642
  filename: string;
643
643
  originalFilename: string;
644
- }[] | undefined> | undefined;
644
+ }[]> | undefined;
645
645
  }>;
646
646
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
647
647
  id: z.ZodString;
@@ -724,7 +724,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
724
724
  province: string;
725
725
  urbanOrRural: "RURAL";
726
726
  village?: string | null | undefined;
727
- }>, z.ZodUndefined]>>;
727
+ }>]>>;
728
728
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
729
729
  filename: z.ZodString;
730
730
  originalFilename: z.ZodString;
@@ -802,7 +802,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
802
802
  province: string;
803
803
  urbanOrRural: "RURAL";
804
804
  village?: string | null | undefined;
805
- }>, z.ZodUndefined]>>>;
805
+ }>]>>>;
806
806
  createdAtLocation: z.ZodString;
807
807
  }, {
808
808
  type: z.ZodLiteral<"CREATE">;
@@ -834,7 +834,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
834
834
  option: string;
835
835
  filename: string;
836
836
  originalFilename: string;
837
- }[] | undefined>;
837
+ }[]>;
838
838
  createdAt: string;
839
839
  createdBy: string;
840
840
  createdAtLocation: string;
@@ -863,7 +863,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
863
863
  option: string;
864
864
  filename: string;
865
865
  originalFilename: string;
866
- }[] | undefined> | undefined;
866
+ }[]> | undefined;
867
867
  }, {
868
868
  type: "CREATE";
869
869
  id: string;
@@ -892,7 +892,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
892
892
  option: string;
893
893
  filename: string;
894
894
  originalFilename: string;
895
- }[] | undefined>;
895
+ }[]>;
896
896
  createdAt: string;
897
897
  createdBy: string;
898
898
  createdAtLocation: string;
@@ -921,7 +921,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
921
921
  option: string;
922
922
  filename: string;
923
923
  originalFilename: string;
924
- }[] | undefined> | undefined;
924
+ }[]> | undefined;
925
925
  }>, z.ZodObject<z.objectUtil.extendShape<{
926
926
  id: z.ZodString;
927
927
  createdAt: z.ZodString;
@@ -1003,7 +1003,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1003
1003
  province: string;
1004
1004
  urbanOrRural: "RURAL";
1005
1005
  village?: string | null | undefined;
1006
- }>, z.ZodUndefined]>>;
1006
+ }>]>>;
1007
1007
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1008
1008
  filename: z.ZodString;
1009
1009
  originalFilename: z.ZodString;
@@ -1081,7 +1081,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1081
1081
  province: string;
1082
1082
  urbanOrRural: "RURAL";
1083
1083
  village?: string | null | undefined;
1084
- }>, z.ZodUndefined]>>>;
1084
+ }>]>>>;
1085
1085
  createdAtLocation: z.ZodString;
1086
1086
  }, {
1087
1087
  type: z.ZodLiteral<"VALIDATE">;
@@ -1113,7 +1113,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1113
1113
  option: string;
1114
1114
  filename: string;
1115
1115
  originalFilename: string;
1116
- }[] | undefined>;
1116
+ }[]>;
1117
1117
  createdAt: string;
1118
1118
  createdBy: string;
1119
1119
  createdAtLocation: string;
@@ -1142,7 +1142,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1142
1142
  option: string;
1143
1143
  filename: string;
1144
1144
  originalFilename: string;
1145
- }[] | undefined> | undefined;
1145
+ }[]> | undefined;
1146
1146
  }, {
1147
1147
  type: "VALIDATE";
1148
1148
  id: string;
@@ -1171,7 +1171,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1171
1171
  option: string;
1172
1172
  filename: string;
1173
1173
  originalFilename: string;
1174
- }[] | undefined>;
1174
+ }[]>;
1175
1175
  createdAt: string;
1176
1176
  createdBy: string;
1177
1177
  createdAtLocation: string;
@@ -1200,7 +1200,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1200
1200
  option: string;
1201
1201
  filename: string;
1202
1202
  originalFilename: string;
1203
- }[] | undefined> | undefined;
1203
+ }[]> | undefined;
1204
1204
  }>, z.ZodObject<z.objectUtil.extendShape<{
1205
1205
  id: z.ZodString;
1206
1206
  createdAt: z.ZodString;
@@ -1282,7 +1282,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1282
1282
  province: string;
1283
1283
  urbanOrRural: "RURAL";
1284
1284
  village?: string | null | undefined;
1285
- }>, z.ZodUndefined]>>;
1285
+ }>]>>;
1286
1286
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1287
1287
  filename: z.ZodString;
1288
1288
  originalFilename: z.ZodString;
@@ -1360,7 +1360,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1360
1360
  province: string;
1361
1361
  urbanOrRural: "RURAL";
1362
1362
  village?: string | null | undefined;
1363
- }>, z.ZodUndefined]>>>;
1363
+ }>]>>>;
1364
1364
  createdAtLocation: z.ZodString;
1365
1365
  }, {
1366
1366
  type: z.ZodLiteral<"REJECT">;
@@ -1392,7 +1392,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1392
1392
  option: string;
1393
1393
  filename: string;
1394
1394
  originalFilename: string;
1395
- }[] | undefined>;
1395
+ }[]>;
1396
1396
  createdAt: string;
1397
1397
  createdBy: string;
1398
1398
  createdAtLocation: string;
@@ -1421,7 +1421,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1421
1421
  option: string;
1422
1422
  filename: string;
1423
1423
  originalFilename: string;
1424
- }[] | undefined> | undefined;
1424
+ }[]> | undefined;
1425
1425
  }, {
1426
1426
  type: "REJECT";
1427
1427
  id: string;
@@ -1450,7 +1450,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1450
1450
  option: string;
1451
1451
  filename: string;
1452
1452
  originalFilename: string;
1453
- }[] | undefined>;
1453
+ }[]>;
1454
1454
  createdAt: string;
1455
1455
  createdBy: string;
1456
1456
  createdAtLocation: string;
@@ -1479,7 +1479,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1479
1479
  option: string;
1480
1480
  filename: string;
1481
1481
  originalFilename: string;
1482
- }[] | undefined> | undefined;
1482
+ }[]> | undefined;
1483
1483
  }>, z.ZodObject<z.objectUtil.extendShape<{
1484
1484
  id: z.ZodString;
1485
1485
  createdAt: z.ZodString;
@@ -1561,7 +1561,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1561
1561
  province: string;
1562
1562
  urbanOrRural: "RURAL";
1563
1563
  village?: string | null | undefined;
1564
- }>, z.ZodUndefined]>>;
1564
+ }>]>>;
1565
1565
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1566
1566
  filename: z.ZodString;
1567
1567
  originalFilename: z.ZodString;
@@ -1639,7 +1639,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1639
1639
  province: string;
1640
1640
  urbanOrRural: "RURAL";
1641
1641
  village?: string | null | undefined;
1642
- }>, z.ZodUndefined]>>>;
1642
+ }>]>>>;
1643
1643
  createdAtLocation: z.ZodString;
1644
1644
  }, {
1645
1645
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
@@ -1671,7 +1671,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1671
1671
  option: string;
1672
1672
  filename: string;
1673
1673
  originalFilename: string;
1674
- }[] | undefined>;
1674
+ }[]>;
1675
1675
  createdAt: string;
1676
1676
  createdBy: string;
1677
1677
  createdAtLocation: string;
@@ -1700,7 +1700,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1700
1700
  option: string;
1701
1701
  filename: string;
1702
1702
  originalFilename: string;
1703
- }[] | undefined> | undefined;
1703
+ }[]> | undefined;
1704
1704
  }, {
1705
1705
  type: "MARKED_AS_DUPLICATE";
1706
1706
  id: string;
@@ -1729,7 +1729,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1729
1729
  option: string;
1730
1730
  filename: string;
1731
1731
  originalFilename: string;
1732
- }[] | undefined>;
1732
+ }[]>;
1733
1733
  createdAt: string;
1734
1734
  createdBy: string;
1735
1735
  createdAtLocation: string;
@@ -1758,7 +1758,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1758
1758
  option: string;
1759
1759
  filename: string;
1760
1760
  originalFilename: string;
1761
- }[] | undefined> | undefined;
1761
+ }[]> | undefined;
1762
1762
  }>, z.ZodObject<z.objectUtil.extendShape<{
1763
1763
  id: z.ZodString;
1764
1764
  createdAt: z.ZodString;
@@ -1840,7 +1840,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1840
1840
  province: string;
1841
1841
  urbanOrRural: "RURAL";
1842
1842
  village?: string | null | undefined;
1843
- }>, z.ZodUndefined]>>;
1843
+ }>]>>;
1844
1844
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1845
1845
  filename: z.ZodString;
1846
1846
  originalFilename: z.ZodString;
@@ -1918,7 +1918,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1918
1918
  province: string;
1919
1919
  urbanOrRural: "RURAL";
1920
1920
  village?: string | null | undefined;
1921
- }>, z.ZodUndefined]>>>;
1921
+ }>]>>>;
1922
1922
  createdAtLocation: z.ZodString;
1923
1923
  }, {
1924
1924
  type: z.ZodLiteral<"ARCHIVE">;
@@ -1950,7 +1950,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1950
1950
  option: string;
1951
1951
  filename: string;
1952
1952
  originalFilename: string;
1953
- }[] | undefined>;
1953
+ }[]>;
1954
1954
  createdAt: string;
1955
1955
  createdBy: string;
1956
1956
  createdAtLocation: string;
@@ -1979,7 +1979,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1979
1979
  option: string;
1980
1980
  filename: string;
1981
1981
  originalFilename: string;
1982
- }[] | undefined> | undefined;
1982
+ }[]> | undefined;
1983
1983
  }, {
1984
1984
  type: "ARCHIVE";
1985
1985
  id: string;
@@ -2008,7 +2008,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2008
2008
  option: string;
2009
2009
  filename: string;
2010
2010
  originalFilename: string;
2011
- }[] | undefined>;
2011
+ }[]>;
2012
2012
  createdAt: string;
2013
2013
  createdBy: string;
2014
2014
  createdAtLocation: string;
@@ -2037,7 +2037,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2037
2037
  option: string;
2038
2038
  filename: string;
2039
2039
  originalFilename: string;
2040
- }[] | undefined> | undefined;
2040
+ }[]> | undefined;
2041
2041
  }>, z.ZodObject<z.objectUtil.extendShape<{
2042
2042
  id: z.ZodString;
2043
2043
  createdAt: z.ZodString;
@@ -2119,7 +2119,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2119
2119
  province: string;
2120
2120
  urbanOrRural: "RURAL";
2121
2121
  village?: string | null | undefined;
2122
- }>, z.ZodUndefined]>>;
2122
+ }>]>>;
2123
2123
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2124
2124
  filename: z.ZodString;
2125
2125
  originalFilename: z.ZodString;
@@ -2197,7 +2197,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2197
2197
  province: string;
2198
2198
  urbanOrRural: "RURAL";
2199
2199
  village?: string | null | undefined;
2200
- }>, z.ZodUndefined]>>>;
2200
+ }>]>>>;
2201
2201
  createdAtLocation: z.ZodString;
2202
2202
  }, {
2203
2203
  type: z.ZodLiteral<"NOTIFY">;
@@ -2229,7 +2229,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2229
2229
  option: string;
2230
2230
  filename: string;
2231
2231
  originalFilename: string;
2232
- }[] | undefined>;
2232
+ }[]>;
2233
2233
  createdAt: string;
2234
2234
  createdBy: string;
2235
2235
  createdAtLocation: string;
@@ -2258,7 +2258,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2258
2258
  option: string;
2259
2259
  filename: string;
2260
2260
  originalFilename: string;
2261
- }[] | undefined> | undefined;
2261
+ }[]> | undefined;
2262
2262
  }, {
2263
2263
  type: "NOTIFY";
2264
2264
  id: string;
@@ -2287,7 +2287,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2287
2287
  option: string;
2288
2288
  filename: string;
2289
2289
  originalFilename: string;
2290
- }[] | undefined>;
2290
+ }[]>;
2291
2291
  createdAt: string;
2292
2292
  createdBy: string;
2293
2293
  createdAtLocation: string;
@@ -2316,7 +2316,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2316
2316
  option: string;
2317
2317
  filename: string;
2318
2318
  originalFilename: string;
2319
- }[] | undefined> | undefined;
2319
+ }[]> | undefined;
2320
2320
  }>, z.ZodObject<z.objectUtil.extendShape<{
2321
2321
  id: z.ZodString;
2322
2322
  createdAt: z.ZodString;
@@ -2398,7 +2398,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2398
2398
  province: string;
2399
2399
  urbanOrRural: "RURAL";
2400
2400
  village?: string | null | undefined;
2401
- }>, z.ZodUndefined]>>;
2401
+ }>]>>;
2402
2402
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2403
2403
  filename: z.ZodString;
2404
2404
  originalFilename: z.ZodString;
@@ -2476,7 +2476,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2476
2476
  province: string;
2477
2477
  urbanOrRural: "RURAL";
2478
2478
  village?: string | null | undefined;
2479
- }>, z.ZodUndefined]>>>;
2479
+ }>]>>>;
2480
2480
  createdAtLocation: z.ZodString;
2481
2481
  }, {
2482
2482
  type: z.ZodLiteral<"REGISTER">;
@@ -2518,7 +2518,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2518
2518
  option: string;
2519
2519
  filename: string;
2520
2520
  originalFilename: string;
2521
- }[] | undefined>;
2521
+ }[]>;
2522
2522
  createdAt: string;
2523
2523
  createdBy: string;
2524
2524
  createdAtLocation: string;
@@ -2551,7 +2551,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2551
2551
  option: string;
2552
2552
  filename: string;
2553
2553
  originalFilename: string;
2554
- }[] | undefined> | undefined;
2554
+ }[]> | undefined;
2555
2555
  }, {
2556
2556
  type: "REGISTER";
2557
2557
  id: string;
@@ -2580,7 +2580,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2580
2580
  option: string;
2581
2581
  filename: string;
2582
2582
  originalFilename: string;
2583
- }[] | undefined>;
2583
+ }[]>;
2584
2584
  createdAt: string;
2585
2585
  createdBy: string;
2586
2586
  createdAtLocation: string;
@@ -2613,7 +2613,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2613
2613
  option: string;
2614
2614
  filename: string;
2615
2615
  originalFilename: string;
2616
- }[] | undefined> | undefined;
2616
+ }[]> | undefined;
2617
2617
  }>, z.ZodObject<z.objectUtil.extendShape<{
2618
2618
  id: z.ZodString;
2619
2619
  createdAt: z.ZodString;
@@ -2695,7 +2695,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2695
2695
  province: string;
2696
2696
  urbanOrRural: "RURAL";
2697
2697
  village?: string | null | undefined;
2698
- }>, z.ZodUndefined]>>;
2698
+ }>]>>;
2699
2699
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2700
2700
  filename: z.ZodString;
2701
2701
  originalFilename: z.ZodString;
@@ -2773,7 +2773,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2773
2773
  province: string;
2774
2774
  urbanOrRural: "RURAL";
2775
2775
  village?: string | null | undefined;
2776
- }>, z.ZodUndefined]>>>;
2776
+ }>]>>>;
2777
2777
  createdAtLocation: z.ZodString;
2778
2778
  }, {
2779
2779
  type: z.ZodLiteral<"DECLARE">;
@@ -2805,7 +2805,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2805
2805
  option: string;
2806
2806
  filename: string;
2807
2807
  originalFilename: string;
2808
- }[] | undefined>;
2808
+ }[]>;
2809
2809
  createdAt: string;
2810
2810
  createdBy: string;
2811
2811
  createdAtLocation: string;
@@ -2834,7 +2834,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2834
2834
  option: string;
2835
2835
  filename: string;
2836
2836
  originalFilename: string;
2837
- }[] | undefined> | undefined;
2837
+ }[]> | undefined;
2838
2838
  }, {
2839
2839
  type: "DECLARE";
2840
2840
  id: string;
@@ -2863,7 +2863,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2863
2863
  option: string;
2864
2864
  filename: string;
2865
2865
  originalFilename: string;
2866
- }[] | undefined>;
2866
+ }[]>;
2867
2867
  createdAt: string;
2868
2868
  createdBy: string;
2869
2869
  createdAtLocation: string;
@@ -2892,7 +2892,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2892
2892
  option: string;
2893
2893
  filename: string;
2894
2894
  originalFilename: string;
2895
- }[] | undefined> | undefined;
2895
+ }[]> | undefined;
2896
2896
  }>, z.ZodObject<z.objectUtil.extendShape<{
2897
2897
  id: z.ZodString;
2898
2898
  createdAt: z.ZodString;
@@ -2974,7 +2974,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2974
2974
  province: string;
2975
2975
  urbanOrRural: "RURAL";
2976
2976
  village?: string | null | undefined;
2977
- }>, z.ZodUndefined]>>;
2977
+ }>]>>;
2978
2978
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2979
2979
  filename: z.ZodString;
2980
2980
  originalFilename: z.ZodString;
@@ -3052,7 +3052,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3052
3052
  province: string;
3053
3053
  urbanOrRural: "RURAL";
3054
3054
  village?: string | null | undefined;
3055
- }>, z.ZodUndefined]>>>;
3055
+ }>]>>>;
3056
3056
  createdAtLocation: z.ZodString;
3057
3057
  }, {
3058
3058
  type: z.ZodLiteral<"ASSIGN">;
@@ -3085,7 +3085,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3085
3085
  option: string;
3086
3086
  filename: string;
3087
3087
  originalFilename: string;
3088
- }[] | undefined>;
3088
+ }[]>;
3089
3089
  createdAt: string;
3090
3090
  createdBy: string;
3091
3091
  createdAtLocation: string;
@@ -3115,7 +3115,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3115
3115
  option: string;
3116
3116
  filename: string;
3117
3117
  originalFilename: string;
3118
- }[] | undefined> | undefined;
3118
+ }[]> | undefined;
3119
3119
  }, {
3120
3120
  type: "ASSIGN";
3121
3121
  id: string;
@@ -3144,7 +3144,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3144
3144
  option: string;
3145
3145
  filename: string;
3146
3146
  originalFilename: string;
3147
- }[] | undefined>;
3147
+ }[]>;
3148
3148
  createdAt: string;
3149
3149
  createdBy: string;
3150
3150
  createdAtLocation: string;
@@ -3174,7 +3174,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3174
3174
  option: string;
3175
3175
  filename: string;
3176
3176
  originalFilename: string;
3177
- }[] | undefined> | undefined;
3177
+ }[]> | undefined;
3178
3178
  }>, z.ZodObject<z.objectUtil.extendShape<{
3179
3179
  id: z.ZodString;
3180
3180
  createdAt: z.ZodString;
@@ -3256,7 +3256,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3256
3256
  province: string;
3257
3257
  urbanOrRural: "RURAL";
3258
3258
  village?: string | null | undefined;
3259
- }>, z.ZodUndefined]>>;
3259
+ }>]>>;
3260
3260
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3261
3261
  filename: z.ZodString;
3262
3262
  originalFilename: z.ZodString;
@@ -3334,7 +3334,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3334
3334
  province: string;
3335
3335
  urbanOrRural: "RURAL";
3336
3336
  village?: string | null | undefined;
3337
- }>, z.ZodUndefined]>>>;
3337
+ }>]>>>;
3338
3338
  createdAtLocation: z.ZodString;
3339
3339
  }, {
3340
3340
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
@@ -3366,7 +3366,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3366
3366
  option: string;
3367
3367
  filename: string;
3368
3368
  originalFilename: string;
3369
- }[] | undefined>;
3369
+ }[]>;
3370
3370
  createdAt: string;
3371
3371
  createdBy: string;
3372
3372
  createdAtLocation: string;
@@ -3395,7 +3395,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3395
3395
  option: string;
3396
3396
  filename: string;
3397
3397
  originalFilename: string;
3398
- }[] | undefined> | undefined;
3398
+ }[]> | undefined;
3399
3399
  }, {
3400
3400
  type: "REQUEST_CORRECTION";
3401
3401
  id: string;
@@ -3424,7 +3424,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3424
3424
  option: string;
3425
3425
  filename: string;
3426
3426
  originalFilename: string;
3427
- }[] | undefined>;
3427
+ }[]>;
3428
3428
  createdAt: string;
3429
3429
  createdBy: string;
3430
3430
  createdAtLocation: string;
@@ -3453,7 +3453,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3453
3453
  option: string;
3454
3454
  filename: string;
3455
3455
  originalFilename: string;
3456
- }[] | undefined> | undefined;
3456
+ }[]> | undefined;
3457
3457
  }>, z.ZodObject<z.objectUtil.extendShape<{
3458
3458
  id: z.ZodString;
3459
3459
  createdAt: z.ZodString;
@@ -3535,7 +3535,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3535
3535
  province: string;
3536
3536
  urbanOrRural: "RURAL";
3537
3537
  village?: string | null | undefined;
3538
- }>, z.ZodUndefined]>>;
3538
+ }>]>>;
3539
3539
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3540
3540
  filename: z.ZodString;
3541
3541
  originalFilename: z.ZodString;
@@ -3613,7 +3613,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3613
3613
  province: string;
3614
3614
  urbanOrRural: "RURAL";
3615
3615
  village?: string | null | undefined;
3616
- }>, z.ZodUndefined]>>>;
3616
+ }>]>>>;
3617
3617
  createdAtLocation: z.ZodString;
3618
3618
  }, {
3619
3619
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
@@ -3646,7 +3646,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3646
3646
  option: string;
3647
3647
  filename: string;
3648
3648
  originalFilename: string;
3649
- }[] | undefined>;
3649
+ }[]>;
3650
3650
  createdAt: string;
3651
3651
  createdBy: string;
3652
3652
  createdAtLocation: string;
@@ -3676,7 +3676,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3676
3676
  option: string;
3677
3677
  filename: string;
3678
3678
  originalFilename: string;
3679
- }[] | undefined> | undefined;
3679
+ }[]> | undefined;
3680
3680
  }, {
3681
3681
  type: "APPROVE_CORRECTION";
3682
3682
  id: string;
@@ -3705,7 +3705,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3705
3705
  option: string;
3706
3706
  filename: string;
3707
3707
  originalFilename: string;
3708
- }[] | undefined>;
3708
+ }[]>;
3709
3709
  createdAt: string;
3710
3710
  createdBy: string;
3711
3711
  createdAtLocation: string;
@@ -3735,7 +3735,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3735
3735
  option: string;
3736
3736
  filename: string;
3737
3737
  originalFilename: string;
3738
- }[] | undefined> | undefined;
3738
+ }[]> | undefined;
3739
3739
  }>, z.ZodObject<z.objectUtil.extendShape<{
3740
3740
  id: z.ZodString;
3741
3741
  createdAt: z.ZodString;
@@ -3817,7 +3817,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3817
3817
  province: string;
3818
3818
  urbanOrRural: "RURAL";
3819
3819
  village?: string | null | undefined;
3820
- }>, z.ZodUndefined]>>;
3820
+ }>]>>;
3821
3821
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3822
3822
  filename: z.ZodString;
3823
3823
  originalFilename: z.ZodString;
@@ -3895,7 +3895,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3895
3895
  province: string;
3896
3896
  urbanOrRural: "RURAL";
3897
3897
  village?: string | null | undefined;
3898
- }>, z.ZodUndefined]>>>;
3898
+ }>]>>>;
3899
3899
  createdAtLocation: z.ZodString;
3900
3900
  }, {
3901
3901
  type: z.ZodLiteral<"REJECT_CORRECTION">;
@@ -3928,7 +3928,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3928
3928
  option: string;
3929
3929
  filename: string;
3930
3930
  originalFilename: string;
3931
- }[] | undefined>;
3931
+ }[]>;
3932
3932
  createdAt: string;
3933
3933
  createdBy: string;
3934
3934
  createdAtLocation: string;
@@ -3958,7 +3958,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3958
3958
  option: string;
3959
3959
  filename: string;
3960
3960
  originalFilename: string;
3961
- }[] | undefined> | undefined;
3961
+ }[]> | undefined;
3962
3962
  }, {
3963
3963
  type: "REJECT_CORRECTION";
3964
3964
  id: string;
@@ -3987,7 +3987,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3987
3987
  option: string;
3988
3988
  filename: string;
3989
3989
  originalFilename: string;
3990
- }[] | undefined>;
3990
+ }[]>;
3991
3991
  createdAt: string;
3992
3992
  createdBy: string;
3993
3993
  createdAtLocation: string;
@@ -4017,7 +4017,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4017
4017
  option: string;
4018
4018
  filename: string;
4019
4019
  originalFilename: string;
4020
- }[] | undefined> | undefined;
4020
+ }[]> | undefined;
4021
4021
  }>, z.ZodObject<z.objectUtil.extendShape<{
4022
4022
  id: z.ZodString;
4023
4023
  createdAt: z.ZodString;
@@ -4099,7 +4099,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4099
4099
  province: string;
4100
4100
  urbanOrRural: "RURAL";
4101
4101
  village?: string | null | undefined;
4102
- }>, z.ZodUndefined]>>;
4102
+ }>]>>;
4103
4103
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4104
4104
  filename: z.ZodString;
4105
4105
  originalFilename: z.ZodString;
@@ -4177,7 +4177,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4177
4177
  province: string;
4178
4178
  urbanOrRural: "RURAL";
4179
4179
  village?: string | null | undefined;
4180
- }>, z.ZodUndefined]>>>;
4180
+ }>]>>>;
4181
4181
  createdAtLocation: z.ZodString;
4182
4182
  }, {
4183
4183
  type: z.ZodLiteral<"UNASSIGN">;
@@ -4209,7 +4209,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4209
4209
  option: string;
4210
4210
  filename: string;
4211
4211
  originalFilename: string;
4212
- }[] | undefined>;
4212
+ }[]>;
4213
4213
  createdAt: string;
4214
4214
  createdBy: string;
4215
4215
  createdAtLocation: string;
@@ -4238,7 +4238,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4238
4238
  option: string;
4239
4239
  filename: string;
4240
4240
  originalFilename: string;
4241
- }[] | undefined> | undefined;
4241
+ }[]> | undefined;
4242
4242
  }, {
4243
4243
  type: "UNASSIGN";
4244
4244
  id: string;
@@ -4267,7 +4267,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4267
4267
  option: string;
4268
4268
  filename: string;
4269
4269
  originalFilename: string;
4270
- }[] | undefined>;
4270
+ }[]>;
4271
4271
  createdAt: string;
4272
4272
  createdBy: string;
4273
4273
  createdAtLocation: string;
@@ -4296,7 +4296,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4296
4296
  option: string;
4297
4297
  filename: string;
4298
4298
  originalFilename: string;
4299
- }[] | undefined> | undefined;
4299
+ }[]> | undefined;
4300
4300
  }>, z.ZodObject<z.objectUtil.extendShape<{
4301
4301
  id: z.ZodString;
4302
4302
  createdAt: z.ZodString;
@@ -4378,7 +4378,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4378
4378
  province: string;
4379
4379
  urbanOrRural: "RURAL";
4380
4380
  village?: string | null | undefined;
4381
- }>, z.ZodUndefined]>>;
4381
+ }>]>>;
4382
4382
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4383
4383
  filename: z.ZodString;
4384
4384
  originalFilename: z.ZodString;
@@ -4456,7 +4456,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4456
4456
  province: string;
4457
4457
  urbanOrRural: "RURAL";
4458
4458
  village?: string | null | undefined;
4459
- }>, z.ZodUndefined]>>>;
4459
+ }>]>>>;
4460
4460
  createdAtLocation: z.ZodString;
4461
4461
  }, {
4462
4462
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
@@ -4488,7 +4488,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4488
4488
  option: string;
4489
4489
  filename: string;
4490
4490
  originalFilename: string;
4491
- }[] | undefined>;
4491
+ }[]>;
4492
4492
  createdAt: string;
4493
4493
  createdBy: string;
4494
4494
  createdAtLocation: string;
@@ -4517,7 +4517,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4517
4517
  option: string;
4518
4518
  filename: string;
4519
4519
  originalFilename: string;
4520
- }[] | undefined> | undefined;
4520
+ }[]> | undefined;
4521
4521
  }, {
4522
4522
  type: "PRINT_CERTIFICATE";
4523
4523
  id: string;
@@ -4546,7 +4546,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4546
4546
  option: string;
4547
4547
  filename: string;
4548
4548
  originalFilename: string;
4549
- }[] | undefined>;
4549
+ }[]>;
4550
4550
  createdAt: string;
4551
4551
  createdBy: string;
4552
4552
  createdAtLocation: string;
@@ -4575,7 +4575,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4575
4575
  option: string;
4576
4576
  filename: string;
4577
4577
  originalFilename: string;
4578
- }[] | undefined> | undefined;
4578
+ }[]> | undefined;
4579
4579
  }>, z.ZodObject<z.objectUtil.extendShape<{
4580
4580
  id: z.ZodString;
4581
4581
  createdAt: z.ZodString;
@@ -4657,7 +4657,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4657
4657
  province: string;
4658
4658
  urbanOrRural: "RURAL";
4659
4659
  village?: string | null | undefined;
4660
- }>, z.ZodUndefined]>>;
4660
+ }>]>>;
4661
4661
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4662
4662
  filename: z.ZodString;
4663
4663
  originalFilename: z.ZodString;
@@ -4735,7 +4735,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4735
4735
  province: string;
4736
4736
  urbanOrRural: "RURAL";
4737
4737
  village?: string | null | undefined;
4738
- }>, z.ZodUndefined]>>>;
4738
+ }>]>>>;
4739
4739
  createdAtLocation: z.ZodString;
4740
4740
  }, {
4741
4741
  type: z.ZodLiteral<"CUSTOM">;
@@ -4767,7 +4767,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4767
4767
  option: string;
4768
4768
  filename: string;
4769
4769
  originalFilename: string;
4770
- }[] | undefined>;
4770
+ }[]>;
4771
4771
  createdAt: string;
4772
4772
  createdBy: string;
4773
4773
  createdAtLocation: string;
@@ -4796,7 +4796,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4796
4796
  option: string;
4797
4797
  filename: string;
4798
4798
  originalFilename: string;
4799
- }[] | undefined> | undefined;
4799
+ }[]> | undefined;
4800
4800
  }, {
4801
4801
  type: "CUSTOM";
4802
4802
  id: string;
@@ -4825,7 +4825,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4825
4825
  option: string;
4826
4826
  filename: string;
4827
4827
  originalFilename: string;
4828
- }[] | undefined>;
4828
+ }[]>;
4829
4829
  createdAt: string;
4830
4830
  createdBy: string;
4831
4831
  createdAtLocation: string;
@@ -4854,7 +4854,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4854
4854
  option: string;
4855
4855
  filename: string;
4856
4856
  originalFilename: string;
4857
- }[] | undefined> | undefined;
4857
+ }[]> | undefined;
4858
4858
  }>]>;
4859
4859
  export type ActionDocument = z.infer<typeof ActionDocument>;
4860
4860
  export declare const ResolvedUser: z.ZodObject<{