@opencrvs/toolkit 1.8.1-rc.5c415ba → 1.8.1-rc.60d51af

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.
Files changed (32) hide show
  1. package/dist/commons/api/router.d.ts +409 -800
  2. package/dist/commons/conditionals/validate.d.ts +8 -0
  3. package/dist/commons/events/ActionConfig.d.ts +2004 -366
  4. package/dist/commons/events/ActionDocument.d.ts +1264 -1387
  5. package/dist/commons/events/ActionInput.d.ts +622 -1136
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +83 -65
  7. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
  9. package/dist/commons/events/Draft.d.ts +48 -92
  10. package/dist/commons/events/EventConfig.d.ts +695 -168
  11. package/dist/commons/events/EventDocument.d.ts +449 -846
  12. package/dist/commons/events/EventIndex.d.ts +184 -68
  13. package/dist/commons/events/EventMetadata.d.ts +9 -15
  14. package/dist/commons/events/FieldConfig.d.ts +254 -43
  15. package/dist/commons/events/FieldTypeMapping.d.ts +16 -16
  16. package/dist/commons/events/FieldValue.d.ts +12 -12
  17. package/dist/commons/events/FormConfig.d.ts +1032 -246
  18. package/dist/commons/events/PageConfig.d.ts +264 -46
  19. package/dist/commons/events/WorkqueueConfig.d.ts +288 -164
  20. package/dist/commons/events/defineConfig.d.ts +129 -30
  21. package/dist/commons/events/event.d.ts +14 -6
  22. package/dist/commons/events/field.d.ts +14 -0
  23. package/dist/commons/events/test.utils.d.ts +12 -12
  24. package/dist/commons/events/utils.d.ts +236 -64
  25. package/dist/conditionals/index.js +3 -2
  26. package/dist/events/index.js +153 -82
  27. package/package.json +1 -1
  28. package/tsconfig.json +1 -1
  29. package/dist/commons/conditionals/conditionals.test.d.ts +0 -2
  30. package/dist/commons/conditionals/validate-address.test.d.ts +0 -2
  31. package/dist/commons/conditionals/validate.test.d.ts +0 -2
  32. package/dist/commons/events/utils.test.d.ts +0 -2
@@ -102,8 +102,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
102
102
  street?: string | null | undefined;
103
103
  zipCode?: string | null | undefined;
104
104
  } | {
105
- firstname?: string | null | undefined;
106
- surname?: string | null | undefined;
105
+ firstname: string;
106
+ surname: string;
107
107
  middlename?: string | null | undefined;
108
108
  } | {
109
109
  country: string;
@@ -150,8 +150,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
150
150
  street?: string | null | undefined;
151
151
  zipCode?: string | null | undefined;
152
152
  } | {
153
- firstname?: string | null | undefined;
154
- surname?: string | null | undefined;
153
+ firstname: string;
154
+ surname: string;
155
155
  middlename?: string | null | undefined;
156
156
  } | {
157
157
  country: string;
@@ -179,10 +179,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
179
179
  start: string;
180
180
  end: string;
181
181
  } | null | undefined> | null | undefined;
182
- actionDetails?: {
183
- templateId?: string | undefined;
184
- isImmediateCorrection?: boolean | undefined;
185
- } | null | undefined;
186
182
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
187
183
  } | {
188
184
  type: "UNASSIGN";
@@ -209,8 +205,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
209
205
  street?: string | null | undefined;
210
206
  zipCode?: string | null | undefined;
211
207
  } | {
212
- firstname?: string | null | undefined;
213
- surname?: string | null | undefined;
208
+ firstname: string;
209
+ surname: string;
214
210
  middlename?: string | null | undefined;
215
211
  } | {
216
212
  country: string;
@@ -256,8 +252,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
256
252
  street?: string | null | undefined;
257
253
  zipCode?: string | null | undefined;
258
254
  } | {
259
- firstname?: string | null | undefined;
260
- surname?: string | null | undefined;
255
+ firstname: string;
256
+ surname: string;
261
257
  middlename?: string | null | undefined;
262
258
  } | {
263
259
  country: string;
@@ -285,10 +281,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
285
281
  start: string;
286
282
  end: string;
287
283
  } | null | undefined> | null | undefined;
288
- actionDetails?: {
289
- templateId?: string | undefined;
290
- isImmediateCorrection?: boolean | undefined;
291
- } | null | undefined;
292
284
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
293
285
  } | {
294
286
  type: "REGISTER";
@@ -315,8 +307,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
315
307
  street?: string | null | undefined;
316
308
  zipCode?: string | null | undefined;
317
309
  } | {
318
- firstname?: string | null | undefined;
319
- surname?: string | null | undefined;
310
+ firstname: string;
311
+ surname: string;
320
312
  middlename?: string | null | undefined;
321
313
  } | {
322
314
  country: string;
@@ -362,8 +354,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
362
354
  street?: string | null | undefined;
363
355
  zipCode?: string | null | undefined;
364
356
  } | {
365
- firstname?: string | null | undefined;
366
- surname?: string | null | undefined;
357
+ firstname: string;
358
+ surname: string;
367
359
  middlename?: string | null | undefined;
368
360
  } | {
369
361
  country: string;
@@ -391,10 +383,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
391
383
  start: string;
392
384
  end: string;
393
385
  } | null | undefined> | null | undefined;
394
- actionDetails?: {
395
- templateId?: string | undefined;
396
- isImmediateCorrection?: boolean | undefined;
397
- } | null | undefined;
398
386
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
399
387
  registrationNumber?: string | undefined;
400
388
  } | {
@@ -422,8 +410,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
422
410
  street?: string | null | undefined;
423
411
  zipCode?: string | null | undefined;
424
412
  } | {
425
- firstname?: string | null | undefined;
426
- surname?: string | null | undefined;
413
+ firstname: string;
414
+ surname: string;
427
415
  middlename?: string | null | undefined;
428
416
  } | {
429
417
  country: string;
@@ -469,8 +457,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
469
457
  street?: string | null | undefined;
470
458
  zipCode?: string | null | undefined;
471
459
  } | {
472
- firstname?: string | null | undefined;
473
- surname?: string | null | undefined;
460
+ firstname: string;
461
+ surname: string;
474
462
  middlename?: string | null | undefined;
475
463
  } | {
476
464
  country: string;
@@ -498,10 +486,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
498
486
  start: string;
499
487
  end: string;
500
488
  } | null | undefined> | null | undefined;
501
- actionDetails?: {
502
- templateId?: string | undefined;
503
- isImmediateCorrection?: boolean | undefined;
504
- } | null | undefined;
505
489
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
506
490
  } | {
507
491
  type: "VALIDATE";
@@ -528,8 +512,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
528
512
  street?: string | null | undefined;
529
513
  zipCode?: string | null | undefined;
530
514
  } | {
531
- firstname?: string | null | undefined;
532
- surname?: string | null | undefined;
515
+ firstname: string;
516
+ surname: string;
533
517
  middlename?: string | null | undefined;
534
518
  } | {
535
519
  country: string;
@@ -575,8 +559,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
575
559
  street?: string | null | undefined;
576
560
  zipCode?: string | null | undefined;
577
561
  } | {
578
- firstname?: string | null | undefined;
579
- surname?: string | null | undefined;
562
+ firstname: string;
563
+ surname: string;
580
564
  middlename?: string | null | undefined;
581
565
  } | {
582
566
  country: string;
@@ -604,10 +588,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
604
588
  start: string;
605
589
  end: string;
606
590
  } | null | undefined> | null | undefined;
607
- actionDetails?: {
608
- templateId?: string | undefined;
609
- isImmediateCorrection?: boolean | undefined;
610
- } | null | undefined;
611
591
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
612
592
  } | {
613
593
  type: "REJECT";
@@ -638,8 +618,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
638
618
  street?: string | null | undefined;
639
619
  zipCode?: string | null | undefined;
640
620
  } | {
641
- firstname?: string | null | undefined;
642
- surname?: string | null | undefined;
621
+ firstname: string;
622
+ surname: string;
643
623
  middlename?: string | null | undefined;
644
624
  } | {
645
625
  country: string;
@@ -685,8 +665,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
685
665
  street?: string | null | undefined;
686
666
  zipCode?: string | null | undefined;
687
667
  } | {
688
- firstname?: string | null | undefined;
689
- surname?: string | null | undefined;
668
+ firstname: string;
669
+ surname: string;
690
670
  middlename?: string | null | undefined;
691
671
  } | {
692
672
  country: string;
@@ -714,10 +694,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
714
694
  start: string;
715
695
  end: string;
716
696
  } | null | undefined> | null | undefined;
717
- actionDetails?: {
718
- templateId?: string | undefined;
719
- isImmediateCorrection?: boolean | undefined;
720
- } | null | undefined;
721
697
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
722
698
  } | {
723
699
  type: "MARKED_AS_DUPLICATE";
@@ -744,8 +720,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
744
720
  street?: string | null | undefined;
745
721
  zipCode?: string | null | undefined;
746
722
  } | {
747
- firstname?: string | null | undefined;
748
- surname?: string | null | undefined;
723
+ firstname: string;
724
+ surname: string;
749
725
  middlename?: string | null | undefined;
750
726
  } | {
751
727
  country: string;
@@ -791,8 +767,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
791
767
  street?: string | null | undefined;
792
768
  zipCode?: string | null | undefined;
793
769
  } | {
794
- firstname?: string | null | undefined;
795
- surname?: string | null | undefined;
770
+ firstname: string;
771
+ surname: string;
796
772
  middlename?: string | null | undefined;
797
773
  } | {
798
774
  country: string;
@@ -820,10 +796,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
820
796
  start: string;
821
797
  end: string;
822
798
  } | null | undefined> | null | undefined;
823
- actionDetails?: {
824
- templateId?: string | undefined;
825
- isImmediateCorrection?: boolean | undefined;
826
- } | null | undefined;
827
799
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
828
800
  } | {
829
801
  type: "ARCHIVE";
@@ -854,8 +826,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
854
826
  street?: string | null | undefined;
855
827
  zipCode?: string | null | undefined;
856
828
  } | {
857
- firstname?: string | null | undefined;
858
- surname?: string | null | undefined;
829
+ firstname: string;
830
+ surname: string;
859
831
  middlename?: string | null | undefined;
860
832
  } | {
861
833
  country: string;
@@ -901,8 +873,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
901
873
  street?: string | null | undefined;
902
874
  zipCode?: string | null | undefined;
903
875
  } | {
904
- firstname?: string | null | undefined;
905
- surname?: string | null | undefined;
876
+ firstname: string;
877
+ surname: string;
906
878
  middlename?: string | null | undefined;
907
879
  } | {
908
880
  country: string;
@@ -930,10 +902,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
930
902
  start: string;
931
903
  end: string;
932
904
  } | null | undefined> | null | undefined;
933
- actionDetails?: {
934
- templateId?: string | undefined;
935
- isImmediateCorrection?: boolean | undefined;
936
- } | null | undefined;
937
905
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
938
906
  } | {
939
907
  type: "CREATE";
@@ -960,8 +928,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
960
928
  street?: string | null | undefined;
961
929
  zipCode?: string | null | undefined;
962
930
  } | {
963
- firstname?: string | null | undefined;
964
- surname?: string | null | undefined;
931
+ firstname: string;
932
+ surname: string;
965
933
  middlename?: string | null | undefined;
966
934
  } | {
967
935
  country: string;
@@ -1007,8 +975,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1007
975
  street?: string | null | undefined;
1008
976
  zipCode?: string | null | undefined;
1009
977
  } | {
1010
- firstname?: string | null | undefined;
1011
- surname?: string | null | undefined;
978
+ firstname: string;
979
+ surname: string;
1012
980
  middlename?: string | null | undefined;
1013
981
  } | {
1014
982
  country: string;
@@ -1036,10 +1004,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1036
1004
  start: string;
1037
1005
  end: string;
1038
1006
  } | null | undefined> | null | undefined;
1039
- actionDetails?: {
1040
- templateId?: string | undefined;
1041
- isImmediateCorrection?: boolean | undefined;
1042
- } | null | undefined;
1043
1007
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1044
1008
  } | {
1045
1009
  type: "NOTIFY";
@@ -1066,8 +1030,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1066
1030
  street?: string | null | undefined;
1067
1031
  zipCode?: string | null | undefined;
1068
1032
  } | {
1069
- firstname?: string | null | undefined;
1070
- surname?: string | null | undefined;
1033
+ firstname: string;
1034
+ surname: string;
1071
1035
  middlename?: string | null | undefined;
1072
1036
  } | {
1073
1037
  country: string;
@@ -1113,8 +1077,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1113
1077
  street?: string | null | undefined;
1114
1078
  zipCode?: string | null | undefined;
1115
1079
  } | {
1116
- firstname?: string | null | undefined;
1117
- surname?: string | null | undefined;
1080
+ firstname: string;
1081
+ surname: string;
1118
1082
  middlename?: string | null | undefined;
1119
1083
  } | {
1120
1084
  country: string;
@@ -1142,10 +1106,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1142
1106
  start: string;
1143
1107
  end: string;
1144
1108
  } | null | undefined> | null | undefined;
1145
- actionDetails?: {
1146
- templateId?: string | undefined;
1147
- isImmediateCorrection?: boolean | undefined;
1148
- } | null | undefined;
1149
1109
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1150
1110
  } | {
1151
1111
  type: "PRINT_CERTIFICATE";
@@ -1172,8 +1132,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1172
1132
  street?: string | null | undefined;
1173
1133
  zipCode?: string | null | undefined;
1174
1134
  } | {
1175
- firstname?: string | null | undefined;
1176
- surname?: string | null | undefined;
1135
+ firstname: string;
1136
+ surname: string;
1177
1137
  middlename?: string | null | undefined;
1178
1138
  } | {
1179
1139
  country: string;
@@ -1201,6 +1161,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1201
1161
  start: string;
1202
1162
  end: string;
1203
1163
  } | null | undefined>;
1164
+ content?: {
1165
+ templateId?: string | undefined;
1166
+ } | null | undefined;
1204
1167
  createdBySignature?: string | null | undefined;
1205
1168
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1206
1169
  annotation?: Record<string, string | number | boolean | {
@@ -1219,8 +1182,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1219
1182
  street?: string | null | undefined;
1220
1183
  zipCode?: string | null | undefined;
1221
1184
  } | {
1222
- firstname?: string | null | undefined;
1223
- surname?: string | null | undefined;
1185
+ firstname: string;
1186
+ surname: string;
1224
1187
  middlename?: string | null | undefined;
1225
1188
  } | {
1226
1189
  country: string;
@@ -1248,10 +1211,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1248
1211
  start: string;
1249
1212
  end: string;
1250
1213
  } | null | undefined> | null | undefined;
1251
- actionDetails?: {
1252
- templateId?: string | undefined;
1253
- isImmediateCorrection?: boolean | undefined;
1254
- } | null | undefined;
1255
1214
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1256
1215
  } | {
1257
1216
  type: "REQUEST_CORRECTION";
@@ -1278,8 +1237,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1278
1237
  street?: string | null | undefined;
1279
1238
  zipCode?: string | null | undefined;
1280
1239
  } | {
1281
- firstname?: string | null | undefined;
1282
- surname?: string | null | undefined;
1240
+ firstname: string;
1241
+ surname: string;
1283
1242
  middlename?: string | null | undefined;
1284
1243
  } | {
1285
1244
  country: string;
@@ -1325,8 +1284,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1325
1284
  street?: string | null | undefined;
1326
1285
  zipCode?: string | null | undefined;
1327
1286
  } | {
1328
- firstname?: string | null | undefined;
1329
- surname?: string | null | undefined;
1287
+ firstname: string;
1288
+ surname: string;
1330
1289
  middlename?: string | null | undefined;
1331
1290
  } | {
1332
1291
  country: string;
@@ -1354,10 +1313,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1354
1313
  start: string;
1355
1314
  end: string;
1356
1315
  } | null | undefined> | null | undefined;
1357
- actionDetails?: {
1358
- templateId?: string | undefined;
1359
- isImmediateCorrection?: boolean | undefined;
1360
- } | null | undefined;
1361
1316
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1362
1317
  } | {
1363
1318
  type: "APPROVE_CORRECTION";
@@ -1384,8 +1339,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1384
1339
  street?: string | null | undefined;
1385
1340
  zipCode?: string | null | undefined;
1386
1341
  } | {
1387
- firstname?: string | null | undefined;
1388
- surname?: string | null | undefined;
1342
+ firstname: string;
1343
+ surname: string;
1389
1344
  middlename?: string | null | undefined;
1390
1345
  } | {
1391
1346
  country: string;
@@ -1432,8 +1387,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1432
1387
  street?: string | null | undefined;
1433
1388
  zipCode?: string | null | undefined;
1434
1389
  } | {
1435
- firstname?: string | null | undefined;
1436
- surname?: string | null | undefined;
1390
+ firstname: string;
1391
+ surname: string;
1437
1392
  middlename?: string | null | undefined;
1438
1393
  } | {
1439
1394
  country: string;
@@ -1461,10 +1416,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1461
1416
  start: string;
1462
1417
  end: string;
1463
1418
  } | null | undefined> | null | undefined;
1464
- actionDetails?: {
1465
- templateId?: string | undefined;
1466
- isImmediateCorrection?: boolean | undefined;
1467
- } | null | undefined;
1468
1419
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1469
1420
  } | {
1470
1421
  type: "REJECT_CORRECTION";
@@ -1495,8 +1446,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1495
1446
  street?: string | null | undefined;
1496
1447
  zipCode?: string | null | undefined;
1497
1448
  } | {
1498
- firstname?: string | null | undefined;
1499
- surname?: string | null | undefined;
1449
+ firstname: string;
1450
+ surname: string;
1500
1451
  middlename?: string | null | undefined;
1501
1452
  } | {
1502
1453
  country: string;
@@ -1543,8 +1494,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1543
1494
  street?: string | null | undefined;
1544
1495
  zipCode?: string | null | undefined;
1545
1496
  } | {
1546
- firstname?: string | null | undefined;
1547
- surname?: string | null | undefined;
1497
+ firstname: string;
1498
+ surname: string;
1548
1499
  middlename?: string | null | undefined;
1549
1500
  } | {
1550
1501
  country: string;
@@ -1572,10 +1523,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1572
1523
  start: string;
1573
1524
  end: string;
1574
1525
  } | null | undefined> | null | undefined;
1575
- actionDetails?: {
1576
- templateId?: string | undefined;
1577
- isImmediateCorrection?: boolean | undefined;
1578
- } | null | undefined;
1579
1526
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1580
1527
  } | {
1581
1528
  type: "READ";
@@ -1602,8 +1549,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1602
1549
  street?: string | null | undefined;
1603
1550
  zipCode?: string | null | undefined;
1604
1551
  } | {
1605
- firstname?: string | null | undefined;
1606
- surname?: string | null | undefined;
1552
+ firstname: string;
1553
+ surname: string;
1607
1554
  middlename?: string | null | undefined;
1608
1555
  } | {
1609
1556
  country: string;
@@ -1649,8 +1596,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1649
1596
  street?: string | null | undefined;
1650
1597
  zipCode?: string | null | undefined;
1651
1598
  } | {
1652
- firstname?: string | null | undefined;
1653
- surname?: string | null | undefined;
1599
+ firstname: string;
1600
+ surname: string;
1654
1601
  middlename?: string | null | undefined;
1655
1602
  } | {
1656
1603
  country: string;
@@ -1678,10 +1625,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1678
1625
  start: string;
1679
1626
  end: string;
1680
1627
  } | null | undefined> | null | undefined;
1681
- actionDetails?: {
1682
- templateId?: string | undefined;
1683
- isImmediateCorrection?: boolean | undefined;
1684
- } | null | undefined;
1685
1628
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1686
1629
  } | {
1687
1630
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -1694,10 +1637,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1694
1637
  createdByRole: string;
1695
1638
  createdBySignature?: string | null | undefined;
1696
1639
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1697
- actionDetails?: {
1698
- templateId?: string | undefined;
1699
- isImmediateCorrection?: boolean | undefined;
1700
- } | null | undefined;
1701
1640
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1702
1641
  })[];
1703
1642
  trackingId: string;
@@ -1736,8 +1675,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1736
1675
  street?: string | null | undefined;
1737
1676
  zipCode?: string | null | undefined;
1738
1677
  } | {
1739
- firstname?: string | null | undefined;
1740
- surname?: string | null | undefined;
1678
+ firstname: string;
1679
+ surname: string;
1741
1680
  middlename?: string | null | undefined;
1742
1681
  } | {
1743
1682
  country: string;
@@ -1784,8 +1723,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1784
1723
  street?: string | null | undefined;
1785
1724
  zipCode?: string | null | undefined;
1786
1725
  } | {
1787
- firstname?: string | null | undefined;
1788
- surname?: string | null | undefined;
1726
+ firstname: string;
1727
+ surname: string;
1789
1728
  middlename?: string | null | undefined;
1790
1729
  } | {
1791
1730
  country: string;
@@ -1813,10 +1752,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1813
1752
  start: string;
1814
1753
  end: string;
1815
1754
  } | null | undefined> | null | undefined;
1816
- actionDetails?: {
1817
- templateId?: string | undefined;
1818
- isImmediateCorrection?: boolean | undefined;
1819
- } | null | undefined;
1820
1755
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1821
1756
  } | {
1822
1757
  type: "UNASSIGN";
@@ -1843,8 +1778,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1843
1778
  street?: string | null | undefined;
1844
1779
  zipCode?: string | null | undefined;
1845
1780
  } | {
1846
- firstname?: string | null | undefined;
1847
- surname?: string | null | undefined;
1781
+ firstname: string;
1782
+ surname: string;
1848
1783
  middlename?: string | null | undefined;
1849
1784
  } | {
1850
1785
  country: string;
@@ -1890,8 +1825,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1890
1825
  street?: string | null | undefined;
1891
1826
  zipCode?: string | null | undefined;
1892
1827
  } | {
1893
- firstname?: string | null | undefined;
1894
- surname?: string | null | undefined;
1828
+ firstname: string;
1829
+ surname: string;
1895
1830
  middlename?: string | null | undefined;
1896
1831
  } | {
1897
1832
  country: string;
@@ -1919,10 +1854,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1919
1854
  start: string;
1920
1855
  end: string;
1921
1856
  } | null | undefined> | null | undefined;
1922
- actionDetails?: {
1923
- templateId?: string | undefined;
1924
- isImmediateCorrection?: boolean | undefined;
1925
- } | null | undefined;
1926
1857
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1927
1858
  } | {
1928
1859
  type: "REGISTER";
@@ -1949,8 +1880,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1949
1880
  street?: string | null | undefined;
1950
1881
  zipCode?: string | null | undefined;
1951
1882
  } | {
1952
- firstname?: string | null | undefined;
1953
- surname?: string | null | undefined;
1883
+ firstname: string;
1884
+ surname: string;
1954
1885
  middlename?: string | null | undefined;
1955
1886
  } | {
1956
1887
  country: string;
@@ -1996,8 +1927,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1996
1927
  street?: string | null | undefined;
1997
1928
  zipCode?: string | null | undefined;
1998
1929
  } | {
1999
- firstname?: string | null | undefined;
2000
- surname?: string | null | undefined;
1930
+ firstname: string;
1931
+ surname: string;
2001
1932
  middlename?: string | null | undefined;
2002
1933
  } | {
2003
1934
  country: string;
@@ -2025,10 +1956,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2025
1956
  start: string;
2026
1957
  end: string;
2027
1958
  } | null | undefined> | null | undefined;
2028
- actionDetails?: {
2029
- templateId?: string | undefined;
2030
- isImmediateCorrection?: boolean | undefined;
2031
- } | null | undefined;
2032
1959
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
2033
1960
  registrationNumber?: string | undefined;
2034
1961
  } | {
@@ -2056,8 +1983,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2056
1983
  street?: string | null | undefined;
2057
1984
  zipCode?: string | null | undefined;
2058
1985
  } | {
2059
- firstname?: string | null | undefined;
2060
- surname?: string | null | undefined;
1986
+ firstname: string;
1987
+ surname: string;
2061
1988
  middlename?: string | null | undefined;
2062
1989
  } | {
2063
1990
  country: string;
@@ -2103,8 +2030,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2103
2030
  street?: string | null | undefined;
2104
2031
  zipCode?: string | null | undefined;
2105
2032
  } | {
2106
- firstname?: string | null | undefined;
2107
- surname?: string | null | undefined;
2033
+ firstname: string;
2034
+ surname: string;
2108
2035
  middlename?: string | null | undefined;
2109
2036
  } | {
2110
2037
  country: string;
@@ -2132,10 +2059,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2132
2059
  start: string;
2133
2060
  end: string;
2134
2061
  } | null | undefined> | null | undefined;
2135
- actionDetails?: {
2136
- templateId?: string | undefined;
2137
- isImmediateCorrection?: boolean | undefined;
2138
- } | null | undefined;
2139
2062
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
2140
2063
  } | {
2141
2064
  type: "VALIDATE";
@@ -2162,8 +2085,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2162
2085
  street?: string | null | undefined;
2163
2086
  zipCode?: string | null | undefined;
2164
2087
  } | {
2165
- firstname?: string | null | undefined;
2166
- surname?: string | null | undefined;
2088
+ firstname: string;
2089
+ surname: string;
2167
2090
  middlename?: string | null | undefined;
2168
2091
  } | {
2169
2092
  country: string;
@@ -2209,8 +2132,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2209
2132
  street?: string | null | undefined;
2210
2133
  zipCode?: string | null | undefined;
2211
2134
  } | {
2212
- firstname?: string | null | undefined;
2213
- surname?: string | null | undefined;
2135
+ firstname: string;
2136
+ surname: string;
2214
2137
  middlename?: string | null | undefined;
2215
2138
  } | {
2216
2139
  country: string;
@@ -2238,10 +2161,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2238
2161
  start: string;
2239
2162
  end: string;
2240
2163
  } | null | undefined> | null | undefined;
2241
- actionDetails?: {
2242
- templateId?: string | undefined;
2243
- isImmediateCorrection?: boolean | undefined;
2244
- } | null | undefined;
2245
2164
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
2246
2165
  } | {
2247
2166
  type: "REJECT";
@@ -2272,8 +2191,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2272
2191
  street?: string | null | undefined;
2273
2192
  zipCode?: string | null | undefined;
2274
2193
  } | {
2275
- firstname?: string | null | undefined;
2276
- surname?: string | null | undefined;
2194
+ firstname: string;
2195
+ surname: string;
2277
2196
  middlename?: string | null | undefined;
2278
2197
  } | {
2279
2198
  country: string;
@@ -2319,8 +2238,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2319
2238
  street?: string | null | undefined;
2320
2239
  zipCode?: string | null | undefined;
2321
2240
  } | {
2322
- firstname?: string | null | undefined;
2323
- surname?: string | null | undefined;
2241
+ firstname: string;
2242
+ surname: string;
2324
2243
  middlename?: string | null | undefined;
2325
2244
  } | {
2326
2245
  country: string;
@@ -2348,10 +2267,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2348
2267
  start: string;
2349
2268
  end: string;
2350
2269
  } | null | undefined> | null | undefined;
2351
- actionDetails?: {
2352
- templateId?: string | undefined;
2353
- isImmediateCorrection?: boolean | undefined;
2354
- } | null | undefined;
2355
2270
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
2356
2271
  } | {
2357
2272
  type: "MARKED_AS_DUPLICATE";
@@ -2378,8 +2293,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2378
2293
  street?: string | null | undefined;
2379
2294
  zipCode?: string | null | undefined;
2380
2295
  } | {
2381
- firstname?: string | null | undefined;
2382
- surname?: string | null | undefined;
2296
+ firstname: string;
2297
+ surname: string;
2383
2298
  middlename?: string | null | undefined;
2384
2299
  } | {
2385
2300
  country: string;
@@ -2425,8 +2340,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2425
2340
  street?: string | null | undefined;
2426
2341
  zipCode?: string | null | undefined;
2427
2342
  } | {
2428
- firstname?: string | null | undefined;
2429
- surname?: string | null | undefined;
2343
+ firstname: string;
2344
+ surname: string;
2430
2345
  middlename?: string | null | undefined;
2431
2346
  } | {
2432
2347
  country: string;
@@ -2454,10 +2369,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2454
2369
  start: string;
2455
2370
  end: string;
2456
2371
  } | null | undefined> | null | undefined;
2457
- actionDetails?: {
2458
- templateId?: string | undefined;
2459
- isImmediateCorrection?: boolean | undefined;
2460
- } | null | undefined;
2461
2372
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
2462
2373
  } | {
2463
2374
  type: "ARCHIVE";
@@ -2488,8 +2399,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2488
2399
  street?: string | null | undefined;
2489
2400
  zipCode?: string | null | undefined;
2490
2401
  } | {
2491
- firstname?: string | null | undefined;
2492
- surname?: string | null | undefined;
2402
+ firstname: string;
2403
+ surname: string;
2493
2404
  middlename?: string | null | undefined;
2494
2405
  } | {
2495
2406
  country: string;
@@ -2535,8 +2446,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2535
2446
  street?: string | null | undefined;
2536
2447
  zipCode?: string | null | undefined;
2537
2448
  } | {
2538
- firstname?: string | null | undefined;
2539
- surname?: string | null | undefined;
2449
+ firstname: string;
2450
+ surname: string;
2540
2451
  middlename?: string | null | undefined;
2541
2452
  } | {
2542
2453
  country: string;
@@ -2564,10 +2475,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2564
2475
  start: string;
2565
2476
  end: string;
2566
2477
  } | null | undefined> | null | undefined;
2567
- actionDetails?: {
2568
- templateId?: string | undefined;
2569
- isImmediateCorrection?: boolean | undefined;
2570
- } | null | undefined;
2571
2478
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
2572
2479
  } | {
2573
2480
  type: "CREATE";
@@ -2594,8 +2501,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2594
2501
  street?: string | null | undefined;
2595
2502
  zipCode?: string | null | undefined;
2596
2503
  } | {
2597
- firstname?: string | null | undefined;
2598
- surname?: string | null | undefined;
2504
+ firstname: string;
2505
+ surname: string;
2599
2506
  middlename?: string | null | undefined;
2600
2507
  } | {
2601
2508
  country: string;
@@ -2641,8 +2548,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2641
2548
  street?: string | null | undefined;
2642
2549
  zipCode?: string | null | undefined;
2643
2550
  } | {
2644
- firstname?: string | null | undefined;
2645
- surname?: string | null | undefined;
2551
+ firstname: string;
2552
+ surname: string;
2646
2553
  middlename?: string | null | undefined;
2647
2554
  } | {
2648
2555
  country: string;
@@ -2670,10 +2577,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2670
2577
  start: string;
2671
2578
  end: string;
2672
2579
  } | null | undefined> | null | undefined;
2673
- actionDetails?: {
2674
- templateId?: string | undefined;
2675
- isImmediateCorrection?: boolean | undefined;
2676
- } | null | undefined;
2677
2580
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
2678
2581
  } | {
2679
2582
  type: "NOTIFY";
@@ -2700,8 +2603,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2700
2603
  street?: string | null | undefined;
2701
2604
  zipCode?: string | null | undefined;
2702
2605
  } | {
2703
- firstname?: string | null | undefined;
2704
- surname?: string | null | undefined;
2606
+ firstname: string;
2607
+ surname: string;
2705
2608
  middlename?: string | null | undefined;
2706
2609
  } | {
2707
2610
  country: string;
@@ -2747,8 +2650,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2747
2650
  street?: string | null | undefined;
2748
2651
  zipCode?: string | null | undefined;
2749
2652
  } | {
2750
- firstname?: string | null | undefined;
2751
- surname?: string | null | undefined;
2653
+ firstname: string;
2654
+ surname: string;
2752
2655
  middlename?: string | null | undefined;
2753
2656
  } | {
2754
2657
  country: string;
@@ -2776,10 +2679,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2776
2679
  start: string;
2777
2680
  end: string;
2778
2681
  } | null | undefined> | null | undefined;
2779
- actionDetails?: {
2780
- templateId?: string | undefined;
2781
- isImmediateCorrection?: boolean | undefined;
2782
- } | null | undefined;
2783
2682
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
2784
2683
  } | {
2785
2684
  type: "PRINT_CERTIFICATE";
@@ -2806,8 +2705,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2806
2705
  street?: string | null | undefined;
2807
2706
  zipCode?: string | null | undefined;
2808
2707
  } | {
2809
- firstname?: string | null | undefined;
2810
- surname?: string | null | undefined;
2708
+ firstname: string;
2709
+ surname: string;
2811
2710
  middlename?: string | null | undefined;
2812
2711
  } | {
2813
2712
  country: string;
@@ -2835,6 +2734,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2835
2734
  start: string;
2836
2735
  end: string;
2837
2736
  } | null | undefined>;
2737
+ content?: {
2738
+ templateId?: string | undefined;
2739
+ } | null | undefined;
2838
2740
  createdBySignature?: string | null | undefined;
2839
2741
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
2840
2742
  annotation?: Record<string, string | number | boolean | {
@@ -2853,8 +2755,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2853
2755
  street?: string | null | undefined;
2854
2756
  zipCode?: string | null | undefined;
2855
2757
  } | {
2856
- firstname?: string | null | undefined;
2857
- surname?: string | null | undefined;
2758
+ firstname: string;
2759
+ surname: string;
2858
2760
  middlename?: string | null | undefined;
2859
2761
  } | {
2860
2762
  country: string;
@@ -2882,10 +2784,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2882
2784
  start: string;
2883
2785
  end: string;
2884
2786
  } | null | undefined> | null | undefined;
2885
- actionDetails?: {
2886
- templateId?: string | undefined;
2887
- isImmediateCorrection?: boolean | undefined;
2888
- } | null | undefined;
2889
2787
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
2890
2788
  } | {
2891
2789
  type: "REQUEST_CORRECTION";
@@ -2912,8 +2810,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2912
2810
  street?: string | null | undefined;
2913
2811
  zipCode?: string | null | undefined;
2914
2812
  } | {
2915
- firstname?: string | null | undefined;
2916
- surname?: string | null | undefined;
2813
+ firstname: string;
2814
+ surname: string;
2917
2815
  middlename?: string | null | undefined;
2918
2816
  } | {
2919
2817
  country: string;
@@ -2959,8 +2857,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2959
2857
  street?: string | null | undefined;
2960
2858
  zipCode?: string | null | undefined;
2961
2859
  } | {
2962
- firstname?: string | null | undefined;
2963
- surname?: string | null | undefined;
2860
+ firstname: string;
2861
+ surname: string;
2964
2862
  middlename?: string | null | undefined;
2965
2863
  } | {
2966
2864
  country: string;
@@ -2988,10 +2886,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2988
2886
  start: string;
2989
2887
  end: string;
2990
2888
  } | null | undefined> | null | undefined;
2991
- actionDetails?: {
2992
- templateId?: string | undefined;
2993
- isImmediateCorrection?: boolean | undefined;
2994
- } | null | undefined;
2995
2889
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
2996
2890
  } | {
2997
2891
  type: "APPROVE_CORRECTION";
@@ -3018,8 +2912,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3018
2912
  street?: string | null | undefined;
3019
2913
  zipCode?: string | null | undefined;
3020
2914
  } | {
3021
- firstname?: string | null | undefined;
3022
- surname?: string | null | undefined;
2915
+ firstname: string;
2916
+ surname: string;
3023
2917
  middlename?: string | null | undefined;
3024
2918
  } | {
3025
2919
  country: string;
@@ -3066,8 +2960,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3066
2960
  street?: string | null | undefined;
3067
2961
  zipCode?: string | null | undefined;
3068
2962
  } | {
3069
- firstname?: string | null | undefined;
3070
- surname?: string | null | undefined;
2963
+ firstname: string;
2964
+ surname: string;
3071
2965
  middlename?: string | null | undefined;
3072
2966
  } | {
3073
2967
  country: string;
@@ -3095,10 +2989,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3095
2989
  start: string;
3096
2990
  end: string;
3097
2991
  } | null | undefined> | null | undefined;
3098
- actionDetails?: {
3099
- templateId?: string | undefined;
3100
- isImmediateCorrection?: boolean | undefined;
3101
- } | null | undefined;
3102
2992
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3103
2993
  } | {
3104
2994
  type: "REJECT_CORRECTION";
@@ -3129,8 +3019,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3129
3019
  street?: string | null | undefined;
3130
3020
  zipCode?: string | null | undefined;
3131
3021
  } | {
3132
- firstname?: string | null | undefined;
3133
- surname?: string | null | undefined;
3022
+ firstname: string;
3023
+ surname: string;
3134
3024
  middlename?: string | null | undefined;
3135
3025
  } | {
3136
3026
  country: string;
@@ -3177,8 +3067,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3177
3067
  street?: string | null | undefined;
3178
3068
  zipCode?: string | null | undefined;
3179
3069
  } | {
3180
- firstname?: string | null | undefined;
3181
- surname?: string | null | undefined;
3070
+ firstname: string;
3071
+ surname: string;
3182
3072
  middlename?: string | null | undefined;
3183
3073
  } | {
3184
3074
  country: string;
@@ -3206,10 +3096,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3206
3096
  start: string;
3207
3097
  end: string;
3208
3098
  } | null | undefined> | null | undefined;
3209
- actionDetails?: {
3210
- templateId?: string | undefined;
3211
- isImmediateCorrection?: boolean | undefined;
3212
- } | null | undefined;
3213
3099
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3214
3100
  } | {
3215
3101
  type: "READ";
@@ -3236,8 +3122,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3236
3122
  street?: string | null | undefined;
3237
3123
  zipCode?: string | null | undefined;
3238
3124
  } | {
3239
- firstname?: string | null | undefined;
3240
- surname?: string | null | undefined;
3125
+ firstname: string;
3126
+ surname: string;
3241
3127
  middlename?: string | null | undefined;
3242
3128
  } | {
3243
3129
  country: string;
@@ -3283,8 +3169,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3283
3169
  street?: string | null | undefined;
3284
3170
  zipCode?: string | null | undefined;
3285
3171
  } | {
3286
- firstname?: string | null | undefined;
3287
- surname?: string | null | undefined;
3172
+ firstname: string;
3173
+ surname: string;
3288
3174
  middlename?: string | null | undefined;
3289
3175
  } | {
3290
3176
  country: string;
@@ -3312,10 +3198,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3312
3198
  start: string;
3313
3199
  end: string;
3314
3200
  } | null | undefined> | null | undefined;
3315
- actionDetails?: {
3316
- templateId?: string | undefined;
3317
- isImmediateCorrection?: boolean | undefined;
3318
- } | null | undefined;
3319
3201
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3320
3202
  } | {
3321
3203
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -3328,10 +3210,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3328
3210
  createdByRole: string;
3329
3211
  createdBySignature?: string | null | undefined;
3330
3212
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3331
- actionDetails?: {
3332
- templateId?: string | undefined;
3333
- isImmediateCorrection?: boolean | undefined;
3334
- } | null | undefined;
3335
3213
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3336
3214
  })[];
3337
3215
  trackingId: string;
@@ -3399,8 +3277,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3399
3277
  street?: string | null | undefined;
3400
3278
  zipCode?: string | null | undefined;
3401
3279
  } | {
3402
- firstname?: string | null | undefined;
3403
- surname?: string | null | undefined;
3280
+ firstname: string;
3281
+ surname: string;
3404
3282
  middlename?: string | null | undefined;
3405
3283
  } | {
3406
3284
  country: string;
@@ -3446,8 +3324,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3446
3324
  street?: string | null | undefined;
3447
3325
  zipCode?: string | null | undefined;
3448
3326
  } | {
3449
- firstname?: string | null | undefined;
3450
- surname?: string | null | undefined;
3327
+ firstname: string;
3328
+ surname: string;
3451
3329
  middlename?: string | null | undefined;
3452
3330
  } | {
3453
3331
  country: string;
@@ -3475,10 +3353,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3475
3353
  start: string;
3476
3354
  end: string;
3477
3355
  } | null | undefined> | null | undefined;
3478
- actionDetails?: {
3479
- templateId?: string | undefined;
3480
- isImmediateCorrection?: boolean | undefined;
3481
- } | null | undefined;
3482
3356
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3483
3357
  };
3484
3358
  }[];
@@ -3506,8 +3380,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3506
3380
  street?: string | null | undefined;
3507
3381
  zipCode?: string | null | undefined;
3508
3382
  } | {
3509
- firstname?: string | null | undefined;
3510
- surname?: string | null | undefined;
3383
+ firstname: string;
3384
+ surname: string;
3511
3385
  middlename?: string | null | undefined;
3512
3386
  } | {
3513
3387
  country: string;
@@ -3551,8 +3425,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3551
3425
  street?: string | null | undefined;
3552
3426
  zipCode?: string | null | undefined;
3553
3427
  } | {
3554
- firstname?: string | null | undefined;
3555
- surname?: string | null | undefined;
3428
+ firstname: string;
3429
+ surname: string;
3556
3430
  middlename?: string | null | undefined;
3557
3431
  } | {
3558
3432
  country: string;
@@ -3580,10 +3454,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3580
3454
  start: string;
3581
3455
  end: string;
3582
3456
  } | null | undefined> | undefined;
3583
- actionDetails?: {
3584
- templateId?: string | undefined;
3585
- isImmediateCorrection?: boolean | undefined;
3586
- } | undefined;
3587
3457
  originalActionId?: string | undefined;
3588
3458
  keepAssignment?: boolean | undefined;
3589
3459
  };
@@ -3616,8 +3486,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3616
3486
  street?: string | null | undefined;
3617
3487
  zipCode?: string | null | undefined;
3618
3488
  } | {
3619
- firstname?: string | null | undefined;
3620
- surname?: string | null | undefined;
3489
+ firstname: string;
3490
+ surname: string;
3621
3491
  middlename?: string | null | undefined;
3622
3492
  } | {
3623
3493
  country: string;
@@ -3663,8 +3533,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3663
3533
  street?: string | null | undefined;
3664
3534
  zipCode?: string | null | undefined;
3665
3535
  } | {
3666
- firstname?: string | null | undefined;
3667
- surname?: string | null | undefined;
3536
+ firstname: string;
3537
+ surname: string;
3668
3538
  middlename?: string | null | undefined;
3669
3539
  } | {
3670
3540
  country: string;
@@ -3692,10 +3562,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3692
3562
  start: string;
3693
3563
  end: string;
3694
3564
  } | null | undefined> | null | undefined;
3695
- actionDetails?: {
3696
- templateId?: string | undefined;
3697
- isImmediateCorrection?: boolean | undefined;
3698
- } | null | undefined;
3699
3565
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3700
3566
  };
3701
3567
  };
@@ -4067,8 +3933,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4067
3933
  street?: string | null | undefined;
4068
3934
  zipCode?: string | null | undefined;
4069
3935
  } | {
4070
- firstname?: string | null | undefined;
4071
- surname?: string | null | undefined;
3936
+ firstname: string;
3937
+ surname: string;
4072
3938
  middlename?: string | null | undefined;
4073
3939
  } | {
4074
3940
  country: string;
@@ -4112,8 +3978,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4112
3978
  street?: string | null | undefined;
4113
3979
  zipCode?: string | null | undefined;
4114
3980
  } | {
4115
- firstname?: string | null | undefined;
4116
- surname?: string | null | undefined;
3981
+ firstname: string;
3982
+ surname: string;
4117
3983
  middlename?: string | null | undefined;
4118
3984
  } | {
4119
3985
  country: string;
@@ -4141,10 +4007,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4141
4007
  start: string;
4142
4008
  end: string;
4143
4009
  } | null | undefined> | undefined;
4144
- actionDetails?: {
4145
- templateId?: string | undefined;
4146
- isImmediateCorrection?: boolean | undefined;
4147
- } | undefined;
4148
4010
  originalActionId?: string | undefined;
4149
4011
  keepAssignment?: boolean | undefined;
4150
4012
  };
@@ -4178,8 +4040,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4178
4040
  street?: string | null | undefined;
4179
4041
  zipCode?: string | null | undefined;
4180
4042
  } | {
4181
- firstname?: string | null | undefined;
4182
- surname?: string | null | undefined;
4043
+ firstname: string;
4044
+ surname: string;
4183
4045
  middlename?: string | null | undefined;
4184
4046
  } | {
4185
4047
  country: string;
@@ -4226,8 +4088,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4226
4088
  street?: string | null | undefined;
4227
4089
  zipCode?: string | null | undefined;
4228
4090
  } | {
4229
- firstname?: string | null | undefined;
4230
- surname?: string | null | undefined;
4091
+ firstname: string;
4092
+ surname: string;
4231
4093
  middlename?: string | null | undefined;
4232
4094
  } | {
4233
4095
  country: string;
@@ -4255,10 +4117,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4255
4117
  start: string;
4256
4118
  end: string;
4257
4119
  } | null | undefined> | null | undefined;
4258
- actionDetails?: {
4259
- templateId?: string | undefined;
4260
- isImmediateCorrection?: boolean | undefined;
4261
- } | null | undefined;
4262
4120
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4263
4121
  } | {
4264
4122
  type: "UNASSIGN";
@@ -4285,8 +4143,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4285
4143
  street?: string | null | undefined;
4286
4144
  zipCode?: string | null | undefined;
4287
4145
  } | {
4288
- firstname?: string | null | undefined;
4289
- surname?: string | null | undefined;
4146
+ firstname: string;
4147
+ surname: string;
4290
4148
  middlename?: string | null | undefined;
4291
4149
  } | {
4292
4150
  country: string;
@@ -4332,8 +4190,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4332
4190
  street?: string | null | undefined;
4333
4191
  zipCode?: string | null | undefined;
4334
4192
  } | {
4335
- firstname?: string | null | undefined;
4336
- surname?: string | null | undefined;
4193
+ firstname: string;
4194
+ surname: string;
4337
4195
  middlename?: string | null | undefined;
4338
4196
  } | {
4339
4197
  country: string;
@@ -4361,10 +4219,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4361
4219
  start: string;
4362
4220
  end: string;
4363
4221
  } | null | undefined> | null | undefined;
4364
- actionDetails?: {
4365
- templateId?: string | undefined;
4366
- isImmediateCorrection?: boolean | undefined;
4367
- } | null | undefined;
4368
4222
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4369
4223
  } | {
4370
4224
  type: "REGISTER";
@@ -4391,8 +4245,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4391
4245
  street?: string | null | undefined;
4392
4246
  zipCode?: string | null | undefined;
4393
4247
  } | {
4394
- firstname?: string | null | undefined;
4395
- surname?: string | null | undefined;
4248
+ firstname: string;
4249
+ surname: string;
4396
4250
  middlename?: string | null | undefined;
4397
4251
  } | {
4398
4252
  country: string;
@@ -4438,8 +4292,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4438
4292
  street?: string | null | undefined;
4439
4293
  zipCode?: string | null | undefined;
4440
4294
  } | {
4441
- firstname?: string | null | undefined;
4442
- surname?: string | null | undefined;
4295
+ firstname: string;
4296
+ surname: string;
4443
4297
  middlename?: string | null | undefined;
4444
4298
  } | {
4445
4299
  country: string;
@@ -4467,10 +4321,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4467
4321
  start: string;
4468
4322
  end: string;
4469
4323
  } | null | undefined> | null | undefined;
4470
- actionDetails?: {
4471
- templateId?: string | undefined;
4472
- isImmediateCorrection?: boolean | undefined;
4473
- } | null | undefined;
4474
4324
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4475
4325
  registrationNumber?: string | undefined;
4476
4326
  } | {
@@ -4498,8 +4348,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4498
4348
  street?: string | null | undefined;
4499
4349
  zipCode?: string | null | undefined;
4500
4350
  } | {
4501
- firstname?: string | null | undefined;
4502
- surname?: string | null | undefined;
4351
+ firstname: string;
4352
+ surname: string;
4503
4353
  middlename?: string | null | undefined;
4504
4354
  } | {
4505
4355
  country: string;
@@ -4545,8 +4395,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4545
4395
  street?: string | null | undefined;
4546
4396
  zipCode?: string | null | undefined;
4547
4397
  } | {
4548
- firstname?: string | null | undefined;
4549
- surname?: string | null | undefined;
4398
+ firstname: string;
4399
+ surname: string;
4550
4400
  middlename?: string | null | undefined;
4551
4401
  } | {
4552
4402
  country: string;
@@ -4574,10 +4424,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4574
4424
  start: string;
4575
4425
  end: string;
4576
4426
  } | null | undefined> | null | undefined;
4577
- actionDetails?: {
4578
- templateId?: string | undefined;
4579
- isImmediateCorrection?: boolean | undefined;
4580
- } | null | undefined;
4581
4427
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4582
4428
  } | {
4583
4429
  type: "VALIDATE";
@@ -4604,8 +4450,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4604
4450
  street?: string | null | undefined;
4605
4451
  zipCode?: string | null | undefined;
4606
4452
  } | {
4607
- firstname?: string | null | undefined;
4608
- surname?: string | null | undefined;
4453
+ firstname: string;
4454
+ surname: string;
4609
4455
  middlename?: string | null | undefined;
4610
4456
  } | {
4611
4457
  country: string;
@@ -4651,8 +4497,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4651
4497
  street?: string | null | undefined;
4652
4498
  zipCode?: string | null | undefined;
4653
4499
  } | {
4654
- firstname?: string | null | undefined;
4655
- surname?: string | null | undefined;
4500
+ firstname: string;
4501
+ surname: string;
4656
4502
  middlename?: string | null | undefined;
4657
4503
  } | {
4658
4504
  country: string;
@@ -4680,10 +4526,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4680
4526
  start: string;
4681
4527
  end: string;
4682
4528
  } | null | undefined> | null | undefined;
4683
- actionDetails?: {
4684
- templateId?: string | undefined;
4685
- isImmediateCorrection?: boolean | undefined;
4686
- } | null | undefined;
4687
4529
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4688
4530
  } | {
4689
4531
  type: "REJECT";
@@ -4714,8 +4556,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4714
4556
  street?: string | null | undefined;
4715
4557
  zipCode?: string | null | undefined;
4716
4558
  } | {
4717
- firstname?: string | null | undefined;
4718
- surname?: string | null | undefined;
4559
+ firstname: string;
4560
+ surname: string;
4719
4561
  middlename?: string | null | undefined;
4720
4562
  } | {
4721
4563
  country: string;
@@ -4761,8 +4603,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4761
4603
  street?: string | null | undefined;
4762
4604
  zipCode?: string | null | undefined;
4763
4605
  } | {
4764
- firstname?: string | null | undefined;
4765
- surname?: string | null | undefined;
4606
+ firstname: string;
4607
+ surname: string;
4766
4608
  middlename?: string | null | undefined;
4767
4609
  } | {
4768
4610
  country: string;
@@ -4790,10 +4632,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4790
4632
  start: string;
4791
4633
  end: string;
4792
4634
  } | null | undefined> | null | undefined;
4793
- actionDetails?: {
4794
- templateId?: string | undefined;
4795
- isImmediateCorrection?: boolean | undefined;
4796
- } | null | undefined;
4797
4635
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4798
4636
  } | {
4799
4637
  type: "MARKED_AS_DUPLICATE";
@@ -4820,8 +4658,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4820
4658
  street?: string | null | undefined;
4821
4659
  zipCode?: string | null | undefined;
4822
4660
  } | {
4823
- firstname?: string | null | undefined;
4824
- surname?: string | null | undefined;
4661
+ firstname: string;
4662
+ surname: string;
4825
4663
  middlename?: string | null | undefined;
4826
4664
  } | {
4827
4665
  country: string;
@@ -4867,8 +4705,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4867
4705
  street?: string | null | undefined;
4868
4706
  zipCode?: string | null | undefined;
4869
4707
  } | {
4870
- firstname?: string | null | undefined;
4871
- surname?: string | null | undefined;
4708
+ firstname: string;
4709
+ surname: string;
4872
4710
  middlename?: string | null | undefined;
4873
4711
  } | {
4874
4712
  country: string;
@@ -4896,10 +4734,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4896
4734
  start: string;
4897
4735
  end: string;
4898
4736
  } | null | undefined> | null | undefined;
4899
- actionDetails?: {
4900
- templateId?: string | undefined;
4901
- isImmediateCorrection?: boolean | undefined;
4902
- } | null | undefined;
4903
4737
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4904
4738
  } | {
4905
4739
  type: "ARCHIVE";
@@ -4930,8 +4764,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4930
4764
  street?: string | null | undefined;
4931
4765
  zipCode?: string | null | undefined;
4932
4766
  } | {
4933
- firstname?: string | null | undefined;
4934
- surname?: string | null | undefined;
4767
+ firstname: string;
4768
+ surname: string;
4935
4769
  middlename?: string | null | undefined;
4936
4770
  } | {
4937
4771
  country: string;
@@ -4977,8 +4811,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4977
4811
  street?: string | null | undefined;
4978
4812
  zipCode?: string | null | undefined;
4979
4813
  } | {
4980
- firstname?: string | null | undefined;
4981
- surname?: string | null | undefined;
4814
+ firstname: string;
4815
+ surname: string;
4982
4816
  middlename?: string | null | undefined;
4983
4817
  } | {
4984
4818
  country: string;
@@ -5006,10 +4840,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5006
4840
  start: string;
5007
4841
  end: string;
5008
4842
  } | null | undefined> | null | undefined;
5009
- actionDetails?: {
5010
- templateId?: string | undefined;
5011
- isImmediateCorrection?: boolean | undefined;
5012
- } | null | undefined;
5013
4843
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5014
4844
  } | {
5015
4845
  type: "CREATE";
@@ -5036,8 +4866,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5036
4866
  street?: string | null | undefined;
5037
4867
  zipCode?: string | null | undefined;
5038
4868
  } | {
5039
- firstname?: string | null | undefined;
5040
- surname?: string | null | undefined;
4869
+ firstname: string;
4870
+ surname: string;
5041
4871
  middlename?: string | null | undefined;
5042
4872
  } | {
5043
4873
  country: string;
@@ -5083,8 +4913,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5083
4913
  street?: string | null | undefined;
5084
4914
  zipCode?: string | null | undefined;
5085
4915
  } | {
5086
- firstname?: string | null | undefined;
5087
- surname?: string | null | undefined;
4916
+ firstname: string;
4917
+ surname: string;
5088
4918
  middlename?: string | null | undefined;
5089
4919
  } | {
5090
4920
  country: string;
@@ -5112,10 +4942,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5112
4942
  start: string;
5113
4943
  end: string;
5114
4944
  } | null | undefined> | null | undefined;
5115
- actionDetails?: {
5116
- templateId?: string | undefined;
5117
- isImmediateCorrection?: boolean | undefined;
5118
- } | null | undefined;
5119
4945
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5120
4946
  } | {
5121
4947
  type: "NOTIFY";
@@ -5142,8 +4968,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5142
4968
  street?: string | null | undefined;
5143
4969
  zipCode?: string | null | undefined;
5144
4970
  } | {
5145
- firstname?: string | null | undefined;
5146
- surname?: string | null | undefined;
4971
+ firstname: string;
4972
+ surname: string;
5147
4973
  middlename?: string | null | undefined;
5148
4974
  } | {
5149
4975
  country: string;
@@ -5189,8 +5015,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5189
5015
  street?: string | null | undefined;
5190
5016
  zipCode?: string | null | undefined;
5191
5017
  } | {
5192
- firstname?: string | null | undefined;
5193
- surname?: string | null | undefined;
5018
+ firstname: string;
5019
+ surname: string;
5194
5020
  middlename?: string | null | undefined;
5195
5021
  } | {
5196
5022
  country: string;
@@ -5218,10 +5044,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5218
5044
  start: string;
5219
5045
  end: string;
5220
5046
  } | null | undefined> | null | undefined;
5221
- actionDetails?: {
5222
- templateId?: string | undefined;
5223
- isImmediateCorrection?: boolean | undefined;
5224
- } | null | undefined;
5225
5047
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5226
5048
  } | {
5227
5049
  type: "PRINT_CERTIFICATE";
@@ -5248,8 +5070,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5248
5070
  street?: string | null | undefined;
5249
5071
  zipCode?: string | null | undefined;
5250
5072
  } | {
5251
- firstname?: string | null | undefined;
5252
- surname?: string | null | undefined;
5073
+ firstname: string;
5074
+ surname: string;
5253
5075
  middlename?: string | null | undefined;
5254
5076
  } | {
5255
5077
  country: string;
@@ -5277,6 +5099,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5277
5099
  start: string;
5278
5100
  end: string;
5279
5101
  } | null | undefined>;
5102
+ content?: {
5103
+ templateId?: string | undefined;
5104
+ } | null | undefined;
5280
5105
  createdBySignature?: string | null | undefined;
5281
5106
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5282
5107
  annotation?: Record<string, string | number | boolean | {
@@ -5295,8 +5120,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5295
5120
  street?: string | null | undefined;
5296
5121
  zipCode?: string | null | undefined;
5297
5122
  } | {
5298
- firstname?: string | null | undefined;
5299
- surname?: string | null | undefined;
5123
+ firstname: string;
5124
+ surname: string;
5300
5125
  middlename?: string | null | undefined;
5301
5126
  } | {
5302
5127
  country: string;
@@ -5324,10 +5149,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5324
5149
  start: string;
5325
5150
  end: string;
5326
5151
  } | null | undefined> | null | undefined;
5327
- actionDetails?: {
5328
- templateId?: string | undefined;
5329
- isImmediateCorrection?: boolean | undefined;
5330
- } | null | undefined;
5331
5152
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5332
5153
  } | {
5333
5154
  type: "REQUEST_CORRECTION";
@@ -5354,8 +5175,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5354
5175
  street?: string | null | undefined;
5355
5176
  zipCode?: string | null | undefined;
5356
5177
  } | {
5357
- firstname?: string | null | undefined;
5358
- surname?: string | null | undefined;
5178
+ firstname: string;
5179
+ surname: string;
5359
5180
  middlename?: string | null | undefined;
5360
5181
  } | {
5361
5182
  country: string;
@@ -5401,8 +5222,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5401
5222
  street?: string | null | undefined;
5402
5223
  zipCode?: string | null | undefined;
5403
5224
  } | {
5404
- firstname?: string | null | undefined;
5405
- surname?: string | null | undefined;
5225
+ firstname: string;
5226
+ surname: string;
5406
5227
  middlename?: string | null | undefined;
5407
5228
  } | {
5408
5229
  country: string;
@@ -5430,10 +5251,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5430
5251
  start: string;
5431
5252
  end: string;
5432
5253
  } | null | undefined> | null | undefined;
5433
- actionDetails?: {
5434
- templateId?: string | undefined;
5435
- isImmediateCorrection?: boolean | undefined;
5436
- } | null | undefined;
5437
5254
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5438
5255
  } | {
5439
5256
  type: "APPROVE_CORRECTION";
@@ -5460,8 +5277,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5460
5277
  street?: string | null | undefined;
5461
5278
  zipCode?: string | null | undefined;
5462
5279
  } | {
5463
- firstname?: string | null | undefined;
5464
- surname?: string | null | undefined;
5280
+ firstname: string;
5281
+ surname: string;
5465
5282
  middlename?: string | null | undefined;
5466
5283
  } | {
5467
5284
  country: string;
@@ -5508,8 +5325,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5508
5325
  street?: string | null | undefined;
5509
5326
  zipCode?: string | null | undefined;
5510
5327
  } | {
5511
- firstname?: string | null | undefined;
5512
- surname?: string | null | undefined;
5328
+ firstname: string;
5329
+ surname: string;
5513
5330
  middlename?: string | null | undefined;
5514
5331
  } | {
5515
5332
  country: string;
@@ -5537,10 +5354,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5537
5354
  start: string;
5538
5355
  end: string;
5539
5356
  } | null | undefined> | null | undefined;
5540
- actionDetails?: {
5541
- templateId?: string | undefined;
5542
- isImmediateCorrection?: boolean | undefined;
5543
- } | null | undefined;
5544
5357
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5545
5358
  } | {
5546
5359
  type: "REJECT_CORRECTION";
@@ -5571,8 +5384,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5571
5384
  street?: string | null | undefined;
5572
5385
  zipCode?: string | null | undefined;
5573
5386
  } | {
5574
- firstname?: string | null | undefined;
5575
- surname?: string | null | undefined;
5387
+ firstname: string;
5388
+ surname: string;
5576
5389
  middlename?: string | null | undefined;
5577
5390
  } | {
5578
5391
  country: string;
@@ -5619,8 +5432,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5619
5432
  street?: string | null | undefined;
5620
5433
  zipCode?: string | null | undefined;
5621
5434
  } | {
5622
- firstname?: string | null | undefined;
5623
- surname?: string | null | undefined;
5435
+ firstname: string;
5436
+ surname: string;
5624
5437
  middlename?: string | null | undefined;
5625
5438
  } | {
5626
5439
  country: string;
@@ -5648,10 +5461,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5648
5461
  start: string;
5649
5462
  end: string;
5650
5463
  } | null | undefined> | null | undefined;
5651
- actionDetails?: {
5652
- templateId?: string | undefined;
5653
- isImmediateCorrection?: boolean | undefined;
5654
- } | null | undefined;
5655
5464
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5656
5465
  } | {
5657
5466
  type: "READ";
@@ -5678,8 +5487,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5678
5487
  street?: string | null | undefined;
5679
5488
  zipCode?: string | null | undefined;
5680
5489
  } | {
5681
- firstname?: string | null | undefined;
5682
- surname?: string | null | undefined;
5490
+ firstname: string;
5491
+ surname: string;
5683
5492
  middlename?: string | null | undefined;
5684
5493
  } | {
5685
5494
  country: string;
@@ -5725,8 +5534,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5725
5534
  street?: string | null | undefined;
5726
5535
  zipCode?: string | null | undefined;
5727
5536
  } | {
5728
- firstname?: string | null | undefined;
5729
- surname?: string | null | undefined;
5537
+ firstname: string;
5538
+ surname: string;
5730
5539
  middlename?: string | null | undefined;
5731
5540
  } | {
5732
5541
  country: string;
@@ -5754,10 +5563,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5754
5563
  start: string;
5755
5564
  end: string;
5756
5565
  } | null | undefined> | null | undefined;
5757
- actionDetails?: {
5758
- templateId?: string | undefined;
5759
- isImmediateCorrection?: boolean | undefined;
5760
- } | null | undefined;
5761
5566
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5762
5567
  } | {
5763
5568
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -5770,10 +5575,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5770
5575
  createdByRole: string;
5771
5576
  createdBySignature?: string | null | undefined;
5772
5577
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5773
- actionDetails?: {
5774
- templateId?: string | undefined;
5775
- isImmediateCorrection?: boolean | undefined;
5776
- } | null | undefined;
5777
5578
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5778
5579
  })[];
5779
5580
  trackingId: string;
@@ -5801,8 +5602,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5801
5602
  street?: string | null | undefined;
5802
5603
  zipCode?: string | null | undefined;
5803
5604
  } | {
5804
- firstname?: string | null | undefined;
5805
- surname?: string | null | undefined;
5605
+ firstname: string;
5606
+ surname: string;
5806
5607
  middlename?: string | null | undefined;
5807
5608
  } | {
5808
5609
  country: string;
@@ -5846,8 +5647,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5846
5647
  street?: string | null | undefined;
5847
5648
  zipCode?: string | null | undefined;
5848
5649
  } | {
5849
- firstname?: string | null | undefined;
5850
- surname?: string | null | undefined;
5650
+ firstname: string;
5651
+ surname: string;
5851
5652
  middlename?: string | null | undefined;
5852
5653
  } | {
5853
5654
  country: string;
@@ -5875,10 +5676,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5875
5676
  start: string;
5876
5677
  end: string;
5877
5678
  } | null | undefined> | undefined;
5878
- actionDetails?: {
5879
- templateId?: string | undefined;
5880
- isImmediateCorrection?: boolean | undefined;
5881
- } | undefined;
5882
5679
  originalActionId?: string | undefined;
5883
5680
  assignedTo?: null | undefined;
5884
5681
  keepAssignment?: boolean | undefined;
@@ -5913,8 +5710,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5913
5710
  street?: string | null | undefined;
5914
5711
  zipCode?: string | null | undefined;
5915
5712
  } | {
5916
- firstname?: string | null | undefined;
5917
- surname?: string | null | undefined;
5713
+ firstname: string;
5714
+ surname: string;
5918
5715
  middlename?: string | null | undefined;
5919
5716
  } | {
5920
5717
  country: string;
@@ -5961,8 +5758,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5961
5758
  street?: string | null | undefined;
5962
5759
  zipCode?: string | null | undefined;
5963
5760
  } | {
5964
- firstname?: string | null | undefined;
5965
- surname?: string | null | undefined;
5761
+ firstname: string;
5762
+ surname: string;
5966
5763
  middlename?: string | null | undefined;
5967
5764
  } | {
5968
5765
  country: string;
@@ -5990,10 +5787,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5990
5787
  start: string;
5991
5788
  end: string;
5992
5789
  } | null | undefined> | null | undefined;
5993
- actionDetails?: {
5994
- templateId?: string | undefined;
5995
- isImmediateCorrection?: boolean | undefined;
5996
- } | null | undefined;
5997
5790
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5998
5791
  } | {
5999
5792
  type: "UNASSIGN";
@@ -6020,8 +5813,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6020
5813
  street?: string | null | undefined;
6021
5814
  zipCode?: string | null | undefined;
6022
5815
  } | {
6023
- firstname?: string | null | undefined;
6024
- surname?: string | null | undefined;
5816
+ firstname: string;
5817
+ surname: string;
6025
5818
  middlename?: string | null | undefined;
6026
5819
  } | {
6027
5820
  country: string;
@@ -6067,8 +5860,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6067
5860
  street?: string | null | undefined;
6068
5861
  zipCode?: string | null | undefined;
6069
5862
  } | {
6070
- firstname?: string | null | undefined;
6071
- surname?: string | null | undefined;
5863
+ firstname: string;
5864
+ surname: string;
6072
5865
  middlename?: string | null | undefined;
6073
5866
  } | {
6074
5867
  country: string;
@@ -6096,10 +5889,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6096
5889
  start: string;
6097
5890
  end: string;
6098
5891
  } | null | undefined> | null | undefined;
6099
- actionDetails?: {
6100
- templateId?: string | undefined;
6101
- isImmediateCorrection?: boolean | undefined;
6102
- } | null | undefined;
6103
5892
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
6104
5893
  } | {
6105
5894
  type: "REGISTER";
@@ -6126,8 +5915,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6126
5915
  street?: string | null | undefined;
6127
5916
  zipCode?: string | null | undefined;
6128
5917
  } | {
6129
- firstname?: string | null | undefined;
6130
- surname?: string | null | undefined;
5918
+ firstname: string;
5919
+ surname: string;
6131
5920
  middlename?: string | null | undefined;
6132
5921
  } | {
6133
5922
  country: string;
@@ -6173,8 +5962,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6173
5962
  street?: string | null | undefined;
6174
5963
  zipCode?: string | null | undefined;
6175
5964
  } | {
6176
- firstname?: string | null | undefined;
6177
- surname?: string | null | undefined;
5965
+ firstname: string;
5966
+ surname: string;
6178
5967
  middlename?: string | null | undefined;
6179
5968
  } | {
6180
5969
  country: string;
@@ -6202,10 +5991,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6202
5991
  start: string;
6203
5992
  end: string;
6204
5993
  } | null | undefined> | null | undefined;
6205
- actionDetails?: {
6206
- templateId?: string | undefined;
6207
- isImmediateCorrection?: boolean | undefined;
6208
- } | null | undefined;
6209
5994
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
6210
5995
  registrationNumber?: string | undefined;
6211
5996
  } | {
@@ -6233,8 +6018,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6233
6018
  street?: string | null | undefined;
6234
6019
  zipCode?: string | null | undefined;
6235
6020
  } | {
6236
- firstname?: string | null | undefined;
6237
- surname?: string | null | undefined;
6021
+ firstname: string;
6022
+ surname: string;
6238
6023
  middlename?: string | null | undefined;
6239
6024
  } | {
6240
6025
  country: string;
@@ -6280,8 +6065,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6280
6065
  street?: string | null | undefined;
6281
6066
  zipCode?: string | null | undefined;
6282
6067
  } | {
6283
- firstname?: string | null | undefined;
6284
- surname?: string | null | undefined;
6068
+ firstname: string;
6069
+ surname: string;
6285
6070
  middlename?: string | null | undefined;
6286
6071
  } | {
6287
6072
  country: string;
@@ -6309,10 +6094,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6309
6094
  start: string;
6310
6095
  end: string;
6311
6096
  } | null | undefined> | null | undefined;
6312
- actionDetails?: {
6313
- templateId?: string | undefined;
6314
- isImmediateCorrection?: boolean | undefined;
6315
- } | null | undefined;
6316
6097
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
6317
6098
  } | {
6318
6099
  type: "VALIDATE";
@@ -6339,8 +6120,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6339
6120
  street?: string | null | undefined;
6340
6121
  zipCode?: string | null | undefined;
6341
6122
  } | {
6342
- firstname?: string | null | undefined;
6343
- surname?: string | null | undefined;
6123
+ firstname: string;
6124
+ surname: string;
6344
6125
  middlename?: string | null | undefined;
6345
6126
  } | {
6346
6127
  country: string;
@@ -6386,8 +6167,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6386
6167
  street?: string | null | undefined;
6387
6168
  zipCode?: string | null | undefined;
6388
6169
  } | {
6389
- firstname?: string | null | undefined;
6390
- surname?: string | null | undefined;
6170
+ firstname: string;
6171
+ surname: string;
6391
6172
  middlename?: string | null | undefined;
6392
6173
  } | {
6393
6174
  country: string;
@@ -6415,10 +6196,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6415
6196
  start: string;
6416
6197
  end: string;
6417
6198
  } | null | undefined> | null | undefined;
6418
- actionDetails?: {
6419
- templateId?: string | undefined;
6420
- isImmediateCorrection?: boolean | undefined;
6421
- } | null | undefined;
6422
6199
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
6423
6200
  } | {
6424
6201
  type: "REJECT";
@@ -6449,8 +6226,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6449
6226
  street?: string | null | undefined;
6450
6227
  zipCode?: string | null | undefined;
6451
6228
  } | {
6452
- firstname?: string | null | undefined;
6453
- surname?: string | null | undefined;
6229
+ firstname: string;
6230
+ surname: string;
6454
6231
  middlename?: string | null | undefined;
6455
6232
  } | {
6456
6233
  country: string;
@@ -6496,8 +6273,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6496
6273
  street?: string | null | undefined;
6497
6274
  zipCode?: string | null | undefined;
6498
6275
  } | {
6499
- firstname?: string | null | undefined;
6500
- surname?: string | null | undefined;
6276
+ firstname: string;
6277
+ surname: string;
6501
6278
  middlename?: string | null | undefined;
6502
6279
  } | {
6503
6280
  country: string;
@@ -6525,10 +6302,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6525
6302
  start: string;
6526
6303
  end: string;
6527
6304
  } | null | undefined> | null | undefined;
6528
- actionDetails?: {
6529
- templateId?: string | undefined;
6530
- isImmediateCorrection?: boolean | undefined;
6531
- } | null | undefined;
6532
6305
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
6533
6306
  } | {
6534
6307
  type: "MARKED_AS_DUPLICATE";
@@ -6555,8 +6328,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6555
6328
  street?: string | null | undefined;
6556
6329
  zipCode?: string | null | undefined;
6557
6330
  } | {
6558
- firstname?: string | null | undefined;
6559
- surname?: string | null | undefined;
6331
+ firstname: string;
6332
+ surname: string;
6560
6333
  middlename?: string | null | undefined;
6561
6334
  } | {
6562
6335
  country: string;
@@ -6602,8 +6375,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6602
6375
  street?: string | null | undefined;
6603
6376
  zipCode?: string | null | undefined;
6604
6377
  } | {
6605
- firstname?: string | null | undefined;
6606
- surname?: string | null | undefined;
6378
+ firstname: string;
6379
+ surname: string;
6607
6380
  middlename?: string | null | undefined;
6608
6381
  } | {
6609
6382
  country: string;
@@ -6631,10 +6404,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6631
6404
  start: string;
6632
6405
  end: string;
6633
6406
  } | null | undefined> | null | undefined;
6634
- actionDetails?: {
6635
- templateId?: string | undefined;
6636
- isImmediateCorrection?: boolean | undefined;
6637
- } | null | undefined;
6638
6407
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
6639
6408
  } | {
6640
6409
  type: "ARCHIVE";
@@ -6665,8 +6434,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6665
6434
  street?: string | null | undefined;
6666
6435
  zipCode?: string | null | undefined;
6667
6436
  } | {
6668
- firstname?: string | null | undefined;
6669
- surname?: string | null | undefined;
6437
+ firstname: string;
6438
+ surname: string;
6670
6439
  middlename?: string | null | undefined;
6671
6440
  } | {
6672
6441
  country: string;
@@ -6712,8 +6481,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6712
6481
  street?: string | null | undefined;
6713
6482
  zipCode?: string | null | undefined;
6714
6483
  } | {
6715
- firstname?: string | null | undefined;
6716
- surname?: string | null | undefined;
6484
+ firstname: string;
6485
+ surname: string;
6717
6486
  middlename?: string | null | undefined;
6718
6487
  } | {
6719
6488
  country: string;
@@ -6741,10 +6510,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6741
6510
  start: string;
6742
6511
  end: string;
6743
6512
  } | null | undefined> | null | undefined;
6744
- actionDetails?: {
6745
- templateId?: string | undefined;
6746
- isImmediateCorrection?: boolean | undefined;
6747
- } | null | undefined;
6748
6513
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
6749
6514
  } | {
6750
6515
  type: "CREATE";
@@ -6771,8 +6536,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6771
6536
  street?: string | null | undefined;
6772
6537
  zipCode?: string | null | undefined;
6773
6538
  } | {
6774
- firstname?: string | null | undefined;
6775
- surname?: string | null | undefined;
6539
+ firstname: string;
6540
+ surname: string;
6776
6541
  middlename?: string | null | undefined;
6777
6542
  } | {
6778
6543
  country: string;
@@ -6818,8 +6583,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6818
6583
  street?: string | null | undefined;
6819
6584
  zipCode?: string | null | undefined;
6820
6585
  } | {
6821
- firstname?: string | null | undefined;
6822
- surname?: string | null | undefined;
6586
+ firstname: string;
6587
+ surname: string;
6823
6588
  middlename?: string | null | undefined;
6824
6589
  } | {
6825
6590
  country: string;
@@ -6847,10 +6612,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6847
6612
  start: string;
6848
6613
  end: string;
6849
6614
  } | null | undefined> | null | undefined;
6850
- actionDetails?: {
6851
- templateId?: string | undefined;
6852
- isImmediateCorrection?: boolean | undefined;
6853
- } | null | undefined;
6854
6615
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
6855
6616
  } | {
6856
6617
  type: "NOTIFY";
@@ -6877,8 +6638,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6877
6638
  street?: string | null | undefined;
6878
6639
  zipCode?: string | null | undefined;
6879
6640
  } | {
6880
- firstname?: string | null | undefined;
6881
- surname?: string | null | undefined;
6641
+ firstname: string;
6642
+ surname: string;
6882
6643
  middlename?: string | null | undefined;
6883
6644
  } | {
6884
6645
  country: string;
@@ -6924,8 +6685,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6924
6685
  street?: string | null | undefined;
6925
6686
  zipCode?: string | null | undefined;
6926
6687
  } | {
6927
- firstname?: string | null | undefined;
6928
- surname?: string | null | undefined;
6688
+ firstname: string;
6689
+ surname: string;
6929
6690
  middlename?: string | null | undefined;
6930
6691
  } | {
6931
6692
  country: string;
@@ -6953,10 +6714,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6953
6714
  start: string;
6954
6715
  end: string;
6955
6716
  } | null | undefined> | null | undefined;
6956
- actionDetails?: {
6957
- templateId?: string | undefined;
6958
- isImmediateCorrection?: boolean | undefined;
6959
- } | null | undefined;
6960
6717
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
6961
6718
  } | {
6962
6719
  type: "PRINT_CERTIFICATE";
@@ -6983,8 +6740,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6983
6740
  street?: string | null | undefined;
6984
6741
  zipCode?: string | null | undefined;
6985
6742
  } | {
6986
- firstname?: string | null | undefined;
6987
- surname?: string | null | undefined;
6743
+ firstname: string;
6744
+ surname: string;
6988
6745
  middlename?: string | null | undefined;
6989
6746
  } | {
6990
6747
  country: string;
@@ -7012,6 +6769,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7012
6769
  start: string;
7013
6770
  end: string;
7014
6771
  } | null | undefined>;
6772
+ content?: {
6773
+ templateId?: string | undefined;
6774
+ } | null | undefined;
7015
6775
  createdBySignature?: string | null | undefined;
7016
6776
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7017
6777
  annotation?: Record<string, string | number | boolean | {
@@ -7030,8 +6790,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7030
6790
  street?: string | null | undefined;
7031
6791
  zipCode?: string | null | undefined;
7032
6792
  } | {
7033
- firstname?: string | null | undefined;
7034
- surname?: string | null | undefined;
6793
+ firstname: string;
6794
+ surname: string;
7035
6795
  middlename?: string | null | undefined;
7036
6796
  } | {
7037
6797
  country: string;
@@ -7059,10 +6819,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7059
6819
  start: string;
7060
6820
  end: string;
7061
6821
  } | null | undefined> | null | undefined;
7062
- actionDetails?: {
7063
- templateId?: string | undefined;
7064
- isImmediateCorrection?: boolean | undefined;
7065
- } | null | undefined;
7066
6822
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7067
6823
  } | {
7068
6824
  type: "REQUEST_CORRECTION";
@@ -7089,8 +6845,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7089
6845
  street?: string | null | undefined;
7090
6846
  zipCode?: string | null | undefined;
7091
6847
  } | {
7092
- firstname?: string | null | undefined;
7093
- surname?: string | null | undefined;
6848
+ firstname: string;
6849
+ surname: string;
7094
6850
  middlename?: string | null | undefined;
7095
6851
  } | {
7096
6852
  country: string;
@@ -7136,8 +6892,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7136
6892
  street?: string | null | undefined;
7137
6893
  zipCode?: string | null | undefined;
7138
6894
  } | {
7139
- firstname?: string | null | undefined;
7140
- surname?: string | null | undefined;
6895
+ firstname: string;
6896
+ surname: string;
7141
6897
  middlename?: string | null | undefined;
7142
6898
  } | {
7143
6899
  country: string;
@@ -7165,10 +6921,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7165
6921
  start: string;
7166
6922
  end: string;
7167
6923
  } | null | undefined> | null | undefined;
7168
- actionDetails?: {
7169
- templateId?: string | undefined;
7170
- isImmediateCorrection?: boolean | undefined;
7171
- } | null | undefined;
7172
6924
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7173
6925
  } | {
7174
6926
  type: "APPROVE_CORRECTION";
@@ -7195,8 +6947,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7195
6947
  street?: string | null | undefined;
7196
6948
  zipCode?: string | null | undefined;
7197
6949
  } | {
7198
- firstname?: string | null | undefined;
7199
- surname?: string | null | undefined;
6950
+ firstname: string;
6951
+ surname: string;
7200
6952
  middlename?: string | null | undefined;
7201
6953
  } | {
7202
6954
  country: string;
@@ -7243,8 +6995,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7243
6995
  street?: string | null | undefined;
7244
6996
  zipCode?: string | null | undefined;
7245
6997
  } | {
7246
- firstname?: string | null | undefined;
7247
- surname?: string | null | undefined;
6998
+ firstname: string;
6999
+ surname: string;
7248
7000
  middlename?: string | null | undefined;
7249
7001
  } | {
7250
7002
  country: string;
@@ -7272,10 +7024,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7272
7024
  start: string;
7273
7025
  end: string;
7274
7026
  } | null | undefined> | null | undefined;
7275
- actionDetails?: {
7276
- templateId?: string | undefined;
7277
- isImmediateCorrection?: boolean | undefined;
7278
- } | null | undefined;
7279
7027
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7280
7028
  } | {
7281
7029
  type: "REJECT_CORRECTION";
@@ -7306,8 +7054,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7306
7054
  street?: string | null | undefined;
7307
7055
  zipCode?: string | null | undefined;
7308
7056
  } | {
7309
- firstname?: string | null | undefined;
7310
- surname?: string | null | undefined;
7057
+ firstname: string;
7058
+ surname: string;
7311
7059
  middlename?: string | null | undefined;
7312
7060
  } | {
7313
7061
  country: string;
@@ -7354,8 +7102,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7354
7102
  street?: string | null | undefined;
7355
7103
  zipCode?: string | null | undefined;
7356
7104
  } | {
7357
- firstname?: string | null | undefined;
7358
- surname?: string | null | undefined;
7105
+ firstname: string;
7106
+ surname: string;
7359
7107
  middlename?: string | null | undefined;
7360
7108
  } | {
7361
7109
  country: string;
@@ -7383,10 +7131,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7383
7131
  start: string;
7384
7132
  end: string;
7385
7133
  } | null | undefined> | null | undefined;
7386
- actionDetails?: {
7387
- templateId?: string | undefined;
7388
- isImmediateCorrection?: boolean | undefined;
7389
- } | null | undefined;
7390
7134
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7391
7135
  } | {
7392
7136
  type: "READ";
@@ -7413,8 +7157,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7413
7157
  street?: string | null | undefined;
7414
7158
  zipCode?: string | null | undefined;
7415
7159
  } | {
7416
- firstname?: string | null | undefined;
7417
- surname?: string | null | undefined;
7160
+ firstname: string;
7161
+ surname: string;
7418
7162
  middlename?: string | null | undefined;
7419
7163
  } | {
7420
7164
  country: string;
@@ -7460,8 +7204,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7460
7204
  street?: string | null | undefined;
7461
7205
  zipCode?: string | null | undefined;
7462
7206
  } | {
7463
- firstname?: string | null | undefined;
7464
- surname?: string | null | undefined;
7207
+ firstname: string;
7208
+ surname: string;
7465
7209
  middlename?: string | null | undefined;
7466
7210
  } | {
7467
7211
  country: string;
@@ -7489,10 +7233,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7489
7233
  start: string;
7490
7234
  end: string;
7491
7235
  } | null | undefined> | null | undefined;
7492
- actionDetails?: {
7493
- templateId?: string | undefined;
7494
- isImmediateCorrection?: boolean | undefined;
7495
- } | null | undefined;
7496
7236
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7497
7237
  } | {
7498
7238
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -7505,10 +7245,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7505
7245
  createdByRole: string;
7506
7246
  createdBySignature?: string | null | undefined;
7507
7247
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7508
- actionDetails?: {
7509
- templateId?: string | undefined;
7510
- isImmediateCorrection?: boolean | undefined;
7511
- } | null | undefined;
7512
7248
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7513
7249
  })[];
7514
7250
  trackingId: string;
@@ -7673,7 +7409,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7673
7409
  output: {
7674
7410
  type: string;
7675
7411
  id: string & import("zod").BRAND<"UUID">;
7676
- status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
7412
+ status: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
7677
7413
  createdAt: string;
7678
7414
  createdBy: string;
7679
7415
  declaration: Record<string, string | number | boolean | {
@@ -7703,8 +7439,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7703
7439
  surname: string;
7704
7440
  middlename?: string | undefined;
7705
7441
  } | {
7706
- firstname?: string | null | undefined;
7707
- surname?: string | null | undefined;
7442
+ firstname: string;
7443
+ surname: string;
7708
7444
  middlename?: string | null | undefined;
7709
7445
  } | {
7710
7446
  country: string;
@@ -7757,8 +7493,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7757
7493
  dateOfEvent?: string | null | undefined;
7758
7494
  updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7759
7495
  updatedBy?: string | null | undefined;
7760
- copiesPrintedForTemplate?: number | undefined;
7761
- modifiedAt?: string | undefined;
7762
7496
  }[];
7763
7497
  meta: import("trpc-to-openapi").OpenApiMeta;
7764
7498
  }>;
@@ -7770,7 +7504,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7770
7504
  output: {
7771
7505
  type: string;
7772
7506
  id: string & import("zod").BRAND<"UUID">;
7773
- status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
7507
+ status: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
7774
7508
  createdAt: string;
7775
7509
  createdBy: string;
7776
7510
  declaration: Record<string, string | number | boolean | {
@@ -7800,8 +7534,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7800
7534
  surname: string;
7801
7535
  middlename?: string | undefined;
7802
7536
  } | {
7803
- firstname?: string | null | undefined;
7804
- surname?: string | null | undefined;
7537
+ firstname: string;
7538
+ surname: string;
7805
7539
  middlename?: string | null | undefined;
7806
7540
  } | {
7807
7541
  country: string;
@@ -7854,8 +7588,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7854
7588
  dateOfEvent?: string | null | undefined;
7855
7589
  updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7856
7590
  updatedBy?: string | null | undefined;
7857
- copiesPrintedForTemplate?: number | undefined;
7858
- modifiedAt?: string | undefined;
7859
7591
  }[];
7860
7592
  meta: import("trpc-to-openapi").OpenApiMeta;
7861
7593
  }>;
@@ -7890,8 +7622,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7890
7622
  street?: string | null | undefined;
7891
7623
  zipCode?: string | null | undefined;
7892
7624
  } | {
7893
- firstname?: string | null | undefined;
7894
- surname?: string | null | undefined;
7625
+ firstname: string;
7626
+ surname: string;
7895
7627
  middlename?: string | null | undefined;
7896
7628
  } | {
7897
7629
  country: string;
@@ -7938,8 +7670,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7938
7670
  street?: string | null | undefined;
7939
7671
  zipCode?: string | null | undefined;
7940
7672
  } | {
7941
- firstname?: string | null | undefined;
7942
- surname?: string | null | undefined;
7673
+ firstname: string;
7674
+ surname: string;
7943
7675
  middlename?: string | null | undefined;
7944
7676
  } | {
7945
7677
  country: string;
@@ -7967,10 +7699,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7967
7699
  start: string;
7968
7700
  end: string;
7969
7701
  } | null | undefined> | null | undefined;
7970
- actionDetails?: {
7971
- templateId?: string | undefined;
7972
- isImmediateCorrection?: boolean | undefined;
7973
- } | null | undefined;
7974
7702
  originalActionId?: string | null | undefined;
7975
7703
  } | {
7976
7704
  type: "UNASSIGN";
@@ -7997,8 +7725,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7997
7725
  street?: string | null | undefined;
7998
7726
  zipCode?: string | null | undefined;
7999
7727
  } | {
8000
- firstname?: string | null | undefined;
8001
- surname?: string | null | undefined;
7728
+ firstname: string;
7729
+ surname: string;
8002
7730
  middlename?: string | null | undefined;
8003
7731
  } | {
8004
7732
  country: string;
@@ -8044,8 +7772,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8044
7772
  street?: string | null | undefined;
8045
7773
  zipCode?: string | null | undefined;
8046
7774
  } | {
8047
- firstname?: string | null | undefined;
8048
- surname?: string | null | undefined;
7775
+ firstname: string;
7776
+ surname: string;
8049
7777
  middlename?: string | null | undefined;
8050
7778
  } | {
8051
7779
  country: string;
@@ -8073,10 +7801,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8073
7801
  start: string;
8074
7802
  end: string;
8075
7803
  } | null | undefined> | null | undefined;
8076
- actionDetails?: {
8077
- templateId?: string | undefined;
8078
- isImmediateCorrection?: boolean | undefined;
8079
- } | null | undefined;
8080
7804
  originalActionId?: string | null | undefined;
8081
7805
  } | {
8082
7806
  type: "REGISTER";
@@ -8103,8 +7827,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8103
7827
  street?: string | null | undefined;
8104
7828
  zipCode?: string | null | undefined;
8105
7829
  } | {
8106
- firstname?: string | null | undefined;
8107
- surname?: string | null | undefined;
7830
+ firstname: string;
7831
+ surname: string;
8108
7832
  middlename?: string | null | undefined;
8109
7833
  } | {
8110
7834
  country: string;
@@ -8150,8 +7874,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8150
7874
  street?: string | null | undefined;
8151
7875
  zipCode?: string | null | undefined;
8152
7876
  } | {
8153
- firstname?: string | null | undefined;
8154
- surname?: string | null | undefined;
7877
+ firstname: string;
7878
+ surname: string;
8155
7879
  middlename?: string | null | undefined;
8156
7880
  } | {
8157
7881
  country: string;
@@ -8179,10 +7903,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8179
7903
  start: string;
8180
7904
  end: string;
8181
7905
  } | null | undefined> | null | undefined;
8182
- actionDetails?: {
8183
- templateId?: string | undefined;
8184
- isImmediateCorrection?: boolean | undefined;
8185
- } | null | undefined;
8186
7906
  originalActionId?: string | null | undefined;
8187
7907
  registrationNumber?: string | undefined;
8188
7908
  } | {
@@ -8210,8 +7930,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8210
7930
  street?: string | null | undefined;
8211
7931
  zipCode?: string | null | undefined;
8212
7932
  } | {
8213
- firstname?: string | null | undefined;
8214
- surname?: string | null | undefined;
7933
+ firstname: string;
7934
+ surname: string;
8215
7935
  middlename?: string | null | undefined;
8216
7936
  } | {
8217
7937
  country: string;
@@ -8257,8 +7977,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8257
7977
  street?: string | null | undefined;
8258
7978
  zipCode?: string | null | undefined;
8259
7979
  } | {
8260
- firstname?: string | null | undefined;
8261
- surname?: string | null | undefined;
7980
+ firstname: string;
7981
+ surname: string;
8262
7982
  middlename?: string | null | undefined;
8263
7983
  } | {
8264
7984
  country: string;
@@ -8286,10 +8006,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8286
8006
  start: string;
8287
8007
  end: string;
8288
8008
  } | null | undefined> | null | undefined;
8289
- actionDetails?: {
8290
- templateId?: string | undefined;
8291
- isImmediateCorrection?: boolean | undefined;
8292
- } | null | undefined;
8293
8009
  originalActionId?: string | null | undefined;
8294
8010
  } | {
8295
8011
  type: "VALIDATE";
@@ -8316,8 +8032,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8316
8032
  street?: string | null | undefined;
8317
8033
  zipCode?: string | null | undefined;
8318
8034
  } | {
8319
- firstname?: string | null | undefined;
8320
- surname?: string | null | undefined;
8035
+ firstname: string;
8036
+ surname: string;
8321
8037
  middlename?: string | null | undefined;
8322
8038
  } | {
8323
8039
  country: string;
@@ -8363,8 +8079,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8363
8079
  street?: string | null | undefined;
8364
8080
  zipCode?: string | null | undefined;
8365
8081
  } | {
8366
- firstname?: string | null | undefined;
8367
- surname?: string | null | undefined;
8082
+ firstname: string;
8083
+ surname: string;
8368
8084
  middlename?: string | null | undefined;
8369
8085
  } | {
8370
8086
  country: string;
@@ -8392,10 +8108,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8392
8108
  start: string;
8393
8109
  end: string;
8394
8110
  } | null | undefined> | null | undefined;
8395
- actionDetails?: {
8396
- templateId?: string | undefined;
8397
- isImmediateCorrection?: boolean | undefined;
8398
- } | null | undefined;
8399
8111
  originalActionId?: string | null | undefined;
8400
8112
  } | {
8401
8113
  type: "REJECT";
@@ -8426,8 +8138,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8426
8138
  street?: string | null | undefined;
8427
8139
  zipCode?: string | null | undefined;
8428
8140
  } | {
8429
- firstname?: string | null | undefined;
8430
- surname?: string | null | undefined;
8141
+ firstname: string;
8142
+ surname: string;
8431
8143
  middlename?: string | null | undefined;
8432
8144
  } | {
8433
8145
  country: string;
@@ -8473,8 +8185,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8473
8185
  street?: string | null | undefined;
8474
8186
  zipCode?: string | null | undefined;
8475
8187
  } | {
8476
- firstname?: string | null | undefined;
8477
- surname?: string | null | undefined;
8188
+ firstname: string;
8189
+ surname: string;
8478
8190
  middlename?: string | null | undefined;
8479
8191
  } | {
8480
8192
  country: string;
@@ -8502,10 +8214,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8502
8214
  start: string;
8503
8215
  end: string;
8504
8216
  } | null | undefined> | null | undefined;
8505
- actionDetails?: {
8506
- templateId?: string | undefined;
8507
- isImmediateCorrection?: boolean | undefined;
8508
- } | null | undefined;
8509
8217
  originalActionId?: string | null | undefined;
8510
8218
  } | {
8511
8219
  type: "MARKED_AS_DUPLICATE";
@@ -8532,8 +8240,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8532
8240
  street?: string | null | undefined;
8533
8241
  zipCode?: string | null | undefined;
8534
8242
  } | {
8535
- firstname?: string | null | undefined;
8536
- surname?: string | null | undefined;
8243
+ firstname: string;
8244
+ surname: string;
8537
8245
  middlename?: string | null | undefined;
8538
8246
  } | {
8539
8247
  country: string;
@@ -8579,8 +8287,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8579
8287
  street?: string | null | undefined;
8580
8288
  zipCode?: string | null | undefined;
8581
8289
  } | {
8582
- firstname?: string | null | undefined;
8583
- surname?: string | null | undefined;
8290
+ firstname: string;
8291
+ surname: string;
8584
8292
  middlename?: string | null | undefined;
8585
8293
  } | {
8586
8294
  country: string;
@@ -8608,10 +8316,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8608
8316
  start: string;
8609
8317
  end: string;
8610
8318
  } | null | undefined> | null | undefined;
8611
- actionDetails?: {
8612
- templateId?: string | undefined;
8613
- isImmediateCorrection?: boolean | undefined;
8614
- } | null | undefined;
8615
8319
  originalActionId?: string | null | undefined;
8616
8320
  } | {
8617
8321
  type: "ARCHIVE";
@@ -8642,8 +8346,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8642
8346
  street?: string | null | undefined;
8643
8347
  zipCode?: string | null | undefined;
8644
8348
  } | {
8645
- firstname?: string | null | undefined;
8646
- surname?: string | null | undefined;
8349
+ firstname: string;
8350
+ surname: string;
8647
8351
  middlename?: string | null | undefined;
8648
8352
  } | {
8649
8353
  country: string;
@@ -8689,8 +8393,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8689
8393
  street?: string | null | undefined;
8690
8394
  zipCode?: string | null | undefined;
8691
8395
  } | {
8692
- firstname?: string | null | undefined;
8693
- surname?: string | null | undefined;
8396
+ firstname: string;
8397
+ surname: string;
8694
8398
  middlename?: string | null | undefined;
8695
8399
  } | {
8696
8400
  country: string;
@@ -8718,10 +8422,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8718
8422
  start: string;
8719
8423
  end: string;
8720
8424
  } | null | undefined> | null | undefined;
8721
- actionDetails?: {
8722
- templateId?: string | undefined;
8723
- isImmediateCorrection?: boolean | undefined;
8724
- } | null | undefined;
8725
8425
  originalActionId?: string | null | undefined;
8726
8426
  } | {
8727
8427
  type: "CREATE";
@@ -8748,8 +8448,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8748
8448
  street?: string | null | undefined;
8749
8449
  zipCode?: string | null | undefined;
8750
8450
  } | {
8751
- firstname?: string | null | undefined;
8752
- surname?: string | null | undefined;
8451
+ firstname: string;
8452
+ surname: string;
8753
8453
  middlename?: string | null | undefined;
8754
8454
  } | {
8755
8455
  country: string;
@@ -8795,8 +8495,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8795
8495
  street?: string | null | undefined;
8796
8496
  zipCode?: string | null | undefined;
8797
8497
  } | {
8798
- firstname?: string | null | undefined;
8799
- surname?: string | null | undefined;
8498
+ firstname: string;
8499
+ surname: string;
8800
8500
  middlename?: string | null | undefined;
8801
8501
  } | {
8802
8502
  country: string;
@@ -8824,10 +8524,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8824
8524
  start: string;
8825
8525
  end: string;
8826
8526
  } | null | undefined> | null | undefined;
8827
- actionDetails?: {
8828
- templateId?: string | undefined;
8829
- isImmediateCorrection?: boolean | undefined;
8830
- } | null | undefined;
8831
8527
  originalActionId?: string | null | undefined;
8832
8528
  } | {
8833
8529
  type: "NOTIFY";
@@ -8854,8 +8550,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8854
8550
  street?: string | null | undefined;
8855
8551
  zipCode?: string | null | undefined;
8856
8552
  } | {
8857
- firstname?: string | null | undefined;
8858
- surname?: string | null | undefined;
8553
+ firstname: string;
8554
+ surname: string;
8859
8555
  middlename?: string | null | undefined;
8860
8556
  } | {
8861
8557
  country: string;
@@ -8901,8 +8597,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8901
8597
  street?: string | null | undefined;
8902
8598
  zipCode?: string | null | undefined;
8903
8599
  } | {
8904
- firstname?: string | null | undefined;
8905
- surname?: string | null | undefined;
8600
+ firstname: string;
8601
+ surname: string;
8906
8602
  middlename?: string | null | undefined;
8907
8603
  } | {
8908
8604
  country: string;
@@ -8930,10 +8626,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8930
8626
  start: string;
8931
8627
  end: string;
8932
8628
  } | null | undefined> | null | undefined;
8933
- actionDetails?: {
8934
- templateId?: string | undefined;
8935
- isImmediateCorrection?: boolean | undefined;
8936
- } | null | undefined;
8937
8629
  originalActionId?: string | null | undefined;
8938
8630
  } | {
8939
8631
  type: "PRINT_CERTIFICATE";
@@ -8960,8 +8652,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8960
8652
  street?: string | null | undefined;
8961
8653
  zipCode?: string | null | undefined;
8962
8654
  } | {
8963
- firstname?: string | null | undefined;
8964
- surname?: string | null | undefined;
8655
+ firstname: string;
8656
+ surname: string;
8965
8657
  middlename?: string | null | undefined;
8966
8658
  } | {
8967
8659
  country: string;
@@ -8989,6 +8681,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8989
8681
  start: string;
8990
8682
  end: string;
8991
8683
  } | null | undefined>;
8684
+ content?: {
8685
+ templateId?: string | undefined;
8686
+ } | null | undefined;
8992
8687
  createdBySignature?: string | null | undefined;
8993
8688
  createdAtLocation?: string | null | undefined;
8994
8689
  annotation?: Record<string, string | number | boolean | {
@@ -9007,8 +8702,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9007
8702
  street?: string | null | undefined;
9008
8703
  zipCode?: string | null | undefined;
9009
8704
  } | {
9010
- firstname?: string | null | undefined;
9011
- surname?: string | null | undefined;
8705
+ firstname: string;
8706
+ surname: string;
9012
8707
  middlename?: string | null | undefined;
9013
8708
  } | {
9014
8709
  country: string;
@@ -9036,10 +8731,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9036
8731
  start: string;
9037
8732
  end: string;
9038
8733
  } | null | undefined> | null | undefined;
9039
- actionDetails?: {
9040
- templateId?: string | undefined;
9041
- isImmediateCorrection?: boolean | undefined;
9042
- } | null | undefined;
9043
8734
  originalActionId?: string | null | undefined;
9044
8735
  } | {
9045
8736
  type: "REQUEST_CORRECTION";
@@ -9066,8 +8757,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9066
8757
  street?: string | null | undefined;
9067
8758
  zipCode?: string | null | undefined;
9068
8759
  } | {
9069
- firstname?: string | null | undefined;
9070
- surname?: string | null | undefined;
8760
+ firstname: string;
8761
+ surname: string;
9071
8762
  middlename?: string | null | undefined;
9072
8763
  } | {
9073
8764
  country: string;
@@ -9113,8 +8804,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9113
8804
  street?: string | null | undefined;
9114
8805
  zipCode?: string | null | undefined;
9115
8806
  } | {
9116
- firstname?: string | null | undefined;
9117
- surname?: string | null | undefined;
8807
+ firstname: string;
8808
+ surname: string;
9118
8809
  middlename?: string | null | undefined;
9119
8810
  } | {
9120
8811
  country: string;
@@ -9142,10 +8833,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9142
8833
  start: string;
9143
8834
  end: string;
9144
8835
  } | null | undefined> | null | undefined;
9145
- actionDetails?: {
9146
- templateId?: string | undefined;
9147
- isImmediateCorrection?: boolean | undefined;
9148
- } | null | undefined;
9149
8836
  originalActionId?: string | null | undefined;
9150
8837
  } | {
9151
8838
  type: "APPROVE_CORRECTION";
@@ -9172,8 +8859,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9172
8859
  street?: string | null | undefined;
9173
8860
  zipCode?: string | null | undefined;
9174
8861
  } | {
9175
- firstname?: string | null | undefined;
9176
- surname?: string | null | undefined;
8862
+ firstname: string;
8863
+ surname: string;
9177
8864
  middlename?: string | null | undefined;
9178
8865
  } | {
9179
8866
  country: string;
@@ -9220,8 +8907,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9220
8907
  street?: string | null | undefined;
9221
8908
  zipCode?: string | null | undefined;
9222
8909
  } | {
9223
- firstname?: string | null | undefined;
9224
- surname?: string | null | undefined;
8910
+ firstname: string;
8911
+ surname: string;
9225
8912
  middlename?: string | null | undefined;
9226
8913
  } | {
9227
8914
  country: string;
@@ -9249,10 +8936,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9249
8936
  start: string;
9250
8937
  end: string;
9251
8938
  } | null | undefined> | null | undefined;
9252
- actionDetails?: {
9253
- templateId?: string | undefined;
9254
- isImmediateCorrection?: boolean | undefined;
9255
- } | null | undefined;
9256
8939
  originalActionId?: string | null | undefined;
9257
8940
  } | {
9258
8941
  type: "REJECT_CORRECTION";
@@ -9283,8 +8966,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9283
8966
  street?: string | null | undefined;
9284
8967
  zipCode?: string | null | undefined;
9285
8968
  } | {
9286
- firstname?: string | null | undefined;
9287
- surname?: string | null | undefined;
8969
+ firstname: string;
8970
+ surname: string;
9288
8971
  middlename?: string | null | undefined;
9289
8972
  } | {
9290
8973
  country: string;
@@ -9331,8 +9014,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9331
9014
  street?: string | null | undefined;
9332
9015
  zipCode?: string | null | undefined;
9333
9016
  } | {
9334
- firstname?: string | null | undefined;
9335
- surname?: string | null | undefined;
9017
+ firstname: string;
9018
+ surname: string;
9336
9019
  middlename?: string | null | undefined;
9337
9020
  } | {
9338
9021
  country: string;
@@ -9360,10 +9043,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9360
9043
  start: string;
9361
9044
  end: string;
9362
9045
  } | null | undefined> | null | undefined;
9363
- actionDetails?: {
9364
- templateId?: string | undefined;
9365
- isImmediateCorrection?: boolean | undefined;
9366
- } | null | undefined;
9367
9046
  originalActionId?: string | null | undefined;
9368
9047
  } | {
9369
9048
  type: "READ";
@@ -9390,8 +9069,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9390
9069
  street?: string | null | undefined;
9391
9070
  zipCode?: string | null | undefined;
9392
9071
  } | {
9393
- firstname?: string | null | undefined;
9394
- surname?: string | null | undefined;
9072
+ firstname: string;
9073
+ surname: string;
9395
9074
  middlename?: string | null | undefined;
9396
9075
  } | {
9397
9076
  country: string;
@@ -9437,8 +9116,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9437
9116
  street?: string | null | undefined;
9438
9117
  zipCode?: string | null | undefined;
9439
9118
  } | {
9440
- firstname?: string | null | undefined;
9441
- surname?: string | null | undefined;
9119
+ firstname: string;
9120
+ surname: string;
9442
9121
  middlename?: string | null | undefined;
9443
9122
  } | {
9444
9123
  country: string;
@@ -9466,10 +9145,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9466
9145
  start: string;
9467
9146
  end: string;
9468
9147
  } | null | undefined> | null | undefined;
9469
- actionDetails?: {
9470
- templateId?: string | undefined;
9471
- isImmediateCorrection?: boolean | undefined;
9472
- } | null | undefined;
9473
9148
  originalActionId?: string | null | undefined;
9474
9149
  } | {
9475
9150
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -9482,10 +9157,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9482
9157
  createdByRole: string;
9483
9158
  createdBySignature?: string | null | undefined;
9484
9159
  createdAtLocation?: string | null | undefined;
9485
- actionDetails?: {
9486
- templateId?: string | undefined;
9487
- isImmediateCorrection?: boolean | undefined;
9488
- } | null | undefined;
9489
9160
  originalActionId?: string | null | undefined;
9490
9161
  })[];
9491
9162
  trackingId: string;
@@ -9520,8 +9191,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9520
9191
  street?: string | null | undefined;
9521
9192
  zipCode?: string | null | undefined;
9522
9193
  } | {
9523
- firstname?: string | null | undefined;
9524
- surname?: string | null | undefined;
9194
+ firstname: string;
9195
+ surname: string;
9525
9196
  middlename?: string | null | undefined;
9526
9197
  } | {
9527
9198
  country: string;
@@ -9568,8 +9239,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9568
9239
  street?: string | null | undefined;
9569
9240
  zipCode?: string | null | undefined;
9570
9241
  } | {
9571
- firstname?: string | null | undefined;
9572
- surname?: string | null | undefined;
9242
+ firstname: string;
9243
+ surname: string;
9573
9244
  middlename?: string | null | undefined;
9574
9245
  } | {
9575
9246
  country: string;
@@ -9597,10 +9268,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9597
9268
  start: string;
9598
9269
  end: string;
9599
9270
  } | null | undefined> | null | undefined;
9600
- actionDetails?: {
9601
- templateId?: string | undefined;
9602
- isImmediateCorrection?: boolean | undefined;
9603
- } | null | undefined;
9604
9271
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9605
9272
  } | {
9606
9273
  type: "UNASSIGN";
@@ -9627,8 +9294,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9627
9294
  street?: string | null | undefined;
9628
9295
  zipCode?: string | null | undefined;
9629
9296
  } | {
9630
- firstname?: string | null | undefined;
9631
- surname?: string | null | undefined;
9297
+ firstname: string;
9298
+ surname: string;
9632
9299
  middlename?: string | null | undefined;
9633
9300
  } | {
9634
9301
  country: string;
@@ -9674,8 +9341,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9674
9341
  street?: string | null | undefined;
9675
9342
  zipCode?: string | null | undefined;
9676
9343
  } | {
9677
- firstname?: string | null | undefined;
9678
- surname?: string | null | undefined;
9344
+ firstname: string;
9345
+ surname: string;
9679
9346
  middlename?: string | null | undefined;
9680
9347
  } | {
9681
9348
  country: string;
@@ -9703,10 +9370,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9703
9370
  start: string;
9704
9371
  end: string;
9705
9372
  } | null | undefined> | null | undefined;
9706
- actionDetails?: {
9707
- templateId?: string | undefined;
9708
- isImmediateCorrection?: boolean | undefined;
9709
- } | null | undefined;
9710
9373
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9711
9374
  } | {
9712
9375
  type: "REGISTER";
@@ -9733,8 +9396,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9733
9396
  street?: string | null | undefined;
9734
9397
  zipCode?: string | null | undefined;
9735
9398
  } | {
9736
- firstname?: string | null | undefined;
9737
- surname?: string | null | undefined;
9399
+ firstname: string;
9400
+ surname: string;
9738
9401
  middlename?: string | null | undefined;
9739
9402
  } | {
9740
9403
  country: string;
@@ -9780,8 +9443,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9780
9443
  street?: string | null | undefined;
9781
9444
  zipCode?: string | null | undefined;
9782
9445
  } | {
9783
- firstname?: string | null | undefined;
9784
- surname?: string | null | undefined;
9446
+ firstname: string;
9447
+ surname: string;
9785
9448
  middlename?: string | null | undefined;
9786
9449
  } | {
9787
9450
  country: string;
@@ -9809,10 +9472,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9809
9472
  start: string;
9810
9473
  end: string;
9811
9474
  } | null | undefined> | null | undefined;
9812
- actionDetails?: {
9813
- templateId?: string | undefined;
9814
- isImmediateCorrection?: boolean | undefined;
9815
- } | null | undefined;
9816
9475
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9817
9476
  registrationNumber?: string | undefined;
9818
9477
  } | {
@@ -9840,8 +9499,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9840
9499
  street?: string | null | undefined;
9841
9500
  zipCode?: string | null | undefined;
9842
9501
  } | {
9843
- firstname?: string | null | undefined;
9844
- surname?: string | null | undefined;
9502
+ firstname: string;
9503
+ surname: string;
9845
9504
  middlename?: string | null | undefined;
9846
9505
  } | {
9847
9506
  country: string;
@@ -9887,8 +9546,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9887
9546
  street?: string | null | undefined;
9888
9547
  zipCode?: string | null | undefined;
9889
9548
  } | {
9890
- firstname?: string | null | undefined;
9891
- surname?: string | null | undefined;
9549
+ firstname: string;
9550
+ surname: string;
9892
9551
  middlename?: string | null | undefined;
9893
9552
  } | {
9894
9553
  country: string;
@@ -9916,10 +9575,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9916
9575
  start: string;
9917
9576
  end: string;
9918
9577
  } | null | undefined> | null | undefined;
9919
- actionDetails?: {
9920
- templateId?: string | undefined;
9921
- isImmediateCorrection?: boolean | undefined;
9922
- } | null | undefined;
9923
9578
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
9924
9579
  } | {
9925
9580
  type: "VALIDATE";
@@ -9946,8 +9601,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9946
9601
  street?: string | null | undefined;
9947
9602
  zipCode?: string | null | undefined;
9948
9603
  } | {
9949
- firstname?: string | null | undefined;
9950
- surname?: string | null | undefined;
9604
+ firstname: string;
9605
+ surname: string;
9951
9606
  middlename?: string | null | undefined;
9952
9607
  } | {
9953
9608
  country: string;
@@ -9993,8 +9648,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9993
9648
  street?: string | null | undefined;
9994
9649
  zipCode?: string | null | undefined;
9995
9650
  } | {
9996
- firstname?: string | null | undefined;
9997
- surname?: string | null | undefined;
9651
+ firstname: string;
9652
+ surname: string;
9998
9653
  middlename?: string | null | undefined;
9999
9654
  } | {
10000
9655
  country: string;
@@ -10022,10 +9677,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10022
9677
  start: string;
10023
9678
  end: string;
10024
9679
  } | null | undefined> | null | undefined;
10025
- actionDetails?: {
10026
- templateId?: string | undefined;
10027
- isImmediateCorrection?: boolean | undefined;
10028
- } | null | undefined;
10029
9680
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10030
9681
  } | {
10031
9682
  type: "REJECT";
@@ -10056,8 +9707,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10056
9707
  street?: string | null | undefined;
10057
9708
  zipCode?: string | null | undefined;
10058
9709
  } | {
10059
- firstname?: string | null | undefined;
10060
- surname?: string | null | undefined;
9710
+ firstname: string;
9711
+ surname: string;
10061
9712
  middlename?: string | null | undefined;
10062
9713
  } | {
10063
9714
  country: string;
@@ -10103,8 +9754,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10103
9754
  street?: string | null | undefined;
10104
9755
  zipCode?: string | null | undefined;
10105
9756
  } | {
10106
- firstname?: string | null | undefined;
10107
- surname?: string | null | undefined;
9757
+ firstname: string;
9758
+ surname: string;
10108
9759
  middlename?: string | null | undefined;
10109
9760
  } | {
10110
9761
  country: string;
@@ -10132,10 +9783,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10132
9783
  start: string;
10133
9784
  end: string;
10134
9785
  } | null | undefined> | null | undefined;
10135
- actionDetails?: {
10136
- templateId?: string | undefined;
10137
- isImmediateCorrection?: boolean | undefined;
10138
- } | null | undefined;
10139
9786
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10140
9787
  } | {
10141
9788
  type: "MARKED_AS_DUPLICATE";
@@ -10162,8 +9809,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10162
9809
  street?: string | null | undefined;
10163
9810
  zipCode?: string | null | undefined;
10164
9811
  } | {
10165
- firstname?: string | null | undefined;
10166
- surname?: string | null | undefined;
9812
+ firstname: string;
9813
+ surname: string;
10167
9814
  middlename?: string | null | undefined;
10168
9815
  } | {
10169
9816
  country: string;
@@ -10209,8 +9856,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10209
9856
  street?: string | null | undefined;
10210
9857
  zipCode?: string | null | undefined;
10211
9858
  } | {
10212
- firstname?: string | null | undefined;
10213
- surname?: string | null | undefined;
9859
+ firstname: string;
9860
+ surname: string;
10214
9861
  middlename?: string | null | undefined;
10215
9862
  } | {
10216
9863
  country: string;
@@ -10238,10 +9885,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10238
9885
  start: string;
10239
9886
  end: string;
10240
9887
  } | null | undefined> | null | undefined;
10241
- actionDetails?: {
10242
- templateId?: string | undefined;
10243
- isImmediateCorrection?: boolean | undefined;
10244
- } | null | undefined;
10245
9888
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10246
9889
  } | {
10247
9890
  type: "ARCHIVE";
@@ -10272,8 +9915,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10272
9915
  street?: string | null | undefined;
10273
9916
  zipCode?: string | null | undefined;
10274
9917
  } | {
10275
- firstname?: string | null | undefined;
10276
- surname?: string | null | undefined;
9918
+ firstname: string;
9919
+ surname: string;
10277
9920
  middlename?: string | null | undefined;
10278
9921
  } | {
10279
9922
  country: string;
@@ -10319,8 +9962,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10319
9962
  street?: string | null | undefined;
10320
9963
  zipCode?: string | null | undefined;
10321
9964
  } | {
10322
- firstname?: string | null | undefined;
10323
- surname?: string | null | undefined;
9965
+ firstname: string;
9966
+ surname: string;
10324
9967
  middlename?: string | null | undefined;
10325
9968
  } | {
10326
9969
  country: string;
@@ -10348,10 +9991,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10348
9991
  start: string;
10349
9992
  end: string;
10350
9993
  } | null | undefined> | null | undefined;
10351
- actionDetails?: {
10352
- templateId?: string | undefined;
10353
- isImmediateCorrection?: boolean | undefined;
10354
- } | null | undefined;
10355
9994
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10356
9995
  } | {
10357
9996
  type: "CREATE";
@@ -10378,8 +10017,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10378
10017
  street?: string | null | undefined;
10379
10018
  zipCode?: string | null | undefined;
10380
10019
  } | {
10381
- firstname?: string | null | undefined;
10382
- surname?: string | null | undefined;
10020
+ firstname: string;
10021
+ surname: string;
10383
10022
  middlename?: string | null | undefined;
10384
10023
  } | {
10385
10024
  country: string;
@@ -10425,8 +10064,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10425
10064
  street?: string | null | undefined;
10426
10065
  zipCode?: string | null | undefined;
10427
10066
  } | {
10428
- firstname?: string | null | undefined;
10429
- surname?: string | null | undefined;
10067
+ firstname: string;
10068
+ surname: string;
10430
10069
  middlename?: string | null | undefined;
10431
10070
  } | {
10432
10071
  country: string;
@@ -10454,10 +10093,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10454
10093
  start: string;
10455
10094
  end: string;
10456
10095
  } | null | undefined> | null | undefined;
10457
- actionDetails?: {
10458
- templateId?: string | undefined;
10459
- isImmediateCorrection?: boolean | undefined;
10460
- } | null | undefined;
10461
10096
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10462
10097
  } | {
10463
10098
  type: "NOTIFY";
@@ -10484,8 +10119,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10484
10119
  street?: string | null | undefined;
10485
10120
  zipCode?: string | null | undefined;
10486
10121
  } | {
10487
- firstname?: string | null | undefined;
10488
- surname?: string | null | undefined;
10122
+ firstname: string;
10123
+ surname: string;
10489
10124
  middlename?: string | null | undefined;
10490
10125
  } | {
10491
10126
  country: string;
@@ -10531,8 +10166,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10531
10166
  street?: string | null | undefined;
10532
10167
  zipCode?: string | null | undefined;
10533
10168
  } | {
10534
- firstname?: string | null | undefined;
10535
- surname?: string | null | undefined;
10169
+ firstname: string;
10170
+ surname: string;
10536
10171
  middlename?: string | null | undefined;
10537
10172
  } | {
10538
10173
  country: string;
@@ -10560,10 +10195,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10560
10195
  start: string;
10561
10196
  end: string;
10562
10197
  } | null | undefined> | null | undefined;
10563
- actionDetails?: {
10564
- templateId?: string | undefined;
10565
- isImmediateCorrection?: boolean | undefined;
10566
- } | null | undefined;
10567
10198
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10568
10199
  } | {
10569
10200
  type: "PRINT_CERTIFICATE";
@@ -10590,8 +10221,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10590
10221
  street?: string | null | undefined;
10591
10222
  zipCode?: string | null | undefined;
10592
10223
  } | {
10593
- firstname?: string | null | undefined;
10594
- surname?: string | null | undefined;
10224
+ firstname: string;
10225
+ surname: string;
10595
10226
  middlename?: string | null | undefined;
10596
10227
  } | {
10597
10228
  country: string;
@@ -10619,6 +10250,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10619
10250
  start: string;
10620
10251
  end: string;
10621
10252
  } | null | undefined>;
10253
+ content?: {
10254
+ templateId?: string | undefined;
10255
+ } | null | undefined;
10622
10256
  createdBySignature?: string | null | undefined;
10623
10257
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10624
10258
  annotation?: Record<string, string | number | boolean | {
@@ -10637,8 +10271,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10637
10271
  street?: string | null | undefined;
10638
10272
  zipCode?: string | null | undefined;
10639
10273
  } | {
10640
- firstname?: string | null | undefined;
10641
- surname?: string | null | undefined;
10274
+ firstname: string;
10275
+ surname: string;
10642
10276
  middlename?: string | null | undefined;
10643
10277
  } | {
10644
10278
  country: string;
@@ -10666,10 +10300,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10666
10300
  start: string;
10667
10301
  end: string;
10668
10302
  } | null | undefined> | null | undefined;
10669
- actionDetails?: {
10670
- templateId?: string | undefined;
10671
- isImmediateCorrection?: boolean | undefined;
10672
- } | null | undefined;
10673
10303
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10674
10304
  } | {
10675
10305
  type: "REQUEST_CORRECTION";
@@ -10696,8 +10326,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10696
10326
  street?: string | null | undefined;
10697
10327
  zipCode?: string | null | undefined;
10698
10328
  } | {
10699
- firstname?: string | null | undefined;
10700
- surname?: string | null | undefined;
10329
+ firstname: string;
10330
+ surname: string;
10701
10331
  middlename?: string | null | undefined;
10702
10332
  } | {
10703
10333
  country: string;
@@ -10743,8 +10373,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10743
10373
  street?: string | null | undefined;
10744
10374
  zipCode?: string | null | undefined;
10745
10375
  } | {
10746
- firstname?: string | null | undefined;
10747
- surname?: string | null | undefined;
10376
+ firstname: string;
10377
+ surname: string;
10748
10378
  middlename?: string | null | undefined;
10749
10379
  } | {
10750
10380
  country: string;
@@ -10772,10 +10402,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10772
10402
  start: string;
10773
10403
  end: string;
10774
10404
  } | null | undefined> | null | undefined;
10775
- actionDetails?: {
10776
- templateId?: string | undefined;
10777
- isImmediateCorrection?: boolean | undefined;
10778
- } | null | undefined;
10779
10405
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10780
10406
  } | {
10781
10407
  type: "APPROVE_CORRECTION";
@@ -10802,8 +10428,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10802
10428
  street?: string | null | undefined;
10803
10429
  zipCode?: string | null | undefined;
10804
10430
  } | {
10805
- firstname?: string | null | undefined;
10806
- surname?: string | null | undefined;
10431
+ firstname: string;
10432
+ surname: string;
10807
10433
  middlename?: string | null | undefined;
10808
10434
  } | {
10809
10435
  country: string;
@@ -10850,8 +10476,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10850
10476
  street?: string | null | undefined;
10851
10477
  zipCode?: string | null | undefined;
10852
10478
  } | {
10853
- firstname?: string | null | undefined;
10854
- surname?: string | null | undefined;
10479
+ firstname: string;
10480
+ surname: string;
10855
10481
  middlename?: string | null | undefined;
10856
10482
  } | {
10857
10483
  country: string;
@@ -10879,10 +10505,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10879
10505
  start: string;
10880
10506
  end: string;
10881
10507
  } | null | undefined> | null | undefined;
10882
- actionDetails?: {
10883
- templateId?: string | undefined;
10884
- isImmediateCorrection?: boolean | undefined;
10885
- } | null | undefined;
10886
10508
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10887
10509
  } | {
10888
10510
  type: "REJECT_CORRECTION";
@@ -10913,8 +10535,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10913
10535
  street?: string | null | undefined;
10914
10536
  zipCode?: string | null | undefined;
10915
10537
  } | {
10916
- firstname?: string | null | undefined;
10917
- surname?: string | null | undefined;
10538
+ firstname: string;
10539
+ surname: string;
10918
10540
  middlename?: string | null | undefined;
10919
10541
  } | {
10920
10542
  country: string;
@@ -10961,8 +10583,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10961
10583
  street?: string | null | undefined;
10962
10584
  zipCode?: string | null | undefined;
10963
10585
  } | {
10964
- firstname?: string | null | undefined;
10965
- surname?: string | null | undefined;
10586
+ firstname: string;
10587
+ surname: string;
10966
10588
  middlename?: string | null | undefined;
10967
10589
  } | {
10968
10590
  country: string;
@@ -10990,10 +10612,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10990
10612
  start: string;
10991
10613
  end: string;
10992
10614
  } | null | undefined> | null | undefined;
10993
- actionDetails?: {
10994
- templateId?: string | undefined;
10995
- isImmediateCorrection?: boolean | undefined;
10996
- } | null | undefined;
10997
10615
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10998
10616
  } | {
10999
10617
  type: "READ";
@@ -11020,8 +10638,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
11020
10638
  street?: string | null | undefined;
11021
10639
  zipCode?: string | null | undefined;
11022
10640
  } | {
11023
- firstname?: string | null | undefined;
11024
- surname?: string | null | undefined;
10641
+ firstname: string;
10642
+ surname: string;
11025
10643
  middlename?: string | null | undefined;
11026
10644
  } | {
11027
10645
  country: string;
@@ -11067,8 +10685,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
11067
10685
  street?: string | null | undefined;
11068
10686
  zipCode?: string | null | undefined;
11069
10687
  } | {
11070
- firstname?: string | null | undefined;
11071
- surname?: string | null | undefined;
10688
+ firstname: string;
10689
+ surname: string;
11072
10690
  middlename?: string | null | undefined;
11073
10691
  } | {
11074
10692
  country: string;
@@ -11096,10 +10714,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
11096
10714
  start: string;
11097
10715
  end: string;
11098
10716
  } | null | undefined> | null | undefined;
11099
- actionDetails?: {
11100
- templateId?: string | undefined;
11101
- isImmediateCorrection?: boolean | undefined;
11102
- } | null | undefined;
11103
10717
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11104
10718
  } | {
11105
10719
  type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
@@ -11112,10 +10726,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
11112
10726
  createdByRole: string;
11113
10727
  createdBySignature?: string | null | undefined;
11114
10728
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11115
- actionDetails?: {
11116
- templateId?: string | undefined;
11117
- isImmediateCorrection?: boolean | undefined;
11118
- } | null | undefined;
11119
10729
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
11120
10730
  })[];
11121
10731
  trackingId: string;
@@ -11195,7 +10805,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
11195
10805
  set: import("@trpc/server").TRPCMutationProcedure<{
11196
10806
  input: {
11197
10807
  id: string;
11198
- externalId: string | null;
11199
10808
  name: string;
11200
10809
  partOf: string | null;
11201
10810
  }[];
@@ -11206,7 +10815,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
11206
10815
  input: void;
11207
10816
  output: {
11208
10817
  id: string & import("zod").BRAND<"UUID">;
11209
- externalId: string | null;
11210
10818
  name: string;
11211
10819
  partOf: (string & import("zod").BRAND<"UUID">) | null;
11212
10820
  }[];
@@ -11268,10 +10876,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
11268
10876
  clauses: {
11269
10877
  status?: {
11270
10878
  type: "exact";
11271
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
10879
+ term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
11272
10880
  } | {
11273
10881
  type: "anyOf";
11274
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
10882
+ terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
11275
10883
  } | undefined;
11276
10884
  data?: any;
11277
10885
  createdByUserType?: {
@@ -11377,10 +10985,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
11377
10985
  clauses: {
11378
10986
  status?: {
11379
10987
  type: "exact";
11380
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
10988
+ term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
11381
10989
  } | {
11382
10990
  type: "anyOf";
11383
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
10991
+ terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
11384
10992
  } | undefined;
11385
10993
  data?: any;
11386
10994
  createdByUserType?: {
@@ -11490,6 +11098,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
11490
11098
  label: import("../commons").TranslationConfig;
11491
11099
  }[];
11492
11100
  icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
11101
+ emptyMessage?: import("../commons").TranslationConfig | undefined;
11493
11102
  }[];
11494
11103
  meta: import("trpc-to-openapi").OpenApiMeta;
11495
11104
  }>;